CN104980253B - The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data - Google Patents

The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data Download PDF

Info

Publication number
CN104980253B
CN104980253B CN201510281902.1A CN201510281902A CN104980253B CN 104980253 B CN104980253 B CN 104980253B CN 201510281902 A CN201510281902 A CN 201510281902A CN 104980253 B CN104980253 B CN 104980253B
Authority
CN
China
Prior art keywords
data
frame
time counting
frame losing
label
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
CN201510281902.1A
Other languages
Chinese (zh)
Other versions
CN104980253A (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.)
Nanjing Keliwei Electronic Equipment Co Ltd
Original Assignee
Nanjing Keliwei Electronic Equipment 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 Nanjing Keliwei Electronic Equipment Co Ltd filed Critical Nanjing Keliwei Electronic Equipment Co Ltd
Priority to CN201510281902.1A priority Critical patent/CN104980253B/en
Publication of CN104980253A publication Critical patent/CN104980253A/en
Application granted granted Critical
Publication of CN104980253B publication Critical patent/CN104980253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location

Abstract

The invention discloses a kind of anti-frame losing radio transmitting methods of the forward direction for real-time Transmission Wave data.It is mainly used for transmission measurement and obtains the Wave data of vital sign parameter signals consecutive quantized, such as ecg measurement waveform, blood pressure pressure waves measurement waveform, pulse volume wave measurement waveform, respiratory wave measured waveform and brain wave measured waveform.Wave data is grouped to and is introduced time counting label, is transmitted again after being interleaved.Pass through time counting label and front and back frame Wave data in receiving terminal.The anti-frame losing transmission of waveform signal can be realized by way of interpolation.By means of the invention it is also possible to realize measured waveform real-time Transmission with rudimentary complexity, it is not necessarily to additional protocol integrated test system.Simple, the highly reliable feature with realization.Present invention is particularly suitable for wearable health care settings and it is based on low-power consumption bluetooth, the wireless transmitting system of ZigBee.

Description

The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data
Technical field
The present invention relates to the data transmission technologies in wireless communication system, and in particular to one kind being used for life sign measurement wave The anti-frame losing radio transmitting method of forward direction of graphic data, belongs to the communications field.
Background technology
With wearable device development and technology of Internet of things it is universal, the transmission of wireless data has more and more Demand.At this stage, mainly there is the transport protocol of low-power consumption for the wireless transmission protocol of wearable device and Internet of Things, it is such as low Power consumption bluetooth (BLE), 802.15.4 (Zigbee) etc..The vital sign data obtained using wearable device measurement can be to Upper agreement is wirelessly transferred.However, the transmission due to the use of the transport protocol progress wireless data of low-power consumption will be inevitable Generation frame loss condition.
It is previous to be transmitted using low power consumption transmission agreement primarily directed to obtained value for vital signs data are measured, i.e., Result will not be caused significantly to influence by making frame losing has occurred.However, when needing using low power consumption transmission agreement to measuring To vital sign waveform signal be transmitted in the case of, the frame losing of wireless data transmission will cause waveform signal larger Influence.In order to improve the reliability of the transmitted waveform data under low power loss communication agreement, and reduce in low-power dissipation system Expense, there is an urgent need for design suitable for transmitted waveform data wireless communication protocol.
In traditional communication system, frame losing can be solved the problems, such as using automatic repeat request agreement.But it uses certainly The expense that dynamic retransmission request will cause system additional is unfavorable for the use of low power consuming devices.In digital communication systems, it uses Channel coding technology, which carries out forward error correction, can also solve the problems, such as frame losing.Such as use convolutional code or LDPC code.But volume The channel coding of outer addition will increase the complexity of system, also not be suitable for low-power dissipation system in many cases.In addition, channel Coding also needs to increase the bandwidth of transmission, to reduce the efficiency of transmission.
At this stage, the agreement for the low-consumption wireless communications of vital sign measurement is mainly numeric data Transmission, there are no the transport protocols of corresponding Wave data.
Invention content
The purpose of the present invention is being directed to existing low-consumption wireless Transmission system, provide a kind of for life sign measurement wave The radio transmitting method of graphic data.This method need not increase system bandwidth, and the nothing of Wave data can be carried out with low complex degree Line is transmitted and is influenced caused by reducing frame losing.
The technical solution adopted by the present invention is that:A kind of anti-frame losing of forward direction for life sign measurement Wave data wirelessly passes Transmission method, it is characterised in that include the following steps:
First, the Wave data of vital sign consecutive quantized is obtained by vital sign detection device;
Second, collected Wave data is grouped and is pre-processed, wherein the Wave data serial number of transmission is defined For:K is the serial number of frame where initial data, and m is progressive whole number value, and n is progressive whole number value;
Third carries out data interlacing to the Wave data after grouping;
4th, time counting label t is introduced in the Wave data to be sent after interleavingk, wherein time counting label insert Enter a byte data in original transmission data sequence or in each frame data that time counting tag replacement is sent;
5th, the transmission data by way of wireless transmission;
6th, receiving terminal receives Wave data, wherein being by the kth frame data definition that receiving terminal receivesReceiving terminal FromThe time counting tag definition of middle extraction is
7th, judged whether that frame losing phenomenon occurs according to time counting label;
8th, if data frame losing phenomenon does not occur, receiving terminal, which inversely interweaves data, restores the data of transmission;Such as Data frame losing phenomenon occurs for fruit, then after receiving terminal inversely interweaves data, frame losing data are obtained by interpolation or filtering mode.
The Wave data includes ecg measurement waveform, blood pressure pressure waves measurement waveform, pulse volume wave measurement wave The human body vital sign waveform signal that shape, respiratory wave measured waveform, brain wave measured waveform and other measurements obtain.
It is pre-processed again after the group that Wave data is divided into different frame and frame by transmitting terminal, the length of different frames Degree is related to the agreement of wireless transmission, and the quantity organized in frame is related to data interlacing depth.
Further, the agreement of the wireless transmission includes the low-power consumption bluetooth suitable for Internet of Things and wearable device The length of transport protocol, the transmitted waveform data frame is long less than or equal to the data of a frame specified in wireless communication protocol Degree.
Further, the quantity organized in the frame is determined that the group number wherein in frame is a frame number by the depth of data interlacing According to length divided by interleave depth, the depth of the data interlacing is an integer value more than 1.
The time counting label tkMaximum value be one be more than 1 integer value, often send a frame data, time counting Label tkThen it is incremented by 1, as time counting label tkAfter the maximum value for reaching setting, next time counting label tkAgain it is opened from 1 Begin to count.
If time counting label tkIt is inserted into former transmission data, then existsIt is middle by time counting label tkIt goes It removes;If time counting label tkIt is to replace former transmission data, then existsIt is middle to remove time counting label, then by the time Count label tkThe clear data lacked on position is obtained by the way of front and back point data interpolation or filtering.Pass through receiving terminal Time counting labelSerial number judge whether there is frame losing, can while in receiving terminal by the time counting label numerical value lacked To obtain the serial number of frame losing, by by lost data after receiving terminal rearrangement before and after adjacent data into row interpolation or Filtering obtains lost data value.
Further, receiving terminal counts label by -1 frame time of kth received beforeTo determine whether occurring Frame losing;If meetingWhen, then frame losing phenomenon does not occur, ifWhen, then frame losing phenomenon occurs.
Further, when the frame number continuously lost is more than 1, i.e.,When;Receiving terminal can be by being more than The data of frame obtain the lost data value more than 1 frame into row interpolation or filtering before and after the loss data of 1 frame.
The beneficial effects of the invention are as follows:
Compared to using automatic repeat request agreement, the present invention to be the transmission method of complete forward direction, receiving terminal weight is not needed Data are passed to transmitting terminal, so as to be used in the wireless transmitting system of low-power consumption.
Compared to the fec systems for using channel coding, the present invention can solve frame losing to wave with very low complexity Influence caused by graphic data.Since in the Transmission system of vital sign waveform signal, vital sign waveform signal possesses centainly Redundancy.The mode that signal is interleaved in transmitting terminal through the invention, then it is based on the adjacent measurement of waveform signal in receiving terminal Correlation between value recovers the data value of lost frames, can solve frame losing with very low complexity and be caused to Wave data Influence.
Present invention is particularly suitable for wearable health care settings and based on the wireless transmitting system of low-power consumption bluetooth. Other can also be extended to be used for transmission in the wireless transmitting system of Wave data.
Description of the drawings
Fig. 1 is the overall flow figure of the present invention.
Fig. 2 is transmitting terminal packet schematic diagram.
Fig. 3 is transmitting terminal flow chart.
Fig. 4 is receiving terminal flow chart.
Specific implementation mode
With reference to low-power consumption bluetooth agreement and Figure of description is used, invention is further described in detail.
According to Bluetooth communication protocol, the sampled value for acquiring Wave data is 8 200 points/seconds, and every accounts for 1 byte.At interval of 1/10 second data for sending at one group 20 points.To correct the mistake of transmission frame losing, data are transmitted by the way of interweaving;The depth of intertexture Degree is M (M > 1), and the group number that each frame point can be obtained by interleave depth M is N (N=20 ÷ M).In implementing example, interweave Depth is defined as 4, therefore the group number of each frame point is 5.
The mode of implementation is divided into transmitting terminal data processing link and receiving terminal data processing link.Whole system flow chart As shown in Figure 1.
Transmitting terminal data processing link
The data sequence number of transmission is defined as:Wherein k is the serial number of frame where initial data;M is progressive whole number Value, maximum value M;N is progressive whole number value, maximum value N.
The flow chart of transmitting terminal data processing is as shown in figure 3, specific data sending step is divided into 3 steps:
Step 1:
It is defined based on data sequence number, by the kth frame of initial data1-20 data be marked.Due to each frame point Group number be 5, the label of legacy data is as follows:
That is,
Each intraframe data label of kth+1 after initial data kth frame, k+2 ... frames is identical with kth frame, only changes The serial number of frame, i.e.,It can be expressed as:
Step 2:
The data being ready for sending are interleaved.Since interleave depth is defined as 4, the kth frame number being ready for sending after intertexture According toIt is defined as follows:
That is,
Kth+1 after kth frame, the data that k+2 frames are ready for sendingIt is defined as follows:
The mode of transmitting terminal data interlacing is as shown in Figure 2.
Step 3:
Time counting label t is introduced in the data of transmissionk, original transmission data sequence can be inserted in time counting label In row.For example, after time counting label is inserted into the 10th transmission data, then the data that sendFor:
In the case, the data of transmissionLength changes into 21.
Time counting label t is introduced in the data of transmissionk, time counting label can also replace each frame number of transmission A byte data in.For example, fixed willTime counting label is replaced with, then the data sentFor:
In the case, the data of transmissionLength remains 20.
Receiving terminal data processing link
After receiving terminal receives data, data processing is followed the steps below.The flow chart of data processing figure of receiving terminal such as Fig. 4 It is shown.
Step 1:
Defining the kth frame data that receiving terminal receives isReceiving terminal fromMiddle extraction time counts labelIf Time counting label is inserted into former transmission data, then is existedIt is middle to remove time counting label.If time counting label It is to replace former transmission data, then existsIt is middle to remove time counting label.The blank that will be lacked on time counting label position Data are obtained by the way of front and back point data interpolation or filtering.
Receiving terminal counts label by -1 frame time of kth received beforeJudge whetherIf full Sufficient condition, then enter step 2-1.If being unsatisfactory for condition, 2-2 is entered step.
Step 2-1:
The receiving terminal data that backward recovery is sent in the way of transmitting terminal data interlacing.The kth frame data such as receivedIt is defined as follows:
That is,
Pass through the data receivedThe kth frame data that the former transmitting terminal that can be recovered is sentI.e.:
Step 2-2:
Due toTherefore it may determine that there is frame losing.For convenience's sake, it sets in this exampleTherefore it may determine that, kth frame loss of data.Receiving terminal is inversely extensive in the way of transmitting terminal data interlacing Recur the data sent.Due to kth frame loss of data, receiving terminal passes through the data that receiveIt obtains primary Penetrate the kth frame data that end is sentI.e.:
Wherein,It can be obtained by the interpolation or filtering of front and back data.Example Such as, the method using demosaicing legacy data is as follows:
In addition, when the frame number of loss is more than 1, method as above can also be taken to restore original data.
The above is only a preferred embodiment of the present invention, it should be pointed out that:For the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.
Part that the present invention does not relate to is the same as those in the prior art or can be realized by using the prior art.

Claims (9)

1. a kind of anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data, it is characterised in that including as follows Step:
First, the Wave data of vital sign consecutive quantized is obtained by vital sign detection device;
Second, collected Wave data is grouped and is pre-processed, wherein the Wave data serial number of transmission is defined as:K is the serial number of frame where initial data, and m is progressive whole number value, and n is progressive whole number value;
Third carries out data interlacing to the Wave data after grouping;
4th, time counting label t is introduced in the Wave data to be sent after interleavingk, wherein time counting label be inserted into it is original Transmission data sequence in or time counting tag replacement send each frame data in a byte data;
5th, the transmission data by way of wireless transmission;
6th, receiving terminal receives Wave data, wherein being by the kth frame data definition that receiving terminal receivesReceiving terminal from The time counting tag definition of middle extraction is
7th, judged whether that frame losing phenomenon occurs according to time counting label;
8th, if data frame losing phenomenon does not occur, receiving terminal, which inversely interweaves data, restores the data of transmission;If hair Raw data frame losing phenomenon, then after receiving terminal inversely interweaves data, frame losing data are obtained by interpolation or filtering mode;
In above-mentioned steps, if time counting label tkIt is inserted into former transmission data, then existsIt is middle by time counting mark LabelRemoval;If time counting label tkIt is to replace former transmission data, then existsIt is middle to remove time counting label, then By time counting labelThe clear data lacked on position is obtained by the way of front and back point data interpolation or filtering.
2. the anti-frame losing radio transmitting method of the forward direction according to claim 1 for life sign measurement Wave data, It is characterized in that:The Wave data includes ecg measurement waveform, blood pressure pressure waves measurement waveform, pulse volume wave measurement wave The human body vital sign waveform signal that shape, respiratory wave measured waveform, brain wave measured waveform and other measurements obtain.
3. the anti-frame losing radio transmitting method of the forward direction according to claim 1 for life sign measurement Wave data, It is characterized in that:It is pre-processed again after the group that Wave data is divided into different frame and frame by transmitting terminal, different frames Length is related to the agreement of wireless transmission, and the quantity organized in frame is related to data interlacing depth.
4. the anti-frame losing radio transmitting method of the forward direction according to claim 3 for life sign measurement Wave data, It is characterized in that:The agreement of the wireless transmission includes suitable for the low-power consumption bluetooth of Internet of Things and wearable device transmission association View, the length of the transmitted waveform data frame are less than or equal to the data length of a frame specified in wireless communication protocol.
5. the anti-frame losing radio transmitting method of the forward direction according to claim 3 for life sign measurement Wave data, It is characterized in that:The quantity organized in the frame is determined that the group number wherein in frame is that a frame data length is removed by the depth of data interlacing With interleave depth, the depth of the data interlacing is an integer value more than 1.
6. the anti-frame losing radio transmitting method of the forward direction according to claim 1 for life sign measurement Wave data, It is characterized in that:The time counting label tkMaximum value to be one be more than 1 integer value, often send a frame data, time meter Number label tkThen it is incremented by 1, as time counting label tkAfter the maximum value for reaching setting, next time counting label tkAgain from 1 It starts counting up.
7. the anti-frame losing radio transmitting method of the forward direction according to claim 1 for life sign measurement Wave data, It is characterized in that:Label is counted by destination timeSerial number judge whether there is frame losing, while in receiving terminal by lacking Time counting label numerical value, can obtain the serial number of frame losing, before by lost data after receiving terminal rearrangement Adjacent data obtains lost data value into row interpolation or filtering afterwards.
8. the anti-frame losing radio transmitting method of the forward direction according to claim 1 or claim 7 for life sign measurement Wave data, It is characterized in that:Receiving terminal counts label by -1 frame time of kth received beforeTo determine whether frame losing occurs;If MeetWhen, then frame losing phenomenon does not occur, ifWhen, then frame losing phenomenon occurs.
9. the anti-frame losing radio transmitting method of the forward direction according to claim 8 for life sign measurement Wave data, It is characterized in that:When the frame number continuously lost is more than 1, i.e.,When;Receiving terminal can be by the loss more than 1 frame The data of frame obtain the lost data value more than 1 frame into row interpolation or filtering before and after data.
CN201510281902.1A 2015-05-28 2015-05-28 The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data Active CN104980253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510281902.1A CN104980253B (en) 2015-05-28 2015-05-28 The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510281902.1A CN104980253B (en) 2015-05-28 2015-05-28 The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data

Publications (2)

Publication Number Publication Date
CN104980253A CN104980253A (en) 2015-10-14
CN104980253B true CN104980253B (en) 2018-07-27

Family

ID=54276394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510281902.1A Active CN104980253B (en) 2015-05-28 2015-05-28 The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data

Country Status (1)

Country Link
CN (1) CN104980253B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021041088A (en) * 2019-09-13 2021-03-18 株式会社東芝 Electronic device and method
CN111481195B (en) * 2020-04-23 2023-05-12 重庆松山医院 Wireless acquisition system for electroencephalogram signal acquisition

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894558A (en) * 2010-08-04 2010-11-24 华为技术有限公司 Lost frame recovering method and equipment as well as speech enhancing method, equipment and system
CN103078715A (en) * 2013-01-25 2013-05-01 合肥寰景信息技术有限公司 Voice redundancy interweaving method based on combinational design
CN103280222A (en) * 2013-06-03 2013-09-04 腾讯科技(深圳)有限公司 Audio encoding and decoding method and system thereof
CN103391165A (en) * 2013-08-15 2013-11-13 成都博高科技有限责任公司 Data transmitting method, receiving method and corresponding device for power line carrier communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100531173C (en) * 2003-05-16 2009-08-19 松下电器产业株式会社 Transmitting/receiving apparatus and corresponding method for a communication network
CN101277260A (en) * 2007-03-27 2008-10-01 中兴通讯股份有限公司 Data transmission method for high speed packet service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894558A (en) * 2010-08-04 2010-11-24 华为技术有限公司 Lost frame recovering method and equipment as well as speech enhancing method, equipment and system
CN103078715A (en) * 2013-01-25 2013-05-01 合肥寰景信息技术有限公司 Voice redundancy interweaving method based on combinational design
CN103280222A (en) * 2013-06-03 2013-09-04 腾讯科技(深圳)有限公司 Audio encoding and decoding method and system thereof
CN103391165A (en) * 2013-08-15 2013-11-13 成都博高科技有限责任公司 Data transmitting method, receiving method and corresponding device for power line carrier communication

Also Published As

Publication number Publication date
CN104980253A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN103503382B (en) Controller area network with flexible data-rate
EP2999152A1 (en) Data processing method and related device for fec coding and decoding
CN106911426A (en) The method and apparatus of data is transmitted in a kind of flexible Ethernet
CN103716118B (en) The data is activation and method of reseptance of a kind of AMR and device
US11569923B2 (en) Method and apparatus for sending and receiving multiframe, and storage medium
CN102695047A (en) Transmitter, receiver and method thereof in human body communicatoin system
CN104980253B (en) The anti-frame losing radio transmitting method of forward direction for life sign measurement Wave data
WO2020102823A3 (en) Communication system and method of using variable-length messages
CN102111242B (en) Method for reducing narrowband noise interference in power line carrier communication
CN104656129A (en) Data transmission method applied to distributed earthquake collection stations
CN110474692B (en) Optical communication device, optical communication system, data transmission method and storage medium
CN110324094B (en) Sound wave communication method and device, storage medium and electronic device
CN105828014B (en) A kind of audio/video transmission method and device
CN105072058B (en) A kind of positive and negative phase coding method of data and data transmission method based on optical fiber transmission
US20220231777A1 (en) Overhead monitoring method and apparatus, and computer-readable storage medium
CN101442380B (en) Method and apparatus for testing error rate based on high speed serial interface encoded mode
CN107911206B (en) Bit-oriented synchronous communication method
CN204615911U (en) A kind of modem chip of low-voltage powerline carrier communication and device
CN100561537C (en) Radio data transmission method
CN107004418A (en) A kind of digital communication method and device based on voice-grade channel
CN111475447B (en) High-speed serial transmission device based on LVDS and data transmission method
CN107078855A (en) Grouped data dispensing device and packet data transmitting
EP2175581A3 (en) Turbo encoding and decoding communication system
US20180131505A1 (en) Systems and methods for low-power single-wire communication
CN101841513B (en) Encapsulation and de-encapsulation method for frame of physical layer in EOC (Ethernet Over Coax) network

Legal Events

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