CN105141396B - A kind of anti-interference method using sequence code table - Google Patents
A kind of anti-interference method using sequence code table Download PDFInfo
- Publication number
- CN105141396B CN105141396B CN201510600376.0A CN201510600376A CN105141396B CN 105141396 B CN105141396 B CN 105141396B CN 201510600376 A CN201510600376 A CN 201510600376A CN 105141396 B CN105141396 B CN 105141396B
- Authority
- CN
- China
- Prior art keywords
- instruction
- receiving station
- coding codeword
- code table
- coding
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Error Detection And Correction (AREA)
Abstract
The present invention relates to a kind of anti-interference method using sequence code table, forms a sequence code table in certain sequence using multiple coding codewords, this code table is stored in cell site and receiving station simultaneously.When cell site sends an instruction every time, all take out a coding codeword from sequence code table by agreement and director data is recompiled, director data also includes the coding codeword of next instruction.After receiving station receives director data, first decoded with the coding codeword in sequence code table, error detection decoding process is carried out again, only continuous several times error detection decoding process all successfully in the case of, receiving station just praises the instruction for receiving cell site, so avoids influence of the interference to Radio Control System of artificial malice.
Description
Technical field
The invention belongs to radio control field.In radio control field, cell site passes through director data wireless
The mode of transmission is sent to receiving station, and after receiving station receives director data, these data are parsed by the form of agreement,
Extract effective content and performed.
Background technology
The form that self-defining is commonly used in Radio Control System carrys out layout instruction, and a complete instruction generally includes head
Portion's identifier, instruction type, command length, instruction multiple fields such as detailed content and end mark.In order to ensure to instruct transmission can
Lean on, also to increase error correction and error detection coding during transmission.An instruction can not be worked out by being unfamiliar with the people of instruction format and coding method,
Receiving station can be allowed to be properly received and performed.But if someone receives the instruction of cell site in advance, then turn at the appropriate time
Issue receiving station, receiving station will be considered that after receiving this be one be cell site's transmitting instruction, command content will be extracted
And perform.This can cause unforeseen influence to Radio Control System.
The content of the invention
Technical problems to be solved
In order to avoid influence of the interference to Radio Control System of artificial malice in the prior art, the present invention proposes one
Kind uses the anti-interference method of sequence code table.
Technical scheme
A kind of anti-interference method using sequence code table, it is characterised in that step is as follows:
Step 1:By n coding codeword, a sequence code table is lined up by random sequence, while be stored in cell site and reception
In standing;Each coding codeword accounts for a byte;
Step 2:When cell site needs one instruction of transmitting, with any one coding codeword Cx in sequence code table, to working as
Preceding instruction is encoded, and the coding method is that each byte in coding codeword and director data bag is carried out into step-by-step XOR fortune
Calculate;Wherein, 0≤x≤n-1;
Another coding codeword Cy is taken out simultaneously, as the coding codeword sent when instructing next time, and Cy sequence number y
It is put into the director data of present instruction;Wherein, 0≤y≤n-1;
Step 3:After receiving station receives instruction, from sequence code table taking out coding codeword C0~Cn-1 successively is solved
Code, the coding/decoding method is that coding codeword is carried out into bit XOR with each byte received in instruction, after computing
Director data carry out CRC check, untill CRC check is correct or gets last coding codeword;If get last
One coding codeword all cannot get correct CRC, and receiving station will give up the instruction received;If CRC check is correct, receiving station
Instruction will be received to next carry out bit XOR and CRC check;Next receives instruction according to upper one volume for receiving instruction
Code code word sequence number is extracted corresponding coding codeword from sequence code table and decoded;
Step 4:Receiving station carries out bit XOR and CRC check to three instructions continuously received, if three receive instruction
CRC check is correct, and receiving station's working condition will go to tracking state, the instruction of cell site's transmitting from search state, confirmation state successively
It will be correctly received and perform;If the instruction of any of which bar is incorrect, receiving station will stay on search state, not receive execution mistake
Instruction.
Described n is 7.
Beneficial effect
A kind of anti-interference method using sequence code table proposed by the present invention, artificial malicious reconnaissance can be avoided to receive and turned
Interference of the instruction of hair to Radio Control System, and the instruction of cell site's transmitting can be properly received and performed by receiving station,
System work will be more reliable and more stable.
Brief description of the drawings
Fig. 1 receiving stations working condition transition diagram
Embodiment
In conjunction with embodiment, accompanying drawing, the invention will be further described:
The present invention forms a sequence code table in certain sequence using multiple coding codewords, and this code table is stored in hair simultaneously
Penetrate station and receiving station.When cell site sends an instruction every time, a coding codeword pair is all taken out from sequence code table by agreement
Director data recompiles, and director data also includes the coding codeword of next instruction.After receiving station receives director data, first
Decoded with the coding codeword in sequence code table, then carry out error detection decoding process, only continuous several times error detection decoding process is all
In the case of successfully, receiving station just praises the instruction for receiving cell site, so avoids the interference of artificial malice to nothing
The influence of line electric control system.
N coding codeword is selected, lines up a sequence code table in order, the code table is stored in cell site and receiving station simultaneously
In.When cell site needs one instruction of transmitting, a code word Cx, (0≤x≤n-1), as this finger are taken out from sequence code table
The coding codeword of order;Another code word Cy is further taken out, (0≤y≤n-1), as the coding codeword sent when instructing next time, and
The sequence number y of the code word is put into director data;During cell site's transmitting Article 2 instruction, using Cy as instruction encoding code word,
And another code word Cz is taken out, (0≤z≤n-1), as the coding codeword sent when instructing next time, and the sequence of the code word
Number z is put into director data, by that analogy.Cell site encodes and the method for receiving station's decoding is all with coding codeword and instruction number
Step-by-step XOR is carried out according to content.
Receiving station decodes to the director data received, i.e., with decoding code word and director data step-by-step XOR.To solution
Director data after code carries out CRC detection process, if crc check is correct, then it represents that successfully decoded.Receiving station's working condition is divided into
Three kinds:State is searched for, confirm state and tracks state.When receiving station receives first instruction, due to not being properly received instruction before,
Working condition is at searching for state.In the case where searching for state, receiving station successively with sequence code table each code word to receiving
Director data is decoded.If successfully decoded, working condition is transferred to confirmation state, and sets and confirm state decoding code word.Confirming
After state receives Article 2 instruction, using confirming that state decoding code word is decoded, if unsuccessful, search state is returned to;If it is decoded into
Work(, then tracking state is transferred to, and tracking state decoding code word is set.In tracking state, receiving station is received with tracking state decoding codeword decoding
The director data arrived, if success, performs order;Search state is transferred to if unsuccessful, decoding is re-started and confirms.Receiving station's work
It is as shown in Figure 1 to make state transition graph.
For the instruction of artificial malice forwarding, if not receiving instruction before receiving station, working condition is in search
State, then receiving station can be treated as normal instructions and be received, and enters and confirm state.But when confirming state, due to follow-up
The instruction received can not be correctly decoded with decoding code word, so as to cause receiving station's working condition to return to search state;If receiving station
It can not be also correctly decoded in confirmation state or tracking state, this instruction, receiving station is also to revert to search state.Therefore, no matter receive
Stand and what working condition be in, the instruction of artificial malice forwarding is all unable to reach tracking state and is performed.So avoid people
For influence of the interference to Radio Control System of malice.
It is described as follows using the anti-interference method concrete processing procedure of sequence code table:
Step 1:N coding codeword is selected, each code word accounts for a byte, a sequence code table is lined up by random sequence,
The sequence code table is stored in cell site and receiving station simultaneously;
Step 2:It is any from sequence code table to take out a coding codeword Cx when cell site needs one instruction of transmitting, 0≤
X≤n-1, present instruction is encoded as coding codeword, the method for coding is by coding codeword and director data bag
Each byte carries out step-by-step XOR;Another coding codeword Cy, 0≤y≤n-1 are taken out simultaneously, is referred to as sending next time
Coding codeword when making, and the sequence number y of the code word is put into the director data of this instruction according to the frame format shown in table 1;
Step 3:After the instruction that receiving station receives, first coding codeword C0 is taken out from sequence code table, C0 with connecing
Each byte received in instruction carries out bit XOR, CRC check is carried out to decoded director data, if CRC check
Correctly, then it represents that successfully decoded;If CRC check is incorrect, receiving station will take out second coding codeword C1 from sequence code table,
Repeat process above.By that analogy, untill CRC check is correct or gets last coding codeword.If get most
The latter coding codeword all cannot get correct CRC results, and receiving station will give up the instruction received.If CRC check is correct,
Receiving station will take out the coding codeword of next instruction from director data bag, and bit XOR is carried out to subsequently received instruction
And CRC check.The coding codeword sequence number of next instruction is extracted from the data content of upper one instruction, with coding codeword sequence number
Corresponding coding codeword is extracted from sequence code table, next instruction is decoded.Receiving station is carried out to continuous three instructions
Bit XOR and CRC check, if three instructions can obtain correct CRC results, receiving station's working condition will be successively from search
State, confirm that state goes to tracking state, the instruction of cell site's transmitting can be correctly received and perform;If wherein there is one to instruct not just
Really, receiving station will stay on search state, will not receive the instruction for performing mistake.
Assuming that the frame format of Radio Control System is as follows:
The frame format of the Radio Control System of table 1
Frame head | Content frame | Next frame code word | CRC check | Postamble |
Wherein, " frame head " is ASC characters 0x02;" content frame " is assumed to single byte 0x01;" next frame code word " is sequence
The index of code table, take a byte;" CRC check " takes two bytes, and high byte is preceding, and for low byte rear, generation is multinomial
Formula is x16+x12+x5+ 1, CRC check coding is carried out to the content of " content frame " and " next code word " two fields;" frame head " is
ASC characters 0x03.
Assuming that the content of sequence code table is as follows:
The sequence code table content of table 2
Index | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Password | 0x28 | 0x51 | 0x33 | 0x92 | 0x17 | 0x46 | 0x81 | 0x72 |
Assuming that it is 1,7,3,5 coding codeword that cell site selects the index in sequence code table successively, coding method is step-by-step
XOR, form following presumptive instruction (data in instruction are 16 binary datas):
① 02 01 07 43D6 03
② 02 01 03 03 52 03
③ 02 01 05 63 94 03
After these instructions are encoded, instruction to be launched is formed:
a) 02 50 56 12 87 03
b) 02 73 71 71 20 03
c) 02 93 97F1 06 03
Cell site sends instruction successively by order a), b), c).Receiving station is in search state, when receiving a) instruction, by
It is first instruction in this, receiving station needs to search for coding codeword from sequence code table.It first takes out index as 0 coding codeword
Content (not including frame head, postamble) step-by-step XOR in 0x28, with instruction, obtained result are:02 78 7E 3A AF 03.
CRC check calculating is carried out to the 7E 3A AF of 16 binary data string 78, is not as a result 0, shows CRC check mistake.Receiving station is then
Take out index is for 1 coding codeword 0x51, the result of decoding:02 01 07 43 D6 03.To 16 binary data strings 01 07
43 D6 carry out CRC check calculating, are as a result 0, show that CRC check is correct.Now receiving station's working condition switchs to confirm state, from
The coding codeword index 0x07 (coding codeword 0x72) of next instruction is taken out in instruction, waits the arrival of next instruction.
When receiving station receives b) instruction, it is with the coding codeword 0x72 results decoded:02 01 03 03 52 03.To 16
Binary data string 01 03 03 52 carries out CRC check calculating, is as a result 0, shows that CRC check is correct.Now receiving station's work shape
State switchs to track state, and the coding codeword index 0x03 (coding codeword 0x92) of next instruction is taken out from instruction, is waited next
The arrival of bar instruction.
When receiving station receives c) instruction, it is with the coding codeword 0x92 results decoded:02 01 05 63 94 03.To 16
Binary data string 01 05 63 94 carries out CRC check calculating, is as a result 0, shows that CRC check is correct.So far, receiving station thinks
The instruction of reception both is from cell site really, can correct execute instruction requirement content, and next finger is taken out from instruction
The coding codeword index 0x05 (coding codeword 0x46) of order.
If the instruction a) that now artificial malicious reconnaissance is received and forwarded will use coding codeword 0x46 to receiving station, receiving station
A) decoded to instructing, obtained result is:01 16 10 54 C1 03.CRC is carried out to the C1 of 16 binary data string 16 10 54
Verification calculates, and is not as a result 0, shows CRC check mistake, receiving station will give up the instruction, and not perform.It is if electric in receiving station
When just receive the instruction a) of malice forwarding, receiving station can search matching coding codeword from sequence code table, and work shape
State also can go to confirmation state from search state, wait further confirming that for subsequent instructions.Hereafter it is received again by the instruction of malice forwarding
A), receiving station will be unable to obtain correct result to the instruction decoding, CRC check, and receiver can give up this instruction, and work
State rotates back into search state.
Receiving station is can be seen that for can be with using the instruction of sequence code table normal encoding from above-mentioned receiving station's course of work
It is properly received, and the instruction for receiving and forwarding for artificial malicious reconnaissance will be given up, and not perform, so as to avoid to wireless
The influence of electric control system.
Claims (2)
1. a kind of anti-interference method using sequence code table, it is characterised in that step is as follows:
Step 1:By n coding codeword, a sequence code table is lined up by random sequence, while be stored in cell site and receiving station
In;Each coding codeword accounts for a byte;
Step 2:When cell site needs one instruction of transmitting, with any one coding codeword Cx in sequence code table, to currently referring to
Order is encoded, and the coding method is that each byte in coding codeword and director data bag is carried out into step-by-step XOR;
Wherein, 0≤x≤n-1;
Another coding codeword Cy is taken out simultaneously, as the coding codeword sent when instructing next time, and Cy sequence number y is put into
In the director data of present instruction;Wherein, 0≤y≤n-1;
Step 3:After receiving station receives instruction, from sequence code table taking out coding codeword C0~Cn-1 successively is decoded, institute
It is that coding codeword is carried out into bit XOR with each byte received in instruction to state coding/decoding method, to the instruction after computing
Data carry out CRC check, untill CRC check is correct or gets last coding codeword;If get last volume
Code code word all cannot get correct CRC, and receiving station will give up the instruction received;If CRC check is correct, receiving station will be under
One receives instruction and carries out bit XOR and CRC check;Next receives instruction according to upper one coding codeword for receiving instruction
Sequence number is extracted corresponding coding codeword from sequence code table and decoded;
Step 4:Receiving station carries out bit XOR and CRC check to three instructions continuously received, if three receive instruction CRC schools
Test correctly, receiving station's working condition will go to tracking state from search state, confirmation state successively, and the instruction of cell site's transmitting will be by just
Really receive and perform;If the instruction of any of which bar is incorrect, receiving station will stay on search state, not receive the finger for performing mistake
Order.
2. a kind of anti-interference method using sequence code table according to claim 1, it is characterised in that described n is 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510600376.0A CN105141396B (en) | 2015-09-18 | 2015-09-18 | A kind of anti-interference method using sequence code table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510600376.0A CN105141396B (en) | 2015-09-18 | 2015-09-18 | A kind of anti-interference method using sequence code table |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105141396A CN105141396A (en) | 2015-12-09 |
CN105141396B true CN105141396B (en) | 2018-03-02 |
Family
ID=54726621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510600376.0A Active CN105141396B (en) | 2015-09-18 | 2015-09-18 | A kind of anti-interference method using sequence code table |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105141396B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010075040A1 (en) * | 2008-12-22 | 2010-07-01 | Qualcomm Incorporated | Post decoding soft interference cancellation |
CN102263612A (en) * | 2011-07-18 | 2011-11-30 | 杭州晟联通信技术有限公司 | Error detection method used for data block and equipment thereof |
CN103516478A (en) * | 2012-06-29 | 2014-01-15 | 华为技术有限公司 | Method and device for information sending |
CN104242957A (en) * | 2013-06-09 | 2014-12-24 | 华为技术有限公司 | Decoding processing method and decoder |
-
2015
- 2015-09-18 CN CN201510600376.0A patent/CN105141396B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010075040A1 (en) * | 2008-12-22 | 2010-07-01 | Qualcomm Incorporated | Post decoding soft interference cancellation |
CN102263612A (en) * | 2011-07-18 | 2011-11-30 | 杭州晟联通信技术有限公司 | Error detection method used for data block and equipment thereof |
CN103516478A (en) * | 2012-06-29 | 2014-01-15 | 华为技术有限公司 | Method and device for information sending |
CN104242957A (en) * | 2013-06-09 | 2014-12-24 | 华为技术有限公司 | Decoding processing method and decoder |
Non-Patent Citations (1)
Title |
---|
一种无线通信数据接收位同步模块设计;卢山等;《数字技术与应用》;20141115;53,55 * |
Also Published As
Publication number | Publication date |
---|---|
CN105141396A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106209113A (en) | A kind of decoding method of polarization code | |
CN110113132A (en) | A kind of coding and decoding method and terminal | |
US11211947B2 (en) | Polar code encoding method and apparatus, polar code decoding method and apparatus, and device | |
CN106330207B (en) | Joint-detection decoding algorithm based on Turbo-SCMA system | |
US10892850B2 (en) | Method and apparatus for carrying identification information | |
CN103546239B (en) | Blind test system and blind test method for LTE (long term evolution) downlink control channel | |
CN106533615B (en) | Decoding method and circuit, memory controller, storage device and controller | |
CN103324632B (en) | A kind of concept identification method based on Cooperative Study and device | |
CN103117753A (en) | Tail-biting convolutional decoding apparatus and decoding method | |
CN101441703A (en) | Coding and decoding circuit of super high frequency radio frequency personal identification system | |
CN107529158A (en) | A kind of method for obtaining LTE terminal Cell Radio Network Temporary Identifier/Identity, Cell-RNTI code | |
CN109921803A (en) | High density linear block codes interpretation method neural network based | |
CN105141396B (en) | A kind of anti-interference method using sequence code table | |
CN109150383A (en) | A kind of coding method of Polar code and device | |
CN105376056B (en) | The cryptographic key negotiation method of Symmetric key generation and distribution based on radio channel characteristic | |
CN106530671A (en) | Infrared remote control, infrared receiving device and infrared coding check method and system | |
CN101471742A (en) | Method for rapidly decoding linear block code for short distance wireless communication | |
CN103488617A (en) | Data interception method and device | |
CN102195743A (en) | Coding scheme of dynamic real-time fountain code | |
CN107707329B (en) | Sparse code multiple access system and multi-user detection method thereof | |
CN104702293A (en) | Dual-mode BCH decoder circuit for body area network | |
EP3422620A1 (en) | Polar code sequence construction method and device | |
CN102916780A (en) | Fountain code coding and decoding method for eliminating short loops | |
CN106850126A (en) | Signal processing method and device | |
CN103516478B (en) | Method for sending information and equipment |
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 |