CN110384903B - Swimming state detection method and device, swimming bracelet and storage medium - Google Patents

Swimming state detection method and device, swimming bracelet and storage medium Download PDF

Info

Publication number
CN110384903B
CN110384903B CN201910694249.XA CN201910694249A CN110384903B CN 110384903 B CN110384903 B CN 110384903B CN 201910694249 A CN201910694249 A CN 201910694249A CN 110384903 B CN110384903 B CN 110384903B
Authority
CN
China
Prior art keywords
user
information
swimming
water density
swimming state
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.)
Active
Application number
CN201910694249.XA
Other languages
Chinese (zh)
Other versions
CN110384903A (en
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.)
Shanghai Moruan Communication Technology Co Ltd
Original Assignee
Shanghai Moruan Communication 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 Shanghai Moruan Communication Technology Co Ltd filed Critical Shanghai Moruan Communication Technology Co Ltd
Priority to CN201910694249.XA priority Critical patent/CN110384903B/en
Publication of CN110384903A publication Critical patent/CN110384903A/en
Application granted granted Critical
Publication of CN110384903B publication Critical patent/CN110384903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A44HABERDASHERY; JEWELLERY
    • A44CPERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
    • A44C5/00Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
    • A44C5/0007Bracelets specially adapted for other functions or with means for attaching other articles
    • AHUMAN NECESSITIES
    • A44HABERDASHERY; JEWELLERY
    • A44CPERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
    • A44C5/00Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
    • A44C5/0007Bracelets specially adapted for other functions or with means for attaching other articles
    • A44C5/003Bracelets specially adapted for other functions or with means for attaching other articles with a storage compartment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B31/00Swimming aids
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/14Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measurement of pressure
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N9/00Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity
    • G01N9/08Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity by measuring buoyant force of solid materials by weighing both in air and in a liquid
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2244/00Sports without balls
    • A63B2244/20Swimming

Landscapes

  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Fluid Mechanics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Electric Clocks (AREA)

Abstract

The embodiment of the invention relates to the field of swimming bracelets and discloses a swimming state detection method and device, a swimming bracelet and a storage medium. In the invention, when a swimming state detection instruction is received, the water density of the current environment is obtained; correcting the detected swimming state information of the user according to the acquired water density; wherein the swimming state information of the user at least comprises: the water depth information of the user or the calorie information consumed by the user; and the corrected swimming state information is used as the final swimming state information of the user, and the detected swimming state information of the user is corrected through the water density, so that the obtained water depth information of the user and the calorie information consumed by the user are more accurate.

Description

Swimming state detection method and device, swimming bracelet and storage medium
Technical Field
The embodiment of the invention relates to the field of swimming bracelets, in particular to a swimming state detection method and device, a swimming bracelet and a storage medium.
Background
Swimming is increasingly popular as a general sport. People can improve the physique of the people through swimming, strengthen the heart and lung function and exercise the coordination of hands and feet. On the other hand, when the summer weather is hot, the swimming pool environment and other pool environments can help people to cool and relieve summer heat, and people feel comfortable. People are when swimming, in order to detect self state, know self health condition, can wear swimming bracelet, can detect the information such as the depth of water and the present calorie that consumes that the user is located through swimming bracelet to make the time that the user can more effectual planning swimming, play the purpose of taking exercise the health.
The inventors found that at least the following problems exist in the related art: because the swimming bracelet detects the fixed of the rule that the user is in the depth of water or the user consumes calories at present, when the place environment that the user swims is different, can lead to the information that the swimming bracelet detected inaccurate, influence the user and use the experience of bracelet.
Disclosure of Invention
An object of embodiments of the present invention is to provide a method and an apparatus for detecting a swimming state, a swimming bracelet and a storage medium, which enable detected swimming state information of a user to be more accurate.
In order to solve the above technical problem, an embodiment of the present invention provides a swimming state detection method, including: when a swimming state detection instruction is received, acquiring the water density of the current environment; correcting the detected swimming state information of the user according to the acquired water density; wherein the swimming state information of the user at least comprises: the water depth information of the user or the calorie information consumed by the user; and taking the corrected swimming state information as the final swimming state information of the user.
An embodiment of the present invention also provides a swimming state detection device, including: the device comprises a receiving module, an obtaining module, a detecting module and a correcting module; the receiving module is used for receiving a swimming state detection instruction; the acquisition module is used for acquiring the water density of the current environment when the receiving module receives the swimming state detection instruction; the detection module is used for detecting swimming state information of a user; the correction module is used for correcting the swimming state information of the user detected by the detection module according to the water density acquired by the acquisition module, and taking the corrected swimming state information as the final swimming state information of the user.
An embodiment of the present invention also provides a swimming bracelet, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the above swimming state detection method.
Embodiments of the present invention also provide a storage medium storing a computer program, which when executed by a processor implements the above swimming state detection method.
Compared with the prior art, when the user is in a water environment, the pressure or buoyancy force applied to the user is different due to different water density of the environment. The swimming state information detected by the user through the wearable detection device during swimming (such as detecting the water depth of the user or the calorie consumed by the user during swimming), is detected according to the pressure or buoyancy force applied by the user, and when the pressure or buoyancy force changes due to the influence of the water density, the swimming state information detected by the user is also influenced, so that the detected swimming state information is inaccurate. In order to enable the detected swimming state information of the user to be more accurate, the water density of the current environment is pre-stored, when a swimming state detection instruction is received, the water density is obtained, and the detected swimming state information (the water depth of the user or the calorie consumed by the user in swimming) of the user is corrected according to the obtained water density, so that the detected swimming state information is more accurate.
In addition, the water density is pre-calculated and stored by the following method: collecting user information and environment information when a water density detection instruction is received; calculating the water density according to the collected user information and the collected environment information, and storing the calculated water density; acquiring the water density of the current water environment, specifically: and acquiring the stored water density as the water density of the current environment. The water density of the water environment where the user is located is obtained through pre-detection and calculation, the water density obtained through calculation is directly called when the user detects the swimming state information, calculation of the water density is not needed when the swimming state information is detected every time, the calculation times are reduced, and the swimming state information detection efficiency is improved.
In addition, collecting user information and environment information specifically includes: displaying prompt information; the prompting information is used for prompting a user to make a preset action; collecting centripetal acceleration and angular velocity of a user when the user makes a first preset action as user information; wherein, the first preset action is specifically as follows: taking the shoulders of the user as the circle center, and swinging the arms of the user in a state of keeping the arms straight; collecting pressure when a user makes a second preset action as environmental information; the second preset action is specifically that the shoulders of the user are flush with the water surface, and the arms of the user are inserted into the water in a manner of being perpendicular to the water surface; the pressure is in particular the pressure at the wrist of the user. In this way, the arm length of the user can be calculated through the detected centripetal acceleration and the angular velocity, and when the pressure intensity of the user at the position with the same depth as the arm length of the user is detected, the accurate water density is calculated through the detected pressure intensity and the calculated arm length.
In addition, the method for calculating the water density according to the collected user information and the environment information specifically comprises the following steps: by the formula a ═ ω2l, calculating the length of the arm; wherein a is centripetal acceleration, omega is angular velocity, and l is arm length; calculating the density according to the formula p ═ rhogl; wherein p is pressure, ρ is water density, and g is gravity acceleration. The water density is obtained through calculation of the formula, and can be directly calculated without adding equipment for detecting the water density, so that the production cost is reduced.
In addition, when collecting user information and environmental information, still include: judging whether the collected user information and the collected environment information are effective or not; if the user information and the environment information are judged to be valid, prompting that the user information or the environment information is completely acquired; and if the user information or the environment information is judged to be invalid, the user information or the environment information is collected again. By the method, the effectiveness of the collected information can be guaranteed, the information is collected again when the collected information is invalid or the information is not collected, and the accuracy of the water density obtained by calculation is guaranteed.
In addition, before the user information or the environment information is collected again, the method further comprises the following steps: and judging that the time for collecting the user information or the environment information does not exceed a preset upper limit. When the user information or the environment information cannot be collected, the situation that the information cannot be collected can be timely fed back to the user, and the time waste caused by the repeated execution of invalid collection actions is avoided.
In addition, according to the acquired water density, the method for correcting the detected swimming state information of the user specifically comprises the following steps: calculating a correction coefficient according to the acquired water density and a preset standard water density; and correcting the detected swimming state information of the user according to the correction coefficient. By the method, the swimming state information can be detected without being adjusted, the correction coefficient is adjusted only through changing the water density, the swimming state information is corrected through the correction coefficient, and a relatively accurate final numerical value can be obtained.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a swimming state detection method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a manner of calculating water density according to a second embodiment of the present invention;
fig. 3 is a diagram illustrating a second preset action of the user when calculating the water density according to the second embodiment of the present invention;
FIG. 4 is a flowchart of a manner of calculating water density according to a third embodiment of the present invention;
fig. 5 is a schematic structural view of a swimming state detection device according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural view of a swimming bracelet according to a fifth embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a swimming state detection method, which comprises the steps of obtaining the water density of the current environment when a swimming state detection instruction is received; correcting the detected swimming state information of the user according to the acquired water density; wherein the swimming state information of the user at least comprises: the water depth information of the user or the calorie information consumed by the user; and taking the corrected swimming state information as the final swimming state information of the user. The following describes the details of the swimming state detection method of the present embodiment in detail, and the following is only provided for easy understanding, and is not necessary for implementing the present embodiment, and the specific flow is shown in fig. 1.
Step 101, when receiving a swimming state detection instruction, acquiring the water density of the current environment. Specifically, the user can wear the intelligent device to detect the current state of the user when swimming, so that the user can check the health condition of the user at any time, or the intelligent device can remind the user of safety when the user is in a dangerous water area. The smart device worn by the user may be a swimming bracelet, a swimming watch, or other waterproof device. When the intelligent equipment worn by a user receives a swimming state detection instruction, the intelligent equipment worn by the user detects the current water depth information of the user or the calorie information consumed by the user in swimming, when the water depth information or the calorie information consumed by the user in swimming is detected, the pressure and the buoyancy of the water environment where the user is located need to be used for measurement, because the water depth information or the calorie information consumed by the user in different water areas has the influence of different conditions such as silt, salinity or temperature, the water depth information detected by the intelligent equipment may be different when the user is in the same water depth in different water areas, and the influence factor of the error in the detection of the intelligent equipment is that the water densities in different water areas are different, therefore, the water depth of the water area where the user is located before the user swims can be stored in advance, when the intelligent equipment receives the swimming state detection instruction, and directly acquiring the water density of the current water area stored by the user in the memory.
And 102, correcting the detected swimming state information of the user according to the acquired water density. Specifically, the swimming state information of the user may be information of the water depth where the user is located or information of calories consumed by the user during swimming, or may be information that can be detected by other swimming bracelets. When the detected swimming state information of the user is the water depth of the user, the current water depth information of the user can be obtained by detecting the pressure at the position of the user and the obtained water depth and calculating by using a formula p ═ ρ gh, wherein p is the pressure at the position of the user, ρ is the water depth of the current water environment, g is a gravity constant, and h is the calculated current water depth information of the user. The water depth information of the user is corrected in the above mode. When the detected swimming state information of the user is calorie information consumed by the user during swimming, a correction coefficient can be calculated according to the acquired water density and a preset standard water density, and the detected calorie information consumed by the user is corrected according to the correction coefficient. For example, if the acquired water density of the current water environment is 1.2 and the preset standard water density is 1, the calculated correction coefficient is 1/1.2, which is about 0.8. Assuming that the user's consumed calories are 100 calories, which are detected without correction, after correcting the detected swimming state information according to the acquired water density, it is finally detected that the user's consumed calories are 80 calories. Due to the fact that the water density is different, buoyancy borne by the user is different inevitably, when the buoyancy borne by the user is increased, calories consumed for traveling the same distance are reduced relatively, when the water density of a water area where the user is located is increased, the buoyancy borne by the user is relatively large, and therefore the calories consumed by the user after correction are relatively small and accurate.
And step 103, taking the corrected swimming state information as the final swimming state information of the user. Specifically speaking, the user is the final swimming state information after the correction through the swimming state information that intelligent equipment who wears looked over, and the information that the user looked over like this is more accurate, avoids taking place danger because the depth of water information that detects is inaccurate, and on the other hand, the user can be comparatively accurate through the information after the correction know whether up to standard of present amount of exercise, help the more accurate understanding self state of user.
Compared with the prior art, when the user is in a water environment, the pressure or buoyancy force applied to the user is different due to different water density of the environment. The swimming state information detected by the user through the wearable detection device during swimming (such as detecting the water depth of the user or the calorie consumed by the user during swimming), is detected according to the pressure or buoyancy force applied by the user, and when the pressure or buoyancy force changes due to the influence of the water density, the swimming state information detected by the user is also influenced, so that the detected swimming state information is inaccurate. In order to enable the detected swimming state information of the user to be more accurate, the water density of the current environment is pre-stored, when a swimming state detection instruction is received, the water density is obtained, and the detected swimming state information (the water depth of the user or the calorie consumed by the user in swimming) of the user is corrected according to the obtained water density, so that the detected swimming state information is more accurate.
A second embodiment of the present invention relates to a swimming state detection method. The manner of the pre-calculation of the acquired water density is specifically described in the second embodiment of the present invention. The water density may be calculated by collecting user information and environmental information when a user performs a preset action, and calculating the collected user information and environmental information, and a specific manner of collecting information when calculating the water density and a manner of calculating the water density are shown in fig. 2.
Step 201, when receiving a water density detection instruction, displaying a prompt message. Specifically, smart devices such as swimming bracelets require a user to perform a specific motion coordination check when detecting water density. Therefore, when a water density detection instruction is received, the action information required to be matched by the user is displayed through the display screen of the swimming bracelet, for example, the screen can display prompt information for prompting the user to make a corresponding action, such as 'straightening and swinging arms', or 'inserting arms vertically into water, and aligning shoulders with water surface'.
Step 202, collecting centripetal acceleration and angular velocity of a user when the user makes a first preset action as user information. Specifically speaking, when the screen indicates "straighten and wave the arm", the user needs to use the shoulder as the centre of a circle, and the arm is in straightening state and waves, makes the swimming bracelet of wearing do the circular motion around the shoulder, and the angle of waving can be arbitrary angle. The swimming bracelet collects centripetal acceleration and angular velocity when a user makes the actions through the sensor, and the collected centripetal acceleration and angular velocity are stored as user information so as to be called when water density is calculated subsequently.
And step 203, collecting the pressure intensity of the user when the user performs the second preset action as environmental information. Specifically, when the screen prompts that the user needs to perform the actions shown in fig. 3, the user keeps the shoulders flush with the water surface, inserts the arms into the water vertically with the water surface and keeps the arms straight, the swimming bracelet 31 at the wrist of the user can detect the pressure at the position where the water depth is the length of the user's arms through the sensor, and the pressure collected by the sensor is stored as environmental information for calling in the subsequent calculation of the water density.
And step 204, calculating the water density according to the collected user information and the collected environment information, and storing the calculated water density. Specifically, by the formula a ═ ω2l, calculating the length of the arm; where a is the centripetal acceleration, ω is the angular velocity, and l is the arm length. When a user makes a first preset action, the swimming bracelet collects and stores centripetal acceleration and angular velocity, the arm length of the user is calculated by the formula, and the calculated arm length l is substituted into the formula p which is rho gl to calculate density; wherein p is pressure, ρ is water density, and g is gravity acceleration. When the user makes a second preset action, the swimming bracelet collects and stores the pressure at the position with the water depth equal to the arm length of the user, and the pressure is substituted into a formula, so that the water density of the water environment where the user is located can be calculated.
After the water density of the water environment where the current user is located is obtained through calculation, the water density is stored so that when the swimming bracelet receives a swimming state detection instruction, the stored water density is obtained from the memory, and the detected swimming state information of the user is corrected through the water density, so that more accurate information is obtained.
In the embodiment, the water density of the water environment where the user is located is obtained through pre-detection and calculation, the water density obtained through calculation is directly called when the user detects the swimming state information, the water density does not need to be calculated every time the swimming state information is detected, the calculation times are reduced, and the swimming state information detection efficiency is improved.
A third embodiment of the present invention relates to a swimming state detection method. In the third embodiment of the present invention, when the user information and the environmental information are collected during the calculation process of the water density, it can be determined whether the collected user information and the collected environmental information are valid, so as to ensure the validity of the collected information. The calculation process of the water density is specifically shown in fig. 4.
Step 401, when receiving a water density detection instruction, displaying a prompt message.
Step 402, collecting centripetal acceleration and angular velocity of a user when the user makes a first preset action as user information.
Step 403, judging whether the collected user information is valid, and if so, entering step 405; if not, go to step 404.
Step 404, judging whether the time for acquiring the user information exceeds a preset upper limit, and if so, entering step 411; if the determination result is negative, the step 402 is returned to.
If yes in step 403, the process proceeds to step 405 to prompt the user that the information collection is completed.
Specifically, after the centripetal acceleration and the angular velocity of the user in the first preset action are acquired by the gyroscope and the acceleration sensor, whether the acquired centripetal acceleration and angular velocity are effective or not can be judged through an algorithm. For example, the arm length of the user can be calculated through the collected centripetal acceleration and angular velocity, if the calculated arm length is within the arm length range of a normal person, the collected user information is indicated as valid information, and if the calculated arm length is too large or too small, for example, the calculated arm length is 120cm, the user operation is not correct, the collected user information is inaccurate, and the information collection needs to be performed again.
In addition, in the process of collecting information, whether the time consumed by collecting information exceeds a preset upper time limit needs to be judged, if the time exceeds the preset upper limit, the user operation is inaccurate, or equipment breaks down, and the user can be reminded of calculating the water density overtime through the mode of bracelet vibration or bracelet screen prompting, so that the user can find the reason that the collected information is invalid in time, and the waste of time caused by invalid operation is avoided.
And 406, collecting the pressure intensity of the user when the user performs the second preset action as the environmental information.
Step 407, judging whether the acquired environmental information is valid, and if so, entering step 409; if the determination result is negative, go to step 408.
Step 408, judging whether the time for acquiring the environmental information exceeds a preset upper limit, and if so, entering step 411; if the determination result is negative, the step 406 is returned to.
If yes in step 407, the process proceeds to step 409 to prompt that the environmental information is completely collected.
Specifically, after the pressure sensor is used for collecting the pressure when the user performs the second preset action, whether the collected environmental information is valid or not can be judged through an algorithm. Specifically, whether the arm of the user is inserted into the water and keeps still can be judged through an algorithm, if the user is not inserted into the water or the arm does not keep still, the pressure information detected by the sensor is greatly deviated, and therefore the collected environmental information is judged to be invalid information and needs to be collected again.
In addition, in the process of collecting information, whether the time consumed by collecting information exceeds a preset upper time limit needs to be judged, if the time exceeds the preset upper limit, the user operation is inaccurate, or equipment breaks down, and the user can be reminded of calculating the water density overtime through the mode of bracelet vibration or bracelet screen prompting, so that the user can find the reason that the collected information is invalid in time, and the waste of time caused by invalid operation is avoided.
And step 410, calculating the water density according to the collected user information and the collected environment information, and storing the calculated water density.
If the answer in step 404 or 408 is no, the process proceeds to step 411 to prompt timeout.
After the water density of the water environment where the current user is located is obtained through calculation, the water density is stored so that when the swimming bracelet receives a swimming state detection instruction, the stored water density is obtained from the memory, and the detected swimming state information of the user is corrected through the water density, so that more accurate information is obtained.
In the embodiment, whether the collected user information and the collected environment information are valid information or not is judged through an algorithm, so that the validity of the collected information can be ensured, and when the collected information is invalid or the information is not collected, the information is collected again, so that the accuracy of the water density obtained through calculation is ensured. In addition, when the time consumed for collecting the user information or the environment information exceeds the preset upper limit, the user is reminded of overtime operation, and when the user information or the environment information cannot be collected, the condition that the information cannot be collected can be timely fed back to the user, so that the time waste caused by repeatedly executing invalid collection actions is avoided.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a swimming state detection device, as shown in fig. 5, including: a receiving module 51, an obtaining module 52, a detecting module 53 and a correcting module 54; the receiving module 51 is used for receiving a swimming state detection instruction; the obtaining module 52 is configured to obtain the water density of the current environment when the receiving module 51 receives the swimming state detection instruction; the detection module 53 is used for detecting swimming state information of the user; the correction module 54 is configured to correct the swimming state information of the user detected by the detection module 53 according to the water density acquired by the acquisition module 52, and use the corrected swimming state information as the final swimming state information of the user.
It should be understood that this embodiment is a system example corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
In addition, the swimming state detection device further includes: the acquisition module and the calculation module; the acquisition module is used for acquiring user information and environment information when receiving a water density detection instruction; and the calculation module is used for calculating the water density according to the collected user information and the collected environment information and storing the calculated water density.
In addition, the swimming state detection device further includes: a display module; the acquisition module is used for displaying prompt information; the prompting information is used for prompting a user to make a preset action; the acquisition module is specifically used for acquiring centripetal acceleration and angular velocity when the user makes a first preset action as user information; wherein, the first preset action is specifically as follows: taking the shoulders of the user as the circle center, and swinging the arms of the user in a state of keeping the arms straight; collecting pressure when a user makes a second preset action as environmental information; the second preset action is specifically that the shoulders of the user are flush with the water surface, and the arms of the user are inserted into the water in a manner of being perpendicular to the water surface; the pressure is in particular the pressure at the wrist of the user.
In addition, the swimming state detection device further includes: a judgment module; the judging module is used for judging whether the collected user information and the collected environment information are effective when the user information and the environment information are collected; if the user information and the environment information are judged to be valid, prompting that the user information or the environment information is completely acquired; and if the user information or the environment information is judged to be invalid, the user information or the environment information is collected again.
In addition, the correction module is specifically used for calculating a correction coefficient according to the acquired water density and a preset standard water density; and correcting the detected swimming state information of the user according to the correction coefficient.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fifth embodiment of the present invention relates to a swimming bracelet, as shown in fig. 6, comprising at least one processor 601; and a memory 602 communicatively coupled to the at least one processor 601; wherein the memory 602 stores instructions executable by the at least one processor 601, the instructions being executable by the at least one processor 601 to enable the at least one processor 601 to perform the above-described swimming state detection method.
Where the memory 602 and the processor 601 are coupled by a bus, the bus may comprise any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 601 and the memory 602 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 601.
The processor 601 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While memory 602 may be used to store data used by processor 601 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. A swimming state detection method, comprising:
when a swimming state detection instruction is received, acquiring the water density of the current environment;
correcting the detected swimming state information of the user according to the acquired water density; wherein the swimming state information of the user at least comprises: the water depth information of the user or the calorie information consumed by the user;
taking the corrected swimming state information as final swimming state information of the user;
the water density is obtained by pre-calculating and storing in the following mode:
collecting user information and environment information when a water density detection instruction is received;
calculating water density according to the collected user information and the collected environment information, and storing the calculated water density;
the acquiring of the water density of the current environment specifically comprises:
acquiring the stored water density as the water density of the current environment;
the collecting user information and environment information specifically includes:
displaying prompt information; the prompt information is used for prompting a user to make a preset action;
collecting centripetal acceleration and angular velocity of the user when the user makes a first preset action as user information; wherein, the first preset action is specifically as follows: taking the shoulders of the user as the circle center, and swinging the arms of the user in a state of keeping the arms straight;
collecting pressure when the user makes a second preset action as environmental information; the second preset action is specifically that the shoulders of the user are flush with the water surface, and the arms of the user are inserted into the water in a manner of being perpendicular to the water surface; the pressure is in particular the pressure at the wrist of the user.
2. The swimming state detection method according to claim 1, wherein the calculating of the water density according to the collected user information and the environmental information specifically comprises:
by the formula a ═ ω2l, calculating the length of the arm; wherein a is centripetal acceleration, omega is angular velocity, and l is arm length;
calculating the density according to the formula p ═ rhogl; wherein p is pressure, ρ is water density, and g is gravity acceleration.
3. The swimming state detection method according to claim 1, further comprising, when collecting the user information and the environment information:
judging whether the collected user information and the collected environment information are effective or not;
if the user information and the environment information are judged to be valid, prompting that the user information or the environment information is completely acquired;
and if the user information or the environment information is judged to be invalid, the user information or the environment information is collected again.
4. A swimming state detection method according to claim 3, further comprising, before the re-collecting the user information or environment information:
and judging that the time for acquiring the user information or the environmental information does not exceed a preset upper limit.
5. A swimming state detection method according to claim 1, wherein the correcting the detected swimming state information of the user according to the acquired water density comprises:
calculating a correction coefficient according to the obtained water density and a preset standard water density;
and correcting the detected swimming state information of the user according to the correction coefficient.
6. A swimming state detection device, comprising: the device comprises a receiving module, an obtaining module, a detecting module and a correcting module;
the receiving module is used for receiving a swimming state detection instruction;
the acquisition module is used for acquiring the water density of the current environment when the receiving module receives the swimming state detection instruction;
the detection module is used for detecting swimming state information of a user;
the correction module is used for correcting the swimming state information of the user detected by the detection module according to the water density acquired by the acquisition module, and taking the corrected swimming state information as the final swimming state information of the user;
the swimming state detection device further includes: the acquisition module and the calculation module;
the acquisition module is used for acquiring user information and environment information when receiving a water density detection instruction;
the computing module is used for computing the water density according to the collected user information and the collected environment information and storing the computed water density;
the swimming state detection device further includes: a display module;
the display module is used for displaying prompt information; the prompting information is used for prompting a user to make a preset action;
the acquisition module is specifically used for acquiring centripetal acceleration and angular velocity when the user makes a first preset action as user information; wherein, the first preset action is specifically as follows: taking the shoulders of the user as the circle center, and swinging the arms of the user in a state of keeping the arms straight; collecting pressure when a user makes a second preset action as environmental information; the second preset action is specifically that the shoulders of the user are flush with the water surface, and the arms of the user are inserted into the water in a manner of being perpendicular to the water surface; the pressure is in particular the pressure at the wrist of the user.
7. A swimming bracelet, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a swim state detection method according to any of claims 1 to 5.
8. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements a swim state detection method according to any of claims 1 to 5.
CN201910694249.XA 2019-07-30 2019-07-30 Swimming state detection method and device, swimming bracelet and storage medium Active CN110384903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910694249.XA CN110384903B (en) 2019-07-30 2019-07-30 Swimming state detection method and device, swimming bracelet and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910694249.XA CN110384903B (en) 2019-07-30 2019-07-30 Swimming state detection method and device, swimming bracelet and storage medium

Publications (2)

Publication Number Publication Date
CN110384903A CN110384903A (en) 2019-10-29
CN110384903B true CN110384903B (en) 2021-03-05

Family

ID=68287949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910694249.XA Active CN110384903B (en) 2019-07-30 2019-07-30 Swimming state detection method and device, swimming bracelet and storage medium

Country Status (1)

Country Link
CN (1) CN110384903B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007102131A1 (en) * 2006-03-08 2007-09-13 Laura Cecilia Tregear Sevenus Collar to assist floating of infants
CN104524747A (en) * 2014-12-19 2015-04-22 苏州大学 Intelligent swimming system based on Internet of Things and artificial intelligence
CN105797347A (en) * 2014-12-31 2016-07-27 富泰华工业(深圳)有限公司 Swimming aiding device and method
CN107422944A (en) * 2017-06-09 2017-12-01 广东乐心医疗电子股份有限公司 Method and device for automatically adjusting menu display mode and wearable device
CN109341669A (en) * 2018-10-31 2019-02-15 广东小天才科技有限公司 water depth measuring method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007102131A1 (en) * 2006-03-08 2007-09-13 Laura Cecilia Tregear Sevenus Collar to assist floating of infants
CN104524747A (en) * 2014-12-19 2015-04-22 苏州大学 Intelligent swimming system based on Internet of Things and artificial intelligence
CN105797347A (en) * 2014-12-31 2016-07-27 富泰华工业(深圳)有限公司 Swimming aiding device and method
CN107422944A (en) * 2017-06-09 2017-12-01 广东乐心医疗电子股份有限公司 Method and device for automatically adjusting menu display mode and wearable device
CN109341669A (en) * 2018-10-31 2019-02-15 广东小天才科技有限公司 water depth measuring method and device

Also Published As

Publication number Publication date
CN110384903A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
US9288556B2 (en) Method and apparatus for measuring body balance of wearable device
US10617912B2 (en) Systems and methods of swimming calorimetry
CN105688396B (en) Movable information display system and movable information display methods
EP2893961B1 (en) Training device
EP3109590A1 (en) Method and device for providing workout guide information
KR101715369B1 (en) Exercise guide feed back system using multi sensors and the method thereof
US20180049694A1 (en) Systems and methods for determining individualized energy expenditure
EP3342335B1 (en) Blood pressure measurement method, blood pressure measurement device and terminal
KR101043556B1 (en) Measuring system and method for scoliosis
CN106923839A (en) Exercise assist device, exercising support method and recording medium
EP3521764B1 (en) Stride calibrating method, and relevant device and system
US20190076063A1 (en) Systems and methods of ski activity detection
JP2018033566A (en) Exercise support system, exercise support method, exercise support program, and exercise support device
CN105675048A (en) Wireless system and method for balancing recognition accuracy and power consumption
US20160030806A1 (en) Exercise ability evaluation method, exercise ability evaluation apparatus, exercise ability calculation method, and exercise ability calculation apparatus
CN113639438A (en) Method and device for controlling air conditioner and air conditioner
EP3699918B1 (en) Method and apparatus for assessing acclimatization to environmental conditions and to assess fitness level taking into account the environmental conditions and the level of acclimatization
CN110384903B (en) Swimming state detection method and device, swimming bracelet and storage medium
CN206121113U (en) Yoga evaluation system based on multisensor
US20200077927A1 (en) System and method for estimating cardiorespiratory fitness
CN105279359B (en) planning method and system for moving target
KR102268445B1 (en) Apparatus for estimation of gait stability based on inertial information and method thereof
JP5111993B2 (en) Action identification system
CN109806568A (en) A kind of swimming exercise monitoring method, device, system and storage medium
CN113093255B (en) Multi-signal true fusion positioning calculation method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant