Background technology
Walking is the topmost mode of the daily physical exertion of people.Determine that a suitable Relationship of Walking is for instructing masses to carry out body-building and prevent disease has extremely important effect.So, can carry the instrument that carries out accurate Relationship of Walking measurement---passometer just becomes more universal.Yet the modern life makes people have higher requirement for the rich of various carry-on functions of the equipments.Especially for the sports of unitem, people reduce by every means especially and eliminate its monotonicity.For example, a lot of persons taking exercise often carry MP3 walkman or even mobile phone in walking or while taking exercise by running, and play music, disperse exercise band to people's dull impression.
In prior art, the scheme of increase passometer user's exercise interest is also few.For example, application number is that the application for a patent for invention of CN201310288087.2 discloses a kind of passometer with the identification of motion timeliness and moving target management function, walking time period interval and counting step target data in special time circulation can be set flexibly, for carrier individual, remind and count step specific to certain time period, and its time period and target arrange flexibly, there is better body-building supervision role, persevering adheres to, is more conducive to the exercise of its perseverance and willpower.When user completes from establishing or default interval counting after step target of time period, can in display device, carry out the identification of movement effects special circumstances and show.
In addition, the U.S. Patent Application Publication that application number is 09/832,905 a kind of passometer, the step number on the same day, when predefined value is following, is judged to be passometer and is not mounted, the step count data on the same day not being mounted is not used in the calculating of average step number.The occasion that the step number on the same day is larger than setting value, judges that passometer is mounted, and the step number on the same day adds total step number, and number of days adds 1, with number of days, except all adding up to step numbers, calculates 1 day on average step by step count.This application can provide a kind of passometer, and this passometer not only can show the average step number of 1 day, and, even if user forgets installation passometer, also can keep the correctness of average step number, the interest of motion can be continued.
Yet, above-mentioned passometer of the prior art can not provide and user between higher interactive.Especially for the sports enthusiast who dotes on music, cannot obtain melody, music by the passometer providing in prior art, even song, has reduced the lasting interest to passometer.
Summary of the invention
In order to overcome the above-mentioned problems in the prior art, the invention provides a kind of passometer, comprise meter step information acquisition unit, controller, storer, communication unit, audio coding unit, it is characterized in that, described controller is crossed audio coding unit according to meter step information exchange and is encoded, form audio coding, described communication unit is transferred to external unit by described audio coding, for external unit, processes.
Further, described external unit comprises computer, mobile phone, and have at least one in the audio playing apparatus of cloud communication or cloud computing module, and described external unit is according to the audio coding audio plays receiving or play dissimilar song according to the music attribute of described audio coding.
Further, described passometer also comprises audio playing unit, the meter step information that described controller collects according to meter step information acquisition unit is called melody or the note data of preserving in advance in storer, by audio coding unit, encode, and the result obtaining at audio playing unit broadcast encoder.
Further, described meter step information acquisition unit comprises three-dimensional accelerometer.
Further, described meter step information acquisition unit also comprises clock.
Further, described meter step information acquisition unit also comprises GPS unit.
Further, described audio playing unit comprises digital to analog converter and loudspeaker, for the digital signal that audio coding unit is generated, converts the simulating signal that loudspeaker can be play to.
Further, described file comprises MP3 or WAV form.
Further, the note data of storing in described storer is under different and/or identical tones.
Further, the stride that described control module calculates according to described three-dimensional accelerometer or step-length are chosen corresponding melody or note data in storer, thereby form a first new melody.
Beneficial effect of the present invention is as follows: the first, and this passometer cost is low, and power consumption is little, can record tact of motion data, by software or high in the clouds coupling melody.
The second, use meter step information combination that the user of passometer can obtain according to passometer to go out or even create one section of new music, the broadcasting of this music and even share and can bring user brand-new experience.
The 3rd, different note corresponding to exercise data, finally forms complete music, by passometer, gathers motion morphology, corresponding with the music in storer, reaches by the object of the mode art music of motion, increases interest, excites creation inspiration.Especially for musical composition person, a kind of new working method of can yet be regarded as and excite the source of creation inspiration.
Embodiment
Below in conjunction with accompanying drawing, describe specific embodiments of the invention in detail.
As shown in Figure 1, passometer 100, comprises meter step information acquisition unit 101, controller 102, storer 103, communication unit 104, audio coding unit 105.
The passometer relating in the present invention refers generally to electronic type passometer.Wherein, meter step information acquisition unit 101 is core devices of passometer 100.According to one embodiment of present invention, meter step information acquisition unit 101 comprises three-dimensional accelerometer 1011.Now, the meter step information that meter step information acquisition unit 101 collects is the accekeration on three-dimensional.According to another embodiment of the invention, meter step information acquisition unit 101 comprises three-dimensional accelerometer 1011 and clock 1012.Now, meter step information comprises the accekeration and the moment that gathers these accekerations on three-dimensional.According to still another embodiment of the invention, meter step information acquisition unit 101 also comprises three-dimensional accelerometer 1011 and GPS unit 1013.Now, meter step information comprises accekeration on three-dimensional, gathers the moment of these accekerations, and this residing geographic position of user of passometer 100 constantly.
Controller 102 is connected respectively with audio coding unit 105 with meter step information acquisition unit 101, storer 103, communication unit 104, for controlling work schedule and the switch of unit or parts.General single-chip microcomputer or the DSP of adopting of controller 102.
According to a first aspect of the invention, in a preferred embodiment, the meter step information exchange that controller 102 collects according to meter step information acquisition unit 101 is crossed audio coding unit 105 and is encoded, form audio coding, described communication unit 104 is transferred to external unit by described audio coding, for external unit, processes.Described external unit comprises computer, mobile phone, and have at least one in the audio playing apparatus of cloud communication or cloud computing module, and described external unit is according to the audio coding audio plays receiving or play dissimilar song according to the music attribute of described audio coding.
In a preferred embodiment, the smart machine that passometer 100 and mobile phone or ipod are such, or the equipment (for example cloud mobile phone) with cloud communication and/or cloud computing module etc. can carry out wired or wireless communication.
Described processing comprises at least one in the music attribute such as beat according to audio coding, the rhythm, tone, externally in equipment, plays dissimilar song.For example, when people carry the motion of passometer and smart machine, while running a good foot, tact of motion is fast, and passometer obtains is encoded to A, is transferred to the equipment such as mobile phone, starts the song that player plays belongs to the rock and roll classification that A encodes corresponding; If A coding is situation about strolling away, can corresponding lyric song etc.
According to another embodiment of the invention, the meter step information that controller 102 collects according to meter step information acquisition unit 101 is also processed.
According to a second aspect of the invention, described passometer 100 also comprises audio playing unit 106, and controller 102 is also connected with audio playing unit 106.The meter step information that described controller 102 collects according to meter step information acquisition unit 101 is called melody or the note data of preserving in advance in storer 103, by audio coding unit 105, encodes, and the result obtaining at audio playing unit 106 broadcast encoders.The frequency of walking of for example counting in step information is high, shows that user's speed of walking is fast, now calls song cheerful and light-hearted in storer 103 and plays by audio playing unit 106; Otherwise just slow down the song of rhythm.In another example, according to the tact of motion of meter step information, send scale, make audio playing unit 106 play the music of respective classes beat.
In storer 103, can preserve as required predefined threshold value and melody, it is arranged.In a preferred embodiment, in storer 103, preserve in advance a plurality of threshold values and branched melody.For example, 3-8 threshold value and 3-8 prop up melody.The number of threshold value and the number of melody can be one to one, can be also not corresponding.
For example, take below and in storer 103, preserve in advance 7 threshold values and 7 melodies are example.Controller 102 calculates the mould value of the vector superposed value of the accekeration on the three-dimensional that three-dimensional accelerometer 1011 collects, judge each mould value is between which two of 7 threshold values that set in advance, then call corresponding melody or the note data in storer 103, preserved in advance, form a first new melody.
According to another preferred embodiment of the present invention, in storer 103, storage is N the note (natural number that N is from 1 to 8) under same tone with different scales, and the melody now forming is to consist of a plurality of independent notes.
According to another preferred embodiment of the present invention, in storer 103, a plurality of notes of storage are under different and/or identical tones.The number of threshold value now is also extended to adaptively all number of notes and is subtracted 1.Then, above-mentioned melody is imported into audio coding unit 105 and encodes, and the result obtaining at audio playing unit 106 broadcast encoders.
According to another preferred embodiment of the present invention, the data of above-mentioned mould value to be calculated are the combinations of accekeration on three-dimensional, the one or more mould value constantly, among GPS position location.It will be clear for those skilled in the art that except mould value, also can only adopt the accekeration on the moment, directions X, the combination of the one or more mould value in the position location on directions X.
According to a third aspect of the invention we, in a preferred embodiment, by three positioner acceleration meters 1011, calculate stride or step-length, then, according to the data of step-length, according to the threshold value of the above-mentioned first aspect of the present invention, choose and set-up mode, stride or step-length are classified and in storer, chosen accordingly corresponding melody or note data, thereby form a first new melody.In another preferred embodiment, the method of passing threshold, all moment values (thereby or frequency values of asking the inverse at its interval to obtain according to moment value) are classified and in storer, chosen corresponding melody or note data, thereby formed a first new melody.
When the melody of above-mentioned composition is imported into after audio playing unit 106, first the digital to analog converter 1061 by wherein converts simulating signal to, and then drives the loudspeaker 1062 of audio playing unit 106 to play.
According to a preferred embodiment of the present invention, passometer 100 also comprises melody storage unit 107, and the digital signal that this melody storage unit 107 generates audio coding unit 105 is saved in storer 103 with the form of file, forms melody file.File includes but not limited to MP3 or WAV form.
According to another preferred embodiment of the present invention, by communication unit 104, can export in other equipment changing melody file, such as exporting to smart mobile phone, computing machine, panel computer etc., so that share or for further processing and processing.
It will be clear for those skilled in the art that " melody " alleged in the present invention, " music ", " song " are not the restriction of the sound to producing according to passometer in the present invention, and be just illustrated by way of example.
In the mode of word and accompanying drawing explanation, explained the structure of some embodiments of the present invention above, be not exhaustive or be limited to concrete form described above.Those skilled in the art can directly, beyond all doubtly determine can combination in any and form other embodiment from above-mentioned each embodiment, and those skilled in the art should to know other described embodiment be also in this application by intactly open separately.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.