CN103516477A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN103516477A
CN103516477A CN201210222820.6A CN201210222820A CN103516477A CN 103516477 A CN103516477 A CN 103516477A CN 201210222820 A CN201210222820 A CN 201210222820A CN 103516477 A CN103516477 A CN 103516477A
Authority
CN
China
Prior art keywords
frame
error rate
indication information
analog parameter
transmitting
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
CN201210222820.6A
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 CN201210222820.6A priority Critical patent/CN103516477A/en
Publication of CN103516477A publication Critical patent/CN103516477A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a data transmission method and device, and relates to the field of communication. When the error rate of a data frame is calculated to be larger than a preset threshold, the error rate indicating information is sent so that a sending end can reset simulation parameters needed for transmitting the data frame. The data transmission method comprises the steps that a first data frame from the sending end is received; the error rate of the first data frame is calculated; if the error rate of the first data frame is larger than the preset threshold, a second data frame is generated, and the second data frame comprises the error rate indicating information; the second data frame is sent to the sending end so that the sending end can reset simulation parameters needed for transmitting the data frame according to the error rate indicating information of the second data frame.

Description

A kind of data transmission method and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of data transmission method and device.
Background technology
High speed signal is when Propagation, due to reasons such as dielectric losses, signal there will be decay, therefore, for the loss of compensating signal in medium, adopted pre-emphasis technique, pre-emphasis technique refers to, for ease of transmission or the record of signal, and the amplitude of its some spectrum component is had a mind to the measure being strengthened in advance with respect to the amplitude of other components.In recent years, pre-emphasis technique has become a ripe technology, is widely used in the serializer and staticizer of higher data transmission rate.
Before transfer of data, need to determine the required analog parameter of transmission data, this analog parameter comprises amplitude and the pre-emphasis parameters of signal.Yet, in actual application, the analog parameter using due to pre-emphasis technique is not modifiable after determining at the transmission equipment design initial stage, therefore, if there is variation in external environment condition, chip technology or transmission medium etc., if still use this analog parameter to carry out the increase that transfer of data can cause the error rate.
Summary of the invention
Embodiments of the invention provide a kind of data transmission method and device, can be when the error rate that calculates Frame is greater than default thresholding, by sending error rate indication information, so that transmitting terminal resets the required analog parameter of transmitting data frame.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, a kind of data transmission method that the embodiment of the present invention provides, comprising:
Reception is from the first Frame of transmitting terminal;
Calculate the error rate of described the first Frame;
If the error rate of described the first Frame is greater than default thresholding, generate the second Frame, described the second Frame comprises error rate indication information;
Send described the second Frame to described transmitting terminal, so that described transmitting terminal resets the required analog parameter of transmitting data frame according to the described error rate indication information in described the second Frame.
On the other hand, a kind of data transmission method that the embodiment of the present invention provides, comprising:
Send the first Frame to receiving terminal;
Reception is from the second Frame of described receiving terminal, if the error rate that described the second Frame is described the first Frame is greater than default thresholding, described receiving terminal generates and sends after described the second Frame, and described the second Frame comprises error rate indication information;
According to described error rate indication information, reset the required analog parameter of transmitting data frame.
On the one hand, the receiving terminal that the embodiment of the present invention provides, comprising:
Receiver module, for receiving the first Frame from transmitting terminal;
Computing module, for calculating the error rate of described the first Frame;
Frame generation module, if be greater than default thresholding for the error rate of described the first Frame, generates the second Frame, and described the second Frame comprises error rate indication information;
Sending module, for sending described the second Frame to described transmitting terminal, so that described transmitting terminal resets the required analog parameter of transmitting data frame according to the described error rate indication information in described the second Frame.
On the other hand, the transmitting terminal that the embodiment of the present invention provides, comprising:
Transmitting element, for sending the first Frame to receiving terminal;
Receiving element, for receiving the second Frame from described receiving terminal, if described the second Frame is greater than default thresholding for the error rate of described the first Frame, described receiving terminal generates and sends after the second Frame, and described the second Frame comprises error rate indication information;
Analog parameter adjustment module, for resetting the required analog parameter of transmitting data frame according to described error rate indication information.
A kind of data transmission method and device that the embodiment of the present invention provides, after the first Frame receiving from transmitting terminal, calculate the error rate of the first Frame, if and then the error rate of this first Frame is greater than default thresholding, generation carries the second Frame of error rate indication information, and the second Frame is sent to transmitting terminal, thereby transmitting terminal can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.By this scheme, can be when the error rate that calculates Frame be greater than default thresholding, by sending error rate indication information, so that transmitting terminal resets the required analog parameter of transmitting data frame.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the data transmission method schematic flow sheet one of the embodiment of the present invention;
Fig. 2 is the data transmission method schematic flow sheet two of the embodiment of the present invention;
Fig. 3 is the data transmission method schematic flow sheet three of the embodiment of the present invention;
Fig. 4 is the structural representation of the receiving terminal of the embodiment of the present invention;
Fig. 5 is the structural representation of the transmitting terminal of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of data transmission method, and as shown in Figure 1, the method comprises:
S101, receiving terminal receive the first Frame from transmitting terminal.
Transmitting terminal is when to receiving terminal transmission data, and the Frame of can take transmits data as carrier, and when data frame transfer, need to determine the analog parameter that transmitting data frame is required, and this analog parameter can comprise amplitude and the pre-emphasis parameters of signal.
Exemplary, this first Frame can be CPRI (The Common Public Radio Interface, common public radio interface) frame.CPRI can adopt digital mode to carry out transmission base band, it has defined REC (Radio Equipment Control, base station data processing and control element (PCE)) with RE (Radio Equipment, base station transceiver unit) interface relationship between, its data structure can be directly used in the data of repeater and carry out far-end transmission, becomes a kind of far-drawing system of base station.In the present embodiment, the transmission of CPRI frame adopts parallel series and staticizer interface, and at the single board design initial stage, by emulation and test, finds one group of parallel series and staticizer analog parameter.
S102, receiving terminal calculate the error rate of the first Frame.
Receiving terminal, after the first Frame receiving from transmitting terminal, can calculate the error rate of the first Frame.The error rate of the embodiment of the present invention refers in systemic presupposition error code number in Frame in the time.
Here, the error rate of how receiving terminal being calculated to the first Frame describes:
CPRI physical layer for transmission adopts 8B/10B coding, and by the feature of this coded system, receiving terminal can check the quantity of the code word of makeing mistakes.The basic thought of 8B/10B coding techniques is that 8 Bit datas are changed into 10 Bit datas through mapping mechanism, produced so certain data redundancy, transmitting terminal can be picked out 0,1 code character of balance as far as possible that distributes and sends when sending data from 1024 10B code characters so, continuous " 1 " or " 0 " is no more than 5, be must insert one " 0 " or " 1 " behind every 5 continuous " 1 " or " 0 ", to maintain the DC balance of link.Concrete coded system is as follows:
8B/10B is coded in transmitting terminal the 8B code character of input is mapped to 10B code character according to coding rule, then by parallel-serial conversion, 10 parallel bit code group serials is exported, and at receiving terminal, goes here and there and changes and decode.8B/10B cataloged procedure is that 8B code character (being HGFEDCBA from a high position to low level) is resolved into 3B (HGF) and 5B (EDCBA), carry out respectively 3B/4B coding and 5B/6B coding, finally form 10B code character (being abcdeifghj) from low level to a high position.The 4B coding of 3B code 000,011,100 has two kinds of codings of mutual negate, and the distance of swimming values (RD) of 000 and 100 codings are that the RD value of two kinds of codings of 1 and 3,011 is 2.And that 001,010,101,110 coding only has is a kind of, its RD value is 2.More special is 111 coding, it has totally 4 kinds of the codings of two groups of mutual negates, but can find out according to 8B/10B coding schedule, it is 01011 that 1000 and 0111 this group coding only appears at respectively 5B code character, 01101,01110 RD+ row and 5B code character are 10001,10010,10100 RD-row, other code character adopts 0001 and 1110 these group codings according to coding rule.
Same, totally 32 kinds of 5B codes, wherein have the monodrome that is encoded to of 18 kinds, and its RD value is 3, other 13 kinds diadics that are mutual negate, and its RD value is 4 and 2, and 00111 the coding being left is also diadic (111000 and 000111), but its RD is 3.The RD value of the 10B code character that therefore coding obtains may be only 6,5 or 4, other for forbidding code character.Simultaneously, according to poor positive and negative of the distance of swimming, 8B/10B coding schedule is divided into RD-and RD+ two row.Analysing in depth the inherent correlation of whole 8B/10B coding can know:
When 3B code has unique 4B coding (001,010,101,110), if 5B code is the code word with monodrome coding, the RD-of 8B/10B coding schedule row and RD+ row are got unique 10B coding, and its RD value is 5; If 5B code has diadic coding, at RD-row, getting RD value is 4 6B coding, and at RD+ row, getting RD value is that 2 6B encodes; If 5B code is 00111, at RD-row, get 111000, at RD+ row, get 000111.
When 3B code has diadic 4B when coding (000,100), if 5B code is 18 kinds of code words with monodrome coding, 4B is coded in RD-row and RD+ and is listed as that to get respectively RD value be 3 and 1 coding, and situation that 3B code is 011 is next gets respectively 1100 and 0011; When if 5B code is 13 kinds of code words that have a diadic coding, at RD-row and RD+, is listed as and gets respectively that 6B RD value is 4,4B RD value is 1 and 6B RD value is 2,4B RD value is 3 coding; If 5B code is 00111,3B code is 000,100, at RD-row and RD+, is listed as and gets respectively that 6B is 111000,4B RD value is 3 and 6B is 000111,4B RD value is 1 coding; If 5B code is 00111,3B code is 011 o'clock, in the coding difference 111000,1100 and 000111,0011 of RD-row and RD+ row.When 3B code is 111, outside the special circumstances that occurred by 1000 and 0111 this group coding of analyzing above, the 3B code of other the same surface analysis of coding rule has the situation of diadic coding, and coding is now got 0001 and 1110 these group codings.
In addition, 8B code is divided into D grouping (data byte coding) and K grouping (special control character coding), the D grouping of upper surface analysis, for K grouping, has 12 8B code characters, its coding rule is different from D grouping, but because its code character is few, encode fairly simple, only need in cataloged procedure, according to input, judge whether these 12 code characters are K grouping, according to K Packed Encoding Rules, encode again, here repeat no more.
By analysis above, drawn the relation of 3B/4B coding and 5B/6B coding, thereby obtained RD-and RD+ two row of whole 8B/10B coding schedule, that in cataloged procedure, according to the poor definite 4B of the current distance of swimming and 6B, encodes chooses, thereby realizes the DC balance of 10B code.
For receiving terminal, whether 6B and 4B code character after receiving terminal decomposes input 10B are the judgement of code character allowable, and calculate RD value, can only be respectively 4,3,2 and 1,2,3; To input code character, whether be the judgement of K block code and correctness thereof; To being code character allowable, the 10B unused code that meets again the requirement of RD value judges, comprise that 6B code is 111000 or 000111,4B code is 0011 or the unused code combination that may occur for 1100 o'clock, and to mention 3B code be above the judgement of forbidding code character in the situation of two pairs of codings of 111 o'clock, in this inside modules, the RD value of 10B code is judged to whether it is 6,5 or 4, and whether further judge 10B code is unused code simultaneously; Complete the judgement of decoding validity, export various error flags, comprise D packet decoding mistake derr and K packet decoding mistake kerr, the distance of swimming of calculating on this basis the 10B code of receiving is poor, check that whether it select in corresponding row in RD-and RD+ two row in coding schedule, if there is mistake, rderr indication decoding is invalid; Whether the 8B decoding that output K indication obtains is K block code.
In sum, by 8B/10B, encode, the Frame that can guarantee transmission can correctly be restored at receiving terminal, in addition, utilize some special codes, for example, at PCI-Express (Peripheral Component Interconnect-Express, periphery component interconnection) the K code in bus, the work that can help receiving terminal to reduce, and can find in early days the error of transmission of data bit.Concrete mapping mechanism is quite ripe, and is not the emphasis that the present invention pays close attention to, and repeats no more herein.
The data transmission method of the embodiment of the present invention, can utilize the characteristic of above-mentioned 8B/10B coding techniques, calculate the error rate of the first Frame, whether receiving terminal is that code character allowable judges to 6B and the 4B code character of carrying out after the first Frame decomposition after 8B/10B coding; To the first Frame, whether be that K block code and correctness thereof judge; Draw to be code character allowable, be again that the code word of correct K block code is correct code word, otherwise be the code word of makeing mistakes, and then check the quantity of the code word of makeing mistakes, thereby receiving terminal completes the error rate of calculating the first Frame.
If the error rate of S103 the first Frame is greater than default thresholding, receiving terminal generates the second Frame, and the second Frame comprises error rate indication information.
Receiving terminal, after calculating the error rate of the first Frame, can judge this error rate, if when the error rate of this first Frame is greater than default thresholding, receiving terminal can generate the second Frame that comprises error rate indication information.
Exemplary, due in wireless application, can mutual data transmission between receiving terminal and transmitting terminal, therefore, this second Frame can be for being loaded with the Frame that need to transmit data, further, this error rate indication information can be arranged in the frame head control field of the second Frame, if the error rate that receiving terminal is judged the first Frame is greater than after default thresholding, can generate the second Frame that carries error rate indication information, because this error rate indication information is arranged in the frame head control field of the second Frame, therefore this second Frame both can be for transmission data, also can make transmitting terminal reset the required analog parameter of transmitting data frame by error rate indication information, and then can not affect data transmission service.
Optionally, use a bit in the frame head control field of the second Frame to represent error rate indication information, for example, when certain bit in the frame head control field of receiving terminal the second Frame is set to 1, the error rate that represents the first Frame that receiving terminal receives is greater than default thresholding, when this bit is set to 0, the error rate that represents the first Frame that receiving terminal receives is not more than default thresholding, and then, when transmitting terminal reads this second Frame, can be by the numerical value of this bit in the frame head control field of the second Frame, know and whether carry out the adjustment of analog parameter.
It should be noted that; the embodiment of the present invention just exemplarily illustrates that error rate indication information can be arranged in the frame head control field of the second Frame; certainly this error rate indication information can also be arranged on other bits of the second Frame; but be all for error rate indication information is set, therefore should be within embodiment of the present invention protection range.Same; utilize a bit in the frame head control field of the second Frame to represent that error rate indication information is only also the scheme that the embodiment of the present invention proposes; can certainly adopt two or more bits to carry out the expression of error rate indication information, equally also should be within embodiment of the present invention protection range.
S104, receiving terminal send the second Frame to transmitting terminal, so that transmitting terminal resets the required analog parameter of transmitting data frame according to the error rate indication information in the second Frame.
Receiving terminal carries in generation after the second Frame of error rate indication information, this second Frame can be sent to transmitting terminal, and transmitting terminal can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.
Exemplary, in order not affect the normal transmission of data, transmitting terminal can not be adjusted excessive when carrying out the adjustment of analog parameter, in order to avoid cause CPRI chain rupture.So, when transmitting terminal designs, can select between adjustable parameter region at analog parameter table, set in advance an analog parameter interval, transmitting terminal, when resetting analog parameter, can not exceed between this parameter region setting in advance.
And then transmitting terminal is used this analog parameter resetting, and carries out the transmission of Frame.
The embodiment of the present invention provides a kind of data transmission method, and as shown in Figure 2, the method comprises:
S201, transmitting terminal send the first Frame to receiving terminal.
For transmitting terminal, transmitting terminal can be take the first Frame as carrier, and the data of needs transmission are sent to receiving terminal.
S202, transmitting terminal receive the second Frame from receiving terminal, if the error rate that the second Frame is the first Frame is greater than default thresholding, receiving terminal generates and sends after the second Frame, and the second Frame comprises error rate indication information.
Receiving terminal, after the first Frame receiving from transmitting terminal, can calculate the error rate of the first Frame, how to calculate the error rate of the first Frame for receiving terminal, repeats no more herein.
Receiving terminal, after calculating the error rate of the first Frame, can judge this error rate, if the error rate of the first Frame is greater than default thresholding, to transmitting terminal, sends the second Frame that carries error rate indication information.
Exemplary, due in wireless application, can mutual data transmission between receiving terminal and transmitting terminal, therefore, this second Frame can be for being loaded with the Frame that need to transmit data, further, this error rate indication information can be arranged in the frame head control field of the second Frame, if the error rate that receiving terminal is judged the first Frame is greater than after default thresholding, can generate the second Frame that carries error rate indication information, because this error rate indication information is arranged in the frame head control field of the second Frame, therefore this second Frame both can be for transmission data, also can make transmitting terminal reset the required analog parameter of transmitting data frame by error rate indication information, and then can not affect data transmission service.
Particularly, can use a bit in the frame head control field of the second Frame to represent error rate indication information, for example, when certain bit in the frame head control field of receiving terminal the second Frame is set to 1, the error rate that represents the first Frame that receiving terminal receives is greater than default thresholding, when this bit is set to 0, the error rate that represents the first Frame that receiving terminal receives is not more than default thresholding, and then, when transmitting terminal reads this second Frame, can be by the numerical value of this bit in the frame head control field of the second Frame, know and whether carry out the adjustment of analog parameter.
It should be noted that; the embodiment of the present invention just exemplarily illustrates that error rate indication information can be arranged in the frame head control field of the second Frame; certainly this error rate indication information can also be arranged on other bits of the second Frame; but be all for error rate indication information is set, therefore should be within embodiment of the present invention protection range.Same; utilize a bit in the frame head control field of the second Frame to represent that error rate indication information is only also the scheme that the embodiment of the present invention proposes; can certainly adopt two or more bits to carry out the expression of error rate indication information, equally also should be within embodiment of the present invention protection range.
S203, transmitting terminal reset the required analog parameter of transmitting data frame according to error rate indication information.
Transmitting terminal, after the second Frame receiving from receiving terminal, can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.
Exemplary, in order not affect the normal transmission of data, transmitting terminal can not be adjusted excessive when carrying out the adjustment of analog parameter, in order to avoid cause CPRI chain rupture.So, when transmitting terminal designs, can select between adjustable parameter region at analog parameter table, set in advance an analog parameter interval, transmitting terminal, when resetting analog parameter, can not exceed between this parameter region setting in advance.
You need to add is that, in actual applications, transfer of data between receiving terminal and transmitting terminal is mutual, that is to say, receiving terminal also can transmit data to transmitting terminal, transmitting terminal also can be accepted the data from receiving terminal, so, transmitting terminal also can have the function identical with receiving terminal, after the Frame receiving from receiving terminal, Frame is carried out to the calculating of the error rate, if when the error rate of this Frame is greater than default thresholding, generate and carry the Frame of error rate indication information, and be sent to receiving terminal.Same, receiving terminal also can have the function identical with transmitting terminal, and receiving terminal, after the Frame that carries error rate indication information receiving from transmitting terminal, resets the required analog parameter of transmitting data frame in default analog parameter interval.
A kind of data transmission method that the embodiment of the present invention provides, after the first Frame receiving from transmitting terminal, calculate the error rate of the first Frame, if and then the error rate of this first Frame is greater than default thresholding, generation carries the second Frame of error rate indication information, and the second Frame is sent to transmitting terminal, thereby transmitting terminal can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.By this scheme, can be when the error rate that calculates Frame be greater than default thresholding, by sending error rate indication information, so that transmitting terminal resets the required analog parameter of transmitting data frame.
The embodiment of the present invention provides a kind of data transmission method, and as shown in Figure 3, the method comprises:
S301, transmitting terminal send the first Frame to receiving terminal.
Transmitting terminal is when to receiving terminal transmission data, and the Frame of can take transmits data as carrier, and when data frame transfer, need to determine the analog parameter that transmitting data frame is required, and this analog parameter can comprise amplitude and the pre-emphasis parameters of signal.
Exemplary, this first Frame can be CPRI (The Common Public Radio Interface, common public radio interface) frame.CPRI can adopt digital mode to carry out transmission base band, it has defined REC (Radio Equipment Control, base station data processing and control element (PCE)) with RE (Radio Equipment, base station transceiver unit) interface relationship between, its data structure can be directly used in the data of repeater and carry out far-end transmission, becomes a kind of far-drawing system of base station.In the present embodiment, the transmission of CPRI frame adopts parallel series and staticizer interface, and at the single board design initial stage, by emulation and test, finds one group of parallel series and staticizer analog parameter.
S302, receiving terminal calculate the error rate of the first Frame.
Receiving terminal, after the first Frame receiving from transmitting terminal, can calculate the error rate of the first Frame.The error rate of the embodiment of the present invention refers in systemic presupposition error code number in Frame in the time.
Here, the error rate of how receiving terminal being calculated to the first Frame describes:
CPRI physical layer for transmission adopts 8B/10B coding, and by the feature of this coded system, receiving terminal can check the quantity of the code word of makeing mistakes.The basic thought of 8B/10B coding techniques is that 8 Bit datas are changed into 10 Bit datas through mapping mechanism, produced so certain data redundancy, transmitting terminal can be picked out 0,1 code character of balance as far as possible that distributes and sends when sending data from 1024 10B code characters so, continuous " 1 " or " 0 " is no more than 5, be must insert one " 0 " or " 1 " behind every 5 continuous " 1 " or " 0 ", to maintain the DC balance of link, when sending the special code character that represents control information, can pick out the code character outside numeric data code simultaneously.By 8B/10B, encode, the Frame that can guarantee transmission can correctly be restored at receiving terminal, in addition, utilize some special codes, for example, the K code in PCI-Express (Peripheral Component Interconnect-Express, periphery component interconnection) bus, the work that can help receiving terminal to reduce, and can find in early days the error of transmission of data bit.Concrete mapping mechanism is quite ripe, and is not the emphasis that the present invention pays close attention to, and repeats no more herein.The data transmission method of the embodiment of the present invention, can utilize the characteristic of above-mentioned 8B/10B coding techniques, calculates the error rate of the first Frame.
If the error rate of S303 the first Frame is greater than default thresholding, receiving terminal generates the second Frame, and the second Frame comprises error rate indication information.
Receiving terminal, after calculating the error rate of the first Frame, can judge this error rate, if when the error rate of this first Frame is greater than default thresholding, receiving terminal can generate the second Frame that comprises error rate indication information.
Exemplary, due in wireless application, can mutual data transmission between receiving terminal and transmitting terminal, therefore, this second Frame can be for being loaded with the Frame that need to transmit data, further, this error rate indication information can be arranged in the frame head control field of the second Frame, if the error rate that receiving terminal is judged the first Frame is greater than after default thresholding, can generate the second Frame that carries error rate indication information, because this error rate indication information is arranged in the frame head control field of the second Frame, therefore this second Frame both can be for transmission data, also can make transmitting terminal reset the required analog parameter of transmitting data frame by error rate indication information, and then can not affect data transmission service.
Particularly, can use a bit in the frame head control field of the second Frame to represent error rate indication information, for example, when certain bit in the frame head control field of receiving terminal the second Frame is set to 1, the error rate that represents the first Frame that receiving terminal receives is greater than default thresholding, when this bit is set to 0, the error rate that represents the first Frame that receiving terminal receives is not more than default thresholding, and then, when transmitting terminal reads this second Frame, can be by the numerical value of this bit in the frame head control field of the second Frame, know and whether carry out the adjustment of analog parameter.
It should be noted that; the embodiment of the present invention just exemplarily illustrates that error rate indication information can be arranged in the frame head control field of the second Frame; certainly this error rate indication information can also be arranged on other bits of the second Frame; but be all for error rate indication information is set, therefore should be within embodiment of the present invention protection range.Same; utilize a bit in the frame head control field of the second Frame to represent that error rate indication information is only also the scheme that the embodiment of the present invention proposes; can certainly adopt two or more bits to carry out the expression of error rate indication information, equally also should be within embodiment of the present invention protection range.
S304, receiving terminal send the second Frame to transmitting terminal.
Receiving terminal carries in generation after the second Frame of error rate indication information, this second Frame can be sent to transmitting terminal.
S305, transmitting terminal, according to the error rate indication information in the second Frame, reselect the required analog parameter of transmitting data frame in the analog parameter interval setting in advance.
Transmitting terminal, after the second Frame receiving from receiving terminal, can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.
Exemplary, in order not affect the normal transmission of data, transmitting terminal can not be adjusted excessive when carrying out the adjustment of analog parameter, in order to avoid cause CPRI chain rupture.So, when transmitting terminal designs, can select between adjustable parameter region at analog parameter table, set in advance an analog parameter interval, transmitting terminal, when reselecting the required analog parameter of transmitting data frame, can not exceed this analog parameter setting in advance interval.
If S306 is in predetermined period, transmitting terminal receives the Frame that carries error rate indication information from receiving terminal, does not reset the required analog parameter of transmitting data frame.
Receiving terminal reselects after the required analog parameter of transmitting data frame in the analog parameter interval setting in advance, with this analog parameter, send Frame, owing to adjusting analog parameter, also can cause the unstable of the Frame error rate, if therefore in the predetermined period after reselecting analog parameter, transmitting terminal still receives the Frame that carries error rate indication information from receiving terminal, transmitting terminal does not reset the required analog parameter of transmitting data frame so, do not do the adjustment of analog parameter, this predetermined period can be 1 minute, after the receiving terminal error rate is stable, does again further and process.
You need to add is that, in actual applications, transfer of data between receiving terminal and transmitting terminal is mutual, that is to say, receiving terminal also can transmit data to transmitting terminal, transmitting terminal also can be accepted the data from receiving terminal, so, transmitting terminal also can have the function identical with receiving terminal, after the Frame receiving from receiving terminal, Frame is carried out to the calculating of the error rate, if the error rate of this Frame is greater than default thresholding, generate and carry the Frame of error rate indication information, and be sent to receiving terminal.Same, receiving terminal also can have the function identical with transmitting terminal, and receiving terminal, after the Frame that carries error rate indication information receiving from transmitting terminal, resets the required analog parameter of transmitting data frame in default analog parameter interval.
A kind of data transmission method that the embodiment of the present invention provides, by receiving terminal after the first Frame receiving from transmitting terminal, calculate the error rate of the first Frame, if and then the error rate of this first Frame is greater than default thresholding, receiving terminal generates the second Frame that carries error rate indication information, and the second Frame is sent to transmitting terminal, thereby, transmitting terminal can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame, and, if in the predetermined period after resetting analog parameter, transmitting terminal receives the Frame that carries error rate indication information from receiving terminal, do not reset the required analog parameter of transmitting data frame.By this scheme, can be when the error rate that calculates Frame be greater than default thresholding, by sending error rate indication information, so that transmitting terminal resets the required analog parameter of transmitting data frame.
The embodiment of the present invention provides a kind of receiving terminal 1, corresponding said method embodiment, and each functional unit of described receiving terminal 1 all can be for said method step.As shown in Figure 4, comprising:
Receiver module 40, for receiving the first Frame from transmitting terminal;
Computing module 41, for calculating the error rate of described the first Frame;
Receiving terminal 1 is after the first Frame receiving from transmitting terminal, and computing module 41 can calculate the error rate of the first Frame.The error rate of the embodiment of the present invention refers in systemic presupposition error code number in Frame in the time.
Frame generation module 43, if be greater than default thresholding for the error rate of described the first Frame, generates the second Frame, and described the second Frame comprises error rate indication information;
Receiving terminal 1, after calculating the error rate of the first Frame, can judge this error rate, if when the error rate of this first Frame is greater than default thresholding, the Frame generation module 43 of receiving terminal 1 can generate the second Frame that comprises error rate indication information.
Exemplary, due in wireless application, can mutual data transmission between receiving terminal and transmitting terminal, therefore, this second Frame can be for being loaded with the Frame that need to transmit data, further, this error rate indication information can be arranged in the frame head control field of the second Frame, if the error rate that receiving terminal is judged the first Frame is greater than after default thresholding, can generate the second Frame that carries error rate indication information, because this error rate indication information is arranged in the frame head control field of the second Frame, therefore this second Frame both can be for transmission data, also can make transmitting terminal reset the required analog parameter of transmitting data frame by error rate indication information, and then can not affect data transmission service.
Optionally, use a bit in the frame head control field of the second Frame to represent error rate indication information, for example, when certain bit in the frame head control field of receiving terminal the second Frame is set to 1, the error rate that represents the first Frame that receiving terminal receives is greater than default thresholding, when this bit is set to 0, the error rate that represents the first Frame that receiving terminal receives is not more than default thresholding, and then, when transmitting terminal reads this second Frame, can be by the numerical value of this bit in the frame head control field of the second Frame, know and whether carry out the adjustment of analog parameter.
It should be noted that; the embodiment of the present invention just exemplarily illustrates that error rate indication information can be arranged in the frame head control field of the second Frame; certainly this error rate indication information can also be arranged on other bits of the second Frame; but be all for error rate indication information is set, therefore should be within embodiment of the present invention protection range.Same; utilize a bit in the frame head control field of the second Frame to represent that error rate indication information is only also the scheme that the embodiment of the present invention proposes; can certainly adopt two or more bits to carry out the expression of error rate indication information, equally also should be within embodiment of the present invention protection range.
Sending module 44, for sending described the second Frame to described transmitting terminal, so that described transmitting terminal resets the required analog parameter of transmitting data frame according to the described error rate indication information in described the second Frame.
The Frame generation module 43 of receiving terminal 1 carries after the second Frame of error rate indication information in generation, sending module 44 can be sent to transmitting terminal by this second Frame, and transmitting terminal can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.
Exemplary, in order not affect the normal transmission of data, transmitting terminal can not be adjusted excessive when carrying out the adjustment of analog parameter, in order to avoid cause CPRI chain rupture.So, when transmitting terminal designs, can select between adjustable parameter region at analog parameter table, set in advance an analog parameter interval, transmitting terminal, when resetting analog parameter, can not exceed between this parameter region setting in advance.
The embodiment of the present invention provides a kind of transmitting terminal 2, corresponding said method embodiment, and each functional unit of described transmitting terminal 2 all can be for said method step.As shown in Figure 5, comprising:
Transmitting element 50, for sending the first Frame to receiving terminal;
For transmitting terminal 2, the sending module 50 of transmitting terminal 2 can be take the first Frame as carrier, and the data of needs transmission are sent to receiving terminal.
Receiving element 51, for receiving the second Frame from described receiving terminal, if described the second Frame is greater than default thresholding for the error rate of described the first Frame, described receiving terminal generates and sends after described the second Frame, and described the second Frame comprises error rate indication information;
Analog parameter adjustment module 52, for resetting the required analog parameter of transmitting data frame according to described error rate indication information.
Transmitting terminal 2 is after the second Frame receiving from receiving terminal, and analog parameter adjustment module 52 can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.
Exemplary, in order not affect the normal transmission of data, transmitting terminal can not be adjusted excessive when carrying out the adjustment of analog parameter, in order to avoid cause CPRI chain rupture.So, when transmitting terminal designs, can select between adjustable parameter region at analog parameter table, set in advance an analog parameter interval, transmitting terminal, when resetting analog parameter, can not exceed between this parameter region setting in advance.
You need to add is that, in actual applications, transfer of data between receiving terminal and transmitting terminal is mutual, that is to say, receiving terminal also can transmit data to transmitting terminal, transmitting terminal also can be accepted the data from receiving terminal, so, transmitting terminal also can have the function identical with receiving terminal, after the Frame receiving from receiving terminal, Frame is carried out to the calculating of the error rate, if when the error rate of this Frame is greater than default thresholding, generate and carry the Frame of error rate indication information, and be sent to receiving terminal.Same, receiving terminal also can have the function identical with transmitting terminal, and receiving terminal, after the Frame that carries error rate indication information receiving from transmitting terminal, resets the required analog parameter of transmitting data frame in default analog parameter interval.
Further, analog parameter adjustment module 52 specifically for, according to described error rate indication information, in the analog parameter interval setting in advance, reselect the required analog parameter of transmitting data frame.
Further, described, according to described error rate indication information, reset after the required analog parameter of transmitting data frame, described analog parameter adjustment module 52 also for:
If in predetermined period, receive the Frame from the described error rate indication information of carrying of described receiving terminal, do not reset the required analog parameter of transmitting data frame.
You need to add is that, in actual applications, transfer of data between receiving terminal 1 and transmitting terminal 2 is mutual, that is to say, receiving terminal 1 also can be to transmitting terminal 2 transmission data, transmitting terminal 2 also can be accepted the data from receiving terminal 1, so, transmitting terminal 2 also can have the function identical with receiving terminal 1, after the Frame receiving from receiving terminal 1, Frame is carried out to the calculating of the error rate, if the error rate of this Frame is greater than default thresholding, 1 generation of receiving terminal carries the Frame of error rate indication information, and is sent to receiving terminal 2.Same, receiving terminal 1 also can have the function identical with transmitting terminal 2, be receiving terminal 1 after the Frame that carries error rate indication information receiving from transmitting terminal 2, in default analog parameter interval, reset the required analog parameter of transmitting data frame.
The data transmission device that the embodiment of the present invention provides, by receiving terminal after the first Frame receiving from transmitting terminal, calculate the error rate of the first Frame, if and then the error rate of this first Frame is greater than default thresholding, receiving terminal generates the second Frame that carries error rate indication information, and the second Frame is sent to transmitting terminal, thereby transmitting terminal can reset according to the error rate indication information in the second Frame the required analog parameter of transmitting data frame.By this scheme, when the error rate that can calculate Frame at receiving terminal is greater than default thresholding, by sending error rate indication information, so that transmitting terminal resets the required analog parameter of transmitting data frame.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (13)

1. a data transmission method, is characterized in that, comprising:
Reception is from the first Frame of transmitting terminal;
Calculate the error rate of described the first Frame;
If the error rate of described the first Frame is greater than default thresholding, generate the second Frame, described the second Frame comprises error rate indication information;
Send described the second Frame to described transmitting terminal, so that described transmitting terminal resets the required analog parameter of transmitting data frame according to the described error rate indication information in described the second Frame.
2. data transmission method according to claim 1, is characterized in that, describedly according to the described error rate indication information in described the second Frame, resets the required analog parameter of transmitting data frame and comprises:
Described error rate indication information according in described the second Frame reselects the required analog parameter of transmitting data frame in the analog parameter interval setting in advance.
3. data transmission method according to claim 1, is characterized in that, described error rate indication information is arranged in the frame head control field of described the second Frame.
4. data transmission method according to claim 1, is characterized in that, described the first Frame and the second Frame are common public radio interface (CPRI) frame.
5. a data transmission method, is characterized in that, comprising:
Send the first Frame to receiving terminal;
Reception is from the second Frame of described receiving terminal, if the error rate that described the second Frame is described the first Frame is greater than default thresholding, described receiving terminal generates and sends after the second Frame, and described the second Frame comprises error rate indication information;
According to described error rate indication information, reset the required analog parameter of transmitting data frame.
6. data transmission method according to claim 5, is characterized in that, describedly according to the described error rate indication information in described the second Frame, resets the required analog parameter of transmitting data frame and comprises:
Described error rate indication information according in described the second Frame reselects the required analog parameter of transmitting data frame in the analog parameter interval setting in advance.
7. data transmission method according to claim 5, is characterized in that, described, according to the described error rate indication information in described the second Frame, resets after the required analog parameter of transmitting data frame, and described method also comprises:
If in predetermined period, receive the Frame from the described error rate indication information of carrying of described receiving terminal, do not reset the required analog parameter of transmitting data frame.
8. data transmission method according to claim 5, is characterized in that, described error rate indication information is arranged in the frame head control field of described the second Frame.
9. data transmission method according to claim 5, is characterized in that, described the first Frame and the second Frame are common public radio interface (CPRI) frame.
10. a receiving terminal, is characterized in that, comprising:
Receiver module, for receiving the first Frame from transmitting terminal;
Computing module, for calculating the error rate of described the first Frame;
Frame generation module, if be greater than default thresholding for the error rate of described the first Frame, generates the second Frame, and described the second Frame comprises error rate indication information;
Sending module, for sending described the second Frame to described transmitting terminal, so that described transmitting terminal resets the required analog parameter of transmitting data frame according to the described error rate indication information in described the second Frame.
11. 1 kinds of transmitting terminals, is characterized in that, comprising:
Transmitting element, for sending the first Frame to receiving terminal;
Receiving element, for receiving the second Frame from described receiving terminal, if described the second Frame is greater than default thresholding for the error rate of described the first Frame, described receiving terminal generates and sends after described the second Frame, and described the second Frame comprises error rate indication information;
Analog parameter adjustment module, for resetting the required analog parameter of transmitting data frame according to described error rate indication information.
12. transmitting terminals according to claim 11, is characterized in that, described analog parameter adjustment module specifically for, according to described error rate indication information, in the analog parameter interval setting in advance, reselect the required analog parameter of transmitting data frame.
13. transmitting terminals according to claim 11, is characterized in that, described, according to described error rate indication information, reset after the required analog parameter of transmitting data frame, described analog parameter adjustment module also for:
If in predetermined period, receive the Frame from the described error rate indication information of carrying of described receiving terminal, do not reset the required analog parameter of transmitting data frame.
CN201210222820.6A 2012-06-29 2012-06-29 Data transmission method and device Pending CN103516477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210222820.6A CN103516477A (en) 2012-06-29 2012-06-29 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210222820.6A CN103516477A (en) 2012-06-29 2012-06-29 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN103516477A true CN103516477A (en) 2014-01-15

Family

ID=49898579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210222820.6A Pending CN103516477A (en) 2012-06-29 2012-06-29 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN103516477A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888345A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 A kind of method and apparatus of information transfer
CN109698762A (en) * 2017-10-24 2019-04-30 华为技术有限公司 A kind of method and parameter adjustment controls of adjusting parameter
CN110930910A (en) * 2019-12-02 2020-03-27 Tcl华星光电技术有限公司 Method and device for processing signals in display panel
US11043154B1 (en) 2019-12-02 2021-06-22 Tcl China Star Optoelectronics Technology Co., Ltd. Signal processing method for display panel and device using same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0772317A2 (en) * 1995-11-06 1997-05-07 He Holdings, Inc. Dba Hughes Electronics Adaptive power control and coding for satellite communications
CN101201807A (en) * 2006-12-12 2008-06-18 富士通株式会社 Serial transmission system, a method for automatically correcting signal quality of serial transmission system, and port
CN101674089A (en) * 2009-10-19 2010-03-17 中国科学院声学研究所 High-speed 8B/10B coder, decoder and processing method thereof for error input
CN101989902A (en) * 2010-11-16 2011-03-23 中兴通讯股份有限公司 Data retransmission method and device
CN101998102A (en) * 2009-08-24 2011-03-30 中兴通讯股份有限公司 Method for controlling video quality of mobile video telephone and mobile video telephone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0772317A2 (en) * 1995-11-06 1997-05-07 He Holdings, Inc. Dba Hughes Electronics Adaptive power control and coding for satellite communications
CN101201807A (en) * 2006-12-12 2008-06-18 富士通株式会社 Serial transmission system, a method for automatically correcting signal quality of serial transmission system, and port
CN101998102A (en) * 2009-08-24 2011-03-30 中兴通讯股份有限公司 Method for controlling video quality of mobile video telephone and mobile video telephone
CN101674089A (en) * 2009-10-19 2010-03-17 中国科学院声学研究所 High-speed 8B/10B coder, decoder and processing method thereof for error input
CN101989902A (en) * 2010-11-16 2011-03-23 中兴通讯股份有限公司 Data retransmission method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888345A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 A kind of method and apparatus of information transfer
US10951340B2 (en) 2016-09-29 2021-03-16 Zte Corporation Method and device for transmitting bit error rate information in FlexE overhead frame, and computer storage medium
CN109698762A (en) * 2017-10-24 2019-04-30 华为技术有限公司 A kind of method and parameter adjustment controls of adjusting parameter
WO2019080546A1 (en) * 2017-10-24 2019-05-02 华为技术有限公司 Method for adjusting parameters and parameter adjusting device
CN109698762B (en) * 2017-10-24 2020-10-23 华为技术有限公司 Parameter adjusting method and parameter adjusting device
CN110930910A (en) * 2019-12-02 2020-03-27 Tcl华星光电技术有限公司 Method and device for processing signals in display panel
WO2021109224A1 (en) * 2019-12-02 2021-06-10 Tcl华星光电技术有限公司 Method and apparatus for processing signal in display panel
US11043154B1 (en) 2019-12-02 2021-06-22 Tcl China Star Optoelectronics Technology Co., Ltd. Signal processing method for display panel and device using same
CN110930910B (en) * 2019-12-02 2021-07-06 Tcl华星光电技术有限公司 Method and device for processing signals in display panel

Similar Documents

Publication Publication Date Title
US11303298B2 (en) Encoding and decoding method and terminal
KR20200017520A (en) Polar Code Encoding Method and Device
CN108809487B (en) Data transmission method, base station and terminal equipment
CN103534969A (en) Data transmission method, base station and user device
CN101702639B (en) Check value calculation method and device of cyclic redundancy check
US11394488B2 (en) Polarized coding method and apparatus, electronic device, and storage medium
EP3958485A1 (en) Data transmission method and device
CN103516477A (en) Data transmission method and device
EP3627710A1 (en) Methods, apparatuses and devices for coding and decoding polarization code
CN104081701B (en) Communication means, system and the device of optical network system
CN102868575A (en) Simulation method and system of electric power line carrier communication system
CN108347297A (en) A kind of coding method, interpretation method, code device and code translator
CN114499651A (en) Signal transmission method, signal transmission device and electronic equipment
CN102355378A (en) Carrier channel testing system
CN104467865B (en) Serial communication protocol controller, byte split circuit and 8b10b encoders
CN101442380A (en) Method and apparatus for testing error rate based on high speed serial interface encoded mode
CN103199953A (en) Method and device for data transmission and communication equipment
CN101588222B (en) Communication adapter with error correction processing function and application thereof
CN109391437B (en) Communication method and apparatus
CN105637956A (en) Access network node and paging method
CN103516478A (en) Method and device for information sending
CN105389865B (en) Shorten the digital signal method of sending and receiving and mobile terminal of sending time
CN110167154B (en) Method for transmitting uplink signal, communication device and computer readable storage medium
CN105099571A (en) Audio communication method
CN100574238C (en) A kind of coaxial ethernet physical layer data processing method and equipment

Legal Events

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

Application publication date: 20140115

RJ01 Rejection of invention patent application after publication