CN101034949B - Correction method for frame number transmission error - Google Patents
Correction method for frame number transmission error Download PDFInfo
- Publication number
- CN101034949B CN101034949B CN2006100573653A CN200610057365A CN101034949B CN 101034949 B CN101034949 B CN 101034949B CN 2006100573653 A CN2006100573653 A CN 2006100573653A CN 200610057365 A CN200610057365 A CN 200610057365A CN 101034949 B CN101034949 B CN 101034949B
- Authority
- CN
- China
- Prior art keywords
- frame number
- rule
- frame
- transmission
- current transmission
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
This invention discloses a error correction method,which exits in export under the last frame, in accordance with the options of independent production output frame; then read the current transmission frame, and in accordance with the previous reading of the transmission frame, the judgment of whether current transmission frame the frame of law; according to the results ,record the number of frames; When referred to the continuous transmission of the reading frame is smaller than the number of default, it will be referred to independent generation options as a final output frame, or it will read transmission in the current frame, as a final output of the output frame. The invention can be removed quickly and efficiently increase in the frame, sending source, transmission channel, the disturbances to the receiver and realized the receiver and the transmitter will work in the same pace.
Description
Technical field
The present invention relates to data processing and communication technique field, relate in particular to the correcting method of a kind of frame number transmission error in rule frame number system.
Background technology
In the base station of TD-SCDMA (BS, Base Station), master control borad (CB, ControlBoard) at each radio frames (frame is 10 milliseconds) distribution frame number (FN, Frame Number) and frame clock (FR, Frame clock) give each veneer, to synchronize one's steps.FN of every frame distribution, from 0 to 4095, Infinite Cyclic; FR positive pulse of every frame distribution.
Other veneers of base station BS (being referred to as OB, Other Board) receive FN/FR by backboard LVDS (Low-Voltage Differential Signaling, Low Voltage Differential Signal).FN is decoding in the FPGA of OB (Field-Programmable Gate Array, field programmable gate array) or EPLD (Electrically Programmable Logic Device, electric controlled programmable logic device).FPGA or EPLD trigger CPU every FR and interrupt, and read FN by CPU.
When the BS complete machine was done static or surge, the frame number FN that the CPU of discovery OB reads had entanglement, causes BS complete machine synchronization failure, thereby causes the conversation fault.By analysis, or there is problem in master control borad CB transmission source, or backplane channel has problem, and perhaps the reception of OB has problem.
Above problem not only is confined to TD-SCDMA, in systems such as GSM, PCS, WCDMA, also has similar problem.
Here the concrete reason that causes fault is put aside, but will be guaranteed can find someway when following a few class situation occurring, this method can effectively be removed the various interference that are added on frame number transmission source, transmission channel, the recipient:
(1) under the situation that CB transmission source FN does not make mistakes, the CPU of OB receives frame number FN can be owing to backplane channel or disturbed the makeing mistakes of OB decoding reception, the probability maximum that this situation occurs;
(2) send that source FN makes mistakes but after recovering, the CPU of OB receives frame number FN and also can recover at once at CB, the probability of this situation appearance is very little;
(3) problem because the FN that the FR burr of generations such as static or surge causes makes mistakes also can be evaded.
Traditional solution focuses on from hardware and improves the quality that signal sends, transmits, receives that cost is very high, and can't thoroughly eradicate this type of fault.Therefore, need a kind of method that can correct frame number transmission error in rule frame number system fast, described mistake may be that static, surge or other reasons cause.
Summary of the invention
Technical problem to be solved by this invention is, a kind of correcting method of frame number transmission error is provided, and can correct frame number transmission error fast in rule frame number system, to solve the frame number transmission error problem that causes owing to reasons such as static, surges.
The invention provides a kind of correcting method of frame number transmission error, be used for rule frame number system, comprise the steps:
(1) at first according to the output frame number of last time, independently generates alternative output frame number according to the frame number rule;
(2) read current transmission frame number, and current transmission frame number is compared with the last transmission frame number that reads, judge whether current transmission frame number meets the frame number rule;
(3) according to described judged result, the number of times of the transmission frame number that meets rule continuously that record reads;
(4) when the described reading times that meets the transmission frame number of rule continuously is not more than preset value, the alternative output frame number of described autonomous generation is exported as final output frame number; Otherwise, the described current transmission frame number that reads is exported as final output frame number.
Wherein, described frame number rule can be any rule, for example increasing or decreasing.
Described step (3) comprising:
Reading times parameter I ndex is set;
When judged result is that the described current transmission frame number that reads meets rule, then described parameter I ndex adds up;
When judged result is that the described current transmission frame number that reads does not meet rule, then described parameter I ndex zero clearing.
Described step (4) comprising:
Current transmission frame number is saved as current effective frame number;
Whether the currency of judging described parameter I ndex is not more than preset value;
If be not more than, then the alternative output frame number of described autonomous generation is exported as final output frame number;
If greater than, then described current effective frame number is saved as the output of output frame number, simultaneously with the zero clearing of Index parameter.
Description of drawings
Fig. 1 is a method schematic block diagram of correcting error of transmission in the rule frame number system;
Fig. 2 is the flow chart of the correcting method of frame number transmission error of the present invention;
Fig. 3 is the flow chart according to the embodiment of the method for the invention.
Embodiment
The present invention utilizes in the rule frame number system frame number characteristics clocklike, proposed fast and effeciently to remove the method that frame number sends the various interference on source, transmission channel, the recipient that is added in, it is the correcting method of a kind of frame number transmission error of the present invention, and reality realized this method, reached purpose low-cost, high reliability.
So-called rule frame number system is meant that the frame number FN that distributes in the system is clocklike among the present invention.Increase progressively such as FN from 0 to 4095, Infinite Cyclic, perhaps FN changes with certain specific rule, and perhaps FN meets rule template or the like.
As shown in Figure 1, be the schematic diagram of the correcting method of frame number transmission error in the rule frame number system, wherein, the variable and the parameter that relate generally to comprise: transmission frame number FN0, effective frame number FN1, effectively frame number sequence number index exports frame number FN2.Its core concept is, utilizes the regularity of frame number, analyzes FN0 and whether meets rule, if meet rule to setting degree index, then removes to upgrade FN2 with FN0.FN1 (index) then plays one therein and detects rule and upgrade bridge.Except that the renewal that is subjected to above-mentioned FN0 influenced, FN2 itself independently produced according to set rule always.
As shown in Figure 2, for realizing the flow chart of the method for the invention, comprise the steps:
Step 201: according to the output frame number of last time, according to the alternative output frame number of the autonomous generation of frame number rule.Wherein, described frame number rule is for increasing progressively;
Step 202: read current transmission frame number, and, judge whether deserve preceding transmission frame number meets the frame number rule according to the transmission frame number that the last time reads.Just current transmission frame number is compared with the last transmission frame number that reads, judge whether to meet described frame number rule;
Step 203: according to described judged result, the number of times of the transmission frame number that meets rule continuously that record reads, promptly, reading times parameter I ndex is set, when judged result is that the described current transmission frame number that reads meets rule, then described parameter I ndex adds up, when judged result is that the described current transmission frame number that reads does not meet rule, then described parameter I ndex zero clearing;
Step 204: when the described reading times that meets the transmission frame number of rule continuously is not more than preset value, the alternative output frame number of described autonomous generation is exported as final output frame number, otherwise, the described current transmission frame number that reads is exported as final output frame number.
As shown in Figure 3, the flow chart for the specific embodiment of using the method for the invention comprises the steps:
At first, give down trigger of processor, the expression frame number is handled beginning;
Step 301: read current transmission frame number FN0;
Step 302: judge whether to be operation first, if operation first then enters step 303, otherwise enters step 304;
Step 303:, make index=0, FN1 (0)=FN2=FN0 if operation first then will be carried out initialization to FN0, FN1, FN2, index;
Step 304: non-when moving first, judge according to the frame number rule whether current transmission frame number FN0 circulates and increase progressively promptly whether meet the frame number rule, meet, then enter step 305, do not meet, then enter step 306;
Step 305: if meet the frame number rule, then effectively the sequence number index of frame number FN1 increases 1, then, enters step 308;
Step 306: if do not meet the frame number rule, then effectively the sequence number of frame number FN1 is clear 0, enters step 307;
Step 307: effective frame number FN1 (index)=FN0 is about to current transmission frame number and saves as current effective frame number;
Step 308: output frame number FN2 produces by rule automatically;
Step 309: whether the sequence number index that judges FN1 greater than its preset value, if greater than, then enter step 310, if be not more than, then enter step 313;
Step 310:, make FN2=FN1 (index) if the sequence number index of FN1 then will upgrade greater than its preset value;
Step 311:, make index=0 with the zero clearing of Index parameter;
Step 312: current effective frame number FN1 is saved as output frame number FN2 output, make FN1 (index)=FN2, frame number processing simultaneously finishes;
Step 313:FN2 exports as final output frame number by the alternative output frame number (step 308) that rule produces automatically, and the frame number processing finishes.
The method of the invention has finally effectively been removed interference, has realized the synchronous of receiving terminal and transmitting terminal.
To using the whole process of the method for the invention, available following table is made further aid illustration.Wherein, the Index set point is 1, and rule is for increasing progressively.In this table two kinds of error situations are arranged, a kind of is indivedual mistakes, and another kind is an integral slipping.The meaning of Index just is to prevent the integral slipping of making a start, and its size can be with reference to the needs of the sensitivity of the integral slipping of making a start and set.
Here be noted that: FN1 is array, if when FN0 meets rule, index adds up, assignment be FN1 (index)=FN0; When if FN0 does not meet rule, index equals 0 all the time, assignment be FN1 (0)=FN0.
Vicious FN0 | Effective FN1 before Index judges | FN2 before Index judges | Index before Index judges | Effective FN1 after Index judges | FN2 after Index judges (promptly final output) | Index after Index judges |
0 | FN(0) =0 | 0 | 0 | FN(0) =0 | 0 | 0 |
1 | FN(0) =0 FN(1) =1 | 1 | 1 | FN(0) =0 FN(1) =1 | 1 | 1 |
2 | FN(0) =0 FN(1) =1 FN(2) =2 | 2 | 2>1 | FN(0) =2 | 2 | 0 |
5 | FN(0) =5 | 3 | 0 | FN(0) =5 | 3 | 0 |
3 | FN(0) =3 | 4 | 0 | FN(0) =3 | 4 | 0 |
5 | FN(0) =5 | 5 | 0 | FN(0) =5 | 5 | 0 |
6 | FN(0) =5 FN(1) =6 | 6 | 1 | FN(0) =5 FN(1) =6 | 6 | 1 |
7 | FN(0) =5 FN(1) =6 FN(2) =7 | 7 | 2>1 | FN(0) =7 | 7 | 0 |
9 | FN(0) =9 | 8 | 0 | FN(0) =9 | 8 | 0 |
10 | FN(0) =9 FN(1) =10 | 9 | 1 | FN(0) =9 FN(1) =10 | 9 | 1 |
11 | FN(0) | 10 | 2>1 | FN(0) | 11 | 0 |
? | =9 FN(1) =10 FN(2) =11 | ? | ? | =11 | ? | ? |
12 | FN(0) =11 FN(1) =12 | 12 | 1 | FN(0) =11 FN(1) =12 | 12 | 1 |
In sum, flexibility of the present invention mainly embodies as follows:
(1) the method for the invention is not limited to realize with CPU, also can realize in what processor in office or the programmable logic device (FPGA/EPLD);
(2) flexibility of the present invention is that also the transmission of FN0 is not limited to backboard and LVDS, and other similar transmission methods also can use this method.
Use a kind of method that in rule frame number system, can correct frame number transmission error proposed by the invention, can effectively remove the various interference that are added in frame number transmission source, transmission channel, the decoding reception, frame number transmission error in any rule frame number of the correction system reaches purpose low-cost, high reliability fast.
Though describe embodiments of the invention in conjunction with the accompanying drawings in detail, for those skilled in the art, still can be under the prerequisite that does not change the spirit and scope of the invention and make modification to above-mentioned execution mode.
Claims (4)
1. the correcting method of a frame number transmission error is used for rule frame number system, it is characterized in that,
Comprise the steps:
(1) according to the output frame number of last time, independently generates alternative output frame number according to the frame number rule;
(2) read current transmission frame number, and current transmission frame number is compared with the last transmission frame number that reads, judge whether current transmission frame number meets the frame number rule;
(3) according to described judged result, the number of times of the transmission frame number that meets rule continuously that record reads;
(4) when the described reading times that meets the transmission frame number of rule continuously is not more than preset value, the alternative output frame number of described autonomous generation is exported as final output frame number; Otherwise, the described current transmission frame number that reads is exported as final output frame number.
2. the method for claim 1 is characterized in that, described frame number rule is for increasing progressively.
3. the method for claim 1 is characterized in that, described step (3) comprising:
Reading times parameter I ndex is set;
When judged result is that the described current transmission frame number that reads meets rule, then described parameter I ndex adds up;
When judged result is that the described current transmission frame number that reads does not meet rule, then described parameter I ndex zero clearing.
4. method as claimed in claim 3 is characterized in that, described step (4) comprising:
Current transmission frame number is saved as current effective frame number;
Whether the currency of judging described parameter I ndex is not more than preset value;
If be not more than, then the alternative output frame number of described autonomous generation is exported as final output frame number;
If greater than, then described current effective frame number is saved as the output of output frame number, simultaneously with the zero clearing of Index parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100573653A CN101034949B (en) | 2006-03-10 | 2006-03-10 | Correction method for frame number transmission error |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100573653A CN101034949B (en) | 2006-03-10 | 2006-03-10 | Correction method for frame number transmission error |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101034949A CN101034949A (en) | 2007-09-12 |
CN101034949B true CN101034949B (en) | 2011-11-30 |
Family
ID=38731274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006100573653A Expired - Fee Related CN101034949B (en) | 2006-03-10 | 2006-03-10 | Correction method for frame number transmission error |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101034949B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104415B (en) * | 2009-12-17 | 2015-05-20 | 中兴通讯股份有限公司 | Frame frequency and frame number abnormal processing method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1171678A (en) * | 1996-07-18 | 1998-01-28 | 松下电器产业株式会社 | Refeeding controlling method |
US6259660B1 (en) * | 1998-04-27 | 2001-07-10 | Kabushiki Kaisha Toshiba | Optical disk apparatus having error correction circuit |
CN1607844A (en) * | 2003-10-16 | 2005-04-20 | 华为技术有限公司 | Macro-diversity combining method in mobile communication system |
-
2006
- 2006-03-10 CN CN2006100573653A patent/CN101034949B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1171678A (en) * | 1996-07-18 | 1998-01-28 | 松下电器产业株式会社 | Refeeding controlling method |
US6259660B1 (en) * | 1998-04-27 | 2001-07-10 | Kabushiki Kaisha Toshiba | Optical disk apparatus having error correction circuit |
CN1607844A (en) * | 2003-10-16 | 2005-04-20 | 华为技术有限公司 | Macro-diversity combining method in mobile communication system |
Also Published As
Publication number | Publication date |
---|---|
CN101034949A (en) | 2007-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2385624A1 (en) | Gain control method, gain control equipment in multiple sound channels system, and voice processing system | |
CN103190114A (en) | Determining a logic state of a device | |
US11569923B2 (en) | Method and apparatus for sending and receiving multiframe, and storage medium | |
CN109995588B (en) | Flexible Ethernet link management method and system | |
CN101702639A (en) | Check value calculation method and device of cyclic redundancy check | |
CN109787724B (en) | Method and device for determining transmission parameter configuration information and communication system | |
CN109348391A (en) | Detection method, system and the microphone of microphone | |
CN101034949B (en) | Correction method for frame number transmission error | |
CN105511587A (en) | Radio frequency chain control method and device | |
CN104243246A (en) | Method and device for Zigbee technology-based FlexRay bus test and optimization | |
CN112968753B (en) | Data boundary alignment method and system for high-speed serial transceiver | |
CN112147562B (en) | Bluetooth communication frame-based meter calibration method, system and meter calibration device | |
CN106982199B (en) | Manchester code communication protocol self-adaption method based on FPGA and CPLD | |
CN113066509B (en) | Stippling signal identification method, stippling signal identification system, electronic equipment and computer storage medium | |
CN105813187A (en) | Information processing method and electronic device | |
CN112201248B (en) | Stream type voice recognition method and system based on long connection | |
US20160072610A1 (en) | Methods for transmission and reception of a serial signal and corresponding devices | |
CN104885392A (en) | Method, device and system for synchronizing forward error correction code words | |
CN113949622A (en) | Network communication method, system, device and computer readable storage medium | |
CN110971716B (en) | Address configuration method, device, system and computer readable storage medium | |
CN101860402A (en) | Parallel data transmission method for reducing EMI | |
CN105721245B (en) | Based on the network data sniff implementation method for connecting agreement fastly | |
CN107276620B (en) | Earphone data transmission method, terminal equipment and computer readable storage medium | |
CN111490850A (en) | Communication device data transmission control method, system, device and storage medium | |
CN104702380A (en) | Method and device for processing data frames |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111130 Termination date: 20150310 |
|
EXPY | Termination of patent right or utility model |