CN102104414A - Framing method and device - Google Patents

Framing method and device Download PDF

Info

Publication number
CN102104414A
CN102104414A CN2009102524890A CN200910252489A CN102104414A CN 102104414 A CN102104414 A CN 102104414A CN 2009102524890 A CN2009102524890 A CN 2009102524890A CN 200910252489 A CN200910252489 A CN 200910252489A CN 102104414 A CN102104414 A CN 102104414A
Authority
CN
China
Prior art keywords
framing
minus
complement
radix
module
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
Application number
CN2009102524890A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009102524890A priority Critical patent/CN102104414A/en
Publication of CN102104414A publication Critical patent/CN102104414A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a framing method. The method comprises the following steps of: receiving an input data stream; performing anti-code framing on the input data stream by utilizing a predetermined anti-code of a framing byte; judging whether the anti-code framing is success; and if so, bitwise negating the data stream output after the anti-code framing. Correspondingly, the embodiment of the invention also discloses a framing device. By using the technical scheme, rapid framing can be realized without adjusting the input data stream.

Description

A kind of method and apparatus of deciding frame
Technical field
The present invention relates to communication technical field, more particularly, relate to a kind of method and apparatus of deciding frame.
Background technology
Decide frame and be meant that receiving terminal after receiving bit (bit) code stream of transmitting terminal input, by mating special character, promptly decides the frame byte, obtain a kind of method of frame head, achieve frame synchronous (frame synchronization).This method is extensive use of in present communication system.By deciding the frame byte, receiving terminal knows which bit constitutes a frame, with the accurate position of definite frame, thus the frame synchronization of finishing.
Different method for fixing frame has determined the time that achieve frame is synchronous, thereby has determined the service fulfillment or the time of business recovery.In the leggy modulating system, as DQPSK (Differential QuadratureReference Phase Shift Keying, difference four phase Quadrature Phase Shift Keying) system, may occur the problem of I/Q data flow bit negate during rectification at random, promptly the data behind the rectification may be the radix-minus-one complements of normal data.If radix-minus-one complement appears in the input traffic of receiving terminal, and receiving terminal uses predetermined framing byte that input traffic is carried out the framing processing, then can cause the business of frame synchronization to open.
Common solution is to decide the frame result by detecting at present, adjusts input traffic, until deciding the frame success:
At first, system detects to decide whether to contain among the frame result LOF (LOF, Loss of Frame) warning message, to judge present input data stream decided whether success of frame: if do not find the LOF warning message, it is successful to represent that then present input data stream decide frame; If find the LOF warning message, represent that then the problem of bit negate appears in the data behind certain (a bit) the road rectification in the input traffic, then the data behind the rectification of current a certain road are pressed the bit negate, trial carries out deciding frame to the input traffic after the negate; If the LOF warning message still occurs, then continue the data behind other No. one rectification are pressed the bit negate, again the input traffic after the negate is carried out deciding frame; Constantly so attempt,, enter frame synchronization (IF, InFrame) state until deciding the frame success.
Above-mentioned method for fixing frame can be adjusted input traffic according to detecting the framing result, realizes the framing processing, and still, the inventor finds that in research process it has the following disadvantages at least:
Prior art relies on LOF warning feedback, input traffic is carried out by the bit inversion operation to reach the purpose of framing success, this passive " detect, adjust " framing pattern, prolonged the synchronous time of achieve frame, when input traffic comprises mass data simultaneously, will cause the framing inefficiency.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and apparatus of deciding frame, can realize deciding frame fast, and need not to adjust input traffic.
The embodiment of the invention provides a kind of method of deciding frame, and described method comprises:
Receive input traffic;
The radix-minus-one complement of deciding the frame byte that utilization is preset is carried out radix-minus-one complement to described input traffic and is decided frame;
Judge whether described radix-minus-one complement framing is successful, if so, then with the data flow step-by-step negate of exporting after the described radix-minus-one complement framing.
Accordingly, the embodiment of the invention provides a kind of device of deciding frame, and described device comprises:
Receiver module is used to receive input traffic;
Code framing module for the code of utilizing the framing byte that presets, is carried out the code framing to described input traffic;
Radix-minus-one complement framing module is used for utilizing the radix-minus-one complement of the framing byte that presets when described code framing module is carried out the code framing to described input traffic, and described input traffic is carried out the radix-minus-one complement framing;
Decide frame judge module as a result, be used to receive that described positive sign indicating number decide that frame module and radix-minus-one complement decide frame module output decides the frame result, decide the frame result, judge that described positive yard is decided frame and whether successfully radix-minus-one complement decides frame according to described;
The bit reversal module, for the framing result indicative signal that receives the as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the data flow step-by-step negate of then described radix-minus-one complement framing module being exported.
The embodiment of the invention also provides the device of another kind of framing, and described device comprises:
Receiver module is used to receive input traffic;
Code framing module for the code of utilizing the framing byte that presets, is carried out the code framing to described input traffic;
Framing is judge module as a result, is used for receiving the framing result of described code framing module output, judges whether described code framing is successful;
Radix-minus-one complement framing module, be used for receiving the framing result indicative signal of as a result judge module output of described framing, if described code framing is unsuccessful, then utilize the radix-minus-one complement of described framing byte, the data flow that receives described code framing module output is carried out the radix-minus-one complement framing;
Then described framing as a result judge module also be used for receiving the framing result of described radix-minus-one complement framing module output, judge the whether success of described radix-minus-one complement framing;
The bit reversal module, for the framing result indicative signal that receives the as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the data flow step-by-step negate of then described radix-minus-one complement framing module being exported.
The embodiment of the invention also provides the device of another kind of framing, and described device comprises:
Receiver module is used to receive input traffic;
Radix-minus-one complement is decided frame module, is used to utilize the radix-minus-one complement of deciding the frame byte that presets, and described input traffic is carried out radix-minus-one complement decide frame;
Framing is judge module as a result, is used for receiving the framing result of described radix-minus-one complement framing module output, judges whether described radix-minus-one complement framing is successful;
Code framing module, be used for receiving the framing result indicative signal of as a result judge module output of described framing, if described radix-minus-one complement framing is unsuccessful, then utilize the code of described framing byte, the data flow that receives described radix-minus-one complement framing module output is carried out the code framing;
Then described decide frame as a result judge module be used to also to receive that described positive sign indicating number decide frame module output decides the frame result, judge whether successfully described positive sign indicating number decides frame;
The bit reversal module, for the framing result indicative signal that receives the as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the data flow step-by-step negate of then described radix-minus-one complement framing module being exported.
Compare with prior art, technical scheme provided by the invention has the following advantages:
Code by utilizing the framing byte and the radix-minus-one complement of framing byte, respectively input traffic is carried out code framing and radix-minus-one complement framing, need not input traffic is adjusted, even whether occur at unknown input traffic in the situation of negate, still can be only by a framing operation, realize quick framing, thereby simplify framing difficulty, raising framing efficient.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of flow chart of steps of deciding the method for frame of the embodiment of the invention;
Fig. 2 is the flow chart of steps of the method for the certain frame of the embodiment of the invention;
Fig. 3 is the flow chart of steps that the embodiment of the invention two is decided the method for frame;
Fig. 4 is the flow chart of steps of the embodiment of the invention three method for fixing frame;
Fig. 5 is the structural representation that the embodiment of the invention four is decided the device of frame;
Fig. 6 is the structural representation that the embodiment of the invention five is decided the device of frame;
Fig. 7 is the structural representation that the embodiment of the invention six is decided the device of frame;
Fig. 8 is the structural representation that the embodiment of the invention seven is decided the device of frame;
Fig. 9 is the structural representation that the embodiment of the invention eight is decided the device of frame;
Figure 10 is the structural representation that the embodiment of the invention nine is decided the device of frame.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is carried out clear, complete description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
At first a kind of method of deciding frame that the embodiment of the invention is provided describes, and referring to shown in Figure 1, may further comprise the steps:
Step 101, reception input traffic;
The radix-minus-one complement of deciding the frame byte that step 102, utilization are preset is carried out radix-minus-one complement to described input traffic and is decided frame;
Step 103, judge that described radix-minus-one complement decides whether success of frame, if then described radix-minus-one complement is decided the data flow step-by-step negate of exporting behind the frame.
The embodiment of the invention is when carrying out framing to the input data that receive, consider that may there be the problem of bit negate in input traffic, by utilizing the radix-minus-one complement of framing byte, input traffic is carried out the radix-minus-one complement framing, and need not input traffic is adjusted, even whether occur at unknown input traffic in the situation of negate, still can only by a framing operation, realize quick framing; Owing to need not by detection alarm input traffic to be adjusted, thereby can simplify the framing difficulty, and the minimizing warning reports the stand-by period, raising framing efficient.
For the ease of the present invention is further understood, describe the present invention below in conjunction with the specific embodiment of the present invention.
Embodiment one
With reference to figure 2, show the flow chart of steps of the method for the certain frame of the embodiment of the invention, in the embodiment of the invention, introduce and utilize the positive sign indicating number of deciding the frame byte that presets that input traffic is carried out the operation that positive sign indicating number is decided frame, and control is decided frame and radix-minus-one complement to the positive sign indicating number of input traffic and is decided frame for carrying out simultaneously, specifically may further comprise the steps:
Step 201, the identical input traffic of reception two-way;
Two-way input traffic in this step is identical, in order to realize and can carry out code framing and radix-minus-one complement framing to input traffic simultaneously;
Step 202, utilize the positive sign indicating number of deciding the frame byte preset that one road input traffic is wherein carried out positive sign indicating number decide frame, simultaneously, the radix-minus-one complement of deciding the frame byte that utilization is preset is carried out radix-minus-one complement to another road input traffic and is decided frame;
Wherein, the positive sign indicating number of deciding the frame byte be preset decide the frame byte, the radix-minus-one complement of deciding the frame byte be preset decide frame byte step-by-step negate.If the success of code framing then illustrates the problem that does not occur the bit negate in the input traffic, the framing byte that utilization is preset can realize the framing to input traffic; If radix-minus-one complement framing success then illustrates the problem that occurs the bit negate in the input traffic, then utilize the radix-minus-one complement of the framing byte that presets to realize framing to input traffic.
, need to prove herein, in code framing process, can adopt the code of the framing byte of whole bit that input traffic is carried out the framing processing, also can only adopt the code of the framing byte of part bit that input traffic is carried out the framing processing; Also like this for radix-minus-one complement framing process, can adopt the radix-minus-one complement of the framing byte of whole bit or part bit that input traffic is carried out the framing processing.To this, the present invention does not do concrete restriction, and those skilled in the art can carry out flexible Application according to actual needs.
Step 203, judge the whether success of described code framing and radix-minus-one complement framing, if the data flow of exporting after the output code framing is then selected in the success of code framing; If the success of radix-minus-one complement framing then will be exported after the data flow step-by-step negate after the radix-minus-one complement framing.
The framing result of code framing and radix-minus-one complement framing is carried out respectively in judgement to two paths of data, if code framing success, the problem that does not occur the bit negate in the input traffic then is described, the framing byte that utilization is preset can realize the framing to input traffic, then directly exports the data flow of exporting after the code framing; If radix-minus-one complement framing success illustrate the problem that occurs the bit negate in the input traffic, then the radix-minus-one complement of the framing byte that presets of utilization can realize the framing to input traffic.The bit negate appears in the data flow of exporting after the radix-minus-one complement framing, although and cause framing operation success finally to export error in data, need to the data flow step-by-step negate of exporting after the radix-minus-one complement framing, export again.
The embodiment of the invention by utilizing the framing byte code and the radix-minus-one complement of framing byte, respectively input traffic is carried out code framing and radix-minus-one complement framing, can satisfy when unsuccessful to input traffic radix-minus-one complement framing, by the framing of code framing operation realization to input traffic, and need not input traffic is adjusted, even whether occur at unknown input traffic in the situation of negate, still can only by a framing operation, realize quick framing; Owing to need not by detection alarm input traffic to be adjusted, thereby can simplify the framing difficulty, and the minimizing warning reports the stand-by period, raising framing efficient.
When the success of radix-minus-one complement framing, the problem that occurs the bit negate in the input traffic then is described, in the embodiment of the invention technical scheme, can with the data flow step-by-step negate of exporting after the radix-minus-one complement framing, be about to reverse input traffic and be corrected as code; Perhaps, directly the data flow after the radix-minus-one complement framing is exported, temporarily do not changed the radix-minus-one complement in the input traffic, this correction procedure is waited until subsequent treatment.To this, the present invention does not do concrete restriction, the flexibility of using to improve this technical scheme.
Technical solution of the present invention is also supported the data after the framing processing are selectively exported, if the data flow of exporting after the output code framing is then selected in the success of code framing; If the success of radix-minus-one complement framing then selects output with the data flow after the data flow step-by-step negate of exporting after the radix-minus-one complement framing.
Embodiment two
In the embodiment of the invention, be respectively described input traffic and distribute the code of the framing byte that presets and the radix-minus-one complement of framing byte, control is carried out earlier the code framing to described input traffic, again the data flow of exporting after the code framing is carried out the radix-minus-one complement framing.With reference to Fig. 3, show the steps flow chart of this embodiment technical scheme:
Step 301, reception input traffic;
The code of the framing byte that step 302, utilization are preset is carried out the code framing to described input traffic;
Step 303, judge the whether success of described code framing, if so, then execution in step 304; If not, execution in step 305 then;
The data flow of exporting after step 304, the output code framing;
Step 305, utilize the radix-minus-one complement of deciding the frame byte preset, align a data flow that sign indicating number decides to export behind the frame and carry out radix-minus-one complement and decide frame;
After step 306, the success of radix-minus-one complement framing, will export after the data flow step-by-step negate after the radix-minus-one complement framing.
In this embodiment technical scheme, if the code framing is unsuccessful, the data flow of then exporting after the code framing still is the initial input traffic that receives.Like this, the problem of bit negate in input traffic, occurs, input traffic is carried out the content that the code framing can't affect input traffic, by immediately the data flow of exporting after the code framing being carried out the radix-minus-one complement framing, can realize successful framing.
Embodiment three
In the embodiment of the invention, be respectively described input traffic and distribute the code of the framing byte that presets and the radix-minus-one complement of framing byte, control is carried out earlier the radix-minus-one complement framing to described input traffic, again the data flow of exporting after the radix-minus-one complement framing is carried out the code framing.With reference to Fig. 4, show the steps flow chart of this embodiment technical scheme:
Step 401, reception input traffic;
The radix-minus-one complement of deciding the frame byte that step 402, utilization are preset is carried out radix-minus-one complement to described input traffic and is decided frame;
Step 403, judge that described radix-minus-one complement decides whether success of frame, if then execution in step 404; If not, execution in step 405 then;
Step 404, will export after the data flow step-by-step negate after the radix-minus-one complement framing;
The code of the framing byte that step 405, utilization are preset is carried out the code framing to the data flow of exporting after the radix-minus-one complement framing;
After the success of step 406, code framing,, the data flow exported after the output code framing.
In this embodiment technical scheme, if the radix-minus-one complement framing is unsuccessful, the data flow of then exporting after the radix-minus-one complement framing still is the initial input traffic that receives.Like this, the problem of bit negate in input traffic, do not occur, input traffic is carried out the content that the radix-minus-one complement framing can't affect input traffic, by the data flow of exporting after the radix-minus-one complement framing is carried out the code framing, can realize successful framing immediately.
Need to prove, among above-mentioned each embodiment, decide the positive and negative sign indicating number of frame byte and adopt in the positive and negative sign indicating number sign bit data flow of decide the frame byte initial and method final position of each frame all to preset.Usually, for example adopt the initial method with final position of each frame in the framing byte-identifier bit data flow: the head and the tail circle symbol method that character count method, tape character are filled, head and the tail notation and the physical layer encodes fault method that fill the band position.This part belongs to content well known to those skilled in the art, therefore, no longer gives unnecessary details.And in the various embodiments of the present invention, the set-up mode of the framing byte of concrete employing not being done concrete restriction, those skilled in the art can apply in a flexible way in the actual enforcement.
In addition, above-described embodiment has been enumerated simultaneously again radix-minus-one complement framing and first radix-minus-one complement framing three kinds of framings orders of code framing again of positive and negative code framing, first code framing, but when those skilled in the art implement technical solution of the present invention, framing is not limited in above-mentioned three kinds of modes in proper order, also can adopt other framing orders or the arbitrarily combination of framing form, to this, technical solution of the present invention is not done concrete restriction.
The associative operation personnel are to the understanding of framing process for convenience, and in the technical solutions of above embodiments, with the formal output of framing result with indication information, whether described indication information is in order to indicate described code framing or radix-minus-one complement framing successful.
One of ordinary skill in the art will appreciate that, the all or part of step of realization said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Technical solution of the present invention is not only applicable to the DQPSK system, is applicable to that also other any uses decide the system that the frame byte is decided frame, and the embodiment of the invention is no longer given unnecessary details at this.
Embodiment four
Corresponding described method for fixing frame embodiment the embodiment of the invention discloses a kind of device of deciding frame, as shown in Figure 5, describedly decides the frame device and specifically comprises:
Receiver module 501 is used to receive input traffic;
Code framing module 502 for the code of utilizing the framing byte that presets, is carried out the code framing to described input traffic;
Radix-minus-one complement is decided frame module 503, is used for decide frame module at described positive sign indicating number and described input traffic is carried out when positive sign indicating number deciding frame, and the radix-minus-one complement of deciding the frame byte that utilization is preset is carried out radix-minus-one complement to described input traffic and decided frame;
Framing is judge module 504 as a result, is used for receiving the framing result of described code framing module 502 and 503 outputs of radix-minus-one complement framing module, according to described framing result, judges whether described code framing and radix-minus-one complement framing be successful;
Bit reversal module 505 is for the framing result indicative signal that receives as a result judge module 504 outputs of described framing, if the success of radix-minus-one complement framing then will be exported after the data flow step-by-step negate of exporting after the described radix-minus-one complement framing module 503 radix-minus-one complement framings;
Described bit reversal module 505 can be corrected as reverse input traffic positive sign indicating number.
In addition, need to prove that if the code framing is unsuccessful, then the data flow of code framing module 502 outputs still is the initial input traffic that receives; If the radix-minus-one complement framing is unsuccessful, then the data flow of radix-minus-one complement framing framing module 503 outputs still is the initial input traffic that receives.
By the framing device in the embodiment of the invention, respectively input traffic is carried out code framing and radix-minus-one complement framing, and need not input traffic is adjusted, even whether occur at unknown input traffic in the situation of negate, still can only by a framing operation, realize quick framing; Owing to need not by detection alarm input traffic to be adjusted, thereby can simplify the framing difficulty, and the minimizing warning reports the stand-by period, raising framing efficient.
Embodiment five
Compare with embodiment four, the device of deciding frame in the embodiment of the invention has increased following functional module, as shown in Figure 6:
Select module 506, be used for receiving the framing result indicative signal of as a result judge module 504 outputs of framing, if the code framing is successful, then select the data flow of output code framing module 502 outputs; If the success of radix-minus-one complement framing, the data flow of then selecting output bit reversal module 505 to export, i.e. output is corrected as the data flow of code.
As seen, in the embodiment of the invention, select module 506, the respective stream of data of deciding the frame success is exported by increasing.
Above-mentioned realization selects the selection module 506 of output function when reality is implemented, and can specifically arrange according to application scenarios, and this part content belongs to content well known to those skilled in the art, and therefore, the embodiment of the invention is no longer given unnecessary details at this.
Embodiment six
With reference to Fig. 7, be the device of another kind of framing in the embodiment of the invention, described device comprises:
Receiver module 501 is used to receive input traffic;
Code framing module 502 for the code of utilizing the framing byte that presets, is carried out the code framing to described input traffic;
Decide frame judge module 504 as a result, be used to receive that described positive sign indicating number decide frame module 502 outputs decides the frame result, judge whether successfully described positive sign indicating number decides frame;
Radix-minus-one complement framing module 503, be used for receiving the framing result indicative signal of as a result judge module 504 outputs of described framing, if described code framing is unsuccessful, then utilize the radix-minus-one complement of described framing byte, the data flow of described code framing module 502 outputs is carried out the radix-minus-one complement framing;
Then framing as a result judge module 504 also be used for receiving the framing result of described radix-minus-one complement framing module 503 outputs, judge the whether success of described radix-minus-one complement framing;
Bit reversal module 505, be used to receive described decide frame judge module 504 outputs as a result decide the frame result indicative signal, if described radix-minus-one complement decide the frame success, then described radix-minus-one complement is decided the data flow step-by-step negate that frame module 503 is exported.
As seen, the device of deciding frame in the embodiment of the invention can realize that earlier the input traffic that receives being carried out positive sign indicating number decides frame, when described positive sign indicating number decide frame and is got nowhere, aligning sign indicating number again decide data flow that frame module 502 exports and carries out radix-minus-one complement and decide frame, after radix-minus-one complement is decided the frame success, the data flow that radix-minus-one complement is decided frame module 503 output is carried out the step-by-step negate again, and the data flow of input is corrected as positive sign indicating number.
Need to prove, if the code framing is unsuccessful, then the data flow of code framing module 502 outputs still is the initial input traffic that receives, in the embodiment of the invention, only when the code framing is unsuccessful, just input traffic is carried out the radix-minus-one complement framing, therefore, need not input traffic is adjusted, only by a framing operation, namely realize quick framing; Owing to need not by detection alarm input traffic to be adjusted, thereby can simplify the framing difficulty, and the minimizing warning reports the stand-by period, raising framing efficient.
Embodiment seven
With reference to Fig. 8, similar with embodiment five, the framing device in the embodiment of the invention also comprises:
Select module 506, be used for receiving the framing result indicative signal of as a result judge module 504 outputs of framing, if the code framing is successful, then select the data flow of output code framing module 502 outputs; If the success of radix-minus-one complement framing, the data flow of then selecting output bit reversal module 505 to export, i.e. output is corrected as the data flow of code.In this embodiment technical scheme, same by increasing selection module 506, the respective stream of data of deciding the frame success is exported.
Embodiment eight
With reference to Fig. 9, be the device of another framing in the embodiment of the invention, described device comprises:
Receiver module 501 is used to receive input traffic;
Radix-minus-one complement is decided frame module 503, is used to utilize the radix-minus-one complement of deciding the frame byte that presets, and described input traffic is carried out radix-minus-one complement decide frame;
Framing is judge module 504 as a result, is used for receiving the framing result of described radix-minus-one complement framing module 503 outputs, judges whether described radix-minus-one complement framing is successful;
Code framing module 502, be used for receiving the framing result indicative signal of as a result judge module 504 outputs of described framing, if described radix-minus-one complement framing is unsuccessful, then utilize the code of described framing byte, the data flow of described radix-minus-one complement framing module 503 outputs is carried out the code framing;
Then decide frame as a result judge module 504 be used to also to receive that described positive sign indicating number decide frame module 502 outputs decides the frame result, judge whether successfully described positive sign indicating number decides frame;
Bit reversal module 505, be used to receive described decide frame judge module 504 outputs as a result decide the frame result indicative signal, if described radix-minus-one complement decide the frame success, then described radix-minus-one complement is decided the data flow step-by-step negate that frame module 503 is exported.
As seen, the device of the framing in the embodiment of the invention can be realized earlier the input traffic that receives being carried out the radix-minus-one complement framing, when described radix-minus-one complement framing is unsuccessful, again the data flow of radix-minus-one complement framing module 503 outputs is carried out the code framing; And after the success of radix-minus-one complement framing, the data flow of radix-minus-one complement framing module 503 outputs is carried out the step-by-step negate, the data flow of importing is corrected as code.
In like manner, if the radix-minus-one complement framing is unsuccessful, then the data flow of radix-minus-one complement framing module 503 outputs still is the initial input traffic that receives, in the embodiment of the invention, only when the radix-minus-one complement framing is unsuccessful, just input traffic is carried out the code framing, therefore, need not input traffic is adjusted, only by a framing operation, namely realize quick framing; Owing to need not by detection alarm input traffic to be adjusted, thereby can simplify the framing difficulty, and the minimizing warning reports the stand-by period, raising framing efficient.
Embodiment nine
With reference to Figure 10, the framing device in the embodiment of the invention also comprises:
Select module 506, be used for receiving the framing result indicative signal of as a result judge module 504 outputs of framing, if the code framing is successful, then select the data flow of output code framing module 502 outputs; If the success of radix-minus-one complement framing, the data flow of then selecting output bit reversal module 505 to export, i.e. output is corrected as the data flow of code.
Select module 506 by increasing, realization will be decided the respective stream of data of frame success and export.
Each framing device of the invention described above can be receiving terminal itself, also can be the functional module in the receiving terminal, can pass through software, hardware or software and hardware combining and realize that the embodiment of the invention is not done concrete restriction to this.
In addition, above-mentioned each functional module that is included in framing device inside all can be passed through software, hardware or software and hardware combining realization, and the embodiment of the invention is not done concrete restriction to this.
More than decide the frame device and be not only applicable to the DQPSK system, be applicable to that also other any uses decide the system that the frame byte is decided frame, the embodiment of the invention is no longer given unnecessary details at this.
For device embodiment, because it is substantially corresponding to embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method.Device embodiment described above only is schematic, wherein said module as the separating component explanation can or can not be physically to separate also, the parts that show as module can be or can not be physical modules also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of mixed-media network modules mixed-medias.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills namely can understand and implement in the situation of not paying creative work.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can in the situation of the spirit or scope that do not break away from the embodiment of the invention, realize in other embodiments.Therefore, the embodiment of the invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (10)

1. a method of deciding frame is characterized in that, described method comprises:
Receive input traffic;
The radix-minus-one complement of deciding the frame byte that utilization is preset is carried out radix-minus-one complement to described input traffic and is decided frame;
Judge whether described radix-minus-one complement framing is successful, if so, then with the data flow step-by-step negate of exporting after the described radix-minus-one complement framing.
2. method of deciding frame according to claim 1 is characterized in that, described method also comprises:
In described radix-minus-one complement framing, utilize the code of described framing byte, described input traffic is carried out the code framing;
Judge whether described positive sign indicating number is decided frame successful, if then export the data flow after described positive sign indicating number is decided frame.
3. method of deciding frame according to claim 1 is characterized in that, before described radix-minus-one complement was decided frame, described method also comprised:
Utilize the code of described framing byte, described input traffic is carried out the code framing;
Judge whether described positive sign indicating number is decided frame successful, if then export the data flow after described positive sign indicating number is decided frame.
4. the method for framing according to claim 1 is characterized in that, described method also comprises: if described radix-minus-one complement framing is unsuccessful, then utilize the code of described framing byte that described input traffic is carried out the code framing.
5. a device of deciding frame is characterized in that, described device comprises:
Receiver module is used to receive input traffic;
Code framing module for the code of utilizing the framing byte that presets, is carried out the code framing to described input traffic;
Radix-minus-one complement framing module is used for utilizing the radix-minus-one complement of the framing byte that presets when described code framing module is carried out the code framing to described input traffic, and described input traffic is carried out the radix-minus-one complement framing;
Decide frame judge module as a result, be used to receive that described positive sign indicating number decide that frame module and radix-minus-one complement decide frame module output decides the frame result, decide the frame result, judge that described positive yard is decided frame and whether successfully radix-minus-one complement decides frame according to described;
The bit reversal module, for the framing result indicative signal that receives the as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the data flow step-by-step negate of then described radix-minus-one complement framing module being exported.
6. the device of framing according to claim 5 is characterized in that, described device also comprises:
Select module, be used for receiving the framing result indicative signal of as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the then data flow of the described bit reversal module output of selection output; If described code framing success, the data flow of then selecting the described code framing module of output to export.
7. a device of deciding frame is characterized in that, described device comprises:
Receiver module is used to receive input traffic;
Code framing module for the code of utilizing the framing byte that presets, is carried out the code framing to described input traffic;
Framing is judge module as a result, is used for receiving the framing result of described code framing module output, judges whether described code framing is successful;
Radix-minus-one complement framing module for the framing result indicative signal that receives the as a result judge module output of described framing, if described code framing is unsuccessful, is then utilized the radix-minus-one complement of described framing byte, and the data flow of described code framing module output is carried out the radix-minus-one complement framing;
Then described framing as a result judge module also be used for receiving the framing result of described radix-minus-one complement framing module output, judge the whether success of described radix-minus-one complement framing;
The bit reversal module, for the framing result indicative signal that receives the as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the data flow step-by-step negate of then described radix-minus-one complement framing module being exported.
8. the device of framing according to claim 7 is characterized in that, described device also comprises:
Select module, be used for receiving the framing result indicative signal of as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the then data flow of the described bit reversal module output of selection output; If described code framing success, the data flow of then selecting the described code framing module of output to export.
9. a device of deciding frame is characterized in that, described device comprises:
Receiver module is used to receive input traffic;
Radix-minus-one complement is decided frame module, is used to utilize the radix-minus-one complement of deciding the frame byte that presets, and described input traffic is carried out radix-minus-one complement decide frame;
Framing is judge module as a result, is used for receiving the framing result of described radix-minus-one complement framing module output, judges whether described radix-minus-one complement framing is successful;
Code framing module for the framing result indicative signal that receives the as a result judge module output of described framing, if described radix-minus-one complement framing is unsuccessful, is then utilized the code of described framing byte, and the data flow of described radix-minus-one complement framing module output is carried out the code framing;
Then described decide frame as a result judge module be used to also to receive that described positive sign indicating number decide frame module output decides the frame result, judge whether successfully described positive sign indicating number decides frame;
The bit reversal module, for the framing result indicative signal that receives the as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the data flow step-by-step negate of then described radix-minus-one complement framing module being exported.
10. the device of framing according to claim 9 is characterized in that, described device also comprises:
Select module, be used for receiving the framing result indicative signal of as a result judge module output of described framing, if the success of described radix-minus-one complement framing, the then data flow of the described bit reversal module output of selection output; If described code framing success, the data flow of then selecting the described code framing module of output to export.
CN2009102524890A 2009-12-17 2009-12-17 Framing method and device Pending CN102104414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102524890A CN102104414A (en) 2009-12-17 2009-12-17 Framing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102524890A CN102104414A (en) 2009-12-17 2009-12-17 Framing method and device

Publications (1)

Publication Number Publication Date
CN102104414A true CN102104414A (en) 2011-06-22

Family

ID=44156972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102524890A Pending CN102104414A (en) 2009-12-17 2009-12-17 Framing method and device

Country Status (1)

Country Link
CN (1) CN102104414A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5847680A (en) * 1997-12-05 1998-12-08 Trimble Navigation Limited GPS receiver having fast resolution of carrier phase ambiguity
CN1953359A (en) * 1997-02-13 2007-04-25 Ntt移动通信网株式会社 Frame synchronizing circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953359A (en) * 1997-02-13 2007-04-25 Ntt移动通信网株式会社 Frame synchronizing circuit
US5847680A (en) * 1997-12-05 1998-12-08 Trimble Navigation Limited GPS receiver having fast resolution of carrier phase ambiguity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘辉: "基于软件无线电的中频数字化直扩***的设计与实现", 《电讯技术》 *

Similar Documents

Publication Publication Date Title
CN109688016B (en) Method for switching time slot configuration in flexible Ethernet protocol and related equipment
CN101753244B (en) Method and system for transporting service in RRU loop network
CN102063399B (en) Multichannel data transmission method, system and equipment
CN102708080B (en) A kind of method and system of the high-speed serial communication passage that aligns
CN103369529A (en) Identity authentication method, access point (AP) and access controller (AC)
CN102571492A (en) Method and device for detecting failure of routing equipment
CN106788699A (en) The detecting system and method and ROADM equipment of optical fiber connection status
CN104427012B (en) Port negotiation method and apparatus
CN104079462A (en) Ring network configuration detection method and device
WO2022100561A1 (en) Pilot tone signal transmission control method, apparatus and system, and multi-channel optical module
CN102118291B (en) Ring network link failure processing method, device and ring network
CN102394734B (en) RS 485 communication system with nonpolarized connection and control method thereof
CN102833173A (en) Network device and tunnel adaptation method
CN101621371B (en) Clock design method and clock device
CN103209394B (en) Group's voice data processing method, system and terminating unit
CN104796200A (en) Relay system and switching device
CN102104414A (en) Framing method and device
CN103765799B (en) Electrical idle state processing method and the fast interconnected PCIE device of peripheral component
CN101860889A (en) Method for detecting IMA E1 link hybrid lines, device and system
CN104702380B (en) A kind of processing method and processing device of data frame
CN104518958A (en) A transmission processing method for associated fibre channel signals and an optical transport network device
CN103067053A (en) Method and device for Bluetooth node processing
CN106330357A (en) Serializer/deserializer (SERDES) transmission verification method, node and system
CN103731360A (en) Method and device for data processing of Ethernet MAC frames
CN103781160A (en) Data transmission method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110622