CN106581992A - Circle counting method and apparatus, and electronic equipment - Google Patents

Circle counting method and apparatus, and electronic equipment Download PDF

Info

Publication number
CN106581992A
CN106581992A CN201611103854.8A CN201611103854A CN106581992A CN 106581992 A CN106581992 A CN 106581992A CN 201611103854 A CN201611103854 A CN 201611103854A CN 106581992 A CN106581992 A CN 106581992A
Authority
CN
China
Prior art keywords
point
motion path
sampled point
angle
sampled
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
Application number
CN201611103854.8A
Other languages
Chinese (zh)
Other versions
CN106581992B (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.)
Qiji (xiamen) Technology Co Ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Qiji (xiamen) Technology Co Ltd
Beijing Xiaomi Mobile Software 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 Qiji (xiamen) Technology Co Ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Qiji (xiamen) Technology Co Ltd
Priority to CN201611103854.8A priority Critical patent/CN106581992B/en
Publication of CN106581992A publication Critical patent/CN106581992A/en
Application granted granted Critical
Publication of CN106581992B publication Critical patent/CN106581992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/10Positions
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/17Counting, e.g. counting periodical movements, revolutions or cycles, or including further data processing to determine distances or speed
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/80Special sensors, transducers or devices therefor

Abstract

The invention discloses a circle counting method and apparatus, and electronic equipment. The circle counting method comprises the steps of establishing sampling points; obtaining a motion path according to the sampling points, wherein the sampling points are obtained according to the position of a user, and the motion path comprises at least two sampling points; determining a reference point of the motion path; calculating an angle sum of the motion path according to the reference point, wherein the angle sum refers to sum of adjacent included angles of adjacent two sampling points on the motion path, and the adjacent included angles refer to included angles formed by line segments connected between the two sampling points and the reference point; and if the angle sum is greater than 360 degrees, adding one to the circle number. By virtue of the technical scheme, human participation can be avoided, so that statistical efficiency and accuracy can be improved to a certain degree.

Description

Meter circle method and device, electronic equipment
Technical field
It relates to technical field of data processing, more particularly to a kind of meter circle method and device, electronic equipment.
Background technology
Running, ride etc. in daily exercise or sports items, for long range is moved, generally require statistics motion circle Number.In the related, when the motion number of turns is counted, realize typically by the way of artificial counting, however, due to artificial system The process of the meter motion number of turns need it is artificial participate in, it is less efficient and accuracy is not high.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure to provide a kind of method of meter circle, device, electronics and set It is standby.
According to the first aspect of the embodiment of the present disclosure, there is provided one kind meter circle method, including:
Sampled point is set up, motion path is obtained according to sampled point, the sampled point is obtained according to customer location, the motion Include at least two sampled points on path;
Determine the reference point of the motion path;
According to the reference point, calculate the motion path angle and, the angle and be phase on the motion path The angle sum of the adjacent angle of adjacent two sampled points, the adjacent angle be adjacent two sampled point respectively with the reference The connected line segment angle of point;
If the angle and more than 360 °, the motion number of turns is added one.
In one embodiment, the reference point for determining the motion path, including:
Determine the first farthest sampled point of distance between starting sample point on the motion path;
The midpoint of first sampled point and starting sample point institute line section is defined as into the ginseng of the motion path According to point.
In one embodiment, the midpoint by first sampled point and starting sample point institute line section is defined as The reference point of the motion path, including:
When distance between the starting sample point and first sampled point is more than the first distance threshold, by described the The midpoint of one sampled point and starting sample point institute line section is defined as the reference point of the motion path.
In one embodiment, it is described to set up sampled point, motion path is obtained according to sampled point, including:
Sampled point corresponding with customer location is obtained according to default sample frequency;
According to the sequencing for obtaining sampled point, the second sampled point and the 3rd adjacent on the motion path is determined one by one Whether the distance between sampled point is less than second distance threshold value, wherein, the moment of second sampled point is obtained earlier than acquisition institute The moment of the 3rd sampled point is stated, and second sampled point is non-abnormity point;
If it is not, the 3rd sampled point to be defined as abnormity point and reject;
According to each sampled point obtained after rejecting abnormalities point, motion path is determined.
In one embodiment, according to the sequencing for obtaining sampled point, determine one by one adjacent on the motion path Whether, less than before second distance threshold value, methods described also includes for the distance between second sampled point and the 3rd sampled point:
Determine the maximum movement speed of user;
The numerical value that the maximum movement speed is obtained divided by the sample frequency is calculated, and the numerical value is defined as into described Two distance thresholds.
In one embodiment, if the angle and more than 360 °, the motion number of turns is added one, including:
If the angle and more than 360 °, determine whether the motion path meets pre-conditioned;
If the motion path meets pre-conditioned, the motion number of turns is added one.
In one embodiment, it is described it is pre-conditioned including:
The distance between the starting sample point of the motion path and the first sampled point are more than the first distance threshold, and first adopts Sampling point is the farthest sampled point of starting sample point described in distance on the motion path;Or,
The minimum edge length of the boundary rectangle of the motion path is more than the first distance threshold;Or,
Total number of sample points on sampled point number on the motion path in the specific region and the motion path Ratio be more than predetermined threshold value, the predetermined threshold value is between 0 to 1.
In one embodiment, the specific region is with the center of gravity of the motion path as the center of circle, with first distance Threshold value is the circle of diameter.
According to the second aspect of the embodiment of the present disclosure, there is provided one kind meter coil apparatus, including:
Acquisition module, for setting up sampled point, according to sampled point motion path is obtained, and the sampled point is according to customer location Obtain, at least two sampled points are included on the motion path;
Determining module, for determining the reference point of the motion path;
Computing module, for according to the reference point, calculate the motion path angle and, the angle and be described The angle sum of the adjacent angle of two neighboring sampled point on motion path, the adjacent angle is adjacent two sampled point point Not with the connected line segment angle of the reference point;
Meter circle module, during for when the angle and more than 360 °, adds one by the motion number of turns.
In one embodiment, the determining module includes:
First determination sub-module, for determining distance is farthest between starting sample point first on the motion path Sampled point;
Second determination sub-module, by the midpoint of first sampled point and the starting sample point institute line section institute is defined as State the reference point of motion path.
In one embodiment, second determination sub-module is used for:
When distance between the starting sample point and first sampled point is more than the first distance threshold, by described the The midpoint of one sampled point and starting sample point institute line section is defined as the reference point of the motion path.
In one embodiment, the acquisition module includes:
Acquisition submodule, for obtaining sampled point corresponding with customer location according to default sample frequency;
3rd determination sub-module, for according to the sequencing for obtaining sampled point, phase on the motion path being determined one by one Whether the distance between second sampled point and the 3rd sampled point of neighbour are less than second distance threshold value, wherein, obtain described second and adopt The moment of sampling point is earlier than the moment for obtaining the 3rd sampled point, and second sampled point is non-abnormity point;
Submodule is rejected, for it is determined that between the second sampled point adjacent on the motion path and the 3rd sampled point When distance is more than or equal to second distance threshold value, the 3rd sampled point is defined as abnormity point and is rejected;
4th determination sub-module, for according to each sampled point obtained after rejecting abnormalities point, determining motion path.
In one embodiment, described device also includes:
5th determination sub-module, for determining the maximum movement speed of user;
6th determining module, for calculating the numerical value that the maximum movement speed is obtained divided by the sample frequency, and will The numerical value is defined as the second distance threshold value.
In one embodiment, the meter circle module includes:
7th determination sub-module, during in the angle and more than 360 °, determines whether the motion path meets pre- If condition;
Calculating sub module, for when the motion path meets pre-conditioned, adding one by the motion number of turns.
In one embodiment, it is described it is pre-conditioned including:
The distance between the starting sample point of the motion path and the first sampled point are more than the first distance threshold, and first adopts Sampling point is the farthest sampled point of starting sample point described in distance on the motion path;Or,
The minimum edge length of the boundary rectangle of the motion path is more than the first distance threshold;Or,
Total number of sample points on sampled point number on the motion path in the specific region and the motion path Ratio be more than predetermined threshold value, the predetermined threshold value is between 0 to 1.
In one embodiment, the specific region is with the center of gravity of the motion path as the center of circle, with first distance Threshold value is the circle of diameter.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, it is characterised in that the electronic equipment bag Include:
Processor;
For storing the memorizer of processor executable;
The processor is configured to:
Sampled point is set up, motion path is obtained according to sampled point, the sampled point is obtained according to customer location, the motion Include at least two sampled points on path;
Determine the reference point of the motion path;
According to the reference point, calculate the motion path angle and, the angle and be phase on the motion path The angle sum of the adjacent angle of adjacent two sampled points, the adjacent angle be adjacent two sampled point respectively with the reference The connected line segment angle of point;
If the angle and more than 360 °, the motion number of turns is added one.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
In the embodiment of the present disclosure, methods described can apply on electronic equipment, and by the electronic equipment object is obtained Motion path, and determine the reference point on the motion path, subsequently, by using the reference point motion road is calculated The angle in footpath and, finally, during in the angle and more than 360 °, the motion number of turns is added one, so far, realize the system to the motion number of turns Meter.It can be seen that, the statistics due to the motion number of turns can be automatically obtained by said process using electronic equipment, it is to avoid artificial ginseng With can improve statistical efficiency and accuracy to a certain extent.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the present invention Example, and be used to explain the principle of the present invention together with description.
Figure 1A is a kind of flow chart of the meter circle method according to an exemplary embodiment;
Figure 1B is a kind of one of scene graph of meter circle method according to an exemplary embodiment;
Fig. 1 C are the two of the scene graph of a kind of meter circle method according to an exemplary embodiment;
Fig. 2A is the flow chart of another kind of meter circle method according to an exemplary embodiment;
Fig. 2 B are the scene graph of another kind of meter circle method according to an exemplary embodiment;
Fig. 3 A are the flow charts of another kind of meter circle method according to an exemplary embodiment;
Fig. 3 B are the scene graph of another kind of meter circle method according to an exemplary embodiment;
Fig. 4 A are the flow charts of another kind of meter circle method according to an exemplary embodiment;
Fig. 4 B are one of scene graph of another kind of meter circle method according to an exemplary embodiment;
Fig. 4 C are the two of the scene graph of another kind of meter circle method according to an exemplary embodiment;
Fig. 5 A are the flow charts of another the meter circle method according to an exemplary embodiment;
Fig. 5 B are the scene graph of another the meter circle method according to an exemplary embodiment;
Fig. 6 is the block diagram of the meter coil apparatus according to an exemplary embodiment;
Fig. 7 is the block diagram of another kind of meter coil apparatus according to an exemplary embodiment;
Fig. 8 is the block diagram of another kind of meter coil apparatus according to an exemplary embodiment;
Fig. 9 is the block diagram of another kind of meter coil apparatus according to an exemplary embodiment;
Figure 10 is the block diagram of another the meter coil apparatus according to an exemplary embodiment;
Figure 11 is the structural representation of a kind of electronic equipment according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the present invention.
Figure 1A is a kind of flow chart of the meter circle method according to an exemplary embodiment.Figure 1B is exemplary according to one One of scene graph of meter circle method that enforcement is exemplified;Fig. 1 C are the scenes of the meter circle method according to an exemplary embodiment The two of figure.Method shown in Figure 1A can be applied in the electronic equipment for being easy to carry with (for example:Smart mobile phone, wrist-watch, handss Ring) on, can be realized by way of corresponding meter circle application software is installed in the electronic equipment.As shown in Figure 1A, it is described Method comprises the steps 101~104, wherein:
In a step 101, sampled point is set up, motion path is obtained according to sampled point, the sampled point is according to customer location Obtain, at least two sampled points are included on the motion path.
As shown in Figure 1B, in a kind of scene, athlete (user) can be carried with for uniting during motion The electronic equipment of the meter motion number of turns is (for example:Smart mobile phone, wrist-watch, bracelet), and electronic equipment is opened when moving on runway Meter circle function.Wherein, athletic motion path is obtained in real time by above-mentioned electronic equipment.In the present embodiment, can pass through Global positioning system (Global Positioning System, GPS) the athletic motion path of technical limit spacing.What is realized During, herein athletic real time position (i.e. sampled point) is obtained with certain sample frequency using GPS technology, and will obtain Each sampled point got connects into directed walk according to time order and function, to obtain above-mentioned motion path.
Shown in reference picture 1C, in one embodiment, athlete moves in a clockwise direction on oval playground.To obtain Each sampled point be connected in turn by directed line segment from starting sample point 11, that is, obtain the motion path 10 of object.It is described The direction of directed line segment typically can be consistent with the athletic direction of motion.
In a step 102, the reference point of the motion path is determined.
In the present embodiment, after obtaining motion path, motion path can be enclosed any point in the region for setting as ginseng According to point.For example, the pattern center of gravity that motion path can be formed by connecting is defined as reference point.Reference point A as shown in Figure 1 C.Close In the position of the reference point, the application is not restricted.
In step 103, according to the reference point, calculate the motion path angle and, the angle and be described The angle sum of the adjacent angle of two neighboring sampled point on motion path, the adjacent angle is adjacent two sampled point point Not with the connected line segment angle of the reference point.
At step 104, if the angle and more than 360 °, the motion number of turns is added one.
In order to make it easy to understand, with reference to Fig. 1 C to calculating the angle of the motion path and illustrating.With continued reference to Fig. 1 C, Motion path 10 includes some in chronological sequence orders, sampled point 11, sampled point 12, the sampled point 13, sampled point for obtaining successively 14…….After determining the reference point A of motion path, can obtain on motion path 10 each two neighbouring sample point respectively with reference Angle formed by the line section of point A, such as angle X1, X2, X3 ....Calculate the angle of the motion path 10 and as count Calculate each angle X1, X2, X3 ... angle and.And then determine this angle and whether more than 360 °, and if being more than 360 °, will fortune Moving-coil number adds one.
If additionally, the angle of the motion path and less than or equal to 360 °, continues to sample, until the motion path for obtaining Meet meter circle condition, carry out meter circle.
It should be noted that after meter circle is carried out to the motion path, will can count the letter of the motion path of circle Breath is removed, and after carrying out meter circle in above-mentioned steps 104, when moving object continues to move and need meter circle, obtains new fortune Dynamic path and carry out new round meter circle.
The said method that the embodiment of the present disclosure is provided can apply on electronic equipment, when meter circle is needed, by described Electronic equipment obtains motion path;Further determine the reference point of the motion path;And according to the reference point, calculate the fortune The angle in dynamic path and;If the angle and more than 360 °, the motion number of turns is added one.It can be seen that, due to electronic equipment can be utilized The statistics of the motion number of turns is automatically obtained by said process, it is to avoid artificial to participate in, statistical efficiency can be improved to a certain extent And accuracy.
In one embodiment, the reference point for determining the motion path, including:
Determine the first farthest sampled point of distance between starting sample point on the motion path;
The midpoint of first sampled point and starting sample point institute line section is defined as into the ginseng of the motion path According to point.
In one embodiment, the midpoint by first sampled point and starting sample point institute line section is defined as The reference point of the motion path, including:
When distance between the starting sample point and first sampled point is more than the first distance threshold, by described the The midpoint of one sampled point and starting sample point institute line section is defined as the reference point of the motion path.
In one embodiment, it is described to set up sampled point, motion path is obtained according to sampled point, including:
Sampled point corresponding with customer location is obtained according to default sample frequency;
According to the sequencing for obtaining sampled point, the second sampled point and the 3rd adjacent on the motion path is determined one by one Whether the distance between sampled point is less than second distance threshold value, wherein, the moment of second sampled point is obtained earlier than acquisition institute State the moment of the 3rd sampled point;
If it is not, the 3rd sampled point to be defined as abnormity point and reject;
According to each sampled point obtained after rejecting abnormalities point, motion path is determined.
In one embodiment, according to the sequencing for obtaining sampled point, determine one by one adjacent on the motion path Whether, less than before second distance threshold value, methods described also includes for the distance between second sampled point and the 3rd sampled point:
Determine the maximum movement speed of user;
The numerical value that the maximum movement speed is obtained divided by the sample frequency is calculated, and the numerical value is defined as into described Two distance thresholds.
In one embodiment, if the angle and more than 360 °, the motion number of turns is added one, including:
If the angle and more than 360 °, determine whether the motion path meets pre-conditioned;
If the motion path meets pre-conditioned, the motion number of turns is added one.
In one embodiment, it is described it is pre-conditioned including:
The distance between the starting sample point of the motion path and the first sampled point are more than the first distance threshold, and first adopts Sampling point is the farthest sampled point of starting sample point described in distance on the motion path;Or,
The minimum edge length of the boundary rectangle of the motion path is more than the first distance threshold;Or,
Total number of sample points on sampled point number on the motion path in the specific region and the motion path Ratio be more than predetermined threshold value, the predetermined threshold value is between 0 to 1.
In one embodiment, the specific region is with the center of gravity of the motion path as the center of circle, with first distance Threshold value is the circle of diameter.
Fig. 2A is the flow chart of another kind of meter circle method according to an exemplary embodiment;Fig. 2 B are according to an example Property implement the scene graph of another kind of meter circle method that exemplifies;Method shown in Fig. 2A can be applied in the electricity for being easy to carry with Sub- equipment is (for example:Smart mobile phone, wrist-watch, bracelet) on, can be by installing corresponding meter circle application software in the electronic equipment Mode realizing.As shown in Figure 2 A, methods described comprises the steps 201~205, wherein:
In step 201, sampled point is set up, motion path is obtained according to sampled point, the sampled point is according to customer location Obtain, at least two sampled points are included on the motion path.
In step 202., the first farthest sampled point of distance between starting sample point on the motion path is determined.
In step 203, the midpoint of first sampled point and starting sample point institute line section is defined as described The reference point of motion path.
In step 204, according to the reference point, calculate the motion path angle and, the angle and be described The angle sum of the adjacent angle of two neighboring sampled point on motion path.
In step 205, if the angle and more than 360 °, the motion number of turns is added one.
Above-mentioned steps 201, step 204, step 205 are referred to step 101, step in the embodiment shown in above-mentioned Figure 1A 103rd, the content of step 104, is no longer repeated herein.For the ease of calculating the angle and the present embodiment of the motion path There is provided the method for the reference point that the motion path is determined in step 202 and step 203.
It is illustrated with reference to determinations of Fig. 2 B to reference point.Shown in reference picture 2B, in one embodiment, athlete is in ellipse Shape is moved in a clockwise direction on playground, obtains athletic motion path 20.Determine and adopted with starting on the motion path 20 The first farthest sampled point 22 of distance between sampling point 21;Can be with the midpoint of line taking section 23 as the reference point B of motion path 20.
In one embodiment, after above-mentioned steps 202, before step 203, the starting sample can be determined by increasing Whether the distance between point and first sampled point are more than the method for the first distance threshold, so that circle of succeeding in one's scheme is more accurate.Should In method, if the distance between starting sample point and first sampled point are more than the first distance threshold, by described the The midpoint of one sampled point and starting sample point institute line section is defined as the reference point of the motion path.So as to avoid, Athlete runs to runway in running, only and just turns back, and the inaccurate situation of caused meter circle.
First distance threshold can be the default distance threshold of condition according to athletic tracks.If such as athlete's fortune When dynamic runway is circular, the diameter length of circular runway can be preset as the first distance threshold.If for another example athlete transports When dynamic runway is rectangle, the length on the long side of rectangle runway can be preset as the first distance threshold.
It should be noted that it is determined that during the reference point, can also be by first sampled point and the starting sample Any point in addition to midpoint in point institute line section is defined as the reference point of the motion path.
Fig. 3 A are the flow charts of another kind of meter circle method according to an exemplary embodiment;Fig. 3 B are according to an example Property implement the scene graph of another kind of meter circle method that exemplifies;Method shown in Fig. 3 A can be applied in the electricity for being easy to carry with Sub- equipment is (for example:Smart mobile phone, wrist-watch, bracelet) on, can be by installing corresponding meter circle application software in the electronic equipment Mode realizing.As shown in Figure 3A, methods described comprises the steps 301~307, wherein:
In step 301, sampled point corresponding with customer location is obtained according to default sample frequency.Wherein, sampling frequency Rate is the frequency of electronic equipment sampling each sampled point corresponding with customer location, and for example, sample frequency is 0.1HZ, then show Electronic equipment was sampled once every 10 seconds.
In step 302, according to the sequencing for obtaining sampled point, determine one by one adjacent second on the motion path Whether the distance between sampled point and the 3rd sampled point are less than second distance threshold value, wherein, obtain second sampled point when Carve earlier than the moment for obtaining the 3rd sampled point.If the determination result in step 302 is no, into step 303.
In step 303, the 3rd sampled point is defined as into abnormity point and the rejecting from the motion path.
In step 304, according to each sampled point obtained after rejecting abnormalities point, motion path is determined.
In step 305, the reference point of the motion path is determined.
Within step 306, according to the reference point, calculate the motion path angle and, the angle and be described The angle sum of the adjacent angle of two neighboring sampled point on motion path.
In step 307, if the angle and more than 360 °, the motion number of turns is added one.
Above-mentioned steps 301, step 305 to step 307 are referred in the embodiment shown in above-mentioned Figure 1A step 101 to step Rapid 104 content, is no longer repeated herein.
Because the data obtained using GPS technology there may be drifting problem, therefore, some obtained during meter circle are adopted Sampling point may be not accurate enough.In order to improve the accuracy rate of sampled point, it is referred to what above-mentioned steps 302 were provided into step 304 Method excludes not accurate enough sampled point (abbreviation abnormity point).In order to make it easy to understand, being illustrated with reference to Fig. 3 B.
Shown in reference picture 3B, in one embodiment, athlete moves in a clockwise direction on oval playground, according to pre- If sample frequency, according to athletic movement locus, the corresponding sampled point of berth is obtained successively, set up sampling point set Close track 30.For example, according to the time order and function of motion, starting sample point 31 is obtained first, secondly obtain sampled point 32, obtain afterwards Take sampled point 33 etc..After sampled point set track 30 is set up, from the beginning of starting sample point 31, along the side of Athletess To determining the distance between two sampled points adjacent in the sampled point set 30 whether less than default distance value one by one (this paper abbreviation second distance threshold values).For example from starting sample point 31 from the beginning of adjacent sampled point 32, starting sample point is determined Whether the distance between 31 and sampled point 32 are less than second distance threshold value, secondly, determine sampled point 32 with latter neighbouring sample point Whether the distance between 33 be less than default second distance threshold value, is so determined successively.Wherein, the previous sampling on path Point is above-mentioned second sampled point, and the latter sampled point on path is above-mentioned 3rd sampled point.When determine sampled point 34 with sampling When point the distance between 35 is more than second distance threshold value, latter sampled point 35 is defined as into abnormity point and from the sampled point set Reject on 30.After rejecting abnormalities point 35, the movement locus 37 between sampled point 34 and abnormity point 35, and connection are connected before Movement locus 38 between abnormity point 35 and sampled point 36 also will be disallowable.The substitute is, the previous sampling of abnormity point 35 Track 39 between point 34 and the latter sampled point 36 of abnormity point 35.That is, after rejecting abnormalities point 35, it is more accurate to obtain Motion path.It should be noted that in other embodiment during rejecting abnormalities point, can also refer to this method is carried out.In addition, During rejecting abnormalities, need to guarantee that above-mentioned second sampled point is not abnormity point.That is, when it is determined that sampled point 35 be abnormity point it Afterwards, then need not again judge the distance between sampled point 35 and sampled point 36 whether more than second distance threshold value, but directly with Sampled point 36 is the second sampled point, with next sampled point of sampled point 36 as the 3rd sampled point, proceeds above-mentioned abnormity point and knows Other process.Wherein, typically do not consider there is the situation of continuous two abnormity points on motion path, can give tacit consent to and abnormity point 35 pairs The true samples point position answered is located substantially at sampled point 34 and sampled point 36 connects on track 39.
In one embodiment, the second distance threshold value can as needed count the practical situation of circle and be preset.
For example, in one embodiment, the second distance threshold value could be arranged to athletic maximum movement speed divided by The value that sample frequency is obtained.In the present embodiment, athletic maximum movement speed can be in electronics before Athletess A default value being input on equipment;Can also be during Athletess, by being somebody's turn to do that electronic equipment is real-time monitored The current maximal rate of athlete.
For example, if current maximal rate V of the athlete for real-time monitoringmaxFor 12m/s, the sampling frequency of sampled point is obtained Rate f is 0.5Hz, then when Athletess are carried out with meter circle, can be by second distance threshold preset:Vmax/ f=24m.Another A certain distance (such as 30 meters, 50 meters) can also be directly set in one embodiment as the second distance threshold value.
It can be seen that, this method using the abnormity point on the motion path for obtaining is excluded can effectively improve the statistics number of turns Accuracy.
Fig. 4 A are the flow charts of another kind of meter circle method for implementing to exemplify according to another exemplary;Fig. 4 B are shown according to one Example property implements one of scene graph of another kind of meter circle method for exemplifying;Fig. 4 C are another according to an exemplary embodiment Plant the two of the scene graph for counting circle method;Method shown in Fig. 4 A can be applied in the electronic equipment for being easy to carry with (for example:Intelligence Energy mobile phone, wrist-watch, bracelet) on, can be realized by way of corresponding meter circle application software is installed in the electronic equipment.Such as Shown in Fig. 4 A, methods described comprises the steps 401~405, wherein:
In step 401, sampled point is set up, motion path is obtained according to sampled point, the sampled point is according to customer location Obtain, at least two sampled points are included on the motion path.
In step 402, the reference point of the motion path is determined.
In step 403, according to the reference point, calculate the motion path angle and, the angle and be described The angle sum of the adjacent angle of two neighboring sampled point on motion path, the adjacent angle is adjacent two sampled point point Not with the connected line segment angle of the reference point.
In step 404, if the angle and more than 360 °, determine whether the motion path meets pre-conditioned.
In step 405, if the motion path meets pre-conditioned, the motion number of turns is added one.
Above-mentioned steps 401 to step 403 is referred in the embodiment shown in above-mentioned Figure 1A step 101 to step 103 Content, is no longer repeated herein.
In the present embodiment, on the basis of the embodiment shown in above-mentioned Figure 1A, increase pre-conditioned, can further improve The accuracy of meter circle.With regard to pre-conditioned, it is listed below herein several:
In one embodiment, it is described pre-conditioned to be:The starting sample point of the motion path and the first sampling The distance between point is more than the first distance threshold, and the first sampled point is that starting sample point is farthest described in distance on the motion path Sampled point.It is referred to combine the respective description that Fig. 2 B are provided in an above-mentioned embodiment.
In another embodiment, it is described pre-conditioned to can also be:The minimum edge of the boundary rectangle of the motion path It is long to be more than the first distance threshold.Shown in reference picture 4B, in one embodiment, athlete on oval playground in a clockwise direction Motion, obtains athletic motion path 40, its initial samples point 41, boundary rectangle C.Can pass through to determine boundary rectangle C's Whether the minimum length of side is more than the first distance threshold.Wherein, first threshold is referred to the related content in above-described embodiment.
In another embodiment, it is described pre-conditioned to can also be:On the motion path in specific region The ratio of the total number of sample points on sampled point number and the motion path is more than predetermined threshold value, and the predetermined threshold value is between 0 to 1 Between.The specific region can include but is not limited to the regions such as border circular areas, rectangular area.If the specific region for arranging is circle Can be the circle with the center of gravity of the motion path of acquisition as the center of circle, with first distance threshold as diameter during shape.Reference picture 4C It is shown, the motion path 50 of acquisition, its initial samples point 51, the specific region of setting is to justify the region within D.For example can set It is 0.6 to put threshold value, i.e., on motion path 50, the number of the sampled point beyond circle D is more than 0.6 with the ratio of total number of sample points When, then meet meter circle condition.Centralization of state power condition is met here on motion path 50, the number of the sampled point beyond circle D is 11, Total sampled point number is 15, and the ratio is:11/15=0.7333, more than predetermined threshold value 0.6, thus meet meter circle condition.
It should be noted that it is above-mentioned it is pre-conditioned can be above two or two or more conditions combination.
Fig. 5 A are the flow charts of another the meter circle method for implementing to exemplify according to another exemplary;Fig. 5 B are shown according to one Example property implements the scene graph of another the meter circle method for exemplifying;Method shown in Fig. 5 A can be applied is being easy to what is carried with Electronic equipment is (for example:Smart mobile phone, wrist-watch, bracelet) on, can be by installing corresponding meter circle using soft in the electronic equipment The mode of part is realizing.As shown in Figure 5A, methods described comprises the steps 501~508, wherein:
In step 501, first path is obtained, at least two sampled points is included on first motion path.
In step 502, the second motion path is obtained on first motion path.
In step 503, determine one by one the second sampled point adjacent on second motion path and the 3rd sampled point it Between distance whether be less than second distance threshold value;If so, step 504 is entered;If it is not, return to step 502.
In step 504, determine that on second motion path distance is farthest between starting sample point first adopts Sampling point.
In step 505, determine the distance between the starting sample point and described first sampled point whether more than first Distance threshold;If so, step 506 is then entered;If it is not, then return to step 502.
In step 506, the reference point of second motion path is determined.
In step 507, according to the reference point, calculate the motion path angle and, the angle and be described The angle sum of the adjacent angle of two neighboring sampled point on motion path.
In step 508, if the angle and more than 360 °, the motion number of turns is added one.
Above-mentioned steps 503 are referred to the content of above-mentioned steps 302;Step 504 is referred to the interior of above-mentioned steps 202 Hold;Step 506 to step 508 is referred to the content of above-mentioned steps 102 to step 104, is no longer repeated herein.
In order to make it easy to understand, being illustrated with reference to Fig. 5 B.
Shown in reference picture 5B, in one embodiment, obtain what athlete moved in a clockwise direction on oval playground First motion path 60, i.e. initial samples point P0To sampled point PjBetween motion path.From initially on the first motion path 60 Sampled point starts, and obtains the second motion path.Second motion path can on first motion path 60, initially be adopted Sampling point is to one section of movement locus between a certain sampled point.For example, the initial samples point P shown in Fig. 5 B0To sampled point PmOne Section motion path.And then determine one by one from initial samples point P0To sampled point PmThe second motion path on, per two adjacent samplings Whether the distance between point is less than second distance threshold value;If so, step 504 is entered;If it is not, being referred to the institute of above-mentioned steps 303 The method stated, rejecting abnormalities sampled point, and return to step 502, obtain the second motion path after rejecting abnormalities sampled point, and then Into subsequent step.In step 504, it may be determined that from initial samples point P0To sampled point PmThe second motion path on, with rise The first farthest sampled point P of distance between beginning sampled pointm.Further determine that initial samples point P0With sampled point PmThe distance between Whether default first distance threshold is more than;If so, subsequent step 506 is then entered;If it is not, then continuing to obtain in return to step 502 The second new motion path is taken, for example, can continue to take sampled point backward, be obtained from initial samples point P0To sampled point PnBetween Second motion path.Until the second motion path for obtaining meets the above-mentioned condition that can count circle.
To obtaining from initial samples point P0To sampled point PjThe second motion path meter circle after, can count the of circle The erasing of information of two motion paths, in follow-up meter circle, can be from sampled point PjStart to obtain the second motion path, for example, sample Point PjTo sampled point PkBetween motion path.
It should be noted that in the present embodiment, first distance threshold, second distance threshold value can be manually set Distance threshold.So, user can be according to conditions such as the size of athletic tracks, displacement speed, with meter circle function First distance threshold, second distance threshold value are set on electronic equipment, so as to obtain the personalized meter for being more suitable for user itself Circle equipment.The present embodiment can improve to a certain extent statistical efficiency and accuracy, while also improving the use body of user Test.
Fig. 6 is a kind of block diagram of the meter coil apparatus according to an exemplary embodiment.As shown in fig. 6, the equipment is visited Ask that device can include:
Acquisition module 601, for setting up sampled point, according to sampled point motion path is obtained, and the sampled point is according to user Position obtains, and at least two sampled points are included on the motion path.
Determining module 602, for determining the reference point of the motion path.
Computing module 603, for according to the reference point, calculate the motion path angle and, the angle and be The angle sum of the adjacent angle of two neighboring sampled point on the motion path, the adjacent angle is adjacent two sampling Point respectively with the connected line segment angle of the reference point.
Meter circle module 604, if for the angle and more than 360 °, adding one by the motion number of turns.
Fig. 7 is the block diagram of another kind of meter coil apparatus according to an exemplary embodiment.In the enforcement that above-mentioned Fig. 6 is introduced On the basis of example, the determining module 602 includes:
First determination sub-module 6021, it is farthest for determining the distance between starting sample point on the motion path First sampled point;
Second determination sub-module 6022, the midpoint of first sampled point and starting sample point institute line section is determined For the reference point of the motion path.
In one embodiment, second determination sub-module 6022 can be used for:
When distance between the starting sample point and first sampled point is more than the first distance threshold, by described the The midpoint of one sampled point and starting sample point institute line section is defined as the reference point of the motion path.
Fig. 8 is the block diagram of another kind of meter coil apparatus according to an exemplary embodiment.In the enforcement that above-mentioned Fig. 6 is introduced On the basis of example, the acquisition module 601 can include:
Acquisition submodule 6011, for obtaining sampled point corresponding with customer location according to default sample frequency.
3rd determination sub-module 6012, for according to the sequencing for obtaining sampled point, the motion path being determined one by one Whether the distance between upper the second adjacent sampled point and the 3rd sampled point are less than second distance threshold value, wherein, obtain described the The moment of two sampled points is earlier than the moment for obtaining the 3rd sampled point.
Reject submodule 6013, for it is determined that the second sampled point adjacent on the motion path and the 3rd sampled point it Between distance be more than or equal to second distance threshold value when, the 3rd sampled point is defined as into abnormity point and from the motion path Reject.
4th determination sub-module 6014, for according to each sampled point obtained after rejecting abnormalities point, determining motion path.
Fig. 9 is the block diagram of another kind of meter coil apparatus according to an exemplary embodiment.In the enforcement that above-mentioned Fig. 6 is introduced On the basis of example, described device also includes:
5th determination sub-module 610, for determining the maximum movement speed of user;
6th determining module 620, for calculating the numerical value that the maximum movement speed is obtained divided by the sample frequency, and The numerical value is defined as into the second distance threshold value.
Figure 10 is the block diagram of another the meter coil apparatus according to an exemplary embodiment.In the reality that above-mentioned Fig. 6 is introduced On the basis of applying example, the meter circle module 604 can include:
7th determination sub-module 6041, during in the angle and more than 360 °, determines whether the motion path is full Foot is pre-conditioned;
Calculating sub module 6042, for when the motion path meets pre-conditioned, adding one by the motion number of turns.
In one embodiment, it is described pre-conditioned to include:
The distance between the starting sample point of the motion path and the first sampled point are more than the first distance threshold, and first adopts Sampling point is the farthest sampled point of starting sample point described in distance on the motion path;Or,
The minimum edge length of the boundary rectangle of the motion path is more than the first distance threshold;Or,
Total number of sample points on sampled point number on the motion path in the specific region and the motion path Ratio be more than predetermined threshold value, the predetermined threshold value is between 0 to 1.
In one embodiment, the specific region can be with the center of gravity of the motion path as the center of circle, with described first Distance threshold is the circle of diameter.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematic, wherein illustrating as separating component Module can be or may not be physically separate, can be as the part that module shows or may not be Physical module, you can be located at a place, or can also be distributed on multiple mixed-media network modules mixed-medias.Can be according to the actual needs Select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, you can to understand and implement.
Figure 11 is a kind of block diagram of the electronic equipment suitable for meter circle according to an exemplary embodiment.For example, institute It can be with smart mobile phone, intelligent watch or bracelet or sports bicycle for counting circle function etc. to state electronic equipment 700.
With reference to Fig. 8, electronic equipment 700 can include following one or more assemblies:Process assembly 702, memorizer 704, Power supply module 706, multimedia groupware 708, audio-frequency assembly 710, the interface 712 of input/output (I/O), sensor cluster 714, And communication component 716.
The integrated operation of the usual control terminal equipment 700 of process assembly 702, such as with display, data communication, record operation Associated operation.Treatment element 702 can carry out execute instruction including one or more processors 720, in one embodiment, institute State processor 720 to be configured to:
Sampled point is set up, motion path is obtained according to sampled point, the sampled point is obtained according to customer location, the motion Include at least two sampled points on path;
Determine the reference point of the motion path;
According to the reference point, calculate the motion path angle and, the angle and be phase on the motion path The angle sum of the adjacent angle of adjacent two sampled points, the adjacent angle be adjacent two sampled point respectively with the reference The connected line segment angle of point;
If the angle and more than 360 °, the motion number of turns is added one.
Additionally, process assembly 702 can include one or more modules, it is easy between process assembly 702 and other assemblies Interaction.For example, processing component 702 can include multi-media module, with facilitate multimedia groupware 708 and process assembly 702 it Between interaction.
Memorizer 704 is configured to store various types of data to support the operation in equipment 700.These data are shown Example includes the instruction of any application program for operating on electronic equipment 700 or method, message, picture etc..Memorizer 704 Can be realized by any kind of volatibility or non-volatile memory device or combinations thereof, such as static random access memory Device (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) can be compiled Journey read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 706 provides electric power for the various assemblies of electronic equipment 700.Electric power assembly 706 can include power supply pipe Reason system, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for electronic equipment 700.
Multimedia groupware 708 is included in the screen of one output interface of offer between electronic equipment 700 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action side Boundary, but also the detection persistent period related to touch or slide and pressure.In certain embodiments, multimedia groupware 708 include a front-facing camera and/or post-positioned pick-up head.When equipment 700 is in operator scheme, such as screening-mode or video screen module During formula, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and rearmounted take the photograph As head can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 710 is configured to output and/or input audio signal.For example, audio-frequency assembly 710 includes a Mike Wind (MIC), when electronic equipment 700 is in operator scheme, such as call model, logging mode and speech recognition mode, mike It is configured to receive external audio signal.The audio signal for being received can be further stored in memorizer 704 or via logical Letter component 716 sends.In certain embodiments, audio-frequency assembly 710 also includes a speaker, for exports audio signal.
, to provide interface between process assembly 702 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 712 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 714 includes one or more sensors, for providing the state of various aspects for electronic equipment 700 Assessment.For example, sensor cluster 714 can detect the opening/closed mode of equipment 700, such as relative localization of component, group Part is the display and keypad of electronic equipment 700, and sensor cluster 714 can also detect electronic equipment 700 or electronic equipment The position change of 700 1 components, user is presence or absence of with what electronic equipment 700 was contacted, the orientation of electronic equipment 700 or add Speed/deceleration and the temperature change of electronic equipment 700.Sensor cluster 714 can include proximity transducer, be configured to not have The presence of object nearby is detected when having any physical contact.Sensor cluster 714 can also include optical sensor, such as CMOS or Ccd image sensor, for used in imaging applications.In certain embodiments, the sensor cluster 714 can also include adding Velocity sensor, gyro sensor, Magnetic Sensor, distance-sensor, pressure transducer or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between electronic equipment 700 and other equipment. Electronic equipment 700 can be accessed based on the wireless network of communication standard, such as WIFI, 2G or 3G, or combinations thereof.Show at one In example property embodiment, communication component 716 receives broadcast singal or the broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, communication component 716 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, electronic equipment 700 can be by one or more application specific integrated circuits (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 704 of instruction, above-mentioned instruction can be performed to complete said method by the processor 720 of electronic equipment 700.This In embodiment, the processor 720 can be configured to:Obtain view data;It is determined that the parameter preset in default mist elimination algorithm Value;According to the value of the parameter preset and the default mist elimination algorithm is adopted, mist elimination process is carried out to described image data;Ring , according to the view data obtained after mist elimination process, image file should be generated in photographing instruction.For example, non-transitory computer can It can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc. to read storage medium.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. it is a kind of to count circle method, it is characterised in that to include:
Sampled point is set up, motion path is obtained according to sampled point, the sampled point is obtained according to customer location, the motion path It is upper to include at least two sampled points;
Determine the reference point of the motion path;
According to the reference point, calculate the motion path angle and, the angle and be adjacent two on the motion path The angle sum of the adjacent angle of individual sampled point, the adjacent angle be adjacent two sampled point respectively with the reference point institute Line segment angle even;
If the angle and more than 360 °, the motion number of turns is added one.
2. method according to claim 1, it is characterised in that the reference point of the determination motion path, including:
Determine the first farthest sampled point of distance between starting sample point on the motion path;
The midpoint of first sampled point and starting sample point institute line section is defined as into the reference point of the motion path.
3. method according to claim 2, it is characterised in that described by first sampled point and starting sample point The midpoint of institute's line section is defined as the reference point of the motion path, including:
When distance between the starting sample point and first sampled point is more than the first distance threshold, described first is adopted The midpoint of sampling point and starting sample point institute line section is defined as the reference point of the motion path.
4. method according to claim 1, it is characterised in that described to set up sampled point, according to sampled point motion road is obtained Footpath, including:
Sampled point corresponding with customer location is obtained according to default sample frequency;
According to the sequencing for obtaining sampled point, the second sampled point adjacent on the motion path and the 3rd sampling are determined one by one Whether the distance between point is less than second distance threshold value, wherein, moment of second sampled point is obtained earlier than obtaining described the The moment of three sampled points, and second sampled point is non-abnormity point;
If it is not, the 3rd sampled point to be defined as abnormity point and reject;
According to each sampled point obtained after rejecting abnormalities point, motion path is determined.
5. method according to claim 4, it is characterised in that according to the sequencing for obtaining sampled point, determine one by one Whether the distance between the second adjacent sampled point and the 3rd sampled point are less than before second distance threshold value on the motion path, institute Stating method also includes:
Determine the maximum movement speed of user;
Calculate the numerical value that the maximum movement speed is obtained divided by the sample frequency, and by the numerical value be defined as described second away from From threshold value.
6. method according to claim 1, it is characterised in that if the angle and more than 360 °, by the motion number of turns Plus one, including:
If the angle and more than 360 °, determine whether the motion path meets pre-conditioned;
If the motion path meets pre-conditioned, the motion number of turns is added one.
7. method according to claim 6, it is characterised in that it is described it is pre-conditioned including:
The distance between the starting sample point of the motion path and the first sampled point are more than the first distance threshold, the first sampled point It is the farthest sampled point of starting sample point described in distance on the motion path;Or,
The minimum edge length of the boundary rectangle of the motion path is more than the first distance threshold;Or,
The ratio of the total number of sample points on the sampled point number on the motion path in the specific region and the motion path Value is more than predetermined threshold value, and the predetermined threshold value is between 0 to 1.
8. method according to claim 7, it is characterised in that the specific region is to be with the center of gravity of the motion path The center of circle, the circle with first distance threshold as diameter.
9. it is a kind of to count coil apparatus, it is characterised in that to include:
Acquisition module, for setting up sampled point, according to sampled point motion path is obtained, and the sampled point is obtained according to customer location , at least two sampled points are included on the motion path;
Determining module, for determining the reference point of the motion path;
Computing module, for according to the reference point, calculate the motion path angle and, the angle and be the motion The angle sum of the adjacent angle of two neighboring sampled point on path, the adjacent angle be adjacent two sampled point respectively with The connected line segment angle of the reference point;
Meter circle module, during in the angle and more than 360 °, adds one by the motion number of turns.
10. device according to claim 9, it is characterised in that the determining module includes:
First determination sub-module, for determining the first sampling that distance is farthest between starting sample point on the motion path Point;
Second determination sub-module, by the midpoint of first sampled point and the starting sample point institute line section fortune is defined as The reference point in dynamic path.
11. devices according to claim 10, it is characterised in that second determination sub-module is used for:
When distance between the starting sample point and first sampled point is more than the first distance threshold, described first is adopted The midpoint of sampling point and starting sample point institute line section is defined as the reference point of the motion path.
12. devices according to claim 9, it is characterised in that the acquisition module includes:
Acquisition submodule, for obtaining sampled point corresponding with customer location according to default sample frequency;
3rd determination sub-module, is used to determining one by one adjacent the on the motion path according to the sequencing for obtaining sampled point Whether the distance between two sampled points and the 3rd sampled point are less than second distance threshold value, wherein, obtain second sampled point Moment is earlier than the moment for obtaining the 3rd sampled point, and second sampled point is non-abnormity point;
Submodule is rejected, for it is determined that the distance between the second sampled point adjacent on the motion path and the 3rd sampled point During more than or equal to second distance threshold value, the 3rd sampled point is defined as abnormity point and is rejected;
4th determination sub-module, for according to each sampled point obtained after rejecting abnormalities point, determining motion path.
13. devices according to claim 12, it is characterised in that described device also includes:
5th determination sub-module, for determining the maximum movement speed of user;
6th determining module, for calculating the numerical value that the maximum movement speed is obtained divided by the sample frequency, and this is counted Value is defined as the second distance threshold value.
14. devices according to claim 9, it is characterised in that the meter circle module includes:
7th determination sub-module, during in the angle and more than 360 °, determines whether the motion path meets default bar Part;
Calculating sub module, for when the motion path meets pre-conditioned, adding one by the motion number of turns.
15. devices according to claim 14, it is characterised in that it is described it is pre-conditioned including:
The distance between the starting sample point of the motion path and the first sampled point are more than the first distance threshold, the first sampled point It is the farthest sampled point of starting sample point described in distance on the motion path;Or,
The minimum edge length of the boundary rectangle of the motion path is more than the first distance threshold;Or,
The ratio of the total number of sample points on the sampled point number on the motion path in the specific region and the motion path Value is more than predetermined threshold value, and the predetermined threshold value is between 0 to 1.
16. devices according to claim 15, it is characterised in that the specific region is with the center of gravity of the motion path For the center of circle, the circle with first distance threshold as diameter.
17. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Processor;
For storing the memorizer of processor executable;
The processor is configured to:
Sampled point is set up, motion path is obtained according to sampled point, the sampled point is obtained according to customer location, the motion path It is upper to include at least two sampled points;
Determine the reference point of the motion path;
According to the reference point, calculate the motion path angle and, the angle and be adjacent two on the motion path The angle sum of the adjacent angle of individual sampled point, the adjacent angle be adjacent two sampled point respectively with the reference point institute Line segment angle even;
If the angle and more than 360 °, the motion number of turns is added one.
CN201611103854.8A 2016-12-05 2016-12-05 Meter circle method and device, electronic equipment Active CN106581992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611103854.8A CN106581992B (en) 2016-12-05 2016-12-05 Meter circle method and device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611103854.8A CN106581992B (en) 2016-12-05 2016-12-05 Meter circle method and device, electronic equipment

Publications (2)

Publication Number Publication Date
CN106581992A true CN106581992A (en) 2017-04-26
CN106581992B CN106581992B (en) 2019-03-15

Family

ID=58597065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611103854.8A Active CN106581992B (en) 2016-12-05 2016-12-05 Meter circle method and device, electronic equipment

Country Status (1)

Country Link
CN (1) CN106581992B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311779A (en) * 2020-02-14 2020-06-19 每步科技(上海)有限公司 Timing system and timing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4823367A (en) * 1987-08-07 1989-04-18 Rikagaku Kenkyujyo and Hochiki Corp. Method and apparatus for automatic lap counting
CN101216945A (en) * 2007-12-26 2008-07-09 广东威创视讯科技股份有限公司 Method and device for graphic rendering
JP2012217821A (en) * 2011-04-05 2012-11-12 Masashi Hattori Circuit counter in running course
US20120314832A1 (en) * 2011-06-10 2012-12-13 Alexander Arrow System and method for athletic event lap counting
CN103245354A (en) * 2013-04-23 2013-08-14 北京小米科技有限责任公司 Method and device for counting number of turns
CN103809194A (en) * 2014-02-13 2014-05-21 上海温光自动化技术有限公司 Method and device for displaying GPS trajectory curve
CN204580137U (en) * 2015-04-22 2015-08-26 上海卓旗电子科技有限公司 A kind of intelligent hand string with meter circle function
CN105107184A (en) * 2015-08-26 2015-12-02 上海斐讯数据通信技术有限公司 Exercise training method and system, intelligent glasses and exercise trainer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4823367A (en) * 1987-08-07 1989-04-18 Rikagaku Kenkyujyo and Hochiki Corp. Method and apparatus for automatic lap counting
CN101216945A (en) * 2007-12-26 2008-07-09 广东威创视讯科技股份有限公司 Method and device for graphic rendering
JP2012217821A (en) * 2011-04-05 2012-11-12 Masashi Hattori Circuit counter in running course
US20120314832A1 (en) * 2011-06-10 2012-12-13 Alexander Arrow System and method for athletic event lap counting
CN103245354A (en) * 2013-04-23 2013-08-14 北京小米科技有限责任公司 Method and device for counting number of turns
CN103809194A (en) * 2014-02-13 2014-05-21 上海温光自动化技术有限公司 Method and device for displaying GPS trajectory curve
CN204580137U (en) * 2015-04-22 2015-08-26 上海卓旗电子科技有限公司 A kind of intelligent hand string with meter circle function
CN105107184A (en) * 2015-08-26 2015-12-02 上海斐讯数据通信技术有限公司 Exercise training method and system, intelligent glasses and exercise trainer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311779A (en) * 2020-02-14 2020-06-19 每步科技(上海)有限公司 Timing system and timing method

Also Published As

Publication number Publication date
CN106581992B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN105590094B (en) Determine the method and device of human body quantity
CN105389957B (en) Communication means, the apparatus and system of wearable device
CN104065878B (en) Filming control method, device and terminal
CN104270565B (en) Image capturing method, device and equipment
CN106651955A (en) Method and device for positioning object in picture
CN110381443A (en) Near-field communication card Activiation method and device
CN108629354A (en) Object detection method and device
CN106572299A (en) Camera switching-on method and device
CN106557768A (en) The method and device is identified by word in picture
CN106355573A (en) Target object positioning method and device in pictures
CN105509735B (en) Information cuing method, device and terminal
CN106295511A (en) Face tracking method and device
CN106384348B (en) The method for detecting abnormality and device of monitoring image
CN106203306A (en) The Forecasting Methodology at age, device and terminal
CN111288999B (en) Pedestrian road network attribute detection method, device and equipment based on mobile terminal
CN106228158A (en) The method and apparatus of picture detection
CN112115894B (en) Training method and device of hand key point detection model and electronic equipment
CN107463903A (en) Face key independent positioning method and device
CN106557759A (en) A kind of sign board information getting method and device
CN109727208A (en) Filter recommended method, device, electronic equipment and storage medium
CN109325479A (en) Paces detection method and device
CN106980880A (en) The method and device of images match
CN108717542A (en) Identify the method, apparatus and computer readable storage medium of character area
CN107786746A (en) Control method, device and system, the storage medium of traffic application
CN104484046B (en) Duration monitoring method and device

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