CN110384903A - Swimming state detection method, device, swimming bracelet and storage medium - Google Patents
Swimming state detection method, device, swimming bracelet and storage medium Download PDFInfo
- Publication number
- CN110384903A CN110384903A CN201910694249.XA CN201910694249A CN110384903A CN 110384903 A CN110384903 A CN 110384903A CN 201910694249 A CN201910694249 A CN 201910694249A CN 110384903 A CN110384903 A CN 110384903A
- Authority
- CN
- China
- Prior art keywords
- user
- information
- swimming state
- swimming
- water density
- 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.)
- Granted
Links
Classifications
-
- A—HUMAN NECESSITIES
- A44—HABERDASHERY; JEWELLERY
- A44C—PERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
- A44C5/00—Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
- A44C5/0007—Bracelets specially adapted for other functions or with means for attaching other articles
-
- A—HUMAN NECESSITIES
- A44—HABERDASHERY; JEWELLERY
- A44C—PERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
- A44C5/00—Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
- A44C5/0007—Bracelets specially adapted for other functions or with means for attaching other articles
- A44C5/003—Bracelets specially adapted for other functions or with means for attaching other articles with a storage compartment
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B31/00—Swimming aids
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B71/00—Games or sports accessories not covered in groups A63B1/00 - A63B69/00
- A63B71/06—Indicating or scoring devices for games or players, or for other sports activities
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating 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/14—Indicating 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N9/00—Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity
- G01N9/08—Investigating 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B2244/00—Sports without balls
- A63B2244/20—Swimming
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 present embodiments relate to swimming bracelet fields, disclose a kind of swimming state detection method, device, swimming bracelet and storage medium.In the present invention, when receiving swimming state detection instruction, the water density of current environment is obtained;According to the water density of acquisition, the swimming state information of the user detected is modified;Wherein, the swimming state information of user includes at least: Water Depth Information locating for user or the calorie information of user's consumption;It using revised swimming state information as the final swimming state information of user, is modified by swimming state information of the water density to the user of detection, the calorie information of Water Depth Information locating for obtained user and user's consumption is more accurate.
Description
Technical field
The present embodiments relate to swimming bracelet field, in particular to a kind of swimming state detection methods, device, swimming hand
Ring and storage medium.
Background technique
The swimming sports systemic as one, are increasingly liked by people.People can be improved by swimming
The constitution of itself enhances cardio-pulmonary function, tempers the harmony of trick.On the other hand, in summer hot weather, swimming place and hall etc.
Pool environment can help people's cooling to relieve summer heat, and bring comfortable feeling.People are when swimming, in order to detect certainly
Body state understands itself physical condition, can wear swimming bracelet, and by swimming, bracelet can detecte the depth of water locating for user
And the information such as calorie currently consumed play exercise body to allow the time of the significantly more efficient planning swimming of user
The purpose of body.
At least there are the following problems in the related technology for inventor's discovery: the depth of water or use as locating for swimming bracelet detection user
Family currently consumes the fixation of the rule of calorie, in the site surrounding difference of user's swimming, will lead to swimming bracelet detection
The information inaccuracy arrived, influences the experience that user uses bracelet.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of swimming state detection method, device, swimming bracelet and storage
Medium keeps the swimming state information of the user detected more accurate.
In order to solve the above technical problems, embodiments of the present invention provide a kind of swimming state detection method, comprising: In
When receiving swimming state detection instruction, the water density of current environment is obtained;According to the water density of acquisition, to the user detected
Swimming state information be modified;Wherein, the swimming state information of user includes at least: Water Depth Information locating for user or use
The calorie information of family consumption;Using revised swimming state information as the final swimming state information of user.
Embodiments of the present invention additionally provide a kind of swimming state detection device, comprising: and receiving module obtains module,
Detection module, correction module;Receiving module is for receiving swimming state detection instruction;Module is obtained for connecing in receiving module
When receiving swimming state detection instruction, the water density of current environment is obtained;Detection module is used to detect the swimming state letter of user
Breath;Correction module is used for the water density obtained according to module is obtained, to the swimming state information for the user that detection module detects
It is modified, and using revised swimming state information as the final swimming state information of user.
Embodiments of the present invention additionally provide a kind of swimming bracelet, comprising: at least one processor;And at least
The memory of one processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instruction
It is executed by least one processor, so that at least one processor is able to carry out above-mentioned swimming state detection method.
Embodiments of the present invention additionally provide a kind of storage medium, are stored with computer program, and computer program is located
Reason device realizes above-mentioned swimming state detection method when executing.
Embodiment of the present invention in terms of existing technologies, when at user under water environment, due to local environment
The difference of water density, pressure that user is subject to or the buoyancy being subject to are also different.User can pass through the inspection of wearing in swimming
Survey the swimming state information (calorie consumed by the depth of water as locating for detection user or user's swimming) of device detection, these inspections
The swimming state information of the user of survey is the pressure being subject to according to user or buoyancy and detects to obtain, in pressure or buoyancy by watertight
When degree influences and changes, the swimming state information that can also detect to user is had an impact, and is believed so as to cause the swimming state of detection
Breath inaccuracy.In order to keep the swimming state information of the user detected more accurate, the application works as front ring by pre-stored
The water density in border obtains water density and the water density according to acquisition, to what is detected when receiving swimming state detection instruction
The swimming state information calorie of consumption (depth of water locating for user or user swim) of user is modified, thus make to detect
Swimming state information is more accurate.
In addition, water density precalculates to obtain and save in the following manner: when receiving water density detection instruction, adopting
Collect user information and environmental information;Water density is calculated according to the user information of acquisition and environmental information, and by the water density of calculating
It saves;The water density of current water environment is obtained, specifically: obtain water density of the water density as current environment of preservation.Pass through
The water density for detecting and being calculated in advance water environment locating for user calls directly meter when user detects swimming state information
Obtained water density, without every time detection swimming state information when water density is calculated, reduce the number of calculating,
Improve the efficiency of the detection of swimming state information.
In addition, acquisition user information and environmental information, specifically include: display reminding information;Wherein, prompt information is for mentioning
Show that user makes deliberate action;Centripetal acceleration and angular speed when acquisition user makes the first deliberate action are believed as user
Breath;Wherein, the first deliberate action specifically: using the shoulder of user as the center of circle, the arm of user keeps straight configuration to brandish;
Pressure when acquisition user makes the second deliberate action is as environmental information;Second deliberate action is specifically, user's shoulder and water
Face is concordant, and user's arm is perpendicular in water surface insertion water;Pressure is specially pressure at user's wrist.It does so by detecting
Centripetal acceleration and angular speed can be calculated the brachium of user, and detecting that user is in the brachium of user
When the pressure of the position of depth, by the pressure detected and the brachium being calculated, calculating finds out accurate water density.
In addition, calculating water density according to the user information of acquisition and environmental information, specifically include: by formula a=ω2L,
Calculate arm length;Wherein, a is centripetal acceleration, and ω is angular speed, and l is arm length;By formula p=ρ gl, calculate close
Degree;Wherein, p is pressure, and ρ is water density, and g is acceleration of gravity.Water density is calculated by formula, without increasing detection
Water density can be directly calculated in the equipment of water density, reduce production cost.
In addition, when acquiring user information and environmental information, further includes: judge the user information of acquisition and environmental information is
It is no effective;If user information and environmental information are judged to effectively, user information or environment information acquisition being prompted to finish;If user
Information or environmental information are judged in vain, then resurveying user information or environmental information.Doing so can guarantee to acquire information
Validity, it is invalid or when not collecting information in the information of acquisition, information is acquired again, guarantees to be calculated
The accuracy of water density.
In addition, before resurveying user information or environmental information, further includes: determine acquisition user information or environment letter
The time of breath is less than preset upper limit.It does so when user information or environmental information can not be acquired, can will be unable to adopt in time
The case where collecting information feeds back to user, avoids the movement for repeating invalid acquisition, causes waste of time.
In addition, being modified, specifically including to the swimming state information of the user detected according to the water density of acquisition:
According to the water density of acquisition and preset standard water density, correction factor is calculated;According to correction factor to the user's detected
Swimming state information is modified.Doing so, which may not need, is adjusted the detection of swimming state information, need to only pass through watertight
The change of degree adjusts correction factor, and is modified by correction factor to swimming state information, can be obtained accurately
Final numerical value, it is easy to operate to be easy to implement.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment.
Fig. 1 is the swimming state detection method flow chart in first embodiment according to the present invention;
Fig. 2 is the flow chart of the calculation of the water density in second embodiment according to the present invention;
Fig. 3 be according to the present invention calculating water density in second embodiment when user's showing when making the second deliberate action
It is intended to;
Fig. 4 is the flow chart of the calculation of the water density in third embodiment according to the present invention;
Fig. 5 is the structural schematic diagram of the swimming state detection device in the 4th embodiment according to the present invention;
Fig. 6 is the structural schematic diagram of the swimming bracelet in the 5th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The division of each embodiment is for convenience, should not to constitute to specific implementation of the invention any below
It limits, each embodiment can be combined with each other mutual reference under the premise of reconcilable.
The first embodiment of the present invention is related to a kind of swimming state detection methods, are receiving swimming state detection instruction
When, obtain the water density of current environment;According to the water density of acquisition, the swimming state information of the user detected is repaired
Just;Wherein, the swimming state information of user includes at least: Water Depth Information locating for user or the calorie information of user's consumption;
Using revised swimming state information as the final swimming state information of user.The swimming state of present embodiment is examined below
The realization details of survey method is specifically described, and the following contents only for convenience of the realization details provided is understood, not implements this
Scheme it is necessary, detailed process is as shown in Figure 1.
Step 101, when receiving swimming state detection instruction, the water density of current environment is obtained.Specifically, user
Smart machine can be worn in swimming for detecting the current state of user, so that user checks the healthy shape of itself constantly
Condition, or when user is in foul water, smart machine, which may remind the user that, takes care.The smart machine that user wears can
To be swimming bracelet, swimming wrist-watch or other water proof equipments.Swimming state detection is received in the smart machine that user wears to refer to
When enabling, smart machine that user wears to user's Water Depth Information locating at present or user swim consumed by calorie information into
Row detection needs to utilize water ring locating for user when carrying out calorie infomation detection consumed by Water Depth Information or user's swimming
The pressure and buoyancy in border measures, due to the influence with conditions such as different silt, salinity or temperature in different waters,
For user when different waters are in the same depth of water, the Water Depth Information as locating for the user of smart machine detection may be different, intelligence
The influence factor that error occurs in energy equipment detection is that water density is different in different waters, therefore, can swim in user
Before swimming, the water density in the waters that swimming is locating at present is stored in advance, when smart machine receives swimming state detection instruction,
The water density in the current waters of user's storage is directly obtained in memory.
Step 102, according to the water density of acquisition, the swimming state information of the user detected is modified.Specifically
It says, the swimming state information of user can be calorie information consumed by Water Depth Information locating for user or user's swimming, also
It can be the information that other swimming bracelets can detecte.It is the depth of water locating for user in the swimming state information of the user of detection
When, user can be calculated and work as using formula p=ρ gh by the pressure of detection user present position and the water density of acquisition
Preceding Water Depth Information, wherein p is the pressure of user present position, and ρ is the water density of current water environment, and g is gravity constant, and h is meter
Current Water Depth Information locating for the user of calculation.Water Depth Information locating for user is modified through the above way.In detection
When the swimming state information of user is calorie information consumed by user swims, can according to the water density of acquisition with it is preset
Standard water density calculates correction factor, and is modified according to calorie information of the correction factor to the user's consumption detected.
For example, the water density of the current water environment obtained is 1.2, preset standard water density is 1, then calculated correction factor is
1/1.2 about 0.8.Assuming that the calorie of the user's consumption detected in uncorrected situation is 100 cards, according to acquisition
After water density is modified the swimming state information of detection, the calorie information for eventually detecting user's consumption is 80 cards.By
Different in water density, buoyancy suffered by user is also inevitable different, and user swims out of identical distance when the buoyancy being subject to increases
Consumed calorie is opposite to be reduced, and when the water density in waters locating for user increases, buoyancy suffered by user is relatively large, so repairing
The calorie of user's consumption after just is relatively small, also more accurate.
Step 103, using revised swimming state information as the final swimming state information of user.Specifically, with
Family is revised final swimming state information by the swimming state information that the smart machine worn views, and such user looks into
The information seen is more accurate, avoids the Water Depth Information inaccuracy due to detection and causes danger, on the other hand, user passes through amendment
Information afterwards can accurately know whether current amount of exercise is up to standard, and user is helped more accurately to understand itself shape
State.
Embodiment of the present invention in terms of existing technologies, when at user under water environment, due to local environment
The difference of water density, pressure that user is subject to or the buoyancy being subject to are also different.User can pass through the inspection of wearing in swimming
Survey the swimming state information (calorie consumed by the depth of water as locating for detection user or user's swimming) of device detection, these inspections
The swimming state information of the user of survey is the pressure being subject to according to user or buoyancy and detects to obtain, in pressure or buoyancy by watertight
When degree influences and changes, the swimming state information that can also detect to user is had an impact, and is believed so as to cause the swimming state of detection
Breath inaccuracy.In order to keep the swimming state information of the user detected more accurate, the application works as front ring by pre-stored
The water density in border obtains water density and the water density according to acquisition, to what is detected when receiving swimming state detection instruction
The swimming state information calorie of consumption (depth of water locating for user or user swim) of user is modified, thus make to detect
Swimming state information is more accurate.
Second embodiment of the present invention is related to a kind of swimming state detection method.Have in second embodiment of the invention
Body illustrates the mode of the water density obtained precalculated.Use when water density can make deliberate action by acquiring user
Family information and environmental information, and user information and environmental information by acquiring are calculated, and acquire information when calculating water density
Concrete mode, and calculate water density mode it is as shown in Figure 2.
Step 201, when receiving water density detection instruction, display reminding information.Specifically, smart machine is as swum
Bracelet needs user to make specific movement cooperation detection when detecting water density.Therefore, water density detection instruction is being received
When, by swimming bracelet display screen show user needed for cooperation action message, for example, screen can show " stretch and
Brandish arm ", or display " arm being inserted vertically into water, shoulder is concordant with the water surface " etc. prompts user to make mentioning for corresponding actions
Show information.
Step 202, the centripetal acceleration and angular speed when acquisition user makes the first deliberate action are as user information.Tool
It says to body, at screen prompt " stretch and brandish arm ", user needs using shoulder as the center of circle, and arm is in straight configuration progress
It brandishes, so that the swimming hand ring worn is moved in a circle around shoulder, the angle brandished can be any angle.Swimming bracelet passes through
Centripetal acceleration and angular speed when sensor acquisition user makes above-mentioned movement, and by the centripetal acceleration and angular speed of acquisition
It is saved as user information, to be called when subsequent calculating water density.
Step 203, pressure when acquisition user makes the second deliberate action is as environmental information.Specifically, in screen
When prompting " arm being inserted vertically into water, shoulder is concordant with the water surface ", user needs to make movement as shown in Figure 3, the shoulder of user
Wing is concordant with water surface holding, and arm is vertically inserted into water with the water surface and arm is kept to stretch, is now at user's wrist
Swimming bracelet 31 can detect that the depth of water is the pressure of the position of user's arm length by sensor, and sensor is collected
Pressure is saved as environmental information, to call when subsequent calculating water density.
Step 204, water density is calculated according to the user information of acquisition and environmental information, and the water density of calculating is saved.
Specifically, passing through formula a=ω2L calculates arm length;Wherein, a is centripetal acceleration, and ω is angular speed, and l is that arm is long
Degree.When user makes the first deliberate action, swimming bracelet acquires and saves centripetal acceleration and angular speed, by above-mentioned formula
The arm length of the user is calculated, the arm length l being calculated is substituted into formula p=ρ gl, calculates density;Wherein, p
For pressure, ρ is water density, and g is acceleration of gravity.When user makes the second deliberate action, swimming bracelet is acquired and is saved
The depth of water is the pressure of the position of user's arm length, pressure is substituted into formula, it can water ring locating for active user is calculated
The water density in border.
After the water density that water environment locating for active user is calculated, water density is saved, so that swimming bracelet exists
When receiving swimming state detection instruction, the water density of preservation is obtained from memory, and by the water density to the use of detection
The swimming state information at family is modified, to obtain more accurate information.
In the present embodiment, by detecting and being calculated the water density of water environment locating for user in advance, in user
The water density being calculated is called directly when detecting swimming state information, is not necessarily in detection swimming state information every time to watertight
Degree is calculated, and is reduced the number of calculating, is improved the efficiency of the detection of swimming state information.
Third embodiment of the present invention is related to a kind of swimming state detection method.In third embodiment of the invention
In the calculating process of water density, when carrying out the acquisition of user information and environmental information, can also judge acquisition user information and
Whether environmental information is effective, guarantees the validity of acquisition information.The calculating process of water density is specifically as shown in Figure 4.
Step 401, when receiving water density detection instruction, display reminding information.
Step 402, the centripetal acceleration and angular speed when acquisition user makes the first deliberate action are as user information.
Step 403, judge whether the user information of acquisition is effective, if the determination result is YES, then enters step 405;If sentencing
Disconnected result is otherwise to enter step 404.
Step 404, judge to acquire whether the time of user information is more than preset upper limit, if the determination result is YES, then enter
Step 411;If judging result is no, return step 402.
When step 403 judging result, which is, is, 405 are entered step, user information acquisition is prompted to finish.
Specifically, centripetal when user makes the first deliberate action being collected using gyroscope and acceleration transducer
After acceleration and angular speed, can judge whether collected centripetal acceleration and angular speed are effective by algorithm.For example, can
To calculate the arm length of user by the centripetal acceleration of acquisition and angular speed, if the arm length being calculated is in normal person
Arm length within the scope of, then illustrate acquisition user information be effective information, if the arm length numerical value being calculated is excessive
Or when too small, such as the arm length of calculating is 120cm, then illustrates that user's operation is improper, causes the user information of acquisition inaccurate
Really, need to re-start the acquisition of information.
In addition, needing to judge to acquire whether the time consumed by information is more than preset time during acquiring information
The upper limit illustrates that user's operation inaccuracy or equipment break down if being more than preset upper limit, can pass through bracelet vibration or hand
The form of ring screen prompt, remind user calculate water density operation overtime, so as to user in time find acquisition information in vain
Reason avoids invalid operation from causing waste of time.
Step 406, pressure when acquisition user makes the second deliberate action is as environmental information.
Step 407, judge whether the environmental information of acquisition is effective, if the determination result is YES, then enters step 409;If sentencing
Disconnected result be it is no, then enter step 408.
Step 408, judge to acquire whether the time of environmental information is more than preset upper limit, if the determination result is YES, then enter
Step 411;If judging result is no, return step 406.
When step 407 judging result, which is, is, 409 are entered step, environment information acquisition is prompted to finish.
It, can be with specifically, after collecting pressure when user makes the second deliberate action using pressure sensor
Judge whether collected environmental information is effective by algorithm.Specifically it can judge whether the arm of user has been inserted by algorithm
It in water and remain stationary, is not inserted into water or will lead to if arm is not remain stationary the pressure information that sensor detects if user
There is biggish deviation, therefore, it is determined that collected environmental information is invalid information, needs to re-start acquisition.
In addition, needing to judge to acquire whether the time consumed by information is more than preset time during acquiring information
The upper limit illustrates that user's operation inaccuracy or equipment break down if being more than preset upper limit, can pass through bracelet vibration or hand
The form of ring screen prompt, remind user calculate water density operation overtime, so as to user in time find acquisition information in vain
Reason avoids invalid operation from causing waste of time.
Step 410, water density is calculated according to the user information of acquisition and environmental information, and the water density of calculating is saved.
When step 404 or 408 are judged as NO, 411 are entered step, prompt timeout.
After the water density that water environment locating for active user is calculated, water density is saved, so that swimming bracelet exists
When receiving swimming state detection instruction, the water density of preservation is obtained from memory, and by the water density to the use of detection
The swimming state information at family is modified, to obtain more accurate information.
In the present embodiment, judge whether collected user information and environmental information are effective information by algorithm,
The validity that information can be guaranteed to acquire, it is invalid or when not collecting information in the information of acquisition, information is adopted again
Collection, guarantees the accuracy of water density being calculated.In addition, the time consumed by acquisition user information or environmental information is more than
When preset upper limit, user's operation time-out is reminded, when user information or environmental information can not be acquired, can will be unable to acquire in time
The case where information, feeds back to user, avoids the movement for repeating invalid acquisition, causes waste of time.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of swimming state detection device, as shown in Figure 5, comprising: receiving module 51,
Obtain module 52, detection module 53, correction module 54;Receiving module 51 is for receiving swimming state detection instruction;Obtain mould
Block 52 is used for when receiving module 51 receives swimming state detection instruction, obtains the water density of current environment;Detection module 53
For detecting the swimming state information of user;Correction module 54 is used for the water density obtained according to module 52 is obtained, to detection mould
The swimming state information for the user that block 53 detects is modified, and using revised swimming state information as the final of user
Swimming state information.
It is not difficult to find that present embodiment is system embodiment corresponding with first embodiment, present embodiment can be with
First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
In addition, swimming state detection device further include: acquisition module, computing module;Acquisition module is for receiving water
When Density Detection instructs, user information and environmental information are acquired;Computing module is used to be believed according to the user information and environment of acquisition
Breath calculates water density, and the water density of calculating is saved.
In addition, swimming state detection device further include: display module;Acquisition module is used for display reminding information;Wherein, it mentions
Show information for prompting user to make deliberate action;When acquisition module makes the first deliberate action specifically for acquiring the user
Centripetal acceleration and angular speed as user information;Wherein, the first deliberate action specifically: using the shoulder of user as the center of circle,
The arm of user keeps straight configuration to brandish;Pressure when acquisition user makes the second deliberate action is as environmental information;
Second deliberate action is specifically, user's shoulder is concordant with the water surface, and user's arm is perpendicular in water surface insertion water;Pressure is specially
Pressure at user's wrist.
In addition, swimming state detection device further include: judgment module;Judgment module is used in acquisition user information and environment
When information, judge whether the user information of acquisition and environmental information are effective;If user information and environmental information are determined as effectively,
Prompt user information or environment information acquisition finish;If user information or environmental information are judged in vain, resurveying user
Information or environmental information.
In addition, correction module is specifically used for water density and preset standard water density according to acquisition, correction factor is calculated;
It is modified according to swimming state information of the correction factor to the user detected.
It is noted that each module involved in present embodiment is logic module, and in practical applications, one
A logic unit can be a physical unit, be also possible to a part of a physical unit, can also be with multiple physics lists
The combination of member is realized.In addition, in order to protrude innovative part of the invention, it will not be with solution institute of the present invention in present embodiment
The technical issues of proposition, the less close unit of relationship introduced, but this does not indicate that there is no other single in present embodiment
Member.
Fifth embodiment of the invention is related to a kind of swimming bracelet, as shown in fig. 6, including at least one processor 601;With
And the memory 602 with the communication connection of at least one processor 601;Wherein, be stored with can be by least one for memory 602
The instruction that device 601 executes is managed, instruction is executed by least one processor 601, so that at least one processor 601 is able to carry out
State swimming state detection method.
Wherein, memory 602 is connected with processor 601 using bus mode, and bus may include any number of interconnection
Bus and bridge, bus is by one or more processors 601 together with the various circuit connections of memory 602.Bus may be used also
With by such as peripheral equipment, voltage-stablizer, together with various other circuit connections of management circuit or the like, these are all
It is known in the art, therefore, it will not be further described herein.Bus interface provides between bus and transceiver
Interface.Transceiver can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for
The unit communicated on transmission medium with various other devices.The data handled through processor are carried out on the radio medium by antenna
Transmission, further, antenna also receives data and transfers data to processor 601.
Processor 601 is responsible for management bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage adjusting, power management and other control functions.And memory 602 can be used for storage processor 601 and execute
Used data when operation.
Sixth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of swimming state detection method characterized by comprising
When receiving swimming state detection instruction, the water density of current environment is obtained;
According to the water density of the acquisition, the swimming state information of the user detected is modified;Wherein, the user
Swimming state information includes at least: Water Depth Information locating for user or the calorie information of user's consumption;
Using the revised swimming state information as the final swimming state information of the user.
2. swimming state detection method according to claim 1, which is characterized in that the water density is pre- in the following manner
It is first calculated and saves:
When receiving water density detection instruction, user information and environmental information are acquired;
Water density is calculated according to the user information of the acquisition and environmental information, and the water density of the calculating is saved;
The water density for obtaining current water environment, specifically:
Obtain water density of the water density as current environment of the preservation.
3. swimming state detection method according to claim 2, which is characterized in that the acquisition user information and environment letter
Breath, specifically includes:
Display reminding information;Wherein, the prompt information is for prompting user to make deliberate action;
The centripetal acceleration when user makes the first deliberate action and angular speed are acquired as user information;Wherein, described
First deliberate action specifically: using the shoulder of the user as the center of circle, the arm of the user keeps straight configuration to brandish;
The pressure when user makes the second deliberate action is acquired as environmental information;Second deliberate action specifically,
User's shoulder is concordant with the water surface, and user's arm is perpendicular in water surface insertion water;The pressure is specially the use
Pressure at the wrist of family.
4. swimming state detection method according to claim 3, which is characterized in that described to be believed according to the user of the acquisition
Breath and environmental information calculate water density, specifically include:
Pass through formula a=ω2L calculates arm length;Wherein, a is centripetal acceleration, and ω is angular speed, and l is arm length;
By formula p=ρ gl, density is calculated;Wherein, p is pressure, and ρ is water density, and g is acceleration of gravity.
5. swimming state detection method according to claim 2, which is characterized in that in the acquisition user information and environment
When information, further includes:
Judge whether user information and the environmental information of the acquisition are effective;
If the user information and the environmental information are judged to effectively, prompting the user information or environment information acquisition complete
Finish;
If the user information or the environmental information are judged in vain, resurveying the user information or environmental information.
6. swimming state detection method according to claim 5, which is characterized in that resurvey user's letter described
Before breath or environmental information, further includes:
Determine that the time of the acquisition user information or environmental information is less than preset upper limit.
7. swimming state detection method according to claim 1, which is characterized in that the watertight according to the acquisition
Degree, is modified the swimming state information of the user detected, specifically includes:
According to the water density of the acquisition and preset standard water density, correction factor is calculated;
It is modified according to swimming state information of the correction factor to the user detected.
8. a kind of swimming state detection device characterized by comprising receiving module obtains module, and detection module corrects mould
Block;
The receiving module is for receiving swimming state detection instruction;
The acquisition module is used for when receiving module receives swimming state detection instruction, obtains the water density of current environment;
The detection module is used to detect the swimming state information of user;
The correction module is used for the water density obtained according to the acquisition module, the user's detected to the detection module
Swimming state information is modified, and is believed the revised swimming state information as the final swimming state of the user
Breath.
9. a kind of swimming bracelet characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the detection of the swimming state as described in any in claim 1 to 7
Method.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes swimming state detection method described in any one of claims 1 to 7 when executing.
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 true CN110384903A (en) | 2019-10-29 |
CN110384903B 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)
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 measurement method and device |
-
2019
- 2019-07-30 CN CN201910694249.XA patent/CN110384903B/en active Active
Patent Citations (5)
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 measurement method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110384903B (en) | 2021-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11971498B2 (en) | Hybrid positioning method, electronic apparatus and computer-readable recording medium thereof | |
CN106556424B (en) | A kind of intelligence wearable device and its energy-saving operating method | |
CN104436597B (en) | Exercise support device and exercise support method | |
CN103581443A (en) | Intelligent terminal automatic awakening method and system based on sensors | |
CN107239101A (en) | Electronic equipment and moment display control method | |
CN114819588B (en) | Construction risk monitoring and regulating system based on 5G integrated with Internet of things | |
CN107422355A (en) | Hybrid locating method and electronic installation | |
JP2015073590A (en) | Portable device and heart rate arrival time measurement control method | |
CN106031263A (en) | Method and system for location estimation | |
CN107462260A (en) | A kind of trace generator method, apparatus and wearable device | |
CN106355839A (en) | Lifesaving bracelet | |
US20190076063A1 (en) | Systems and methods of ski activity detection | |
CN104318716A (en) | Drowning detection pre-warning system using attitude calculation | |
CN201463854U (en) | Hand instrument for farmland-operation area measurement and billing | |
CN105530581A (en) | Smart wearable device based on voice recognition and control method thereof | |
CN105844130A (en) | Fingerprint unlocking method under standby state | |
CN207280498U (en) | A kind of children's body surface Temperature and Humidity and anti-lose system | |
CN105681429A (en) | Ultra-low-power-consumption smart step-counting system and method for watch | |
CN110384903A (en) | Swimming state detection method, device, swimming bracelet and storage medium | |
CN107773931B (en) | A kind of intelligent swimming mirror | |
CN106913325A (en) | Step-recording method and device | |
CN210689718U (en) | Remove water resource monitoring devices based on block chain | |
CN209072472U (en) | A kind of low-power consumption Internet of Things positioning bracelet | |
CN106200863A (en) | Operation management method and system for wireless connection unit | |
CN115736450A (en) | Aerobic exercise heart rehabilitation bracelet |
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 |