CN106685594B - A kind of reliability method handling the aerial code stream of wireless remote transmission - Google Patents

A kind of reliability method handling the aerial code stream of wireless remote transmission Download PDF

Info

Publication number
CN106685594B
CN106685594B CN201611232209.6A CN201611232209A CN106685594B CN 106685594 B CN106685594 B CN 106685594B CN 201611232209 A CN201611232209 A CN 201611232209A CN 106685594 B CN106685594 B CN 106685594B
Authority
CN
China
Prior art keywords
data
table number
received
bit
synchronous
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
CN201611232209.6A
Other languages
Chinese (zh)
Other versions
CN106685594A (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.)
Zhejiang Viewshine Intelligent Meter Co Ltd
Original Assignee
Zhejiang Viewshine Intelligent Meter 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 Zhejiang Viewshine Intelligent Meter Co Ltd filed Critical Zhejiang Viewshine Intelligent Meter Co Ltd
Priority to CN201611232209.6A priority Critical patent/CN106685594B/en
Publication of CN106685594A publication Critical patent/CN106685594A/en
Application granted granted Critical
Publication of CN106685594B publication Critical patent/CN106685594B/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
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • H04L7/0012Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a kind of reliability methods for handling the aerial code stream of wireless remote transmission.The present invention received using each BIT in code stream as code stream with the basic unit of data processing, can be in the sky in traffic spike with the data for walking out of needs, and synchronous code can freely be set according to transmitting terminal agreement.After wireless module receives parsing generation traffic spike to aerial signal, according to the data protocol of wireless remote transmission transmitting terminal, receiving end is by sets itself synchronous code, and the synchronous identification of data is carried out to traffic spike, once data synchronize correct and recognize the subsequent truthful data of synchronous code, receiving end will return to the feedback signal for indicating to have correctly received truthful data;It is table tool number when the described synchronous code actual development, also can operate with the different numbers of different occasions.The method of the present invention can synchronize the synchronization code stream identified in burst of data code stream, to realize the reception of truthful data, storage and feedback.

Description

A kind of reliability method handling the aerial code stream of wireless remote transmission
Technical field
The invention belongs to wireless signal transmission techniques fields, are related to a kind of algorithm of data processing parsing, and in particular to one The reliability method of the kind processing aerial code stream of wireless remote transmission.
Background technique
At present, most domestic area uses artificial meter reading method, and the meter reading method of this staff from house to house is led Huge workload has been caused, and cannot be guaranteed the accuracy and timeliness of data, the cost of meter reading has been improved, directly affects combustion gas The benefit of company.Information-based development pushes the generation of Automatic meter reading system, and existing automatic data logging scheme mainly passes through It is laid with wire cable, but complicated actual environment is very big to cable limitation is laid with, and already existing cell needs are re-lay Cable is also unrealistic.Radio meter register scheme can effectively transmit data, and can be to avoid the trouble of laying cable, therefore have Extremely strong practicability significantly reduces the cost of installation and operation, and with installing, convenient for management, maintenance cost is low, network is set It sets the advantages that flexible, the value of great popularization.
With the increasingly maturation of RF wireless remote transmission technology, the country has also risen many and has been dedicated to the research and development of wireless remote transmission module Wireless communication technique company also brings many wireless transmitting system schemes for client.But the data association that each company uses View be it is different, the compatibility between various modules is not fine.The present invention gives one with regard to wireless remote transmission copy system The reliability algorithm of the kind processing aerial code stream of wireless remote transmission receives processing data-signal using MCU control receiving module, compatible The data format of many wireless transmitter modules mainly applies to the identification of the synchronous code in data code flow and the reception of truthful data Processing and feedback.
Summary of the invention
The purpose of the invention is to overcome the different data format and agreement of different wireless remote transmission transmitting terminals, one is provided The reliability method of the kind processing aerial code stream of wireless remote transmission.It can be synchronized in receiving end using the method for the present invention and identify burst of data Synchronization code stream in code stream, to realize the reception of truthful data, storage and feedback.
The technical solution adopted by the present invention to solve the technical problems includes the following steps:
Step 1, transmitting terminal send data;
After step 2, receiving end receive data, received data are handled as follows: the synchronous of table tool number identifies, is true The extraction separation and the transmission of feedback data signal of real data;
The synchronous identification of 2-1. table tool number
The receiving module of receiving end generates a synchronised clock and is used for after receiving the traffic spike of wireless transmitting terminals Traffic spike is received, and the synchronised clock is sent to single-chip microcontroller;The data resolution module solution at the received end of traffic spike After analysis, exported by an I/O port of data resolution module to single-chip microcontroller, synchronised clock is acquired solution as interrupting by single-chip microcontroller Traffic spike after analysis, to traffic spike with table tool number is walked out of, specific synchronizing process is as follows:
For 2-1-1. due to table number all tape verifying positions of wireless transmitting terminals, check bit is 9 plus data bit, and receives termination Receipts mechanism is that every 8 data form a byte storage, therefore received data will can not be synchronized to table number forever, therefore are first arranged Compare table number: the format of the comparison table number is set as the table number of tape verifying position, according to format received by 8 reception mechanisms;
The memory module mechanism in data receiver is arranged in 2-1-2., due to the BIT digit of table number in total are as follows: 5 byte * 9 Position=45, therefore the memory module mechanism in data receiver is provided that
Firstly, one 45 structural body space B IT0-BIT44 are defined, by the array in the structural body space and 6 bytes Joint, then BIT0-BIT7 is equivalent to array [0] in structural body space, and structural body space B IT8-BIT15 is equivalent to array [1], BIT16-BIT23 is equivalent to array [2], and so on.
Secondly, single-chip microcontroller, using synchronised clock as interrupting, each synchronised clock rising edge triggering is primary to be interrupted, and single-chip microcontroller connects The a data in traffic spike is received, and the data are stored in the BIT44 in structural body space, then by total body The content in space integrally moves to right, that is, BTT1 is assigned to BIT0, and BIT2 is assigned to BIT1, and it is straight that BIT3 is assigned to BIT2..... It is assigned to BIT43 to BIT44, is moved to right to complete primary entirety.
Finally, when having received 45 BIT, by the array of this six bytes received and the table number mark that sets before Six quasi- bytes are compared.If more identical, then it represents that table number is properly received and synchronized;If not passing through, Continue whole move to right and then receive BIT data bit, continues to compare after receiving one, constitute the circulation for detecting synchronous table number, until It can compare and be synchronized to correct table number;
The extraction of 2-2. truthful data separates
Be according to the data format of Shanghai wireless remote transmission agreement, after table number tape verifying position two byte 0x01 with 0xfe, then will jump out the circulation of synchronous table number when being synchronized to each table number, then receive the data of two bytes.Specifically Process is as follows:
Set two flag bits A and B;When being synchronized to table number, by flag bit A, B set;When single-chip microcontroller detects mark When set occurs for position B, then start to receive the data after table number, and pass through the circulation of synchronous table number in flag bit A shielding is interrupted, It prevents from impacting the data after reception table number.
The method for receiving the data after table number is as follows:
Check bit is first sent out due to being, then single-chip microcontroller abandons the first interruption data detected when receiving, And continuously receiving next 8 interruptions data, then 8 data are normal data.Then it repeats to receive again, to obtain Two 8 normal datas.
In the traffic spike that transmitting terminal is sent, truthful data is wherein after a string of table numbers, then to extract true Data, as long as just judging that received data are not 0x01 and 0xFE after table number, for truthful data.After judging table number Data be 0x01 and when 0xFE, then flag bit A and B is reset, major cycle does not enter back into reception data, detects synchronous table number Circulation starts to synchronize next table number.So far, it constitutes truthful data and extracts isolated circulation.
The transmission of 2-3. feedback data signal
After extracting truthful data, receiving end feeds back one to transmitting terminal and has correctly received truthful data, specific: will Receiving module in receiving end is configured to sending mode, carries out corresponding data transmission according to the reception agreement of transmitting terminal.When connecing When receipts module is configured to sending mode, synchronised clock originally will become spontaneous generation, using the synchronised clock as in triggering It is disconnected to send data.Because the data of transmitting terminal all want tape verifying position, in a transmitting mode under receiving module sending out every time When sending data, the check bit that one BIT are 1 sent in previous interrupt, then just transmit and receive the data of agreement.When anti- Feedback data have sent and then have returned the circulation for detecting synchronous table number, wait meter reading signal next time.
The present invention has the beneficial effect that:
The method of the present invention considers transmitting terminal different data format in wireless data bit stream and docks with data protocol The influence of receiving end data processing.This data processing algorithm preferably can synchronize code identification to data code flow, improve true The reliability of real data parsing.
The method of the present invention has fully considered the real-time and continuity of data code flow.Using to single BIT in code stream Operation judges, as long as different data code flow agreement change synchronizing content can identify rapidly.
Detailed description of the invention
Fig. 1 is that bit stream data shifts schematic diagram.
Fig. 2 is program the general frame.
Specific embodiment
Present invention will be further explained below with reference to the attached drawings and examples.
As illustrated in fig. 1 and 2, a kind of reliability method handling the aerial code stream of wireless remote transmission.The present invention is utilized in receiving end Method can synchronize the synchronization code stream identified in burst of data code stream, to realize the reception of truthful data, storage and feedback.
The present invention is in the parsing of wireless remote transmission air-data code stream, using receiving end data processing as core.Specifically, The present invention supports a variety of data formats and agreement, can be under plurality of application scenes, according to the data format of transmitting terminal to the algorithm It is modified slightly the data that can be parsed in code stream.Receiving end data processing is mainly with BIT for operating unit, in code stream Synchronous code synchronize identification, and the truthful data after synchronous code is accurately grabbed.
The present invention is the basic unit received using each BIT in code stream as code stream with data processing, can be in sky With the data for walking out of needs in middle traffic spike, and synchronous code can freely be set according to transmitting terminal agreement.In wireless module After receiving parsing generation traffic spike to aerial signal, according to the data protocol of wireless remote transmission transmitting terminal, receiving end will be certainly Row setting synchronous code, and the synchronous identification of data is carried out to traffic spike, once data synchronize correct and recognize synchronous code Subsequent truthful data, then receiving end will return to the feedback signal for indicating to have correctly received truthful data;Described is same It is numbered when walking code actual development for table tool, also can operate with the different numbers of different occasions;
The present invention is based on " Shanghai wireless remote transmission agreement 1.0 " is specific as follows:
1. Shanghai wireless remote transmission agreement 1.0
The agreement is customized based on RF wireless remote transmission meter-reading function, and meter reading mechanism is that point is copied, and each table tool has one Specific table tool number sends the synchronous code in meter reading signal, the format of meter reading signal when copying table tool data as meter-copy device It is as follows:
10101010...+ table tool number+0x01+0xFE+10101010...+ table has number+0x01+0xFE + ... ... the above table tool number of ..+10101010...+ table tool number+truthful data, 0x01,0xFE and truthful data are all With 1 check bit, check bit is all 1.
The present invention includes the following steps:
Step 1, transmitting terminal send data;
After step 2, receiving end receive data, received data are handled as follows: the synchronous of table tool number identifies, is true The extraction separation and the transmission of feedback data signal of real data;
The synchronous identification of 2-1. table tool number
The receiving module of receiving end generates a synchronised clock and is used for after receiving the traffic spike of wireless transmitting terminals Traffic spike is received, and the synchronised clock is sent to single-chip microcontroller;The data resolution module solution at the received end of traffic spike After analysis, exported by an I/O port of data resolution module to single-chip microcontroller, synchronised clock is acquired solution as interrupting by single-chip microcontroller Traffic spike after analysis, to traffic spike with table tool number is walked out of, specific synchronizing process is as follows:
For 2-1-1. due to table number all tape verifying positions of wireless transmitting terminals, check bit is 9 plus data bit, and receives termination Receipts mechanism is that every 8 data form a byte storage, therefore received data will can not be synchronized to table number forever, therefore are first arranged Compare table number: the format of the comparison table number is set as the table number of tape verifying position, according to format received by 8 reception mechanisms, Such as:
The mechanism that 5 table numbers are sent is that high byte is first sent out, and low level is first sent out, check bit 1.Such as:
The first byte of table number is 0x20, then data flow is 1 0,000 0100;
The second byte of table number is 0x16, then data flow is 1 0,110 1000;
Table number third byte is 0x08, then data flow is 1 0,001 0000;
Table number nybble is 0x26, then data flow is 1 0,110 0100;
The 5th byte of table number is 0x14, then data flow is 1 0,010 1000;
Due to being that low level is first sent out, then to make the data bit received sequence correct, then must be stored using dextroposition.It presses 8 storages then obtain following data:
First eight 01000001 so first character sections are 0x41;
Second eight 01011010 so second byte are 0x5a;
Eight 01000100 so third bytes of third are 0x44;
4th eight 01101000 so the 4th bytes are 0x68;
5th eight 10010010 so the 5th bytes are 0x92;
6th eight 00000010 so the 6th bytes are 0x02;
This six bytes will table number as a comparison.
The memory module mechanism in data receiver is arranged in 2-1-2., due to the BIT digit of table number in total are as follows: 5 byte * 9 Position=45, therefore the memory module mechanism in data receiver is provided that
Firstly, one 45 structural body space B IT0-BIT44 are defined, by the array in the structural body space and 6 bytes Joint, then BIT0-BIT7 is equivalent to array [0] in structural body space, and structural body space B IT8-BIT15 is equivalent to array [1], BIT16-BIT23 is equivalent to array [2], and so on.
Secondly, single-chip microcontroller, using synchronised clock as interrupting, each synchronised clock rising edge triggering is primary to be interrupted, and single-chip microcontroller connects The a data in traffic spike is received, and the data are stored in the BIT44 in structural body space, then by total body The content in space integrally moves to right, that is, BTT1 is assigned to BIT0, and BIT2 is assigned to BIT1, and it is straight that BIT3 is assigned to BIT2..... It is assigned to BIT43 to BIT44, is moved to right to complete primary entirety.
Finally, when having received 45 BIT, by the array of this six bytes received and the contrast table that sets before Number six bytes be compared.If more identical, then it represents that table number is properly received and synchronized;If not passing through, Continue whole move to right and then receive BIT data bit, continues to compare after receiving one, constitute the circulation for detecting synchronous table number, until It can compare and be synchronized to correct table number;
The extraction of 2-2. truthful data separates
Be according to the data format of Shanghai wireless remote transmission agreement, after table number tape verifying position two byte 0x01 with 0xfe, then will jump out the circulation of synchronous table number when being synchronized to each table number, then receive the data of two bytes.Specifically Process is as follows:
Set two flag bits A and B;When being synchronized to table number, by flag bit A, B set;When single-chip microcontroller detects mark When set occurs for position B, then start to receive the data after table number, and pass through the circulation of synchronous table number in flag bit A shielding is interrupted, It prevents from impacting the data after reception table number.
The method for receiving the data after table number is as follows:
Check bit is first sent out due to being, then single-chip microcontroller abandons the first interruption data detected when receiving, And continuously receiving next 8 interruptions data, then 8 data are normal data.Then it repeats to receive again, to obtain Two 8 normal datas.
In the traffic spike that transmitting terminal is sent, truthful data is wherein after a string of table numbers, then to extract true Data, as long as just judging that received data are not 0x01 and 0xFE after table number, for truthful data.After judging table number Data be 0x01 and when 0xFE, then flag bit A and B is reset, major cycle does not enter back into reception data, detects synchronous table number Circulation starts to synchronize next table number.So far, it constitutes truthful data and extracts isolated circulation.
The transmission of 2-3. feedback data signal
After extracting truthful data, receiving end feeds back one to transmitting terminal and has correctly received truthful data, specific: will Receiving module in receiving end is configured to sending mode, carries out corresponding data transmission according to the reception agreement of transmitting terminal.When connecing When receipts module is configured to sending mode, synchronised clock originally will become spontaneous generation, using the synchronised clock as in triggering It is disconnected to send data.Because the data of transmitting terminal all want tape verifying position, in a transmitting mode under receiving module sending out every time When sending data, the check bit that one BIT are 1 sent in previous interrupt, then just transmit and receive the data of agreement.When anti- Feedback data have sent and then have returned the circulation for detecting synchronous table number, wait meter reading signal next time.
Embodiment 1:
The transmitting-receiving for constituting wireless remote transmission signal by the master control borad of meter reading with one by a meter reading tooling in the present embodiment is whole End.Table number that meter reading tooling is copied is set as 2016082614, meter reading signal is sent and meets " Shanghai wireless remote transmission agreement 1.0 " lattice Formula, the meter reading signal of transmission in every five seconds.Receiving end will be synchronized to table number, and recognize the subsequent true number of meter reading signal According to, and a successful feedback signal of meter reading is returned, meter reading tooling indicates this meter reading success after receiving this feedback signal.
Fig. 1 is the core of the method for the present invention, be with table number is walked out of, that just must have pair compared with received code stream Than table number, compares table number and need depending on the data format of meter reading signal and data protocol.The transmission format of meter reading signal is abided by From the rule of " high byte is first sent out, and low level is first sent out ", if that receiving end, which uses, moves to left the data storage method for depositing eight, then The data received will be unable to intuitively reflect table number, and the data received can be allowed to have no rule instead to be sayed, so using Move to right the mode of storage, low level is sent is stored in low level, it is high-order after hair be stored in a high position.
Fig. 2 is basic program block diagram of the invention, and the interruption of synchronous table number and the interruption of the data after reception table number are The same triggering is interrupted, but the two receptions mutually shielding, prevents the generation in respective receive from interfering with each other.Firstly, monolithic Machine, which is opened to receive, to interrupt, and starts the reception of data code flow, and single-chip microcontroller is every to receive one, and memory space integrally moves to right one.Work as monolithic Machine is when storage is to 45 BIT for the first time, starts and compares table number and compare.If comparison is unsuccessful, single-chip microcontroller continues to move Position receives;If comparing successfully, then it represents that be properly received complete table number, single-chip microcontroller will jump out the down trigger for receiving table number, also It is that a mark bit mask is interrupted into the received triggering of table number, makes to interrupt not entering back into.When table number has correctly received, single-chip microcontroller The reception in main circulation will be opened, that is, directly receives the data after table number.According to data protocol contents, meter reading signal In table number data flow after followed by be 0x01 and 0xFE (tape verifying position 1), and truthful data be also immediately table number it Afterwards, thus can explicitly detect very much whether truthful data judges according to this principle after the table number being synchronized to Whether received data are 0x01 and 0xFE (tape verifying position 1) after table number.If so, explanation is not truthful data, then again Synchronize next string list number;If it is not, then showing to receive truthful data, module is switched to sending mode, sends feedback letter Number.

Claims (2)

1. a kind of reliability method for handling the aerial code stream of wireless remote transmission, it is characterised in that include the following steps:
Step 1, transmitting terminal send data;
After step 2, receiving end receive data, received data are handled as follows: the synchronous identification of table tool number, true number According to extraction separation and feedback data signal transmission;
The synchronous identification of 2-1. table tool number
The receiving module of receiving end generates a synchronised clock for receiving after receiving the traffic spike of wireless transmitting terminals Traffic spike, and the synchronised clock is sent to single-chip microcontroller;After the data resolution module parsing at the received end of traffic spike, It is exported by an I/O port of data resolution module to single-chip microcontroller, after synchronised clock is acquired parsing as interrupting by single-chip microcontroller Traffic spike numbers traffic spike with table tool is walked out of;
The extraction of 2-2. truthful data separates
According to the data format of Shanghai wireless remote transmission agreement, table number is two bytes 0x01 and 0xfe of tape verifying position later, that When being synchronized to each table number, it will jump out the circulation of synchronous table number, then receive the data of two bytes;Detailed process is such as Under:
Set two flag bits A and B;When being synchronized to table number, by flag bit A, B set;When single-chip microcontroller detects that flag bit B is sent out When raw set, then start to receive the data after table number, and by the circulation of synchronous table number in flag bit A shielding interruption, prevent Data after reception table number are impacted;
The method for receiving the data after table number is as follows:
Due to being that check bit is first sent out, then when receiving, single-chip microcontroller abandons the first interruption data detected, and even Next 8 interruptions data are received in continued access, then this 8 interruption data are normal data;Then it repeats to receive again, to obtain Two 8 normal datas;
In the traffic spike that transmitting terminal is sent, truthful data is wherein after a string of table numbers, then truthful data is extracted, As long as just judging that received data are not 0x01 and 0xFE after table number, for truthful data;Number after judging table number According to for 0x01 and when 0xFE, then flag bit A and B is reset, major cycle does not enter back into reception data, detects the circulation of synchronous table number Start to synchronize next table number;So far, it constitutes truthful data and extracts isolated circulation;
The transmission of 2-3. feedback data signal
After extracting truthful data, receiving end feeds back one to transmitting terminal and has correctly received truthful data, specific: will to receive Receiving module in end is configured to sending mode, carries out corresponding data transmission according to the reception agreement of transmitting terminal;When reception mould When block is configured to sending mode, synchronised clock originally will become spontaneous generation, interrupt hair for the synchronised clock as triggering Send data;Because the data of transmitting terminal all want tape verifying position, in a transmitting mode under receiving module every time send number According to when, it is previous interrupt send one BIT be 1 check bit, then just transmitting and receiving agreement data;Work as feedback coefficient According to the circulation for having sent and then having returned the synchronous table number of detection, meter reading signal next time is waited.
2. a kind of reliability method for handling the aerial code stream of wireless remote transmission according to claim 1, it is characterised in that step It is as follows with the synchronizing process for walking out of table tool number to traffic spike described in 2-2:
2-1-1. due to wireless transmitting terminals table number all tape verifying positions, and receiving end reception mechanism be every 8 data form one Byte storage, therefore received data will can not be synchronized to table number forever, therefore first data are compared in setting: the comparison data are set as The table number of tape verifying position, and the format received by 8 reception mechanisms;
The memory module mechanism in data receiver is arranged in 2-1-2., due to the BIT digit of table number in total are as follows: and 5 byte * 9= 45, therefore the memory module mechanism in data receiver is provided that
Firstly, defining one 45 structural body space B IT0-BIT44, the structural body space and the array of 6 bytes are joined It closes, then BIT0-BIT7 is equivalent to array [0] in structural body space, and structural body space B IT8-BIT15 is equivalent to array [1], BIT16-BIT23 is equivalent to array [2], and so on;
Secondly, single-chip microcontroller, using synchronised clock as interrupting, each synchronised clock rising edge triggering is primary to be interrupted, and single-chip microcontroller receives number According to a data in stream signal, and the data are stored in the BIT44 in structural body space, then by total body space Content integrally move to right, that is, BTT1 is assigned to BIT0, and BIT2 is assigned to BIT1, BIT3 be assigned to BIT2..... until BIT44 is assigned to BIT43, moves to right to complete primary entirety;
Finally, when having received 45 BIT, by the array of this six bytes received and the table number standard that sets before Six bytes for comparing data are compared;If more identical, then it represents that table number is properly received and synchronized;If more obstructed It crosses, then continues whole move to right and then receive BIT data bit, continue to compare after receiving one, constitute the circulation for detecting synchronous table number, Correct table number is synchronized to until that can compare.
CN201611232209.6A 2016-12-28 2016-12-28 A kind of reliability method handling the aerial code stream of wireless remote transmission Active CN106685594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611232209.6A CN106685594B (en) 2016-12-28 2016-12-28 A kind of reliability method handling the aerial code stream of wireless remote transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611232209.6A CN106685594B (en) 2016-12-28 2016-12-28 A kind of reliability method handling the aerial code stream of wireless remote transmission

Publications (2)

Publication Number Publication Date
CN106685594A CN106685594A (en) 2017-05-17
CN106685594B true CN106685594B (en) 2019-07-30

Family

ID=58871732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611232209.6A Active CN106685594B (en) 2016-12-28 2016-12-28 A kind of reliability method handling the aerial code stream of wireless remote transmission

Country Status (1)

Country Link
CN (1) CN106685594B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105868A (en) * 2007-08-08 2008-01-16 东南大学 Method for promoting efficiency of short distance radio work attendance device
CN105488992A (en) * 2015-12-31 2016-04-13 宁夏隆基宁光仪表有限公司 Automatic meter searching method through low-voltage power line carrier wave
CN105959288A (en) * 2016-05-27 2016-09-21 姹や寒 Network protocol conversion method for power grid system and intercommunication method of power grid system
CN106205105A (en) * 2016-08-05 2016-12-07 武汉丰天鼎业信息网络有限公司 The data concentrator of multiple data form

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105868A (en) * 2007-08-08 2008-01-16 东南大学 Method for promoting efficiency of short distance radio work attendance device
CN105488992A (en) * 2015-12-31 2016-04-13 宁夏隆基宁光仪表有限公司 Automatic meter searching method through low-voltage power line carrier wave
CN105959288A (en) * 2016-05-27 2016-09-21 姹や寒 Network protocol conversion method for power grid system and intercommunication method of power grid system
CN106205105A (en) * 2016-08-05 2016-12-07 武汉丰天鼎业信息网络有限公司 The data concentrator of multiple data form

Also Published As

Publication number Publication date
CN106685594A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN105491017B (en) The more equipment multi-protocol analysis method and system of RS485 buses
CN101373517B (en) Method and system for recognizing license plate
CN102394719B (en) Multichannel HDLC data processing method based on FPGA
CN102355382A (en) Method for analyzing and triggering controller area network (CAN) bus
CN107317644B (en) A kind of frame-synchronizing device of compatible burst and continuous data
CN101521561B (en) High-speed RS485 energy/data transmission terminal
CN103178998A (en) Test and control data transmission method and device
CN103927285A (en) High-reliability data transmission method for two-channel serial buses
CN101902448A (en) Method and system for implementing data transmission through serial ports
CN114362368B (en) Intelligent substation network flow abnormal behavior monitoring method and system
CN104038383A (en) Switch based process level network message analysis method
CN102916759A (en) Method for calibrating E1 data frame precision time and processing time mark information
CN106685594B (en) A kind of reliability method handling the aerial code stream of wireless remote transmission
CN102298565A (en) Method for decoding and triggering asynchronous serial bus signals
CN103514127A (en) Implementation method for achieving self-adaption of baud rate
CN106406793B (en) The identity configuration method and system and IP address distribution method and system of Node station
CN101609984B (en) Fast aided modeling method for supervisory control and system
CN101582738B (en) Device and method for measuring frame error rate in transmission link
CN102622415A (en) Synchronous transmission method for multi-platform power quality monitoring data
CN110224702B (en) Time code IRIG-B self-adaptive decoding device and decoding method
CN106941430A (en) A kind of programmable precision net message construction and transmitting element based on FPGA
CN1395350A (en) Method for quickly-blanking flutter-identifying dislocation of switch quantity
CN110049023A (en) A kind of reverse recognition methods of unknown protocol based on machine learning and system
CN101183973A (en) Method of implementing command line configuration distribution in distributed system
CN103337146B (en) Health monitoring method and health monitoring system of civil engineering structure

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