CN112911569A - Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal - Google Patents

Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal Download PDF

Info

Publication number
CN112911569A
CN112911569A CN202110275610.2A CN202110275610A CN112911569A CN 112911569 A CN112911569 A CN 112911569A CN 202110275610 A CN202110275610 A CN 202110275610A CN 112911569 A CN112911569 A CN 112911569A
Authority
CN
China
Prior art keywords
rope
skipping
data
broadcast packet
bluetooth broadcast
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.)
Pending
Application number
CN202110275610.2A
Other languages
Chinese (zh)
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.)
Suning Intelligent Terminal Co ltd
Original Assignee
Suning Intelligent Terminal Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suning Intelligent Terminal Co ltd filed Critical Suning Intelligent Terminal Co ltd
Priority to CN202110275610.2A priority Critical patent/CN112911569A/en
Publication of CN112911569A publication Critical patent/CN112911569A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0619Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills

Abstract

The invention relates to a rope skipping data transmission method, a rope skipping data receiving method, a rope skipping and a terminal, wherein the method comprises the steps of responding to a data recording request of a user, recording rope skipping data of the user, responding to a data sending request of the user, writing the rope skipping data into a Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to the terminal so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet, therefore, the data transmission can be carried out without the need of firstly receiving the rope skipping broadcast packet through a Bluetooth module of the terminal and establishing a connection relation with the rope skipping, the rope skipping data transmission process is simplified, and the stability of the data transmission process is further improved as the Bluetooth broadcast packet is not influenced by the Bluetooth connection stability.

Description

Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal
Technical Field
The invention relates to the field of skipping ropes, in particular to a skipping rope data transmission method, a skipping rope data receiving method, a skipping rope and a terminal.
Background
The skipping rope is a very popular sports, is not only beneficial to keeping the health and the body shape of a human body, but also can effectively exercise the individual reaction capacity and endurance, and can be used for sports and can also be used for family collective activities.
At present there is the multiple rope skipping that can be connected with the smart mobile phone on the market, installs the APP that is used for the record rope skipping in-process to produce data on the mobile terminal, and this kind of rope skipping lies in mobile terminal and connects the back, and the rope skipping is with data transmission such as user's rope skipping number of times to APP and is taken notes.
However, in the prior art, the data transmission process between the skipping rope and the mobile terminal is generally as follows: after the Bluetooth module of the mobile phone is opened, the mobile terminal starts to scan, after a broadcast packet of a skipping rope is scanned, connection is initiated, after the mobile terminal is connected with the skipping rope, data of the skipping rope is transmitted to the Bluetooth module of the mobile terminal through a Bluetooth protocol, APP reads data from the Bluetooth module, the process of establishing Bluetooth connection in the data transmission process is time-consuming and long, and on the other hand, if the connection is unstable, the read data can also be interrupted.
Disclosure of Invention
In order to solve the technical problems, the invention provides a skipping rope data transmission method, a skipping rope data transmission system and a skipping rope.
In a first aspect, a rope skipping data transmission method is provided, where the method includes:
responding to a data recording request of a user, and recording rope skipping data of the user;
and responding to a data sending request of a user, writing the rope skipping data into a Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to a terminal so that the terminal obtains the rope skipping data after receiving the Bluetooth broadcast packet.
Further, the step of writing the skipping rope data into a bluetooth broadcast packet comprises:
and writing the skipping rope data into a first preset field of the Bluetooth broadcast packet.
Furthermore, the bluetooth broadcast packet further comprises user information, wherein the user information is acquired after receiving an information input request of a user and is currently input by the user;
the writing of the skipping rope data into the Bluetooth broadcast packet comprises:
writing the skipping rope data into a first preset field of the Bluetooth broadcast packet;
after writing the skipping rope data into the first preset field of the Bluetooth broadcast packet, the method further comprises the following steps:
and writing the user information into the first preset field, so that the terminal obtains the skipping rope data and the user information after receiving the Bluetooth broadcast packet.
Furthermore, the Bluetooth broadcast packet also comprises skipping rope identification information stored in the skipping rope;
after writing the user information into the first preset field, the method further includes:
and writing the skipping rope identification information into a second preset field of the Bluetooth broadcast packet so that the terminal obtains the skipping rope identification information, the user information and the corresponding skipping rope data.
In a second aspect, a rope skipping data receiving method is provided, where the method includes:
receiving a Bluetooth broadcast packet containing skipping rope data sent by a skipping rope;
and analyzing the Bluetooth broadcast packet to obtain the rope skipping data.
Further, the analyzing the bluetooth broadcast packet to obtain the rope skipping data includes:
and analyzing a first preset field in the Bluetooth broadcast packet to obtain the rope skipping data.
Further, the bluetooth broadcast packet further includes user information, and the parsing the bluetooth broadcast packet further includes:
analyzing a first preset field of the Bluetooth broadcast packet to obtain the user information and corresponding rope skipping data;
and correspondingly storing the rope skipping data according to the user information.
Further, before analyzing the first preset field of the bluetooth broadcast packet to obtain the user information and the corresponding rope skipping data, the method further includes:
analyzing a second preset field of the Bluetooth broadcast packet to obtain skipping rope identification information;
and if the rope skipping identification information is preset rope skipping identification information, analyzing a first preset field of the Bluetooth broadcast packet to obtain the user information and corresponding rope skipping data.
In a third aspect, a skipping rope is provided, said skipping rope comprising:
the recording module is used for responding to a data recording request of a user and recording rope skipping data of the user;
and the Bluetooth module is used for responding to a data sending request of a user, writing the rope skipping data into a Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to a terminal so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet.
In a fourth aspect, a terminal is provided, which includes:
the receiving module is used for receiving a Bluetooth broadcast packet containing rope skipping data sent by a skipping rope;
and the analysis module is used for analyzing the Bluetooth broadcast packet to obtain the rope skipping data.
In the invention, the data recording request of the user is responded, the rope skipping data of the user is recorded, the data sending request of the user is responded, the rope skipping data is written into the Bluetooth broadcast packet, and the Bluetooth broadcast packet is broadcasted to the terminal, so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet, and the data transmission can be carried out without the need of firstly receiving the rope skipping broadcast packet through a Bluetooth module of the terminal and then establishing a connection relation with the rope skipping, thereby simplifying the process of rope skipping data transmission.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is an embodiment of a rope skipping data transfer method;
FIG. 2 is a schematic diagram of a rope skipping data transmission system in one embodiment;
FIG. 3 is a block diagram of a skipping rope in one embodiment;
fig. 4 is a block diagram of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Aiming at the problems that in the prior art, the process of transmitting data between a skipping rope and a terminal is usually that a terminal and a Bluetooth module of the skipping rope are opened firstly, the Bluetooth module of the skipping rope transmits a Bluetooth broadcast packet, the Bluetooth module of the terminal establishes Bluetooth connection with the skipping rope after receiving the Bluetooth broadcast packet, and then the skipping rope transmits the data in the process of skipping rope movement to the terminal through a Bluetooth protocol, on one hand, the process of establishing the Bluetooth connection is long in time consumption, and on the other hand, if the connection is unstable, the read data can be interrupted, the invention provides a skipping rope data transmitting method, a skipping rope data receiving method, a skipping rope and the terminal, wherein the skipping rope data in the process of skipping rope movement is written into the Bluetooth broadcast packet, the Bluetooth broadcast packet is broadcasted to the terminal, so that the terminal obtains the skipping rope data after receiving the Bluetooth broadcast packet, thereby avoiding the process of establishing the Bluetooth connection between the skipping rope and the terminal, and then avoided carrying out the conveying of rope skipping data after the bluetooth is connected, practiced thrift the time of rope skipping data transfer, improved conveying efficiency.
The rope skipping data transmission method, system and rope skipping will be further described with reference to specific embodiments.
Example one
As shown in fig. 1, this embodiment provides a rope skipping data transmission method, which is applied to rope skipping, and includes:
and S11, responding to the data recording request of the user, and recording the rope skipping data of the user.
Before the rope skipping begins, the user triggers the start button or the virtual key on the rope skipping to generate a data recording request, or the user directly shakes the rope skipping to generate a data recording request, the rope skipping continuously records the rope skipping data of the user, the rope skipping data comprise rope skipping times and rope skipping time, the rope skipping time comprises rope skipping start time and rope skipping end time, and in the embodiment, the rope skipping times and the rope skipping time are recorded, so that the user can know the exercise intensity conveniently.
And S12, responding to the data sending request of the user, writing the skipping rope data into the Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to the terminal so that the terminal can obtain the skipping rope data after receiving the Bluetooth broadcast packet.
After the skipping rope is finished, a user triggers a finishing button or a finishing virtual key on the skipping rope, the skipping rope stops recording data, then the user triggers a data sending button or the data sending virtual key, the skipping rope broadcasts the Bluetooth broadcast packet to the terminal, of course, the skipping rope can also broadcast the Bluetooth broadcast packet to the terminal while the user triggers the finishing button or the finishing virtual key on the skipping rope, namely, the former needs the user to trigger a data sending request, and the latter does not need the user to trigger the data sending request.
The Bluetooth broadcast packet comprises a packet head and a packet body, the packet head and the packet body comprise a plurality of fields, rope skipping data need to be sent after a user triggers a data sending request, rope skipping data are written into the corresponding fields by a Bluetooth module of a skipping rope to form the Bluetooth broadcast packet, the Bluetooth broadcast packet is broadcasted to a terminal, and the skipping rope does not need to be connected with the terminal in a Bluetooth mode.
In the invention, the data recording request of the user is responded, the rope skipping data of the user is recorded, the data sending request of the user is responded, the rope skipping data is written into the Bluetooth broadcast packet, and the Bluetooth broadcast packet is broadcasted to the terminal, so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet, and the data transmission can be carried out without the need of firstly receiving the rope skipping broadcast packet through a Bluetooth module of the terminal and then establishing a connection relation with the rope skipping, thereby simplifying the process of rope skipping data transmission.
In one example, the step of writing the rope skipping data into the bluetooth broadcast packet comprises:
and writing the skipping rope data into a first preset field of the Bluetooth broadcast packet.
The first preset field may be a vendor-defined field of the bluetooth broadcast packet. The Ad Data is a field in the packet body, the field includes a plurality of Ad fields, each Ad field has its own Ad type, in this embodiment, two Ad fields are used, the types of the two Ad fields are complete local name and manual specific, the manual specific is a vendor-defined field, the length of the field is 0x05, the type is 0xff, it indicates that the following Data is vendor-defined Data, the additional Data is 0x5d000400, 005d is the ID of the vendor (here, it represents Realtek), 0x0004 is a vendor-defined field, and the field is used for some purpose, so that the field can be used for placing rope skipping Data, such as rope skipping times and rope skipping time, into the vendor-defined field.
In one example, the bluetooth broadcast packet further includes user information, and the user information is information currently input by the user and collected after receiving an information input request of the user;
writing the skipping rope data into the bluetooth broadcast packet includes:
writing the skipping rope data into a first preset field of the Bluetooth broadcast packet;
after writing the skipping rope data into the first preset field of the Bluetooth broadcast packet, the method further comprises the following steps:
and writing user information into a first preset field, so that the terminal obtains the skipping rope data and the user information after receiving the Bluetooth broadcast packet.
When the number of the users is more than two, in order to distinguish different users, user information needs to be collected, the user information comprises a user number and also comprises information such as name, age, sex, height, weight and the like, of course, in order to save time, only the user number can be input, and the number and the name can also be input, so that subsequent user information check is facilitated, and specific input information can be selected according to actual conditions. In the skipping rope that this embodiment corresponds, the skipping rope has two handles, at least one handle has a display screen, one side of display screen is provided with a series of physics button, the user can input user information through pressing first physics button, then show on the display screen, of course, the display screen also can be touch-control display screen, set up virtual button, the user inputs user's serial number through clicking virtual button, for example, parents take child to go to the skipping rope and take exercise, use same skipping rope, before parents and child's skipping rope, can input the serial number in the skipping rope, for example 1 is father, 2 is mother, 3 is child, after the skipping rope finishes, respectively send the terminal with respective skipping rope number, the terminal acquires the skipping rope number that the serial number corresponds, be convenient for know everyone's motion condition.
Of course, when the number of the users is one, the users can input the user information in the skipping rope according to the actual situation.
In this embodiment, after rope skipping is finished, the user information is also written into the manufacturer-defined field in the bluetooth broadcast packet, and the bluetooth broadcast packet containing rope skipping data and the user information is broadcasted to the terminal, so that the terminal can obtain the rope skipping data and the user information after receiving the bluetooth broadcast packet.
In one example, the bluetooth broadcast packet further includes skipping rope identification information stored inside the skipping rope;
after writing the user information into the first preset field, the method further comprises:
and writing the rope skipping identification information into a second preset field of the Bluetooth broadcast packet so that the terminal can obtain the rope skipping identification information, the user information and corresponding rope skipping data.
In practical application, there may be a case where other devices except for a skipping rope send broadcast packets or the number of skipping ropes is two or more, in order to distinguish different bluetooth broadcast packets to determine a target skipping rope, skipping rope identification information needs to be written into a second preset field of the bluetooth broadcast packet, where the second preset field may be a complete local name field, the complete local name field is a standard field filled according to a bluetooth protocol, and it can be identified whether a skipping rope is a target skipping rope by writing the skipping rope identification information into the bluetooth broadcast packet, the skipping rope identification information includes a unique identification ID and a device name, a user may configure one of the fields, and the terminal also performs corresponding setting, for example, when the unique identification ID is used as skipping rope identification information, after receiving the bluetooth broadcast packet, the terminal determines whether the unique identification ID in the complete local name field is a preset ID by analyzing the unique identification ID row, when only the unique identification ID is a preset ID, the current skipping rope is a target skipping rope; when the device name is used as the skipping rope identification information, the device name in the complete local name is analyzed in the terminal, whether the device name is the preset device name or not is further judged, if the device name is the preset device name and a single skipping rope is sent to the Bluetooth broadcast packet, the skipping rope is the target skipping rope, if the device behavior is the preset device name and a plurality of skipping ropes are sent to the Bluetooth broadcast packet, the MAC address of the skipping rope is analyzed and judged, the MAC address is carried in the Bluetooth broadcast packet, and the skipping rope is judged to be the target skipping rope only when the MAC address of the skipping rope is the preset MAC address.
In this embodiment, the rope skipping data and the user information need to be displayed in the terminal, so the bluetooth module writes the rope skipping data and the user information into a manufacturer-defined field in the bluetooth broadcast packet, and the rope skipping identification information is used by the user terminal to identify whether the rope skipping is a preset rope skipping, so the bluetooth module writes the rope skipping identification information into a complete local name field in the bluetooth broadcast packet.
In one example, recording the user's jump rope data comprises:
acquiring rotation data of a main rope, and generating an induction signal when the main rope rotates for one circle;
adding 1 to the rope skipping times according to a sensing signal.
The handle of the skipping rope is also provided with an induction module for acquiring the rotation data of the main rope and generating an induction signal every time the main rope rotates for one circle; the recording module is also used for adding 1 to the rope skipping times according to one induction signal. The sensing module is a sensor, the sensor is in various forms and can be set to be a Hall sensor, a rotating shaft is arranged on the handle at the moment, a magnet is correspondingly arranged on the rotating shaft, and the Hall sensor is arranged on the circumferential outer side of the rotating shaft and corresponds to the magnet, so that the magnet passes through the Hall sensor when the rotating shaft rotates.
In one example, the user information further comprises user weight, and energy consumed by the user in the rope skipping process is calculated according to the user weight, the rope skipping times and the rope skipping time.
In this embodiment, the energy consumed in the rope skipping process can be calculated by the calculating module in the handle according to the weight of the user, the rope skipping frequency and the rope skipping time, so that the user can conveniently know whether the rope skipping movement achieves the purpose of exercising in time, and the strength of the rope skipping movement is reasonably arranged.
In the embodiment, the rope skipping data of the user is recorded in response to a data recording request of the user, the rope skipping data is written into the Bluetooth broadcast packet in response to a data sending request of the user, and the Bluetooth broadcast packet is broadcast to the terminal, so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet, and therefore data transmission can be carried out without the need of establishing a connection relation with a skipping rope after receiving the rope skipping broadcast packet through a Bluetooth module of the terminal, the process of rope skipping data transmission is simplified, and the stability of a data transmission process is further improved as the Bluetooth broadcast packet is not influenced by the stability of Bluetooth connection; rope skipping data and user information are written into a first preset field in the Bluetooth broadcast packet, and rope skipping identification information is written into a second preset field in the Bluetooth broadcast packet, so that the terminal can conveniently record the rope skipping data and the user information after recognizing a rope skipping after receiving the Bluetooth broadcast packet.
Example two
As shown in fig. 2, this embodiment provides a rope skipping data receiving method, which is applied to a terminal, and the method includes:
s21, receiving a Bluetooth broadcast packet containing rope skipping data sent by a skipping rope;
and S22, analyzing the Bluetooth broadcast packet to obtain rope skipping data.
In this embodiment, the terminal receives the bluetooth broadcast package that contains rope skipping data that rope skipping end sent, and analytic bluetooth broadcast package obtains rope skipping data to need not to carry out the transmission of data after the bluetooth module at terminal receives the broadcast package of rope skipping earlier and establishes the relation of connection with the rope skipping, simplified the process of rope skipping data transfer, because bluetooth broadcast package does not receive the influence of bluetooth connection stability, and then also improved data transfer process's stability.
In one example, parsing the bluetooth broadcast packet to obtain rope skipping data comprises:
and analyzing a first preset field in the Bluetooth broadcast packet to obtain rope skipping data.
The first preset field is a manufacturer-defined field in the Bluetooth broadcast packet.
In one example, the bluetooth broadcast packet further includes user information, and parsing the bluetooth broadcast packet further includes:
analyzing a first preset field of the Bluetooth broadcast packet to obtain user information and corresponding rope skipping data;
and correspondingly storing the rope skipping data according to the user information.
When more than two users are available, in order to distinguish different users conveniently, the Bluetooth broadcast packet also comprises user information, the user information is written in a first preset field in the Bluetooth broadcast packet, the first preset field of the Bluetooth broadcast packet is analyzed to obtain the user information and corresponding skipping rope data, and the skipping rope data is correspondingly stored according to the user information.
In this embodiment, in order to distinguish different users, user information is input at a skipping rope end and written into a bluetooth broadcast packet, or a user list may be created in advance at a terminal, and after receiving the bluetooth broadcast packet and analyzing skipping rope data, the skipping rope data and the user information are stored in the user list.
In one example, the user information is sorted by rope skipping data.
For rope skipping competitions participated by a plurality of persons, the persons participating in the competition can be sequenced according to the rope skipping times; for the family members, the family members can be ranked according to the rope skipping time for the interest of rope skipping.
In one example, preset skipping rope identification information is stored in advance, and the skipping rope identification information includes a unique identification ID and a device name.
In one example, the bluetooth broadcast packet further includes skipping identification information, and before parsing the first preset field of the bluetooth broadcast packet to obtain the user information and the corresponding skipping data, the method further includes:
analyzing a second preset field of the Bluetooth broadcast packet to obtain skipping rope identification information;
and if the rope skipping identification information is preset rope skipping identification information, analyzing a first preset field of the Bluetooth broadcast packet to obtain user information and corresponding rope skipping data.
In this embodiment, in practical applications, there may be a case where other devices besides the skipping rope send broadcast packets or the number of skipping ropes is two or more, in order to distinguish different bluetooth broadcast packets and determine a target skipping rope, skipping rope identification information needs to be written into a second preset field of the bluetooth broadcast packet, where the second preset field may be a complete local name field, the complete local name field is a standard field filled according to a bluetooth protocol, and it is possible to identify whether a skipping rope is a target skipping rope by writing the skipping rope identification information into the bluetooth broadcast packet in this field, before receiving the bluetooth broadcast packet, the terminal also performs corresponding settings, for example, when the unique identification ID is used as skipping rope identification information, after receiving the bluetooth broadcast packet, the terminal determines whether the skipping rope is a preset ID by parsing a unique identification ID row in the complete local name field, and when only the unique identification ID is a preset ID, the current skipping rope is a target skipping rope; when the device name is used as the skipping rope identification information, the device name in the complete local name is analyzed in the terminal, whether the device name is the preset device name or not is further judged, if the device behavior is the preset device name and a single skipping rope is sent to the Bluetooth broadcast packet, the skipping rope is the target skipping rope, if the device behavior is the preset device name and a plurality of skipping ropes are sent to the Bluetooth broadcast packet, the MAC address of the skipping rope is analyzed and judged, the MAC address is carried in the Bluetooth broadcast packet, and the skipping rope is judged to be the target skipping rope only when the MAC address of the skipping rope is the preset MAC address.
In one example, bluetooth broadcast packets are automatically scanned before a rope jump motion begins.
In this embodiment, in order to further improve the efficiency of rope skipping data transmission, the bluetooth module of the terminal is turned on before the rope skipping movement starts, and the bluetooth module automatically scans the bluetooth broadcast packet.
In one example, the user information further includes a user weight, and the energy expended is calculated based on the number of rope skips, the rope skips time, and the user weight.
In this embodiment, in order to facilitate statistics of energy consumed by the user during rope skipping, the application program of the terminal further includes a calculation module, which performs calculation according to the rope skipping times, the rope skipping time and the user weight, and correspondingly stores the user information, the rope skipping times and the consumed energy.
In one example, the user is also ranked according to the number of rope skips and/or the energy expended.
In one example, the received skipping rope data is newly distributed to other users, and the calculating module recalculates the consumed energy according to the corresponding weight of the user.
In the embodiment, the terminal receives the bluetooth broadcast packet containing the skipping rope data sent by the skipping rope end and analyzes the bluetooth broadcast packet to obtain the skipping rope data, so that data transmission can be performed without the need of establishing a connection relation with a skipping rope after the bluetooth broadcast packet containing the skipping rope is received by a bluetooth module of the terminal, the process of skipping rope data transmission is simplified, and the stability of the data transmission process is improved as the bluetooth broadcast packet is not influenced by the stability of bluetooth connection; through the analysis of the skipping rope identification information in the Bluetooth broadcast packet, whether the skipping rope is a target skipping rope or not can be identified, and the accuracy of skipping rope data receiving is improved.
EXAMPLE III
As shown in fig. 3, the present embodiment provides a skipping rope, which includes:
the recording module is used for responding to a data recording request of a user and recording rope skipping data of the user;
and the Bluetooth module is used for responding to a data sending request of a user, writing the rope skipping data into a Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to a terminal so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet.
The Bluetooth module is Low-power consumption Bluetooth module BLE (Bluetooth Low energy), and BLE consumes lower energy in the data transmission process, and the time delay is shorter, and the interference killing feature is stronger.
In one example, the bluetooth module includes a first writing unit for writing the skipping rope data into a first preset field of the bluetooth broadcast packet.
In one example, the bluetooth broadcast packet further includes user information, and the user information is information currently input by the user and collected after receiving an information input request of the user;
the first writing unit is further used for writing the user information into a first preset field of the Bluetooth broadcast packet after writing the skipping rope data into the first preset field, so that the terminal can obtain the skipping rope data and the user information after receiving the Bluetooth broadcast packet.
The first writing unit is further used for writing the user information and the skipping rope data into a first preset field of the Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet containing the skipping rope data and the user information to the terminal so that the terminal can obtain the user information and the corresponding skipping rope data.
In one example, the bluetooth broadcast packet further includes skipping rope identification information stored inside the skipping rope;
the skipping rope also comprises a second writing unit which is used for writing skipping rope identification information into a second preset field of the Bluetooth broadcast packet so that the skipping rope identification information, the user information and the corresponding skipping rope data can be obtained by the terminal.
In one example, the handle is further provided with an induction signal generation module for acquiring rotation data of the main rope and generating an induction signal every time the main rope rotates for one circle;
the control module is also used for adding 1 to the rope skipping times according to one induction signal.
Furthermore, the Bluetooth module actively reads the induction signal in the recording module through a serial communication mode so as to obtain the rope skipping times, and can also receive the rope skipping times actively reported by the control module through the serial communication mode.
In one example, the handle further comprises power supply means for supplying power to the jump rope.
In one example, the control module is an MCU singlechip, skipping rope identification information of a current skipping rope is stored in the singlechip in advance, the user number is stored on the MCU by the acquisition module after the user information is acquired, and the skipping rope times and the skipping rope time are stored on the MCU by the recording module after the skipping rope times are calculated.
In one example, the user information further comprises user weight, and the control module calculates energy consumed by the user in the rope skipping process according to the user weight, the rope skipping times and the rope skipping time.
The MCU calculates the amount of exercise and calories consumed by the current user in the rope skipping process according to the rope skipping times and the rope skipping time, and accordingly the amount of exercise and calories are displayed on the display module.
In this embodiment, respond to user's data record request, record user's rope skipping data, respond to user's data transmission request, write into bluetooth broadcast package with rope skipping data, and broadcast bluetooth broadcast package to terminal, so that the terminal obtains rope skipping data after receiving bluetooth broadcast package, thereby need not to carry out the transmission of data after the bluetooth module of terminal receipt rope skipping broadcast package earlier and establish the relation of connection with rope skipping, the process of rope skipping data transfer has been simplified, because bluetooth broadcast package is not influenced by bluetooth connection stability, and then the stability of data transfer process has also been improved.
It should be noted that: in the skipping rope provided by the above embodiment, only the division of the above functional modules is used for illustration when the skipping rope moves, and in practical application, the above function distribution can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the embodiment of the rope skipping data transmission method provided in the above embodiment and the embodiment of the rope skipping data transmission method provided in the first embodiment belong to the same concept, that is, the device is based on the method, and the specific implementation process thereof is described in detail in the method embodiment and is not described herein again.
Example four
As shown in fig. 4, there is provided a terminal including:
the receiving module is used for receiving a Bluetooth broadcast packet containing rope skipping data sent by a skipping rope;
and the analysis module is used for analyzing the Bluetooth broadcast packet to obtain rope skipping data.
In one example, the parsing module includes a first parsing unit configured to parse a first preset field in the bluetooth broadcast packet to obtain the rope skipping data.
In one example, the bluetooth broadcast packet further includes user information, and the first parsing unit is further configured to parse a first preset field of the bluetooth broadcast packet to obtain the user information and corresponding skipping rope data.
The terminal also comprises a storage module used for correspondingly storing the rope skipping data according to the user information. The storage module is further configured to store a pre-established user information table, such as a user number, a user name, and the like, and correspondingly store the rope skipping data in the pre-established user information table according to the user information and the rope skipping data obtained through analysis.
In one example, the system further comprises a sorting module for sorting the user information according to the rope skipping data.
In one example, preset skipping rope identification information is stored in advance, the skipping rope identification information includes a unique identification ID and a device name, and one of them may be set in the terminal.
In one example, the bluetooth broadcast packet further includes rope skipping identification information, and the parsing module further includes a second parsing unit, configured to parse a second preset field of the bluetooth broadcast packet to obtain the rope skipping identification information before parsing the first preset field of the bluetooth broadcast packet to obtain the user information and the corresponding rope skipping data;
and if the rope skipping identification information is preset rope skipping identification information, analyzing a first preset field of the Bluetooth broadcast packet to obtain user information and corresponding rope skipping data.
In one example, the terminal further comprises a scanning module for automatically scanning the bluetooth broadcast packet before the start of the rope skipping movement.
In this embodiment, in order to further improve the efficiency of rope skipping data transmission, the bluetooth module of the terminal is turned on before the rope skipping movement starts, and the bluetooth module automatically scans the bluetooth broadcast packet.
In one example, the user information further comprises a user weight, and the terminal further comprises a calculation module for calculating the consumed energy according to the rope skipping times, the rope skipping time and the user weight. The user information also includes user age, user gender, user height, etc.
In this embodiment, in order to facilitate statistics of energy consumed by the user during rope skipping, the application program of the terminal further includes a calculation module, which performs calculation according to the rope skipping times, the rope skipping time and the user weight, and then stores the user information, the rope skipping times and the consumed energy correspondingly through the storage module.
In one example, the ranking module is to rank the user information further according to the number of rope skips and/or the energy expended.
In one example, the terminal further includes an allocation module for newly allocating the received rope skipping data to other users, and the calculation module recalculates the consumed energy according to the weight corresponding to the user.
In this embodiment, the receiving module, the parsing module, the sorting module, the storage module, the calculating module, and the allocating module may be different modules on an application program in the terminal, the application program is further provided with a starting module, and after the user opens the application program, the starting module in the application program starts a scanning module in the terminal, for example, the storage module in the terminal application program may store a user information table created by the user, the user information table includes a number, a name, a height, a weight, an age, and the like of the user, and the storage module also stores preset skipping rope identification information in advance, for example, a preset device name and a preset ID. The method comprises the steps that a user opens an application program before rope skipping, a starting module in the application program can check whether Bluetooth is opened or not, if the Bluetooth is not prompted to be opened by the user, the Bluetooth can be automatically opened by the starting module, after the Bluetooth is opened, the Bluetooth broadcast packet is automatically scanned and sent to the application program after the Bluetooth broadcast packet is received, a receiving module in the application program starts to receive the Bluetooth broadcast packet, after receiving, a complete local name field in the Bluetooth broadcast packet is analyzed by an analyzing module to obtain rope skipping identification information, whether the current rope skipping is a target rope skipping or not is determined, after the target rope skipping is determined, a manufacturer-defined field in the Bluetooth broadcast packet is analyzed to obtain user information and rope skipping data, the user information and the rope skipping data are stored by a storage module, energy consumed by the user is calculated by a calculating module, and sorting is performed by a sorting module.
In the embodiment, the terminal receives the bluetooth broadcast packet containing the skipping rope data sent by the skipping rope end and analyzes the bluetooth broadcast packet to obtain the skipping rope data, so that data transmission can be performed without the need of establishing a connection relation with a skipping rope after the bluetooth broadcast packet containing the skipping rope is received by a bluetooth module of the terminal, the process of skipping rope data transmission is simplified, and the stability of the data transmission process is improved as the bluetooth broadcast packet is not influenced by the stability of bluetooth connection; through the analysis of the skipping rope identification information in the Bluetooth broadcast packet, whether the skipping rope is a target skipping rope or not can be identified, and the accuracy of skipping rope data receiving is improved.
It should be noted that: in the terminal provided in the above embodiment, only the division of the above functional modules is used for illustration when a rope skipping movement is performed, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the terminal provided in the above embodiment and the embodiment of the rope skipping data receiving method provided in the first embodiment belong to the same concept, that is, the device is based on the method, and the specific implementation process thereof is described in detail in the method embodiment and is not described herein again.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A rope skipping data transmission method, characterized in that the method comprises:
responding to a data recording request of a user, and recording rope skipping data of the user;
and responding to a data sending request of a user, writing the rope skipping data into a Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to a terminal so that the terminal obtains the rope skipping data after receiving the Bluetooth broadcast packet.
2. The method of claim 1, wherein the step of writing the skipping data into a bluetooth broadcast packet comprises:
and writing the skipping rope data into a first preset field of the Bluetooth broadcast packet.
3. The method of claim 1, wherein the bluetooth broadcast packet further comprises user information, wherein the user information is collected after receiving an information input request from a user and currently input by the user;
the writing of the skipping rope data into the Bluetooth broadcast packet comprises:
writing the skipping rope data into a first preset field of the Bluetooth broadcast packet;
after writing the skipping rope data into the first preset field of the Bluetooth broadcast packet, the method further comprises the following steps:
and writing the user information into the first preset field, so that the terminal obtains the skipping rope data and the user information after receiving the Bluetooth broadcast packet.
4. The method of claim 3, wherein the Bluetooth broadcast packet further comprises skipping rope identification information stored inside a skipping rope;
after writing the user information into the first preset field, the method further includes:
and writing the skipping rope identification information into a second preset field of the Bluetooth broadcast packet so that the terminal obtains the skipping rope identification information, the user information and the corresponding skipping rope data.
5. A rope skipping data receiving method, characterized in that the method comprises:
receiving a Bluetooth broadcast packet containing skipping rope data sent by a skipping rope;
and analyzing the Bluetooth broadcast packet to obtain the rope skipping data.
6. The method of claim 5, wherein parsing the Bluetooth broadcast packet to obtain the skipping rope data comprises:
and analyzing a first preset field in the Bluetooth broadcast packet to obtain the rope skipping data.
7. The method of claim 5 or 6, wherein the Bluetooth broadcast packet further comprises user information, and wherein parsing the Bluetooth broadcast packet further comprises:
analyzing a first preset field of the Bluetooth broadcast packet to obtain the user information and corresponding rope skipping data;
and correspondingly storing the rope skipping data according to the user information.
8. The method of claim 7, wherein before parsing the first predetermined field of the bluetooth broadcast packet to obtain the user information and the corresponding skipping rope data, the method further comprises:
analyzing a second preset field of the Bluetooth broadcast packet to obtain skipping rope identification information;
and if the rope skipping identification information is preset rope skipping identification information, analyzing a first preset field of the Bluetooth broadcast packet to obtain the user information and corresponding rope skipping data.
9. A skipping rope, characterized in that said skipping rope comprises:
the recording module is used for responding to a data recording request of a user and recording rope skipping data of the user;
and the Bluetooth module is used for responding to a data sending request of a user, writing the rope skipping data into a Bluetooth broadcast packet, and broadcasting the Bluetooth broadcast packet to a terminal so that the terminal can obtain the rope skipping data after receiving the Bluetooth broadcast packet.
10. A terminal, characterized in that the terminal comprises:
the receiving module is used for receiving a Bluetooth broadcast packet containing rope skipping data sent by a skipping rope;
and the analysis module is used for analyzing the Bluetooth broadcast packet to obtain the rope skipping data.
CN202110275610.2A 2021-03-15 2021-03-15 Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal Pending CN112911569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110275610.2A CN112911569A (en) 2021-03-15 2021-03-15 Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110275610.2A CN112911569A (en) 2021-03-15 2021-03-15 Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal

Publications (1)

Publication Number Publication Date
CN112911569A true CN112911569A (en) 2021-06-04

Family

ID=76105723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110275610.2A Pending CN112911569A (en) 2021-03-15 2021-03-15 Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal

Country Status (1)

Country Link
CN (1) CN112911569A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114712836A (en) * 2022-03-30 2022-07-08 青岛海尔科技有限公司 Voice reminding method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510302A (en) * 2011-12-15 2012-06-20 重庆大学 Rope-skipping process data format set and transmission method for rope-skipping process data format set based on Bluetooth low power consumption technology
CN102571162A (en) * 2011-12-15 2012-07-11 重庆大学 Broadcasting-data-packet-based rope skipping process data transmission method
CN106993261A (en) * 2016-12-12 2017-07-28 建荣半导体(深圳)有限公司 A kind of low-power consumption bluetooth data communications method, equipment and system
CN107087252A (en) * 2017-05-25 2017-08-22 铂元智能科技(北京)有限公司 A kind of method that Bluetooth broadcast carries out data transmission
CN109348433A (en) * 2018-11-23 2019-02-15 深圳市椰壳信息科技有限公司 A kind of sensor information sharing method and system based on Bluetooth broadcast
CN111818492A (en) * 2020-05-20 2020-10-23 上海橙群微电子有限公司 Bluetooth beacon and data transmission method and readable storage medium thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510302A (en) * 2011-12-15 2012-06-20 重庆大学 Rope-skipping process data format set and transmission method for rope-skipping process data format set based on Bluetooth low power consumption technology
CN102571162A (en) * 2011-12-15 2012-07-11 重庆大学 Broadcasting-data-packet-based rope skipping process data transmission method
CN106993261A (en) * 2016-12-12 2017-07-28 建荣半导体(深圳)有限公司 A kind of low-power consumption bluetooth data communications method, equipment and system
CN107087252A (en) * 2017-05-25 2017-08-22 铂元智能科技(北京)有限公司 A kind of method that Bluetooth broadcast carries out data transmission
CN109348433A (en) * 2018-11-23 2019-02-15 深圳市椰壳信息科技有限公司 A kind of sensor information sharing method and system based on Bluetooth broadcast
CN111818492A (en) * 2020-05-20 2020-10-23 上海橙群微电子有限公司 Bluetooth beacon and data transmission method and readable storage medium thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114712836A (en) * 2022-03-30 2022-07-08 青岛海尔科技有限公司 Voice reminding method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
WO2018076181A1 (en) Fitness management terminal, server, method and system based on two-dimensional code
US20090298442A1 (en) Transmitter controlled communication links
CN1921317A (en) Information exchanging device
CN109769011B (en) Motion data processing method and device
CN109934512A (en) A kind of training method and system of prediction model
CN109876440B (en) Object display method and device, storage medium and electronic device
CN111899141A (en) Intelligent terminal for managing motion data
CN113382301B (en) Video processing method, storage medium and processor
CN107169150A (en) Picture method for pushing, mobile terminal and computer-readable medium
CN112911569A (en) Rope skipping data transmission method, rope skipping data receiving method, rope skipping and terminal
CN107395775A (en) A kind of multifunctinoal health measuring system and method based on arrowband Internet of Things
CN107580302A (en) The method and system of wechat small routine and Transfer Parameters is accessed using Wi Fi fad problems
CN109276872A (en) A kind of smart motion equipment
CN108052366A (en) Application icon display methods, terminal and storage medium
CN109446914A (en) The method, apparatus and intelligent wearable device of detection movement accuracy
CN107948924A (en) Calibration method, system, server and the medium of wireless signal finger print information
CN108295454A (en) A kind of wisdom body-building system and control method
CN114159718A (en) Intelligent yoga mat and control method thereof
CN110363036A (en) Barcode scanning method and device based on line control machine, scan code system
EP3786970A1 (en) Electronic device and method of processing exercise information by electronic device
CN106604410A (en) Method for realizing wireless self-organizing network building based on collision detection and competitive mode
CN106650698A (en) Data acquisition method and system based on intelligent platform
CN104778864A (en) Touch reading system with extensible content based on intelligent device and implementation method thereof
CN101264389A (en) Bluetooth virtual scene game control method
CN208065719U (en) A kind of wisdom body-building system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210604

RJ01 Rejection of invention patent application after publication