[go: up one dir, main page]

CN107004061B - Data transmission method and device and first equipment - Google Patents

Data transmission method and device and first equipment Download PDF

Info

Publication number
CN107004061B
CN107004061B CN201580068432.9A CN201580068432A CN107004061B CN 107004061 B CN107004061 B CN 107004061B CN 201580068432 A CN201580068432 A CN 201580068432A CN 107004061 B CN107004061 B CN 107004061B
Authority
CN
China
Prior art keywords
time period
data
frame
health data
logical page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201580068432.9A
Other languages
Chinese (zh)
Other versions
CN107004061A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107004061A publication Critical patent/CN107004061A/en
Application granted granted Critical
Publication of CN107004061B publication Critical patent/CN107004061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/30ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to physical therapies or activities, e.g. physiotherapy, acupressure or exercising
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Primary Health Care (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Public Health (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention discloses a method and a device for transmitting data and first equipment, relates to the technical field of information, and can improve the accuracy of analyzing exercise health data of a user. The method comprises the following steps: the first device firstly stores the exercise health data of the set time period detected by the first device according to a specific data storage structure, and then transmits at least part of the exercise health data of the set time period to the second device according to the data storage structure. The invention is suitable for storing, transmitting and correcting the exercise health data to obtain the exercise health data in a set time period.

Description

Data transmission method and device and first equipment
Technical Field
The present invention relates to the field of information technologies, and in particular, to a method and an apparatus for transmitting data, and a first device.
Background
With the rapid development of information technology, more and more electronic devices are applied to various fields of life, and wearable devices are produced. The wearable device can firstly acquire user exercise health data and store the user exercise health data according to fixed interval time, and then transmits the user exercise health data to a data server end through user devices such as mobile phones in a wireless transmission mode so as to realize storage and analysis of the user exercise health data.
However, when the wearable device stores the exercise health data of the user at fixed intervals, the wearable device needs to transmit the exercise health data of the user corresponding to each time period to the data server for storage and analysis through the mobile phone and other user devices in a wireless transmission manner, and due to the fact that the wireless transmission manner has a condition that a channel is unstable, part of data of the exercise health data of the user is lost in the transmission process, so that the calculated total amount of the exercise health data of the user is deviated, and the accuracy of analyzing the exercise health data of the user is low.
Disclosure of Invention
The invention provides a method and a device for transmitting data and first equipment, which can improve the accuracy of analyzing exercise health data of a user.
The technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for transmitting data, the method comprising:
the first device stores the exercise health data of a set time period detected by the first device according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, and each data frame records the exercise health data detected by the first time period, wherein the first time period is a time period corresponding to the accumulation of a previous data frame of the data frame after the starting time of the set time period and a set time interval;
and the first equipment transmits at least part of the exercise health data of the set time period to the second equipment according to the data storage structure.
With reference to the first aspect, in a first possible implementation manner of the first aspect, each logical page includes at least one data frame group, each data frame group includes a primary frame and at least one secondary frame, where the primary frame records motion health data detected in a second time period, the secondary frame records motion health data detected in a third time period, the second time period is a time period in which a start time of the set time period passes through a previous primary frame of the primary frame, the secondary frame, and the set time interval and corresponds to an accumulation, and the third time period is a time period in which an end time of the previous primary frame of the secondary frame or an end time of the secondary frame is a start time and passes through the set time interval.
With reference to the first possibility of the first aspect, in a second possible implementation manner of the first aspect, the set time interval is a time corresponding to one primary frame or one secondary frame.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the set time period is divided into at least one time zone, the logical pages are sequentially in one-to-one correspondence with the time zones, the time zones are recorded in timestamp fields of corresponding logical pages, and an accumulated time period of the timestamps is the set time period, so that the second device determines, according to the timestamps, the logical pages with the loss of the exercise health data.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
the first device receives a retransmission request message sent by the second device, wherein the content of the retransmission request message is null, and is used for representing that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries the field of the last logical page and is used for indicating the first equipment to retransmit the sports health data corresponding to the last logical page;
and the first equipment retransmits the exercise health data of the last logical page to the second equipment according to the indication of requesting to retransmit the message.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the transmitting, by the first device, the exercise health data of at least part of the set time period to the second device according to the data storage structure specifically includes:
the first equipment directly transmits the exercise health data of the set time period to the second equipment according to the data storage structure; or the first device stores the exercise health data of the set time period according to the data storage structure and then transmits the exercise health data to the second device.
In a second aspect, the present invention provides another method for transmitting data, the method comprising:
the second device receives the exercise health data sent by the first device according to a specific data storage structure, wherein the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, the main frame records the exercise health data detected in a first time period, and the auxiliary frame records the exercise health data detected in a second time period.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the logical page carries a timestamp, the timestamp records a start time of the exercise health data stored in the logical page, and each data frame group includes a main frame and at least one auxiliary frame; the method comprises the following steps:
the second equipment acquires the system time corresponding to the second equipment, the starting time corresponding to the timestamp in the last logical page and the sum of the number of main frames and auxiliary frames in the last logical page;
the second device judges whether a difference value between the system time corresponding to the second device and the starting time corresponding to the timestamp in the last logical page is equal to a product of the sum of the number of the main frames and the number of the auxiliary frames in the last logical page and the second time period;
and if the second device judges that the difference value between the system time corresponding to the second device and the starting time corresponding to the timestamp in the last logical page is not equal to the product of the sum of the number of the main frames and the number of the auxiliary frames in the last logical page and the second time period, the second device sends a request retransmission message to the first device, wherein the request retransmission message is used for representing the motion health data of the last logical page which is not received by the second device.
In a third aspect, the present invention provides an apparatus for transmitting data, where the apparatus for transmitting data is a first device, and the first device includes:
the storage control unit is used for storing the exercise health data of the set time period detected by the first equipment according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, and each data frame records the exercise health data detected by a first time period, wherein the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame after the starting time of the set time period passes and a set time interval;
and the transmission control unit controls the transmitter to transmit at least part of the exercise health data of the set time period to the second equipment according to the data storage structure.
With reference to the third aspect, in a first possible implementation manner of the third aspect, each logical page includes at least one data frame group, each data frame group includes a primary frame and at least one secondary frame, where the primary frame records the exercise health data detected in the second time period, and the secondary frame records the exercise health data detected in the third time period; the second time period is a time period corresponding to the accumulation of the starting time of the set time period passing through the previous main frame of the main frame, the auxiliary frame and the set time interval, and the third time period is a time period corresponding to the beginning time of the previous main frame of the auxiliary frame or the ending time of the auxiliary frame passing through the set time interval.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the set time interval is a time corresponding to one primary frame or one secondary frame.
With reference to the third aspect, the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the set time period is divided into at least one time zone, the logical pages are sequentially in one-to-one correspondence with the time zones, the time zones are recorded in timestamp fields of corresponding logical pages, and an accumulated time period of the timestamps is the set time period, so that the second device determines, according to the timestamps, the logical pages with the loss of the exercise health data.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the transmission control unit includes: the device comprises a receiving module and a sending module;
the receiving module is configured to receive a retransmission request message sent by the second device, where a content of the retransmission request message is null, and is used to represent that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries the field of the last logical page and is used for instructing the device to retransmit the sports health data corresponding to the last logical page;
the sending module is configured to resend the exercise health data of the last logical page to the second device according to the request retransmission message indication received by the receiving module.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, or the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, the apparatus directly transmits the exercise health data of the set time period to the second device according to the data storage structure; or the device stores the exercise health data of the set time period according to the data storage structure and then transmits the exercise health data to the second equipment.
In a fourth aspect, the present invention provides another apparatus for transmitting data, the apparatus comprising:
the receiving unit is used in the second device and used for receiving the exercise health data sent by the first device according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, the main frame records the exercise health data detected in a first time period, and the auxiliary frame records the exercise health data detected in a second time period.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the logical page carries a timestamp, the timestamp records a start time of the exercise health data stored in the logical page, and each data frame group includes a main frame and at least one auxiliary frame; the device comprises: the device comprises an acquisition unit, a judgment unit and a sending unit;
the acquiring unit is configured to acquire, in the second device, a total of a system time corresponding to the second device, a start time corresponding to a timestamp in the last logical page, and a number of main frames and auxiliary frames in the last logical page;
the judging unit is configured to judge, in the second device, whether a difference between the system time corresponding to the second device and the start time corresponding to the timestamp in the last logical page, which is obtained by the obtaining unit, is equal to a product between a sum of the numbers of the main frames and the auxiliary frames in the last logical page and the second time period;
the sending unit is configured to send, in the second device, a request retransmission message to the first device when the second device determines that a difference between a system time corresponding to the second device and a start time corresponding to a timestamp in the last logical page is not equal to a product between a sum of numbers of main frames and auxiliary frames in the last logical page and the second time period, where the request retransmission message is used to represent the motion health data of the last logical page that is not received by the second device.
In a fifth aspect, the present invention provides an apparatus for transmitting data, where the apparatus for transmitting data is a first apparatus, and the first apparatus includes: the system comprises a memory, a transmitter and a processor, wherein the processor is connected with the memory and the transmitter through a data bus;
the processor is configured to store, in the memory, the exercise health data of the set time period detected by the first device according to a specific data storage structure, where the specific data storage structure is divided into at least one logical page, each logical page includes at least one data frame, and each data frame records the exercise health data detected by a first time period, where the first time period is a time period corresponding to an accumulation of a previous data frame of the data frames after a start time of the set time period and a set time interval;
and the processor is used for transmitting at least part of the exercise health data of the set time period to a second device according to the data storage structure through the transmitter.
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, each logical page includes at least one data frame group, each data frame group includes a main frame and at least one auxiliary frame, where the main frame records motion health data detected in a second time period, the auxiliary frame records motion health data detected in a third time period, the second time period is a time period in which a start time of the set time period passes through a previous main frame of the main frame, the auxiliary frame and the set time interval and corresponds to an accumulation, and the third time period is a time period in which an end time of a previous main frame of the auxiliary frame or an end time of the auxiliary frame is a start time and passes through the set time interval.
With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the set time interval is a time corresponding to one primary frame or one secondary frame.
With reference to the fifth aspect, the first possible implementation manner of the fifth aspect, or the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the set time period is divided into at least one time zone, the logical pages sequentially correspond to the time zones in a one-to-one manner, the time zones are recorded in timestamp fields of corresponding logical pages, and an accumulated time period of the timestamps is the set time period, so that the second device determines, according to the timestamps, the logical pages with the loss of the exercise health data.
With reference to the fifth aspect, the first possible implementation manner of the fifth aspect, the second possible implementation manner of the fifth aspect, or the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the transmitter includes: a receiving device and a transmitting device;
the receiving device receives a retransmission request message sent by the second device, where the content of the retransmission request message is null, and is used to represent that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries the field of the last logical page and is used for indicating the first equipment to retransmit the sports health data corresponding to the last logical page;
the sending device resends the exercise health data of the last logical page to the second device according to the indication of the request retransmission message received by the receiving device.
With reference to the fifth aspect, the first possible implementation manner of the fifth aspect, the second possible implementation manner of the fifth aspect, the third possible implementation manner of the fifth aspect, or the fourth possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the processor further controls the transmitter to directly transmit the exercise health data of the set time period to the second device according to the data storage structure; or the processor controls the memory to store the exercise health data of the set time period according to the data storage structure, and further controls the transmitter to transmit the exercise health data to the second device.
In a sixth aspect, the present invention provides a second device, comprising:
the receiving device is used in the second device and receives the exercise health data sent by the first device according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, wherein the main frame records the exercise health data detected in a first time period, and the auxiliary frame records the exercise health data detected in a second time period.
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the logical page carries a timestamp, the timestamp records a start time of the sports health data stored in the logical page, and each data frame group includes a main frame and at least one auxiliary frame; the second device includes: a processor, a transmitter;
the processor is configured to obtain, in the second device, a system time corresponding to the second device, a start time corresponding to a timestamp in the last logical page, and a total number of main frames and auxiliary frames in the last logical page;
the processor is further configured to determine, in the second device, whether a difference between a system time corresponding to the second device and a start time corresponding to a timestamp in the last logical page is equal to a product between a sum of numbers of main frames and auxiliary frames in the last logical page and the second time period;
the transmitter is configured to send, in the second device, a request retransmission message to the first device when the second device determines that a difference between a system time corresponding to the second device and a start time corresponding to a timestamp in the last logical page is not equal to a product of a sum of numbers of main frames and auxiliary frames in the last logical page and the second time period, where the request retransmission message is used to represent the motion health data of the last logical page that is not received by the second device.
In a seventh aspect, the present invention provides a data storage structure, where the data storage structure is used for a first device to store exercise health data detected by the first device for a set time period, the data storage structure is divided into at least one logical page, each logical page includes at least one data frame, and each data frame records exercise health data detected by a first time period, where the first time period is a time period corresponding to a sum of a previous data frame of the data frames and a set time interval after a start time of the set time period.
With reference to the seventh aspect, in a first possible implementation manner of the seventh aspect, each logical page includes at least one data frame group, each data frame group includes a primary frame and at least one secondary frame, where the primary frame records motion health data detected in a second time period, the secondary frame records motion health data detected in a third time period, the second time period is a time period in which a start time of the set time period passes through a previous primary frame of the primary frame, the secondary frame, and the set time interval and corresponds to an accumulation, and the third time period is a time period in which an end time of a previous primary frame of the secondary frame or an end time of the secondary frame is a start time and passes through the set time interval.
With reference to the first possible implementation manner of the seventh aspect, in a second possible implementation manner of the seventh aspect, the set time interval is a time corresponding to one primary frame or one secondary frame.
The first device stores the exercise health data of the set time period detected by the first device according to a specific data storage structure, wherein the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected by the first time period, the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame after the starting time of the set time period and the set time interval, and then the exercise health data of at least part of the set time period is transmitted to the second device according to the data storage structure. Compared with the prior wearable device which stores the exercise health data according to the fixed interval time, the wearable device stores the exercise health data detected in the first time period through each data frame in the first device, can store the exercise health data of the time period corresponding to the accumulation of the starting time of the set time period passing through the previous data frame of the data frame and the set time interval in the data frame, namely the exercise health data detected in the preset time can be stored in the last data frame, and the exercise health data is transmitted to the second device, so that the second device can obtain the last data frame, namely all the exercise health data in the set time period can be obtained, and the accuracy of analyzing the exercise health data can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings used in the description of the present invention or the prior art will be briefly described 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 that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for transmitting data according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for transmitting data according to an embodiment of the present invention;
FIG. 3 illustrates an embodiment of a storage and transmission format for exercise health data;
FIG. 4 is a diagram illustrating the handling of a last logical page lost during transmission in an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus for transmitting data according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another apparatus for transmitting data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of data transmission according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a data transmission method, which can improve accuracy of analyzing exercise health data of a user, as shown in fig. 1, and the method includes:
101. the first device stores the exercise health data for the set time period detected by the first device according to a particular data storage structure.
The specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected in a first time period, and the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame and a set time interval after the initial time of the set time period.
For the embodiment of the present invention, the first device may be a wearable device, other storage devices, and the like, for example, the first device may be a smart band, a smart watch, smart glasses, and the like.
For the embodiments of the present invention, a logical page is a specific data storage structure, and the logical page includes: header and data portions. Wherein, the page head includes: logical number of logical page, data overflow, status of logical page, number of bytes of data frame, timestamp and reserved bit.
For the embodiment of the invention, the data frame is a protocol data unit of a data link layer, and the data frame comprises three parts: frame header, data section, frame trailer. The header and the trailer include necessary control information, such as synchronization information, address information, and error control information, and the data portion includes data passed down by the network layer. In the embodiment of the invention, the first device stores the exercise health data in the storage space corresponding to the intelligent device through the data frame. The storage space of the first device comprises a plurality of data frames.
For the embodiment of the invention, the exercise health data can be the number of steps of walking of the user in a period of time, the number of times of heartbeat in a period of time, the consumption of exercise calories in a period of time and the like.
For the embodiment of the present invention, the first time period may be preset and configured by the first device, or may be preset and configured by the user. The present invention is not limited to the embodiments.
102. The first device transmits the exercise health data for at least a portion of the set time period to the second device according to the data storage structure.
For the embodiment of the invention, the first device may be wearable devices such as a smart bracelet, a smart watch and smart glasses, and the wearable devices may be some devices with smaller storage space and smaller screen, and the wearable devices are inconvenient for the user to observe, so the wearable devices can send the exercise health data of the user to user devices such as a mobile phone, and the like, so that the user devices can conveniently observe, store and analyze.
For the embodiment of the invention, the first device may select to send the part of the exercise health data of the user stored by the first device to the second device, so that the second device analyzes the exercise health data of the user in a specific time period according to the part of the exercise health data transmitted by the first device.
According to the method for transmitting data provided by the embodiment of the invention, the first device firstly stores the exercise health data of the set time period detected by the first device according to the specific data storage structure, wherein the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected in the first time period, the first time period is a time period corresponding to the accumulation of the previous data frame of the start time of the set time period and the set time interval, and then the exercise health data of at least part of the set time period is transmitted to the second device according to the data storage structure. Compared with the prior wearable device which stores the exercise health data at fixed intervals, the embodiment of the invention stores the exercise health data detected in the first time period through each data frame in the first device, can store the exercise health data in the time period corresponding to the accumulation of the starting time of the set time period passing through the previous data frame of the data frame and the set time interval in the data frame, namely the exercise health data detected in the preset time can be stored in the last data frame, and the exercise health data is transmitted to the second device, so that the second device can obtain the last data frame, namely all the exercise health data in the set time period can be obtained, and the accuracy of analyzing the exercise health data can be further improved.
As a specific description of the method shown in fig. 1, another method for transmitting data is provided in the embodiment of the present invention, as shown in fig. 2, the method includes:
201. the first device stores the exercise health data for the set time period detected by the first device according to a particular data storage structure.
The specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected in a first time period, and the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame and a set time interval after the initial time of the set time period.
Each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, the main frame records the motion health data detected in a second time period, the auxiliary frame records the motion health data detected in a third time period, the second time period is a time period corresponding to the accumulation of the starting time of a set time period passing through the previous main frame, the auxiliary frame and a set time interval of the main frame, and the third time period is a time period corresponding to the starting time of the previous main frame or the ending time of the auxiliary frame passing through the set time interval. In the embodiment of the invention, the time interval is set as the time corresponding to one main frame or one auxiliary frame.
The time zone is recorded in a timestamp field of the corresponding logical page, and the accumulated time period of the timestamp is the set time period, so that the second equipment determines the logical page with lost exercise health data according to the timestamp.
For the embodiment of the present invention, the first device may be a wearable device, other storage devices, and the like, for example, the first device may be a smart band, a smart watch, smart glasses, and the like.
For the embodiment of the present invention, the first device may configure the corresponding storage byte for the logical page. For example, each logical page may occupy 1024 bytes, and if the storage space of the first device is 1 mbyte, the storage space corresponding to the first device may be divided into 1024 logical pages.
For the embodiments of the present invention, a logical page is a specific data storage structure, and the logical page includes: header and data portions. Wherein, the page head includes: logical number of logical page, data overflow, status of logical page, number of bytes of data frame, timestamp and reserved bit.
For the embodiment of the invention, the data frame is a protocol data unit of a data link layer, and the data frame comprises three parts: frame header, data section, frame trailer. The header and the trailer include necessary control information, such as synchronization information, address information, and error control information, and the data portion includes data passed down by the network layer. In the embodiment of the invention, the first device stores the exercise health data in the storage space corresponding to the intelligent device through the data frame. The storage space of the first device comprises a plurality of data frames.
For the embodiment of the present invention, the data frame in the storage space corresponding to the first device may be divided into a motion state and a sleep state, and the first device may configure the corresponding storage space for the primary frame and the secondary frame. For example, a data frame group includes a main frame and an auxiliary frame, one main frame may occupy 75 bits (bit) of storage space, one auxiliary frame may occupy 53 bits of storage space, and if a logical page occupies 1024 bytes, one logical page may contain 63 groups of data frames, as shown in fig. 3.
For the embodiment of the invention, the first device can predict the exercise health data which can be stored in the first device in a certain time period according to the exercise capacity of the user in the time period, and configure storage spaces for the main frame and the auxiliary frame. For example, the maximum value of the calorie consumption in one day when the user exercises is 33554431 cards, and the occupied storage space is 25 bits; the maximum value of the number of the steps of the user in one day is 131071 steps, and the occupied storage space is 17 bit; the maximum moving distance of the user in one day is 524287 m, and the occupied storage space is 19 bit; the number of floors that a user can climb within one day is 16383 floors, and the occupied storage space is 14 bit; the maximum value of the number of rope skipping of the user in one day is 32767, and the occupied storage space is 15bit, as shown in the table I.
Watch 1
Figure GPA0000229177440000141
Figure GPA0000229177440000151
For the embodiment of the present invention, if each data frame group includes a primary frame and a secondary frame, the primary frame records the exercise health data stored in the time period corresponding to the beginning time of the set time period passing through the previous primary frame, the secondary frame and the set time interval of the primary frame, and the secondary frame records the exercise health data stored in the time period corresponding to the beginning time of the previous primary frame or the ending time of the secondary frame passing through the set time interval. For example, if the set time interval is one minute, the exercise health data included in the main frame portion in the mth data frame group is 00: 00 to 10: 00, 10 included in the secondary frame portion corresponding to the primary frame portion: 00 to 10: 01, the motion health data contained in the main frame part of the (M + 1) th data frame group is 00: 00 to 10: 02, the secondary frame portion corresponding to the primary frame portion comprises 10: 02 to 10: 03 acquired exercise health data.
202. The first device directly transmits the exercise health data of the set time period to the second device according to the data storage structure.
Optionally, the first device stores the exercise health data for a set time period according to the data storage structure and then transmits the exercise health data to the second device.
For the embodiment of the invention, the intelligent device can be an intelligent device which can be stored and analyzed, such as a smart phone, a tablet, a computer and the like.
For the embodiment of the invention, the first device stores the exercise health data according to the specific storage structure, namely the storage structure of the logical page stores the exercise health data, and transmits the exercise health data according to the data structure of the logical page, so that format conversion can be avoided before the exercise health data is transmitted, namely the storage structure is prevented from being converted into the transmission structure, and the complexity of transmitting the exercise health data can be further reduced.
For the embodiment of the invention, the first device transmits at least part of the exercise health data in the set time period to the second device, so that the second device can receive and store the exercise health data in the optional time period, the second device can analyze the exercise health data in the optional time period, and the flexibility of analyzing the exercise health data can be further improved.
203. The first device receives a retransmission request message sent by the second device.
The retransmission request message is empty and is used for representing that the second device does not receive the exercise health data corresponding to the last logical page, or the retransmission request message carries a field of the last logical page and is used for indicating the first device to retransmit the exercise health data corresponding to the last logical page.
For the embodiment of the invention, the first equipment sends the exercise health data to the second equipment in a wireless transmission mode. In the embodiment of the present invention, the WIreless transmission mode may be a bluetooth transmission mode, a WIreless Fidelity (WI-FI) transmission mode, and the like.
For the embodiment of the present invention, since the wireless transmission channel is a weak channel and some radio bands will interfere with the transmitted signal, part of the exercise health data will be lost in the process of sending the exercise health data to the second device by the first device through wireless transmission, that is, the user device may not receive the complete exercise health data.
For the embodiment of the present invention, after receiving the exercise health data sent by the first device, the second device determines whether the exercise health data of the last logical page sent by the first device is lost in the transmission process. Specifically, if the first device sends the exercise health data of a set time period to the second device, the second device obtains the sum of the received time stamp of the last logical page and the number of the main frames and the number of the auxiliary frames of the last logical page, and the product of the sum of the number of the main frames and the number of the auxiliary frames of the last logical page and the third time period, and if the difference value between the sum of the time stamp of the last logical page and the time stamp of the last logical page is equal to the set time period, the last logical page is not lost in the transmission process; if the first device sends all the stored exercise health data to the second device, the second device obtains the current corresponding system time of the second device, the timestamp carried on the last logical page received by the second device, and the sum of the number of the main frames and the number of the auxiliary frames in the last logical page. Specifically, if the difference between the current system time corresponding to the second device and the time corresponding to the timestamp carried in the last logical page received by the second device is not equal to the product of the sum of the number of the main frames and the number of the auxiliary frames in the last logical page received by the second device and the third time period, the last logical page is lost in the transmission process, that is, a retransmission request message is sent to the first device, and the retransmission request message carries a last logical page field, as shown in fig. 4.
204. The first device resends the athletic health data of the last logical page to the second device as indicated by the request to retransmit the message.
For the embodiment of the invention, when the first device receives the message requesting retransmission sent by the second device to the first device, the first device can enable the second device to obtain all exercise health data stored in the set time period by resending the exercise health data of the last logical page to the second device, so that the exercise health data of the user can be accurately analyzed, and the accuracy of analyzing the exercise health data can be further improved.
According to the method for transmitting data provided by the embodiment of the invention, the first device firstly stores the exercise health data of the set time period detected by the first device according to the specific data storage structure, wherein the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected in the first time period, the first time period is a time period corresponding to the accumulation of the previous data frame of the start time of the set time period and the set time interval, and then the exercise health data of at least part of the set time period is transmitted to the second device according to the data storage structure. Compared with the prior wearable device which stores the exercise health data at fixed intervals, the embodiment of the invention stores the exercise health data detected in the first time period through each data frame in the first device, can store the exercise health data in the time period corresponding to the accumulation of the starting time of the set time period passing through the previous data frame of the data frame and the set time interval in the data frame, namely the exercise health data detected in the preset time can be stored in the last data frame, and the exercise health data is transmitted to the second device, so that the second device can obtain the last data frame, namely all the exercise health data in the set time period can be obtained, and the accuracy of analyzing the exercise health data can be further improved.
Further, according to the method for transmitting data provided by the embodiment of the present invention, the first device stores the exercise health data according to the specific storage structure, that is, the exercise health data is stored in the storage structure of the logical page, and the exercise health data is transmitted according to the data structure of the logical page, so that format conversion before the exercise health data is transmitted can be avoided, that is, the storage structure can be prevented from being converted into the transmission structure, and further the complexity of transmitting the exercise health data can be reduced; the first equipment transmits at least part of the exercise health data with the set time period to the second equipment, so that the second equipment can receive and store the exercise health data with the optional time period, the second equipment can analyze the exercise health data with the optional time period, and the flexibility of analyzing the exercise health data can be improved; when the first device receives the message requesting retransmission sent by the second device to the first device, the first device can enable the second device to obtain all exercise health data stored in the set time period by resending the exercise health data of the last logical page to the second device, so that the exercise health data of the user can be accurately analyzed, and the accuracy of analyzing the exercise health data can be further improved.
Further, as an implementation of the method shown in fig. 1 and fig. 2, an embodiment of the present invention further provides an apparatus for transmitting data, where the apparatus may be located in a first device, and is configured to improve accuracy of analyzing exercise health data, as shown in fig. 5, where the apparatus includes: a storage control unit 51 and a transmission control unit 52.
And a storage control unit 51 for storing the exercise health data of the set time period detected by the first device according to a specific data storage structure.
The specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected in a first time period, and the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame and a set time interval after the initial time of the set time period.
Each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, the main frame records the exercise health data detected in the second time period, and the auxiliary frame records the exercise health data detected in the third time period; the second time period is a time period corresponding to the accumulation of the starting time of the set time period passing through the previous main frame of the main frame, the auxiliary frame and the set time interval, and the third time period is a time period corresponding to the beginning time of the previous main frame of the auxiliary frame or the ending time of the auxiliary frame passing through the set time interval.
Wherein, the set time interval is the time corresponding to a main frame or an auxiliary frame.
The time zone is recorded in a timestamp field of the corresponding logical page, and the accumulated time period of the timestamp is the set time period, so that the second equipment determines the logical page with lost exercise health data according to the timestamp.
And a transmission control unit 52 for controlling the transmitter to transmit at least part of the exercise health data of the set time period to the second device according to the data storage structure.
Further, as shown in fig. 6, the transmission control unit 52 further includes: a receiving module 521 and a transmitting module 522.
A receiving module 521, configured to receive a retransmission request message sent by the second device.
Wherein, the content of the request retransmission message is null, which is used to represent that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries a last logical page field for instructing the device to retransmit the exercise health data corresponding to the last logical page.
A sending module 522, configured to resend the exercise health data of the last logical page to the second device according to the indication of the request retransmission message received by the receiving module 521.
The device directly transmits exercise health data of a set time period to second equipment according to the data storage structure; or the device stores the exercise health data of the set time period according to the data storage structure and then transmits the exercise health data to the second equipment.
Wherein the apparatus is a first device.
According to the apparatus for transmitting data provided by the embodiment of the present invention, a first device first stores exercise health data of a set time period detected by the first device according to a specific data storage structure, wherein the specific data storage structure is divided into at least one logical page, each logical page includes at least one data frame, each data frame records exercise health data detected in a first time period, the first time period is a time period corresponding to an accumulation of a previous data frame of a start time of the set time period through the data frame and a set time interval, and then transmits at least part of the exercise health data of the set time period to a second device according to the data storage structure. Compared with the prior wearable device which stores the exercise health data at fixed intervals, the embodiment of the invention stores the exercise health data detected in the first time period through each data frame in the first device, can store the exercise health data in the time period corresponding to the accumulation of the starting time of the set time period passing through the previous data frame of the data frame and the set time interval in the data frame, namely the exercise health data detected in the preset time can be stored in the last data frame, and the exercise health data is transmitted to the second device, so that the second device can obtain the last data frame, namely all the exercise health data in the set time period can be obtained, and the accuracy of analyzing the exercise health data can be further improved.
Further, according to the apparatus for transmitting data provided in the embodiment of the present invention, the first device stores the exercise health data according to the specific storage structure, that is, the storage structure of the logical page stores the exercise health data, and transmits the exercise health data according to the data structure of the logical page, so that format conversion can be avoided before transmitting the exercise health data, that is, conversion from the storage structure to the transmission structure can be avoided, and further the complexity of transmitting the exercise health data can be reduced; the first equipment transmits at least part of the exercise health data with the set time period to the second equipment, so that the second equipment can receive and store the exercise health data with the optional time period, the second equipment can analyze the exercise health data with the optional time period, and the flexibility of analyzing the exercise health data can be improved; when the first device receives the message requesting retransmission sent by the second device to the first device, the first device can enable the second device to obtain all exercise health data stored in the set time period by resending the exercise health data of the last logical page to the second device, so that the exercise health data of the user can be accurately analyzed, and the accuracy of analyzing the exercise health data can be further improved.
It should be noted that, in the apparatus for transmitting data provided in the embodiment of the present invention, other corresponding descriptions corresponding to each unit may refer to the corresponding descriptions in fig. 1 and fig. 2, and are not described herein again.
Still further, an embodiment of the present invention further provides a device for transmitting data, as shown in fig. 7, where the device for transmitting data is a first device, and the first device includes: a memory 71, a transmitter 72 and a processor 73, wherein the processor 73 is connected to the memory 71 and the transmitter 72 via a data bus.
A processor 73 for storing the exercise health data for the set time period detected by the first device in the memory 71 according to a specific data storage structure.
The specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected in a first time period, and the first time period is a time period corresponding to the accumulation of a previous data frame of the data frame and a set time interval after the initial time of the set time period.
Each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, the main frame records the motion health data detected in a second time period, the auxiliary frame records the motion health data detected in a third time period, the second time period is a time period corresponding to the accumulation of the starting time of a set time period passing through the previous main frame, the auxiliary frame and a set time interval of the main frame, and the third time period is a time period corresponding to the starting time of the previous main frame or the ending time of the auxiliary frame passing through the set time interval.
Wherein, the set time interval is the time corresponding to a main frame or an auxiliary frame.
The time zone is recorded in a timestamp field of the corresponding logical page, and the accumulated time period of the timestamp is the set time period, so that the second equipment determines the logical page with lost exercise health data according to the timestamp.
A processor 73 for transmitting the exercise health data for at least a portion of the set time period to the second device via the transmitter 72 in accordance with the data storage structure.
Further, the transmitter 72 includes: a receiving means 721 and a transmitting means 722.
The receiving device 721 receives the retransmission request message sent by the second device.
Wherein, the content of the request retransmission message is null, which is used to represent that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries a last logical page field for instructing the first device to retransmit the exercise health data corresponding to the last logical page.
The sending device 722 resends the exercise health data of the last logical page to the second device according to the indication of the request retransmission message received by the receiving device 721.
The processor 73 further controls the transmitter 72 to directly transmit the exercise health data of the set time period to the second device according to the data storage structure; or,
the processor 73 controls the memory 71 to store the exercise health data for a set period of time according to the data storage structure, and further controls the transmitter 72 to transmit the exercise health data to the second device.
According to the first device provided by the embodiment of the invention, the first device firstly stores the exercise health data of the set time period detected by the first device according to the specific data storage structure, wherein the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected by the first time period, the first time period is a time period corresponding to the accumulation of the previous data frame of the starting time of the set time period passing the data frame and the set time interval, and then the exercise health data of at least part of the set time period is transmitted to the second device according to the data storage structure. Compared with the prior wearable device which stores the exercise health data at fixed intervals, the embodiment of the invention stores the exercise health data detected in the first time period through each data frame in the first device, can store the exercise health data in the time period corresponding to the accumulation of the starting time of the set time period passing through the previous data frame of the data frame and the set time interval in the data frame, namely the exercise health data detected in the preset time can be stored in the last data frame, and the exercise health data is transmitted to the second device, so that the second device can obtain the last data frame, namely all the exercise health data in the set time period can be obtained, and the accuracy of analyzing the exercise health data can be further improved.
Further, according to the first device provided by the embodiment of the present invention, the first device stores the exercise health data according to a specific storage structure, that is, the exercise health data is stored in the storage structure of the logical page, and the exercise health data is transmitted according to the data structure of the logical page, so that format conversion before transmission of the exercise health data can be avoided, that is, conversion from the storage structure to the transmission structure can be avoided, and further, the complexity of transmitting the exercise health data can be reduced; the first equipment transmits at least part of the exercise health data with the set time period to the second equipment, so that the second equipment can receive and store the exercise health data with the optional time period, the second equipment can analyze the exercise health data with the optional time period, and the flexibility of analyzing the exercise health data can be improved; when the first device receives the message requesting retransmission sent by the second device to the first device, the first device can enable the second device to obtain all exercise health data stored in the set time period by resending the exercise health data of the last logical page to the second device, so that the exercise health data of the user can be accurately analyzed, and the accuracy of analyzing the exercise health data can be further improved.
The apparatus for transmitting data provided in the embodiments of the present invention can implement the method embodiments provided above, and for specific function implementation, reference is made to the description in the method embodiments, which is not repeated herein. The method and the device for transmitting data provided by the embodiment of the invention can be suitable for storing, transmitting and correcting the exercise health data to obtain the exercise health data in a set time period, but are not limited to the method and the device.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (17)

1. A method of transmitting data, the method comprising:
the method comprises the steps that a first device stores exercise health data of a set time period detected by the first device according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected by the first time period, and the first time period is a time period corresponding to the accumulation of a previous data frame of the data frames after the starting time of the set time period and a set time interval;
the first device transmits at least part of the exercise health data of the set time period to the second device according to the data storage structure;
each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, wherein the main frame records the sports health data detected in a second time period, the auxiliary frame records the sports health data detected in a third time period, the second time period is a time period corresponding to the accumulation of the starting time of the set time period passing through the previous main frame, the auxiliary frame and the set time interval of the main frame, and the third time period is a time period corresponding to the starting time of the previous main frame or the ending time of the auxiliary frame passing through the set time interval.
2. The method according to claim 1, wherein the set time interval is a time corresponding to one of the primary frame and the secondary frame.
3. The method for transmitting data according to any one of claims 1 to 2, wherein the set time period is divided into at least one time zone, the logical pages are sequentially in one-to-one correspondence with the time zone, the time zone is recorded in a timestamp field of the corresponding logical page, and an accumulated time period of the timestamp is the set time period, so that the second device determines the logical page with the lost sports health data according to the timestamp.
4. The method of transmitting data according to any one of claims 1-2, wherein the method further comprises:
the first device receives a retransmission request message sent by the second device, wherein the content of the retransmission request message is null, and is used for representing that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries the field of the last logical page and is used for indicating the first equipment to retransmit the sports health data corresponding to the last logical page;
and the first equipment retransmits the exercise health data of the last logical page to the second equipment according to the indication of requesting to retransmit the message.
5. The method for transmitting data according to any one of claims 1-2, wherein the first device transmits at least a portion of the exercise health data for the set time period to the second device according to the data storage structure, and specifically comprises: the first equipment directly transmits the exercise health data of the set time period to the second equipment according to the data storage structure; or the first device stores the exercise health data of the set time period according to the data storage structure and then transmits the exercise health data to the second device.
6. An apparatus for transmitting data, the apparatus for transmitting data being a first device, the first device comprising:
the storage control unit is used for storing the exercise health data of the set time period detected by the first equipment according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, and each data frame records the exercise health data detected by a first time period, wherein the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame after the starting time of the set time period passes and a set time interval;
the transmission control unit controls the transmitter to transmit at least part of the exercise health data of the set time period to the second equipment according to the data storage structure;
each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, wherein the main frame records the exercise health data detected in the second time period, and the auxiliary frame records the exercise health data detected in the third time period; the second time period is a time period corresponding to the accumulation of the starting time of the set time period passing through the previous main frame of the main frame, the auxiliary frame and the set time interval, and the third time period is a time period corresponding to the beginning time of the previous main frame of the auxiliary frame or the ending time of the auxiliary frame passing through the set time interval.
7. The apparatus for transmitting data according to claim 6, wherein the set time interval is a time corresponding to one of the primary frame and the secondary frame.
8. The apparatus according to any one of claims 6 to 7, wherein the set time period is divided into at least one time zone, the logical pages are sequentially in one-to-one correspondence with the time zone, the time zone is recorded in a timestamp field of the corresponding logical page, and an accumulated time period of the timestamp is the set time period, so that the second device determines the logical page with the lost sports health data according to the timestamp.
9. The apparatus for transmitting data according to any one of claims 6 to 7, wherein the transmission control unit comprises: the device comprises a receiving module and a sending module;
the receiving module is configured to receive a retransmission request message sent by the second device, where a content of the retransmission request message is null, and is used to represent that the second device does not receive the exercise health data corresponding to the last logical page, or,
the request retransmission message carries the field of the last logical page and is used for instructing the device to retransmit the sports health data corresponding to the last logical page;
the sending module is configured to resend the exercise health data of the last logical page to the second device according to the request retransmission message indication received by the receiving module.
10. The apparatus for transmitting data according to any one of claims 6 to 7, wherein the apparatus directly transmits the exercise health data of the set time period to the second device according to the data storage structure; or the device stores the exercise health data of the set time period according to the data storage structure and then transmits the exercise health data to the second equipment.
11. An apparatus for transmitting data, wherein the apparatus for transmitting data is a first apparatus, and the first apparatus comprises: the system comprises a memory, a transmitter and a processor, wherein the processor is connected with the memory and the transmitter through a data bus;
the processor stores the exercise health data of the set time period detected by the first device in the memory according to a specific data storage structure, the specific data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected by a first time period, and the first time period is a time period corresponding to the accumulation of the previous data frame of the data frame and the set time interval after the starting time of the set time period;
the processor transmits at least part of the exercise health data of the set time period to a second device according to the data storage structure through the transmitter;
each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, wherein the main frame records the sports health data detected in a second time period, the auxiliary frame records the sports health data detected in a third time period, the second time period is a time period corresponding to the accumulation of the starting time of the set time period passing through the previous main frame, the auxiliary frame and the set time interval of the main frame, and the third time period is a time period corresponding to the starting time of the previous main frame or the ending time of the auxiliary frame passing through the set time interval.
12. The apparatus of claim 11, wherein the set time interval is a time corresponding to one of the primary frame and the secondary frame.
13. The device according to any one of claims 11 to 12, wherein the set time period is divided into at least one time zone, the logical pages are sequentially in one-to-one correspondence with the time zone, the time zone is recorded in a timestamp field of the corresponding logical page, and an accumulated time period of the timestamp is the set time period, so that the second device determines the logical page with the lost sports health data according to the timestamp.
14. The apparatus according to any one of claims 11-12, wherein the transmitter comprises: a receiving device and a transmitting device;
the receiving device is configured to receive a retransmission request message sent by the second device, where the retransmission request message is null and is used to represent the exercise health data of the last logical page that is not received by the second device, or the retransmission request message carries the field of the last logical page and is used to instruct the first device to retransmit the exercise health data corresponding to the last logical page;
the sending device is configured to resend the exercise health data of the last logical page to the second device according to the indication of the request for retransmission message received by the receiving device.
15. The device of any of claims 11-12, wherein the processor further controls the transmitter to transmit the athletic health data for the set period of time directly to the second device based on the data storage structure; or the processor controls the memory to store the exercise health data of the set time period according to the data storage structure, and further controls the transmitter to transmit the exercise health data to the second device.
16. A data storage structure is used for a first device to store exercise health data of a set time period detected by the first device, the data storage structure is divided into at least one logical page, each logical page comprises at least one data frame, each data frame records the exercise health data detected by the first time period, and the first time period is a time period corresponding to the accumulation of the starting time of the set time period, the previous data frame of the data frame and the set time interval;
each logical page comprises at least one data frame group, each data frame group comprises a main frame and at least one auxiliary frame, wherein the main frame records the sports health data detected in a second time period, the auxiliary frame records the sports health data detected in a third time period, the second time period is a time period corresponding to the accumulation of the starting time of the set time period passing through the previous main frame, the auxiliary frame and the set time interval of the main frame, and the third time period is a time period corresponding to the starting time of the previous main frame or the ending time of the auxiliary frame passing through the set time interval.
17. The data storage structure of claim 16, wherein the set time interval is a time corresponding to one of the primary frame and the secondary frame.
CN201580068432.9A 2015-02-11 2015-02-11 Data transmission method and device and first equipment Active CN107004061B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/072752 WO2016127336A1 (en) 2015-02-11 2015-02-11 Data transmission method and apparatus, and first device

Publications (2)

Publication Number Publication Date
CN107004061A CN107004061A (en) 2017-08-01
CN107004061B true CN107004061B (en) 2020-09-08

Family

ID=56614263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580068432.9A Active CN107004061B (en) 2015-02-11 2015-02-11 Data transmission method and device and first equipment

Country Status (5)

Country Link
US (1) US10581558B2 (en)
EP (1) EP3249608B1 (en)
JP (1) JP6514348B2 (en)
CN (1) CN107004061B (en)
WO (1) WO2016127336A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006920A1 (en) * 2007-06-26 2009-01-01 Michelle Christine Munson Bulk data transfer
US20110098928A1 (en) * 2009-09-04 2011-04-28 Nike, Inc. Monitoring and Tracking Athletic Activity
CN103027752A (en) * 2012-10-20 2013-04-10 深圳市好家庭实业有限公司 Health and exercise supervisory system and method thereof
CN103959293A (en) * 2011-11-28 2014-07-30 皇家飞利浦有限公司 Health monitoring system for calculating a total risk score

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003213123A1 (en) * 2002-02-19 2003-09-09 Lexicor Medical Technology, Inc. Systems and methods for managing biological data and providing data interpretation tools
CN1224932C (en) 2002-10-14 2005-10-26 联想(北京)有限公司 Intelligent exerciser for analog sport field
JP4093174B2 (en) * 2003-11-06 2008-06-04 沖電気工業株式会社 Receiving apparatus and method
JP4494051B2 (en) * 2004-03-19 2010-06-30 日本電信電話株式会社 Biological information measuring device and biological information measuring method
JP2005295342A (en) * 2004-04-01 2005-10-20 Sharp Corp Radio communication equipment and radio communicating method
EP1872290A4 (en) 2005-02-28 2009-08-26 Michael Rothman A system and method for improving hospital patient care by providing a continual measurement of health
JP2008276581A (en) * 2007-04-27 2008-11-13 Sogo Keikaku Kogyo Kk Pedometer and step count management system
JP2010165320A (en) * 2009-01-19 2010-07-29 Konami Sports & Life Co Ltd Exercise data management system
CN101515371B (en) 2009-03-26 2011-01-19 浙江大学 Fragment Extraction Method of Human Movement Data
US8105208B2 (en) 2009-05-18 2012-01-31 Adidas Ag Portable fitness monitoring systems with displays and applications thereof
US20110078572A1 (en) * 2009-09-30 2011-03-31 Rovi Technologies Corporation Systems and methods for analyzing clickstream data
CN101879066A (en) * 2010-03-08 2010-11-10 北京英福生科技有限公司 Motion monitoring instrument and method for monitoring and transmitting motion health data
EP4378378A3 (en) * 2011-12-15 2024-08-21 Becton, Dickinson and Company System for improved interpretation of physiological data and presentation of physiological condition management information
US20150018660A1 (en) 2013-07-11 2015-01-15 Alivecor, Inc. Apparatus for Coupling to Computing Devices and Measuring Physiological Data
JP6375621B2 (en) * 2013-12-25 2018-08-22 セイコーエプソン株式会社 Biological information measuring device, information processing device, and biological information measuring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006920A1 (en) * 2007-06-26 2009-01-01 Michelle Christine Munson Bulk data transfer
US20110098928A1 (en) * 2009-09-04 2011-04-28 Nike, Inc. Monitoring and Tracking Athletic Activity
CN103959293A (en) * 2011-11-28 2014-07-30 皇家飞利浦有限公司 Health monitoring system for calculating a total risk score
CN103027752A (en) * 2012-10-20 2013-04-10 深圳市好家庭实业有限公司 Health and exercise supervisory system and method thereof

Also Published As

Publication number Publication date
US20180026753A1 (en) 2018-01-25
EP3249608A1 (en) 2017-11-29
WO2016127336A1 (en) 2016-08-18
JP6514348B2 (en) 2019-05-15
CN107004061A (en) 2017-08-01
US10581558B2 (en) 2020-03-03
EP3249608A4 (en) 2018-02-28
EP3249608B1 (en) 2024-08-21
JP2018511965A (en) 2018-04-26

Similar Documents

Publication Publication Date Title
US9538465B2 (en) Sensor node and gateway mutually communicating in wireless sensor network
CN113573256A (en) Information feedback and resource scheduling method, terminal and network equipment
CN111181709B (en) Information transmission method and terminal
CN106717091A (en) System and method for communicating resource allocation for D2D
US9485776B2 (en) Method for operating multi-type beacons
FI3681079T3 (en) Data transmission method and reception method for wireless communication system and device using same
CN111435901A (en) Hybrid automatic repeat request acknowledgement feedback method, terminal and network equipment
RU2012104689A (en) TRANSMISSION OF SYSTEM INFORMATION ON A JOINT USE DOWNLINE CHANNEL
EP2023575B1 (en) Transmission device, transmission method, system lsi, and computer program product for selecting a transmission rate with the highest effective value
EP2296399A1 (en) Base station and communication method
US12192884B2 (en) Information transmission method and terminal device
US20210243781A1 (en) Method and apparatus for flexible transmission on unlicensed spectrum
CN106537959B (en) Method for encoding and decoding frames in a telecommunication network
CN110855401A (en) HARQ feedback method and device
CN112543502B (en) Communication synchronization method, device, apparatus and storage medium
US20210219308A1 (en) Electronic device, method for wireless communication system and storage medium
CN112823482B (en) Hybrid automatic repeat request feedback method, device and communication equipment
CN113727445A (en) Side link resource processing method, resource determining method and related equipment
CN106817773A (en) Scheduling of user terminals method and device
CN107004061B (en) Data transmission method and device and first equipment
JP2021057776A5 (en)
CN111835479B (en) Information transmission and receiving method, terminal and network side equipment
CN113225162A (en) Channel State Information (CSI) reporting method, terminal and computer readable storage medium
CN111083646A (en) Method and system for transmitting physical sign data with low power consumption
CN114070525B (en) Transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant