CN115155044A - Method, device, equipment and medium for determining swimming turn-around time - Google Patents

Method, device, equipment and medium for determining swimming turn-around time Download PDF

Info

Publication number
CN115155044A
CN115155044A CN202210821593.2A CN202210821593A CN115155044A CN 115155044 A CN115155044 A CN 115155044A CN 202210821593 A CN202210821593 A CN 202210821593A CN 115155044 A CN115155044 A CN 115155044A
Authority
CN
China
Prior art keywords
turn
turning
around
swimming
time
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210821593.2A
Other languages
Chinese (zh)
Inventor
魏一振
申屠晗
朱袁伟
张卓鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Guangli Technology Co ltd
Original Assignee
Hangzhou Guangli Technology Co ltd
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 Hangzhou Guangli Technology Co ltd filed Critical Hangzhou Guangli Technology Co ltd
Priority to CN202210821593.2A priority Critical patent/CN115155044A/en
Publication of CN115155044A publication Critical patent/CN115155044A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/12Arrangements in swimming pools for teaching swimming or for training

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for determining swimming turn-around time, and relates to the technical field of information fusion. The method comprises the following steps: dividing the acquired swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around or not and counting turn-around times; determining the reliability of a turning judgment time window according to the turning particle set, wherein the reliability is the reliability representing whether the user turns; and when the reliability is greater than the preset reliability, outputting the turning time node and the turning times. Because the swimming data is divided once, all the swimming data are used for obtaining the reliability of the representation user in the swimming process. At the moment, the output deviation of the turn-around times and the turn-around time nodes is reduced, accurate motion data are obtained, and the accuracy of the motion data is improved.

Description

Method, device, equipment and medium for determining swimming turn-around time
Technical Field
The present application relates to the field of information fusion technologies, and in particular, to a method, an apparatus, a device, and a medium for determining a swimming turn time.
Background
Along with the continuous progress of science and technology, more and more technologies are applied to swimming sports, wherein the estimation of the times and time of swimming turn is particularly important, the swimming turn mainly comprises wall-touching turn and rolling turn, the information of people who pay more attention to such as swimming distance and calories can be calculated through the judgment of turn, more accurate sports data is provided for users, and the user experience is improved.
Conventionally, swimming data is counted by dividing swimming data acquired by a swimming goggle twice to obtain GM particles (gaussian particles). For example: a plurality of turn judgment time windows can be obtained after the swimming data is divided for the first time, and the setting is that the swimming data is divided according to the condition that each turn judgment time window contains 300 swimming data; and (4) dividing each turning judgment time window again to obtain GM particles, wherein the GM particles are divided according to 50 swimming data of each GM particle to obtain 6 GM particles. At this time, the turn times and the turn time node are output according to 6 GM particles. The final division of 300 swimming data into 6 GM particles results in certain deviations between the turn times and turn time nodes, and the obtained motion data is inaccurate.
In view of the above problems, it is an endeavor of those skilled in the art to find out how to accurately record the exercise data during swimming.
Disclosure of Invention
The application aims to provide a method, a device, equipment and a medium for determining swimming turn-around time, which are used for reducing the output turn-around times and the deviation of turn-around time nodes, obtaining accurate movement data and improving the accuracy of the movement data.
In order to solve the above technical problem, the present application provides a method for determining a swimming turn time, comprising:
obtaining swimming data;
dividing the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around and counting turn-around times;
acquiring the weight value, the sampling time and the turning strength of each turning particle in the turning particle set;
determining the reliability of a turning judgment time window according to the weight value, the sampling moment and the turning strength, wherein the reliability is the reliability representing whether the user turns;
judging whether the reliability is greater than a preset reliability;
and if so, outputting the turn-around time node and the turn-around times.
Preferably, dividing the swimming data according to the length of the turn judgment time window to obtain a turn particle set comprises:
obtaining the length of swimming data;
dividing the swimming data length by the turning judgment time window length to obtain a division value;
and rounding the division value, and dividing the swimming data according to the rounded division value to obtain the turning particle set.
Preferably, determining the confidence level of the transition determination time window from the transition particle set comprises:
initializing each turning particle in the turning particle set;
acquiring the weight value, the sampling moment and the turning strength according to the initialized turning particles and updating each turning particle;
and determining the reliability according to the updated turning particles.
Preferably, when the confidence level is greater than the preset confidence level, before outputting the transition time node and the transition times, the method further includes:
judging whether the number of turning variables in the turning particle set is 1 or not;
if yes, entering a step of outputting a turn-around time node and turn-around times;
if not, fusing the turning time nodes corresponding to the turning variables.
Preferably, after outputting the turn-around time node and the turn-around times, the method further comprises:
judging the division value and judging whether all the turning time nodes and turning times are output by the time window;
if yes, ending;
if not, returning to the step of obtaining the swimming data.
Preferably, the turning judgment time windows are multiple and do not overlap with each other.
Preferably, after obtaining the swimming data, before dividing the swimming data according to the length of the turn-around judging time window to obtain the turn-around grain set, the method further includes:
and performing Kalman filtering processing on the swimming data.
In order to solve the above technical problem, the present application further provides a device for determining a swimming turn time, comprising:
the first acquisition module is used for acquiring swimming data;
the system comprises a dividing module, a turning judging module and a counting module, wherein the dividing module is used for dividing swimming data according to the length of a turning judging time window to obtain a turning particle set, and the turning judging time window is used for judging whether a user turns and counting the turning times;
the second acquisition module is used for acquiring the weight value, the sampling moment and the turning strength of each turning particle in the turning particle set;
the determining module is used for determining the reliability of the turning judgment time window according to the weight value, the sampling moment and the turning strength, wherein the reliability is the reliability representing whether the user turns;
the judging module is used for judging whether the reliability is greater than the preset reliability;
and if so, entering an output module for outputting the turning time node and the turning times.
In order to solve the above technical problem, the present application further provides an apparatus for determining a swimming turn time, comprising:
a memory for storing a computer program;
a processor for directing a computer program to implement the steps of the method of determining swimming turn times.
In order to solve the above technical problem, the present application further provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements all the steps of the above method for determining a swimming turn time.
The application provides a method for determining swimming turn-around time, which comprises the following steps: obtaining swimming data; dividing the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around or not and counting turn-around times; acquiring the weight value, the sampling time and the turning strength of each turning particle in the turning particle set; determining the reliability of a turning judgment time window according to the weight value, the sampling moment and the turning strength, wherein the reliability is the reliability representing whether the user turns; judging whether the reliability is greater than a preset reliability; and if so, outputting the turn-around time node and the turn-around times. Since the swimming data is divided once, all the swimming data are used for obtaining the credibility of the representation user in the swimming process. At the moment, the deviation of the output turn times and turn time nodes is reduced, accurate motion data are obtained, and the accuracy of the motion data is improved.
The application also provides a device, equipment and medium for determining the swimming turn-around time, and the effect is the same as that of the device.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow chart of a method for determining swimming turn time according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of an apparatus for determining a swimming turn time according to an embodiment of the present application;
fig. 3 is a block diagram of an apparatus for determining a swimming turn time according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method, a device, equipment and a medium for determining swimming turn time, which can reduce the output turn times and the deviation of turn time nodes, obtain accurate motion data and improve the accuracy of the motion data.
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method for determining a swim turn time provided in an embodiment of the present application. As shown in figure 1, the method for determining the swimming turn time is applied to AR swimming goggles, wherein a 6-channel IMU sensor is arranged in the AR swimming goggles, and the sensor is formed by combining two three-axis sensors.
The method comprises the following steps:
s10: swimming data is acquired.
Obtaining swimming data through a 6-channel IMU sensor, and obtaining the length of the swimming data, wherein the sampling frequency of the 6-channel IMU sensor is recorded as Hertz (Hz). The sampling time for obtaining the swimming data is recorded as S, and the unit is second (S), then the length of the swimming data can be calculated by the following formula:
L=f·S
the swimming data acquired for a 6-channel IMU sensor of length L may be represented as
Figure BDA0003744732930000041
Wherein the content of the first and second substances,
Figure BDA0003744732930000051
an acceleration component representing the x-axis coordinate direction at the k sampling time,
Figure BDA0003744732930000052
An acceleration component indicating the y-axis coordinate direction at the k-sampling time,
Figure BDA0003744732930000053
An acceleration component representing the z-axis coordinate direction at the k-sampling time;
Figure BDA0003744732930000054
an angular velocity component representing the x-axis coordinate direction at the k-sampling time,
Figure BDA0003744732930000055
An angular velocity component representing the y-axis coordinate direction at the k-sampling time,
Figure BDA0003744732930000056
The angular velocity component representing the z-axis coordinate direction at the time of k-sampling. The acceleration, the angular velocity, the acceleration and the angular velocity may be selected. Considering that some data cannot be well used for judging the swimming turning motion of the user, the optimal implementation mode is to combine the angular speed and the acceleration so as to compensate the data which cannot well judge the swimming turning motion of the user. The swimming data is data acquired in time series. In this embodiment, the three-axis sensor may be one of a three-axis accelerometer, a three-axis magnetometer, a three-axis gyroscope, and a pressure sensor, and the 6-channel IMU sensor may be a combination of one or more of the sensors mentioned above. The swimming data is time-series data that varies with time, varies with the time taken, and varies with time.
S11: and dividing the swimming data according to the length of the turn judgment time window to obtain a turn particle set.
The turn-around judging time window is used for judging whether the user turns around or not and counting turn-around times.
Wherein, judge the time window length to divide swimming data according to turning round, obtain turning round particle set and include:
obtaining the length of swimming data;
dividing the swimming data length by the turning judgment time window length to obtain a division value;
and rounding the division value, and dividing the swimming data according to the rounded division value to obtain the turning grain set.
Setting the length of the turn judgment time window as d, and calculating the swimming data according to the number of turn judgment time windows divided by the length of the turn judgment time window by the following formula:
M=floor(L/d)
wherein, floor (x) represents a downward integer-taking function, which is used for obtaining the calculation result of the integer, that is, the maximum integer not greater than x is taken, M is the number of the turn-around judgment time windows, and is also a division value. At this time, for the nth turn determination time window, there is swimming data of length d, which is expressed as:
Figure BDA0003744732930000057
wherein C d ∈C L
It should be noted that, in the present embodiment, a plurality of turning judgment time windows are mentioned and are not overlapped (mutually exclusive). The turn-around judgment time window frames the time series according to the specified unit length to perform data sampling, thereby calculating the data in the frame. The slide block with the designated length slides on the scale, and the data in the slide block can be fed back when the slide block slides one unit. The purpose of setting the time window is to segment the time sequence data by using the time window with a set length, and sequentially judge that the rounding-down represents that the redundant time sequence is not enough to complete a turn-around action. Wherein a plurality of particle sets are constructed as random finite sets.
S12: and acquiring the weight value, the sampling moment and the turning strength of each turning particle in the turning particle set.
S13: and determining the reliability of the turn judgment time window according to the weight value, the sampling moment and the turn strength.
The reliability is the reliability of representing whether the user turns around. The swimming data in each sampling sliding window has two conditions of turning and non-turning, and the swimming turning variable can be changedWith modeling as a random finite set, a time window can be regarded as a set of particles, i.e., it can be understood that the length of a turn-around decision time window is the same as the number of particles in the set of particles. For the swimming data in the nth turn judgment time window, the swimming turn variable of the sampling point at the time k can be expressed as a discrete finite set variable and is recorded as: { phi, 1} k . Where φ represents an empty set, i.e., a non-turn, and 1 represents a turn. Then the swimming data in the nth turn determination time window is modeled as:
G n ={{φ,1} 1 ,{φ,1} 2 ,{φ,1} 3 ,…,{φ,1} k }
the data described above was modeled as a discrete finite set.
S14: and judging whether the reliability is greater than a preset reliability.
If yes, the process proceeds to step S15: and outputting the turning time node and the turning times.
And counting and collecting the turn times, determining turn time nodes in corresponding judgment time windows, and finally outputting. The output form may be "the transition time node is 14.
The application provides a method for determining swimming turn-around time, which comprises the following steps: obtaining swimming data; dividing the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around and counting turn-around times; determining the reliability of a turning judgment time window according to the turning particle set, wherein the reliability is the reliability representing whether the user turns; judging whether the reliability is greater than a preset reliability; and if so, outputting the turn-around time node and the turn-around times. Because the swimming data is divided once, all the swimming data are used for obtaining the reliability of the representation user in the swimming process. At the moment, the output deviation of the turn-around times and the turn-around time nodes is reduced, accurate motion data are obtained, and the accuracy of the motion data is improved.
On the basis of the foregoing embodiment, as a more preferred embodiment, the determining the confidence level of the transition determination time window according to the transition particle set includes:
initializing each turning particle in the turning particle set;
acquiring a weight value, a sampling moment and turning strength according to the initialized turning particles and updating each turning particle;
and determining the reliability according to the updated turning particles.
The turning-to-body particle set corresponding to the nth turning-to-body judgment time window can be marked as G from the above description n ={par n (1),par n (2),par n (3),…,par n (d) One particle in the turning-around particle set can be represented as par n (i) Where i ∈ (1, d), is calculated according to the following formula:
par n (i)=(w,x t ,h(x t ))
wherein the content of the first and second substances,
Figure BDA0003744732930000071
is a weight value, x t Is the global sampling time corresponding to the t-th sampling time in the turn-around judging time window, h (x) t ) For the signal amplitude of the swimming data at the sampling time, the time window x is judged for the nth turn t The calculation can be made according to the following formula:
x t =(n-1)·d+1+t
it should be noted that the weight value of each particle is an average value of the weight values of the transition determination time window. For example: the weight value of the turn-around judging time window is 1, and Q particles are always contained in the turn-around judging time window, so that the weight value of each particle is 1/Q.
Initializing a turning particle set in the nth turning judgment time window, and calculating according to the following formula:
Figure BDA0003744732930000072
m n (i)=x t
h n (i)=h(x t )
wherein, w n (i) The weight value of the ith particle; m is n (i) The sampling time of the ith particle; h is n (i) The turning strength of the ith particle.
Note that, in the present embodiment, the detection probability P of the turn is calculated according to the following formula d
Figure BDA0003744732930000073
Wherein, the first and the second end of the pipe are connected with each other,
Figure BDA0003744732930000081
is sigmoid function, h (x) t ) Is x t And H is a preset confidence level.
The turning strength v is n The calculation can be made according to the following formula:
Figure BDA0003744732930000082
then, the updated filter turn-around confidence level of the turn-around particle
Figure BDA0003744732930000083
And filtering turn-around time
Figure BDA0003744732930000084
Calculated according to the following formula:
Figure BDA0003744732930000085
Figure BDA0003744732930000086
wherein k is h (x) t ) Coefficients below a preset confidence H. Then, the updated reliability is finally obtained by the following formula:
Figure BDA0003744732930000087
wherein the content of the first and second substances,
Figure BDA0003744732930000088
is the updated confidence level.
On the basis of the above embodiment, as a more preferable embodiment, when the confidence level is greater than the preset confidence level, before outputting the transition time node and the transition times, the method further includes:
judging whether the number of turning variables in the turning particle set is 1 or not;
if yes, entering a step of outputting a transfer time node and transfer times;
if not, fusing the turning time nodes corresponding to the turning variables.
As described in the above embodiment, if there are a plurality of turn variables in the nth turn determination time window, the turn times corresponding to the turn variables are fused according to the following formula:
Figure BDA0003744732930000089
wherein s is the number of the turning variables,
Figure BDA00037447329300000810
is a turn-around time node.
On the basis of the above embodiment, as a more preferred embodiment, after outputting the turn-around time node and the turn-around times, the method further includes:
judging the division value and judging whether all the turning time nodes and turning times are output by the time window;
if yes, ending;
if not, returning to the step of obtaining the swimming data.
In order to make the obtained data more accurate, all the turn-around judging time windows need to be traversed once, so that the data can be obtained more accurately, and the user experience is improved.
On the basis of the above embodiment, as a more preferred embodiment, after obtaining the swimming data, before dividing the swimming data according to the length of the turn-around judgment time window to obtain the turn-around grain set, the method further includes:
and performing Kalman filtering processing on the swimming data. In order to remove clutter. In addition, it should be noted that the noise of the clutter can also be avoided by using a particle filter.
In the above embodiments, the method for determining the swimming turn time is described in detail, and the application also provides corresponding embodiments of the device for determining the swimming turn time. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is from the perspective of the function module, and the other is from the perspective of the hardware.
Fig. 2 is a block diagram of an apparatus for determining a swimming turn time according to an embodiment of the present application. As shown in fig. 2, the present application also provides an apparatus for determining a swimming turn time, comprising:
a first obtaining module 20, configured to obtain swimming data;
the dividing module 21 is configured to divide the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, where the turn-around judging time window is used to judge whether a user turns around, and count turn-around times;
a second obtaining module 22, configured to obtain a weight value, a sampling time, and a turning strength of each turning particle in the turning particle set;
the determining module 23 is configured to determine a reliability of the transition judgment time window according to the weight value, the sampling time, and the transition strength, where the reliability is a reliability representing whether the user transitions;
the judging module 24 is used for judging whether the reliability is greater than the preset reliability;
if yes, the method enters an output module 25 for outputting the turning time node and the turning times.
The application provides a method for determining swimming turn-around time, which comprises the following steps: obtaining swimming data; dividing the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around or not and counting turn-around times; determining the reliability of a turning judgment time window according to the turning particle set, wherein the reliability is the reliability representing whether the user turns; judging whether the reliability is greater than a preset reliability; and if so, outputting the turn-around time node and the turn-around times. Because the swimming data is divided once, all the swimming data are used for obtaining the reliability of the representation user in the swimming process. At the moment, the deviation of the output turn times and turn time nodes is reduced, accurate motion data are obtained, and the accuracy of the motion data is improved.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 3 is a block diagram of an apparatus for determining swimming turn-around time according to an embodiment of the present application, and as shown in fig. 3, the apparatus for determining swimming turn-around time includes:
a memory 30 for storing a computer program;
a processor 31 for implementing the steps of the method of determining a swimming turn time as mentioned in the above embodiments when executing the computer program.
The device for determining the swimming turn-around time provided by the embodiment can include, but is not limited to, a smart phone, a tablet computer, a notebook computer or a desktop computer.
The processor 31 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 31 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 31 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 31 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, processor 31 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
Memory 30 may include one or more computer-readable storage media, which may be non-transitory. Memory 30 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 30 is at least used for storing a computer program, wherein the computer program can realize the relevant steps of the method for determining the swimming turn time disclosed in any one of the above embodiments after being loaded and executed by the processor 31. In addition, the resources stored in the memory 30 may also include an operating system, data, and the like, and the storage manner may be a transient storage or a permanent storage. The operating system may include Windows, unix, linux, and the like. The data may include, but is not limited to, methods of determining swimming turn times, and the like.
In some embodiments, the apparatus for determining swimming turn time may further comprise a display screen, an input/output interface, a communication interface, a power source, and a communication bus.
It will be appreciated by those skilled in the art that the configuration shown in figure 3 does not constitute a limitation of the apparatus for determining swimming turn times and may include more or fewer components than those shown.
The device for determining the swimming turn time provided by the embodiment of the application comprises a memory 30 and a processor 31, wherein the processor 31 can realize the method for determining the swimming turn time when executing the program stored in the memory 30.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (Read-Only Memory), a ROM, a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above detailed description provides a method, apparatus, device and medium for determining a swim turn time. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of determining swimming turn times, comprising:
obtaining swimming data;
dividing the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around or not and counting turn-around times;
acquiring the weight value, the sampling moment and the turning strength of each turning particle in the turning particle set;
determining the reliability of the turning judgment time window according to the weight value, the sampling time and the turning strength, wherein the reliability is the reliability representing whether the user turns;
judging whether the reliability is greater than a preset reliability;
and if so, outputting the turning time node and the turning times.
2. The method for determining swimming turn-around time according to claim 1, wherein the dividing the swimming data according to the turn-around judgment time window length to obtain a turn-around particle set comprises:
obtaining swimming data length;
dividing the swimming data length by the turning judgment time window length to obtain a division value;
and rounding the division value, and dividing the swimming data according to the rounded division value to obtain the turning particle set.
3. The method of determining swimming turn-around time according to claim 1, wherein the determining the confidence level of the turn-around judgement time window according to the weight value, the sampling time and the turn-around strength comprises:
initializing each of the turning particles in the turning particle set;
acquiring the weight value, the sampling moment and the turning strength according to the initialized turning particles and updating each turning particle;
and determining the reliability according to the updated turning particles.
4. The method of determining swimming turn times of claim 3, wherein when the confidence level is greater than the preset confidence level, further comprising, prior to the outputting the turn time node and the number of turns:
judging whether the number of turning variables in the turning particle set is 1 or not;
if yes, entering the step of outputting the turning time node and the turning times;
if not, fusing the turning time nodes corresponding to the turning variables.
5. The method of determining swimming turn times of claim 2, further comprising, after said outputting the turn time node and the number of turns:
judging whether all the turn-around judging time windows of the division values output the turn-around time nodes and the turn-around times;
if yes, ending;
if not, returning to the step of obtaining the swimming data.
6. The method for determining swimming turn-around time according to claim 1, wherein the turn-around judging time windows are multiple and do not overlap with each other.
7. The method for determining swimming turn-around time according to claim 1, wherein after the obtaining the swimming data, before the dividing the swimming data according to the turn-around judgment time window length to obtain the turn-around particle set, further comprising:
and performing Kalman filtering processing on the swimming data.
8. An apparatus for determining a time for a swim turn, comprising:
the first acquisition module is used for acquiring swimming data;
the dividing module is used for dividing the swimming data according to the length of a turn-around judging time window to obtain a turn-around particle set, wherein the turn-around judging time window is used for judging whether a user turns around or not and counting turn-around times;
a second obtaining module, configured to obtain a weight value, a sampling time, and a turning strength of each turning particle in the turning particle set;
a determining module, configured to determine a reliability of the transition judgment time window according to the weight value, the sampling time, and the transition strength, where the reliability is a reliability representing whether the user transitions;
the judging module is used for judging whether the reliability is greater than a preset reliability;
and if so, entering an output module for outputting the turning time node and the turning times.
9. An apparatus for determining a swim turn time, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of determining swimming turn times as claimed in any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for determining a swimming turn time according to any one of claims 1 to 7.
CN202210821593.2A 2022-07-13 2022-07-13 Method, device, equipment and medium for determining swimming turn-around time Pending CN115155044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210821593.2A CN115155044A (en) 2022-07-13 2022-07-13 Method, device, equipment and medium for determining swimming turn-around time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210821593.2A CN115155044A (en) 2022-07-13 2022-07-13 Method, device, equipment and medium for determining swimming turn-around time

Publications (1)

Publication Number Publication Date
CN115155044A true CN115155044A (en) 2022-10-11

Family

ID=83493975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210821593.2A Pending CN115155044A (en) 2022-07-13 2022-07-13 Method, device, equipment and medium for determining swimming turn-around time

Country Status (1)

Country Link
CN (1) CN115155044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541668A (en) * 2023-07-06 2023-08-04 杭州光粒科技有限公司 Swimming stroke number determining method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049805A (en) * 2013-01-18 2013-04-17 中国测绘科学研究院 Vehicle route optimization method with time window constraint based on improved particle swarm optimization (PSO)
GB201304677D0 (en) * 2013-03-15 2013-05-01 Suunto Oy Device and method for monitoring swimming performance
CN104700433A (en) * 2015-03-24 2015-06-10 中国人民解放军国防科学技术大学 Vision-based real-time general movement capturing method and system for human body
CN105071961A (en) * 2015-07-30 2015-11-18 中国人民解放军信息工程大学 Method and device for predicting service quality of Web service
CN106725381A (en) * 2016-12-19 2017-05-31 华南农业大学 A kind of intelligent body-building motion bracelet
CN108854032A (en) * 2018-06-08 2018-11-23 青岛真时科技有限公司 A kind of method, apparatus and intelligent wearable device of detection swimming switch-back point
CN111265841A (en) * 2020-02-05 2020-06-12 北京卡路里信息技术有限公司 Swimming lap number determining method, device, equipment and storage medium
CN112751582A (en) * 2020-12-28 2021-05-04 杭州光粒科技有限公司 Wearable device for interaction, interaction method and equipment, and storage medium
CN114602155A (en) * 2022-05-11 2022-06-10 荣耀终端有限公司 Swimming information statistical method, computer-readable storage medium and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049805A (en) * 2013-01-18 2013-04-17 中国测绘科学研究院 Vehicle route optimization method with time window constraint based on improved particle swarm optimization (PSO)
GB201304677D0 (en) * 2013-03-15 2013-05-01 Suunto Oy Device and method for monitoring swimming performance
CN104700433A (en) * 2015-03-24 2015-06-10 中国人民解放军国防科学技术大学 Vision-based real-time general movement capturing method and system for human body
CN105071961A (en) * 2015-07-30 2015-11-18 中国人民解放军信息工程大学 Method and device for predicting service quality of Web service
CN106725381A (en) * 2016-12-19 2017-05-31 华南农业大学 A kind of intelligent body-building motion bracelet
CN108854032A (en) * 2018-06-08 2018-11-23 青岛真时科技有限公司 A kind of method, apparatus and intelligent wearable device of detection swimming switch-back point
CN111265841A (en) * 2020-02-05 2020-06-12 北京卡路里信息技术有限公司 Swimming lap number determining method, device, equipment and storage medium
CN112751582A (en) * 2020-12-28 2021-05-04 杭州光粒科技有限公司 Wearable device for interaction, interaction method and equipment, and storage medium
CN114602155A (en) * 2022-05-11 2022-06-10 荣耀终端有限公司 Swimming information statistical method, computer-readable storage medium and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541668A (en) * 2023-07-06 2023-08-04 杭州光粒科技有限公司 Swimming stroke number determining method, device, equipment and storage medium
CN116541668B (en) * 2023-07-06 2023-09-22 杭州光粒科技有限公司 Swimming stroke number determining method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US8781991B2 (en) Emotion recognition apparatus and method
CN110263870B (en) Motion state identification method and device, intelligent terminal and storage medium
CN111558195B (en) Rope skipping counting method, device and equipment based on wearable equipment and storage medium
CN111797858A (en) Model training method, behavior prediction method, device, storage medium and equipment
CN115155044A (en) Method, device, equipment and medium for determining swimming turn-around time
CN114896568B (en) Swimming data statistical method, device, equipment and medium
CN113313053A (en) Image processing method, apparatus, device, medium, and program product
WO2020230699A1 (en) Robustness setting device, robustness setting method, storage medium storing robustness setting program, robustness evaluation device, robustness evaluation method, storage medium storing robustness evaluation program, computation device, and storage medium storing program
CN113128115A (en) Subway running state prediction and model training method and device and storage medium
CN113303777A (en) Heart rate value determination method and device, electronic equipment and medium
CN111265841B (en) Swimming lap number determining method, device, equipment and storage medium
CN111754605A (en) User trajectory drawing method and device, computer equipment and storage medium
Ramah et al. One step further towards real-time driving maneuver recognition using phone sensors
Huang et al. Activity classification and analysis during a sports training session using a fuzzy model
CN113887501A (en) Behavior recognition method and device, storage medium and electronic equipment
CN111627029B (en) Image instance segmentation result acquisition method and device
JP6794895B2 (en) Electronic devices, location identification systems, location identification methods and programs
CN110180158B (en) Running state identification method and system and terminal equipment
CN111870250A (en) User state monitoring method and device, computing equipment and computer storage medium
CN114120252B (en) Automatic driving vehicle state identification method and device, electronic equipment and vehicle
CN111797986A (en) Data processing method, data processing device, storage medium and electronic equipment
CN111982149B (en) Step counting identification method, step counting identification device, step counting identification equipment and readable storage medium
CN116943130A (en) Counting method, counting device, counting equipment and storage medium
CN116152907A (en) Gesture reconstruction method and device and electronic equipment
CN110610185B (en) Method, device and equipment for detecting salient object of image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination