WO2021197243A1 - Method for detecting basketball moves on basis of wearable device, and wearable device - Google Patents

Method for detecting basketball moves on basis of wearable device, and wearable device Download PDF

Info

Publication number
WO2021197243A1
WO2021197243A1 PCT/CN2021/083465 CN2021083465W WO2021197243A1 WO 2021197243 A1 WO2021197243 A1 WO 2021197243A1 CN 2021083465 W CN2021083465 W CN 2021083465W WO 2021197243 A1 WO2021197243 A1 WO 2021197243A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
time period
dribbling
wearable device
sound wave
Prior art date
Application number
PCT/CN2021/083465
Other languages
French (fr)
Chinese (zh)
Inventor
徐腾
刘海波
陈霄汉
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2021197243A1 publication Critical patent/WO2021197243A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • A63B69/0071Training appliances or apparatus for special sports for basketball
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0619Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C23/00Combined instruments indicating more than one navigational value, e.g. for aircraft; Combined measuring devices for measuring two or more variables of movement, e.g. distance, speed or acceleration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2102/00Application of clubs, bats, rackets or the like to the sporting activity ; particular sports involving the use of balls and clubs, bats, rackets, or the like
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/10Positions

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for detecting basketball moves on the basis of a wearable device, and a wearable device. The wearable device comprises a sound wave collection apparatus and a motion sensor. In the method, a wearable device can collect first motion data, such as a movement speed and a motion distance, of a user within a first time period by means of a motion sensor; the wearable device can collect a first sound wave signal within the first time period by means of a sound wave collection apparatus, and determine, according to the first sound wave signal, whether the user produces a dribbling move within the first time period; and if it is determined that the user produces a dribbling move, the type of the dribbling move, such as stationary dribbling or running dribbling, is determined according to the first motion data. The wearable device can detect the specific control a user has over a basketball when the user is playing basketball, thereby effectively assisting the user in improving his/her ability to play basketball.

Description

基于可穿戴设备检测篮球动作的方法以及可穿戴设备Method for detecting basketball action based on wearable device and wearable device
本申请要求于2020年03月31日提交中国专利局、申请号为202010260267.X、申请名称为“基于可穿戴设备检测篮球动作的方法以及可穿戴设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on March 31, 2020, the application number is 202010260267.X, and the application name is "Methods for detecting basketball actions based on wearable devices and wearable devices", all of which The content is incorporated in this application by reference.
技术领域Technical field
本申请涉及终端技术领域,尤其涉及基于可穿戴设备检测篮球动作的方法以及可穿戴设备。This application relates to the field of terminal technology, and in particular to a method for detecting basketball actions based on a wearable device and a wearable device.
背景技术Background technique
篮球是一项广受欢迎的运动项目,篮球运动中的动作主要包括跑、跳、运球、传球和投篮等。可穿戴设备可记录用户在打篮球时的运动数据,辅助用户提高打篮球的能力。Basketball is a popular sport. The actions in basketball mainly include running, jumping, dribbling, passing and shooting. The wearable device can record the user's movement data when playing basketball, and assist the user to improve the ability of playing basketball.
目前,可穿戴设备可以通过六轴传感器采集用户在打篮球时的角速度信号和加速度信号,根据角速度信号和加速度信号,可穿戴设备可以计算用户的纵跳高度、纵跳次数和移动速度等运动数据。At present, the wearable device can collect the user's angular velocity signal and acceleration signal when playing basketball through the six-axis sensor. Based on the angular velocity signal and acceleration signal, the wearable device can calculate the user's vertical jump height, vertical jump number and movement speed and other motion data .
但篮球运动中用户运球、传球和投篮的能力是影响用户篮球水平的关键因素,而目前的可穿戴设备只能记录用户在脚部上走、跑和跳的运动数据,无法监测到用户在打篮球时对篮球的具体控制,例如,原地运球、跑步运球和无球跑动等,难以有效辅助用户提高打篮球的能力。However, in basketball, the user's ability to dribble, pass and shoot is the key factor that affects the user's basketball level. The current wearable device can only record the user's walking, running and jumping movement data on the foot, and cannot monitor the user. The specific control of basketball when playing basketball, such as dribbling on the spot, running dribbling, and running without the ball, is difficult to effectively assist users in improving their ability to play basketball.
发明内容Summary of the invention
本申请提供了基于可穿戴设备检测篮球动作的方法以及可穿戴设备。可穿戴设备可以通过声波采集装置采集声波信号,来确定用户是否运球,并结合通过运动传感器记录的用户在脚部上走、跑和跳的运动数据,实现对用户打篮球时的动作的监测,从而有效辅助用户提高打篮球的能力。This application provides a method for detecting basketball actions based on a wearable device and a wearable device. The wearable device can collect the sound wave signal through the sound wave acquisition device to determine whether the user is dribbling, and combine the user's walking, running and jumping movement data recorded by the motion sensor to realize the monitoring of the user's actions when playing basketball , Thereby effectively assisting users to improve their ability to play basketball.
第一方面,本申请实施例提供了一种基于可穿戴设备检测篮球动作的方法,该可穿戴设备包括声波采集装置和运动传感器,该方法包括:可穿戴设备通过运动传感器采集用户在第一时间段内的第一运动数据;该第一运动数据包括以下一项或多项:移动速度、运动距离;可穿戴设备通过声波采集装置采集该第一时间段内的第一声波信号;可穿戴设备根据该第一声波信号确定该用户在该第一时间段内是否产生运球的动作;如果确定该用户在该第一时间段内产生运球的动作,则根据该第一运动数据确定该运球的动作的类型。In the first aspect, an embodiment of the present application provides a method for detecting basketball actions based on a wearable device. The wearable device includes a sound wave acquisition device and a motion sensor. The method includes: The first movement data in the segment; the first movement data includes one or more of the following: moving speed, movement distance; the wearable device collects the first sound wave signal in the first time period through the sound wave acquisition device; wearable According to the first sound wave signal, the device determines whether the user has made a dribble action in the first time period; if it is determined that the user has made a dribble action in the first time period, it is determined according to the first motion data The type of dribble action.
结合第一方面提供的方法,可穿戴设备可以得到在同一时间段内用户在脚部上走、跑和跳的运动数据以及是否产生运球的动作的判断结果。这样,可穿戴设备可以确定用户在打篮球时对篮球的具体控制,例如原地运球、跑步运球,从而有效辅助用户提高打篮球的能力。In combination with the method provided in the first aspect, the wearable device can obtain the user's movement data of walking, running and jumping on the feet in the same time period and the judgment result of whether a dribble action has occurred. In this way, the wearable device can determine the user's specific control of basketball when playing basketball, such as dribbling on the spot and running dribbling, thereby effectively assisting the user in improving the ability of playing basketball.
在本申请实施例中,可穿戴设备可以被扣在用户的鞋上。这样,可穿戴设备可以更准确地利用运动传感器记录用户在脚部上走、跑和跳的运动数据,以及利用声波采集装置采集用户在运球时篮球与地面碰撞产生的声波信号,以确定用户是否产生运球的动作。In the embodiment of the present application, the wearable device may be buckled on the user's shoes. In this way, the wearable device can more accurately use the motion sensor to record the movement data of the user walking, running and jumping on the foot, and use the sound wave collection device to collect the sound wave signal generated by the basketball colliding with the ground when the user is dribbling to determine the user Whether to produce a dribble action.
可选的,可穿戴设备可以被戴在用户的手腕上。Optionally, the wearable device can be worn on the user's wrist.
结合第一方面,在一些实施例中,可穿戴设备显示第一用户界面,该第一用户界面中显示有第一控件;可穿戴设备检测到作用于该第一控件上的第一用户操作;响应于该第一用户操作,可穿戴设备判断运动传感器和声波采集装置是否开启,如果没有开启,则开启该运动传感器和该声波采集装置。With reference to the first aspect, in some embodiments, the wearable device displays a first user interface in which a first control is displayed; the wearable device detects a first user operation acting on the first control; In response to the first user operation, the wearable device determines whether the motion sensor and the sound wave acquisition device are turned on, and if they are not turned on, the motion sensor and the sound wave acquisition device are turned on.
可选的,可穿戴设备可以接收来自电子设备的第一指令。当接收到该第一指令,可穿戴设备判断运动传感器和声波采集装置是否开启,如果没有开启,则开启该运动传感器和该声波采集装置。具体的,该电子设备可在用户界面上显示用于开启运动传感器和声波采集装置的控件。当检测到作用于该开启运动传感器和声波采集装置的控件的用户操作,例如触摸操作,该电子设备可以向可穿戴设备发送该第一指令。其中,可穿戴设备与该电子设备建立有通信连接关系。例如可穿戴设备可以通过蓝牙与该电子设备连接。Optionally, the wearable device may receive the first instruction from the electronic device. When receiving the first instruction, the wearable device determines whether the motion sensor and the sound wave acquisition device are turned on, and if they are not turned on, the motion sensor and the sound wave acquisition device are turned on. Specifically, the electronic device may display controls for turning on the motion sensor and the sound wave acquisition device on the user interface. When a user operation, such as a touch operation, that acts on the control of the motion sensor and the sound wave collection device is detected, the electronic device may send the first instruction to the wearable device. Wherein, the wearable device establishes a communication connection relationship with the electronic device. For example, the wearable device can be connected to the electronic device via Bluetooth.
结合第一方面,在一些实施例中,可穿戴设备基于该第一声波信号的特征参数和第一高斯混合模型,确定第一相似度;该第一高斯混合模型的训练数据为第一特征参数,该第一特征参数为运球时的声波信号的特征参数;该第一声波信号的特征参数和该第一特征参数均包含至少以下一项或多项:能量、频率和峰值;该第一高斯混合模型包括多个高斯分布,该多个高斯分布的均值、方差均收敛,该多个高斯分布在所述第一高斯混合模型中的权重收敛;该第一相似度用于指示该第一声波信号的特征参数与该第一特征参数的相似度;如果该第一相似度高于第一阈值,则可穿戴设备确定该用户在该第一时间段内产生运球的动作。With reference to the first aspect, in some embodiments, the wearable device determines the first similarity based on the feature parameters of the first acoustic signal and the first Gaussian mixture model; the training data of the first Gaussian mixture model is the first feature Parameter, the first characteristic parameter is a characteristic parameter of the acoustic signal during dribbling; the characteristic parameter of the first acoustic signal and the first characteristic parameter both include at least one or more of the following: energy, frequency, and peak; The first Gaussian mixture model includes multiple Gaussian distributions, the mean and variance of the multiple Gaussian distributions converge, and the weights of the multiple Gaussian distributions in the first Gaussian mixture model converge; the first similarity is used to indicate the The similarity between the characteristic parameter of the first acoustic wave signal and the first characteristic parameter; if the first similarity is higher than the first threshold, the wearable device determines that the user performs a dribbling action in the first time period.
可选的,该运球时的声波信号可以是该用户在运球时的声波信号。具体的,可穿戴设备可以预采集该用户在运球时的声波信号,并将该声波信号的特征参数作为第一特征参数,来训练第一高斯混合模型。这样,第一高斯混合模型可以减少他人产生运球的动作的影响,从而更准确地判断该用户是否产生运球的动作。Optionally, the sonic signal during dribbling may be the sonic signal during dribbling of the user. Specifically, the wearable device may pre-collect the acoustic wave signal of the user during dribbling, and use the characteristic parameter of the acoustic wave signal as the first characteristic parameter to train the first Gaussian mixture model. In this way, the first Gaussian mixture model can reduce the influence of other people's dribbling actions, thereby more accurately determining whether the user has dribbling actions.
在本申请实施例中,该运球的动作的类型,包括以下一项或多项:原地运球和跑步运球。In the embodiment of the present application, the type of the dribbling action includes one or more of the following: in-place dribbling and running dribbling.
当第一运动数据中的移动速度小于第一速度和/或第一运动数据中的运动距离小于第一距离时,可穿戴设备确定动作的类型为原地运球;当第一运动数据中的移动速度大于第二速度和/或第一运动数据中的运动距离大于第二距离时,可穿戴设备确定动作的类型为跑步运球;该第一速度小于或等于该第二速度,该第一距离小于或等于该第二距离。When the movement speed in the first movement data is less than the first speed and/or the movement distance in the first movement data is less than the first distance, the wearable device determines that the type of action is dribbling in place; when the movement in the first movement data is When the movement speed is greater than the second speed and/or the movement distance in the first movement data is greater than the second distance, the wearable device determines that the type of action is running dribbling; the first speed is less than or equal to the second speed, and the first speed is less than or equal to the second speed. The distance is less than or equal to the second distance.
在本申请实施例中,可穿戴设备还可以根据第一声波信号确定该用户在第一时间段内产生传球的动作或投篮的动作。In the embodiment of the present application, the wearable device may also determine, according to the first sound wave signal, the user's passing motion or shooting motion in the first time period.
具体的,如果根据第一子时间段内的第一声波信号确定该用户在该第一子时间段内运球,且根据第二子时间段内的第一声波信号确定该用户在该第二子时间段内没有运球,则可穿戴设备确定该用户在该第一时间段内产生传球的动作或投篮的动作;该第一子时间段和该第二子时间段为该第一时间段内先后相邻的两个时间片段。Specifically, if it is determined that the user is dribbling in the first sub-period according to the first acoustic signal in the first sub-period, and it is determined that the user is dribbling in the first sub-period according to the first acoustic signal in the second sub-period If there is no dribble in the second sub-time period, the wearable device determines that the user produces a passing or shooting action in the first time period; the first sub-time period and the second sub-time period are the first sub-time period. Two adjacent time segments within a period of time.
在本申请实施例中,在可穿戴设备根据第一声波信号确定该用户在第一时间段内产生传球的动作或投篮的动作之后,该方法还包括:如果该第二子时间段内的移动速度大于该第二速度和/或该第二子时间段内的运动距离大于该第二距离,则可穿戴设备确定该用户在 该第一时间段内产生跑动传投的动作;跑动传投包括跑动传球和跑动投篮。In the embodiment of the present application, after the wearable device determines the user's passing motion or shooting motion in the first time period according to the first sound wave signal, the method further includes: if the second sub-time period is If the moving speed of is greater than the second speed and/or the movement distance in the second sub-period is greater than the second distance, the wearable device determines that the user generates a running motion during the first period of time; running; Moving shots include running passes and running shots.
在本申请实施例中,该第一运动数据还包括纵跳高度。在可穿戴设备根据第一声波信号确定该用户在第一时间段内产生传球的动作或投篮的动作之后,该方法还包括:如果该第二子时间段内的纵跳高度大于第一高度,则可穿戴设备确定该用户在该第一时间段内产生纵跳传投的动作;纵跳传投包括纵跳传球和纵跳投篮。In the embodiment of the present application, the first movement data further includes the vertical jump height. After the wearable device determines the user's passing motion or shooting motion in the first time period according to the first sound wave signal, the method further includes: if the vertical jump height in the second sub-time period is greater than the first time period. Height, the wearable device determines that the user has made a vertical jump pass within the first time period; the vertical jump pass includes a vertical jump pass and a vertical jump shot.
在本申请实施例中,可穿戴设备还可以确定该用户在第一时间段内产生以下一种或多种动作:无球跑动和无球纵跳。In the embodiment of the present application, the wearable device may also determine that the user produces one or more of the following actions in the first time period: running without the ball and jumping without the ball.
具体的,如果确定该用户在该第一时间段内没有产生运球的动作,且该第一时间段内的移动速度大于该第二速度和/或该第一时间段内的运动距离大于该第二距离,则可穿戴设备确定该用户在该第一时间段内产生无球跑动的动作。如果确定该第一时间段内没有产生运球的动作,且该第一时间段内的纵跳高度大于第一高度,则可穿戴设备确定该用户在该第一时间段内产生无球纵跳的动作。Specifically, if it is determined that the user did not make a dribble action in the first time period, and the movement speed in the first time period is greater than the second speed and/or the movement distance in the first time period is greater than the For the second distance, the wearable device determines that the user runs without the ball during the first time period. If it is determined that there is no dribbling action in the first time period, and the vertical jump height in the first time period is greater than the first height, the wearable device determines that the user has no ball vertical jump in the first time period Actions.
在本申请实施例中,可穿戴设备显示第一信息。该第一信息指示该用户在第一时间段内是否产生运球的动作。In the embodiment of the present application, the wearable device displays the first information. The first information indicates whether the user has made a dribble action in the first time period.
示例性的,当确定该用户在该第一时间段内产生运球动作,可穿戴设备可以计算该用户在该第一时间段内的运球次数和运球时间,并显示该运球次数和运球时间。Exemplarily, when it is determined that the user has made a dribble action in the first time period, the wearable device may calculate the number of dribbles and the dribble time of the user in the first time period, and display the sum of the number of dribbles. Dribble time.
结合第一方面,在一些实施例中,第一信息中还可以包含第一运动数据。例如,移动速度和运动距离。With reference to the first aspect, in some embodiments, the first information may also include first motion data. For example, moving speed and moving distance.
在本申请实施例中,可穿戴设备可以将第一信息发送给电子设备。可穿戴设备与该电子设备建立有通信连接关系。例如可穿戴设备可以与该电子设备通过蓝牙连接。In the embodiment of the present application, the wearable device may send the first information to the electronic device. The wearable device establishes a communication connection relationship with the electronic device. For example, the wearable device can be connected to the electronic device via Bluetooth.
当接收到该第一信息,电子设备可以进行显示。When receiving the first information, the electronic device can display it.
可选的,电子设备还可以根据该第一信息向该用户提供针对性的运动建议。示例性的,当判断该用户的纵跳高度的值较低,电子设备可以向用户提供提高弹跳能力的运动建议。这样,可以有效地辅助用户提高打篮球的能力。Optionally, the electronic device may also provide targeted exercise suggestions to the user according to the first information. Exemplarily, when it is determined that the value of the vertical jump height of the user is low, the electronic device may provide the user with exercise suggestions to improve the jumping ability. In this way, it can effectively assist the user to improve the ability to play basketball.
结合第一方面,在一些实施例中,可穿戴设备可以确定该用户在第一时间段内的号位。With reference to the first aspect, in some embodiments, the wearable device can determine the user's number position in the first time period.
具体的,可穿戴设备根据第一声波信号确定该用户在该第一时间段内的运球次数和/或运球时间;可穿戴设备根据该用户在该第一时间段内的篮球运动数据确定该用户在该第一时间段内的号位;该用户在该第一时间段内的篮球运动数据包括以下一项或多项:所述用户在所述第一时间段内的运球次数、运球时间、移动速度、运动距离。Specifically, the wearable device determines the number of dribbles and/or dribbling time of the user in the first time period according to the first sound wave signal; the wearable device determines the basketball movement data of the user in the first time period Determine the number position of the user in the first time period; the basketball data of the user in the first time period includes one or more of the following: the number of dribbles of the user in the first time period , Dribbling time, movement speed, movement distance.
示例性的,可穿戴设备可以通过模板匹配的方式来确定用户在第一时间段内的号位。其中,号位模板库中包含有各号位(如大前锋、中锋、小前锋、得分后卫、控球后卫)的各项篮球数据的模板。该模板指示一般用户在篮球场上为某一号位是各项篮球数据的取值范围。可穿戴设备可以计算用户在第一时间段内的篮球运动数据与号位模板库中的篮球运动数据的相关系数,通过确定最大的相关系数对应的号位来确定用户在该第一时间段内的号位。Exemplarily, the wearable device may determine the user's number position in the first time period through template matching. Among them, the number position template library contains various basketball data templates for each number position (such as power forward, center, small forward, shooting guard, and point guard). The template indicates that the general user is a certain number on the basketball court is the value range of various basketball data. The wearable device can calculate the correlation coefficient between the user’s basketball data in the first time period and the basketball data in the number template library, and determine that the user is in the first time period by determining the number corresponding to the largest correlation coefficient The number position.
在本申请实施例中,可穿戴设备可以实现对用户在打篮球时的动作的检测以及用户的号位,从而有效辅助用户提高打篮球的能力。In the embodiment of the present application, the wearable device can realize the detection of the user's actions when playing basketball and the user's number position, thereby effectively assisting the user to improve the ability of playing basketball.
第二方面,本申请实施例提供了一种可穿戴设备,该可穿戴设备包括:相互耦合的运动传感器、声波采集装置、和处理器;该运动传感器用于,采集用户在第一时间段内的第一运动数据;该第一运动数据包括以下一项或多项:移动速度、运动距离;该声波采集装置,用于采集该第一时间段内的第一声波信号;该处理器用于,根据该第一声波信号确定该用户在该第一时间段内是否产生运球的动作;该处理器还用于,如果确定该用户在该第一时间段内产生运球的动作,则根据该第一运动数据确定该用户运球的动作的类型。In a second aspect, an embodiment of the present application provides a wearable device, the wearable device comprising: a motion sensor, a sound wave collecting device, and a processor coupled with each other; the motion sensor is used to collect the user's The first movement data; the first movement data includes one or more of the following: moving speed, movement distance; the sound wave acquisition device for collecting the first sound wave signal in the first time period; the processor is used for , According to the first sound wave signal, determine whether the user has made a dribble action in the first time period; the processor is also used to, if it is determined that the user has made a dribble action in the first time period, then The type of the user's dribbling action is determined according to the first movement data.
在本申请实施例中,可穿戴设备可以被扣在用户的鞋上。这样,该运动传感器可以更准确地记录用户在脚步上走、跑和跳的运动数据。该声波采集装置可以更好地采集用户在运球时篮球与地面碰撞产生的声波信号。这样,该处理器可以更准确的检测用户是否产生运球的动作。In the embodiment of the present application, the wearable device may be buckled on the user's shoes. In this way, the motion sensor can more accurately record the motion data of the user walking, running and jumping on the footsteps. The sound wave collection device can better collect the sound wave signal generated by the collision of the basketball and the ground when the user dribbles. In this way, the processor can more accurately detect whether the user has made a dribble action.
可选的,可穿戴设备可以被戴在用户的手腕上。Optionally, the wearable device can be worn on the user's wrist.
第二方面提供的可穿戴设备,可实现:确定在同一时间段内用户在脚部上走、跑和跳的运动数据以及是否产生运球的动作的判断结果。这样,可穿戴设备可以确定用户在打篮球时对篮球的具体控制,例如原地运球、跑步运球,从而有效辅助用户提高打篮球的能力。The wearable device provided in the second aspect can realize: determining the user's movement data of walking, running, and jumping on the feet in the same time period and the judgment result of whether a dribble action is generated. In this way, the wearable device can determine the user's specific control of basketball when playing basketball, such as dribbling on the spot and running dribbling, thereby effectively assisting the user in improving the ability of playing basketball.
结合第二方面,可穿戴设备还包括显示屏和触控面板;该显示屏用于显示第一用户界面,该第一用户界面中显示有第一控件;该触控面板检测到作用于该第一控件上的第一用户操作;该处理器还用于:判断该运动传感器和该声波采集装置是否开启,如果没有开启,则开启该运动传感器和该声波采集装置。With reference to the second aspect, the wearable device further includes a display screen and a touch panel; the display screen is used to display a first user interface, and a first control is displayed in the first user interface; the touch panel detects that the first user interface acts on the A first user operation on a control; the processor is also used to determine whether the motion sensor and the sound wave acquisition device are turned on, and if they are not turned on, turn on the motion sensor and the sound wave acquisition device.
结合第二方面,在一些实施例中,可穿戴设备可以接收来自电子设备的第一指令。当接收到该第一指令,该处理器可以判断运动传感器和声波采集装置是否开启,如果没有开启,则该处理器开启该运动传感器和该声波采集装置。具体的,该电子设备可在用户界面上显示用于开启运动传感器和声波采集装置的控件。当检测到作用于该开启运动传感器和声波采集装置的控件的用户操作,例如触摸操作,该电子设备可以向可穿戴设备发送该第一指令。其中,可穿戴设备与该电子设备建立有通信连接关系。例如可穿戴设备可以通过蓝牙与该电子设备连接。With reference to the second aspect, in some embodiments, the wearable device can receive the first instruction from the electronic device. When receiving the first instruction, the processor can determine whether the motion sensor and the sound wave acquisition device are turned on, and if they are not turned on, the processor turns on the motion sensor and the sound wave acquisition device. Specifically, the electronic device may display controls for turning on the motion sensor and the sound wave acquisition device on the user interface. When a user operation, such as a touch operation, that acts on the control of the motion sensor and the sound wave collection device is detected, the electronic device may send the first instruction to the wearable device. Wherein, the wearable device establishes a communication connection relationship with the electronic device. For example, the wearable device can be connected to the electronic device via Bluetooth.
结合第二方面,在一些实施例中,该处理器具体用于:基于该第一声波信号的特征参数和第一高斯混合模型,确定第一相似度;该第一高斯混合模型的训练数据为第一特征参数,该第一特征参数为运球时的声波信号的特征参数;该第一声波信号的特征参数和该第一特征参数均包含至少以下一项或多项:能量、频率和峰值;该第一高斯混合模型包括多个高斯分布,该多个高斯分布的均值、方差均收敛,该多个高斯分布在该第一高斯混合模型中的权重收敛;该第一相似度用于指示该第一声波信号的特征参数与该第一特征参数的相似度;如果该第一相似度高于第一阈值,则确定该用户在该第一时间段内产生运球的动作。With reference to the second aspect, in some embodiments, the processor is specifically configured to: determine the first similarity based on the characteristic parameters of the first acoustic signal and the first Gaussian mixture model; training data of the first Gaussian mixture model Is the first characteristic parameter, which is the characteristic parameter of the acoustic signal during dribbling; both the characteristic parameter of the first acoustic signal and the first characteristic parameter include at least one or more of the following: energy, frequency And the peak value; the first Gaussian mixture model includes a plurality of Gaussian distributions, the mean and variance of the plurality of Gaussian distributions converge, and the weights of the plurality of Gaussian distributions in the first Gaussian mixture model converge; the first degree of similarity is used It indicates the similarity between the characteristic parameter of the first acoustic wave signal and the first characteristic parameter; if the first similarity is higher than the first threshold, it is determined that the user has made a dribbling action in the first time period.
可选的,该运球时的声波信号是该声波采集装置预采集的该用户在运球时的声波信号。Optionally, the sound wave signal during dribbling is a sound wave signal pre-collected by the sound wave collecting device during dribbling of the user.
在本申请实施例中,该运球的动作的类型,包括以下一项或多项:原地运球和跑步运球。其中,该处理器具体用于:当该第一运动数据中的移动速度小于第一速度和/或该第一运动数据中运动距离小于第一距离时,确定该动作的类型为原地运球;当该第一运动数据中的移动速度大于第二速度和/或该第一运动数据中的运动距离大于第二距离时,确定该动 作的类型为跑步运球;该第一速度小于或等于该第二速度,该第一距离小于或等于该第二距离。In the embodiment of the present application, the type of the dribbling action includes one or more of the following: in-place dribbling and running dribbling. Wherein, the processor is specifically configured to: when the movement speed in the first movement data is less than the first speed and/or the movement distance in the first movement data is less than the first distance, determine that the type of the action is dribbling in place ; When the movement speed in the first movement data is greater than the second speed and/or the movement distance in the first movement data is greater than the second distance, it is determined that the type of action is running dribbling; the first speed is less than or equal to For the second speed, the first distance is less than or equal to the second distance.
在本申请实施例中,处理器可以确定该用户在第一时间段内产生的动作的类型为传球的动作或投篮的动作。其中,该处理器具体用于:如果根据第一子时间段内的第一声波信号确定该用户在该第一子时间段内运球,且根据第二子时间段内的第一声波信号确定该用户在该第二子时间段内没有运球,则确定该用户在该第一时间段内产生传球的动作或投篮的动作;该第一子时间段和该第二子时间段为该第一时间段内先后相邻的两个时间片段。In the embodiment of the present application, the processor may determine that the type of action generated by the user in the first time period is a passing action or a shooting action. Wherein, the processor is specifically configured to: if it is determined according to the first sound wave signal in the first sub-time period that the user is dribbling the ball in the first sub-time period, and according to the first sound wave signal in the second sub-time period The signal determines that the user did not dribble in the second sub-time period, then it is determined that the user has passed or shot the ball in the first time period; the first sub-time period and the second sub-time period Are two consecutive time segments in the first time period.
在本申请实施例中,在确定该用户在第一时间段内产生传球的动作或投篮的动作之后,该处理器还用于:如果该第二子时间段内的移动速度大于该第二速度和/或该第二子时间段内的运动距离大于该第二距离,则确定该用户在该第一时间段内产生跑动传投的动作;跑动传投包括跑动传球和跑动投篮。In the embodiment of the present application, after determining that the user produces a passing action or a shooting action in the first time period, the processor is further configured to: if the moving speed in the second sub-time period is greater than the second time period If the speed and/or the movement distance in the second sub-time period is greater than the second distance, it is determined that the user has a running pass and throw action in the first time period; the running pass includes running pass and running Active shooting.
在本申请实施例中,该第一运动数据还包括纵跳高度。在确定该用户在第一时间段内产生传球的动作或投篮的动作之后,该处理器还用于:如果该第二子时间段内的纵跳高度大于第一高度,则确定该用户在该第一时间段内产生纵跳传投的动作;纵跳传投包括纵跳传球和纵跳投篮。In the embodiment of the present application, the first movement data further includes the vertical jump height. After determining that the user makes a passing action or a shooting action in the first time period, the processor is further configured to: if the vertical jump height in the second sub-time period is greater than the first height, determine that the user is in Vertical jump shots are generated in the first time period; vertical jump shots include vertical jump passes and vertical jump shots.
在本申请实施例中,处理器可以确定该用户在第一时间段内产生以下一种或多种动作:无球跑动和无球纵跳。其中,处理器具体用于:如果确定该用户在该第一时间段内没有产生运球的动作,且该第一时间段内的移动速度大于该第二速度和/或该第一时间段内的运动距离大于该第二距离,则确定该用户在该第一时间段内产生无球跑动的动作。如果确定该第一时间段内没有产生运球的动作,且该第一时间段内的纵跳高度大于第一高度,则确定该用户在该第一时间段内产生无球纵跳的动作。In the embodiment of the present application, the processor may determine that the user produces one or more of the following actions in the first time period: running without the ball and jumping without the ball. Wherein, the processor is specifically configured to: if it is determined that the user has not made a dribble action in the first time period, and the moving speed in the first time period is greater than the second speed and/or in the first time period If the movement distance of is greater than the second distance, it is determined that the user has an action of running without the ball in the first time period. If it is determined that there is no dribbling action in the first time period, and the vertical jump height in the first time period is greater than the first height, it is determined that the user has a ball-free vertical jump action in the first time period.
在本申请实施例中,该显示屏还用于显示第一信息。该第一信息指示该用户在该第一时间段内是否产生运球的动作。In the embodiment of the present application, the display screen is also used to display the first information. The first information indicates whether the user has made a dribble action in the first time period.
示例性的,当确定该用户在该第一时间段内产生运球动作,该处理器可以计算该用户在该第一时间段内的运球次数和运球时间。该显示屏可以显示该运球次数和运球时间。Exemplarily, when it is determined that the user has made a dribble action in the first time period, the processor may calculate the number of dribbles and the dribble time of the user in the first time period. The display screen can display the number of dribbles and the dribble time.
在本申请实施例中,可穿戴设备可以将第一信息发送给电子设备。可穿戴设备与该电子设备建立有通信连接关系。例如可穿戴设备可以与该电子设备通过蓝牙连接。In the embodiment of the present application, the wearable device may send the first information to the electronic device. The wearable device establishes a communication connection relationship with the electronic device. For example, the wearable device can be connected to the electronic device via Bluetooth.
当接收到该第一信息,电子设备可以进行显示。When receiving the first information, the electronic device can display it.
可选的,电子设备还可以根据该第一信息向该用户提供针对性的运动建议。示例性的,当判断该用户的纵跳高度的值较低,电子设备可以向用户提供提高弹跳能力的运动建议。这样,可以有效地辅助用户提高打篮球的能力。Optionally, the electronic device may also provide targeted exercise suggestions to the user according to the first information. Exemplarily, when it is determined that the value of the vertical jump height of the user is low, the electronic device may provide the user with exercise suggestions to improve the jumping ability. In this way, it can effectively assist the user to improve the ability to play basketball.
结合第二方面,在一些实施例中,处理器还可用于:根据该第一声波信号确定该用户在该第一时间段内的运球次数和/或运球时间;根据该用户在该第一时间段内的篮球运动数据确定该用户在该第一时间段内的号位;该用户在该第一时间段内的篮球运动数据包括以下一项或多项:该用户在该第一时间段内的运球次数、运球时间、移动速度、运动距离。With reference to the second aspect, in some embodiments, the processor may be further configured to: determine the number of dribbles and/or dribble time of the user in the first time period according to the first acoustic signal; The basketball movement data in the first time period determines the user's number position in the first time period; the basketball movement data of the user in the first time period includes one or more of the following: the user is in the first time period The number of dribbles, dribbling time, movement speed, and movement distance within the time period.
第三方面,本申请实施例提供一种包含指令的计算机程序产品,当上述计算机程序产品在可穿戴设备上运行时,使得该可穿戴设备执行如第一方面以及第一方面中任一可能的实现方式描述的方法。In the third aspect, the embodiments of the present application provide a computer program product containing instructions. When the computer program product is run on a wearable device, the wearable device can execute any of the first aspect and the first aspect. Implement the method described in the method.
第四方面,本申请实施例提供一种计算机可读存储介质,包括指令,当上述指令在可穿戴设备上运行时,使得该可穿戴设备执行如第一方面以及第一方面中任一可能的实现方式描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, when the foregoing instructions are executed on a wearable device, the wearable device can perform any of the possible methods in the first aspect and the first aspect. Implement the method described in the method.
可以理解地,上述第二方面提供的可穿戴设备、第三方面提供的计算机程序产品和第四方面提供的计算机存储介质均用于执行本申请实施例所提供的方法。因此,其所能达到的有益效果可参考对应方法中的有益效果,此处不再赘述。Understandably, the wearable device provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to implement the methods provided in the embodiments of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here.
附图说明Description of the drawings
图1是本申请实施例提供的可穿戴设备的使用场景;FIG. 1 is a usage scenario of a wearable device provided by an embodiment of the present application;
图2是本申请实施例提供的一种开启/结束篮球模式的示意图;FIG. 2 is a schematic diagram of starting/ending a basketball mode provided by an embodiment of the present application;
图3是本申请实施例提供的另一种开启篮球模式的示意图;FIG. 3 is a schematic diagram of another basketball mode enabled according to an embodiment of the present application;
图4是本申请实施例提供的另一种开启篮球模式的示意图;FIG. 4 is a schematic diagram of another basketball mode enabled according to an embodiment of the present application;
图5是本申请实施例提供的一种可穿戴设备监测用户打篮球的动作的方法流程图;FIG. 5 is a flowchart of a method for a wearable device to monitor a user's basketball action provided by an embodiment of the present application;
图6是本申请实施例提供的另一种可穿戴设备监测用户打篮球的动作的方法流程图;FIG. 6 is a flowchart of another method for a wearable device to monitor a user's basketball action provided by an embodiment of the present application;
图7是本申请实施例提供的一种可穿戴设备提示用户录入个人运球数据的示意图;FIG. 7 is a schematic diagram of a wearable device prompting a user to enter personal dribbling data according to an embodiment of the present application;
图8是本申请实施例提供的另一种可穿戴设备提示用户录入个人运球数据的示意图;FIG. 8 is a schematic diagram of another wearable device prompting a user to enter personal dribbling data according to an embodiment of the present application;
图9是本申请实施例提供的另一种可穿戴设备提示用户录入个人运球数据的示意图;FIG. 9 is a schematic diagram of another wearable device provided by an embodiment of the present application prompting a user to enter personal dribbling data;
图10、图11是本申请实施例提供的一些电子设备的应用界面的意图;10 and 11 are the intentions of the application interfaces of some electronic devices provided by the embodiments of the present application;
图12是本申请实施例提供的一种可穿戴设备显示运动数据的示意图;FIG. 12 is a schematic diagram of a wearable device displaying exercise data according to an embodiment of the present application;
图13是本申请实施例提供的一种可穿戴设备的结构示意图。FIG. 13 is a schematic structural diagram of a wearable device provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also Including plural expressions, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" used in this application refers to and includes any or all possible combinations of one or more of the listed items.
本申请实施例提供了基于可穿戴设备检测篮球动作的方法。在该方法中,可穿戴设备在通过加速度计和陀螺仪采集用户脚部的加速度信号和角速度信号之外,还可以利用麦克风采集声波信号。其中,可穿戴设备可以利用该加速度信号和该角速度信号分析出用户是否跑动或者跳跃等脚部上的动作。可穿戴设备可以利用该声波信号分析出用户是否运球。这样,结合用户同一时刻在脚部上的动作和是否运球的分析结果,可穿戴设备可以监测用户在打篮球时的整体的动作。即篮球动作,例如原地运球、跑步运球、无球跑动、无球纵跳和纵跳传投等。从而有效辅助用户提高打篮球的能力。The embodiment of the present application provides a method for detecting basketball actions based on a wearable device. In this method, in addition to collecting the acceleration signal and angular velocity signal of the user's foot through the accelerometer and gyroscope, the wearable device can also use a microphone to collect sound wave signals. Among them, the wearable device can use the acceleration signal and the angular velocity signal to analyze whether the user is running or jumping and other foot actions. The wearable device can use the sound wave signal to analyze whether the user is dribbling. In this way, the wearable device can monitor the user's overall movement when playing basketball, combining the user's foot movement at the same time and the analysis result of whether or not to dribble. That is, basketball actions, such as dribbling in place, running dribbling, running without the ball, vertical jump without the ball, and vertical jump shot. So as to effectively assist the user to improve the ability to play basketball.
在用户运球(如原地运球、跑步运球)时,篮球会撞击地面而产生音量很大的声音。可穿戴设备在用户运球时采集到的声波信号与在用户没有运球时采集到的声波信号有较大的区别。其中,在可穿戴设备采集到的声波信号的频谱图中,由运球产生的声波信号的峰 值和能量远大于由没有运球产生的声波信号的峰值和能量。通过这一区别,可穿戴设备可以分辨出用户是否在运球。When the user is dribbling the ball (such as dribbling on the spot, running dribble), the basketball will hit the ground and produce a loud sound. The sound wave signal collected by the wearable device when the user is dribbling is quite different from the sound wave signal collected when the user is not dribbling. Among them, in the spectrogram of the acoustic signal collected by the wearable device, the peak value and energy of the acoustic signal generated by dribbling are much greater than the peak value and energy of the acoustic signal generated by no dribbling. Through this distinction, the wearable device can tell whether the user is dribbling.
具体的,在用户打篮球时,麦克风采集到的声波信号可以包括由运球(如原地运球、跑步运球)产生的声波信号和由没有运球(如无球跑动、无球纵跳、纵跳传投)产生的声波信号。可穿戴设备可以利用训练好的高斯混合模型对麦克风采集到的声波信号进行识别,以区分其中由运球产生的声波信号和由没有运球产生的声波信号。这样,可穿戴设备可以分析用户是否运球,并计算用户的运球时间和运球次数。Specifically, when the user is playing basketball, the sound wave signal collected by the microphone may include the sound wave signal generated by dribbling (such as dribbling in place, running dribble) and not dribbling (such as running without the ball, running without the ball). Jump, vertical jump shot) generated by the sound wave signal. The wearable device can use the trained Gaussian mixture model to recognize the sound wave signal collected by the microphone to distinguish the sound wave signal generated by dribbling and the sound wave signal generated by no dribbling. In this way, the wearable device can analyze whether the user dribbles, and calculate the user's dribbling time and the number of dribbles.
本申请实施例中提及的运球可以指,用户在原地或者移动中用单手连续拍按或双手交替拍按篮球,并使篮球由地面反弹起来的动作。运球可以包括原地运球和跑步运球。The dribbling mentioned in the embodiments of the present application may refer to an action in which the user continuously slaps the basketball with one hand or alternately slaps the basketball with both hands while in place or while moving, and makes the basketball bounce from the ground. Dribbling can include dribbling in place and running dribbling.
下面对本申请实施例中的可穿戴设备进行介绍。请参阅图1,图1示出了本申请实施例提供的可穿戴设备的使用场景。如图1所示,可穿戴设备100可以被扣在用户的鞋上。可穿戴设备100可包含设备主体110和穿戴部件120。其中:The wearable device in the embodiment of the present application will be introduced below. Please refer to FIG. 1, which shows a usage scenario of a wearable device provided by an embodiment of the present application. As shown in FIG. 1, the wearable device 100 may be buckled on the user's shoes. The wearable device 100 may include a device main body 110 and a wearable part 120. in:
设备主体110中配置有加速度计、陀螺仪和麦克风。设备主体110利用上述加速度计、陀螺仪和麦克风可以分别采集加速度信号、角速度信号和声波信号。设备主体110可包含显示屏111和触摸控件112。显示屏111可用于显示时间、设备主体110的电量、接收的消息以及用户打篮球的运动数据等内容。触摸控件112可用于点亮显示屏、开启以及结束篮球模式等。An accelerometer, a gyroscope, and a microphone are configured in the device main body 110. The device main body 110 can use the accelerometer, gyroscope, and microphone to collect acceleration signals, angular velocity signals, and sound wave signals, respectively. The device main body 110 may include a display screen 111 and a touch control 112. The display screen 111 can be used to display the time, the power of the main body 110 of the device, the received messages, and the sports data of the user playing basketball. The touch control 112 can be used to light up the display screen, turn on and end the basketball mode, and so on.
设备主体110还可以记录用户的移动的步数、消耗的热量,并且具备来电提醒以及消息通知等基本功能。The device main body 110 can also record the number of steps the user has moved and the calories consumed, and has basic functions such as call reminders and message notifications.
设备主体110可以与电子设备,例如,手机或者平板电脑等,建立无线通信连接。The device main body 110 may establish a wireless communication connection with an electronic device, such as a mobile phone or a tablet computer.
在一种可能的实现方式中,设备主体110可以通过蓝牙与手机建立无线通信连接。设备主体110可将用户打篮球的运动数据发送给有连接关系的手机。并且,当上述手机收到来电或者消息通知时,设备主体110可接收到上述手机的指令,以提醒用户有来电或者消息通知。In a possible implementation manner, the device main body 110 may establish a wireless communication connection with a mobile phone via Bluetooth. The device main body 110 may send the user's basketball sports data to the connected mobile phone. Moreover, when the aforementioned mobile phone receives an incoming call or message notification, the device main body 110 may receive an instruction from the aforementioned mobile phone to remind the user that there is an incoming call or message notification.
穿戴部件120用于安装设备主体110。穿戴部件120可以为鞋扣或者其它能使设备主体110附着在用户脚部的装置。The wearing part 120 is used to install the device main body 110. The wearing part 120 may be a shoe buckle or other device that enables the main body 110 of the device to be attached to the user's foot.
可穿戴设备100扣在用户的鞋上,便于加速度计和陀螺仪采集用户脚部的加速度信号和角速度信号,以监测用户脚部上的运动动作。同时也便于麦克风采集用户在运球时篮球与地面碰撞产生的声波信号,以监测用户是否运球。The wearable device 100 is buckled on the user's shoes, so that the accelerometer and gyroscope can collect acceleration signals and angular velocity signals of the user's feet to monitor the movement of the user's feet. At the same time, it is also convenient for the microphone to collect the sound wave signal generated by the collision between the basketball and the ground when the user is dribbling, so as to monitor whether the user is dribbling.
可穿戴设备除了可以被扣在用户的鞋上,还可以被戴在用户的手腕上。In addition to being buckled on the user's shoes, the wearable device can also be worn on the user's wrist.
在一种可能的实现方式中,穿戴部件120还可以为手环或者其他能使设备主体110附着在用户手腕部位的装置。In a possible implementation manner, the wearing component 120 may also be a wristband or other device that enables the main body 110 of the device to be attached to the user's wrist.
即用户可以切换设备主体110的穿戴方式。打篮球时,用户可以将设备主体110安装在鞋扣上。这样,可以通过鞋扣将设备主体110扣在鞋上。日常生活使用时,用户可以将设备主体110安装在手环上。这样,可以通过手环将设备主体110戴在手腕上。That is, the user can switch the way in which the device body 110 is worn. When playing basketball, the user can install the device body 110 on the shoe buckle. In this way, the main body 110 of the device can be fastened to the shoe through the shoe buckle. In daily use, the user can install the main body 110 of the device on the wristband. In this way, the device main body 110 can be worn on the wrist through the wristband.
当设备主体110安装于手环上,设备主体110可以拒绝开启篮球模式。When the device body 110 is installed on the bracelet, the device body 110 may refuse to turn on the basketball mode.
在一种可能的实现方式中,当设备主体110安装于鞋扣上,且监测到用于开启篮球模式的用户操作时,设备主体110可以开启篮球模式。当设备主体110安装于手环上,且监测到用于开启篮球模式的用户操作时,设备主体110可以提示用户当前可穿戴设备100未扣在鞋上,无法开启篮球模式。In a possible implementation manner, when the device body 110 is installed on the shoe buckle and a user operation for turning on the basketball mode is monitored, the device body 110 may turn on the basketball mode. When the device main body 110 is installed on the bracelet and a user operation for turning on the basketball mode is detected, the device main body 110 may prompt the user that the wearable device 100 is not buckled on the shoes, and the basketball mode cannot be turned on.
可穿戴设备100监测用户在打篮球时的动作需要记录用户脚部的运动数据,上述实现方式将设备主体110开启篮球模式的使用场景限定在可穿戴设备100扣在鞋上的应用场景中。这样,可以避免设备主体110戴在用户手腕时开启篮球模式,提高设备主体110监测用户打篮球时的动作的准确性。The wearable device 100 monitors the user's actions when playing basketball and needs to record the movement data of the user's feet. The above implementation restricts the usage scenario of the device main body 110 in the basketball mode to the application scenario where the wearable device 100 is buckled on the shoes. In this way, the basketball mode can be avoided when the device main body 110 is worn on the user's wrist, and the accuracy of the device main body 110 in monitoring the user's actions when playing basketball can be improved.
下面对篮球模式的概念进行介绍。The concept of basketball mode is introduced below.
篮球模式:指设备主体110的一种功能,可用于记录用户在打篮球时的运动数据,监测用户在打篮球时的动作。当篮球模式开启时,设备主体110中的麦克风、加速度计和陀螺仪均处于工作状态,可分别用于采集用户在打篮球时的声波信号、脚部的加速度信号和角速度信号。设备主体110可以处理上述声波信号、加速度信号和角速度信号,得到纵跳高度、运球次数等运动数据,从而确定用户在打篮球时整体的动作。Basketball mode: refers to a function of the device main body 110, which can be used to record the user's movement data when playing basketball and monitor the user's actions when playing basketball. When the basketball mode is turned on, the microphone, accelerometer, and gyroscope in the device main body 110 are all in working state, and can be used to collect sound wave signals, foot acceleration signals, and angular velocity signals when the user is playing basketball, respectively. The device main body 110 can process the above-mentioned sound wave signals, acceleration signals, and angular velocity signals to obtain movement data such as vertical jump height and the number of dribbles, so as to determine the overall actions of the user when playing basketball.
设备主体110可通过监测作用于触摸控件112上的用户操作来开启或者结束篮球模式。The device main body 110 can start or end the basketball mode by monitoring user operations on the touch control 112.
在一种能的实现方式中,当监测到作用于触摸控件112的长按操作时,设备主体110可以开启或者结束篮球模式。如图2所示,当设备主体110未开启篮球模式,且监测到作用于触摸控件112的长按操作时,设备主体110可以在震动后倒计时3秒开启篮球模式。当篮球模式开启后,设备主体110可以在显示屏111上显示篮球的图标以及文字“篮球模式”。这样,可以提示用户设备主体110已开启篮球模式。In a possible implementation manner, when a long press operation on the touch control 112 is monitored, the device main body 110 may start or end the basketball mode. As shown in FIG. 2, when the device main body 110 does not turn on the basketball mode and a long press operation on the touch control 112 is monitored, the device main body 110 can start the basketball mode after a countdown of 3 seconds after the vibration. When the basketball mode is turned on, the device main body 110 may display the basketball icon and the text "basketball mode" on the display screen 111. In this way, the user device main body 110 can be notified that the basketball mode has been turned on.
当设备主体110已开启篮球模式,且监测到作用于触摸控件112的长按操作时,设备主体110可以在震动后结束篮球模式。When the device main body 110 has turned on the basketball mode and a long press operation on the touch control 112 is monitored, the device main body 110 may end the basketball mode after shaking.
设备主体110在开启篮球模式一段时间后,例如1分钟或者2分钟等,可自动关闭显示屏111。当监测到作用于触摸控件112的短按操作,设备主体110可以点亮显示屏111。显示屏111在被点亮后可以显示如图2所示的篮球的图标以及文字“篮球模式”。进一步,若监测到作用于触摸控件112的长按操作,设备主体110可以在震动后结束篮球模式。The device main body 110 may automatically turn off the display screen 111 after a period of time, such as 1 minute or 2 minutes, after the basketball mode is turned on. When a short press operation on the touch control 112 is detected, the main body 110 of the device can light up the display screen 111. The display screen 111 can display the basketball icon and the text "basketball mode" as shown in FIG. 2 after being lit. Further, if a long press operation on the touch control 112 is detected, the device main body 110 may end the basketball mode after the vibration.
设备主体110在开启篮球模式一段时间后自动关闭显示屏111可以有效节省设备主体110的功耗。The device main body 110 automatically turns off the display screen 111 after the basketball mode is turned on for a period of time, which can effectively save the power consumption of the device main body 110.
本申请实施例对设备主体110开启篮球模式后在显示屏111上显示的内容不进行限定。The embodiment of the present application does not limit the content displayed on the display screen 111 after the device main body 110 starts the basketball mode.
即当用户需要开启篮球模式时,用户可以先将设备主体110安装在穿戴部件120上,然后长按触摸控件112。待设备主体110震动后再倒计时3秒即可开启篮球模式。当用户需要结束篮球模式时,用户可以先短按触摸控件112,待点亮显示屏111后,再长按触摸控件112。待设备主体110震动后即可结束篮球模式。That is, when the user needs to turn on the basketball mode, the user can first install the main body 110 of the device on the wearing part 120, and then press and hold the touch control 112 for a long time. After the device main body 110 vibrates, count down for 3 seconds to start the basketball mode. When the user needs to end the basketball mode, the user can first short-press the touch control 112, and then long-press the touch control 112 after the display screen 111 is turned on. The basketball mode can be ended after the device main body 110 vibrates.
在一些实施例中,设备主体110在开启篮球模式前可以检测运动传感器(如加速度计和陀螺仪)和麦克风是否处于工作状态。In some embodiments, the device body 110 may detect whether the motion sensors (such as accelerometers and gyroscopes) and the microphone are in working state before the basketball mode is turned on.
图3示出了另一种开启篮球模式的示意图。当监测到用于开启篮球的用户操作,例如作用在触摸控件112的长按操作,设备主体110可以可以显示屏111上显示如图3所示的用户界面,该用户界面中可包含有提示框130、取消控件131和开启控件132。其中:Figure 3 shows another schematic diagram of turning on the basketball mode. When a user operation for turning on the basketball is monitored, such as a long-press operation on the touch control 112, the device main body 110 may display a user interface as shown in FIG. 3 on the display screen 111, and the user interface may include a prompt box 130. Cancel the control 131 and open the control 132. in:
提示框130可用于提示用户篮球模式开启时,设备主体110中的运动传感器(如加速度计和陀螺仪)以及麦克风将处于工作状态,以确定用户是否需要开启篮球模式。The prompt box 130 may be used to remind the user that when the basketball mode is turned on, the motion sensors (such as accelerometer and gyroscope) and the microphone in the device main body 110 will be in working state to determine whether the user needs to turn on the basketball mode.
取消控件131可用于取消篮球模式的开启。The cancel control 131 can be used to cancel the activation of the basketball mode.
开启控件131可用于开启篮球模式。响应于作用在开启控件131上的用户操作,例如触摸操作,设备主体110可以检测运动传感器(如加速度计和陀螺仪)和麦克风是否处于工作状态。如果运动传感器和麦克风未处于工作状态,则设备主体110可以自动使运动传感器和麦克风处于工作状态。这样,设备主体110就可以开启篮球模式,并通过震动的方式提醒用户篮球模式已开启。The opening control 131 can be used to start the basketball mode. In response to a user operation on the opening control 131, such as a touch operation, the device main body 110 can detect whether the motion sensor (such as an accelerometer and a gyroscope) and a microphone are in an operating state. If the motion sensor and the microphone are not in the working state, the device main body 110 can automatically make the motion sensor and the microphone in the working state. In this way, the device main body 110 can turn on the basketball mode, and remind the user that the basketball mode is turned on by means of vibration.
设备主体110还可以通过接收电子设备发送的开启或者结束篮球模式的指令来开启或者结束篮球模式。The device main body 110 may also start or end the basketball mode by receiving an instruction to start or end the basketball mode sent by the electronic device.
在一种可能的实现方式中,设备主体110可以与电子设备(如手机、平板电脑等)建立通信连接关系。当监测到用于开启或者结束篮球模式的用户操作,该电子设备可以向设备主体110发送开启或者结束篮球模式的指令。当接收到用于开启或者结束篮球模式的指令,设备主体110可以开启或者结束篮球模式。In a possible implementation manner, the device main body 110 may establish a communication connection relationship with an electronic device (such as a mobile phone, a tablet computer, etc.). When a user operation for starting or ending the basketball mode is monitored, the electronic device may send an instruction to start or end the basketball mode to the main device 110. When receiving an instruction for turning on or ending the basketball mode, the device main body 110 may turn on or end the basketball mode.
如图4中的(A)所示,电子设备显示主屏幕界面200。主屏幕界面200可包括应用程序运动健康的图标201,以及其他的应用程序(如邮件、图库和音乐等)的图标。任一个应用的图标可用于响应用户的操作,例如触摸操作,使得电子设备启动图标对应的应用。其中:As shown in (A) in FIG. 4, the electronic device displays a main screen interface 200. The home screen interface 200 may include icons 201 of application programs for exercise and health, and icons of other applications (such as mail, gallery, and music, etc.). The icon of any application can be used to respond to a user's operation, such as a touch operation, so that the electronic device starts the application corresponding to the icon. in:
运动健康的图标210可用于启动应用程序运动健康。应用程序运动健康可用于电子设备与可穿戴设备100建立通信连接关系。电子设备可以通过应用程序运动健康向用户展示用户的运动数据。本申请实施例对用于连接电子设备和可穿戴设备100的应用程序不进行限定,除了可以为运动健康,还可以为其他应用程序。The sports fitness icon 210 can be used to start the sports fitness application. The sports health application can be used to establish a communication connection between the electronic device and the wearable device 100. The electronic device can show the user's exercise data to the user through the sports health application. The embodiment of the present application does not limit the application program used to connect the electronic device and the wearable device 100, and may be other application programs in addition to sports health.
如图4中的(A)和(B)所示,响应于作用在运动健康的图标201的用户操作,例如触摸操作,电子设备可以显示运动健康的应用界面210。应用界面210可以包含界面查看选项211、已添加设备选项212和添加设备213。其中:As shown in (A) and (B) of FIG. 4, in response to a user operation, such as a touch operation, acting on the sports health icon 201, the electronic device may display the sports health application interface 210. The application interface 210 may include an interface view option 211, an added device option 212, and an added device 213. in:
界面查看选项211可以包含健康选项、运动选项、发现选项、设备选项和我的选项。任一个选项可用于响应用户的操作,例如触摸操作,使得电子设备在应用界面210上显示选项对应的内容。例如,与设备选项211a对应的内容可包含在电子设备中已添加的设备信息以及用于添加新设备的控件。当电子设备监测到作用于设备选项211a上的用户操作,例如触摸操作,电子设备可以显示如图4中的(B)所示的应用界面210。The interface viewing options 211 may include health options, exercise options, discovery options, device options, and my options. Any option can be used to respond to a user's operation, such as a touch operation, so that the electronic device displays the content corresponding to the option on the application interface 210. For example, the content corresponding to the device option 211a may include device information that has been added in the electronic device and controls for adding a new device. When the electronic device monitors a user operation, such as a touch operation, that acts on the device option 211a, the electronic device can display the application interface 210 as shown in (B) of FIG. 4.
添加设备213可用于添加新的设备。该新的设备为与上述电子设备首次建立通信连接关系的设备。当监测到作用于添加设备213的用户操作,例如触摸操作,电子设备可以显示添加设备设置界面,使得电子设备与该新的设备建立通信连接关系。上述添加设备设备界面可供用户搜索新的设备和建立通信连接的方式等,例如蓝牙连接。本申请实施例对电 子设备与新的设备建立通信连接关系的过程不作限定。The add device 213 can be used to add a new device. The new device is a device that establishes a communication connection relationship with the above-mentioned electronic device for the first time. When a user operation on the adding device 213 is monitored, such as a touch operation, the electronic device may display an adding device setting interface, so that the electronic device establishes a communication connection relationship with the new device. The above add device device interface allows users to search for new devices and establish communication connections, such as Bluetooth connections. The embodiment of the present application does not limit the process of establishing a communication connection relationship between the electronic device and the new device.
已添加设备选项212中可包含多个可穿戴设备或者其它电子设备的查看控件。上述多个可穿戴设备或者其它电子设备均与电子设备建立过通信连接关系。例如,电子设备与可穿戴设备、电子设备A以及电子设备B建立过通信连接关系。当监测到作用于已添加设备选项212中任一设备的查看控件的用户操作,例如触摸操作,电子设备可以显示与该设备对应的相关信息等。The added device option 212 may include viewing controls for multiple wearable devices or other electronic devices. All of the aforementioned multiple wearable devices or other electronic devices have established a communication connection relationship with the electronic device. For example, the electronic device has established a communication connection relationship with the wearable device, the electronic device A, and the electronic device B. When a user operation, such as a touch operation, acting on the viewing control of any device in the added device options 212 is monitored, the electronic device can display related information corresponding to the device.
如图4中的(B)和(C)所示,当监测到作用于已添加设备选项212中可穿戴设备的查看控件,电子设备可以显示应用界面220。应用界面220可以包含返回控件221、设备状态222、运动数据223以及专业运动模式224。其中:As shown in (B) and (C) in FIG. 4, when the viewing control acting on the wearable device in the added device option 212 is monitored, the electronic device can display the application interface 220. The application interface 220 may include a return control 221, a device status 222, exercise data 223, and a professional exercise mode 224. in:
返回控件221可用于返回应用界面220的上一级界面。响应于作用在返回控件221的用户操作,电子设备可显示应用界面210。The return control 221 can be used to return to the upper level interface of the application interface 220. In response to a user operation acting on the return control 221, the electronic device may display the application interface 210.
设备状态222可用于提示可穿戴设备100与电子设备的连接状态以及可穿戴设备100的电量。示例性的,当监测到电子设备通过蓝牙连接方式与可穿戴设备100建立了通信连接关系,设备状态222可提示连接方式为蓝牙连接以及连接状态为“已连接”。进一步的,电子设备可以获取可穿戴设备100的电量信息。设备状态222可提示可穿戴设备100当前的电量,例如77%。设备状态222提示的内容还可以包含更多,本申请实施例对此不作限定。The device status 222 can be used to prompt the connection status of the wearable device 100 and the electronic device and the power of the wearable device 100. Exemplarily, when it is detected that the electronic device has established a communication connection relationship with the wearable device 100 through the Bluetooth connection mode, the device status 222 may prompt that the connection mode is Bluetooth connection and the connection status is "connected". Further, the electronic device can obtain the power information of the wearable device 100. The device status 222 may indicate the current power of the wearable device 100, for example, 77%. The content prompted by the device status 222 may include more, which is not limited in the embodiment of the present application.
运动数据223可包含可穿戴设备100记录的用户移动的步数、消耗的热量和移动的距离。运动数据223中的数据为可穿戴设备100在工作状态下记录的用户一天内的数据。其中可以包含用户日常走路、打篮球以及跑步等活动时总的移动的步数、消耗的热量和移动的距离。响应于作用在运动数据223的用户操作,例如触摸操作,电子设备可以分别显示用户打篮球以及跑步等活动的专业运动数据。The exercise data 223 may include the number of steps moved, the calories consumed, and the distance moved by the user recorded by the wearable device 100. The data in the exercise data 223 is data recorded by the wearable device 100 in the working state of the user within a day. It can include the total number of steps moved, the calories consumed, and the distance moved by the user during daily activities such as walking, playing basketball, and running. In response to user operations on the sports data 223, such as touch operations, the electronic device can display professional sports data of the user's activities such as playing basketball and running, respectively.
专业运动模式224可用于开启或者结束篮球模式以及跑步模式。专业运动模式224可包含篮球模式224a、用于开启篮球模式的开启按钮224b、跑步模式以及用于开启跑步模式的开启按钮。响应于作用在开启按钮224b的用户操作,例如触摸操作,电子设备可以向可穿戴设备100发送开启篮球模式的指令,并显示如图4中的(D)所示的用户界面220。其中,电子设备可显示用于结束篮球模式的结束按钮224c。响应于作用在结束按钮226c的用户操作,例如触摸操作,电子设备可以向可穿戴设备100发送结束篮球模式的指令,并显示如图4中的(C)所示的用户界面220。其中,电子设备可显示用于开启篮球模式的开启按钮224b。The professional sports mode 224 can be used to start or end the basketball mode and the running mode. The professional sports mode 224 may include a basketball mode 224a, an open button 224b for turning on the basketball mode, a running mode, and an open button for turning on the running mode. In response to a user operation, such as a touch operation, acting on the turn-on button 224b, the electronic device may send an instruction to turn on the basketball mode to the wearable device 100 and display the user interface 220 as shown in (D) in FIG. 4. Wherein, the electronic device may display an end button 224c for ending the basketball mode. In response to a user operation on the end button 226c, such as a touch operation, the electronic device may send an instruction to end the basketball mode to the wearable device 100 and display the user interface 220 as shown in (C) in FIG. 4. Among them, the electronic device can display an opening button 224b for opening the basketball mode.
当接收到电子设备发送的开启篮球模式的指令,可穿戴设备100(即设备主体110)可以在震动后倒计时3秒开启篮球模式。当开启篮球模式,设备主体110可以在显示屏111上显示篮球的图标以及文字“篮球模式”。这样,可以提示用户设备主体110已开启篮球模式。When receiving an instruction to turn on the basketball mode sent by the electronic device, the wearable device 100 (ie, the device body 110) can turn on the basketball mode after a countdown of 3 seconds after the vibration. When the basketball mode is turned on, the device main body 110 can display the basketball icon and the text "basketball mode" on the display screen 111. In this way, the user device main body 110 can be notified that the basketball mode has been turned on.
当接收到电子设备发送的结束篮球模式的指令,可穿戴设备100(即设备主体110)可以在震动后结束篮球模式。When receiving an instruction to end the basketball mode sent by the electronic device, the wearable device 100 (ie, the device body 110) can end the basketball mode after shaking.
另外,当开启篮球模式时,可穿戴设备100可以自动开启免打扰模式。示例性的,开启免打扰模式时,当电子设备收到来电或者消息通知,可穿戴设备100可以屏蔽电子设备 发送的来电或者消息通知的提醒指令。即可穿戴设备100不会通过振动或者响铃等方式提醒用户有来电或者消息通知。这样,当可穿戴设备100已开启篮球模式,且有来电或者消息通知时,可穿戴设备100不会对用户打篮球产生干扰。In addition, when the basketball mode is turned on, the wearable device 100 may automatically turn on the do not disturb mode. Exemplarily, when the Do Not Disturb mode is turned on, when the electronic device receives an incoming call or message notification, the wearable device 100 may shield the reminder instruction of the incoming call or message notification sent by the electronic device. That is, the wearable device 100 will not remind the user of incoming calls or message notifications by means of vibration or ringing. In this way, when the wearable device 100 has turned on the basketball mode and there is an incoming call or message notification, the wearable device 100 will not interfere with the user playing basketball.
需要进行说明的是,当开启上述跑步模式,可穿戴设备100可以记录用户在跑步时的触地时间、着地方式等运动数据,实现对用户跑步的动作的监测。本申请实施例对可穿戴设备100在开启跑步模式后记录的运动数据不作限定。专业运动模式226中还可以包含更多或更少的运动模式,本申请实施例对此不作限定。It should be noted that, when the above-mentioned running mode is turned on, the wearable device 100 can record the user's movement data such as the touch time and the way of landing while running, so as to realize the monitoring of the user's running action. The embodiment of the present application does not limit the exercise data recorded by the wearable device 100 after the running mode is turned on. The professional sports mode 226 may also include more or fewer sports modes, which are not limited in the embodiment of the present application.
在一些实施例中,设备主体110还可以自适应开启或者结束篮球模式。In some embodiments, the device main body 110 may also adaptively turn on or end the basketball mode.
当未开启篮球模式,且监测到用户处于打篮球的状态时,设备主体110可以自动开启篮球模式。其中,设备主体110判断用户处于打篮球的状态的方式可以为,根据加速度计和陀螺仪采集到的加速度信号和角速度信号,设备主体110计算出用户有跑动和纵跳的动作,并且跑动速度和纵跳高度等运动数据与该用户打篮球时的运动数据接近,则设备主体110可以确定用户处于打篮球的状态。设备主体110还可以根据其它方式来确定用户处于打篮球的状态,本申请实施例对此不作限定。When the basketball mode is not turned on and it is detected that the user is in a state of playing basketball, the device main body 110 may automatically turn on the basketball mode. Wherein, the device main body 110 can determine that the user is in the state of playing basketball. According to the acceleration signal and angular velocity signal collected by the accelerometer and gyroscope, the device main body 110 calculates that the user has running and vertical jumping actions, and running. The movement data such as speed and vertical jump height are close to the movement data of the user when playing basketball, and the device main body 110 can determine that the user is in the state of playing basketball. The device main body 110 may also determine that the user is in the state of playing basketball according to other methods, which is not limited in the embodiment of the present application.
或者,当开启了其它的专业运动模式,例如跑步模式,但监测到用户处于打篮球的状态时,设备主体110可以自动将其它的专业运动模式切换为篮球模式。即设备主体110可以结束其它专业运动模式,并开启篮球模式。Or, when another professional sports mode is turned on, such as a running mode, but it is detected that the user is playing basketball, the device main body 110 may automatically switch the other professional sports mode to the basketball mode. That is, the device main body 110 can end other professional sports modes and start the basketball mode.
当开启篮球模式,且监测到用户未处于打篮球的状态时,设备主体110可以自动结束篮球模式。其中,设备主体110判断用户未处于篮球的状态的方式可以为,根据采集的声波信号、加速度信号和角速度信号,设备主体110计算出运球次数基本为零、跑动速度和该用户在走路或者静止时的速度接近,则设备主体110可以确定用户未处于打篮球的状态。设备主体110还可以根据其它方式来确定未处于打篮球的状态,本申请实施例对此不作限定。When the basketball mode is turned on and it is detected that the user is not in a state of playing basketball, the device main body 110 may automatically end the basketball mode. The device main body 110 can determine that the user is not in a basketball state. According to the collected sound wave signals, acceleration signals, and angular velocity signals, the device main body 110 calculates that the number of dribbles is basically zero, the running speed and the user is walking or When the speed at rest is close, the device main body 110 can determine that the user is not in a state of playing basketball. The device main body 110 may also determine that it is not in a basketball state according to other methods, which is not limited in the embodiment of the present application.
这样,当用户在打篮球而忘记开启篮球模式,或者开启的专业运动模式选择错误时,设备主体110可以自适应开启篮球模式,监测用户在这一次打篮球时的整体动作以及运动数据,来辅助用户提高打篮球的能力。并且,当用户在开启篮球模式后忘记结束篮球模式时,设备主体110可以自适应结束篮球模式,从而减少设备主体110的功耗。In this way, when the user forgets to turn on the basketball mode while playing basketball, or the professional sports mode that is turned on is wrongly selected, the device body 110 can adaptively turn on the basketball mode to monitor the user's overall actions and sports data when playing basketball this time to assist The user improves the ability to play basketball. Moreover, when the user forgets to end the basketball mode after starting the basketball mode, the device main body 110 can end the basketball mode adaptively, thereby reducing the power consumption of the device main body 110.
除了上述通过监测作用于触摸控件112上的用户操作和通过接收电子设备发送的指令来开启或者结束篮球模式,以及自适应开启或者结束篮球模式,可穿戴设备100还可以通过其它方式开启或者结束篮球模式,例如通过体感手势开启或者结束篮球模式等。In addition to the aforementioned monitoring of user operations on the touch control 112 and receiving instructions sent by the electronic device to turn on or end the basketball mode, and adaptively turn on or end the basketball mode, the wearable device 100 can also turn on or end basketball in other ways. Mode, such as turning on or ending the basketball mode through somatosensory gestures.
下面说明设备主体110计算用户的运动数据的实现过程。The following describes the implementation process of the device main body 110 calculating the user's exercise data.
当开启篮球模式后,设备主体110中的加速度计、陀螺仪和麦克风均处于工作状态。其中,麦克风、加速度计和陀螺仪可分别采集声波信号和用户在脚部上的加速度信号、角速度信号。When the basketball mode is turned on, the accelerometer, gyroscope, and microphone in the device main body 110 are all in working state. Among them, the microphone, accelerometer and gyroscope can respectively collect sound wave signals and the acceleration signals and angular velocity signals of the user on the feet.
设备主体110可以处理上述加速度信号和上述角速度信号,实现用户单步步态特征的监测,进而计算用户的腾空时间、纵跳高度以及移动速度等运动数据。The device body 110 can process the aforementioned acceleration signal and the aforementioned angular velocity signal to monitor the user's single-step gait characteristics, and then calculate the user's movement data such as the flight time, vertical jump height, and movement speed of the user.
在一种可能的实现方式中,当得到上述加速度信号和角速度信号,设备主体可以对上述加速度信号的波形和角速度信号的波形进行波形特征检测,得到加速度信号的波形特征和角速度信号的波形特征。根据加速度信号的波形特征和角速度信号的波形特征,设备主体110可以检测出用户离地点和触地点的时刻。根据离地点和触地点的时刻,设备主体110可以计算用户的腾空时间。其中,用户在一次纵跳的腾空时间可以为连续的离地点和触地点之间的时间间隔。根据离地点和触地点的时间间隔内的加速度变化的积分,设备主体110可以计算用户的纵跳高度。利用加速度信号的波形特征,设备主体110可以对加速度进行积分运算以得到用户的移动速度。根据移动速度变化的积分,设备主体110可得到用户的运动距离。本申请实施例对上述计算用户的腾空时间、纵跳高度以及移动速度等运动数据的方法不作限定,还可以为其它利用加速度计和陀螺仪采集的信号来计算用户的腾空时间、纵跳高度以及移动速度等运动数据的方法。In a possible implementation manner, when the acceleration signal and the angular velocity signal are obtained, the main body of the device can perform waveform feature detection on the waveform of the acceleration signal and the angular velocity signal to obtain the waveform feature of the acceleration signal and the angular velocity signal. According to the waveform characteristic of the acceleration signal and the waveform characteristic of the angular velocity signal, the device main body 110 can detect the moment when the user leaves the place and touches the place. Based on the time of departure and touchdown, the device body 110 can calculate the user's flight time. Wherein, the flight time of the user in a vertical jump may be the time interval between consecutive departures and touchdowns. Based on the integration of the acceleration change in the time interval between the departure point and the touch point, the device main body 110 can calculate the vertical jump height of the user. Utilizing the waveform characteristics of the acceleration signal, the device main body 110 can integrate the acceleration to obtain the user's moving speed. According to the integral of the movement speed change, the device main body 110 can obtain the movement distance of the user. The embodiments of the present application do not limit the above-mentioned methods for calculating the user's flight time, vertical jump height, and movement speed, and other motion data can also be used to calculate the user's flight time, vertical jump height, and other signals collected by accelerometers and gyroscopes. The method of movement data such as movement speed.
设备主体110可以处理上述声波信号,利用训练好的高斯混合模型来区分其中属于用户运球的声波信号和属于用户没有运球的声波信号,进而计算运球时间和运球次数。The device main body 110 can process the above-mentioned sound wave signals, use a trained Gaussian mixture model to distinguish between the sound wave signals belonging to the user's dribbling and the sound wave signals belonging to the user not dribbling, and then calculate the dribbling time and the number of dribbles.
下面对高斯混合模型的原理以及训练过程进行介绍。The principle and training process of the Gaussian mixture model are introduced below.
高斯混合模型:高斯混合模型为概率统计模型,可通过高斯概率密度函数的线性加权组合刻画声波信号的特征参数的统计分布。高斯混合模型中每个高斯分布的平均值矢量可代表一种由运球或者没有运球产生的声波信号的类别,每个高斯分布的协方差矩阵可代表这个声波信号的类别的变异性。由运球和没有运球产生的声波信号在特征参数(如能量、频率和峰值等)值的大小上有差异,所以根据这些不同的特征参数值可以建立不同类别的声波信号的分布。这些不同的分布可用于区分由运球和没有运球产生的声波信号。Gaussian mixture model: The Gaussian mixture model is a probability statistical model, which can describe the statistical distribution of the characteristic parameters of the acoustic signal through the linear weighted combination of the Gaussian probability density function. The average vector of each Gaussian distribution in the Gaussian mixture model can represent a type of acoustic signal generated by dribbling or no dribbling, and the covariance matrix of each Gaussian distribution can represent the variability of the acoustic signal category. The acoustic signals generated by dribbling and without dribbling are different in the value of characteristic parameters (such as energy, frequency, peak value, etc.), so the distribution of different types of acoustic signals can be established according to these different characteristic parameter values. These different distributions can be used to distinguish acoustic signals generated by dribbling and non-dribbling.
在本申请实施例中,设备主体110使用的训练好的高斯混合模型可以为运球高斯混合模型。该运球高斯混合模型指混合模型中每个单独的高斯分布均表示一种由运球产生的声波信号的分布。根据特征参数值的大小的差异可以将声波信号区分为由运球产生的声波信号和由没有运球产生的声波信号,进一步的,由运球产生的声波信号根据特征参数值的大小上的差异还可以区分为多个类别。运球高斯混合模型中包含的多个高斯分布即为由运球产生的不同类别的声波信号的分布。设备主体110可以将采集的声波信号的特征参数与训练好的运球高斯混合模型进行相似度匹配计算,来判断该声波信号是否为由运球产生的声波信号。In the embodiment of the present application, the trained Gaussian mixture model used by the device main body 110 may be a dribbling Gaussian mixture model. The dribbling Gaussian mixture model means that each individual Gaussian distribution in the mixture model represents a distribution of acoustic signals generated by dribbling. According to the difference in the size of the characteristic parameter value, the acoustic wave signal can be divided into the acoustic wave signal produced by dribbling and the acoustic wave signal produced by no dribbling. Furthermore, the acoustic wave signal produced by the dribbling depends on the difference in the magnitude of the characteristic parameter value. It can also be divided into multiple categories. The multiple Gaussian distributions included in the dribbling Gaussian mixture model are the distributions of different types of acoustic signals generated by the dribbling. The device main body 110 may perform similarity matching calculation between the characteristic parameters of the collected sound wave signal and the trained Gaussian mixture model of dribbling to determine whether the sound wave signal is a sound wave signal generated by dribbling.
上述运球高斯混合模型可以利用由运球产生的声波信号训练得到。The above-mentioned dribbling Gaussian mixture model can be obtained by training using acoustic signals generated by dribbling.
在一种可能的实现方式中,设备主体110可以对由运球产生的声波信号进行音频信号处理,实现对声波信号的分帧和多维特征参数提取。上述多维特征参数的维度可以为M,其中可以包括声波信号的能量、频率和峰值等特征参数。M为正整数。上述音频信号处理的过程可以参考现有技术中音频信号处理的方法,本申请实施例对此不作赘述。本申请实施例对上述多维特征参数中包含的参数不作具体限定。In a possible implementation manner, the device main body 110 may perform audio signal processing on the sound wave signal generated by dribbling, so as to realize the framing and multi-dimensional feature parameter extraction of the sound wave signal. The dimension of the above-mentioned multi-dimensional characteristic parameter may be M, which may include characteristic parameters such as energy, frequency, and peak value of the acoustic signal. M is a positive integer. For the above audio signal processing process, reference may be made to the audio signal processing method in the prior art, which is not described in detail in the embodiment of the present application. The embodiments of the present application do not specifically limit the parameters included in the above-mentioned multi-dimensional feature parameters.
设备主体110可以建立运球高斯混合模型。该运球高斯混合模型中可包含N个单独的高斯分布,其中一个高斯分布可以表示由运球产生的一种声波信号的分布。该运球高斯混合模型可以用N个M维的高斯概率密度函数线性加权表示,表达式可以如公式(1)所示:The device main body 110 may establish a dribbling Gaussian mixture model. The dribbling Gaussian mixture model may include N individual Gaussian distributions, and one of the Gaussian distributions may represent the distribution of an acoustic signal generated by the dribbling. The dribbling Gaussian mixture model can be expressed with N M-dimensional Gaussian probability density functions linearly weighted, and the expression can be as shown in formula (1):
Figure PCTCN2021083465-appb-000001
Figure PCTCN2021083465-appb-000001
其中,X=(x 1,…,x j,…,x M)可以表示声波信号的M维特征参数,ω i可以表示第i个高斯概率密度函数的权重,且
Figure PCTCN2021083465-appb-000002
f i(X)可以表示第i个高斯分布的高斯概率密度函数,其中i=1,…,N。f i(X)的表达式可以如公式(2)所示:
Among them, X = (x 1 ,...,x j ,...,x M ) can represent the M-dimensional feature parameters of the acoustic signal, and ω i can represent the weight of the i-th Gaussian probability density function, and
Figure PCTCN2021083465-appb-000002
f i (X) can represent the Gaussian probability density function of the i-th Gaussian distribution, where i=1,...,N. The expression of f i (X) can be as shown in formula (2):
Figure PCTCN2021083465-appb-000003
Figure PCTCN2021083465-appb-000003
其中,μ i、C i分别为第i个高斯概率密度函数的均值矢量和协方差矩阵。 Among them, μ i and C i are the mean vector and covariance matrix of the i-th Gaussian probability density function, respectively.
当得到由运球产生的声波信号的M维特征参数,设备主体110可以利用这些M维特征参数对运球高斯混合模型进行训练,以得到运球高斯混合模型参数λ={ω ii,C i}的最优解。 When the M-dimensional characteristic parameters of the acoustic signal generated by the dribble are obtained, the device body 110 can use these M-dimensional characteristic parameters to train the dribbling Gaussian mixture model to obtain the dribbling Gaussian mixture model parameters λ={ω ii ,C i }'s optimal solution.
在一种可能的实现方式中,设备主体110可以利用期望最大化算法的迭代计算来估计上述参数λ的最优解。In a possible implementation manner, the main body 110 of the device may use an iterative calculation of an expectation maximization algorithm to estimate the optimal solution of the above-mentioned parameter λ.
用于训练运球高斯混合模型的声波信号的分布具体属于运球高斯混合模型中哪一个高斯分布是未知的,期望最大化算法先假定参数λ的初始值,即先假定用于训练的声波信号的分布具体属于运球高斯混合模型中哪一个高斯分布这一信息是已知的。然后进行期望步骤,该期望步骤表示根据参数λ的值计算用于训练的声波信号是由运球高斯混合模型中哪一个高斯分布生成的,即对用于训练的数据进行分类。再根据分类结果进行最大化步骤,该最大化步骤表示对参数λ进行最大似然估计,即更新参数λ的值。重复上述期望步骤和最大化步骤。当参数λ的值收敛时,设备主体110可以停止训练过程,并将最后一次更新参数λ得到的值作为参数λ的最优解,这样就可以得到训练好的运球高斯混合模型。The distribution of the acoustic signal used to train the dribbling Gaussian mixture model specifically belongs to which Gaussian distribution in the dribbling Gaussian mixture model is unknown. The expectation maximization algorithm first assumes the initial value of the parameter λ, that is, the acoustic signal used for training. The information of which Gaussian distribution in the dribbling Gaussian mixture model belongs to is known. Then, a desired step is performed. The desired step is to calculate which Gaussian distribution in the dribbling Gaussian mixture model the acoustic signal used for training is generated according to the value of the parameter λ, that is, to classify the data used for training. Then, a maximization step is performed according to the classification result. The maximization step represents the maximum likelihood estimation of the parameter λ, that is, the value of the parameter λ is updated. Repeat the desired step and maximize step above. When the value of the parameter λ converges, the device body 110 can stop the training process, and use the value obtained from the last update of the parameter λ as the optimal solution of the parameter λ, so that a trained Gaussian mixture model of dribbling can be obtained.
上述参数λ的值收敛可以表示连续两次进行最大化步骤更新的参数λ之间的差值小于设定阈值,即可以认为参数λ的值稳定不变。The value convergence of the above parameter λ may mean that the difference between the parameter λ that is updated in two consecutive maximization steps is smaller than the set threshold, that is, the value of the parameter λ can be considered to be stable.
下面说明设备主体110利用训练好的运球高斯混合模型来判断用户是否运球的实现过程。The following describes the implementation process of the device main body 110 using the trained dribbling Gaussian mixture model to determine whether the user is dribbling.
当得到训练好的运球高斯混合模型,设备主体110可以利用训练好的运球高斯混合模型来区分麦克风采集的声波信号中由运球产生的声波信号和由没有运球产生的声波信号。示例性的,设备主体110对麦克风采集的声波信号进行音频信号处理,得到某一帧声波信号的M维特征参数X=(x 1,…,x j,…,x M)。根据特征参数X,设备主体110可以对这一帧声波信号与训练好的运球高斯混合模型进行相似度匹配计算。其中,设备主体110可以计算在已知这一帧声波信号的M维特征参数的条件下,这一帧声波信号是由运球高斯混合模型中第i个高斯分布生成的后验概率。具体计算公式可以如式(3)所示: When the trained dribbling Gaussian mixture model is obtained, the device main body 110 can use the trained dribbling Gaussian mixture model to distinguish the acoustic wave signal generated by the dribble and the acoustic wave signal generated by no dribble among the acoustic signals collected by the microphone. Exemplarily, the device main body 110 performs audio signal processing on the sound wave signal collected by the microphone to obtain the M-dimensional characteristic parameter X=(x 1 ,..., x j ,..., x M ) of a certain frame of the sound wave signal. According to the characteristic parameter X, the device main body 110 can perform similarity matching calculation between this frame of sound wave signal and the trained Gaussian mixture model of dribbling. Wherein, the device main body 110 can calculate the posterior probability generated by the i-th Gaussian distribution in the dribbling Gaussian mixture model under the condition that the M-dimensional characteristic parameters of this frame of acoustic signal are known. The specific calculation formula can be as shown in formula (3):
Figure PCTCN2021083465-appb-000004
Figure PCTCN2021083465-appb-000004
则这一帧声波信号由运球高斯混合模型中N个高斯分布生成后验概率之和为
Figure PCTCN2021083465-appb-000005
上述概率之和Q可以表示这一帧声波信号与运球高斯混合模型的相似度。设备主体110可以设置一个匹配阈值。当上述后验概率之和Q大于该匹配阈值,设备主体110可以判别这一帧声波信号为由运球产生的声波信号。否则,设备主体110可以判别这一 帧声波信号为由没有运球产生的声波信号。本申请实施例对该匹配阈值的大小不作具体限定。
Then the sound wave signal of this frame is generated by the N Gaussian distribution in the dribbling Gaussian mixture model, and the sum of the posterior probabilities is
Figure PCTCN2021083465-appb-000005
The above-mentioned probability sum Q can indicate the similarity between the sound wave signal of this frame and the Gaussian mixture model of dribbling. The device body 110 can set a matching threshold. When the above-mentioned sum of posterior probabilities Q is greater than the matching threshold, the device main body 110 can determine that the sound wave signal of this frame is the sound wave signal generated by dribbling. Otherwise, the device main body 110 can determine that the sound wave signal of this frame is a sound wave signal generated by no dribbling. The embodiment of the present application does not specifically limit the size of the matching threshold.
本申请实施例对上述相似度匹配的计算方法不作限定,还可以为其它相似度匹配的方法。The embodiment of the present application does not limit the calculation method of the above-mentioned similarity matching, and may also be other similarity matching methods.
进一步的,当判断由运球产生的声波信号,设备主体110可以计算用户在一次打篮球的过程中总的运球时间,即各帧由运球产生的声波信号的时间之和。Further, when judging the sound wave signal generated by the dribble, the device main body 110 can calculate the total dribbling time of the user during one basketball game, that is, the sum of the time of the sound wave signal generated by the dribble in each frame.
设备主体110可以计算用户在一次打篮球的过程中总的运球次数,即由运球产生的声波信号的帧数。其中,在对用户打篮球的声波信号进行分帧处理时,设备主体110可以根据一般用户运球的频率来决定一帧声波信号的长度,例如一帧声波信号的长度可以为500毫秒。当判断出某一帧声波信号为由运球产生的声波信号时,设备主体110可以确定用户进行了一次运球,即由运球产生的声波信号的帧的数量为用户在一次打篮球的过程中总的运球次数。The main body 110 of the device can calculate the total number of dribbles that the user has in one basketball game, that is, the number of frames of the sound wave signal generated by the dribble. Wherein, when the sonic signal of the user playing basketball is divided into frames, the device main body 110 can determine the length of a frame of sonic signal according to the frequency of dribbling by a general user. For example, the length of a frame of sonic signal can be 500 milliseconds. When it is determined that a certain frame of sound wave signal is a sound wave signal generated by a dribble, the device body 110 can determine that the user has performed a dribble, that is, the number of frames of the sound wave signal generated by the dribble is the process of the user playing basketball at one time. The total number of dribbles.
运球高斯混合模型为多个高斯概率密度函数的线性加权组合,而利用若干个高斯概率密度函数的线性加权组合可以逼近任意分布,因此运球高斯混合模型可以用于描述由运球产生的声波信号的分布。这样,设备主体110可以利用运球高斯混合模型来判断用户是否运球。结合根据加速度信号和角速度信号分析得到的用户在脚部上的动作,设备主体110可以监测用户在打篮球时的整体的动作(如原地运球、跑步运球、无球跑动等),从而更好的辅助用户提高打篮球的能力。The dribbling Gaussian mixture model is a linear weighted combination of multiple Gaussian probability density functions, and the linear weighted combination of several Gaussian probability density functions can approximate an arbitrary distribution, so the dribbling Gaussian mixture model can be used to describe the sound waves generated by the dribble Signal distribution. In this way, the device main body 110 can use the dribbling Gaussian mixture model to determine whether the user dribbles. Combining the user's foot movement obtained by analyzing the acceleration signal and the angular velocity signal, the device main body 110 can monitor the user's overall movement when playing basketball (such as dribbling in place, running dribbling, running without the ball, etc.), So as to better assist users to improve their ability to play basketball.
本申请实施例对处理声波信号来判断用户是否运球的方法不进行限定,除了可以用上述高斯混合模型的算法,还可以用隐马尔可夫模型的算法或者神经网络算法等其它声波信号识别的算法。The embodiment of the application does not limit the method of processing the acoustic signal to determine whether the user is dribbling. In addition to the algorithm of the Gaussian mixture model, the algorithm of the hidden Markov model or the neural network algorithm can also be used for other acoustic signal recognition. algorithm.
图5示出了一种监测用户在打篮球时的整体的动作的方法流程图。Fig. 5 shows a flow chart of a method for monitoring the overall actions of a user when playing basketball.
如图5所示,该方法可以包括步骤S101~S105。其中:As shown in Fig. 5, the method may include steps S101 to S105. in:
S101、设备主体110采集加速度信号、角速度信号和声波信号。S101. The device main body 110 collects acceleration signals, angular velocity signals, and sound wave signals.
当开启篮球模式后,设备主体110中的麦克风、加速度计和陀螺仪可以分别采集用户打篮球时的声波信号以及用户脚部的加速度信号、角速度信号。When the basketball mode is turned on, the microphone, accelerometer, and gyroscope in the device main body 110 can respectively collect the sound wave signal when the user is playing basketball, and the acceleration signal and angular velocity signal of the user's foot.
S102、设备主体110对加速度信号和角速度信号进行波形特征检测,得到加速度信号和角速度信号的波形特征;设备主体110对声波信号进行音频信号处理,得到声波信号的特征参数。S102. The device main body 110 performs waveform feature detection on the acceleration signal and the angular velocity signal to obtain the waveform characteristics of the acceleration signal and the angular velocity signal; the device main body 110 performs audio signal processing on the acoustic wave signal to obtain the characteristic parameter of the acoustic wave signal.
上述音频信号处理可以包括对声波信号进行分帧和特征参数提取。其中设备主体110可以根据一般用户运球的频率来决定一帧声波信号的长度。示例性的,一般用户运球一次需要500毫秒,则设备主体110对声波信号进行分帧时可以将声波信号以500毫秒为一帧进行划分。这样,若判断出一帧声波信号为由运球产生的声波信号,则设备主体110可以确定用户运球一次。需要进行说明的是,上述用户运球一次可以表示有球的用户在原地或者移动的过程中中拍按篮球一次,并使篮球由地面反弹起来。The aforementioned audio signal processing may include framing and feature parameter extraction of the sound wave signal. The device body 110 can determine the length of a frame of sound wave signal according to the frequency of dribbling by a general user. Exemplarily, it takes 500 milliseconds for a general user to dribble once, so when the device main body 110 divides the sound wave signal into frames, the sound wave signal may be divided into 500 milliseconds as one frame. In this way, if it is determined that a frame of sound wave signal is a sound wave signal generated by dribbling, the device main body 110 can determine that the user dribbles once. It should be noted that the above-mentioned user dribbling once may indicate that the user with the ball slaps and presses the basketball once in the process of staying or moving, and the basketball is bounced off the ground.
设备主体110可以对每一帧声波信号进行特征参数提取,其中提取的参数可以包括这 一帧声波信号的能量、频率和峰值等M维特征参数。上述M为正整数。The main body 110 of the device may extract characteristic parameters of each frame of acoustic signal, and the extracted parameters may include M-dimensional characteristic parameters such as energy, frequency, and peak value of the acoustic signal of this frame. The above M is a positive integer.
S103、设备主体110将声波信号的特征参数与运球高斯混合模型进行相似度匹配计算,确定由运球产生的声波信号。S103. The device main body 110 performs similarity matching calculation on the characteristic parameters of the acoustic signal and the Gaussian mixture model of the dribble, and determines the acoustic signal generated by the dribble.
运球高斯混合模型中可以包括N个单独的高斯分布。其中每一个高斯分布都可以表示由运球产生的一种声波信号的类别。设备主体110可以根据公式(3)计算在已知一帧声波信号的M维特征参数的条件下,这一帧声波信号是由运球高斯混合模型中第i个高斯分布生成的后验概率。这样,设备主体110可以得到这一帧声波信号由运球高斯混合模型中N各高斯分布生成的后验概率之和Q。其中
Figure PCTCN2021083465-appb-000006
可以表示这一帧声波信号与运球高斯混合模型的相似度。
The dribbling Gaussian mixture model can include N individual Gaussian distributions. Each Gaussian distribution can represent a type of acoustic signal generated by dribbling. The device main body 110 can calculate the posterior probability generated by the i-th Gaussian distribution in the dribbling Gaussian mixture model under the condition that the M-dimensional characteristic parameters of a frame of acoustic signal are known according to formula (3). In this way, the device main body 110 can obtain the sum Q of posterior probabilities generated by the N Gaussian distributions in the dribbling Gaussian mixture model of this frame of acoustic signal. in
Figure PCTCN2021083465-appb-000006
It can indicate the similarity between the sound wave signal of this frame and the Gaussian mixture model of dribbling.
设备主体110可以设置一个匹配阈值。当上述后验概率之和Q大于该匹配阈值,设备主体110可以确定这一帧声波信号为由运球产生的声波信号。本申请实施例对该匹配阈值的大小不作具体限定。The device body 110 can set a matching threshold. When the above-mentioned sum of posterior probabilities Q is greater than the matching threshold, the main body 110 of the device may determine that this frame of sound wave signal is a sound wave signal generated by dribbling. The embodiment of the present application does not specifically limit the size of the matching threshold.
S104、设备主体110根据加速度信号和角速度信号的波形特征计算腾空时间、纵跳高度、移动速度和运动距离;设备主体110根据由运球产生的声波信号计算运球时间和运球次数。S104. The device main body 110 calculates the flight time, vertical jump height, moving speed and movement distance according to the waveform characteristics of the acceleration signal and the angular velocity signal; the device main body 110 calculates the dribbling time and the number of dribbles according to the sound wave signal generated by the dribble.
根据加速度信号的波形特征和角速度信号的波形特征,设备主体110可以检测出用户离地点和触地点的时刻。根据离地点和触地点的时刻,设备主体110可以计算用户的腾空时间。其中,用户在一次纵跳的腾空时间可以为连续的离地点和触地点之间的时间间隔。根据离地点和触地点的时间间隔内的加速度变化的积分,设备主体110可以计算用户的纵跳高度。利用加速度信号的波形特征,设备主体110可以对加速度进行积分运算以得到用户的移动速度。根据移动速度变化的积分,设备主体110可得到用户的运动距离。不限于上述腾空时间、纵跳高度、移动速度和移动距离,设备主体110还可以根据加速度信号和角速度信号的波形特征计算其他用户在脚部上走、跑和跳的运动数据。According to the waveform characteristic of the acceleration signal and the waveform characteristic of the angular velocity signal, the device main body 110 can detect the moment when the user leaves the place and touches the place. Based on the time of departure and touchdown, the device body 110 can calculate the user's flight time. Wherein, the flight time of the user in a vertical jump may be the time interval between consecutive departures and touchdowns. Based on the integration of the acceleration change in the time interval between the departure point and the touch point, the device main body 110 can calculate the vertical jump height of the user. Utilizing the waveform characteristics of the acceleration signal, the device main body 110 can integrate the acceleration to obtain the user's moving speed. According to the integral of the movement speed change, the device main body 110 can obtain the movement distance of the user. Not limited to the above-mentioned flight time, vertical jump height, moving speed and moving distance, the device main body 110 can also calculate other users' walking, running and jumping motion data on the feet according to the waveform characteristics of the acceleration signal and the angular velocity signal.
根据每一帧由运球产生的声波信号,设备主体110可以计算用户在一次打篮球的过程中总的运球时间和运球次数。其中,运球时间可以为每一帧由运动产生的声波信号的时间之和。运球次数可以为由运球产生的声波信号的帧的数量。According to the sound wave signal generated by the dribble in each frame, the device main body 110 can calculate the total dribbling time and the number of dribbles in the process of one basketball play by the user. Among them, the dribbling time can be the sum of the time of the sound wave signal generated by the motion in each frame. The number of dribbles may be the number of frames of the sound wave signal generated by the dribble.
除了计算上述腾空时间、纵跳高度、移动速度、运动距离、运球时间和运球次数,设备主体110还可以计算用户移动的步数、消耗的热量等运动数据。本申请实施例对设备主体110计算的运动数据的种类不作限定。计算用户移动的步数、消耗的热量的方法可以参考现有技术的计算方法,本申请实施例对此不作赘述。In addition to calculating the above-mentioned flight time, vertical jump height, movement speed, movement distance, dribbling time, and number of dribbles, the device main body 110 can also calculate movement data such as the number of steps moved by the user and the calories consumed. The embodiment of the present application does not limit the type of exercise data calculated by the device main body 110. The method of calculating the number of steps moved and the calories consumed by the user can refer to the calculation method of the prior art, which is not described in detail in the embodiment of the present application.
S105、将用户打篮球的动作分类为运球的动作和没有运球的动作。S105. Classify the user's basketball actions into dribbling actions and non-dribbling actions.
结合同一时刻在用户脚部上的动作以及用户是否运球的分析结果,设备主体110可以将用户打篮球的动作分类为运球的动作和没有运球的动作。Combining the action on the user's foot at the same time and the analysis result of whether the user is dribbling, the device main body 110 can classify the user's basketball action into a dribbling action and a non-dribbling action.
上述运球的动作可以包括原地运球和跑步运球。其中:The aforementioned dribbling action may include dribbling in place and running dribbling. in:
原地运球:若连续若干帧声波信号属于由运球产生的声波信号,并且在这连续若干帧声波信号对应的时间段内移动速度趋近于0或小于预设的第一速度阈值(第一速度),或者在这连续若干帧声波信号对应的时间段内运动距离趋近于0或小于预设的第一距离阈值(第一距离),设备主体110可以确定用户没有在篮球场上移动,从而确定用户在这一时间 段内的动作为原地运球。In-place dribble: If several consecutive frames of sound wave signal belong to the sound wave signal generated by dribbling, and the moving speed approaches 0 or less than the preset first speed threshold (the first 1 speed), or within the time period corresponding to several consecutive frames of sound wave signals, the movement distance approaches 0 or is less than the preset first distance threshold (first distance), the device body 110 can determine that the user is not moving on the basketball court , So as to determine that the user's action during this time period is a dribble on the spot.
跑步运球:若连续若干帧声波信号属于由运球产生的声波信号,并且在这连续若干帧声波信号对应的时间段内移动速度大于预设的第二速度阈值(第二速度),或者在这连续若干帧声波信号对应的时间段内运动距离大于预设的第二距离阈值(第二距离),设备主体110可以确定用户在篮球场上跑动,从而确定用户在这一时间段内的动作为跑步运球。Running dribbling: If several consecutive frames of sound wave signal belong to the sound wave signal generated by dribbling, and the moving speed is greater than the preset second speed threshold (second speed) during the time period corresponding to the consecutive frames of sound wave signal, or The movement distance during the time period corresponding to these consecutive frames of sound wave signals is greater than the preset second distance threshold (second distance). The device main body 110 can determine that the user is running on the basketball court, thereby determining the user's movement in this time period. The action is a running dribble.
需要进行说明的是,上述第一速度阈值小于或等于上述第二速度阈值,上述第一距离阈值小于或等于上述第二距离阈值。It should be noted that the first speed threshold is less than or equal to the second speed threshold, and the first distance threshold is less than or equal to the second distance threshold.
不限于原地运球和跑步运球,运球的动作还可以包含更多的类别,本申请实施例对此不作限定。It is not limited to in-situ dribbling and running dribbling. The dribbling action can also include more categories, which are not limited in the embodiment of the present application.
上述没有运球的动作可以包括无球跑动、无球纵跳、跑动传投和纵跳传投。其中:The aforementioned actions without dribbling may include running without the ball, vertical jump without the ball, running pass and vertical jump shot. in:
无球跑动:若连续若干帧声波信号属于由没有运球产生的声波信号,并且在这连续若干帧声波信号对应的时间段内移动速度大于第二速度阈值或运动距离大于第二距离阈值,设备主体110可以确定用户在这一时间段内的动作为无球跑动。在篮球规则中,运动员在手中有球并且要在篮球场上移动时,必须边运球边移动,而不能将篮球拿在手中在篮球场上移动。这样,当判断用户没有运球而在篮球场上的移动速度较高时,设备主体110可以确定用户的动作为无球跑动。其中,上述第二速度阈值可以根据一般用户在打篮球时跑动的速度来确定。示例性的,一般用户在打篮球时跑动的速度为2公里每小时。当连续若干帧声波信号属于由没有运球产生的声波信号,并且在这连续若干帧声波信号对应的时间段内移动速度大于2公里每小时,设备主体110可以确定用户在这一时间段内的动作为无球跑动。本申请实施例对上述第二速度阈值的具体数值不作限定。上述第二距离阈值也可以根据一般用户在打篮球跑动时间段内的运动距离来确定。示例性的,一般用户在打篮球跑动时,每一帧声波信号(例如500毫秒)对应的时间段内的运动距离为0.3米。当连续若干帧声波信号属于有没有运球产生的声波信号,并且在这连续若干帧声波信号中每一帧声波信号对应的时间段内用户的运动距离均大于0.3米,设备主体110可以确定供用户在这一时间段内的动作为无球跑动。本申请实施例对上述第二距离阈值的具体数值不作限定。Running without the ball: If several consecutive frames of sound wave signals belong to the sound wave signals generated by no dribbling, and the moving speed is greater than the second speed threshold or the movement distance is greater than the second distance threshold during the time period corresponding to the consecutive frames of sound wave signals, The device main body 110 may determine that the user's action during this period of time is running without a ball. In the basketball rules, when a player has a ball in his hand and wants to move on the basketball court, he must move while dribbling the ball, but cannot move the basketball on the basketball court in his hand. In this way, when it is determined that the user does not dribble and the moving speed on the basketball court is high, the device main body 110 can determine that the user's action is running without the ball. Wherein, the above-mentioned second speed threshold may be determined according to the running speed of a general user when playing basketball. Exemplarily, a general user runs at a speed of 2 kilometers per hour when playing basketball. When several consecutive frames of acoustic signals belong to acoustic signals generated by no dribbling, and the moving speed is greater than 2 kilometers per hour during the time period corresponding to these consecutive frames of acoustic signals, the main body 110 of the device can determine the user’s The action is to run without the ball. The embodiment of the present application does not limit the specific value of the foregoing second speed threshold. The above-mentioned second distance threshold may also be determined according to the movement distance of the general user during the basketball running time period. Exemplarily, when a general user is playing basketball and running, the movement distance in a time period corresponding to each frame of sound wave signal (for example, 500 milliseconds) is 0.3 meters. When several consecutive frames of sound wave signals belong to the sound wave signal generated by dribbling or not, and the user's movement distance in the time period corresponding to each frame of the sound wave signal in these consecutive frames is greater than 0.3 meters, the device main body 110 can determine the supply The user's action during this time period is running without the ball. The embodiment of the present application does not limit the specific value of the foregoing second distance threshold.
无球纵跳:若连续若干帧声波信号属于由没有运球产生的声波信号,这连续若干帧声波信号的前面连续若干帧声波信号也属于由没有运球产生的声波信号,并且在这连续若干帧声波信号对应的时间段内纵跳高度不为0或者大于预设的高度阈值(第一高度),设备主体110可以确定用户在这一时间段内的动作为无球纵跳。上述高度阈值可以根据一般用户在打篮球时向上跳跃的最小高度来决定。示例性的,一般用户在打篮球时向上跳跃的最小高度为10厘米。设备主体110可将高度阈值预设为10厘米。当用户的纵跳高度大于10厘米时,设备主体110可以确定用户做了一次向上跳跃的动作。本申请实施例对上述高度阈值的具体数据不作限定。No ball vertical jump: If several consecutive frames of sound wave signal belong to the sound wave signal generated by no dribbling, the consecutive frames of the sound wave signal before the continuous frame sound wave signal also belong to the sound wave signal generated by no dribble, and there are several consecutive frames here. The vertical jump height in the time period corresponding to the frame sound wave signal is not 0 or greater than the preset height threshold (first height), and the device main body 110 may determine that the user's action in this time period is a ballless vertical jump. The above-mentioned height threshold may be determined according to the minimum height of a general user jumping upwards when playing basketball. Exemplarily, the minimum height for a general user to jump upwards when playing basketball is 10 cm. The device body 110 may preset the height threshold to 10 cm. When the user's vertical jump height is greater than 10 cm, the device main body 110 can determine that the user has made an upward jump. The embodiment of the present application does not limit the specific data of the above-mentioned height threshold.
跑动传投:若连续若干帧声波信号属于由没有运球产生的声波信号,这连续若干帧声波信号的前面连续若干帧声波信号也属于由没有运球产生的声波信号,并且这连续若干帧声波信号及其前面连续若干帧声波信号对应的时间段内移动速度大于第二速度阈值或运动距离大于第二距离阈值,设备主体110可以确定用户在这一时间段内的动作为跑动传投。根据声波信号的变化,用户的动作由运球变为没有运球,设备主体110可以确定用户进行 了传球或者投篮。而在这一时间段内,用户做了跑动的动作。这样,设备主体110就可以确定用户在这一时间段内的动作为跑动传投。Running and throwing: If several consecutive frames of sound wave signal belong to the sound wave signal generated by no dribbling, the consecutive frames of the sound wave signal before these consecutive frames of sound wave signal also belong to the sound wave signal generated by no dribbling, and these consecutive frames During the time period corresponding to the sound wave signal and several consecutive frames of the sound wave signal before it, the moving speed is greater than the second speed threshold or the moving distance is greater than the second distance threshold. The device body 110 can determine that the user's action during this time period is running and throwing. . According to the change of the sound wave signal, the user's action changes from dribbling to no dribbling, and the device main body 110 can determine that the user has made a pass or a shot. During this time period, the user made a running action. In this way, the device main body 110 can determine that the user's action during this period of time is a running shot.
纵跳传投:若连续若干帧声波信号属于由没有运球产生的声波信号,这连续若干帧声波信号的前面连续若干帧声波信号属于由运球产生的声波信号,并且在这连续若干帧声波信号及其前面连续若干帧声波信号对应的时间段内纵跳高度不为0或者超过预设的高度阈值,设备主体110可以确定用户在这一时间段内的动作为纵跳传投。根据声波信号的变化,用户的动作由运球变为没有运球,设备主体110可以确定用户进行了传球或者投篮。而在这一时间段内,用户做了向上跳跃的动作。这样,设备主体110就可以确定用户在这一时间段内的动作为纵跳传投。Longitudinal jump shot: If several consecutive frames of sound wave signal belong to the sound wave signal generated by no dribbling, the consecutive frames of the sound wave signal before the continuous frame sound wave signal belong to the sound wave signal generated by dribbling, and there are several consecutive frames of sound wave signal. The vertical jump height within the time period corresponding to the signal and several consecutive frames of sound wave signals before it is not 0 or exceeds a preset height threshold, and the device body 110 can determine that the user's action in this time period is a vertical jump shot. According to the change of the sound wave signal, the user's action changes from dribbling to no dribbling, and the device main body 110 can determine that the user has passed or shot the ball. During this time period, the user made an upward jump. In this way, the device main body 110 can determine that the user's action during this time period is a vertical jump shot.
不限于无球跑动、无球纵跳、跑动传投和纵跳传投,没有运球的动作还可以包含更多的类别,本申请实施例对此不作限定。It is not limited to running without the ball, vertical jump without the ball, running pass and vertical jump pass, and the action without dribbling may also include more categories, which are not limited in the embodiments of the present application.
设备主体110可以监测用户在打篮球时的动作,并对用户在打篮球时的动作进行分类。这样,根据用户在打篮球时的动作,设备主体110可以为用户提供运动建议,以辅助用户提高打篮球的能力。示例性的,用户原地运球的时间较长可以说明该用户在打篮球求时容易受到他人阻碍,进攻能力较弱。当监测到用户原地运球的时间较长时,设备主体110可以通过电子设备显示提高打篮球进攻能力的运动建议。The device main body 110 may monitor the user's actions when playing basketball, and classify the user's actions when playing basketball. In this way, according to the user's actions when playing basketball, the device main body 110 can provide the user with exercise suggestions to assist the user in improving the ability of playing basketball. Exemplarily, a long time for the user to dribble in place may indicate that the user is easily hindered by others when playing basketball and has weak offensive ability. When it is detected that the user has dribble in place for a long time, the device main body 110 may display sports suggestions for improving the offensive ability of playing basketball through the electronic device.
下面说明另一种得到训练好的运球高斯混合模型的实现方法。The following describes another implementation method for obtaining a trained dribble Gaussian mixture model.
在一些实施例中,设备主体110可以先预采集用户运球产生的声波信号。利用预采集的声波信号,设备主体110可以训练运球高斯混合模型。训练好的运球高斯混合模型中一部分高斯分布的权重比较大。这一部分高斯分布可以是生成用户运球产生的声波信号的高斯分布。这样,训练好的运球高斯混合模型可用于更准确地判断用户运球产生的声波信号,减少他人运球产生的声波信号对计算用户运球时间和运球次数等运动数据的影响。In some embodiments, the device main body 110 may first pre-collect the acoustic signal generated by the user's dribbling. Using the pre-collected sound wave signal, the device main body 110 can train a dribbling Gaussian mixture model. Part of the Gaussian distribution in the trained dribble Gaussian mixture model has a relatively large weight. This part of the Gaussian distribution may be the Gaussian distribution that generates the acoustic signal generated by the user's dribbling. In this way, the trained dribbling Gaussian mixture model can be used to more accurately determine the acoustic signal generated by the user's dribbling, and reduce the influence of the acoustic signal generated by the dribbling of others on the calculation of the user's dribbling time and the number of dribbles and other sports data.
根据上述另一种得到训练好的运球高斯混合模型的实现方法,图6示出了另一种监测用户在打篮球时的整体的动作的方法流程图。According to the above-mentioned another implementation method for obtaining a trained dribble Gaussian mixture model, FIG. 6 shows a flowchart of another method for monitoring the overall actions of the user when playing basketball.
如图6所示,该方法可以包括步骤S201~S207。其中:As shown in Fig. 6, the method may include steps S201 to S207. in:
S201、预采集用户运球产生的声波信号。S201: Pre-collect the acoustic signal generated by the user's dribbling.
预采集用户运球产生的声波信号可以为设备主体110在首次开启篮球模式前,进行个人运球数据的录入,即录入用户运球产生的声波信号。Pre-collecting the sound wave signal generated by the user's dribbling may be that the device main body 110 enters personal dribbling data before the basketball mode is turned on for the first time, that is, the sound wave signal generated by the user's dribble is entered.
用户首次使用可穿戴设备100开启篮球模式时,需要先录入个人运球产生的声波信号。即先开启个人运球数据录入,将可穿戴设备100扣在鞋上,做原地运球或者跑步运球等运球的动作。待个人运球数据录入结束后,用户可以开启篮球模式以监测个人打篮球的运动数据。When the user uses the wearable device 100 to turn on the basketball mode for the first time, the user needs to record the sound wave signal generated by the personal dribble first. That is, the personal dribbling data entry is first turned on, the wearable device 100 is buckled on the shoe, and dribbling actions such as in-situ dribbling or running dribbling are performed. After the personal dribble data entry is over, the user can turn on the basketball mode to monitor the personal basketball sports data.
S202、利用预采集的声波信号训练运球高斯混合模型,得到用户的运球高斯混合模型。S202: Train the dribbling Gaussian mixture model by using the pre-collected acoustic signal to obtain the user's dribbling Gaussian mixture model.
当得到预采集的声波信号,设备主体110可以对预采集的声波信号进行音频信号处理,得到预采集的声波信号的M维特征参数。利用预采集的声波信号的M维特征参数训练运球高斯混合模型,设备主体110可以得到用户的运球高斯混合模型。该用户的运球高斯混合模型可以用于更准确地判断用户运球产生的声波信号。When the pre-collected acoustic wave signal is obtained, the device main body 110 may perform audio signal processing on the pre-collected acoustic wave signal to obtain the M-dimensional characteristic parameters of the pre-collected acoustic wave signal. The dribbling Gaussian mixture model is trained by using the pre-collected M-dimensional feature parameters of the acoustic signal, and the device main body 110 can obtain the user's dribbling Gaussian mixture model. The user's dribbling Gaussian mixture model can be used to more accurately determine the sound wave signal generated by the user's dribble.
S203、采集加速度信号、角速度信号和声波信号。S203. Collect acceleration signals, angular velocity signals, and sound wave signals.
S204、对加速度信号和角速度信号进行波形特征检测,得到加速度信号和角速度信号的波形特征;对声波信号进行音频信号处理,得到声波信号的特征参数。S204: Perform waveform feature detection on the acceleration signal and the angular velocity signal to obtain waveform features of the acceleration signal and the angular velocity signal; perform audio signal processing on the acoustic wave signal to obtain characteristic parameters of the acoustic wave signal.
S205、将声波信号的特征参数与用户的运球高斯混合模型进行相似度匹配计算,确定属于用户的由运球产生的声波信号。S205: Perform similarity matching calculation between the characteristic parameters of the acoustic signal and the Gaussian mixture model of the user's dribble, and determine the acoustic signal generated by the dribble belonging to the user.
S206、根据加速度信号和角速度信号的波形特征计算腾空时间、纵跳高度、移动速度和运动距离;根据运球产生的声波信号计算运球时间和运球次数。S206: Calculate the flight time, vertical jump height, movement speed and movement distance according to the waveform characteristics of the acceleration signal and the angular velocity signal; calculate the dribbling time and the number of dribbles according to the acoustic wave signal generated by the dribble.
S207、将用户打篮球的动作分类为运球的动作和没有运球的动作。S207. Classify the user's basketball action into a dribbling action and an action without dribbling.
上述步骤S203~S207可以参考步骤S101~S105,这里不再赘述。For the above steps S203 to S207, reference may be made to steps S101 to S105, which will not be repeated here.
下面说明设备主体110在首次开启篮球模式时提示用户进行个人运球数据录入的一种方式。The following describes a way for the device main body 110 to prompt the user to enter personal dribbling data when the basketball mode is first turned on.
当首次开启篮球模式,且未监测到用户的个人运球数据时,设备主体110可以提示用户进行个人运球数据的录入。When the basketball mode is turned on for the first time and the user's personal dribbling data is not monitored, the device main body 110 may prompt the user to enter the personal dribbling data.
在一些实施例中,当监测到如图2所示的作用于设备主体110上用于开启篮球模式的用户操作,且未监测到用户的个人运球数据时,设备主体110可以在显示屏111上显示如图7中的(A)所示的用户界面310。用户界面310可用于提示用户进行个人运球数据录入。用户界面310可包含确定选项311和取消选项312。其中:In some embodiments, when the user operation for turning on the basketball mode on the device body 110 as shown in FIG. 2 is monitored, and the user's personal dribbling data is not monitored, the device body 110 may be displayed on the display screen 111. The user interface 310 as shown in (A) in FIG. 7 is displayed on the top. The user interface 310 may be used to prompt the user to enter personal dribble data. The user interface 310 may include a determination option 311 and a cancellation option 312. in:
确定选项311可用于进行个人运球数据录入。响应于作用在确定选项311的用户操作,例如触摸操作,设备主体110可以在显示屏111上显示如图7中的(B)所示的用户界面320。确定选项311上的内容可以为“是”、“确定”或者其它内容,本申请实施例对此不作具体限定。The determination option 311 can be used for personal dribbling data entry. In response to a user operation acting on the determination option 311, such as a touch operation, the device main body 110 may display a user interface 320 as shown in (B) of FIG. 7 on the display screen 111. The content on the determination option 311 may be "Yes", "OK" or other content, which is not specifically limited in the embodiment of the present application.
取消选项312可用于取消个人运球数据录入。响应于作用在取消选项313的用户操作,例如触摸操作,设备主体110可以在显示屏111上显示如图2所示的篮球的图标以及文字“篮球模式”。The cancel option 312 can be used to cancel personal dribble data entry. In response to a user operation on the cancel option 313, such as a touch operation, the device main body 110 may display an icon of a basketball as shown in FIG. 2 and the text "basketball mode" on the display screen 111.
即若用户当前想要进行个人运球数据录入,用户可以触摸确定选项311。若用户当前不想进行个人运球数据录入,用户可以触摸取消选项312。That is, if the user currently wants to enter personal dribbling data, the user can touch the OK option 311. If the user currently does not want to enter personal dribble data, the user can touch the cancel option 312.
当监测到作用于确定选项的用户操作,设备主体110在显示屏111上显示如图7中的(B)所示的用户界面320。用户界面320可用于用户选择进行个人运球数据录入时间的长度。用户界面320可包括时间选项321。其中:When a user operation for determining an option is monitored, the device main body 110 displays a user interface 320 as shown in (B) of FIG. 7 on the display screen 111. The user interface 320 may be used for the user to select the length of time for the personal dribble data entry. The user interface 320 may include a time option 321. in:
时间选项321可包含3分钟选项、5分钟选项和10分钟选项。本申请实施例对此不作限定,时间选项321可以包含更多或者更少的选项。响应于作用在时间选项321中任一个选项的用户操作,例如触摸操作,设备主体110可以在显示屏111上显示如图7中的(C)所示的用户界面330。示例性的,当监测到作用在5分钟选项的用户操作,设备主体110可以显示用户界面330,并在开始个人运球数据录入5分钟后结束个人运球数据录入。The time option 321 may include a 3-minute option, a 5-minute option, and a 10-minute option. This embodiment of the present application does not limit this, and the time option 321 may include more or fewer options. In response to a user operation acting on any one of the time options 321, such as a touch operation, the device main body 110 may display a user interface 330 as shown in (C) in FIG. 7 on the display screen 111. Exemplarily, when a user operation acting on the 5-minute option is monitored, the device main body 110 may display the user interface 330 and end the personal dribble data entry 5 minutes after the start of the personal dribble data entry.
如图7中的(C)所示,用户界面330可用于提示用户设备主体110开始进行个人运球数据录入的标志,以及在个人运球数据的录入时间内需要做原地运球可跑步运球等运球的动作。As shown in (C) in Figure 7, the user interface 330 can be used to prompt the user device main body 110 to start the personal dribble data entry mark, and the need to do dribble in the personal dribble data entry time to run dribbling The act of dribbling the ball.
当监测到作用在时间选项321中任一个选项的用户操作,设备主体110显示用户界面330并产生震动。当震动结束后,设备主体110开始进行个人运球数据录入,其中,设备主体110中的麦克风开始采集声波信号。设备主体110可以利用在个人运球数据录入期间内采集到的声波信号训练运球高斯混合模型,得到训练好的用户的运球高斯混合模型。When a user operation acting on any one of the time options 321 is detected, the device main body 110 displays the user interface 330 and generates vibration. When the vibration is over, the device main body 110 starts to record personal dribbling data, where the microphone in the device main body 110 starts to collect sound wave signals. The device main body 110 can train the dribbling Gaussian mixture model by using the acoustic signal collected during the personal dribbling data entry period to obtain the trained user's dribbling Gaussian mixture model.
本申请实施例对设备主体110开始进行个人运球数据录入和结束个人运球数据录入的方式不作限定。除了通过震动的方式表示开始进行个人运球数据录入和结束个人运球数据录入,还可以通过其它的方式。The embodiment of the present application does not limit the manner in which the device main body 110 starts the personal dribbling data entry and ends the personal dribble data entry. In addition to expressing the start and end of personal dribbling data entry by means of vibration, other methods can also be used.
当监测到从开始进行个人运球数据录入经过了时间选项321中被选择的选项对应的时间长度时,设备主体110可以震动并在显示屏111上显示如图7中的(D)所示的用户界面340。用户界面340可用于提示用户个人运球数据录入结束。When it is monitored that the length of time corresponding to the option selected in the time option 321 has elapsed since the start of personal dribbling data entry, the device body 110 may vibrate and display on the display screen 111 as shown in (D) in FIG. 7 User interface 340. The user interface 340 may be used to prompt the user to complete the entry of personal dribbling data.
其中,用户在进行个人运球数据录入时,即用户在做原地运球和跑步运球时,用户不方便直接看到显示屏111上的内容。设备主体110可以通过震动来提示用户个人运球数据录入结束。这样,用户可以在设备主体110震动后停止做原地运球和跑步运球等运球的动作。Among them, when the user is entering personal dribbling data, that is, when the user is doing dribbling and running dribbling, it is inconvenient for the user to directly see the content on the display screen 111. The main body 110 of the device may vibrate to remind the user that the personal dribbling data entry is complete. In this way, the user can stop dribbling actions such as in-place dribbling and running dribbling after the device main body 110 vibrates.
下面说明设备主体110在首次开启篮球模式时提示用户进行个人运球数据录入的另一种方式。The following describes another way for the device main body 110 to prompt the user to enter the personal dribble data when the basketball mode is turned on for the first time.
在一些实施例中,当电子设备监测到如图4中的(C)所示的作用在开启按钮224b的用户操作,且未监测到用户的个人运球数据时,电子设备可以提示用户进行个人运球数据的录入。In some embodiments, when the electronic device detects the user's operation on the turn-on button 224b as shown in Figure 4(C), and does not detect the user's personal dribbling data, the electronic device may prompt the user to perform personal Entry of dribble data.
当监测到作用在应用界面220上的用于开启篮球模式的开启按钮224b的用户操作,且未监测到用户的个人运球数据时,电子设备可在应用界面220上显示如图8中的(A)所示的对话框230。对话框230可用于提示用户进行个人运球数据录入。对话框230中可包含确定选项231和取消选项232。其中:When the user operation of the open button 224b for starting the basketball mode on the application interface 220 is monitored, and the user's personal dribbling data is not monitored, the electronic device can display the application interface 220 as shown in FIG. 8 ( A) The dialog box 230 shown. The dialog box 230 may be used to prompt the user to enter personal dribble data. The dialog box 230 may include a confirm option 231 and a cancel option 232. in:
确定选项231可用于进行个人运球数据录入。响应于作用在确定选项231的用户操作,例如触摸操作,电子设备可以在应用界面220上显示如图8中的(B)所示的对话框240。The determination option 231 can be used for personal dribbling data entry. In response to a user operation acting on the determination option 231, such as a touch operation, the electronic device may display a dialog box 240 as shown in (B) of FIG. 8 on the application interface 220.
取消选项232可用于取消个人运球数据录入。响应于作用在取消选项232的用户操作,例如触摸操作,电子设备可以显示应用界面220。The cancel option 232 can be used to cancel personal dribble data entry. In response to a user operation acting on the cancel option 232, such as a touch operation, the electronic device may display the application interface 220.
即若用户当前想要进行个人运球数据录入,用户可以触摸确定选项231。若用户当前不想进行个人运球数据录入,用户可以触摸取消选项232。That is, if the user currently wants to enter personal dribble data, the user can touch the confirm option 231. If the user does not currently want to enter personal dribble data, the user can touch the cancel option 232.
如图8中的(B)所示,电子设备在应用界面220上显示对话框240。对话框240可用于用户选择进行个人运球数据录入时间的长度。对话框240中可包含时间选项241。其中:As shown in (B) of FIG. 8, the electronic device displays a dialog box 240 on the application interface 220. The dialog box 240 can be used for the user to select the length of time for the personal dribble data entry. The dialog box 240 may include a time option 241. in:
时间选项241可包含3分钟选项、5分钟选项和10分钟选项。本申请实施例对此不作限定,时间选项241可以包含更多或者更少的选项。响应于作用在时间选项241中任一个选项的用户操作,例如触摸操作,电子设备可以在应用界面220上显示如图8中的(C)所示的对话框250,并向设备主体110发送开始进行个人运球数据录入的指令,以及时间选项241中被选择的选项对应的时间,例如5分钟。The time option 241 may include a 3-minute option, a 5-minute option, and a 10-minute option. This embodiment of the present application does not limit this, and the time option 241 may include more or fewer options. In response to a user operation acting on any one of the time options 241, such as a touch operation, the electronic device may display a dialog box 250 as shown in (C) in FIG. 8 on the application interface 220, and send a start to the device main body 110 An instruction to input personal dribble data and the time corresponding to the selected option in the time option 241, for example, 5 minutes.
如图8中的(C)所示,电子设备在应用界面220上显示操作提示框250。操作提示框 250可用于提示用户设备主体110开始进行个人运球数据录入的标志,以及在个人运球数据的录入时间内需要做原地运球和跑步运球等运球的动作。As shown in (C) in FIG. 8, the electronic device displays an operation prompt box 250 on the application interface 220. The operation prompt box 250 can be used to prompt the user device main body 110 to start the mark of personal dribbling data entry, and to perform dribbling actions such as in-place dribble and running dribble within the entry time of personal dribble data.
当接收到开始进行个人运球数据录入的指令,以及时间选项241中被选择的选项对应的时间,设备主体110可以震动,并在震动结束后开始进行个人运球数据录入。即设备主体110开始采集声波信号,并利用在进行个人运球数据录入期间内采集到的声波信号训练运球高斯混合模型,得到训练好的用户的运球高斯混合模型。经过时间选项241中被选择的选项对应的时间,设备主体110结束个人运球数据录入。设备主体110可以通过震动的方式以及在显示屏111上显示如图7中的(D)所示的用户界面340,来提示用户个人运球数据录入结束。When receiving an instruction to start personal dribbling data entry and the time corresponding to the selected option in the time option 241, the device main body 110 can vibrate and start personal dribbling data entry after the vibration ends. That is, the device main body 110 starts to collect the sound wave signal, and uses the sound wave signal collected during the personal dribble data entry period to train the dribbling Gaussian mixture model to obtain the trained user's dribble Gaussian mixture model. After the time corresponding to the selected option in the time option 241, the device main body 110 ends the personal dribble data entry. The main body 110 of the device may vibrate and display the user interface 340 as shown in (D) in FIG. 7 on the display screen 111 to prompt the user to complete the input of personal dribbling data.
下面说明设备主体可多次进行个人运球数据录入的实施例。The following describes an embodiment in which the main body of the device can enter the personal dribble data multiple times.
在一些实施例中,设备主体110可以多次进行个人运球数据录入。设备主体110可以利用每一次进行个人运球数据录入采集到的声波信号来训练运球高斯混合模型,从而调整用户的运球高斯混合模型,提高用户的运球高斯混合模型用于判断用户是否运球的准确性。In some embodiments, the device main body 110 may enter personal dribbling data multiple times. The main body 110 of the device can train the dribbling Gaussian mixture model by using the acoustic signals collected during each personal dribbling data entry, thereby adjusting the user's dribbling Gaussian mixture model, and improving the user's dribbling Gaussian mixture model for judging whether the user is dribbling or not. The accuracy of the ball.
如图9中的(A)所示,电子设备的应用界面220中可以包含运球数据录入225。响应于作用在运球数据录入225上的用户操作,例如触摸操作,电子设备可以显示如图9中的(B)所示的应用界面260。As shown in (A) in FIG. 9, the application interface 220 of the electronic device may include a dribble data entry 225. In response to a user operation on the dribble data entry 225, such as a touch operation, the electronic device may display an application interface 260 as shown in (B) of FIG. 9.
应用界面260可用于用户选择进行个人运球数据录入时间的长度,应用界面260可以包括时间选项261。时间选项261可以包含3分钟选项、5分钟选项和10分钟选项。本申请实施例对此不作限定,时间选项261可以包含更多或者更少的选项。响应于作用在时间选项261中任一个选项的用户操作,例如触摸操作,电子设备可以显示如图9中的(C)所示的应用界面270,并向设备主体110发送开始进行个人运球数据录入的指令,以及时间选项261中被选择的选项对应的时间,例如5分钟。The application interface 260 may be used for the user to select the length of time for entering personal dribble data, and the application interface 260 may include a time option 261. The time option 261 may include a 3-minute option, a 5-minute option, and a 10-minute option. This embodiment of the present application does not limit this, and the time option 261 may include more or fewer options. In response to a user operation acting on any one of the time options 261, such as a touch operation, the electronic device may display an application interface 270 as shown in (C) in FIG. 9 and send data to the device main body 110 to start personal dribbling The entered instruction and the time corresponding to the selected option in the time option 261, for example, 5 minutes.
如图9中的(C)所示,应用界面270可用于提示用户设备主体110开始进行个人运球数据录入的标志,以及在个人运球数据的录入时间内需要做原地运球和跑步运球等运球的动作。As shown in (C) in Figure 9, the application interface 270 can be used to prompt the user device main body 110 to start the personal dribbling data entry mark, and the need to do dribble and running dribble within the entry time of the personal dribble data. The act of dribbling the ball.
当设备主体110接收到开始进行个人运球数据录入的指令,以及时间选项261中被选择的选项对应的时间,设备主体110可以在震动后开始进行个人运球数据录入。当经过时间选项261中被选择的选项对应的时间,设备主体110可以震动并结束个人运球数据录入。When the device main body 110 receives an instruction to start personal dribbling data entry and the time corresponding to the selected option in the time option 261, the device main body 110 can start the personal dribble data entry after shaking. When the time corresponding to the selected option in the time option 261 has elapsed, the device main body 110 may vibrate and end the personal dribble data entry.
不同的用户运球产生的声波信号的能量、频率和峰值等特征参数是有区别的。设备主体110预采集用户运球产生的声波信号,来训练运球高斯混合模型,可以得到适用于监测用户是否运球的运球高斯混合模型。这样,可以降低将他人运球产生的声波信号判断为用户运球产生的声波信号的概率,从而提高判断用户是否运球的准确率。并且,除了首次开启篮球模式之前要预采集用户运球产生的声波信号,设备主体110还可以多次进行个人运球数据录入。设备主体110可以多次利用个人运球数据录入时采集的声波信号对运球高斯混合模型进行训练,从而多次调整用户的运球高斯混合模型,提高判断用户是否运球的准确率。当用户认为设备主体110记录的运动数据与个人认知差别较大时,用户可以重新进行个人运球数据录入。这样,可以提高用户的使用体验。The characteristic parameters such as energy, frequency and peak value of the acoustic signal generated by different users dribble are different. The device main body 110 pre-collects the acoustic signal generated by the user dribbling to train the dribbling Gaussian mixture model, and can obtain the dribbling Gaussian mixture model suitable for monitoring whether the user dribbles. In this way, it is possible to reduce the probability of judging the sound wave signal generated by another person's dribbling as the sound wave signal generated by the user dribbling, thereby improving the accuracy of judging whether the user is dribbling the ball. Moreover, in addition to pre-collecting the sound wave signal generated by the user's dribbling before the basketball mode is turned on for the first time, the main body 110 of the device can also enter personal dribbling data multiple times. The device main body 110 can train the dribbling Gaussian mixture model by using the acoustic signals collected during the personal dribbling data input multiple times, thereby adjusting the user's dribbling Gaussian mixture model multiple times to improve the accuracy of judging whether the user is dribbling. When the user believes that the exercise data recorded by the device main body 110 is significantly different from personal cognition, the user can re-enter the personal dribble data. In this way, the user experience can be improved.
下面说明设备主体110确定用户在篮球场上的号位的实现过程。The following describes the implementation process of the device main body 110 determining the user's number position on the basketball court.
在一些实施例中,设备主体110可以根据用户的运动数据来确定用户在篮球场上的号位。其中,上述用户的运动数据可以包括运动距离、移动速度、纵跳高度、运球次数和运球时间等。根据篮球比赛的规则,用户在篮球场上的号位可以分为控球后卫、得分后卫、中锋、小前锋和大前锋这五个号位。In some embodiments, the device main body 110 may determine the user's number position on the basketball court according to the user's motion data. Wherein, the above-mentioned user's sports data may include movement distance, movement speed, vertical jump height, number of dribbles, and dribbling time. According to the rules of the basketball game, users' positions on the basketball court can be divided into five positions: point guard, shooting guard, center, small forward, and power forward.
不同号位在篮球场上分工不同,有不同的打法,则对应的各项运动数据的取值范围是存在差别的。例如,控球后卫负责组织进攻、发动战术以及合理分配球等。则控球后卫的运球次数较多,移动速度较快。小前锋负责远投、中投、低位单打、快攻和突破对方防守,为队友创造得分机会。则小前锋的运球次数和纵跳次数较多。Different numbers on the basketball court have different division of labor and different play styles, so the value ranges of the corresponding sports data are different. For example, the point guard is responsible for organizing offenses, launching tactics, and distributing the ball appropriately. The point guard has more dribbles and moves faster. The small forward is responsible for long-range shots, mid-range shots, low singles, fast breaks, and breakthroughs in the opponent's defense, creating scoring opportunities for teammates. The small forwards have more dribbles and vertical jumps.
根据一般用户在篮球场上为某一号位时对应的各项运动数据的取值范围,设备主体110中可存储有号位模板库y a(k)。其中a的取值可以为1、2、3、4和5,可以分别代表控球后卫、得分后卫、中锋、小前锋和大前锋。k可以表示第k个指标。该指标表示一种运动数据,例如,运动距离、移动速度、纵跳高度、运球次数和运球时间等。k=1,2,…,K。K为正整数,本申请实施例对K的取值不作限定,号位模板库中用于衡量一个号位的指标可以有多个。 The general range corresponding to the user when a certain number of bits in the basketball court motion data, the device body 110 may be stored in a template library bit number y a (k). The value of a can be 1, 2, 3, 4, and 5, which can represent point guard, shooting guard, center, small forward, and power forward, respectively. k can represent the kth index. This indicator represents a kind of sports data, such as the distance of movement, the speed of movement, the height of vertical jump, the number of dribbles, and the time of dribbling. k=1,2,...,K. K is a positive integer, and the embodiment of the present application does not limit the value of K, and there may be multiple indexes used to measure a number position in the number position template library.
根据上述号位模板库y a(k),设备主体110可以将用户在一次打篮球时的各项运动数据与号位模板库中各号位的指标进行模板匹配。根据模板匹配结果,设备主体可以确定用户在这一次打篮球时的号位。上述一次打篮球可以表示设备主体110从开启篮球模式到结束篮球模式的一个连续的过程。 According to the number position template library y a (k), the device main body 110 can template match various sports data of the user during a basketball game with the index of each number position in the number position template library. According to the template matching result, the main body of the device can determine the user's number position when playing basketball this time. The above-mentioned playing basketball may represent a continuous process of the device main body 110 from starting the basketball mode to ending the basketball mode.
在一种可能的实现方式中,设备主体进行模板匹配的方法可以为计算用户在一次打篮球时的各项运动数据与号位模板库中各号位的指标的相关系数。其中,最大的相关系数对应的号位即为用户在这一次打篮球时的号位。具体的,设备主体110可以对号位模板库中的指标进行归一化处理,以消除不同指标之间的量纲影响。上述归一化处理的公式可以如式(4)所示:In a possible implementation manner, the method for the main body of the device to perform template matching may be to calculate the correlation coefficient between various sports data of the user during a basketball game and the index of each number position in the number position template library. Among them, the number position corresponding to the largest correlation coefficient is the number position of the user playing basketball this time. Specifically, the device main body 110 may perform normalization processing on the indicators in the number position template library to eliminate the dimensional influence between different indicators. The above normalization formula can be as shown in formula (4):
Figure PCTCN2021083465-appb-000007
Figure PCTCN2021083465-appb-000007
当得到进行归一化处理的指标,设备主体110可以进行模板匹配,即计算用户在一次打篮球时的各项运动数据与号位模板库中各号位的指标的相关系数,并选择最大的相关系数对应的号位。模板匹配的规则可以如公式(5)所示:When the index for normalization processing is obtained, the device body 110 can perform template matching, that is, calculate the correlation coefficient between the various sports data of the user during a basketball game and the index of each number position in the number position template library, and select the largest The number position corresponding to the correlation coefficient. The template matching rule can be as shown in formula (5):
Figure PCTCN2021083465-appb-000008
Figure PCTCN2021083465-appb-000008
其中,R(a,b)可以表示号位模板库中第a个号位的指标与设备主体110第b次开启篮球模式时记录的各项运动数据的相关系数。
Figure PCTCN2021083465-appb-000009
可以表示号位模板库中5个号位第k个指标的均值。即
Figure PCTCN2021083465-appb-000010
G b(k)可以表示设备主体110第b次开启篮球模式时记录的第k个运动数据。上述第k个指标与上述第k个运动数据是相同的。例如,运动距离、移动速度、纵跳高度、运球次数和运球时间等。其中,设备主体110第b次开启篮球模式时记录的移动速度可以为平均移动速度或者最大移动速度等,纵跳高度可以为平均纵跳高 度或者最大纵跳高度等。本申请实施例对此不作限定。
Figure PCTCN2021083465-appb-000011
可以表示设备主体第b次开启篮球模式时的第k个运动数据与在第b次开启篮球模式前面c次开启篮球模式时的第k个运动数据的均值。示例性的,当b的取值为5,c的取值为3时,
Figure PCTCN2021083465-appb-000012
可以表示设备主体110第2次、第3次、第4次和第5次开启篮球模式时记录的第k个运动数据的均值。C为正整数。本申请实施例对c的具体取值不作限定。
Among them, R(a,b) can represent the correlation coefficient between the index of the a-th number position in the number position template library and various sports data recorded when the device main body 110 turns on the basketball mode for the bth time.
Figure PCTCN2021083465-appb-000009
It can represent the mean value of the k-th index of the 5 number positions in the number position template library. which is
Figure PCTCN2021083465-appb-000010
G b (k) may represent the kth movement data recorded when the device main body 110 turns on the basketball mode for the bth time. The aforementioned k-th index is the same as the aforementioned k-th motion data. For example, distance of movement, speed of movement, height of vertical jump, number of dribbles and dribbling time, etc. Wherein, the movement speed recorded when the device main body 110 turns on the basketball mode for the bth time may be an average movement speed or a maximum movement speed, etc., and the vertical jump height may be an average vertical jump height or a maximum vertical jump height, etc. This embodiment of the application does not limit this.
Figure PCTCN2021083465-appb-000011
It can represent the average value of the k-th motion data when the basketball mode is turned on for the bth time by the main body of the device and the k-th motion data when the basketball mode is turned on for the c times before the basketball mode is turned on for the b-th time. Exemplarily, when the value of b is 5 and the value of c is 3,
Figure PCTCN2021083465-appb-000012
It can represent the average value of the k-th exercise data recorded when the device main body 110 turns on the basketball mode for the second time, the third time, the fourth time, and the fifth time. C is a positive integer. The embodiment of the present application does not limit the specific value of c.
当得到用户在一次打篮球时的各项运动数据与号位模板库中5个号位的指标的相关系数,设备主体110可以确定用户在这一打篮球的号位为最大的相关系数对应的号位。When the correlation coefficients between the various sports data of the user playing basketball at one time and the indicators of the 5 number positions in the number position template library are obtained, the main body 110 of the device can determine that the number position of the user playing basketball corresponds to the largest correlation coefficient. Number position.
本申请实施例对进行模板匹配的方法不作限定,除了可以根据相关系数来进行模板匹配,还可以为其他进行模板匹配的方法。The embodiment of the present application does not limit the method for template matching. In addition to template matching based on correlation coefficients, other methods for template matching can also be used.
根据上述确定用户在篮球场上的号位,设备主体110可以展示用户在这一号位上的表现情况,并向用户提供针对这一号位的训练建议。这样可以更好地辅助用户提高打篮球的能力。According to the above-mentioned determination of the user's number position on the basketball court, the device main body 110 can display the user's performance on this number position and provide the user with training suggestions for this number position. This can better assist users to improve their ability to play basketball.
根据加速度计、陀螺仪和麦克风采集的信号,设备主体110可以计算用户在打篮球时的多项运动数据。当得到多项运动数据,设备主体110可以将这多项运动数据发送给电子设备。电子设备可以将这多项运动数据显示在应用界面上。According to the signals collected by the accelerometer, gyroscope, and microphone, the device main body 110 can calculate multiple sports data of the user when playing basketball. When multiple sports data is obtained, the device main body 110 may send the multiple sports data to the electronic device. The electronic device can display the multiple sports data on the application interface.
下面对电子设备显示这多项运动数据的一些应用界面进行介绍。The following introduces some application interfaces for electronic devices to display these multiple sports data.
响应于作用在如图4中的(C)所示的运动数据223上的用户操作,例如触摸操作,电子设备可以显示如图10中的(A)所示的应用界面410。应用界面410可包含篮球运动数据411和跑步运动数据。应用界面410中还可以包含其它类别的运动数据,本申请实施例对此不作限定。In response to a user operation, such as a touch operation, acting on the motion data 223 as shown in (C) in FIG. 4, the electronic device may display an application interface 410 as shown in (A) in FIG. 10. The application interface 410 may include basketball movement data 411 and running movement data. The application interface 410 may also include other types of motion data, which is not limited in the embodiment of the present application.
响应于作用在篮球运动数据411的用户操作,例如触摸操作,电子设备可以显示如图10中的(B)所示的应用界面420。应用界面420可包含返回控件421、图表控件422、详情控件423、纵跳高度424和腾空时间425。其中:In response to a user operation, such as a touch operation, acting on the basketball movement data 411, the electronic device may display an application interface 420 as shown in (B) of FIG. 10. The application interface 420 may include a return control 421, a chart control 422, a detail control 423, a vertical jump height 424, and a flight time 425. in:
返回控件421可用于返回应用界面420的上一级界面。响应于作用在返回控件421的用户操作,例如触摸操作,电子设备可以显示应用界面410。The return control 421 can be used to return to the upper level interface of the application interface 420. In response to a user operation on the return control 421, such as a touch operation, the electronic device may display the application interface 410.
电子设备可以通过图表的方式或者具体数据分析的方式来显示这多项运动数据。The electronic device can display these multiple sports data in the form of charts or specific data analysis.
具体的,图表控件422可用于以图表的方式来显示这多项运动数据。详情控件423可用于以具体数据分析的方式来显示这多项运动数据。不限于这两种显示多项运动数据的方法,电子设备还可以用其它的方式来显示这多项运动数据。Specifically, the chart control 422 can be used to display the multiple pieces of sports data in a chart. The detail control 423 can be used to display the multiple pieces of exercise data in a specific data analysis manner. It is not limited to these two methods of displaying multiple sports data, and the electronic device can also display the multiple sports data in other ways.
响应于作用在图表控件422的用户操作,例如触摸操作,电子设备可以显示如图10中的(B)所示的应用界面420。In response to a user operation on the chart control 422, such as a touch operation, the electronic device may display an application interface 420 as shown in (B) of FIG. 10.
纵跳高度424可以包含平均纵跳高度424a、最大纵跳高度424b和纵跳高度分布图424c。其中,平均纵跳高度424a可为用户在一次打篮球期间纵跳高度的平均值。最大纵跳高度424b可为用户在一次打篮球期间纵跳高度的最大值。纵跳高度分布图424c可通过直方图来表示用户在一次打篮球期间每一次纵跳的时间点以及纵跳高度。The vertical jump height 424 may include an average vertical jump height 424a, a maximum vertical jump height 424b, and a vertical jump height distribution map 424c. The average vertical jump height 424a may be the average vertical jump height of the user during a basketball game. The maximum vertical jump height 424b may be the maximum vertical jump height of the user during a basketball game. The vertical jump height distribution map 424c may use a histogram to indicate the time point of each vertical jump and the vertical jump height of the user during a basketball game.
腾空时间425可以表示用户向上跳跃在空中停留的时间。腾空时间425可以包含平均 腾空时间425a、最大腾空时间425b和腾空时间分布图425c。其中,平均腾空时间425a可为用户在一次打篮球期间腾空时间的平均值。最大腾空时间425b可为用户在一次打篮球期间腾空时间的最大值。腾空时间分布图425c可通过直方图来表示用户在一次打篮球期间每一次腾空的时间点以及腾空的时间长度。The flight time 425 may indicate the time for the user to jump up and stay in the air. The flight time 425 may include an average flight time 425a, a maximum flight time 425b, and a flight time distribution map 425c. Wherein, the average empty time 425a may be the average empty time of the user during one basketball game. The maximum flight time 425b may be the maximum flight time of the user during one basketball game. The emptying time distribution map 425c may use a histogram to indicate the time point of each emptying time and the emptying time length of the user during a basketball game.
响应于作用在详情控件425的用户操作,电子设备可以显示如图11所示的用户界面430。响应于作用在用户界面430上向上或者向下滑动的用户操作,电子设备可以在用户界面430上显示如图11中的(A)、(B)、(C)和(D)所示的不同的内容。In response to a user operation on the detail control 425, the electronic device may display a user interface 430 as shown in FIG. 11. In response to a user operation of sliding up or down on the user interface 430, the electronic device may display the difference as shown in (A), (B), (C) and (D) in FIG. 11 on the user interface 430. Content.
如图11中的(A)所示,应用界面430可包含日期431、综合表现432和分项运动数据433。其中:As shown in (A) in FIG. 11, the application interface 430 may include a date 431, a comprehensive performance 432, and itemized sports data 433. in:
日期431可以表示设备主体110记录当前应用界面中430包含的运动数据的时间。日期431可以包含年月日以及时刻。例如2020年1月1日17:01。即用户在这一时间打篮球的运动数据为当前应用界面430中包含的运动数据。需要进行说明的是,应用界面420中包含的运动数据与应用界面430中包含的运动数据为设备主体110同一次开启篮球模式记录的运动数据。The date 431 may indicate the time when the device main body 110 recorded the exercise data contained in the current application interface 430. The date 431 may include year, month, day and time. For example, at 17:01 on January 1, 2020. That is, the movement data of the user playing basketball at this time is the movement data contained in the current application interface 430. It should be noted that the exercise data included in the application interface 420 and the exercise data included in the application interface 430 are the exercise data recorded by the device main body 110 at the same time when the basketball mode is turned on.
综合表现432可以以100分为满分,通过分数来表示用户在这一次打篮球的整体水平。设备主体110可以根据纵跳高度、移动速度等运动数据来得到综合表现432中用户的分数。具体的计算方法可以参考现有技术中的计算方法,本申请实施例对此不作限定。The overall performance 432 can be scored with a full score of 100, and the score indicates the user's overall level of playing basketball this time. The device main body 110 can obtain the user's score in the comprehensive performance 432 according to the movement data such as the vertical jump height and the moving speed. The specific calculation method may refer to the calculation method in the prior art, which is not limited in the embodiment of the present application.
分项运动数据433可包含运动时间433a,活跃时间433b、活跃时间占比433c、运球时间433d。响应于作用在如图11中的(A)所示的应用界面430上的向上滑动的用户操作,电子设备可显示如图11中的(B)、(C)和(D)的应用界面430。其中,如图11中的(B)所示的应用界面430,分项运动数据433还可以包含运球时间占比433e、运动距离433f、热量433g以及步数433h。其中,运动时间433a可以表示设备主体110开启篮球模式到结束篮球模式这期间一个连续过程的时间长度。即用户这一次打篮球的时间长度。活跃时间433b可以根据移动速度的大小来决定。用户的移动速度大于2公里每小时的时间可以为用户的活跃时间。本申请实施例对活跃时间的判断条件不作限定。活跃时间占比433c可以为活跃时间433b与运动时间433a的比值。运球时间433d可以根据被确定为由运球产生的声波信号的时间长度来确定。运球时间占比433e可以为运球时间433d与运动时间433a的比值。运动距离433f可以表示用户在运动时间433a内移动的距离。热量433g可以表示用户在运动时间433a内消耗的热量。步数433h可以表示用户在运动时间433a内移动的步数。上述热量433g和步数433h的计算方法可以参考现有技术中的计算方法,本申请实施例对此不作赘述。分项运动数据433中还可以包含更多的运动数据,本申请实施例对此不作限定。The itemized sports data 433 may include sports time 433a, active time 433b, active time proportion 433c, and dribbling time 433d. In response to a user operation of sliding upward on the application interface 430 as shown in (A) in FIG. 11, the electronic device may display the application interface 430 as shown in (B), (C), and (D) in FIG. 11 . Wherein, in the application interface 430 shown in (B) of FIG. 11, the itemized exercise data 433 may also include the proportion of dribbling time 433e, the exercise distance 433f, the calories 433g, and the number of steps 433h. Wherein, the exercise time 433a may represent the length of a continuous process from when the main body 110 of the device starts the basketball mode to the end of the basketball mode. That is, the length of time the user plays basketball this time. The active time 433b can be determined according to the moving speed. The time when the user's moving speed is greater than 2 kilometers per hour can be the user's active time. The embodiment of the present application does not limit the judgment condition of the active time. The active time proportion 433c may be the ratio of the active time 433b to the exercise time 433a. The dribbling time 433d may be determined according to the length of time determined to be the sound wave signal generated by the dribbling. The dribbling time percentage 433e may be the ratio of the dribbling time 433d to the exercise time 433a. The movement distance 433f may indicate the distance moved by the user in the movement time 433a. The calories 433g may represent the calories consumed by the user during the exercise time 433a. The number of steps 433h may represent the number of steps the user moves during the exercise time 433a. The calculation method of the heat 433g and the number of steps 433h may refer to the calculation method in the prior art, which is not described in detail in the embodiment of the present application. The itemized sports data 433 may also include more sports data, which is not limited in the embodiment of the present application.
如图11中的(B)所示,应用界面430还可以包含移动速度434。移动速度434可以包含移动速度434a、最快移动速度434b以及移动速度分布图534c。其中,平均移动速度434a可为用户在一次打篮球期间移动速度的平均值。最大移动速度434b可为用户在一次打篮球期间移动速度的最大值。移动速度分布图534c可表示用户在一次打篮球期间不同大小的移动速度的占比。本申请实施例对表示用户在一次打篮球期间的移动速度的变化的形式不作限定,除了可以通过移动速度分布图534c,还可以通过其它方式。As shown in (B) of FIG. 11, the application interface 430 may also include a moving speed 434. The moving speed 434 may include a moving speed 434a, a maximum moving speed 434b, and a moving speed distribution map 534c. Wherein, the average moving speed 434a may be an average value of the moving speed of the user during one basketball game. The maximum moving speed 434b may be the maximum value of the moving speed of the user during one basketball game. The moving speed distribution map 534c may represent the proportions of the moving speeds of different sizes during a time when the user plays basketball. The embodiment of the present application does not limit the form of the change of the movement speed of the user during a basketball game. In addition to the movement speed distribution graph 534c, other methods may also be used.
如图11中的(C)所示,应用界面430还可以包含纵跳数据435以及号位评估436。其中:As shown in (C) in FIG. 11, the application interface 430 may also include vertical jump data 435 and number position evaluation 436. in:
纵跳数据435可以包含平均纵跳高度435a、平均腾空时间435b和纵跳次数435c。其中,平均纵跳高度435a可为用户在一次打篮球期间纵跳高度的平均值。平均腾空时间435b可为用户在一次打篮球期间腾空时间的平均值。纵跳次数435c可为用户在一次打篮球期间向上跳跃的次数。The vertical jump data 435 may include an average vertical jump height 435a, an average flight time 435b, and the number of vertical jumps 435c. Wherein, the average vertical jump height 435a may be the average vertical jump height of the user during a basketball game. The average flight time 435b may be the average flight time of the user during one basketball game. The number of vertical jumps 435c may be the number of times the user jumps upward during one basketball game.
号位评估436可以表示用户在这一次打篮球在篮球场上的号位。例如:控球后卫、得分后卫、中锋、小前锋和大前锋。号位评估436的内容可以为设备主体将用户在这一次打篮球的各项运动数据与号位模板库中各号位的指标进行模板匹配得到的结果。若户在这一次打篮球的各项运动数据与号位模板库中小前锋的指标之间的相关系数最大,设备主体可确定用户在这一次打篮球在篮球场上的号位为小前锋。则号位评估436的内容可以为小前锋。The number position evaluation 436 may indicate the number position of the user on the basketball court when playing basketball this time. For example: point guard, shooting guard, center, small forward and power forward. The content of the number position evaluation 436 may be a result obtained by template matching of various sports data of the user playing basketball this time with the index of each number position in the number position template library by the main body of the device. If the correlation coefficient between the sports data of the user playing basketball this time and the indicator of the small forward in the number template library is the largest, the main body of the device can determine that the user's number on the basketball court this time playing basketball is the small forward. Then the content of the number evaluation 436 can be a small forward.
如图11中的(D)所示,应用界面430还可包含运动建议437以及推荐训练438。其中,运动建议437可以根据用户在这一次打篮球的各项运动数据来确定。示例性的,若用户的弹跳能力较弱,运动建议437的内容可以为建议用户提高弹跳能力。推荐训练438的内容可以根据运动建议以及用户在这一次打篮球的各项运动数据来确定。示例性的,若用户的弹跳能力较弱,推荐训练438的内容可以包括提高弹跳能力的训练课程“篮球弹跳·基础力量”等。若用户的号位评估436为小前锋,推荐训练438的内容还可以包括“如何成为更好的小前锋”等训练课程。本申请实施例对运动建议437和推荐训练438的内容不作限定。As shown in (D) in FIG. 11, the application interface 430 may also include exercise suggestions 437 and recommended training 438. Among them, the exercise suggestion 437 can be determined according to various sports data of the user playing basketball this time. Exemplarily, if the user's bounce ability is weak, the content of the exercise suggestion 437 may suggest that the user improve the bounce ability. The content of the recommended training 438 may be determined according to the sports suggestions and various sports data of the user playing basketball this time. Exemplarily, if the user's bounce ability is weak, the content of the recommended training 438 may include a training course "basketball bounce·basic strength" to improve the bounce ability. If the user's number position assessment 436 is a small forward, the content of the recommended training 438 may also include training courses such as "how to become a better small forward". The embodiment of the present application does not limit the content of the exercise recommendation 437 and the recommended training 438.
应用界面430还可以包含更多或者更少的内容,本申请实施例对此不作限定。The application interface 430 may also contain more or less content, which is not limited in the embodiment of the present application.
设备主体110显示运动数据的应用界面。The device main body 110 displays an application interface of exercise data.
在一些实施例中,当得到用户打篮球的运动数据,设备主体110可以在显示屏111上显示最近一次开启篮球模式得到的运动数据。请参阅图12,图12是本申请实施例提供的一种可穿戴设备(即设备主体110)显示运动数据的示意图。当监测到作用于如图12中应用界面520上向左或者向右滑动的用户操作,设备主体110可以在应用界面520上显示如图12中的(B)、(C)和(D)所示的不同的内容。In some embodiments, when the exercise data of the user playing basketball is obtained, the device main body 110 may display on the display screen 111 the exercise data obtained from the last time the basketball mode is turned on. Please refer to FIG. 12. FIG. 12 is a schematic diagram of a wearable device (ie, the device body 110) displaying exercise data according to an embodiment of the present application. When a user operation that acts on the left or right sliding on the application interface 520 as shown in Figure 12 is monitored, the device main body 110 can display on the application interface 520 as shown in (B), (C) and (D) in Figure 12 Show different content.
设备主体110中可包含多个应用,例如图12中的(A)所示的应用“篮球运动数据”。响应于作用在应用界面510中应用“篮球运动数据的”用户操作,例如触摸操作,设备主体110可以显示如图12中的(B)所示的应用界面520。应用界面520中可包含用户信息521、运动时间522、步数523以及热量524。其中,用户信息521可以包含用户的名称以及设备主体最近一次结束篮球模式的时间,即用户最近一次打篮球的时间。响应于作用在如图12中的(B)所示的应用界面520上向左滑动的用户操作,设备主体110可以显示如图12中的(C)和(D)所示的应用界面520。如图12中的(C)和(D)所示,应用界面520还可以包含运球次数525、平均纵跳高度526、平均移动速度527以及号位评估528。上述运动时间522、步数523、热量524、运球次数525、平均纵跳高度526、平均移动速度527以及号位评估528的内容可以参考图11中的介绍,这里不再赘述。设备主体110在 应用界面520显示的内容还可以包含更多或者更少的运动数据,本申请实施例对此不作限定。The device main body 110 may contain multiple applications, such as the application "basketball data" shown in (A) in FIG. 12. In response to a user operation of applying "basketball movement data" to the application interface 510, such as a touch operation, the device main body 110 may display the application interface 520 as shown in (B) of FIG. 12. The application interface 520 may include user information 521, exercise time 522, steps 523, and calories 524. Among them, the user information 521 may include the name of the user and the time when the device main body recently ended the basketball mode, that is, the time when the user played basketball the last time. In response to a user operation of sliding leftward on the application interface 520 as shown in (B) in FIG. 12, the device body 110 may display the application interface 520 as shown in (C) and (D) in FIG. 12. As shown in (C) and (D) in FIG. 12, the application interface 520 may also include the number of dribbles 525, the average vertical jump height 526, the average moving speed 527, and the number evaluation 528. For the above-mentioned exercise time 522, steps 523, calories 524, number of dribbles 525, average vertical jump height 526, average movement speed 527, and number evaluation 528, please refer to the introduction in FIG. 11, which will not be repeated here. The content displayed by the device main body 110 on the application interface 520 may also include more or less exercise data, which is not limited in the embodiment of the present application.
由上述电子设备显示运动数据等内容可以看出,电子设备可以详细地显示用户打篮球的运动数据以及运动建议等内容。这样,用户可以全面了解个人打篮球的综合表现,并利用运动建议提高个人打篮球的能力。另外,设备主体110也可以在显示屏111上显示运动数据。其中,由于设备主体110的显示屏111较小,设备主体110显示的运动数据可以是一部分运动数据。这样,用户可以便捷地了解自己打篮球的一部分关键的运动数据。It can be seen from the above-mentioned electronic device that displays sports data and other content that the electronic device can display the user's basketball sports data and sports suggestions in detail. In this way, the user can fully understand the overall performance of the individual playing basketball, and use exercise suggestions to improve the individual's ability to play basketball. In addition, the device main body 110 may also display exercise data on the display screen 111. Wherein, since the display screen 111 of the device main body 110 is small, the exercise data displayed by the device main body 110 may be part of the exercise data. In this way, the user can easily understand part of the key sports data for playing basketball.
可穿戴设备(即设备主体110)通过加速度计、陀螺仪和麦克风采集用户在打篮球时的加速度信号、角速度信号以及声波信号。利用采集到的信号,可穿戴设备可以监测用户在打篮球时在脚部上走、跑和跳的运动数据以及运球的运动数据,从而得到用户在打篮球时的整体的动作,例如,原地运球、跑步运球、无球跑动、无球纵跳和纵跳传投等。并且,根据用户的各项运动数据,可穿戴设备可以实现对用户在在篮球场上的号位评估。这样,结合用户的运动数据、运动动作分类以及号位评估的结果,设备主体110可以向用户提供运动建议,有效地辅助用户提高打篮球的能力。The wearable device (ie, the device body 110) collects acceleration signals, angular velocity signals, and sound wave signals of the user when playing basketball through an accelerometer, a gyroscope, and a microphone. Using the collected signals, the wearable device can monitor the movement data of the user walking, running and jumping on the feet and the movement data of the dribble when playing basketball, so as to obtain the overall movement of the user when playing basketball, for example, the original Ground dribble, running dribble, running without the ball, vertical jump without the ball and vertical jump pass. Moreover, according to the user's various sports data, the wearable device can realize the evaluation of the user's number position on the basketball court. In this way, combined with the user's exercise data, exercise classification, and number evaluation results, the device main body 110 can provide exercise suggestions to the user, effectively assisting the user in improving the ability to play basketball.
在本申请实施例中,可穿戴设备通过运动传感器采集用户在第一时间段内的第一运动数据,以及可穿戴设备通过声波采集装置采集第一时间段内的第一声波信号。该第一时间段可以为用户一次打篮球的时间段,即可穿戴设备从开启篮球模式到结束篮球这样一个连续的时间段。该第一时间段也可以为用户一次打篮球的时间段中的时间片段,例如5秒、1分钟、5分钟等。In the embodiment of the present application, the wearable device collects the first movement data of the user in the first time period through the motion sensor, and the wearable device collects the first sound wave signal in the first time period through the sound wave collecting device. The first time period may be a time period for the user to play basketball at a time, that is, a continuous period of time from when the wearable device is started to the end of basketball. The first time period may also be a time segment in the time period when the user plays basketball at a time, such as 5 seconds, 1 minute, 5 minutes, and so on.
在本申请实施例中,第一声波信号可以包括用户在运球时的声波信号和用户没有运球时的声波信号。In the embodiment of the present application, the first sound wave signal may include a sound wave signal when the user is dribbling and a sound wave signal when the user is not dribbling.
在本申请实施例中,可穿戴设备基于第一声波信号的特征参数和第一高斯混合模型,确定第一相似度。上述第一高斯混合模型可以为训练好的运球高斯混合模型或者为训练好的用户的运球高斯混合模型。上述第一相似度可以为第一声波信号由第一高斯混合模型中多个高斯分布生成的后验概率之和。In the embodiment of the present application, the wearable device determines the first similarity based on the characteristic parameters of the first acoustic wave signal and the first Gaussian mixture model. The aforementioned first Gaussian mixture model may be a trained dribbling Gaussian mixture model or a trained user's dribbling Gaussian mixture model. The aforementioned first degree of similarity may be the sum of the posterior probabilities of the first acoustic wave signal generated from multiple Gaussian distributions in the first Gaussian mixture model.
在本申请实施例中,可穿戴设备根据用户在第一时间段内的篮球运动数据确定用户在该第一时间段内的号位。其中,可穿戴设备可以计算用户在第一时间段内的篮球运动数据与号位模板库中的篮球运动数据的相关系数,通过确定最大的相关系数对应的号位来确定用户在该第一时间段内的号位。除了上述根据号位模板库进行匹配的方法,可穿戴设备还可以利用其它方法来确定用户在该第一时间段内的号位,本申请实施例对此不作限定。In the embodiment of the present application, the wearable device determines the user's number position in the first time period according to the basketball movement data of the user in the first time period. Among them, the wearable device can calculate the correlation coefficient between the user’s basketball data in the first time period and the basketball data in the number template library, and determine the user’s number in the first time by determining the number corresponding to the largest correlation coefficient. The number position within the segment. In addition to the foregoing method of matching according to the number position template library, the wearable device can also use other methods to determine the user's number position in the first time period, which is not limited in the embodiment of the present application.
图13示出了一种可穿戴设备的结构示意图。如图13所示,可穿戴设备(即设备主体110)可包含通过总线连接的运动传感器610、存储器620、处理器630、声波采集装置640以及显示屏650。其中:Fig. 13 shows a schematic structural diagram of a wearable device. As shown in FIG. 13, the wearable device (ie, the device main body 110) may include a motion sensor 610, a memory 620, a processor 630, a sound wave acquisition device 640, and a display screen 650 connected by a bus. in:
运动传感器610可用于采集用户在第一时间段内的第一运动数据。该第一运动数据可以为用户打篮球时在脚部上的运动数据,可包括以下一项或多项:移动速度、运动距离、 纵跳高度和腾空时间。The motion sensor 610 may be used to collect the first motion data of the user in the first time period. The first movement data may be movement data of the user's feet when playing basketball, and may include one or more of the following: movement speed, movement distance, vertical jump height, and flight time.
运动传感器610可包含加速度计611和陀螺仪612。当设备主体110开启篮球模式后,加速度计611和陀螺仪612均处于工作状态。加速度计611可以采集用户脚部的加速度信号,陀螺仪612可以采集用户脚部的角速度信号。运动传感器610可以将上述加速度信号和角速度信号发送给处理器630。不限于加速度计和陀螺仪,运动传感器610还可以包含更多类型的运动传感器。The motion sensor 610 may include an accelerometer 611 and a gyroscope 612. When the device main body 110 turns on the basketball mode, the accelerometer 611 and the gyroscope 612 are both in working state. The accelerometer 611 can collect the acceleration signal of the user's foot, and the gyroscope 612 can collect the angular velocity signal of the user's foot. The motion sensor 610 may send the aforementioned acceleration signal and angular velocity signal to the processor 630. Not limited to accelerometers and gyroscopes, the motion sensor 610 may also include more types of motion sensors.
声波采集装置640可用于采集上述第一时间段内的第一声波信号。声波采集装置640可以为麦克风或者其它用于采集声波信号的装置,本申请实施例对此不作限定。The acoustic wave collecting device 640 may be used to collect the first acoustic wave signal in the above-mentioned first time period. The sound wave collecting device 640 may be a microphone or other devices for collecting sound wave signals, which is not limited in the embodiment of the present application.
当设备主体110开启篮球模式后,声波采集装置640处于工作状态。声波采集装置640可以将该第一声波信号发送给处理器630。When the main body 110 of the equipment turns on the basketball mode, the sound wave collecting device 640 is in a working state. The sound wave collecting device 640 may send the first sound wave signal to the processor 630.
存储器620中可用于存储第一高斯混合模型、号位数据模板以及运动数据等。上述第一高斯混合模型可以为训练好的运球高斯混合模型。上述号位数据模板可以为号位模板库。The memory 620 may be used to store the first Gaussian mixture model, number data template, motion data, and the like. The above-mentioned first Gaussian mixture model may be a trained dribbling Gaussian mixture model. The number position data template mentioned above can be a number position template library.
处理器630可以处理来自运动传感器610的加速度信号和角速度信号以及来自声波采集装置640的第一声波信号。The processor 630 can process the acceleration signal and the angular velocity signal from the motion sensor 610 and the first sound wave signal from the sound wave collecting device 640.
其中,处理器630可以对加速度信号、角速度信号进行波形特征检测,得到加速度信号和角速度信号的波形特征,从而计算纵跳高度、腾空时间和移动速度等用户在脚部上的运动数据。The processor 630 can detect the waveform characteristics of the acceleration signal and the angular velocity signal, and obtain the waveform characteristics of the acceleration signal and the angular velocity signal, so as to calculate the user's motion data on the feet such as vertical jump height, flight time, and movement speed.
处理器630可以根据第一声波信号确定用户在第一时间段内是否产生运球的动作。具体的,处理器630可以对第一声波信号进行音频信号处理,得到第一声波信号的特征参数,从而利用处理器630中第一高斯混合模型判断上述第一声波信号是否包括由运球产生的声波信号。上述由运球产生的声波信号可以指示用户在运球。The processor 630 may determine, according to the first sound wave signal, whether the user has made a dribble motion in the first time period. Specifically, the processor 630 may perform audio signal processing on the first sound wave signal to obtain characteristic parameters of the first sound wave signal, so as to use the first Gaussian mixture model in the processor 630 to determine whether the first sound wave signal includes the first sound wave signal. The sound wave signal generated by the ball. The above-mentioned sound wave signal generated by dribbling can indicate that the user is dribbling.
进一步的,根据由运球产生的声波信号,处理器630可以得到运球时间和运球次数。根据纵跳高度、腾空时间、移动速度、运球时间和运球次数等篮球运动数据,处理器630可以确定用户在打篮球时整体的动作,例如,原地运球、跑步运球、无球跑动、无球纵跳和纵跳传投等。并且处理器630还可以确定用户在打篮球时在篮球场上的号位,例如,控球后卫、得分后卫、中锋、小前锋和大前锋。Further, according to the sound wave signal generated by the dribble, the processor 630 can obtain the dribbling time and the number of dribbles. According to basketball movement data such as vertical jump height, flight time, movement speed, dribbling time, and number of dribbles, the processor 630 can determine the user's overall actions when playing basketball, for example, dribbling in place, running dribble, no ball Running, vertical jump without the ball and vertical jump pass. And the processor 630 may also determine the user's number position on the basketball court when playing basketball, for example, point guard, shooting guard, center, small forward, and power forward.
显示屏650可用于显示包含有用于开启篮球模式的控件的用户界面以及包含有篮球运动数据的用户界面等用户界面。The display screen 650 can be used to display a user interface including a control for turning on the basketball mode, a user interface including basketball movement data, and other user interfaces.
需要进行说明的是,设备主体110还包含与处理器630耦合的触控面板。显示屏650可显示包含有用于开启篮球模式的控件的用户界面。当触控面板检测到作用于上述用于开启篮球模式的控件的用户操作,例如触摸操作,处理器630可以判断运动传感器610和声波采集装置640是否开启。如果没有开启,处理器630可以开启运动传感器610和声波采集装置640。It should be noted that the device main body 110 further includes a touch panel coupled with the processor 630. The display screen 650 may display a user interface including a control for turning on the basketball mode. When the touch panel detects a user operation, such as a touch operation, that acts on the above-mentioned control for turning on the basketball mode, the processor 630 can determine whether the motion sensor 610 and the sound wave collection device 640 are turned on. If it is not turned on, the processor 630 may turn on the motion sensor 610 and the sound wave collecting device 640.
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述 的条件或事件)”。As used in the above embodiments, depending on the context, the term "when" can be interpreted as meaning "if..." or "after" or "in response to determining..." or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if detected (statement or event)" can be interpreted as meaning "if determined..." or "in response to determining..." or "when detected (Condition or event stated)" or "in response to detection of (condition or event stated)".
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state hard disk).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the process in the above-mentioned embodiment method can be realized. The process can be completed by a computer program instructing relevant hardware. The program can be stored in a computer readable storage medium. , May include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random storage RAM, magnetic disks or optical disks and other media that can store program codes.

Claims (23)

  1. 一种基于可穿戴设备检测篮球动作的方法,其特征在于,所述可穿戴设备包括声波采集装置和运动传感器;所述方法包括:A method for detecting basketball actions based on a wearable device, wherein the wearable device includes a sound wave acquisition device and a motion sensor; the method includes:
    所述可穿戴设备通过所述运动传感器采集用户在第一时间段内的第一运动数据;所述第一运动数据包括以下一项或多项:移动速度、运动距离;The wearable device collects the user's first motion data in a first time period through the motion sensor; the first motion data includes one or more of the following: moving speed and moving distance;
    所述可穿戴设备通过所述声波采集装置采集所述第一时间段内的第一声波信号;Collecting, by the wearable device, the first acoustic wave signal in the first time period through the acoustic wave collecting device;
    所述可穿戴设备根据所述第一声波信号确定所述用户在所述第一时间段内是否产生运球的动作;The wearable device determines, according to the first sound wave signal, whether the user has made a dribble motion in the first time period;
    如果确定所述用户在所述第一时间段内产生运球的动作,则根据所述第一运动数据确定所述运球的动作的类型。If it is determined that the user has made a dribbling action in the first time period, the type of the dribbling action is determined according to the first movement data.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    所述可穿戴设备显示第一用户界面,所述第一用户界面中显示有第一控件;The wearable device displays a first user interface, and a first control is displayed on the first user interface;
    所述可穿戴设备检测到作用于所述第一控件上的第一用户操作;The wearable device detects a first user operation acting on the first control;
    响应于所述第一用户操作,所述可穿戴设备判断所述运动传感器和所述声波采集装置是否开启,如果没有开启,则开启所述运动传感器和所述声波采集装置。In response to the first user operation, the wearable device determines whether the motion sensor and the sound wave collection device are turned on, and if they are not turned on, the motion sensor and the sound wave collection device are turned on.
  3. 根据权利要求2所述的方法,其特征在于,所述可穿戴设备根据所述第一声波信号确定所述用户在所述第一时间段内是否产生运球的动作,所述方法包括:The method according to claim 2, wherein the wearable device determines whether the user has made a dribble action in the first time period according to the first sound wave signal, and the method comprises:
    所述可穿戴设备基于所述第一声波信号的特征参数和第一高斯混合模型,确定第一相似度;所述第一高斯混合模型的训练数据为第一特征参数,所述第一特征参数为运球时的声波信号的特征参数;所述第一声波信号的特征参数和所述第一特征参数均包含至少以下一项或多项:能量、频率和峰值;所述第一高斯混合模型包括多个高斯分布,所述多个高斯分布的均值、方差均收敛,所述多个高斯分布在所述第一高斯混合模型中的权重收敛;所述第一相似度用于指示所述第一声波信号的特征参数与所述第一特征参数的相似度;The wearable device determines the first similarity based on the characteristic parameters of the first acoustic wave signal and the first Gaussian mixture model; the training data of the first Gaussian mixture model is the first characteristic parameter, and the first characteristic The parameter is the characteristic parameter of the acoustic signal during dribbling; the characteristic parameter of the first acoustic signal and the first characteristic parameter both include at least one or more of the following: energy, frequency, and peak value; the first Gaussian The mixture model includes a plurality of Gaussian distributions, the mean and variance of the plurality of Gaussian distributions converge, and the weights of the plurality of Gaussian distributions in the first Gaussian mixture model converge; the first degree of similarity is used to indicate The similarity between the characteristic parameter of the first acoustic wave signal and the first characteristic parameter;
    如果所述第一相似度高于第一阈值,则所述可穿戴设备确定所述用户在所述第一时间段内产生运球的动作。If the first degree of similarity is higher than a first threshold, the wearable device determines that the user performs a dribbling action in the first time period.
  4. 根据权利要求3所述的方法,其特征在于,所述运球时的声波信号是所述可穿戴设备通过所述声波采集装置预采集的所述用户在运球时的声波信号。The method according to claim 3, wherein the acoustic signal during dribbling is the acoustic signal during dribbling of the user pre-collected by the wearable device through the acoustic wave collecting device.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述运球的动作的类型,包括以下一项或多项:The method according to any one of claims 1 to 4, wherein the type of the dribbling action includes one or more of the following:
    原地运球和跑步运球;Dribble and running dribble;
    所述根据所述第一运动数据确定所述运球的动作的类型,具体包括:当所述第一运动数据中的移动速度小于第一速度和/或所述第一运动数据中的运动距离小于第一距离时,所述可穿戴设备确定所述类型为所述原地运球;当所述第一运动数据中的移动速度大于第二速度和/或所述第一运动数据中的运动距离大于第二距离时,所述可穿戴设备确定所述类型为所述跑步运球;所述第一速度小于或等于所述第二速度,所述第一距离小于或等于所述第二距离。The determining the type of the dribbling action according to the first movement data specifically includes: when the movement speed in the first movement data is less than the first speed and/or the movement distance in the first movement data When the distance is less than the first distance, the wearable device determines that the type is the dribble in place; when the movement speed in the first movement data is greater than the second speed and/or the movement in the first movement data When the distance is greater than the second distance, the wearable device determines that the type is the running dribble; the first speed is less than or equal to the second speed, and the first distance is less than or equal to the second distance .
  6. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    如果根据第一子时间段内的所述第一声波信号确定所述用户在所述第一子时间段内运球,且根据第二子时间段内的所述第一声波信号确定所述用户在所述第二子时间段内没有运球,则所述可穿戴设备确定所述用户在所述第一时间段内产生传球的动作或投篮的动作;所述第一子时间段和所述第二子时间段为所述第一时间段内先后相邻的两个时间片段。If it is determined that the user is dribbling the ball in the first sub-period according to the first acoustic signal in the first sub-period, and the user is determined according to the first acoustic signal in the second sub-period If the user does not dribble in the second sub-time period, the wearable device determines that the user produces a passing action or a shooting action in the first time period; the first sub-time period The second sub-time period and the second sub-time period are two consecutive time segments in the first time period.
  7. 根据权利要求6所述的方法,其特征在于,所述可穿戴设备确定所述用户在所述第一时间段内产生传球的动作或者投篮的动作之后,所述方法还包括:The method according to claim 6, characterized in that, after the wearable device determines that the user produces a passing action or a shooting action within the first time period, the method further comprises:
    如果所述第二子时间段内的移动速度大于所述第二速度和/或所述第二子时间段内的运动距离大于所述第二距离,则所述可穿戴设备确定所述用户在所述第一时间段内产生跑动传投的动作;所述跑动传投包括跑动传球和跑动投篮。If the moving speed in the second sub-period is greater than the second speed and/or the moving distance in the second sub-period is greater than the second distance, the wearable device determines that the user is In the first time period, an action of running shot is generated; the running shot includes running pass and running shot.
  8. 根据权利要求6所述的方法,其特征在于,所述第一运动数据还包括纵跳高度,所述可穿戴设备确定所述用户在所述第一时间段内产生传球的动作或者投篮的动作之后,所述方法还包括:The method according to claim 6, wherein the first motion data further includes a vertical jump height, and the wearable device determines that the user performs a pass or shoot during the first time period. After the action, the method further includes:
    如果所述第二子时间段内的纵跳高度大于第一高度,则所述可穿戴设备确定所述用户在所述第一时间段内产生纵跳传投的动作;所述纵跳传投包括纵跳传球和纵跳投篮。If the vertical jump height in the second sub-time period is greater than the first height, the wearable device determines that the user produces a vertical jump shot in the first time period; the vertical jump shot Including vertical jump pass and vertical jump shot.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    所述可穿戴设备显示第一信息;所述第一信息指示所述用户在所述第一时间段内是否产生运球的动作。The wearable device displays first information; the first information indicates whether the user has made a dribbling action in the first time period.
  10. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    所述可穿戴设备根据所述第一声波信号确定所述用户在所述第一时间段内的运球次数和/或运球时间;Determining, by the wearable device, the number of dribbles and/or the dribbling time of the user in the first time period according to the first sound wave signal;
    所述可穿戴设备根据所述用户在所述第一时间段内的篮球运动数据确定所述用户在所述第一时间段内的号位;所述用户在所述第一时间段内的篮球运动数据包括以下一项或多项:所述用户在所述第一时间段内的运球次数、运球时间、移动速度、运动距离。The wearable device determines the number position of the user in the first time period according to the basketball movement data of the user in the first time period; the basketball of the user in the first time period The movement data includes one or more of the following: the number of dribbles, dribbling time, moving speed, and movement distance of the user in the first time period.
  11. 一种可穿戴设备,其特征在于,包括:A wearable device, characterized in that it comprises:
    相互耦合的运动传感器、声波采集装置、和处理器;Mutually coupled motion sensor, sound wave acquisition device, and processor;
    所述运动传感器用于,采集用户在第一时间段内的第一运动数据;所述第一运动数据包括以下一项或多项:移动速度、运动距离;The motion sensor is used to collect first motion data of the user in a first time period; the first motion data includes one or more of the following: moving speed and moving distance;
    所述声波采集装置,用于采集所述第一时间段内的第一声波信号;The acoustic wave collecting device is used to collect the first acoustic wave signal in the first time period;
    所述处理器用于,根据所述第一声波信号确定所述用户在所述第一时间段内是否产生运球的动作;The processor is configured to determine, according to the first sound wave signal, whether the user has made a dribble action in the first time period;
    所述处理器还用于,如果确定所述用户在所述第一时间段内产生运球的动作,则根据所述第一运动数据确定所述用户运球的动作的类型。The processor is further configured to, if it is determined that the user has made a dribble action during the first time period, determine the type of the user's dribble action according to the first movement data.
  12. 根据权利要求11所述的可穿戴设备,其特征在于,所述可穿戴设备还包括显示屏和触控面板;所述显示屏用于显示第一用户界面,所述第一用户界面中显示有第一控件;所述触控面板检测到作用于所述第一控件上的第一用户操作;所述处理器还用于:The wearable device according to claim 11, wherein the wearable device further comprises a display screen and a touch panel; the display screen is used to display a first user interface, and the first user interface displays A first control; the touch panel detects a first user operation acting on the first control; the processor is further configured to:
    判断所述运动传感器和所述声波采集装置是否开启,如果没有开启,则开启所述运动传感器和所述声波采集装置。It is determined whether the motion sensor and the sound wave collection device are turned on, and if they are not turned on, the motion sensor and the sound wave collection device are turned on.
  13. 根据权利要求12所述的可穿戴设备,其特征在于,所述根据所述第一声波信号确 定所述用户在所述第一时间段内是否产生运球的动作,所述处理器具体用于:The wearable device according to claim 12, wherein the determining whether the user has made a dribble action in the first time period according to the first sound wave signal, the processor specifically uses At:
    基于所述第一声波信号的特征参数和第一高斯混合模型,确定第一相似度;所述第一高斯混合模型的训练数据为第一特征参数,所述第一特征参数为运球时的声波信号的特征参数;所述第一声波信号的特征参数和所述第一特征参数均包含至少以下一项或多项:能量、频率和峰值;所述第一高斯混合模型包括多个高斯分布,所述多个高斯分布的均值、方差均收敛,所述多个高斯分布在所述第一高斯混合模型中的权重收敛;所述第一相似度用于指示所述第一声波信号的特征参数与所述第一特征参数的相似度;The first similarity is determined based on the characteristic parameters of the first acoustic signal and the first Gaussian mixture model; the training data of the first Gaussian mixture model is the first characteristic parameter, and the first characteristic parameter is the dribble time The characteristic parameter of the acoustic signal; the characteristic parameter of the first acoustic signal and the first characteristic parameter each include at least one or more of the following: energy, frequency, and peak; the first Gaussian mixture model includes multiple Gaussian distribution, the mean and variance of the multiple Gaussian distributions converge, and the weights of the multiple Gaussian distributions in the first Gaussian mixture model converge; the first degree of similarity is used to indicate the first sound wave The similarity between the characteristic parameter of the signal and the first characteristic parameter;
    如果所述第一相似度高于第一阈值,则确定所述用户在所述第一时间段内产生运球的动作。If the first degree of similarity is higher than a first threshold, it is determined that the user has made a dribbling action in the first time period.
  14. 根据权利要求13所述的可穿戴设备,其特征在于,所述运球时的声波信号是所述声波采集装置预采集的所述用户在运球时的声波信号。The wearable device according to claim 13, wherein the sound wave signal during dribbling is a sound wave signal pre-collected by the sound wave collecting device when the user is dribbling.
  15. 根据权利要求11至14中任一项所述的可穿戴设备,其特征在于,所述运球的动作的类型,包括以下一项或多项:The wearable device according to any one of claims 11 to 14, wherein the type of the dribbling action includes one or more of the following:
    原地运球和跑步运球;Dribble and running dribble;
    所述根据所述第一运动数据确定所述运球的动作的类型,所述处理器具体用于:当所述第一运动数据中的移动速度小于第一速度和/或所述第一运动数据中的运动距离小于第一距离时,确定所述类型为所述原地运球;当所述第一运动数据中的移动速度大于第二速度和/或所述第一运动数据中的运动距离大于第二距离时,确定所述类型为所述跑步运球;所述第一速度小于或等于所述第二速度,所述第一距离小于或等于所述第二距离。The determining the type of the dribbling motion according to the first motion data, the processor is specifically configured to: when the moving speed in the first motion data is less than the first speed and/or the first motion When the movement distance in the data is less than the first distance, it is determined that the type is the in-place dribble; when the movement speed in the first movement data is greater than the second speed and/or the movement in the first movement data When the distance is greater than the second distance, it is determined that the type is the running dribble; the first speed is less than or equal to the second speed, and the first distance is less than or equal to the second distance.
  16. 根据权利要求11至14中任一项所述的可穿戴设备,其特征在于,所述处理器还用于:The wearable device according to any one of claims 11 to 14, wherein the processor is further configured to:
    如果根据第一子时间段内的所述第一声波信号确定所述用户在所述第一子时间段内运球,且根据第二子时间段内的所述第一声波信号确定所述用户在所述第二子时间段内没有运球,则确定所述用户在所述第一时间段内产生传球的动作或投篮的动作;所述第一子时间段和所述第二子时间段为所述第一时间段内先后相邻的两个时间片段。If it is determined that the user is dribbling the ball in the first sub-period according to the first acoustic signal in the first sub-period, and the user is determined according to the first acoustic signal in the second sub-period If the user does not dribble the ball in the second sub-time period, it is determined that the user has a passing action or a shooting action in the first time period; the first sub-time period and the second sub-time period The sub-time periods are two adjacent time periods in the first time period.
  17. 根据权利要求16所述的可穿戴设备,其特征在于,所述确定所述用户在所述第一时间段内产生传球的动作或投篮的动作之后,所述处理器还用于:The wearable device according to claim 16, wherein after the determining that the user produces a passing action or a shooting action in the first time period, the processor is further configured to:
    如果所述第二子时间段内的移动速度大于所述第二速度和/或所述第二子时间段内的运动距离大于所述第二距离,则确定所述用户在所述第一时间段内产生跑动传投的动作;所述跑动传投包括跑动传球和跑动投篮。If the moving speed in the second sub-period is greater than the second speed and/or the moving distance in the second sub-period is greater than the second distance, it is determined that the user is in the first time An action of running pass and throw is generated in a segment; the running pass and throw include running pass and running shot.
  18. 根据权利要求16所述的可穿戴设备,其特征在于,所述第一运动数据还包括纵跳高度,所述确定所述用户在所述第一时间段内产生传球的动作或投篮的动作之后,所述处理器还用于:The wearable device according to claim 16, wherein the first motion data further includes a vertical jump height, and the determining the user's passing motion or shooting motion in the first time period After that, the processor is also used to:
    如果所述第二子时间段内的纵跳高度大于第一高度,则确定所述用户在所述第一时间段内产生纵跳传投的动作;所述纵跳传投包括纵跳传球和纵跳投篮。If the vertical jump height in the second sub-time period is greater than the first height, it is determined that the user produces a vertical jump pass during the first time period; the vertical jump pass includes a vertical jump pass And vertical jump shot.
  19. 根据权利要求11至18中任一项所述的可穿戴设备,其特征在于,所处显示屏还用于:The wearable device according to any one of claims 11 to 18, wherein the display screen is also used for:
    显示第一信息;所述第一信息指示所述用户在所述第一时间段内是否产生运球的动作。First information is displayed; the first information indicates whether the user has made a dribble action in the first time period.
  20. 根据权利要求11至18中任一项所述的可穿戴设备,其特征在于,所述处理器还用于:The wearable device according to any one of claims 11 to 18, wherein the processor is further configured to:
    根据所述第一声波信号确定所述用户在所述第一时间段内的运球次数和/或运球时间;Determining the number of dribbles and/or dribbling time of the user in the first time period according to the first sound wave signal;
    根据所述用户在所述第一时间段内的篮球运动数据确定所述用户在所述第一时间段内的号位;所述用户在所述第一时间段内的篮球运动数据包括以下一项或多项:所述用户在所述第一时间段内的运球次数、运球时间、移动速度、运动距离。Determine the number position of the user in the first time period according to the basketball data of the user in the first time period; the basketball data of the user in the first time period includes the following: Item or multiple items: the number of dribbles, dribbling time, moving speed, and moving distance of the user in the first time period.
  21. 一种基于可穿戴设备检测篮球动作的方法,其特征在于,所述可穿戴设备包括声波采集装置,所述方法包括:A method for detecting basketball actions based on a wearable device, wherein the wearable device includes a sound wave collecting device, and the method includes:
    所述可穿戴设备显示第一用户界面,所述第一用户界面中显示有第一控件;The wearable device displays a first user interface, and a first control is displayed on the first user interface;
    所述可穿戴设备检测到作用在所述第一控件上的第一用户操作;The wearable device detects a first user operation acting on the first control;
    响应于所述第一用户操作,所述可穿戴设备判断所述声波采集装置是否开启,如果没有开启,则开启所述声波采集装置;In response to the operation of the first user, the wearable device determines whether the sound wave collection device is turned on, and if it is not turned on, turns on the sound wave collection device;
    所述可穿戴设备通过所述声波采集装置采集第一时间段内的第一声波信号,根据所述第一声波信号确定用户在所述第一时间段内是否产生运球的动作。The wearable device collects the first sound wave signal in the first time period through the sound wave collecting device, and determines whether the user has a dribbling action in the first time period according to the first sound wave signal.
  22. 根据权利要求11所述的方法,其特征在于,所述根据所述第一声波信号确定用户在所述第一时间段内是否产生运球的动作,所述方法包括:The method according to claim 11, wherein the determining whether a user has made a dribble action in the first time period according to the first sound wave signal, the method comprising:
    所述可穿戴设备基于所述第一声波信号的特征参数和第一高斯混合模型,确定第一相似度;所述第一高斯混合模型的训练数据为第一特征参数,所述第一特征参数为运球时的声波信号的特征参数;所述第一声波信号的特征参数和所述第一特征参数均包含至少以下一项或多项:能量、频率和峰值;所述第一高斯混合模型包括多个高斯分布,所述多个高斯分布的均值、方差均收敛,所述多个高斯分布在所述第一高斯混合模型中的权重收敛;所述第一相似度用于指示所述第一声波信号的特征参数与所述第一特征参数的相似度;The wearable device determines the first similarity based on the characteristic parameters of the first acoustic wave signal and the first Gaussian mixture model; the training data of the first Gaussian mixture model is the first characteristic parameter, and the first characteristic The parameter is the characteristic parameter of the acoustic signal during dribbling; the characteristic parameter of the first acoustic signal and the first characteristic parameter both include at least one or more of the following: energy, frequency, and peak value; the first Gaussian The mixture model includes a plurality of Gaussian distributions, the mean and variance of the plurality of Gaussian distributions converge, and the weights of the plurality of Gaussian distributions in the first Gaussian mixture model converge; the first degree of similarity is used to indicate The similarity between the characteristic parameter of the first acoustic wave signal and the first characteristic parameter;
    如果所述第一相似度高于第一阈值,则所述可穿戴设备确定所述用户在所述第一时间段内产生运球的动作。If the first degree of similarity is higher than a first threshold, the wearable device determines that the user performs a dribbling action in the first time period.
  23. 根据权利要求21或22所述的方法,其特征在于,所述方法还包括:The method according to claim 21 or 22, wherein the method further comprises:
    所述可穿戴设备显示第一信息;所述第一信息指示所述用户在所述第一时间段内是否产生运球的动作。The wearable device displays first information; the first information indicates whether the user has made a dribbling action in the first time period.
PCT/CN2021/083465 2020-03-31 2021-03-27 Method for detecting basketball moves on basis of wearable device, and wearable device WO2021197243A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010260267.XA CN113457096B (en) 2020-03-31 2020-03-31 Method for detecting basketball movement based on wearable device and wearable device
CN202010260267.X 2020-03-31

Publications (1)

Publication Number Publication Date
WO2021197243A1 true WO2021197243A1 (en) 2021-10-07

Family

ID=77865853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083465 WO2021197243A1 (en) 2020-03-31 2021-03-27 Method for detecting basketball moves on basis of wearable device, and wearable device

Country Status (2)

Country Link
CN (1) CN113457096B (en)
WO (1) WO2021197243A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116304595A (en) * 2023-05-11 2023-06-23 中南大学湘雅医院 Intelligent motion analysis system and method based on shared cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204815618U (en) * 2015-08-03 2015-12-02 厦门市简极科技有限公司 Basketball athletic training arm cover
US9381420B2 (en) * 2011-02-17 2016-07-05 Nike, Inc. Workout user experience
CN205569708U (en) * 2016-04-20 2016-09-14 浙江大学 A vibrations ring for feeding back correct act of shooting
CN109862949A (en) * 2016-08-23 2019-06-07 沛勒尔维珍公司 System and method for tracking rebounder's performance
CN110134229A (en) * 2019-03-22 2019-08-16 华为技术有限公司 A kind of wearable device and activity data acquisition method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8231506B2 (en) * 2008-12-05 2012-07-31 Nike, Inc. Athletic performance monitoring systems and methods in a team sports environment
US9381415B1 (en) * 2012-02-28 2016-07-05 Ernest DiGregorio Sports ball communication system
US20150057966A1 (en) * 2013-08-23 2015-02-26 Xband Technology Corporation Jump Sensor Device
CN106057206B (en) * 2016-06-01 2019-05-03 腾讯科技(深圳)有限公司 Sound-groove model training method, method for recognizing sound-groove and device
CN108922515A (en) * 2018-05-31 2018-11-30 平安科技(深圳)有限公司 Speech model training method, audio recognition method, device, equipment and medium
CN109243465A (en) * 2018-12-06 2019-01-18 平安科技(深圳)有限公司 Voiceprint authentication method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9381420B2 (en) * 2011-02-17 2016-07-05 Nike, Inc. Workout user experience
CN204815618U (en) * 2015-08-03 2015-12-02 厦门市简极科技有限公司 Basketball athletic training arm cover
CN205569708U (en) * 2016-04-20 2016-09-14 浙江大学 A vibrations ring for feeding back correct act of shooting
CN109862949A (en) * 2016-08-23 2019-06-07 沛勒尔维珍公司 System and method for tracking rebounder's performance
CN110134229A (en) * 2019-03-22 2019-08-16 华为技术有限公司 A kind of wearable device and activity data acquisition method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116304595A (en) * 2023-05-11 2023-06-23 中南大学湘雅医院 Intelligent motion analysis system and method based on shared cloud platform
CN116304595B (en) * 2023-05-11 2023-08-04 中南大学湘雅医院 Intelligent motion analysis system and method based on shared cloud platform

Also Published As

Publication number Publication date
CN113457096A (en) 2021-10-01
CN113457096B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
JP7324266B2 (en) Flight time
KR101662234B1 (en) Athletic monitoring system having automatic pausing of media content
KR20160044578A (en) Sessions and groups
EP3242595B1 (en) Energy expenditure calculation using data from multiple devices
EP3058441A1 (en) Calculating pace and energy expenditure from athletic movement attributes
US20130282155A1 (en) Methods, systems, and devices for collecting and analyzing movement data of an athlete
KR20150122742A (en) Extending gameplay with physical activity monitoring device
JP2016513999A5 (en)
JP2016529945A (en) Golf data collection system
CN109806567A (en) Electronic equipment
EP3242594B1 (en) Energy expenditure calculation using data from multiple devices
WO2022048573A1 (en) Swing motion detection method and wearable device
WO2021197243A1 (en) Method for detecting basketball moves on basis of wearable device, and wearable device
JP2017182505A (en) Program and server system
JP2019103611A (en) Information processing system, information processing method and information processing program
WO2023109834A1 (en) Sport mode processing method and wearable device
US10478703B2 (en) Information processing method, wearable apparatus, content reproduction device, content reproduction system, and content reproduction method
CN113949993A (en) Method for starting motion mode and electronic equipment
JP2019000458A (en) Computer system and program

Legal Events

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

Ref document number: 21781672

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21781672

Country of ref document: EP

Kind code of ref document: A1