Swimming speed measurement data acquisition and display method, device and speed measurement system thereof

文档序号:691789 发布日期:2021-05-04 浏览:29次 中文

阅读说明:本技术 游泳测速数据的获取及展示方法、装置及其测速系统 (Swimming speed measurement data acquisition and display method, device and speed measurement system thereof ) 是由 文闻 周雅文 于 2020-12-22 设计创作,主要内容包括:本申请提供了一种游泳测速数据的获取及展示方法、装置、电子设备及存储介质,其方法包括:向用户佩戴的测速标签提供基于泳池布设的基站测绘信息,其中,基站测绘信息中包含有若干个基站的坐标信息;结合基站测绘信息中若干个基站的坐标信息,采用双向测距方式获取测速标签与各基站之间的距离值,并根据测速标签与各基站之间的距离值对测速标签进行定位,获取测速标签的坐标信息;根据测速标签的坐标信息获取用户在泳池中的移动轨迹并记录用户的位移方向;根据移动轨迹和位移方向对用户的游泳过程进行测速分析处理获得对应的测速数据结果,向用户展示所述测速数据结果。该方法可以在非标准泳池中进行准确测速并且为用户提供多种测速数据的服务。(The application provides a method and a device for acquiring and displaying swimming speed measurement data, electronic equipment and a storage medium, wherein the method comprises the following steps: providing base station mapping information based on swimming pool arrangement for a speed measurement label worn by a user, wherein the base station mapping information comprises coordinate information of a plurality of base stations; combining coordinate information of a plurality of base stations in the base station mapping information, acquiring distance values between the speed measuring tag and each base station in a bidirectional distance measuring mode, positioning the speed measuring tag according to the distance values between the speed measuring tag and each base station, and acquiring coordinate information of the speed measuring tag; acquiring a moving track of a user in the swimming pool according to the coordinate information of the speed measuring label and recording the displacement direction of the user; and carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user. The method can accurately measure the speed in the non-standard swimming pool and provide various speed measurement data services for users.)

1. A method for acquiring and displaying swimming speed measurement data is characterized by comprising the following steps:

providing base station mapping information based on swimming pool arrangement for a speed measurement label worn by a user, wherein the base station mapping information comprises coordinate information of a plurality of base stations;

combining coordinate information of a plurality of base stations in the base station mapping information, acquiring distance values between the speed measuring tag and each base station in a bidirectional distance measuring mode, positioning the speed measuring tag according to the distance values between the speed measuring tag and each base station, and acquiring coordinate information of the speed measuring tag;

acquiring the moving track of the user in the swimming pool according to the coordinate information of the speed measuring label and recording the displacement direction of the user;

and carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user.

2. The method for acquiring and displaying swimming speed measurement data according to claim 1, wherein the step of acquiring the coordinate information of the speed measurement tag by acquiring the distance value between the speed measurement tag and each base station in a two-way distance measurement manner in combination with the coordinate information of a plurality of base stations in the base station mapping information and positioning the speed measurement tag according to the distance value between the speed measurement tag and each base station comprises:

selecting three base stations from the plurality of base stations, and acquiring coordinate information of the three base stations and distance values between the base stations and the speed measurement tags;

aiming at each base station, performing circle drawing processing by taking the coordinate position of the base station as the center of a circle and the distance value between the base station and the speed measuring label as the radius according to the coordinate information to obtain a positioning circle corresponding to the base station;

and taking the unique intersection point obtained by intersecting the three positioning circles corresponding to the three base stations as the positioning point of the speed measuring label, and configuring the coordinate information of the positioning point as the coordinate information of the speed measuring label.

3. The method for acquiring and displaying swimming speed measurement data according to claim 2, wherein before the step of using the unique intersection point obtained by intersecting the three positioning circles corresponding to the three base stations as the positioning point of the speed measurement tag and configuring the coordinate information of the positioning point as the coordinate information of the speed measurement tag, the method further comprises:

identifying the position relation among the three positioning circles, wherein the position relation comprises three circles which are intersected and have a unique intersection point, three circles which are intersected and have more than one intersection point, and at least one of the three circles which is not intersected;

if the mutual position relation of the three positioning circles is that the three circles are intersected and more than one intersection point exists, carrying out equal-proportion reduction processing on the three circles until the three circles are intersected and the intersection point exists only; and if the mutual position relation of the three positioning circles is that at least one of the three circles does not intersect, carrying out equal-proportion amplification processing on the three circles until the three circles intersect and have a unique intersection point.

4. The method for acquiring and displaying swimming speed measurement data according to claim 1, wherein the step of acquiring the coordinate information of the speed measurement tag by acquiring the distance value between the speed measurement tag and each base station in a two-way distance measurement manner in combination with the coordinate information of a plurality of base stations in the base station mapping information, and positioning the speed measurement tag according to the distance value between the speed measurement tag and each base station, further comprises:

comparing the coordinate information of the speed measuring label with the information of the coverage area of the swimming pool, and judging whether the speed measuring label is positioned in the coverage area of the swimming pool;

and if the speed measuring label is not in the coverage area range of the swimming pool, stopping acquiring the coordinate information of the speed measuring label and sending reminding information to a user.

5. The method for acquiring and displaying swimming speed measurement data according to claim 1, wherein the step of acquiring the coordinate information of the speed measurement tag by acquiring the distance value between the speed measurement tag and each base station in a two-way distance measurement manner in combination with the coordinate information of a plurality of base stations in the base station mapping information, and positioning the speed measurement tag according to the distance value between the speed measurement tag and each base station, further comprises:

calculating a time length value of coordinate information of the speed measuring label obtained from the previous time;

comparing the time length value with a preset time length threshold value, and judging whether the time length value exceeds the preset time length threshold value;

and if the time length value exceeds a preset time length threshold value, stopping acquiring the coordinate information of the speed measuring label and sending reminding information to a user.

6. The method for acquiring and displaying swimming speed measurement data according to any one of claims 1-5, wherein the step of performing speed measurement analysis on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result and displaying the speed measurement data result to the user comprises:

calculating average speed data, integral displacement data and integral duration data of the user in the swimming process; or/and

and calculating displacement data, duration data and speed data of each displacement segment divided according to the coordinate position.

7. A velocimetry system, for implementing a method according to any of claims 1 to 6, comprising: the system comprises a speed measurement tag, a base station, a management background and a client; the speed measuring label is used for positioning a user; the base station communicates with the speed measuring tag and acquires coordinate information of the position of the speed measuring tag in a bidirectional distance measuring mode; the management background is used for receiving the coordinate information of the position where the speed measuring label is located, performing speed measuring analysis processing on the swimming process of the user to obtain a corresponding speed measuring data result and sending the speed measuring data result to the client; and the client is used for receiving the speed measurement data result sent by the management background and displaying the speed measurement data result.

8. The utility model provides an acquisition and display device of swimming speed measurement data which characterized in that, acquisition and display device of swimming speed measurement data includes:

the system comprises a sending module, a speed measuring module and a control module, wherein the sending module is used for providing base station mapping information based on swimming pool arrangement for a speed measuring label worn by a user, and the base station mapping information comprises coordinate information of a plurality of base stations;

the positioning module is used for acquiring distance values between the speed measuring tag and each base station in a bidirectional distance measuring mode by combining coordinate information of a plurality of base stations in the base station mapping information, positioning the speed measuring tag according to the distance values between the speed measuring tag and each base station, and acquiring coordinate information of the speed measuring tag;

the acquisition module is used for acquiring the moving track of the user in the swimming pool according to the coordinate information of the speed measuring label and recording the displacement direction of the user;

and the analysis module is used for carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user.

9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for acquiring and displaying swimming speed measurement data according to any one of claims 1 to 6 when executing the computer program.

10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the method for acquiring and displaying swimming speed measurement data according to any one of claims 1 to 6.

Technical Field

The application belongs to the technical field of electronic communication, and particularly relates to a swimming speed measurement data acquisition and display method and device, a speed measurement system thereof, and electronic equipment and a storage medium for executing the swimming speed measurement data acquisition and display method.

Background

Swimming is an important activity in sports, and in recent years, swimming is taken as one of examination subjects of junior graduate school exams in many provinces and cities. When a candidate examinee carries out candidate training for swimming, data services such as accurate swimming distance, swimming duration and swimming speed need to be acquired. Some existing methods for measuring speed of swimming are generally to set a touch sensor on the wall of the swimming pool, start timing when a person starts from a starting point, then press the touch sensor on the wall of the pool with a finger at an end point, so as to obtain the arrival time, calculate the distance from the starting point to the end point, and count the interval time from the starting point to the end point, so as to calculate the average speed from the starting point to the end point of the swimming pool. However, many swimming places are often limited in places, so that the arrangement of the swimming pool is irregular and the size of the swimming pool is not standard. Therefore, the accuracy of the method for detecting the swimming speed through the touch pressure sensor is not high, and the method can only obtain one average speed data, so that the speed measurement data is single, and accurate data service cannot be provided for the examinee.

Disclosure of Invention

In view of this, the embodiment of the present application provides a method and a device for acquiring and displaying swimming speed measurement data, and a speed measurement system thereof, and also relates to an electronic device and a storage medium for executing the method for acquiring and displaying the swimming speed measurement data, which are intended to at least solve the problem of inaccurate swimming speed measurement caused by irregular swimming pools and nonstandard sizes.

The first aspect of the embodiment of the application provides a method for acquiring and displaying swimming speed measurement data, which comprises the following steps:

providing base station mapping information based on swimming pool arrangement for a speed measurement label worn by a user, wherein the base station mapping information comprises coordinate information of a plurality of base stations;

combining coordinate information of a plurality of base stations in the base station mapping information, acquiring distance values between the speed measuring tag and each base station in a bidirectional distance measuring mode, positioning the speed measuring tag according to the distance values between the speed measuring tag and each base station, and acquiring coordinate information of the speed measuring tag;

acquiring the moving track of the user in the swimming pool according to the coordinate information of the speed measuring label and recording the displacement direction of the user;

and carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user.

With reference to the first aspect, in a first possible implementation manner of the first aspect, the step of obtaining the coordinate information of the speed measurement tag by using a bidirectional distance measurement manner to obtain a distance value between the speed measurement tag and each base station and positioning the speed measurement tag according to the distance value between the speed measurement tag and each base station includes:

selecting three base stations from the plurality of base stations, and acquiring coordinate information of the three base stations and distance values between the base stations and the speed measurement tags;

aiming at each base station, performing circle drawing processing by taking the coordinate position of the base station as the center of a circle and the distance value between the base station and the speed measuring label as the radius according to the coordinate information to obtain a positioning circle corresponding to the base station;

and taking the unique intersection point obtained by intersecting the three positioning circles corresponding to the three base stations as the positioning point of the speed measuring label, and configuring the coordinate information of the positioning point as the coordinate information of the speed measuring label.

With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, before the step of using a unique intersection point obtained by intersecting three positioning circles corresponding to the three base stations as a positioning point of the speed measurement tag and configuring coordinate information of the positioning point as coordinate information of the speed measurement tag, the method further includes:

identifying the position relation among the three positioning circles, wherein the position relation comprises three circles which are intersected and have a unique intersection point, three circles which are intersected and have more than one intersection point, and at least one of the three circles which is not intersected;

if the mutual position relation of the three positioning circles is that the three circles are intersected and more than one intersection point exists, carrying out equal-proportion reduction processing on the three circles until the three circles are intersected and the intersection point exists only; and if the mutual position relation of the three positioning circles is that at least one of the three circles does not intersect, carrying out equal-proportion amplification processing on the three circles until the three circles intersect and have a unique intersection point.

With reference to the first aspect, in a third possible implementation manner of the first aspect, the step of, in combination with coordinate information of a plurality of base stations in the base station mapping information, obtaining a distance value between the speed measurement tag and each base station in a bidirectional distance measurement manner, and positioning the speed measurement tag according to the distance value between the speed measurement tag and each base station to obtain the coordinate information of the speed measurement tag further includes:

comparing the coordinate information of the speed measuring label with the information of the coverage area of the swimming pool, and judging whether the speed measuring label is positioned in the coverage area of the swimming pool;

and if the speed measuring label is not in the coverage area range of the swimming pool, stopping acquiring the coordinate information of the speed measuring label and sending reminding information to a user.

With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the step of, in combination with coordinate information of a plurality of base stations in the base station mapping information, obtaining a distance value between the speed measurement tag and each base station in a bidirectional distance measurement manner, and positioning the speed measurement tag according to the distance value between the speed measurement tag and each base station to obtain the coordinate information of the speed measurement tag further includes:

calculating a time length value of coordinate information of the speed measuring label obtained from the previous time;

comparing the time length value with a preset time length threshold value, and judging whether the time length value exceeds the preset time length threshold value;

and if the time length value exceeds a preset time length threshold value, stopping acquiring the coordinate information of the speed measuring label and sending reminding information to a user.

With reference to the first aspect and any one of the first to the fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the step of performing speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user includes:

calculating average speed data, integral displacement data and integral duration data of the user in the swimming process; or/and

and calculating displacement data, duration data and speed data of each displacement segment divided according to the coordinate position.

A second aspect of the embodiments of the present application provides a speed measurement system, where the speed measurement system is configured to implement the method according to any one of the first aspect, and the method includes: the system comprises a speed measurement tag, a base station, a management background and a client; the speed measuring label is used for positioning a user; the base station communicates with the speed measuring tag and acquires coordinate information of the position of the speed measuring tag in a bidirectional distance measuring mode; the management background is used for receiving the coordinate information of the position where the speed measuring label is located, performing speed measuring analysis processing on the swimming process of the user to obtain a corresponding speed measuring data result and sending the speed measuring data result to the client; and the client is used for receiving the speed measurement data result sent by the management background and displaying the speed measurement data result.

The third aspect of the embodiment of the present application provides an acquisition and display device of swimming speed measurement data, the acquisition and display device of swimming speed measurement data includes:

the system comprises a sending module, a speed measuring module and a control module, wherein the sending module is used for providing base station mapping information based on swimming pool arrangement for a speed measuring label worn by a user, and the base station mapping information comprises coordinate information of a plurality of base stations;

the positioning module is used for acquiring distance values between the speed measuring tag and each base station in a bidirectional distance measuring mode by combining coordinate information of a plurality of base stations in the base station mapping information, positioning the speed measuring tag according to the distance values between the speed measuring tag and each base station, and acquiring coordinate information of the speed measuring tag;

the acquisition module is used for acquiring the moving track of the user in the swimming pool according to the coordinate information of the speed measuring label and recording the displacement direction of the user;

and the analysis module is used for carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user.

A fourth aspect of the embodiments of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for acquiring and displaying swimming speed measurement data according to any one of the first aspect when executing the computer program.

A fifth aspect of the embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for acquiring and displaying swimming speed measurement data according to any one of the first aspect.

Compared with the prior art, the embodiment of the application has the advantages that:

this application is through the basic station survey and drawing information based on the swimming pool is laid, and the mode through two-way range finding is fixed a position this user's coordinate information to this user in-process in succession swimming, and then obtains the removal orbit and the record of user in the swimming pool according to coordinate information user's displacement direction for the data that tests the speed is irrelevant with the shape and the size of swimming pool, can avoid because the swimming pool sets up and has the condition that there is irregularity, size nonstandard and lead to swimming to test the inaccurate problem of speed, can still accurately test the speed in nonstandard swimming pool promptly. Moreover, the user is continuously positioned in the swimming process of the user in a bidirectional distance measurement mode to obtain the coordinate information of the user, so that the moving track of the user in the swimming pool can be accurately reflected, speed measurement analysis is carried out according to the moving track, various speed measurement data such as average speed, integral distance, integral duration, fastest speed, distance, duration, speed and the like of each displacement section divided according to the coordinate position can be provided for the user, and data service is conveniently provided for the user.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions 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 it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a schematic flow chart of a basic method for acquiring and displaying swimming speed measurement data according to an embodiment of the present disclosure;

fig. 2 is a schematic diagram of a speed measurement data result displayed to a user in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 3 is a schematic flow chart of a method for acquiring coordinate information of a speed measurement tag in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 4 is a schematic positioning diagram when the speed measurement tag coordinate information is obtained by constructing an algorithm equation set in the method for obtaining and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 5 is a schematic flow chart of another method for acquiring coordinate information of a speed measurement tag in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 6 is a schematic diagram illustrating a positional relationship between positioning circles in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 7 is a schematic flow chart of a method for determining whether to acquire coordinate information of a speed measurement tag in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 8 is a schematic flow chart of another method for determining whether to obtain coordinate information of a speed measurement tag in the method for obtaining and displaying swimming speed measurement data according to the embodiment of the present application;

fig. 9 is a schematic structural diagram of a speed measurement system according to an embodiment of the present application;

fig. 10 is a schematic structural diagram of a device for acquiring and displaying swimming speed measurement data according to an embodiment of the present application;

fig. 11 is a schematic view of an electronic device for implementing a method for acquiring and displaying swimming speed measurement data according to an embodiment of the present application.

Detailed Description

In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.

In some embodiments of the present application, please refer to fig. 1, and fig. 1 is a schematic flow chart of a basic method for acquiring and displaying swimming speed measurement data according to an embodiment of the present application, which is detailed as follows:

in step S11, base station mapping information based on the swimming pool layout is provided to the speed measurement tag worn by the user, wherein the base station mapping information includes coordinate information of a plurality of base stations.

In this embodiment, the number of base stations and the base station positioning points are determined according to the actual size of the swimming pool, and then the base stations are arranged for the swimming pool according to the base station positioning points and the number of the base stations, so as to construct a speed measurement system for the swimming pool. In this embodiment, the number of base stations in the velocity measurement system is greater than or equal to 3. In this embodiment, a two-dimensional planar coordinate system is constructed by selecting one of the base stations arranged for the swimming pool as the origin of coordinates, then mapping the remaining base stations according to the planar coordinate system to determine the coordinate information corresponding to each base station, and backing up the coordinate information of all the base stations in the management background of the speed measurement system, thereby constructing a speed measurement system for the swimming pool. Based on this system of testing the speed, the user only needs to get into this swimming pool swimming through wearing the label that tests the speed that matches with this system of testing the speed, can trigger the system of testing the speed and carry out the swimming according to this user's swimming process in the swimming pool and test the speed to this user, obtains this user's swimming data of testing the speed. In this embodiment, before the user worn the label that tests the speed and got into the swimming pool, through the label communication connection that tests the speed of wearing with the user, the label that tests the speed of wearing to the user provides the basic station mapping information who lays based on the swimming pool to in the position that the user is located in the swimming pool is confirmed to the coordinate information of a plurality of basic station that contains in the basic station mapping information.

In step S12, the coordinate information of a plurality of base stations in the base station mapping information is combined, a distance value between the speed measurement tag and each base station is obtained in a bidirectional distance measurement manner, and the speed measurement tag is located according to the distance value between the speed measurement tag and each base station, so as to obtain the coordinate information of the speed measurement tag.

In this embodiment, the speed measurement tag communicates with each base station installed in the swimming pool, for example, UWB (ultra wide band) is a carrier-free communication technology, and data is transmitted by using nanosecond to microsecond non-sine wave narrow pulses. In this embodiment, based on the communication between the velocity measurement tag and each base station, a two-way ranging (Time Of Flight, abbreviated as TOF) manner is adopted to obtain a distance value between the velocity measurement tag and each base station. After the distance values between the speed measuring label and each base station are obtained, if the number of the base stations arranged based on the swimming pool is more than 3, 3 base stations are selected from the plurality of base stations, the position of the speed measuring label in a plane coordinate system is determined by adopting a three-point positioning algorithm according to the coordinate information of the 3 base stations, and then the coordinate information corresponding to the position is obtained to be used as the coordinate information of the speed measuring label.

In step S13, the moving track of the user in the swimming pool is obtained according to the coordinate information of the speed measurement tag, and the displacement direction of the user is recorded.

In this embodiment, the moving track of the user in the swimming pool is formed by connecting positions corresponding to the coordinate information of the plurality of speed measuring labels in time sequence, and the speed measuring labels can be positioned continuously. In this embodiment, the displacement direction of the user is recorded in real time during the process of continuously positioning the speed measurement tag, for example, when the speed measurement tag is positioned to obtain the second coordinate information, in the planar coordinate system, the position corresponding to the first coordinate information obtained by positioning the speed measurement tag points to the position corresponding to the second coordinate information obtained by positioning the speed measurement tag at the time, so as to record the displacement direction of the user in real time. By analogy, when the third coordinate information obtained by positioning the speed measuring label is obtained, the position corresponding to the second coordinate information points to the position corresponding to the third coordinate information obtained by positioning the speed measuring label at the moment, so that the displacement direction of the second user is recorded in real time. When the speed measuring label is positioned to obtain a new coordinate information, the position corresponding to the coordinate information obtained before points to the position corresponding to the coordinate information obtained newly, so that a new displacement direction is recorded in real time until the speed measuring label is stopped being positioned.

Step S14: and carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user.

In this embodiment, a corresponding timestamp is provided at a position corresponding to each coordinate information in the moving track, and the timestamp represents time information of the user at the position of the coordinate point. After obtaining a moving track and a displacement direction of a user in a swimming process, performing speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction, for example, calculating a distance value between two coordinate positions according to a coordinate point for a coordinate position in the moving track, and obtaining the displacement between the two coordinate positions by combining the distance value with the displacement direction recorded for the two coordinate positions before. For example, the time length taken to move from one coordinate position to another coordinate position in the displacement direction may be calculated based on the time stamps corresponding to the two coordinate positions. Based on the displacement between the two coordinate positions obtained by the above calculation and the corresponding time length, the speed of the user between the two coordinate positions can be calculated according to the formula of displacement-speed-time length. In this embodiment, according to the speed measurement analysis processing, speed measurement data such as an average speed, an overall distance, an overall duration, a fastest speed of the user swimming this time, and distances, durations, and speeds of displacement segments divided according to the coordinate position can be calculated according to the coordinate position recorded in the moving track.

It can be understood that, in this embodiment, the precision of the speed measurement data result displayed to the user may be flexibly set according to the requirement of the user, for example, the corresponding displacement distance and the time spent on each two adjacent coordinate positions in the moving track may be calculated, or the corresponding displacement distance and the time spent on each n coordinate positions may be calculated, and at this time, the data of the first and last coordinate positions are used for calculation. Furthermore, the speed of each displacement segment divided according to the coordinate position can be displayed in a data visualization chart mode.

It can be understood that, in the present embodiment, please refer to fig. 2 together, and fig. 2 is a schematic diagram of a speed measurement data result displayed to a user in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application. As shown in fig. 2, a moving track generation diagram of the user swimming is shown to the user.

The method for acquiring and displaying swimming speed measurement data provided by the embodiment continuously positions the user to acquire the coordinate information of the user in the swimming process of the user through a speed measurement system constructed based on the swimming pool in a bidirectional distance measurement mode, and further obtains the moving track of the user in the swimming pool according to the coordinate information and records the displacement direction of the user, so that the speed measurement data is unrelated to the shape and the size of the swimming pool, and the problem of inaccurate swimming speed measurement caused by the fact that the swimming pool is irregular and the size of the swimming pool is not standard can be solved. Moreover, the user is continuously positioned in the swimming process of the user in a bidirectional distance measurement mode to obtain the coordinate information of the user, so that the moving track of the user in the swimming pool can be accurately reflected, speed measurement analysis is carried out according to the moving track, various speed measurement data such as average speed, integral distance, integral duration, fastest speed, distance, duration, speed and the like of each displacement section divided according to the coordinate position can be provided for the user, and data service is conveniently provided for the user.

In some embodiments of the present application, please refer to fig. 3 and 4, fig. 3 is a schematic flow chart of a method for acquiring coordinate information of a speed measurement tag in the method for acquiring and displaying swimming speed measurement data according to the embodiments of the present application; fig. 4 is a schematic positioning diagram when the speed measurement tag coordinate information is obtained by constructing an algorithm equation set in the method for obtaining and displaying swimming speed measurement data according to the embodiment of the present application. The details are as follows:

step S31: selecting three base stations from the plurality of base stations, and acquiring coordinate information of the three base stations and distance values between the base stations and the speed measurement tags;

step S32: aiming at each base station, performing circle drawing processing by taking the coordinate position of the base station as the center of a circle and the distance value between the base station and the speed measuring label as the radius according to the coordinate information to obtain a positioning circle corresponding to the base station;

step S33: and taking the unique intersection point obtained by intersecting the three positioning circles corresponding to the three base stations as the positioning point of the speed measuring label, and configuring the coordinate information of the positioning point as the coordinate information of the speed measuring label.

In this embodiment, if the number of base stations laid based on the swimming pool is more than 3, the base station can be selected to be used for positioning the speed measurement tag, wherein the positions of the selected three base stations are not collinear. Specifically, after 3 base stations are selected, coordinate information of the three base stations and a distance value between the 3 base stations and a speed measurement tag, which is measured by a bidirectional distance measurement mode, are obtained, then a three-point positioning algorithm is adopted, for each base station in the 3 base stations, a circle is drawn by taking a position corresponding to the coordinate information of the base station as a circle center and taking a distance value between the base station and the speed measurement tag, which is measured before and the distance value is taken as a radius, so that a corresponding positioning circle is obtained, after the three positioning circles are obtained, a unique intersection point generated by intersection of the three positioning circles is identified, the unique intersection point is taken as a positioning point of the speed measurement tag, and further, coordinate information corresponding to the positioning point is obtained and is configured into the coordinate information of the speed measurement tag. As shown in fig. 4, the three-point positioning algorithm can construct an algorithm equation set for determining the coordinate information of the speed measurement tag by using the coordinate information of three base stations (e.g., base station 1, base station 2, and base station 3) and corresponding distance values between the base stations and the speed measurement tag, where the specific algorithm equation set is as follows:

wherein, (x, y) represents the position of the speed measuring label in the plane coordinate system; (x)1,y1) Expressed as coordinate information of the base station 1 in a planar coordinate system, d1The distance value from the base station 1 to the position where the speed measurement tag is located is represented; (x)2,y2) Expressed as coordinate information of the base station 2 in a planar coordinate system, d2The distance value from the base station 2 to the position where the speed measurement tag is located is represented; (x)3,y3) Expressed as coordinate information of the base station 3 in a planar coordinate system, d3Expressed as the distance value between the base station 3 and the position where the speed measuring label is correspondingly positioned.

In this embodiment, the coordinate information of the three base stations and the distance value between the corresponding base station and the velocity measurement tag are substituted into the above algorithm equation set to solve unique data values of x and y, respectively, where the unique data values are the coordinate information (x, y) of the velocity measurement tag in the planar coordinate system.

In some embodiments of the present application, please refer to fig. 5 and 6, fig. 5 is a schematic flow chart of another method for acquiring coordinate information of a speed measurement tag in the method for acquiring and displaying swimming speed measurement data according to the embodiments of the present application; fig. 6 is a schematic view of a positional relationship between positioning circles in the method for acquiring and displaying swimming speed measurement data according to the embodiment of the present application. The details are as follows:

step S51: identifying the position relation among the three positioning circles, wherein the position relation comprises three circles which are intersected and have a unique intersection point, three circles which are intersected and have more than one intersection point, and at least one of the three circles which is not intersected;

step S52: if the mutual position relation of the three positioning circles is that the three circles are intersected and more than one intersection point exists, carrying out equal-proportion reduction processing on the three circles until the three circles are intersected and the intersection point exists only; and if the mutual position relation of the three positioning circles is that at least one of the three circles does not intersect, carrying out equal-proportion amplification processing on the three circles until the three circles intersect and have a unique intersection point.

In this embodiment, due to the influences of signal interference, inaccurate mapping, object movement and the like, the distance value between the base station and the velocity measurement tag obtained by bidirectional distance measurement is difficult to have zero error in most cases, and therefore, when the velocity measurement tag is positioned by adopting a three-point positioning algorithm, the three positioning circles may have the situation that the three positioning circles are not intersected and have a unique intersection point. Therefore, before the coordinate information of the speed measurement tag is acquired, the size of the three positioning circles can be adjusted according to the position relationship by identifying the position relationship of the three positioning circles, so that the three positioning circles are adjusted until there is only one intersection point. In this embodiment, after the circle drawing process is performed based on three base stations, the positional relationship between the three positioning circles is identified, wherein the positional relationship between the three positioning circles is roughly divided into the following three types: the first is that ideally three circles intersect and have a unique intersection point, the second is that three circles intersect and have more than one intersection point (e.g., fig. 6-a), and the third is that at least one circle does not intersect (e.g., fig. 6-b). For the above three positional relationships, the first one may directly obtain the unique intersection point as the location point of the speed measurement tag without adjusting the size of the location circle, while for the second and third ones, since one unique intersection point cannot be determined, the sizes of the three location circles need to be adjusted through smoothing processing (for example, fig. 6-c) so as to adjust the three location circles until one unique intersection point can be determined. In the present embodiment, the smoothing process includes: for three positioning circles with the position relation of three intersected circles and more than one intersection point, carrying out equal-scale reduction processing on the three circles until the three circles are intersected and have the only intersection point; and for the position relation that at least one of the three circles does not intersect, carrying out equal-proportion amplification treatment on the three circles until the three circles intersect and have a unique intersection point. Based on the smoothing processing, the problem that the unique intersection point cannot be determined in the actual positioning process can be solved.

In some embodiments of the present application, the base station mapping information based on pool layout further includes information about the coverage area of the pool. Referring to fig. 7, fig. 7 is a schematic flow chart illustrating a method for determining whether to acquire coordinate information of a speed measurement tag in a method for acquiring and displaying swimming speed measurement data according to an embodiment of the present application. The details are as follows:

step S71: comparing the coordinate information of the speed measuring label with the information of the coverage area of the swimming pool, and judging whether the speed measuring label is positioned in the coverage area of the swimming pool;

step S72: and if the speed measuring label is not in the coverage area range of the swimming pool, stopping acquiring the coordinate information of the speed measuring label and sending reminding information to a user.

In this embodiment, when constructing the speed measuring system for the swimming pool, still include the coverage area scope Of survey and drawing swimming pool, can specifically fix a position and obtain a plurality Of setpoint coordinates around the swimming pool through holding the label that tests the speed that matches with this speed measuring system around the swimming pool a week, communication through testing the speed between label and each basic station adopts two-way range finding (Time Of Flight, for short TOF)'s mode, connect gradually these coordinates and can form the coverage area scope Of swimming pool, the coverage area information Of swimming pool includes the position and the area that this coverage area scope is located. In this embodiment, the coverage area is an effective speed measurement area of the speed measurement system, only the positioning data in the coverage area is valid, and once the coverage area leaves the coverage area, the coordinate information of the speed measurement tag is invalid. From this, the system of testing the speed when carrying out the swimming speed measurement according to the swimming process of user in the swimming pool, can be through based on plane coordinate system, the coordinate information that will test the speed the label according to coordinate point position compares with the coverage area information of swimming pool, judges whether the label that tests the speed is located the coverage area within range of swimming pool, wherein, if the coordinate point position of the coordinate information sign of the label that tests the speed is a point in the area within range of swimming pool coverage area, then can judge the label that tests the speed in the coverage area within range of swimming pool, otherwise judge that the label that tests the speed is not in the coverage area within range of swimming pool. If the speed measurement label is not in the coverage area range of the swimming pool, the user is indicated to leave the swimming pool, and at the moment, the speed measurement system is triggered to stop obtaining the coordinate information of the speed measurement label and sending reminding information to the user.

In some embodiments of the present application, please refer to fig. 8, and fig. 8 is a schematic flow chart of another method for determining whether to obtain coordinate information of a speed measurement tag in the method for obtaining and displaying swimming speed measurement data according to the embodiments of the present application. The details are as follows:

step S81: calculating a time length value of coordinate information of the speed measuring label obtained from the previous time;

step S82: comparing the time length value with a preset time length threshold value, and judging whether the time length value exceeds the preset time length threshold value;

step S83: and if the time length value exceeds a preset time length threshold value, stopping acquiring the coordinate information of the speed measuring label and sending reminding information to a user.

In the embodiment, in the process of swimming speed measurement of a user, a corresponding timestamp is recorded every time the speed measurement tag is positioned, in the embodiment, when the speed measurement tag is positioned, the time length value of the current time from the last time to coordinate information of the speed measurement tag is calculated by using the timestamp correspondingly recorded in the previous positioning, whether the time length value of the current time from the previous positioning exceeds a preset time length threshold value is judged by comparing the time length value with the preset time length threshold value, if the time length value exceeds the preset time length threshold value, interruption of the swimming process of the user is explained, at this moment, the acquisition of the coordinate information of the speed measurement tag is stopped, and reminding information is sent to the user.

It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

In some embodiments of the present application, please refer to fig. 9, and fig. 9 is a schematic structural diagram of a speed measurement system according to an embodiment of the present application. The speed measuring system is used for realizing the steps of the method embodiments. As shown in fig. 9, the speed measurement system includes a speed measurement tag 91, a base station 92, a management background 93, and a client 94. The speed measuring label 91 is used for positioning a user. In this embodiment, the label that tests the speed is for wearing equipment, tests the speed under the swimming pool scene, based on the interference of water to the signal, can wear the label that tests the speed in user's head. Wherein the label that tests the speed sets up to the buckle form, be different from when wearing on swimming cap or goggles can. The base station 92 communicates with the speed measurement tag 91, and acquires coordinate information of the position of the speed measurement tag 91 in a bidirectional distance measurement manner; the management background 93 is configured to receive coordinate information of a position where the speed measurement tag 91 is located, perform speed measurement analysis on the swimming process of the user to obtain a corresponding speed measurement data result, and send the speed measurement data result to the client 94; the client 94 is configured to receive the speed measurement data result sent by the management background 93 and display the speed measurement data result. In this embodiment, can also include a storing compartment 95 that charges for placing label 91 tests the speed, can put back the label that tests the speed and should charge in the storing compartment that charges with the value after the user uses up the label that tests the speed, has been ready for the next use. Moreover, management platform 93 is connected with the 95 communication of the storing compartment that charges to in will be based on the basic station mapping information that the swimming pool was laid synchronous this storing compartment 95 that charges, when label 91 tests the speed and puts charging in the storing compartment 95 that charges, the storing compartment 95 that charges can be through the mode of electrocution with basic station mapping information synchronous to in the mapping label 91. In this embodiment, the speed measurement tag 91 may further select different speed measurement modes, for example, a single-pass mode or a full-range mode, the single-pass mode may set a single-pass distance (for example, 50 meters, 100 meters, 200 meters, and the like), the user may prepare by clicking a start button, then the management background 93 records the position and the current time of the speed measurement tag 91, and when the displacement of the speed measurement tag 91 exceeds 1m or the UWB signal disappears, timing is started, so as to remove an error caused by preparation work such as wearing the speed measurement tag 91 by the user. During one-way speed measurement, the label displacement is calculated through the management background 93, the one-way residual distance is sent to the speed measurement label 91 and the client for display in real time, and when the displacement of the speed measurement label 91 reaches a set target in one way, a vibration device in the speed measurement label 91 is triggered to perform vibration reminding and stop one-way speed measurement, and the time length used in one way is displayed.

In some embodiments of the present application, please refer to fig. 10, and fig. 10 is a schematic structural diagram of a device for acquiring and displaying swimming speed measurement data according to an embodiment of the present application, which is detailed as follows:

the swimming speed measurement data acquisition and display device comprises: a sending module 1001, a positioning module 1002, an obtaining module 1003 and an analyzing module 1004. The sending module 1001 is configured to provide base station mapping information based on swimming pool arrangement to a speed measurement tag worn by a user, where the base station mapping information includes coordinate information of a plurality of base stations. The positioning module 1002 is configured to obtain a distance value between the speed measurement tag and each base station in a bidirectional distance measurement manner by combining coordinate information of a plurality of base stations in the base station mapping information, and position the speed measurement tag according to the distance value between the speed measurement tag and each base station, so as to obtain coordinate information of the speed measurement tag. The obtaining module 1003 is configured to obtain a moving track of the user in the swimming pool according to the coordinate information of the speed measurement tag and record a displacement direction of the user. The analysis module 1004 is configured to perform speed measurement analysis processing on the swimming process of the user according to the movement track and the displacement direction to obtain a corresponding speed measurement data result, and display the speed measurement data result to the user.

The swimming speed measurement data acquisition and display device corresponds to the swimming speed measurement data acquisition and display method one by one.

In some embodiments of the present application, please refer to fig. 11, and fig. 11 is a schematic view of an electronic device for implementing a method for acquiring and displaying swimming speed measurement data according to an embodiment of the present application. As shown in fig. 11, the electronic apparatus 110 of this embodiment includes: a processor 1101, a memory 1102 and a computer program 1103 stored in the memory 1102 and operable on the processor 1101, such as a program for acquiring and presenting swimming speed measurement data. The processor 1101 executes the computer program 1102 to implement the steps in the above-mentioned method embodiments for acquiring and displaying swimming speed measurement data. Alternatively, the processor 1101 implements the functions of each module/unit in each device embodiment described above when executing the computer program 1103.

Illustratively, the computer program 1103 may be partitioned into one or more modules/units that are stored in the memory 1102 and executed by the processor 1101 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 1103 in the electronic device 110. For example, the computer program 1103 may be divided into:

the system comprises a sending module, a speed measuring module and a control module, wherein the sending module is used for providing base station mapping information based on swimming pool arrangement for a speed measuring label worn by a user, and the base station mapping information comprises coordinate information of a plurality of base stations;

the positioning module is used for acquiring distance values between the speed measuring tag and each base station in a bidirectional distance measuring mode by combining coordinate information of a plurality of base stations in the base station mapping information, positioning the speed measuring tag according to the distance values between the speed measuring tag and each base station, and acquiring coordinate information of the speed measuring tag;

the acquisition module is used for acquiring the moving track of the user in the swimming pool according to the coordinate information of the speed measuring label and recording the displacement direction of the user;

and the analysis module is used for carrying out speed measurement analysis processing on the swimming process of the user according to the moving track and the displacement direction to obtain a corresponding speed measurement data result, and displaying the speed measurement data result to the user.

The electronic device may include, but is not limited to, a processor 1101, a memory 1102. Those skilled in the art will appreciate that fig. 11 is merely an example of an electronic device 110 and does not constitute a limitation of electronic device 110 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.

The Processor 1101 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

The storage 1102 may be an internal storage unit of the electronic device 110, such as a hard disk or a memory of the electronic device 110. The memory 1102 may also be an external storage device of the electronic device 110, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 110. Further, the memory 1102 may also include both internal storage units and external storage devices of the electronic device 110. The memory 1102 is used for storing the computer programs and other programs and data required by the electronic device. The memory 1102 may also be used to temporarily store data that has been output or is to be output.

It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种移动式搏击实战训练器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!