CN102571162B - Broadcasting-data-packet-based rope skipping process data transmission method - Google Patents

Broadcasting-data-packet-based rope skipping process data transmission method Download PDF

Info

Publication number
CN102571162B
CN102571162B CN201110419596.5A CN201110419596A CN102571162B CN 102571162 B CN102571162 B CN 102571162B CN 201110419596 A CN201110419596 A CN 201110419596A CN 102571162 B CN102571162 B CN 102571162B
Authority
CN
China
Prior art keywords
rope skipping
feature
data
rope
bluetooth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110419596.5A
Other languages
Chinese (zh)
Other versions
CN102571162A (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.)
SHENZHEN YAXINUO TECHNOLOGY Co Ltd
Original Assignee
Chongqing University
Chongqing Academy of Science and Technology
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 Chongqing University, Chongqing Academy of Science and Technology filed Critical Chongqing University
Priority to CN201110419596.5A priority Critical patent/CN102571162B/en
Publication of CN102571162A publication Critical patent/CN102571162A/en
Application granted granted Critical
Publication of CN102571162B publication Critical patent/CN102571162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a broadcasting-data-packet-based rope skipping process data transmission method, and belongs to the field of application of a Bluetooth technology. According to the method, a measurement time interval is set for a measurement computing unit for measuring rope skipping frequency and times, and a transmission mode for rope skipping process data is set into a broadcasting transmission mode. By the method, the rope skipping process data is fully automatically acquired in the whole process, and manual intervention in the data acquisition process is reduced; in addition, the data is acquired at intervals, so that power consumption is reduced, and system overhead is reduced; and moreover, the broadcasting transmission mode is adopted, so that the establishment of a communication channel is avoided, the power consumption is further reduced, the system overhead is reduced, and the running efficiency and performance of a transmission system are improved.

Description

Rope skipping process data transmission method based on broadcast data packet
Technical field
The process data transmission method that the present invention relates to skip rope, especially a kind of rope skipping process data transmission method based on broadcast data packet.
Background technology
Rope skipping is a kind of common, that be easy to get, that price is human-oriented physical health exercise articles for use, by broad masses of the people are widely used.In some cases, be necessary that the thorny handle of record rope skipping user rotates number of times and the frequency data of rope skipping, such as the achievement that needs to record player in sports tournament, needs to record user's rope skipping amount in body-building or rehabilitation training.But only rely on artificial counting, not only waste time and energy, and easily make mistakes, under many actual conditions, do not possess operability.
Development along with technology, on market, there is having the rope skipping of automatic counting function, this type of rope skipping has been installed measurement computing unit, control switch and display unit additional on the conventional Skipping-rope device basis of (at least comprising handle, rope), such as being all to introduce to some extent in the patent of CN201840814U and CN201939932U in the patent No..
Yet above-mentioned automatic count skipping-rope extremely depends on manual intervention, cannot realize whole-course automation data acquisition, Product's Ease of Use a little less than.
Summary of the invention
The object of this invention is to provide a kind of rope skipping process data transmission method based on broadcast data packet, it has not only realized the long-range full-automatic collection of rope skipping process data, reduced the manual intervention in data acquisition, and reduced power consumption owing to having adopted interval to gather, and adopt broadcast transmission mode to transmit rope skipping process data, having avoided setting up communication channel in data transmission procedure connects, further reduced power consumption, reduce overhead, improved operational efficiency and the usefulness of transmission system.
To achieve these goals, the invention provides a kind of rope skipping process data transmission method based on broadcast data packet, it comprises the following steps:
The first Bluetooth transmission unit and the second Bluetooth transmission unit in data collector terminal in S1, Skipping-rope device are set up bidirectional data transfers passage by bluetooth low-power consumption transmission technology;
S2, user assigns user's operational order that measuring intervals of TIME is set, data processing unit in described data collector terminal converts this user's operational order to the first write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to described the first Bluetooth transmission unit by described the second Bluetooth transmission unit, the characteristic value of measuring intervals of TIME feature is set, thereby determine in described Skipping-rope device and measure the time interval that computing unit is measured rope skipping process data, wherein said rope skipping process data comprises at least one in rope skipping number of times and rope skipping frequency data,
S3, according to user's request, assign the user's operational order that starts broadcast transmission mode, described data processing unit converts this user's operational order to the second write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, selection is written as " 0x0001 " by the Configuration Values of the server end feature configuration explanation of at least one feature in rope skipping number of times feature and rope skipping frequecy characteristic, start corresponding broadcast transmission mode, determine that described measurement computing unit sends the transmission means of described rope skipping process data,
S4, user assign and start user's operational order of measuring computing unit, data processing unit converts this user's operational order to the 3rd write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, the characteristic value of measuring switch feature is written as to " 1 ", the described measurement computing unit process data that starts to skip rope described in the measurements and calculations of compartment of terrain;
S5, the first Bluetooth transmission unit are closed with the communication channel of the second Bluetooth transmission unit and are connected;
S6, the first Bluetooth transmission unit are from described measurement computing unit receives new rope skipping process data, described new rope skipping process data is carried out to form encapsulation, form rope skipping process data format set, again this rope skipping process data format set is carried out to attributes encapsulation by the attribute agreement in bluetooth low-power consumption transmission technology, form rope skipping process data attribute, finally this rope skipping process data is packaged in broadcast data packet, in broadcast band, sends to the second Bluetooth transmission unit;
S7, the second Bluetooth transmission unit carry out decapsulation to rope skipping process data attribute, take out the rope skipping process data measuring, and the data storage cell of passing to data collection facility is stored;
S8, according to demand repeating step S5~S7 of user, until DATA REASONING process finishes;
S9, the first Bluetooth transmission unit and the second Bluetooth transmission unit are set up bidirectional data transfers passage by bluetooth low-power consumption transmission technology, and user assigns user's operational order that end data is measured, data processing unit converts this user's operational order to the 3rd write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, characteristic value in measuring switch feature is written as to " 0 ", measures computing unit and finish measurements and calculations work;
S10, user assign user's operational order of closing broadcast transmission mode, data processing unit converts this user's operational order to the second write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, the Configuration Values of server end feature configuration explanation in corresponding rope skipping number of times feature and/or rope skipping frequecy characteristic is written as to " 0x0000 ", closes corresponding broadcast transmission mode;
S11, transfer of data complete, and close the first Bluetooth transmission unit and are connected with the communication between the second Bluetooth transmission unit.
Control switch is for controlling the on off state of described the first Bluetooth transmission unit in described Skipping-rope device, and described measurement computing unit is carried out to clear operation and configuration, the transmission of startup rope skipping process data.
Data format set described in described step S6 comprise with bluetooth low-power consumption transmission technology in the attribute agreement that defines compatible feature mutually, described feature is comprised of the number of times feature of skipping rope, rope skipping frequecy characteristic, measuring switch feature and measuring intervals of TIME feature;
Each feature has an exclusive UUID who meets UUID standard and unifies identifier;
Described rope skipping number of times feature, rope skipping frequecy characteristic include a characteristic value and the explanation of a server end feature configuration, wherein said characteristic value is 16 bit unsigned integer of arranging by little-endian mode, described server end feature configuration explanation possesses and has a UUID to unify identifier and comprise a Configuration Values, described Configuration Values is 16 bit unsigned integer of arranging by little-endian mode, and in both server end feature configuration explanations UUID to unify identifier identical;
Described measuring switch feature comprises a characteristic value, and wherein said measuring switch characteristic value is 8 bit unsigned integer of arranging by little-endian mode;
Described measuring intervals of TIME feature comprises a characteristic value, and wherein said measuring intervals of TIME characteristic value is 16 bit unsigned integer of arranging by large syllable sequence mode.
The total degree of characteristic value for representing to skip rope current measuring process thorny handle rotating in described rope skipping number of times feature, and when in described rope skipping number of times feature, the Configuration Values of server end feature configuration explanation is set to " 0x0001 ", beginning sends the characteristic value of described rope skipping number of times feature with the broadcast data packet defining in bluetooth low-power consumption transmission technology, when in described rope skipping number of times feature, the Configuration Values of server end feature configuration explanation is set to " 0x0000 ", stop the characteristic value that broadcast data packet to define in bluetooth low-power consumption transmission technology sends described rope skipping number of times feature,
The instantaneous frequency of characteristic value for representing that current Handle of skipping rope rotates in described rope skipping frequecy characteristic, its unit is beat/min, and when in described rope skipping frequecy characteristic, the Configuration Values of server end feature configuration explanation is set to " 0x0001 ", beginning sends the characteristic value of described rope skipping frequecy characteristic with the broadcast data packet defining in bluetooth low-power consumption transmission technology, when in described rope skipping frequecy characteristic, the Configuration Values of server end feature configuration explanation is set to " 0x0000 ", stop the characteristic value that broadcast data packet to define in bluetooth low-power consumption transmission technology sends described rope skipping frequecy characteristic,
In described measuring switch feature, characteristic value is for the operating state of the internal measurement computing unit that represents to skip rope, wherein said measuring switch characteristic value is that the described measurement computing unit of 0 expression has stopped measuring, and described measuring switch characteristic value is that the described measurement computing unit of 1 expression is in measurement;
Described measuring intervals of TIME feature for the adjacent time interval ,Qi unit of measuring between calculating operation for twice of the internal measurement computing unit that represents to skip rope be 0.1 second and its value non-vanishing.
In sum, owing to having adopted technique scheme, the invention has the beneficial effects as follows:
1, by the present invention, filled up aspect the process data of skipping rope and control parameter aspect, the blank that in Bluetooth technology, data format set and control command are used, thus reach the object that adopts Bluetooth technology realization rope skipping process data and control command to transmit;
2, by adopting bluetooth low-power consumption transmission technology to transmit rope skipping process data and controlling parameter, the low-power consumption between Skipping-rope device and data collector terminal, low delay, low cost, standardized data exchanging function have been realized, extended the service time of battery, expanded the connectivity of device, and the collection of data in can Long-distance Control rope skipping process, thereby reduce the manual intervention in the data acquisition of rope skipping, realize whole-course automation data acquisition.
3, by the setting measurement time interval, reduced power consumption, broadcast transmission mode is transmitted rope skipping process data in addition, having avoided setting up communication channel in data transmission procedure connects, further reduce power consumption, reduced overhead, improved operational efficiency and the usefulness of transmission system.
Accompanying drawing explanation
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is circuit theory diagrams of the present invention;
Fig. 2 is flow chart of the present invention.
Embodiment
Disclosed all features in this specification, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Disclosed arbitrary feature in this specification (comprising any accessory claim, summary and accompanying drawing), unless narration especially all can be replaced by other equivalences or the alternative features with similar object.That is,, unless narration especially, each feature is an example in a series of equivalences or similar characteristics.
In order to reduce the manual intervention in the data acquisition of rope skipping, realize whole-course automation data acquisition, can on the basis of current Skipping-rope device, install wireless transmission unit additional.Be built-in with the Skipping-rope device of wireless transmission unit before coming into the market and being accepted by mass consumption person, must meet the following conditions, could on market, possess enough competitiveness: 1) cost is lower, too many if price exceeds common counting skipping rope device, be difficult for being accepted; 2) power consumption is lower, and the handle small volume of rope skipping, for battery volume and the electric weight of wireless transmission unit power supply are also less, if the power consumption of transmission is too high, can have a strong impact on useful life and user-friendliness; 3) device connectivity widely, if can send data in standardized mode, corresponding data collection facility just can receive data with standardized communication unit, this Skipping-rope device just can carry out transfer of data with a large amount of different types of data collection facilities, for the design of upper layer application provides fabulous basic platform, can allow producer carry out rapidly application innovation and market expansion.In addition, the scale of standard cell application also can cause the further decline of cost.
In addition, Bluetooth technology is a kind of short-distance wireless communication technology relatively more conventional in consumer electronics product field.In Bluetooth technology 4.0 versions of releasing for 2010, comprised bluetooth low-power consumption transmission technology (Bluetooth Low Energy), making provides the sensing measurement equipment of energy can be to transmit data to reach as high as the transmission rate of 1Mbps within 100 meters by button cell, and work reaches several months or several years.Adopt Bluetooth technology to transmit the process data of rope skipping, for Skipping-rope device, all more suitable from aspects such as cost, function, portability and energy consumptions.By Bluetooth chip, in the whole world, surpass the recoverable amount of 1,000,000,000, the production firm of this type of rope skipping can its market of Quick Extended.Yet, only bluetooth-communication unit is inserted in Skipping-rope device and can not be guaranteed that related data just can be received by data collector terminal, this be because current Bluetooth technology in application layer aspect, be not exclusively used in data format, control command and the transmission mechanism of rope skipping, its final result be exactly cannot be real between Skipping-rope device and data collector terminal the data communication of carrying out.If the read operation instruction in employing bluetooth Low-power Technology visits the rope skipping process data of Skipping-rope device, communication pattern is comparatively single, when following the tracks of rope skipping process data, reality need data collector terminal repeatedly to send read operation instruction, overhead in data collector terminal is larger, and the time that takies bottom communication channel is longer, make application developer when deisgn product function, be subject to certain limitation simultaneously.
The present invention is directed to the blank of the application layer aspect of Bluetooth technology aspect rope skipping, the invention provides a kind of rope skipping process data format set, it comprise with bluetooth low-power consumption transmission technology in the attribute agreement that defines compatible feature mutually, this feature is by the number of times feature of skipping rope, rope skipping frequecy characteristic, measuring switch feature and measuring intervals of TIME feature form, wherein each feature possesses and has exclusive UUID (the Universally Unique Identifier that meets, general unique identifier) identifier of standard, in order to unify sign in bluetooth low-consumption wireless communication protocol stack inside, be that UUID unifies identifier.
Above-mentioned rope skipping number of times feature possesses an exclusive UUID and unifies identifier 1, and comprise a characteristic value 1 and a server end feature configuration explanation 1, wherein this characteristic value 1 is 16 bit unsigned integer of arranging by little-endian mode, for representing the total degree of current measuring process (from measuring the last zero clearing of computing unit and starting to measure to so far) the thorny handle rotation of rope skipping.The form of this server end feature configuration explanation 1 is the form that in bluetooth low-power consumption transmission technology, defined feature is described explanation (Characteristic Descriptor Declarations), and comprises that a UUID unifies identifier 5 and Configuration Values 1.This Configuration Values 1 is 16 bit unsigned integer of arranging by little-endian (Little-Endian) mode (16-bit unsigned integer).When this Configuration Values 1 is set to " 0x0001 ", the characteristic value 1 of rope skipping number of times feature starts to be sent to data collector terminal in the mode of broadcast data packet; When this Configuration Values 1 is set to " 0x0000 ", the characteristic value 1 of rope skipping number of times feature stops being sent to data collector terminal in the mode of broadcast data packet.
Above-mentioned rope skipping frequecy characteristic possesses an exclusive UUID and unifies identifier 2, and comprise a characteristic value 2 and a server end feature configuration explanation 2, wherein this characteristic value 2 is 16 bit unsigned integer of arranging by little-endian mode, for represent instantaneous frequency ,Qi unit that current Handle of skipping rope rotates for beat/min.This server end feature configuration explanation 2 possesses a UUID unifies identifier 5 and comprises a Configuration Values 2, and this Configuration Values 2 is 16 bit unsigned integer of arranging by little-endian mode.When described Configuration Values 2 is set to " 0x0001 ", start broadcasting transmitting mode, the characteristic value of rope skipping frequecy characteristic will be encapsulated in broadcast data packet, then be sent to data collector terminal, when described Configuration Values 2 is set to " 0x0000 ", stop sending in broadcasting transmitting mode the characteristic value of rope skipping frequecy characteristic.
It should be noted: it is identical that above-mentioned rope skipping number of times feature and server end feature configuration explanation 1,2 UUID that possess in rope skipping frequecy characteristic unify identifier, be UUID and unify identifier 5, before writing Configuration Values to server end feature configuration explanation, must find in rope skipping number of times feature and the frequecy characteristic of skipping rope server end feature configuration separately that the position (handle) at place is described by the service discovery in bluetooth Low-power Technology (Service Discovery) flow process.This can by reading, UUID unifies identifier 1, UUID unifies identifier 2 and UUID unifies the position of identifier 5 and judges to realize.
Above-mentioned measuring switch feature possesses an exclusive UUID and unifies identification code 3 and comprise characteristic value 3, wherein characteristic value 3 is 8 bit unsigned integer of arranging by little-endian mode, this characteristic value 3 represents the operating state of the measurement computing unit of Skipping-rope device inside, when this characteristic value 3 represents that for " 0 " this measurement computing unit has stopped measuring, this characteristic value 3 represents that for " 1 " this measurement computing unit is in measurement.
In addition, in this measuring switch feature, characteristic value 3 is readable, also can write.When data collector terminal is during to these characteristic value 3 values of writing " 1 ", the measurement computing unit zero clearing of Skipping-rope device inside also starts to measure.When data collector terminal is during to these characteristic value 3 values of writing " 0 ", the measurement computing unit of Skipping-rope device inside stops measuring.
This measuring intervals of TIME feature possesses an exclusive UUID to be unified identification code 4 and comprises a characteristic value 4, and wherein this characteristic value 4 is 16 bit unsigned integer of arranging by large syllable sequence (Big-Endian) mode.Characteristic value 4 is for representing that the time span ,Qi unit that the measurement computing unit arbitrary neighborhood of Skipping-rope device is measured for twice between calculating operation is " 0.1 second ", and value can not be 0.When measuring intervals of TIME feature exists, measure computing unit and always with fixed frequency, measure calculating operation.
As shown in Figure 1, this rope skipping process data transmission system comprises Skipping-rope device and data collector terminal, wherein between the two according to above-mentioned rope skipping process data format set transmission data.
This Skipping-rope device comprises handle, rope skipping, control switch, measurement computing unit, LED signal lamp, CPU and the first Bluetooth transmission unit, and this data collector terminal comprises the second Bluetooth transmission unit, data storage cell, data processing unit, user interaction unit and display unit.Handle and rope skipping complete rope skipping for assisting user; User interaction unit is used for receiving user's operational order, and this operational order is transferred to data processing unit.
Data processing unit is used for receiving described user's operational order, above-mentioned user's operational order is converted to read operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology or write operation instruction and by the second Bluetooth transmission unit, be transferred to the first Bluetooth transmission unit after determining the data writing content of described read operation instruction or write operation instruction and writing destination object, transmission means with in control survey computing unit operating state and configuration, startup rope skipping data transmission procedure, realizes the collection of data in Long-distance Control rope skipping process.This write operation instruction comprises the first write operation instruction, the second write operation instruction and the 3rd write operation instruction, wherein the first write operation instruction is for arranging the characteristic value of measuring intervals of TIME feature, the second write operation instruction is for being written as " 0x0001 " by the Configuration Values of rope skipping number of times feature and the explanation of rope skipping frequecy characteristic server end feature configuration, rope skipping process data is placed in to broadcast data packet, make Skipping-rope device regular (such as once per second) to data collector terminal, transmit current rope skipping process data, the Configuration Values of server end feature configuration explanation in rope skipping number of times feature and rope skipping frequecy characteristic is written as to " 0x0000 ", stop sending rope skipping process data in broadcasting transmitting mode, wherein this rope skipping process data at least comprises a kind of in frequency of rope skipping number of times and rope skipping, the 3rd write operation instruction, for the characteristic value of measuring switch feature is written as to " 1 " or " 0 ", starts or stops to measure computing unit.For converting user's operational order to read operation instruction based on bluetooth low-power consumption transmission technology attribute agreement or the data processing unit of write operation instruction, be ripe prior art, at this, will not tire out and state.
The first Bluetooth transmission unit is for setting up bidirectional data transfers passage by bluetooth low-power consumption transmission technology and this second Bluetooth transmission unit.This first Bluetooth transmission unit arranges the characteristic value in measuring intervals of TIME feature when receiving the first write operation instruction (being the Write Request instruction that in bluetooth low-power consumption transmission technology, attribute agreement comprises), such as the characteristic value in measuring intervals of TIME feature, is set to 0.1 second.By the characteristic value of measuring intervals of TIME feature is set, can determine and measure the time interval that computing unit is measured rope skipping process data, and the transmission frequency of having determined broadcast data packet according to this time interval is farthest to reduce power consumption and expense.
The first Bluetooth transmission unit can be optionally when receiving the second write operation instruction by one of in rope skipping number of times feature and rope skipping frequecy characteristic or the Configuration Values of both server end feature configuration explanations be written as " 0x0001 ", the first Bluetooth transmission unit is operated under customization broadcast mode (that is: defined Configured Broadcast in bluetooth low-power consumption transmission technology), determines that the transmission means of measurement computing unit transmission rope skipping process data is broadcast transmission mode; And can by one of in rope skipping number of times feature and rope skipping frequecy characteristic or the Configuration Values of both server end feature configuration explanations be written as " 0x0000 ", stop enabling broadcasting transmitting mode.Under customization broadcast mode, the first Bluetooth transmission unit need not be set up communication channel with the second Bluetooth transmission unit and be connected the transmission that just can realize rope skipping process data, thereby greatly reduces time delay, power consumption and overhead.
The first Bluetooth transmission unit is written as " 1 " or " 0 " by characteristic value in measuring switch feature when receiving the 3rd write operation instruction, controls the operating state of this measurement computing unit.When characteristic value is written as " 1 " in measuring switch feature, start interval measurement and calculate rope skipping number of times and the rope skipping frequency in rope skipping process, in measuring switch feature, characteristic value is written as " 0 ", stops rope skipping number of times and rope skipping frequency in measurements and calculations rope skipping process.
The first Bluetooth transmission unit is for receiving new rope skipping process data from measuring computing unit, and new rope skipping process data is carried out to form encapsulation, form above-mentioned rope skipping process data format set, again this rope skipping process data format set is carried out to attributes encapsulation by the attribute agreement in bluetooth low-power consumption transmission technology, form rope skipping process data attribute, and this rope skipping process data attribute is placed in to broadcast data packet, in broadcast band, sends to the second Bluetooth transmission unit.
Measure computing unit for when measuring switch feature characteristic value is written as " 1 ", start rope skipping number of times and rope skipping frequency in compartment of terrain measurements and calculations rope skipping process, and the characteristic value of usining in above-mentioned measuring intervals of TIME feature is as the time interval, rope skipping process data is encapsulated in broadcast data packet, is then transferred to the first Bluetooth transmission unit; In measuring switch feature, characteristic value is written as " 0 ", stops rope skipping number of times and rope skipping frequency in measurements and calculations rope skipping process.
The second Bluetooth transmission unit is used for receiving described rope skipping process data attribute, and above-mentioned rope skipping process data attribute is carried out to decapsulation, the rope skipping process data after decapsulation is transferred to data storage cell and stores.After data have been stored, the user of data collection facility can further carry out follow-up operation, such as uploading, demonstration or post-processed.
Control switch can be controlled by CPU the on off state of described the first Bluetooth transmission unit.Control switch can directly be controlled or by CPU, indirectly control this measurement computing unit and carry out clear operation.In addition, CPU can receive the on off state of control switch and by LED signal lamp, by different colors, be reflected the current state of described control switch.The rope skipping process data that the second Bluetooth transmission unit receives shows by display unit after processing by data processing unit, and the processing procedure of the process data of wherein skipping rope in data processing unit is ripe technology, at this, will not tire out and state.
As shown in Figure 2, the transmission method of above-mentioned rope skipping process data format set based on broadcast data packet, it comprises the following steps:
The first Bluetooth transmission unit and the second Bluetooth transmission unit in data collector terminal in S1, Skipping-rope device are set up bidirectional data transfers passage by bluetooth low-power consumption transmission technology;
S2, user assigns user's operational order that measuring intervals of TIME is set, data processing unit in described data collector terminal converts this user's operational order to the first write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to described the first Bluetooth transmission unit by described the second Bluetooth transmission unit, the characteristic value of measuring intervals of TIME feature is set, thereby determine in described Skipping-rope device and measure the time interval that computing unit is measured rope skipping process data, wherein said rope skipping process data comprises at least one in rope skipping number of times and rope skipping frequency data,
S3, according to user's request, assign the user's operational order that starts broadcast transmission mode, described data processing unit converts this user's operational order to the second write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, selection is written as " 0x0001 " by the Configuration Values of the server end feature configuration explanation of at least one feature in rope skipping number of times feature and rope skipping frequecy characteristic, start corresponding broadcast transmission mode, determine that described measurement computing unit sends the transmission means of described rope skipping process data,
S4, user assign and start user's operational order of measuring computing unit, data processing unit converts this user's operational order to the 3rd write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, the characteristic value of measuring switch feature is written as to " 1 ", the described measurement computing unit process data that starts to skip rope described in the measurements and calculations of compartment of terrain;
S5, the first Bluetooth transmission unit are closed with the communication channel of the second Bluetooth transmission unit and are connected;
S6, the first Bluetooth transmission unit are from described measurement computing unit receives new rope skipping process data, described new rope skipping process data is carried out to form encapsulation, form above-mentioned rope skipping process data format set, again this rope skipping process data format set is carried out to attributes encapsulation by the attribute agreement in bluetooth low-power consumption transmission technology, form rope skipping process data attribute, finally this rope skipping process data is placed in to broadcast data packet, in broadcast band, sends to the second Bluetooth transmission unit;
S7, the second Bluetooth transmission unit carry out decapsulation to rope skipping process data attribute, take out the rope skipping process data measuring, and the data storage cell of passing to data collection facility is stored;
S8, according to user's demand, repeating step S5~S7, until DATA REASONING process finishes;
S9, the first Bluetooth transmission unit and the second Bluetooth transmission unit are set up bidirectional data transfers passage by bluetooth low-power consumption transmission technology, and user assigns user's operational order that end data is measured, data processing unit converts this user's operational order to write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, characteristic value in measuring switch feature is written as to " 0 ", measures computing unit and finish measurements and calculations work;
S10, user assign user's operational order of closing broadcast transmission mode, data processing unit converts this user's operational order to write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, the Configuration Values of server end feature configuration explanation in corresponding rope skipping number of times feature and/or rope skipping frequecy characteristic is written as to " 0x0000 ", closes corresponding broadcast transmission mode;
S11, transfer of data complete, and close the first Bluetooth transmission unit and are connected with the communication between the second Bluetooth transmission unit.
The role of described Skipping-rope device and data collector terminal difference reception server (Server) and client (Client), and these two role definitions are in bluetooth low-power consumption transmission technology.
Broadcast bit in described rope skipping number of times feature and the rope skipping incidental characteristic parameter of frequecy characteristic (that is: the Characteristic Properties defining in attribute agreement) must be placed in " 1 ", and this represents " value of eigen can be transmitted by broadcast data packet ".
Before use attribute agreement is carried out transfer of data, between the first Bluetooth transmission unit of Skipping-rope device and the second Bluetooth transmission unit of data collector terminal, must complete the connection of link layer according to the workflow of bluetooth low-power consumption transmission technical standard defined, and set up the special-purpose L2CAP passage of attribute agreement.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination disclosing in this manual, and the arbitrary new method disclosing or step or any new combination of process.

Claims (4)

1. the rope skipping process data transmission method based on broadcast data packet, it comprises the following steps:
The first Bluetooth transmission unit and the second Bluetooth transmission unit in data collector terminal in S1, Skipping-rope device are set up bidirectional data transfers passage by bluetooth low-power consumption transmission technology;
S2, user assigns user's operational order that measuring intervals of TIME is set, data processing unit in described data collector terminal converts this user's operational order to the first write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to described the first Bluetooth transmission unit by described the second Bluetooth transmission unit, the characteristic value of measuring intervals of TIME feature is set, thereby determine in described Skipping-rope device and measure the time interval that computing unit is measured rope skipping process data, wherein said rope skipping process data comprises at least one in rope skipping number of times and rope skipping frequency data,
S3, according to user's request, assign the user's operational order that starts broadcast transmission mode, described data processing unit converts this user's operational order to the second write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, selection is written as " 0x0001 " by the Configuration Values of the server end feature configuration explanation of at least one feature in rope skipping number of times feature and rope skipping frequecy characteristic, start corresponding broadcast transmission mode, determine that described measurement computing unit sends the transmission means of described rope skipping process data,
S4, user assign and start user's operational order of measuring computing unit, data processing unit converts this user's operational order to the 3rd write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, the characteristic value of measuring switch feature is written as to " 1 ", the described measurement computing unit process data that starts to skip rope described in the measurements and calculations of compartment of terrain;
S5, the first Bluetooth transmission unit are closed with the communication channel of the second Bluetooth transmission unit and are connected;
S6, the first Bluetooth transmission unit are from described measurement computing unit receives new rope skipping process data, described new rope skipping process data is carried out to form encapsulation, form rope skipping process data format set, again this rope skipping process data format set is carried out to attributes encapsulation by the attribute agreement in bluetooth low-power consumption transmission technology, form rope skipping process data attribute, finally this rope skipping process data is packaged in broadcast data packet, in broadcast band, sends to the second Bluetooth transmission unit;
S7, the second Bluetooth transmission unit carry out decapsulation to rope skipping process data attribute, take out the rope skipping process data measuring, and the data storage cell of passing to data collection facility is stored;
S8, according to demand repeating step S5~S7 of user, until DATA REASONING process finishes;
S9, the first Bluetooth transmission unit and the second Bluetooth transmission unit are set up bidirectional data transfers passage by bluetooth low-power consumption transmission technology, and user assigns user's operational order that end data is measured, data processing unit converts this user's operational order to the 3rd write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, characteristic value in measuring switch feature is written as to " 0 ", measures computing unit and finish measurements and calculations work;
S10, user assign user's operational order of closing broadcast transmission mode, data processing unit converts this user's operational order to the second write operation instruction based on attribute agreement in bluetooth low-power consumption transmission technology, and be transferred to the first Bluetooth transmission unit by the second Bluetooth transmission unit, the Configuration Values of server end feature configuration explanation in corresponding rope skipping number of times feature and/or rope skipping frequecy characteristic is written as to " 0x0000 ", closes corresponding broadcast transmission mode;
S11, transfer of data complete, and close the first Bluetooth transmission unit and are connected with the communication between the second Bluetooth transmission unit.
2. the rope skipping process data transmission method based on broadcast data packet according to claim 1, it is characterized in that: control switch, for controlling the on off state of described the first Bluetooth transmission unit, carries out clear operation and configuration, the transmission of startup rope skipping process data to described measurement computing unit in described Skipping-rope device.
3. the rope skipping process data transmission method based on broadcast data packet according to claim 1, it is characterized in that: data format set described in described step S6 comprise with bluetooth low-power consumption transmission technology in the attribute agreement that defines compatible feature mutually, described feature is comprised of the number of times feature of skipping rope, rope skipping frequecy characteristic, measuring switch feature and measuring intervals of TIME feature;
Each feature has an exclusive UUID who meets UUID standard and unifies identifier;
Described rope skipping number of times feature, rope skipping frequecy characteristic include a characteristic value and the explanation of a server end feature configuration, wherein said characteristic value is 16 bit unsigned integer of arranging by little-endian mode, described server end feature configuration explanation possesses and has a UUID to unify identifier and comprise a Configuration Values, described Configuration Values is 16 bit unsigned integer of arranging by little-endian mode, and in both server end feature configuration explanations UUID to unify identifier identical;
Described measuring switch feature comprises a characteristic value, and wherein said measuring switch characteristic value is 8 bit unsigned integer of arranging by little-endian mode;
Described measuring intervals of TIME feature comprises a characteristic value, and wherein said measuring intervals of TIME characteristic value is 16 bit unsigned integer of arranging by large syllable sequence mode.
4. the rope skipping process data transmission method based on broadcast data packet according to claim 3, it is characterized in that: the total degree of characteristic value for representing to skip rope current measuring process thorny handle rotating in described rope skipping number of times feature, and when in described rope skipping number of times feature, the Configuration Values of server end feature configuration explanation is set to " 0x0001 ", beginning sends the characteristic value of described rope skipping number of times feature with the broadcast data packet defining in bluetooth low-power consumption transmission technology, when in described rope skipping number of times feature, the Configuration Values of server end feature configuration explanation is set to " 0x0000 ", stop the characteristic value that broadcast data packet to define in bluetooth low-power consumption transmission technology sends described rope skipping number of times feature,
The instantaneous frequency of characteristic value for representing that current Handle of skipping rope rotates in described rope skipping frequecy characteristic, its unit is beat/min, and when in described rope skipping frequecy characteristic, the Configuration Values of server end feature configuration explanation is set to " 0x0001 ", beginning sends the characteristic value of described rope skipping frequecy characteristic with the broadcast data packet defining in bluetooth low-power consumption transmission technology, when in described rope skipping frequecy characteristic, the Configuration Values of server end feature configuration explanation is set to " 0x0000 ", stop the characteristic value that broadcast data packet to define in bluetooth low-power consumption transmission technology sends described rope skipping frequecy characteristic,
In described measuring switch feature, characteristic value is for the operating state of the internal measurement computing unit that represents to skip rope, wherein said measuring switch characteristic value is that the described measurement computing unit of 0 expression has stopped measuring, and described measuring switch characteristic value is that the described measurement computing unit of 1 expression is in measurement;
Described measuring intervals of TIME feature for the adjacent time interval ,Qi unit of measuring between calculating operation for twice of the internal measurement computing unit that represents to skip rope be 0.1 second and its value non-vanishing.
CN201110419596.5A 2011-12-15 2011-12-15 Broadcasting-data-packet-based rope skipping process data transmission method Active CN102571162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110419596.5A CN102571162B (en) 2011-12-15 2011-12-15 Broadcasting-data-packet-based rope skipping process data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110419596.5A CN102571162B (en) 2011-12-15 2011-12-15 Broadcasting-data-packet-based rope skipping process data transmission method

Publications (2)

Publication Number Publication Date
CN102571162A CN102571162A (en) 2012-07-11
CN102571162B true CN102571162B (en) 2014-02-12

Family

ID=46415731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110419596.5A Active CN102571162B (en) 2011-12-15 2011-12-15 Broadcasting-data-packet-based rope skipping process data transmission method

Country Status (1)

Country Link
CN (1) CN102571162B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015041438A (en) * 2013-08-21 2015-03-02 アプリックスIpホールディングス株式会社 Illumination control system, terminal, and illumination control method for the same
CN104218979A (en) * 2014-07-31 2014-12-17 北京升哲科技有限公司 Sensor for acquiring sensing data in disconnected state and intelligent device and method
CN104333785A (en) * 2014-10-10 2015-02-04 科大讯飞股份有限公司 Method for turning on/off television or television box based on Bluetooth
CN106060962B (en) * 2016-06-22 2020-01-03 新华三技术有限公司 Communication method and device
CN107071707A (en) * 2017-03-31 2017-08-18 北京小米移动软件有限公司 Data transmission method and device
CN112911569A (en) * 2021-03-15 2021-06-04 苏宁智能终端有限公司 Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2675180Y (en) * 2004-01-02 2005-02-02 王志江 Digital electronic-counting rope skipping apparatus
WO2006071379A2 (en) * 2004-12-02 2006-07-06 Brad Latour Ropeless jump rope
CN201760072U (en) * 2010-07-14 2011-03-16 天津师范大学 Single-person skipping counting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2675180Y (en) * 2004-01-02 2005-02-02 王志江 Digital electronic-counting rope skipping apparatus
WO2006071379A2 (en) * 2004-12-02 2006-07-06 Brad Latour Ropeless jump rope
CN201760072U (en) * 2010-07-14 2011-03-16 天津师范大学 Single-person skipping counting device

Also Published As

Publication number Publication date
CN102571162A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102571162B (en) Broadcasting-data-packet-based rope skipping process data transmission method
CN103720115B (en) Intelligent shoe
CN102510302B (en) Rope-skipping process data format set and transmission method for rope-skipping process data format set based on Bluetooth low power consumption technology
CN103505847B (en) A kind of running body-building system realizing exercise guidance based on data monitoring
CN103520885B (en) A kind of body-building system by bike realizing exercise guidance based on data monitoring
CN203692655U (en) Intelligent shoe
CN101549205A (en) System for recognizing human gait, real-time monitoring energy consumption thereof and instructing exercise training thereof
ITMI20112191A1 (en) GINNICA MACHINE WITH DATA EXCHANGE BY MEANS OF A SHORT-RAY COMMUNICATION CHANNEL AND TRAINING SYSTEM USING THIS MACHINE
CN203657814U (en) Full-function pedometer based on internet of things
CN202075341U (en) Household electricity parameter recording equipment
CN102510303B (en) System suitable for data transmission during rope skipping process
CN201352263Y (en) Ground water automatic monitor measuring and reporting system
CN204242391U (en) Intelligent mobile phone Bluetooth turns infrared writing-down device for meters
CN102829796A (en) Pedometer capable of mutual positioning
CN107300376A (en) A kind of Bluetooth transmission type movable type inclinometer
CN201368776Y (en) Ultra low power wireless digital temperature sensor
CN105488995A (en) Smart-phone-based Bluetooth-to-infrared meter recording device
CN204440632U (en) Portable wireless meter copying device
CN104282128A (en) Data transmission identification method in interactive system and intelligent system
CN207200991U (en) A kind of remote control device and system based on LoRa technologies
CN202735432U (en) electric meter device
CN206945729U (en) A kind of flow velocity instrument apparatus
CN205670010U (en) A kind of ice movement attitude automatic acquisition device
CN105471445A (en) Novel and intelligent Bluetooth-WIFI integrated module
CN206687709U (en) A kind of wireless sensing equipment of guinea pig asthmatic model PFT

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: CHONGQING ACADEMY OF SCIENCE + TECHNOLOGY

Effective date: 20150327

Owner name: SHENZHEN YAXINUO TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: CHONGQING UNIVERSITY

Effective date: 20150327

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 400045 SHAPINGBA, CHONGQING TO: 518000 SHENZHEN, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20150327

Address after: Wan Chun Trade Building No. 21 road 518000 Guangdong city of Shenzhen Province in the central area of Baoan District 817

Patentee after: Shenzhen Yaxinuo Technology Co., Ltd.

Address before: 400045 Shapingba District, Sha Sha Street, No. 174, Chongqing

Patentee before: Chongqing University

Patentee before: Chongqing Academy of Science & Technology