CN106209311A - A kind of data processing method - Google Patents
A kind of data processing method Download PDFInfo
- Publication number
- CN106209311A CN106209311A CN201610513365.3A CN201610513365A CN106209311A CN 106209311 A CN106209311 A CN 106209311A CN 201610513365 A CN201610513365 A CN 201610513365A CN 106209311 A CN106209311 A CN 106209311A
- Authority
- CN
- China
- Prior art keywords
- packet header
- data
- packet
- judges
- processing method
- 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.)
- Pending
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
-
- 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/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The open a kind of data processing method of the present invention, raising packet header recognition accuracy in multi-channel data bag transmits, wherein, and including: data input step, input the data in the packet of multiple passage;Channel monitoring step, for multiple passages, is monitored packet simultaneously;Packet header detecting step, detects the packet header situation of a certain passage;Packet header catches and judges step, judges the most successfully capturing packet header;To catching in above-mentioned packet header, error handling steps, judges that the mistake being judged as not capturing the passage in packet header in step processes;And testing result output step, the result output obtained by being detected.
Description
Technical field
The present invention relates to technical field of data processing, identify particularly to a kind of multi-channel data bag transmission improves packet header
The method of accuracy.
Background technology
In the communications field, data are sent, are stored, transmission etc. time, occasional is damaged.Moment factor (such as voltage
Fluctuation, alpha particle etc.) or more serious problem (such as element fault) may result in corrupted data.Either which kind of reason causes
Corrupted data, be required to protective measure with detection and correct error in data seriousness.Currently, there is the detection of many methods and entangle
Correction data mistake, from simple even-odd check to the complicated error correcting code (ECC) that can detect and correct multi-bit error.Generally,
Storage device (such as hard disk drive) utilizes primary chunk storage order to run.For data storage device in early days, logical
Cross and physical address is sent to storage device and in storage device, reads data, then utilize physical address to retrieve data.By
In relating to process hardly, the probability of retrieval error data is smaller.But, along with the function of storage device becomes increasingly
Powerful, the probability of retrieval error data adds.Currently, many data storage devices include the some type of ground received
Mapping between the actual physical address of location and storage data.From the point of view of file system, file system can send it and understand
Data location or the physical address of storage data.Data storage device can reorientate data with avoid damage block,
Thus more effectively store data etc..Data storage device processes, as processing logical address, the physical address received.
More advanced storage device can allow at the external memory file of block storage or object.The storage of object and file typically requires
The logical-physical of type maps logical address is mapped to the physical address of storage data, this mapping may ratio typically
Mapping complex in random access device is much.Although data can be protected in whole process and storing process, but about reflecting
The complexity of the increase of other operations penetrated and store request makes to ask to cause retrieval different for the storage of particular piece of data
Probability in the data asked increases.Need a kind of method to come by assuring that the data asked are retrieved numbers
According to, thus improve the reliability of data retrieval.
Data are transmitted in physical channel and are encapsulated in the way of packet often, and downstream receiver needs to catch packet header
To distinguish the border of data.Packet header is often a string special character composition, for representing the initial border of bag, if without
Special coding (as 8b10b encodes), this goes here and there, and spcial character is entirely possible to be occurred in valid data, thus causes recipient
The erroneous judgement of (software or hardware).This method for noncoding multichannel packet transmit present in problem, it is proposed that
A kind of data processing method, can greatly reduce the False Rate in packet header.
The present invention is contemplated that, it is assumed that a passage middle wrapping head character string occurs in the probability in normal data packet and is
Alpha (Alpha), then two passage middle wrapping head character strings simultaneously appear in the probability in normal data packet is alpha*
alpha.If alpha is originally as in a small amount, then its square is more in a small amount.Calculate with probability and learn that two passages catch packet header with mistiming
Probability extremely low, in actual applications can be as judgement, if two passages simultaneously capture packet header, then this packet header is true.
The problem that current packet header detection method exists can well be solved.
Summary of the invention
In order to solve above-mentioned technical problem, the present invention provides a kind of data processing method, in multi-channel data bag transmits
Raising packet header recognition accuracy, wherein, including: data input step, input the packet data of multiple passage;Channel monitoring walks
Suddenly, for multiple passages, packet is monitored simultaneously;Packet header detecting step, examines the packet header situation of a certain passage
Survey;Packet header catches and judges step, judges the most successfully capturing packet header;Error handling steps, catches in above-mentioned packet header
Catch the mistake judging to be judged as not capturing the passage in packet header in step to process;And testing result output step, by institute
Result output obtained by detection.
In the data processing method of the present invention, it is also possible to be, in channel monitoring step, the packet header time of advent of packet
Front and back can be staggered in agreement is permitted some time intervals.
In the data processing method of the present invention, it is also possible to be, catch in packet header and judge in step, if between certain time
Every interior, only a data channel captures packet header, and other data channel does not all capture packet header, then judge that this packet header is as by mistake
Catch, proceed monitoring.
In the data processing method of the present invention, it is also possible to be, catch in packet header and judge in step, if between certain time
All capture packet header every interior all passages, be then judged as catching packet header success.
In the data processing method of the present invention, it is also possible to be, in channel monitoring step, if in a certain time interval
At least two passages capture packet header, and have a passage not capture packet header, then be judged as not capturing the number in packet header
Make mistakes according to passage, wrong routine processes should be produced.
Accompanying drawing explanation
Fig. 1 is the flow chart of data processing method involved in the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it will be appreciated that described herein
Specific embodiment only in order to explain the present invention, is not intended to limit the present invention.Described embodiment is only the present invention one
Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making
The all other embodiments obtained under creative work premise, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, the present invention's improves recognition accuracy data processing method in packet header in multi-channel data bag transmits
In, first, in data input step S1, for, in the multiple data channel included by communication system, inputting multiple passage
Packet data, this packet data can be the various data comprising text, picture, Voice & Video information.
It follows that in channel monitoring step S2, for the multiple passages included by communication system, same to each packet
Time be monitored, the packet header of packet is caught.In this channel monitoring step S2, the packet header of packet exists the time of advent
Front and back can be staggered in agreement license some time intervals.In the detecting step S3 of packet header, the packet header situation of a certain passage is entered
Row detection.
Packet header catches and judges in step S3, judges the most successfully capturing packet header.In error handling steps S4, right
Catch in above-mentioned packet header and judge that the mistake being judged as not capturing the passage in packet header in step processes.And testing result is defeated
Go out step, the result output obtained by being detected.
In the data processing method of the present invention, catch in packet header and judge in step S3, if in a certain time interval, only
There is a data channel to capture packet header, and other data channel does not all capture packet header, then judge, as catching by mistake, to continue in this packet header
Continue and be monitored.
In the data processing method of the present invention, catch in packet header and judge in step S3, if institute in a certain time interval
There is passage all to capture packet header, be then judged as catching packet header success.
In the data processing method of the present invention, catch in packet header and judge in step S3, if the most extremely
Rare two passages capture packet header, and have a passage not capture packet header, then be judged as not capturing the data in packet header
Passage is made mistakes, and should produce wrong routine processes.
This invention, for multichannel (port number is more than 2) the packet transmission in non-coding band packet header, is devoted to improve packet header
The accuracy identified.This method is based on probability statistics, it is assumed that a passage middle wrapping head character string occurs in normal data packet
Probability is alpha, then two passage middle wrapping head character strings simultaneously appear in the probability in normal data packet is alpha*alpha.
If alpha is originally as in a small amount, then its square is more in a small amount.Calculate with probability and learn that two passages catch the probability in packet header with mistiming
Extremely low, can judge with this in actual applications, if two passages simultaneously capture packet header, then this packet header is true.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all answer
Contain within protection scope of the present invention.
Claims (6)
1. a data processing method, improves packet header recognition accuracy in multi-channel data bag transmits, it is characterised in that
Including:
Data input step, inputs the packet data of multiple passage;
Channel monitoring step, for multiple passages, is monitored packet simultaneously;
Packet header detecting step, detects the packet header situation of a certain passage;
Packet header catches and judges step, judges the most successfully capturing packet header;
To catching in above-mentioned packet header, error handling steps, judges that the mistake being judged as not capturing the passage in packet header in step is carried out
Process;And
Testing result output step, the result output obtained by being detected.
Data processing method the most according to claim 1, it is characterised in that
In described channel monitoring step, can front and back stagger some times the time of advent in agreement is permitted in the packet header of packet
Interval.
Data processing method the most according to claim 2, it is characterised in that
Catching in packet header judges in step, if in a certain time interval, only a data channel captures packet header, and its
Its data channel does not all capture packet header, then judge that this packet header, as catching by mistake, proceeds monitoring.
Data processing method the most according to claim 2, it is characterised in that
Catching in packet header judges in step, if the most all passages all capture packet header, then is judged as catching
Catch packet header success.
Data processing method the most according to claim 3, it is characterised in that
Catching in packet header judges in step, if the most all passages all capture packet header, then is judged as catching
Catch packet header success.
Data processing method the most according to claim 2, it is characterised in that
In described channel monitoring step, if the most at least two passages capture packet header, Er Qieyou
One passage does not captures packet header, then be judged as that the data channel not capturing packet header is made mistakes, and should produce wrong routine processes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513365.3A CN106209311A (en) | 2016-06-30 | 2016-06-30 | A kind of data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513365.3A CN106209311A (en) | 2016-06-30 | 2016-06-30 | A kind of data processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106209311A true CN106209311A (en) | 2016-12-07 |
Family
ID=57463188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610513365.3A Pending CN106209311A (en) | 2016-06-30 | 2016-06-30 | A kind of data processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106209311A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237318A (en) * | 2007-01-29 | 2008-08-06 | 中兴通讯股份有限公司 | Multi-channel data transmission synchronization device |
CN102035618A (en) * | 2009-09-29 | 2011-04-27 | 上海华为技术有限公司 | Data transmission method, device and system |
CN102457441A (en) * | 2012-01-16 | 2012-05-16 | 瑞斯康达科技发展股份有限公司 | PSN (Packet Switched Network) data packet processing method and device |
CN105302753A (en) * | 2015-11-13 | 2016-02-03 | 中国电子科技集团公司第五十四研究所 | Multi-channel HDLC data processing device based on FPGA and FIFO chips |
-
2016
- 2016-06-30 CN CN201610513365.3A patent/CN106209311A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237318A (en) * | 2007-01-29 | 2008-08-06 | 中兴通讯股份有限公司 | Multi-channel data transmission synchronization device |
CN102035618A (en) * | 2009-09-29 | 2011-04-27 | 上海华为技术有限公司 | Data transmission method, device and system |
CN102035618B (en) * | 2009-09-29 | 2013-04-24 | 上海华为技术有限公司 | Data transmission method, device and system |
CN102457441A (en) * | 2012-01-16 | 2012-05-16 | 瑞斯康达科技发展股份有限公司 | PSN (Packet Switched Network) data packet processing method and device |
CN105302753A (en) * | 2015-11-13 | 2016-02-03 | 中国电子科技集团公司第五十四研究所 | Multi-channel HDLC data processing device based on FPGA and FIFO chips |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7228348B1 (en) | System and method for triggering communications data capture | |
US20110202620A1 (en) | Method and device for intercepting junk mail | |
US9397790B2 (en) | System and method for unidirectional data transmission | |
CN109660539A (en) | It falls device identification method, device, electronic equipment and storage medium | |
CN106357618A (en) | Web abnormality detection method and device | |
CN103001946B (en) | Website security detection method and equipment | |
CN107172122A (en) | A kind of abnormality eliminating method and device | |
CN102970282B (en) | website security detection system | |
CN108280953A (en) | Video detecting alarm method and device, storage medium, camera | |
CN101739306A (en) | Method for processing data errors, and device and system for checking and correcting data errors | |
US20170149800A1 (en) | System and method for information security management based on application level log analysis | |
CN102135925A (en) | Method and device for detecting error check and correcting memory | |
CN109413016A (en) | A kind of rule-based message detecting method and device | |
TW202112110A (en) | Attack path detection method, attack path detection system and non-transitory computer-readable medium | |
CN112398843A (en) | Detection method and device based on http smuggling attack | |
US8782504B2 (en) | Trend-analysis scheme for reliably reading data values from memory | |
CN107609427A (en) | A kind of storage method and system of EEPROM data | |
US20210075812A1 (en) | A system and a method for sequential anomaly revealing in a computer network | |
CN110162973A (en) | A kind of Webshell file test method and device | |
CN106209311A (en) | A kind of data processing method | |
CN113132393A (en) | Abnormality detection method, abnormality detection device, electronic apparatus, and storage medium | |
CN106815153A (en) | A kind of method for secure storing, device and system | |
CN113742730B (en) | Malicious code detection method, system and computer readable storage medium | |
CN109032976A (en) | A kind for the treatment of method and apparatus of physical channel | |
CN100561953C (en) | A kind of method of recording and diagnosing data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |
|
WD01 | Invention patent application deemed withdrawn after publication |