CN102571162A - 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
CN102571162A
CN102571162A CN2011104195965A CN201110419596A CN102571162A CN 102571162 A CN102571162 A CN 102571162A CN 2011104195965 A CN2011104195965 A CN 2011104195965A CN 201110419596 A CN201110419596 A CN 201110419596A CN 102571162 A CN102571162 A CN 102571162A
Authority
CN
China
Prior art keywords
characteristic
rope skipping
rope
data
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.)
Granted
Application number
CN2011104195965A
Other languages
Chinese (zh)
Other versions
CN102571162B (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

Landscapes

  • Mobile Radio Communication Systems (AREA)

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 to write down number of times and the frequency data that the thorny handle of rope skipping user rotates rope skipping,, in body-building or rehabilitation training, need record user's rope skipping amount such as the achievement that in sports tournament, needs the record player.But only rely on artificial counting, not only waste time and energy, and make mistakes easily, under many actual conditions, do not possess operability.
Development along with technology; The rope skipping of automatic tally function has appearred having on market; 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 (comprising handle, rope at least), such as being all to introduce to some extent in the patent of CN201840814U and CN201939932U in the patent No..
Yet above-mentioned automatic counting rope skipping extremely depends on manual intervention, can't realize the whole-course automation data acquisition, the product ease for use a little less than.
Summary of the invention
The purpose 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 the data acquisition, and collection reduces power consumption owing to adopted at interval, and adopted broadcasting send mode transmission rope skipping process data; Having avoided in data transmission procedure, setting up communication channel connects; Further reduce power consumption, reduced overhead, improved the 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 may further comprise the steps:
First Bluetooth transmission unit and second Bluetooth transmission unit in the data collector terminal in S1, the Skipping-rope device are set up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology;
S2, user assign user's operational order that measuring intervals of TIME is set; Data processing unit in the said data collector terminal converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology first write operation instruction; And be transferred to said first Bluetooth transmission unit through said second Bluetooth transmission unit; The characteristic value of measuring intervals of TIME characteristic is set; Thereby confirm the interior time interval of measuring computing unit measurement rope skipping process data of said Skipping-rope device, wherein said rope skipping process data comprises in rope skipping number of times and the rope skipping frequency data at least a;
S3, according to user's request; Assign the user's operational order that starts the broadcasting send mode; Said data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology second write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; To the skip rope Configuration Values of the server end feature configuration explanation of at least one characteristic in number of times characteristic and the rope skipping frequecy characteristic of selection is written as " 0x0001 ", starts corresponding broadcasting send mode, confirms that promptly said measurement computing unit sends the transmission means of said 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 based on attribute agreement in the bluetooth low-power consumption transmission technology the 3rd write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; The characteristic value of measuring switch characteristic is written as " 1 ", and said measurement computing unit begins the said rope skipping process data of compartment of terrain measurements and calculations;
S5, first Bluetooth transmission unit are closed with the communication channel of second Bluetooth transmission unit and are connected;
After S6, first Bluetooth transmission unit receive new rope skipping process data from said measurement computing unit; Said new rope skipping process data is carried out the form encapsulation; Form rope skipping process data format set, the process data format set of will skipping rope again carries out attributes encapsulation through the attribute agreement in the bluetooth low-power consumption transmission technology, forms rope skipping process data attribute; The process data of should skipping rope at last is packaged in the broadcast data packet, in broadcast band, sends to second Bluetooth transmission unit;
S7, second Bluetooth transmission unit carry out decapsulation to rope skipping process data attribute, take out the rope skipping process data that measures, and the data storage cell of passing to data collection facility is stored;
S8, according to demand repeating step S5~S7 of user, finish up to the DATA REASONING process;
S9, first Bluetooth transmission unit and second Bluetooth transmission unit are set up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology; And the user assigns user's operational order that end data is measured; Data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology the 3rd write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; Characteristic value in the measuring switch characteristic is written as " 0 ", measures computing unit and finish measurements and calculations work;
S10, user assign user's operational order of closing the broadcasting send mode; Data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology second write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; The Configuration Values of server end feature configuration explanation in the rope skipping number of times characteristic of correspondence and/or the frequecy characteristic of skipping rope is written as " 0x0000 ", closes corresponding broadcasting send mode;
S11, transfer of data accomplish, and close first Bluetooth transmission unit and are connected with communication between second Bluetooth transmission unit.
Said Skipping-rope device inner control switch is used to control the on off state of said first Bluetooth transmission unit, and said measurement computing unit is carried out clear operation and configuration, the transmission of startup rope skipping process data.
Data format collection described in the said step S6 comprise with bluetooth low-power consumption transmission technology in the compatible mutually characteristic of the attribute agreement that defines, said characteristic is made up of rope skipping number of times characteristic, rope skipping frequecy characteristic, measuring switch characteristic and measuring intervals of TIME characteristic;
Each characteristic all has an exclusive UUID who meets the UUID standard and unifies identifier;
Said rope skipping number of times characteristic, 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 the little-endian mode; The explanation of said server end feature configuration possesses and has a UUID to unify identifier and comprise a Configuration Values; Said Configuration Values is 16 bit unsigned integer of arranging by the little-endian mode, and in both the server end feature configuration explanations UUID to unify identifier identical;
Said measuring switch characteristic comprises a characteristic value, and wherein said characteristic value is 8 bit unsigned integer of arranging by the little-endian mode;
Said measuring intervals of TIME characteristic comprises a characteristic value, and wherein said characteristic value is 16 bit unsigned integer of arranging by big syllable sequence mode.
Characteristic value is used for representing the total degree of the thorny handle rotation of current measuring process rope skipping in the said rope skipping number of times characteristic; And when the Configuration Values of server end feature configuration explanation in the said rope skipping number of times characteristic is set to " 0x0001 "; The characteristic value of said rope skipping number of times characteristic is sent in beginning with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology; When the Configuration Values of server end feature configuration explanation in the said rope skipping number of times characteristic is set to " 0x0000 ", stop to send the characteristic value of said rope skipping number of times characteristic with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology;
Characteristic value is used to represent the instantaneous frequency of current Handle of skipping rope rotation in the said rope skipping frequecy characteristic; Its unit is time/minute; And when the Configuration Values of server end feature configuration explanation in the said rope skipping frequecy characteristic is set to " 0x0001 "; The characteristic value that beginning is sent said rope skipping frequecy characteristic with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology; When the Configuration Values of server end feature configuration explanation in the said rope skipping frequecy characteristic is set to " 0x0000 ", stop the characteristic value of sending said rope skipping frequecy characteristic with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology;
The characteristic value operating state of internal measurement computing unit that is used to represent to skip rope in the said measuring switch characteristic, wherein said characteristic value is that the said measurement computing unit of 0 expression has stopped measuring, said characteristic value is that the said measurement computing unit of 1 expression is in measurement;
In said measuring intervals of TIME characteristic adjacent time interval of measuring between the calculating operation for twice of internal measurement computing unit that is used to represent to skip rope, its unit is that 0.1 second and its value are non-vanishing.
In sum, owing to adopted technique scheme, the invention has the beneficial effects as follows:
1, through the present invention, to have filled up aspect the rope skipping process data and the Control Parameter aspect, the blank on data format collection and control command are used in the Bluetooth technology adopts Bluetooth technology to realize the purpose that rope skipping process data and control command are transmitted thereby reach;
2, through adopting bluetooth low-power consumption transmission technology to transmit rope skipping process data and Control Parameter; The low-power consumption between Skipping-rope device and the data collector terminal, low delay, low-cost, standardized data exchanging function have been realized; Prolong 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 the whole-course automation data acquisition.
3, by the setting measurement time interval, reduced power consumption, the broadcast transmission mode is transmitted the rope skipping process data in addition; Having avoided in data transmission procedure, setting up communication channel connects; Further reduce power consumption, reduced overhead, improved the operational efficiency and the usefulness of transmission system.
Description of drawings
The present invention will explain through example and with reference to the mode of accompanying drawing, wherein:
Fig. 1 is circuit theory diagrams of the present invention;
Fig. 2 is a flow chart of the present invention.
Embodiment
Disclosed all characteristics in this specification, or the step in disclosed all methods or the process except mutually exclusive characteristic and/or the step, all can make up by any way.
Disclosed arbitrary characteristic in this specification (comprising any accessory claim, summary and accompanying drawing) is only if special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, only if special narration, each characteristic is an example in a series of equivalences or the similar characteristics.
In order to reduce the manual intervention in the data acquisition of rope skipping, realize the whole-course automation data acquisition, can on the basis of present Skipping-rope device, install wireless transmission unit additional.The Skipping-rope device that is built-in with wireless transmission unit is 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, and is too many if price exceeds common count enable Skipping-rope device, then is difficult for being accepted; 2) power consumption is lower, and the handle volume of rope skipping is less, and is also less for the battery volume and the electric weight of wireless transmission unit power supply, 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 with 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 let producer carry out application innovation and market expansion rapidly.In addition, the further decline that also can cause cost is used in the scale of standard cell.
In addition, Bluetooth technology is a kind of short-distance wireless communication technology relatively more commonly used in the consumer electronics product field.Comprised bluetooth low-power consumption transmission technology (Bluetooth Low Energy) in Bluetooth technology 4.0 versions of being released in 2010; Making provides the sensing measurement equipment of energy can be within 100 meters, transmitting data with the transmission rate that reaches as high as 1Mbps through 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.Surpass 1,000,000,000 recoverable amount in the whole world by Bluetooth chip, the production firm of this type of rope skipping can expand its market fast.Yet; Only bluetooth-communication unit is inserted and to be guaranteed in the Skipping-rope device that related data just can be received by the data collector terminal; This is because present Bluetooth technology is not exclusively used in data format, control command and the transmission mechanism of rope skipping in the application layer aspect, its final result be exactly can't be real between Skipping-rope device and the data collector terminal the data communication of carrying out.If the read operation instruction in the employing bluetooth Low-power Technology visits the rope skipping process data of Skipping-rope device; Communication pattern is comparatively single;, reality need the data collector terminal repeatedly to send the read operation instruction when following the tracks of the rope skipping process data; Overhead in the data collector terminal is bigger, and it is longer to take time of bottom communication channel, makes the application developer when the deisgn product function, receive 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 comprises with bluetooth low-power consumption transmission technology in the compatible mutually characteristic of the attribute agreement that defines; This characteristic is made up of rope skipping number of times characteristic, rope skipping frequecy characteristic, measuring switch characteristic and measuring intervals of TIME characteristic, and wherein each characteristic all possesses the exclusive identifier that meets UUID (Universally Unique Identifier, general unique identifier) standard is arranged; In order to unify sign in bluetooth low-consumption wireless communication protocol stack inside, promptly UUID unifies identifier.
Above-mentioned rope skipping number of times characteristic 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 the little-endian mode, is used for the total degree of representing that current measuring process (promptly from measuring the last zero clearing of computing unit and beginning measurement to so far) the thorny handle of rope skipping rotates.The form of this server end feature configuration explanation 1 is the form of defined feature description explanation (Characteristic Descriptor Declarations) in the bluetooth low-power consumption transmission technology, and comprises that a UUID unifies identifier 5 and Configuration Values 1.This Configuration Values 1 is 16 bit unsigned integer (16-bitunsigned integer) of arranging by little-endian (Little-Endian) mode.When this Configuration Values 1 was set to " 0x0001 ", characteristic value 1 beginning of rope skipping number of times characteristic was sent to the data collector terminal with the mode of broadcast data packet; When this Configuration Values 1 was set to " 0x0000 ", the characteristic value 1 of rope skipping number of times characteristic stopped to be sent to the data collector terminal with 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 the little-endian mode; Be used to represent the instantaneous frequency of current Handle of skipping rope rotation, its unit is time/minute.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 the little-endian mode.When said Configuration Values 2 is set to " 0x0001 "; Start the broadcast transmitted mode; To be encapsulated in the characteristic value of rope skipping frequecy characteristic in the broadcast data packet; Be sent to the data collector terminal then, when said Configuration Values 2 is set to " 0x0000 ", stop to send the characteristic value of rope skipping frequecy characteristic with the broadcast transmitted mode.
It should be noted: it is identical that the UUID that server end feature configuration explanation 1,2 is possessed in above-mentioned rope skipping number of times characteristic and the rope skipping frequecy characteristic unifies identifier; Be UUID and unify identifier 5; Before server end feature configuration explanation writes Configuration Values, the position (handle) that must find in rope skipping number of times characteristic and the rope skipping frequecy characteristic server end feature configuration explanation separately to belong to through the service discovery in the bluetooth Low-power Technology (Service Discovery) flow process.This can unify identifier 1, UUID and unify identifier 2 and UUID and unify the position of identifier 5 and judge and realize through reading UUID.
Above-mentioned measuring switch characteristic 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 the little-endian mode; The operating state of the measurement computing unit that these characteristic value 3 expression Skipping-rope devices are inner; Represent then that for " 0 " this measurement computing unit has stopped measuring when this characteristic value 3, this characteristic value 3 is that " 1 " representes that then this measurement computing unit is in measurement.
In addition, characteristic value 3 is readable in this measuring switch characteristic, also can write.When data collector terminal during to these characteristic value 3 values of writing " 1 ", the inner measurement computing unit zero clearing of Skipping-rope device also begins to measure.When data collector terminal during to these characteristic value 3 values of writing " 0 ", the inner measurement computing unit of Skipping-rope device stops to measure.
This measuring intervals of TIME characteristic 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 big syllable sequence (Big-Endian) mode.Characteristic value 4 is used to represent the adjacent arbitrarily time span of measuring between the calculating operation for twice of the measurement computing unit of Skipping-rope device, and its unit be " 0.1 second ", and is worth and can not be 0.When the measuring intervals of TIME characteristic exists, measure computing unit and always measure calculating operation with fixed frequency.
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 first Bluetooth transmission unit, and this data collector terminal comprises second Bluetooth transmission unit, data storage cell, data processing unit, user interaction unit and display unit.Handle and rope skipping are used to assist the user to accomplish rope skipping; User interaction unit is used to receive user's operational order, and this operational order is transferred to data processing unit.
Data processing unit is used to receive said user's operational order; Above-mentioned user's operational order is converted to based on the read operation of attribute agreement in bluetooth low-power consumption transmission technology instruction or write operation instruction and confirming to be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit after the writing data content and writing destination object of said read operation instruction or write operation instruction; Transmission means with in control survey computing unit operating state and configuration, the startup rope skipping data transmission procedure realizes the collection of data in the Long-distance Control rope skipping process.This write operation instruction comprises the instruction of first write operation, the instruction of second write operation and the instruction of the 3rd write operation; Wherein the instruction of first write operation is used for being provided with the characteristic value of measuring intervals of TIME characteristic; The instruction of second write operation is used for the Configuration Values of rope skipping number of times characteristic and the explanation of rope skipping frequecy characteristic server end feature configuration is written as " 0x0001 "; The process data of will skipping rope places broadcast data packet; Make Skipping-rope device regular (once) transmit current rope skipping process data to the data collector terminal such as per second; The Configuration Values of server end feature configuration explanation in rope skipping number of times characteristic and the rope skipping frequecy characteristic is written as " 0x0000 ", then stops to send the rope skipping process data with the broadcast transmitted mode, wherein this rope skipping process data comprise the rope skipping number of times at least and the frequency of skipping rope in a kind of; The instruction of the 3rd write operation is used for the characteristic value of measuring switch characteristic is written as " 1 " perhaps " 0 ", starts or stop to measure computing unit.Being used for converting to user's operational order based on the read operation instruction of bluetooth low-power consumption transmission technology attribute agreement or the data processing unit of write operation instruction is ripe prior art, will not tires out at this and state.
First Bluetooth transmission unit is used for setting up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology and this second Bluetooth transmission unit.This first Bluetooth transmission unit is provided with the characteristic value in the measuring intervals of TIME characteristic when receiving first write operation instruction (being the Write Request instruction that the attribute agreement is comprised in the bluetooth low-power consumption transmission technology), be set to 0.1 second such as the characteristic value in the measuring intervals of TIME characteristic.Through the characteristic value of measuring intervals of TIME characteristic is set, can confirm to measure the time interval that computing unit is measured the rope skipping process data, and the transmission frequency of having confirmed broadcast data packet based on this time interval is farthest to reduce power consumption and expense.
First Bluetooth transmission unit receive second write operation when instruction can be optionally with one of in rope skipping number of times feature and the rope skipping frequecy characteristic or the Configuration Values of both server end feature configuration explanations be written as " 0x0001 "; The Bluetooth transmission unit of winning is operated under the customization broadcast mode (that is: defined Configured Broadcast in the bluetooth low-power consumption transmission technology), confirms that promptly the transmission means of measurement computing unit transmission rope skipping process data is the broadcast transmission mode; And can with one of in rope skipping number of times feature and the rope skipping frequecy characteristic or the Configuration Values of both server end feature configuration explanations be written as " 0x0000 ", stop to launch the broadcast transmitted mode.Under the customization broadcast mode, first Bluetooth transmission unit need not be set up communication channel with second Bluetooth transmission unit and just be connected and can realize the transmission of process data of skipping rope, thereby greatly reduces time-delay, power consumption and overhead.
First Bluetooth transmission unit receive the 3rd write operation when instruction with the measuring switch characteristic in characteristic value be written as " 1 " perhaps " 0 ", control the operating state of this measurement computing unit.When characteristic value is written as " 1 " in the measuring switch characteristic, begin interval measurement and rope skipping number of times and the rope skipping frequency calculated in the rope skipping process; Characteristic value is written as " 0 " in the measuring switch characteristic, stops rope skipping number of times and rope skipping frequency in the measurements and calculations rope skipping process.
First Bluetooth transmission unit is used for receiving new rope skipping process data from measuring computing unit; And new rope skipping process data is carried out the form encapsulation; Form above-mentioned rope skipping process data format set, the process data format set of will skipping rope again carries out attributes encapsulation through the attribute agreement in the bluetooth low-power consumption transmission technology, forms rope skipping process data attribute; And the process data attribute of should skipping rope places broadcast data packet, in broadcast band, sends to second Bluetooth transmission unit.
Measuring computing unit is used for when measuring switch characteristic characteristic value is written as " 1 "; Rope skipping number of times in the beginning compartment of terrain measurements and calculations rope skipping process and rope skipping frequency; And with the characteristic value in the above-mentioned measuring intervals of TIME characteristic as the time interval; The process data of will skipping rope is encapsulated in the broadcast data packet, is transferred to first Bluetooth transmission unit then; Characteristic value is written as " 0 " in the measuring switch characteristic, stops rope skipping number of times and rope skipping frequency in the measurements and calculations rope skipping process.
Second Bluetooth transmission unit is used to receive said rope skipping process data attribute, and above-mentioned rope skipping process data attribute is carried out decapsulation, the rope skipping process data after the decapsulation is transferred to data storage cell stores.After storage was accomplished, the user of data collection facility can further carry out follow-up operation, such as upload, demonstration or post-processed.
Control switch can be controlled the on off state of said first Bluetooth transmission unit through CPU.Control switch can directly be controlled or control this measurement computing unit indirectly through CPU and carry out clear operation.In addition, CPU can receive the on off state of control switch and reflected the current state of said control switch through the LED signal lamp by various colors.The rope skipping process data that second Bluetooth transmission unit receives shows that by display unit the processing procedure of the process data of wherein skipping rope in data processing unit is mature technique, will not tire out at this and state after handling through data processing unit.
As shown in Figure 2, above-mentioned rope skipping process data format set is based on the transmission method of broadcast data packet, and it may further comprise the steps:
First Bluetooth transmission unit and second Bluetooth transmission unit in the data collector terminal in S1, the Skipping-rope device are set up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology;
S2, user assign user's operational order that measuring intervals of TIME is set; Data processing unit in the said data collector terminal converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology first write operation instruction; And be transferred to said first Bluetooth transmission unit through said second Bluetooth transmission unit; The characteristic value of measuring intervals of TIME characteristic is set; Thereby confirm the interior time interval of measuring computing unit measurement rope skipping process data of said Skipping-rope device, wherein said rope skipping process data comprises in rope skipping number of times and the rope skipping frequency data at least a;
S3, according to user's request; Assign the user's operational order that starts the broadcasting send mode; Said data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology second write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; To the skip rope Configuration Values of the server end feature configuration explanation of at least one characteristic in number of times characteristic and the rope skipping frequecy characteristic of selection is written as " 0x0001 ", starts corresponding broadcasting send mode, confirms that promptly said measurement computing unit sends the transmission means of said 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 based on attribute agreement in the bluetooth low-power consumption transmission technology the 3rd write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; The characteristic value of measuring switch characteristic is written as " 1 ", and said measurement computing unit begins the said rope skipping process data of compartment of terrain measurements and calculations;
S5, first Bluetooth transmission unit are closed with the communication channel of second Bluetooth transmission unit and are connected;
After S6, first Bluetooth transmission unit receive new rope skipping process data from said measurement computing unit; Said new rope skipping process data is carried out the form encapsulation; Form above-mentioned rope skipping process data format set, the process data format set of will skipping rope again carries out attributes encapsulation through the attribute agreement in the bluetooth low-power consumption transmission technology, forms rope skipping process data attribute; The process data of should skipping rope at last places broadcast data packet, in broadcast band, sends to second Bluetooth transmission unit;
S7, second Bluetooth transmission unit carry out decapsulation to rope skipping process data attribute, take out the rope skipping process data that measures, and the data storage cell of passing to data collection facility is stored;
S8, according to user's demand, repeating step S5~S7 finishes up to the DATA REASONING process;
S9, first Bluetooth transmission unit and second Bluetooth transmission unit are set up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology; And the user assigns user's operational order that end data is measured; Data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; Characteristic value in the measuring switch characteristic is written as " 0 ", measures computing unit and finish measurements and calculations work;
S10, user assign user's operational order of closing the broadcasting send mode; Data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; The Configuration Values of server end feature configuration explanation in the rope skipping number of times characteristic of correspondence and/or the frequecy characteristic of skipping rope is written as " 0x0000 ", closes corresponding broadcasting send mode;
S11, transfer of data accomplish, and close first Bluetooth transmission unit and are connected with communication between second Bluetooth transmission unit.
The role of said 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 said rope skipping number of times characteristic and the rope skipping incidental characteristic parameter of frequecy characteristic (that is: the Characteristic Properties that defines in the attribute agreement) must place " 1 ", and this represents " value of eigen can be transmitted through broadcast data packet ".
Before the use attribute agreement is carried out transfer of data; Must accomplish the connection of link layer according to the workflow of bluetooth low-power consumption transmission technical standard defined between first Bluetooth transmission unit of Skipping-rope device and second Bluetooth transmission unit of data collector terminal, and set up the attribute agreement special-purpose L2CAP passage.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination that discloses in this manual, and the arbitrary new method that discloses or step or any new combination of process.

Claims (4)

1. rope skipping process data transmission method based on broadcast data packet, it may further comprise the steps:
First Bluetooth transmission unit and second Bluetooth transmission unit in the data collector terminal in S1, the Skipping-rope device are set up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology;
S2, user assign user's operational order that measuring intervals of TIME is set; Data processing unit in the said data collector terminal converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology first write operation instruction; And be transferred to said first Bluetooth transmission unit through said second Bluetooth transmission unit; The characteristic value of measuring intervals of TIME characteristic is set; Thereby confirm the interior time interval of measuring computing unit measurement rope skipping process data of said Skipping-rope device, wherein said rope skipping process data comprises in rope skipping number of times and the rope skipping frequency data at least a;
S3, according to user's request; Assign the user's operational order that starts the broadcasting send mode; Said data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology second write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; To the skip rope Configuration Values of the server end feature configuration explanation of at least one characteristic in number of times characteristic and the rope skipping frequecy characteristic of selection is written as " 0x0001 ", starts corresponding broadcasting send mode, confirms that promptly said measurement computing unit sends the transmission means of said 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 based on attribute agreement in the bluetooth low-power consumption transmission technology the 3rd write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; The characteristic value of measuring switch characteristic is written as " 1 ", and said measurement computing unit begins the said rope skipping process data of compartment of terrain measurements and calculations;
S5, first Bluetooth transmission unit are closed with the communication channel of second Bluetooth transmission unit and are connected;
After S6, first Bluetooth transmission unit receive new rope skipping process data from said measurement computing unit; Said new rope skipping process data is carried out the form encapsulation; Form rope skipping process data format set, the process data format set of will skipping rope again carries out attributes encapsulation through the attribute agreement in the bluetooth low-power consumption transmission technology, forms rope skipping process data attribute; The process data of should skipping rope at last is packaged in the broadcast data packet, in broadcast band, sends to second Bluetooth transmission unit;
S7, second Bluetooth transmission unit carry out decapsulation to rope skipping process data attribute, take out the rope skipping process data that measures, and the data storage cell of passing to data collection facility is stored;
S8, according to demand repeating step S5~S7 of user, finish up to the DATA REASONING process;
S9, first Bluetooth transmission unit and second Bluetooth transmission unit are set up the bidirectional data transfers passage through bluetooth low-power consumption transmission technology; And the user assigns user's operational order that end data is measured; Data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology the 3rd write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; Characteristic value in the measuring switch characteristic is written as " 0 ", measures computing unit and finish measurements and calculations work;
S10, user assign user's operational order of closing the broadcasting send mode; Data processing unit converts this user's operational order to based on attribute agreement in the bluetooth low-power consumption transmission technology second write operation instruction; And be transferred to first Bluetooth transmission unit through second Bluetooth transmission unit; The Configuration Values of server end feature configuration explanation in the rope skipping number of times characteristic of correspondence and/or the frequecy characteristic of skipping rope is written as " 0x0000 ", closes corresponding broadcasting send mode;
S11, transfer of data accomplish, and close first Bluetooth transmission unit and are connected with communication between 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: said Skipping-rope device inner control switch is used to control the on off state of said first Bluetooth transmission unit, and said measurement computing unit is carried out clear operation and configuration, the transmission of startup rope skipping process data.
3. based on the described rope skipping process data transmission method of claim 1 based on broadcast data packet; It is characterized in that: data format collection described in the said step S6 comprise with bluetooth low-power consumption transmission technology in the compatible mutually characteristic of the attribute agreement that defines, said characteristic is made up of rope skipping number of times characteristic, rope skipping frequecy characteristic, measuring switch characteristic and measuring intervals of TIME characteristic;
Each characteristic all has an exclusive UUID who meets the UUID standard and unifies identifier;
Said rope skipping number of times characteristic, 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 the little-endian mode; The explanation of said server end feature configuration possesses and has a UUID to unify identifier and comprise a Configuration Values; Said Configuration Values is 16 bit unsigned integer of arranging by the little-endian mode, and in both the server end feature configuration explanations UUID to unify identifier identical;
Said measuring switch characteristic comprises a characteristic value, and wherein said characteristic value is 8 bit unsigned integer of arranging by the little-endian mode;
Said measuring intervals of TIME characteristic comprises a characteristic value, and wherein said characteristic value is 16 bit unsigned integer of arranging by big 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: characteristic value is used for representing the total degree of the thorny handle rotation of current measuring process rope skipping in the said rope skipping number of times characteristic; And when the Configuration Values of server end feature configuration explanation in the said rope skipping number of times characteristic is set to " 0x0001 "; The characteristic value of said rope skipping number of times characteristic is sent in beginning with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology; When the Configuration Values of server end feature configuration explanation in the said rope skipping number of times characteristic is set to " 0x0000 ", stop to send the characteristic value of said rope skipping number of times characteristic with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology;
Characteristic value is used to represent the instantaneous frequency of current Handle of skipping rope rotation in the said rope skipping frequecy characteristic; Its unit is time/minute; And when the Configuration Values of server end feature configuration explanation in the said rope skipping frequecy characteristic is set to " 0x0001 "; The characteristic value that beginning is sent said rope skipping frequecy characteristic with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology; When the Configuration Values of server end feature configuration explanation in the said rope skipping frequecy characteristic is set to " 0x0000 ", stop the characteristic value of sending said rope skipping frequecy characteristic with the broadcast data packet that defines in the bluetooth low-power consumption transmission technology;
The characteristic value operating state of internal measurement computing unit that is used to represent to skip rope in the said measuring switch characteristic, wherein said characteristic value is that the said measurement computing unit of 0 expression has stopped measuring, said characteristic value is that the said measurement computing unit of 1 expression is in measurement;
In said measuring intervals of TIME characteristic adjacent time interval of measuring between the calculating operation for twice of internal measurement computing unit that is used to represent to skip rope, its unit is that 0.1 second and its value are 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 true CN102571162A (en) 2012-07-11
CN102571162B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333785A (en) * 2014-10-10 2015-02-04 科大讯飞股份有限公司 Method for turning on/off television or television box based on Bluetooth
WO2016015375A1 (en) * 2014-07-31 2016-02-04 北京升哲科技有限公司 Sensor for acquiring sensing data in disconnected state, intelligent device, and method
CN105659702A (en) * 2013-08-21 2016-06-08 亚普知识产权控股有限公司 Lighting control system, terminal and lighting control method thereby
CN106060962A (en) * 2016-06-22 2016-10-26 杭州华三通信技术有限公司 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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105659702A (en) * 2013-08-21 2016-06-08 亚普知识产权控股有限公司 Lighting control system, terminal and lighting control method thereby
WO2016015375A1 (en) * 2014-07-31 2016-02-04 北京升哲科技有限公司 Sensor for acquiring sensing data in disconnected state, intelligent device, and method
GB2543455A (en) * 2014-07-31 2017-04-19 Beijing Sensoro Co Ltd Sensor for acquiring sensing data in disconnected state, intelligent device, and method
CN104333785A (en) * 2014-10-10 2015-02-04 科大讯飞股份有限公司 Method for turning on/off television or television box based on Bluetooth
CN106060962A (en) * 2016-06-22 2016-10-26 杭州华三通信技术有限公司 Communication method and device
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

Also Published As

Publication number Publication date
CN102571162B (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN102571162B (en) Broadcasting-data-packet-based rope skipping process data transmission method
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
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
CN102523621B (en) A kind of Mine Personnel Positioning System and method
CN103024663B (en) A kind of Mine Personnel Positioning System
CN104361730B (en) The data communication system and transfer approach of intelligent metering instrument
CN101549205A (en) System for recognizing human gait, real-time monitoring energy consumption thereof and instructing exercise training thereof
CN108827381A (en) A kind of miniature electronic devices of Embedded measurable blow-off line multi-parameter
CN102510303B (en) System suitable for data transmission during rope skipping process
CN208076055U (en) A kind of Intellectual temperature measurement Transmission system
CN103954186A (en) Quality testing data acquisition terminal for digital display testing instrument and data acquisition method
CN201383212Y (en) Oil gas well ground test measurement data acquisition and transmission device
CN207200991U (en) A kind of remote control device and system based on LoRa technologies
CN105488995A (en) Smart-phone-based Bluetooth-to-infrared meter recording device
CN208223556U (en) Transformer transporting on-Line Monitor Device based on 4G wireless communication technique
CN202957990U (en) Upgrading device of data acquisition and transmission system base on SD card
CN102406503A (en) System for providing infant physique measurement service and data transmission method
CN206945729U (en) A kind of flow velocity instrument apparatus
CN105471445A (en) Novel and intelligent Bluetooth-WIFI integrated module
KR101023064B1 (en) System and Method for data compressive of terminal for automatic meter reading
CN206063136U (en) A kind of body temperature acquisition system based on radio-frequency technique
CN203909994U (en) Hanging wire reference monitor of paver
CN108023638A (en) A kind of Big Dipper terminal monitory system and monitoring method

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