A kind of data transmission method suitable for internet of things data fusion Error Control
Technical field
The invention belongs to internet of things data merge field, can be improved internet of things data fusion in data transmission it is accurate
Property, specifically a kind of data transmission method suitable for internet of things data fusion Error Control.
Background technique
With the development of Network Information technology, Internet of Things is as one kind to realize object and object, object and people and person to person
Between interaction be target Novel Communication mode, become the important component of generation information technology.Wireless sensor is made
For the chief component of Internet of Things and the mode of acquisition data, it is widely used.
Under scenes of internet of things, Node distribution is very extensive, and substantial amounts, in the case, transmits to sensor
Data carry out fusion treatment be necessary.Data fusion is the technology of an integrated treatment multi-source information, it will be more
The advantages of collected multiple source information is extracted, handles, is analyzed on a sensor, comprehensive each sensor, to form ratio
Single information source relatively reliable estimation and decision.
But sensor transmits in data procedures to fusion center, due to factors such as noise jamming and channel fadings
It influences, will lead to data and generate mistake in transmission process, receiving end is made to receive error message.Internet of things data merges logarithm
According to requirement it is high, it is desirable that the extremely low bit error rate.Therefore, in internet of things data fusion, an effective error handle is needed
Mechanism carrys out control error, reduces the bit error rate.
Currently, most of researchs about data fusion all focus at the data having received to fusion center
Reason, and it is less to the communications research between sensor and fusion center.
The method that this patent proposes is exactly a kind of data transmission method suitable for internet of things data fusion Error Control, energy
Effectively solve the mistake that data generate in data fusion transmission process.When data packet is transmitted in the channel generates mistake, root
Different error correcting systems is selected according to the number of errors generated in data packet, and according to type of data packet and data packet logarithm
Selective error correction is carried out according to the value of fusion.
Summary of the invention
A kind of data transmission method suitable for internet of things data fusion Error Control including the following steps:
A. defined parameters: real time data is worth threshold value V, non-real-time data maximum retransmission threshold value Nmax, correct transmission collection
T is closed, set P is retransmitted.
B. send end sensor at carry out RS (n-k) coding: by sensor collection to data carry out before transmission
RS (n-k) coding, the maximum number of bit errors for restoring it at receiving end i.e. fusion center are (n-k)/2.
C. it obtains correctly transmitting set and retransmitting gathering according to number of errors selection error correcting system in data packet:
1. pair error number is less than the data packet equal to (n-k)/2 and carries out forward error correction, and is put into set T, big to error number
In the data packet of (n-k)/2, judge it to be real-time or non real-time.
2. the set P that is put by value more than or equal to V is retransmitted for real time data packet;For non-real-time data packet, will weigh
It passes number and is less than or equal to NmaxBe put into set P re-transmission.
D. the data packet in correct transmission set is subjected to transmitting and scheduling, the data packet retransmitted in set is retransmitted: will
Data packet in correct transmission set T is transmitted to the Data Fusion that fusion center carries out next step;Retransmit the number in set P
It is retransmitted according to packet feedback to step B.
The present invention, which compares prior art, has following remarkable advantage:
1. this method selects error correcting system according to the number of errors of data packet, and has choosing according to the type and value of data packet
The error correction selected.
2. increasing the number that high value data packet is correctly transmitted the method increase the throughput that data packet is correctly transmitted
Amount, improves the validity of data in data fusion.
Detailed description of the invention
Fig. 1 is overview flow chart of the invention.
Fig. 2 is the spirogram of handling up of simulation result.
Fig. 3 is value Successful transmissions rate figure.
Specific embodiment
With reference to the accompanying drawing, illustrate embodiments of the present invention.
Fig. 1 is a kind of general flow chart of data transmission method suitable for internet of things data fusion Error Control, specific real
It is existing are as follows:
A. defined parameters: real time data is worth threshold value V, non-real-time data maximum retransmission threshold value Nmax, correct transmission collection
T is closed, set P is retransmitted.
B. send end sensor at carry out RS (n-k) coding: by sensor collection to data carry out before transmission
RS (n-k) coding, the maximum number of bit errors for restoring it at receiving end i.e. fusion center are (n-k)/2.
C. it obtains correctly transmitting set and retransmitting gathering according to number of errors selection error correcting system in data packet:
1. pair error number is less than the data packet equal to (n-k)/2 and carries out forward error correction, and is put into set T, big to error number
In the data packet of (n-k)/2, judge it to be real-time or non real-time.
2. the set P that is put by value more than or equal to V is retransmitted for real time data packet;For non-real-time data packet, will weigh
It passes number and is less than or equal to NmaxBe put into set P re-transmission.
D. the data packet in correct transmission set is subjected to transmitting and scheduling, the data packet retransmitted in set is retransmitted: will
Data packet in correct transmission set T is transmitted to the Data Fusion that fusion center carries out next step;Retransmit the number in set P
It is retransmitted according to packet feedback to step B.