CN106685594A - Reliability method of processing wireless tele-transmission air code stream - Google Patents

Reliability method of processing wireless tele-transmission air code stream Download PDF

Info

Publication number
CN106685594A
CN106685594A CN201611232209.6A CN201611232209A CN106685594A CN 106685594 A CN106685594 A CN 106685594A CN 201611232209 A CN201611232209 A CN 201611232209A CN 106685594 A CN106685594 A CN 106685594A
Authority
CN
China
Prior art keywords
data
table number
receiving
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.)
Granted
Application number
CN201611232209.6A
Other languages
Chinese (zh)
Other versions
CN106685594B (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 reliability method of processing a wireless tele-transmission air code stream. In the invention, each bit in the code stream is taken as a basic unit of code stream receiving and data processing, needed data can be synchronized in an air data flow signal and a synchronization code can be freely set according to a transmitting terminal protocol. After a wireless module receives and analyzes an air signal and generates a data flow signal, according to a data protocol of a wireless tele-transmission transmitting terminal, a receiving terminal sets a synchronization code and carries out data synchronization identification on the data flow signal. Once the data is correctly synchronized and real data behind the synchronization code is identified, the receiving terminal returns a feedback signal expressing that the real data is correctly received. The synchronization code is a table tool number during real exploitation and can be used in different numbers of different occasions. By using the method of the invention, a synchronization code stream of a series of data code streams can be synchronously identified so that receiving, storage and feedback of the real data can be realized.

Description

A kind of reliability method for processing the aerial code stream of wireless remote transmission
Technical field
The invention belongs to wireless signal transmission techniques field, is related to a kind of algorithm of data processing parsing, and in particular to one Plant the reliability method for processing the aerial code stream of wireless remote transmission.
Background technology
At present, most domestic area uses manual metering mode, this staff meter reading method from house to house to lead Cause huge workload, and it cannot be guaranteed that the accuracy of data and ageing, improves the cost checked meter, directly affect combustion gas The benefit of company.Informationalized to develop the generation for promoting Automatic meter reading system, existing automatic data logging scheme mainly passes through Laying wire cable, but the actual environment of complexity limits very big to laying cable, and the cell for having existed needs to lay again Cable is also unrealistic.Radio meter register scheme can effective transmission data, can avoid laying the trouble of cable again, therefore have Extremely strong practicality, significantly reduces the cost installed and run, and with installing, convenient management, maintenance cost be low, network sets The advantages of putting flexible, the value of great popularization.
With the day by day maturation of RF wireless remote transmission technologies, the country has also risen many and has been devoted to the research and development of wireless remote transmission module Wireless communication technology company, also brings many wireless transmitting system schemes for client.But the data association that each company adopts View is different, and the compatibility between various modules is not fine.The present invention gives one with regard to wireless remote transmission copy system The reliability algorithm for processing the aerial code stream of wireless remote transmission is planted, receiving module reception processing data signal is controlled using MCU, it is compatible The data form of many wireless transmitter modules, mainly applies to the identification of synchronous code in data code flow and the reception of truthful data Process and feed back.
The content of the invention
The invention aims to overcome the different data format and agreement of different wireless remote transmission transmitting terminals, there is provided one Plant the reliability method for processing the aerial code stream of wireless remote transmission.Burst of data can be synchronously identified in receiving terminal using the inventive method Synchronous code stream in code stream, so as to realize reception, storage and the feedback of truthful data.
The technical solution adopted for the present invention to solve the technical problems comprises the steps:
Step 1, transmitting terminal send data;
After step 2, receiving terminal receiving data, the data to receiving are handled as follows:It is the synchronous identification of table tool numbering, true The extraction separation of real data and the transmission of feedback data signal;
The synchronous identification of 2-1. tables tool numbering
After the traffic spike for receiving wireless transmitting terminals, produce a synchronised clock is used for the receiver module of receiving terminal Receiving data stream signal, and the synchronised clock is sent to into single-chip microcomputer;The data resolution module solution at the received end of traffic spike After analysis, exported to single-chip microcomputer by data resolution module I/O port, synchronised clock is gathered solution by single-chip microcomputer as interrupting Traffic spike after analysis, it is as follows with table tool numbering, concrete synchronizing process is walked out of to traffic spike:
Due to table number all tape verifying positions of wireless transmitting terminals, check bit is 9 plus data bit to 2-1-1., and receives termination Receipts mechanism is that a byte storage is constituted per 8 data, therefore the data for receiving will cannot be synchronized to table number forever, therefore is first arranged Contrast table number:The form of the contrast table number is set to the table number of tape verifying position, according to the form received by 8 reception mechanisms;
2-1-2. arranges the memory module mechanism in data receiver, because table number BIT digits altogether are:5 bytes * 9 Position=45, therefore the memory module mechanism in data receiver arranges as follows:
First, structure space B IT0-BIT44 of 45 is defined, by the structure space and the array of 6 bytes Joint, then BIT0-BIT7 is equivalent to array [0] in structure space, and structure space B IT8-BIT15 is equivalent to array [1], BIT16-BIT23 is equivalent to array [2], by that analogy.
Secondly, single-chip microcomputer using synchronised clock as interruption, once interrupt, and single-chip microcomputer connects by each synchronised clock rising edge triggering The a data in traffic spike is received, and by the data storage in the BIT44 in structure space, then by total body The content in space is integrally moved 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..... BIT43 is assigned to BIT44, so as to complete once overall moving to right.
Finally, when 45 BIT positions have been received, by the array of this six bytes for receiving and the table number mark for setting before Six accurate bytes are compared.If comparison is identical, then it represents that table number is properly received and synchronized;If not passing through, Continue overall moving to right and then receive BIT data bit, continue to compare after receiving one, constitute the circulation of detection synchronization table number, until Can compare and be synchronized to correct table number;
The extraction of 2-2. truthful datas is separated
According to the data form of Shanghai wireless remote transmission agreement, after table number for tape verifying position two bytes 0x01 with 0xfe, then when each table number is synchronized to, will jump out the circulation of synchronous table number, then receive the data of two bytes.Specifically Process is as follows:
Setting two flag bits A and B;When table number is synchronized to, by flag bit A, B set;When single-chip microcomputer detects mark When position B occurs set, then start to receive the data after table number, and the circulation of synchronous table number in interruption shielded by flag bit A, Data after preventing to receiving table number are impacted.
The described 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 microcomputer interrupts data and abandons to first detected, And continuously receiving ensuing 8 interruptions data, then 8 data are normal data.Then repeatedly receive again, so as to obtain The normal data of two 8.
In the traffic spike that transmitting terminal sends, truthful data is wherein after a string of table numbers, then to extract true Data, are then truthful data as long as just judging that the data received after table number are not 0x01 and 0xFE.After table number is judged Data when being 0x01 and 0xFE, then flag bit A and B is reset, major cycle does not enter back into receiving data, the synchronous table number of detection Circulation starts synchronous next one table number.So far, constitute truthful data and extract detached circulation.
The transmission of 2-3. feedback data signals
After extracting truthful data, receiving terminal feeds back one and has correctly received truthful data to transmitting terminal, specifically:Will Receiver module in receiving terminal is configured to sending mode, and according to the reception agreement of transmitting terminal corresponding data is activation is carried out.When connecing When receipts module is configured to sending mode, the synchronised clock of its original can become spontaneous generation, using the synchronised clock as in triggering It is disconnected to send data.Because the data of transmitting terminal are all to want tape verifying position, in a transmitting mode under receiver module sending out every time When sending data, to interrupt the check bit that one BIT position of transmission is 1 previous, then just send the data for receiving agreement.When anti- After feedback data is activation is complete, return again to detect the circulation of synchronous table number, wait signal of checking meter next time.
The present invention has the beneficial effect that:
The inventive method considers transmitting terminal different data format and docks with data protocol in wireless data bit stream The impact 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 inventive method has taken into full account the real-time and seriality of data code flow.Using the single BIT positions in code stream Operation judges, as long as different data code flow agreement change synchronizing content can be recognized rapidly.
Description of the drawings
Fig. 1 is that bit stream data shifts schematic diagram.
Fig. 2 is program the general frame.
Specific embodiment
With reference to the accompanying drawings and examples the invention will be further described.
As illustrated in fig. 1 and 2, a kind of reliability method for processing the aerial code stream of wireless remote transmission.In receiving terminal using the present invention Method can synchronously identify the synchronous code stream in burst of data code stream, so as to realize reception, storage and the feedback of truthful data.
The present invention in the parsing of wireless remote transmission air-data code stream, with receiving terminal data processing as core.Specifically, The present invention supports various data forms and agreement, can be under plurality of application scenes, according to the data form of transmitting terminal to the algorithm The data in code stream are parsed by being modified slightly.Receiving terminal data processing is mainly with BIT positions as operating unit, in code stream Synchronous code synchronize identification, and the truthful data after synchronous code is accurately captured.
The present invention is received and the elementary cell of data processing as code stream using each the BIT position in code stream, can be in sky Can freely be set according to transmitting terminal agreement with the data for walking out of needs, and synchronous code in middle traffic spike.In wireless module Receive parsing to aerial signal to produce after traffic spike, according to the data protocol of wireless remote transmission transmitting terminal, receiving terminal will be from Row setting synchronous code, and carries out data syn-chronization identification to traffic spike, once data syn-chronization is correct and recognizes synchronous code Truthful data below, then receiving terminal has correctly received the feedback signal of truthful data by an expression is returned;Described is same It is table tool numbering during step code actual development, also can operate with the different numberings of different occasions;
The present invention is specific as follows based on " Shanghai wireless remote transmission agreement 1.0 ":
1. Shanghai wireless remote transmission agreement 1.0
The agreement is customized based on RF wireless remote transmissions meter-reading function, and meter reader is made as a little copying, and each table tool has one Specific table tool numbering, sends the synchronous code checked meter in signal, the form of signal of checking meter when copying table tool data as meter-copy device It is as follows:
10101010...+ table tool numbering+0x01+0xFE+10101010...+ tables have numbering+0x01+0xFE + ... ... ..+10101010...+ tables have numbering+truthful data and have numbering, 0x01,0xFE and truthful data all with upper table With the check bit of 1, check bit is all 1.
The present invention comprises the steps:
Step 1, transmitting terminal send data;
After step 2, receiving terminal receiving data, the data to receiving are handled as follows:It is the synchronous identification of table tool numbering, true The extraction separation of real data and the transmission of feedback data signal;
2-1. the synchronous identification of table tool numbering
After the traffic spike for receiving wireless transmitting terminals, produce a synchronised clock is used for the receiver module of receiving terminal Receiving data stream signal, and the synchronised clock is sent to into single-chip microcomputer;The data resolution module solution at the received end of traffic spike After analysis, exported to single-chip microcomputer by data resolution module I/O port, synchronised clock is gathered solution by single-chip microcomputer as interrupting Traffic spike after analysis, it is as follows with table tool numbering, concrete synchronizing process is walked out of to traffic spike:
Due to table number all tape verifying positions of wireless transmitting terminals, check bit is 9 plus data bit to 2-1-1., and receives termination Receipts mechanism is that a byte storage is constituted per 8 data, therefore the data for receiving will cannot be synchronized to table number forever, therefore is first arranged Contrast table number:The form of the contrast table number is set to the table number of tape verifying position, according to the form received by 8 reception mechanisms, For example:
The mechanism of 5 table number transmissions is that high byte is first sent out, and low level is first sent out, and check bit is 1.For example:
The byte of table number first is 0x20, then data flow is 1 0,000 0100;
The byte of table number second is 0x16, then data flow is 1 0,110 1000;
The byte of table number the 3rd is 0x08, then data flow is 1 0,001 0000;
Table number nybble is 0x26, then data flow is 1 0,110 0100;
The byte of table number the 5th 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 order for receiving correct, then must be stored using dextroposition.Press 8 storages then obtain following data:
First eight 01000001 so first character sections are 0x41;
Second eight 01011010 so second bytes are 0x5a;
3rd eight 01000100 so the 3rd bytes 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.
2-1-2. arranges the memory module mechanism in data receiver, because table number BIT digits altogether are:5 bytes * 9 Position=45, therefore the memory module mechanism in data receiver arranges as follows:
First, structure space B IT0-BIT44 of 45 is defined, by the structure space and the array of 6 bytes Joint, then BIT0-BIT7 is equivalent to array [0] in structure space, and structure space B IT8-BIT15 is equivalent to array [1], BIT16-BIT23 is equivalent to array [2], by that analogy.
Secondly, single-chip microcomputer using synchronised clock as interruption, once interrupt, and single-chip microcomputer connects by each synchronised clock rising edge triggering The a data in traffic spike is received, and by the data storage in the BIT44 in structure space, then by total body The content in space is integrally moved 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..... BIT43 is assigned to BIT44, so as to complete once overall moving to right.
Finally, when 45 BIT positions have been received, by the array of this six bytes for receiving and the contrast table for setting before Number six bytes be compared.If comparison is identical, then it represents that table number is properly received and synchronized;If not passing through, Continue overall moving to right and then receive BIT data bit, continue to compare after receiving one, constitute the circulation of detection synchronization table number, until Can compare and be synchronized to correct table number;
The extraction of 2-2. truthful datas is separated
According to the data form of Shanghai wireless remote transmission agreement, after table number for tape verifying position two bytes 0x01 with 0xfe, then when each table number is synchronized to, will jump out the circulation of synchronous table number, then receive the data of two bytes.Specifically Process is as follows:
Setting two flag bits A and B;When table number is synchronized to, by flag bit A, B set;When single-chip microcomputer detects mark When position B occurs set, then start to receive the data after table number, and the circulation of synchronous table number in interruption shielded by flag bit A, Data after preventing to receiving table number are impacted.
The described 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 microcomputer interrupts data and abandons to first detected, And continuously receiving ensuing 8 interruptions data, then 8 data are normal data.Then repeatedly receive again, so as to obtain The normal data of two 8.
In the traffic spike that transmitting terminal sends, truthful data is wherein after a string of table numbers, then to extract true Data, are then truthful data as long as just judging that the data received after table number are not 0x01 and 0xFE.After table number is judged Data when being 0x01 and 0xFE, then flag bit A and B is reset, major cycle does not enter back into receiving data, the synchronous table number of detection Circulation starts synchronous next one table number.So far, constitute truthful data and extract detached circulation.
The transmission of 2-3. feedback data signals
After extracting truthful data, receiving terminal feeds back one and has correctly received truthful data to transmitting terminal, specifically:Will Receiver module in receiving terminal is configured to sending mode, and according to the reception agreement of transmitting terminal corresponding data is activation is carried out.When connecing When receipts module is configured to sending mode, the synchronised clock of its original can become spontaneous generation, using the synchronised clock as in triggering It is disconnected to send data.Because the data of transmitting terminal are all to want tape verifying position, in a transmitting mode under receiver module sending out every time When sending data, to interrupt the check bit that one BIT position of transmission is 1 previous, then just send the data for receiving agreement.When anti- After feedback data is activation is complete, return again to detect the circulation of synchronous table number, wait signal of checking meter next time.
Embodiment 1:
The transmitting-receiving end of wireless remote transmission signal is constituted by check meter frock and master control borad checked meter in the present embodiment End.Table number that frock of checking meter copied is set as 2016082614, transmission signal of checking meter meets " Shanghai wireless remote transmission agreement 1.0 " lattice Formula, signal of once checking meter was sent per five seconds.Receiving terminal will be synchronized to table number, and recognize the true number behind signal of checking meter According to, and a successful feedback signal of checking meter is returned, frock of checking meter to be received and represent that this is checked meter successfully after this feedback signal.
Fig. 1 is the core of the inventive method, same to walk out of table number, and that is just it is necessary to have individual right with the code stream for receiving contrast Than table number, depending on contrasting data form and data protocol that table number is needed according to signal of checking meter.The transmission form of signal of checking meter is abided by From the rule of " high byte is first sent out, and low level is first sent out ", then if receiving terminal is adopted moves to left the data storage method for depositing eight, then The data for receiving will be unable to intuitively reflect table number that the data for receiving can be allowed to have no rule on the contrary can be sayed, so using The mode of storage is moved to right, low level sends and is stored in low level, send out after a high position and be stored in a high position.
Fig. 2 is the base program block diagram of the present invention, and the interruption of synchronous table number is with the interruption for receiving the data after table number Same triggering is interrupted, but the two receptions mutually shielding, prevent the generation when each receiving from interfering.First, monolithic Machine is opened to receive and interrupted, and starts the reception of data code flow, and single-chip microcomputer often receives one, and memory space integrally moves to right one.Work as monolithic When machine is stored to 45 BIT positions for the first time, start to be contrasted with contrast table number.If contrast is unsuccessful, single-chip microcomputer continues to move Position receives;If contrasting successfully, then it represents that be properly received complete table number, single-chip microcomputer will jump out the down trigger for receiving table number, also It is that the triggering for receiving table number is interrupted with the bit mask of a mark, interruption is not entered back into.When table number has correctly received, single-chip microcomputer The reception in main circulations will be opened, that is, directly receive the data after table number.According to data protocol contents, signal of checking meter 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, it is truthful data that thus can clearly detect very much after the table number being synchronized to, and according to this principle, is judged Whether the data received after table number are 0x01 and 0xFE (tape verifying position 1).If it is, explanation is not truthful data, then again Synchronous next string list number;If it is not, then showing to receive truthful data, module is switched to into sending mode, sends feedback letter Number.

Claims (2)

1. a kind of reliability method for processing the aerial code stream of wireless remote transmission, it is characterised in that comprise the steps:
Step 1, transmitting terminal send data;
After step 2, receiving terminal receiving data, the data to receiving are handled as follows:The synchronous identification of table tool numbering, true number According to extraction separate and feedback data signal transmission;
The synchronous identification of 2-1. tables tool numbering
After the traffic spike for receiving wireless transmitting terminals, produce a synchronised clock is used to receive the receiver module of receiving terminal Traffic spike, and the synchronised clock is sent to into single-chip microcomputer;After the data resolution module parsing at the received end of traffic spike, Exported to single-chip microcomputer by data resolution module I/O port, single-chip microcomputer using synchronised clock as interrupting to gather parsing after Traffic spike, numbers to traffic spike with table tool is walked out of;
The extraction of 2-2. truthful datas is separated
It is two bytes 0x01 and 0xfe of tape verifying position after table number according to the data form of Shanghai wireless remote transmission agreement, that When each table number is synchronized to, the circulation of synchronous table number is will jump out, then receive the data of two bytes;Detailed process is such as Under:
Setting two flag bits A and B;When table number is synchronized to, by flag bit A, B set;Send out when single-chip microcomputer detects flag bit B During raw set, then start to receive the data after table number, and the circulation that synchronous table number in interruption is shielded by flag bit A, prevent Data after to receiving table number are impacted;
The described 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 microcomputer interrupts data and abandons to first detected, and even Ensuing 8 interruptions data are received in continued access, then 8 data are normal data;Then repeatedly receive again, so as to obtain two The normal data of 8;
In the traffic spike that transmitting terminal sends, truthful data is wherein after a string of table numbers, then to extract truthful data, Then it is truthful data as long as just judging that the data received after table number are not 0x01 and 0xFE;Number after table number is judged According to for 0x01 and during 0xFE, then flag bit A and B is reset, major cycle does not enter back into receiving data, the circulation of the synchronous table number of detection Start synchronous next one table number;So far, constitute truthful data and extract detached circulation;
The transmission of 2-3. feedback data signals
After extracting truthful data, receiving terminal feeds back one and has correctly received truthful data to transmitting terminal, specifically:To receive Receiver module in end is configured to sending mode, and according to the reception agreement of transmitting terminal corresponding data is activation is carried out;When reception mould When block is configured to sending mode, the synchronised clock of its original can become spontaneous generation, the synchronised clock is interrupted as triggering and is sent out Send data;Because the data of transmitting terminal are all to want tape verifying position, in a transmitting mode under receiver module sending number every time According to when, then just to send the data for receiving agreement in the previous check bit interrupted and send that BIT position is 1;Work as feedback coefficient After having sent, return again to detect the circulation of synchronous table number, wait signal of checking meter next time.
2. a kind of reliability method for processing 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 numbering to traffic spike described in 2-2:
2-1-1. is due to table number tape verifying positions of wireless transmitting terminals, and receiving terminal reception mechanism is to constitute one per 8 data Byte is stored, therefore the data for receiving will cannot be synchronized to table number forever, therefore is first arranged and compared data:The comparison data are set to The table number of tape verifying position, and the form received by 8 reception mechanisms;
2-1-2. arranges the memory module mechanism in data receiver, because table number BIT digits altogether are:5 bytes * 9= 45, therefore the memory module mechanism in data receiver arranges as follows:
First, structure space B IT0-BIT44 of 45 is defined, the structure space is joined with the array of 6 bytes Close, then BIT0-BIT7 is equivalent to array [0] in structure space, and structure space B IT8-BIT15 is equivalent to array [1], BIT16-BIT23 is equivalent to array [2], by that analogy;
Secondly, single-chip microcomputer using synchronised clock as interruption, once interrupt, and single-chip microcomputer receives number by each synchronised clock rising edge triggering According to a data in stream signal, and by the data storage in the BIT44 in structure 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, so as to complete once overall moving to right;
Finally, when 45 BIT positions have been received, by the array of this six bytes for receiving and the table number standard for setting before Six bytes are compared;If comparison is identical, then it represents that table number is properly received and synchronized;If not passing through, continue Entirety moves to right and then receives BIT data bit, continues to compare after receiving one, the circulation of the synchronous table number of detection is constituted, until comparing Relatively it is synchronized to correct table number.
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 true CN106685594A (en) 2017-05-17
CN106685594B 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
CN106685594B (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN105024900B (en) A kind of Multi-Machine Synchronous communication system and method
CN102394719B (en) Multichannel HDLC data processing method based on FPGA
CN102355382A (en) Method for analyzing and triggering controller area network (CAN) bus
CN101349573A (en) Photoelectric coding counting device and photoelectric coding counter
CN103473056B (en) A kind of remote measurement configuration file automatic generation method
CN103200249A (en) Method for achieving Internet of things intelligent data gateway system
CN109257367A (en) A kind of data communication protocol and implementation method for industrial internet-of-things terminal
CN103763085B (en) Method and device for high-speed acquisition and combination of multi-path data
CN101521561B (en) High-speed RS485 energy/data transmission terminal
CN104299407B (en) A kind of high-voltage IGBT module real-time data synchronization acquisition system and acquisition method
CN102075767B (en) Video and audio automatic synchronization processing method
CN102916759A (en) Method for calibrating E1 data frame precision time and processing time mark information
CN114362368A (en) Method and system for monitoring abnormal network flow behaviors of intelligent substation
CN102298565A (en) Method for decoding and triggering asynchronous serial bus signals
CN106685594A (en) Reliability method of processing wireless tele-transmission air code stream
CN106406793B (en) The identity configuration method and system and IP address distribution method and system of Node station
CN1395350A (en) Method for quickly-blanking flutter-identifying dislocation of switch quantity
CN103337146B (en) Health monitoring method and health monitoring system of civil engineering structure
CN209200765U (en) A kind of photovoltaic power station monitoring system
CN201242459Y (en) Counting device for photoelectric encoder and photoelectric encoding counter thereof
CN106707892B (en) Two speed resolver wiring automatic detection device and method suitable for photoelectric turntable
CN106487421A (en) Power line carrier communication test system and its method of testing
CN106789296B (en) A kind of processing system and method for station institute's terminal remote signalling and the configuration of line switching signal
CN206442390U (en) A kind of data network test platform of the network switch
CN203037287U (en) Water regimen RTU capable of remotely correcting time

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