CN110247734A - A kind of data transmission method, device and electronic equipment - Google Patents

A kind of data transmission method, device and electronic equipment Download PDF

Info

Publication number
CN110247734A
CN110247734A CN201910526092.XA CN201910526092A CN110247734A CN 110247734 A CN110247734 A CN 110247734A CN 201910526092 A CN201910526092 A CN 201910526092A CN 110247734 A CN110247734 A CN 110247734A
Authority
CN
China
Prior art keywords
phase
data
packet
target packet
target
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.)
Granted
Application number
CN201910526092.XA
Other languages
Chinese (zh)
Other versions
CN110247734B (en
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.)
Hefei Yiswei Integrated Circuit Co Ltd
Original Assignee
Hefei Yiswei Integrated Circuit 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 Hefei Yiswei Integrated Circuit Co Ltd filed Critical Hefei Yiswei Integrated Circuit Co Ltd
Priority to CN201910526092.XA priority Critical patent/CN110247734B/en
Publication of CN110247734A publication Critical patent/CN110247734A/en
Application granted granted Critical
Publication of CN110247734B publication Critical patent/CN110247734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling

Abstract

This application discloses a kind of data transmission method, device, transmitter and receiver, it includes multiple data bit in target packet that method, which includes: to obtain target packet to be transmitted, and data bit has phase;Obtain the phase of the data bit in previous the first data packet being transmitted of target packet;Phase at least based on data bit in the first data packet, handles the phase of data bit in target packet;Target packet Jing Guo Phase Processing is transmitted.It can be seen that, data bit phase in the application in transmission objectives data packet based on the previous data packet being transmitted carries out Phase Processing, with the data packet transmitted before and after differentiated, thus achieve the purpose that the stroke length for limiting data transmission, so that circuit stability is worked, and do not need to increase additional extra order during this realization, is valid data in the data of transmission, and then not will cause the loss of data transmission efficiency, thus achieve the purpose that 100% data transmission efficiency.

Description

A kind of data transmission method, device and electronic equipment
Technical field
This application involves technical field of data processing, in particular to a kind of data transmission method, device and electronic equipment.
Background technique
In clock and data recovery CDR (ClockandData Recovery) circuit of phaselocked loop construction, from transmitter The data transmitted to receiver have stroke length run-length, and the trip length refers in ce circuit in certain data packet Transmission time T in transmit phase lengths.For the stabilization of holding circuit, need to limit maximum length of stroke.
In existing restricted version, extra order usually is added on the specific position of each T in the data of transmission, with Characterize end or the start bit of stroke length.
But the scheme of this transmission data will increase additional transferring content, cause the efficiency of transmission of data lower.
Summary of the invention
In view of this, the application's is designed to provide a kind of data transmission method, device, transmitter and receiver, use With the technical problem for causing data transmission efficiency lower when solving the stroke length of limitation data transmission in the prior art.
This application provides a kind of data transmission methods, comprising:
Target packet to be transmitted is obtained, includes multiple data bit in the target packet, the data bit has Phase;
Obtain the phase of the data bit in previous the first data packet being transmitted of the target packet;
Phase at least based on data bit in first data packet, to the phase of data bit in the target packet into Row processing;
Target packet Jing Guo Phase Processing is transmitted.
The above method, it is preferred that the phase at least based on data bit in first data packet, to the target packet The phase of middle data bit is handled, comprising:
If the phase of data bit and the phase of data bit in first data packet are complete in the target packet The phase of low level or overall height position carries out phasing back to the phase of data bit in the target packet;
Target processing is carried out to the target packet Jing Guo phasing back, so that the target packet has target special Sign, it is the data packet by phasing back that the target signature, which characterizes the target packet,.
The above method, it is preferred that target processing is carried out to the target packet Jing Guo phasing back, comprising:
Phase enhancing processing is carried out to the phase of at least partly data bit in the target packet Jing Guo phasing back.
The above method, it is preferred that the phase of at least partly data bit in the target packet Jing Guo phasing back into Row phase enhancing processing, comprising:
In the target packet data bit be overall height position in the case where, in the target packet at least partly The phase of data bit carries out increasing processing;
In the target packet data bit be full low level in the case where, in the target packet at least partly The phase of data bit carries out reduction processing.
The above method, it is preferred that after the acquisition target packet to be transmitted, the method also includes:
Judge whether the phase of data bit in the target packet is the phase of full low level or overall height position, if so, holding The phase and subsequent step of row acquisition data bit in previous the first data packet being transmitted of the target packet, Otherwise, the target packet is directly transmitted.
The above method, it is preferred that in the acquisition in previous the first data packet being transmitted of the target packet After the phase of middle data bit, the method also includes:
Judge that the phase of data bit is identical as the phase of data bit in first data packet in the target packet, holds The row phase at least based on data bit in first data packet, carries out the phase of data bit in the target packet Otherwise processing and subsequent step directly transmit the target packet.
Present invention also provides another data transmission methods, comprising:
The target packet that transmission comes is received, includes multiple data bit in the target packet, the data bit has Phase;
Judge whether the target packet passes through Phase Processing, wherein the Phase Processing of passing through includes: the target Phase of the data packet before transmission based on the data bit in previous the first data packet being transmitted of the target packet into Went Phase Processing;
In the case where the target packet passes through Phase Processing, phase also original place is carried out to the target packet Reason obtains the target packet of phase reduction.
The above method, it is preferred that judge whether the target packet passes through Phase Processing, comprising:
Judge whether the target packet has target signature, it is warp that the target signature, which characterizes the target packet, Cross the data packet of phasing back;
It is wherein, described that phase reduction is carried out to the target packet, comprising:
Target signature in the target packet is eliminated, and to the phase of data bit in the target packet Phasing back is carried out, the target packet of phase reduction is obtained.
The above method, it is preferred that the target signature in the target packet is eliminated, comprising:
The processing of phase decrease is carried out to the phase for the data bit that phase in the target packet is enhanced.
The above method, it is preferred that phase is carried out to the phase for the data bit that phase in the target packet is enhanced and is subtracted Weak processing, comprising:
In the target packet data bit be overall height position and increase with phase data bit in the case where, to described The phase for the data bit that phase increases in target packet is reduced to consistent with other data bit phases;
In the case that data bit is full low level and has the data bit of phase reduction in the target packet, to described The phase for the data bit that phase reduces in target packet increases to consistent with other data bit phases.
Present invention also provides a kind of data transmission devices, comprising:
Target obtaining unit includes multiple data in the target packet for obtaining target packet to be transmitted Position, the data bit have phase;
Phase obtaining unit, for obtaining the data in previous the first data packet being transmitted of the target packet The phase of position;
Phase Processing unit, for the phase at least based on data bit in first data packet, to the target data The phase of data bit is handled in packet;
Packet transmission unit, for being transmitted to the target packet Jing Guo Phase Processing.
Present invention also provides another data transmission devices, comprising:
Packet receiving unit includes multiple data bit in the target packet for receiving transmission next target packet, The data bit has phase;
Phase place judging unit, for judging whether the target packet passes through Phase Processing, wherein described to pass through phase Processing includes: the target packet before transmission based in previous the first data packet being transmitted of the target packet The phase of middle data bit carried out Phase Processing;
Packet reduction unit is used in the case where the target packet passes through Phase Processing, to the target packet Phase reduction treatment is carried out, the target packet of phase reduction is obtained.
Present invention also provides a kind of transmitters, comprising:
Transmited processor includes multiple data bit in the target packet for obtaining target packet to be transmitted, The data bit has phase;Obtain the phase of the data bit in previous the first data packet being transmitted of the target packet Position;Phase at least based on data bit in first data packet, at the phase of data bit in the target packet Reason;
Emission interface, for being transmitted to the target packet Jing Guo Phase Processing.
Present invention also provides a kind of receivers, comprising:
Receiving interface includes multiple data bit, institute in the target packet for receiving transmission next target packet Data bit is stated with phase;
Processor is received, for judging whether the target packet passes through Phase Processing, wherein described by phase Reason includes: the target packet before transmission based in previous the first data packet being transmitted of the target packet The phase of data bit carried out Phase Processing;In the case where the target packet passes through Phase Processing, to the number of targets Phase reduction treatment is carried out according to packet, obtains the target packet of phase reduction.
As it can be seen from the above scheme a kind of data transmission method, device, transmitter and receiver provided by the present application, for Target packet to be transmitted can pass through the phase to the data bit in the previous data packet being transmitted of the target packet Position obtain and handled based on phase of the phase to data bit in target packet, thus to processed number of targets It is transmitted according to packet.As it can be seen that in transmission objectives data packet based on the previous data packet being transmitted in the application Data bit phase carries out Phase Processing, and with the data packet transmitted before and after differentiated, the stroke for thus reaching limitation data transmission is long The purpose of degree, makes circuit stability work, and does not need to increase additional extra order during this realization, in the data of transmission In be valid data, and then not will cause the loss of data transmission efficiency, thus reach the mesh of 100% data transmission efficiency 's.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart for data transmission method that the embodiment of the present application one provides;
Fig. 2 and Fig. 3 is respectively the application exemplary diagram of the embodiment of the present application;
Fig. 4 is a kind of another flow chart for data transmission method that the embodiment of the present application one provides;
Fig. 5 is a kind of partial process view for data transmission method that the embodiment of the present application one provides;
Fig. 6 and Fig. 7 is respectively the another application exemplary diagram of the embodiment of the present application;
Fig. 8 is a kind of implementation flow chart for data transmission method that the embodiment of the present application two provides;
Fig. 9, Figure 10 a and Figure 10 b are respectively the another application exemplary diagram of the embodiment of the present application;
Figure 11 is a kind of structural schematic diagram for data transmission device that the embodiment of the present application three provides;
Figure 12 is a kind of structural schematic diagram for data transmission device that the embodiment of the present application four provides;
Figure 13 is a kind of structural schematic diagram for transmitter that the embodiment of the present application five provides;
Figure 14 is a kind of structural schematic diagram for receiver that the embodiment of the present application six provides;
Figure 15-Figure 18 is respectively the other application exemplary diagram of the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
With reference to Fig. 1, for a kind of implementation flow chart for data transmission method that the embodiment of the present application one provides, in the present embodiment Method can be adapted for carrying out in the transmitter of the ce circuit of data transmission, be mainly used for limiting stroke to the data of transmission Length, to guarantee the stabilization of circuit, further, the efficiency of improve data transfer on this basis.
In the present embodiment, this method may comprise steps of:
Step 101: obtaining target packet to be transmitted.
It wherein, may include having multiple data bit in target packet, D1-Dn as shown in Figure 2, each data bit tool There are the phase of oneself, i.e. high-low-position, such as the 0 of high-order 1 or low level.
It should be noted that number, that is, target packet length of data bit is data in circuit in target packet The stroke length of transmission, and be intended to carry out area with the data packet of front and back in transmission process to target packet in the present embodiment Point, to limit length of the maximum length of stroke as target packet.
Step 102: obtaining the phase of the data bit in previous the first data packet being transmitted of target packet.
Wherein, the first data packet refers to the last data packet being transmitted before target packet, such as institute in Fig. 3 Show, data packet A and data packet B have been transmitted before target packet, before data packet B, data packet B is data packet A The data packet being just transmitted, and sorting after data packet B is that target packet preparation starts to transmit, and is obtained in the present embodiment The phase of data bit is the phase of data bit in data packet B in the first data packet taken.
It should be noted that the phase of data bit may be to have already passed through the phase of Phase Processing in the first data packet, It may be original phase.The phase of data bit refers to that being transmitted rear first counts in the first acquired data packet in the present embodiment The final phase presented according to data bit in packet.
Step 103: the phase at least based on data bit in the first data packet, to the phase of data bit in target packet into Row processing.
Wherein, in the present embodiment can based on the phase of data bit in the first data packet be overall height position, full low level or other The case where the case where phase, the phase for carrying out data bit in combining target data packet is overall height position, full low level or other phases, to mesh The phase of data bit is handled in mark data packet, to obtain the target packet after Phase Processing.
Step 104: the target packet Jing Guo Phase Processing is transmitted.
For example, transmit the target packet Jing Guo Phase Processing in the transmitter of circuit in the present embodiment, with It is transferred to receiver.
As it can be seen from the above scheme a kind of data transmission method that the embodiment of the present application one provides, for target to be transmitted Data packet can be obtained simultaneously by the phase to the data bit in the previous data packet being transmitted of the target packet It is handled based on phase of the phase to data bit in target packet, to be passed to processed target packet It is defeated.As it can be seen that the data bit phase in the present embodiment in transmission objectives data packet based on the previous data packet being transmitted Position carries out Phase Processing, with the data packet transmitted before and after differentiated, thus achievees the purpose that the stroke length for limiting data transmission, So that circuit stability is worked, and do not need to increase additional extra order during this realization, is to have in the data of transmission It data imitated, and then not will cause the loss of data transmission efficiency, thus achieve the purpose that 100% data transmission efficiency.
In one implementation, after obtaining target packet in a step 101 in the present embodiment, can also include with Lower step, as shown in Figure 4:
Step 105: judge data bit in target packet phase whether be full low level or overall height position phase, if mesh The phase of data bit is not the phase of full low level or overall height position in mark data packet, then without executing step 102 and step 103, Phase Processing is not carried out to target packet, target packet can directly be transmitted, data will not be caused to transmit The extension of stroke length, the and if phase of data bit is the phase of full low level or overall height position in target packet, can be with Step 102 and subsequent step are continued to execute, front and back data packet is carried out by differentiated with this, on the basis of limiting stroke length Improve data transfer efficiency.
Further, after step 102, the method in the present embodiment can also include the following steps, such as institute in Fig. 4 Show:
Step 106: judge the phase of data bit and data bit in the first data packet in target packet phase whether phase Together, if it is identical, for differentiated target packet and the first data packet, execute step 103 and subsequent step, will before Data packet again transmit target packet after differentiated afterwards, and then improves number on the basis of limiting stroke length According to efficiency of transmission, and if the phase of data bit is different from the phase of data bit in the first data packet in target packet, It just no longer needs to execute step 103, Phase Processing is not carried out to target packet, target packet can directly be transmitted, The extension for the stroke length that data will not be caused to transmit.
In one implementation, step 103 can be accomplished by the following way in specific implementation, as shown in Figure 5:
Step 501: if the phase of data bit and the phase of data bit in the first data packet are complete in target packet The phase of low level or overall height position, then the phase to data bit in target packet carries out phasing back.
Wherein, the phasing back in the present embodiment refers to, is the phase of overall height position by the phasing back of full low level, or will The phasing back of overall height position is the phase of full low level.
Step 502: the target packet Jing Guo phasing back being handled, so that target packet has target special Sign.
Wherein, it is the data packet by phasing back which, which can characterize target packet, convenient in number of targets After being transferred to receiver according to packet, receiver can accurately be restored target packet, the correct mesh restored Mark data packet.
In the concrete realization, the target packet Jing Guo phasing back is carried out in step 502 being processed so that number of targets There is target signature according to packet, can specifically be accomplished by the following way:
Phase enhancing processing is carried out to the phase of at least partly data bit in the target packet Jing Guo phasing back.
Wherein, phase enhancing here refer to the phase of at least partly data bit in overall height position or full low level high or Low side sets up the multilevel phase multi-level of at least one level.
For example, in the case that data bit is overall height position in target packet, at least partly counting in target packet It carries out increasing processing according to the phase of position, in Fig. 6, the phase of the data bit of D2-D4 in target packet is increased, and its His D1 and D5-D6 is still the high position relative to reference line originally, so that target packet has multilevel phase;
In the case that data bit is full low level in target packet, at least partly data bit in target packet Phase carries out reduction processing, in Fig. 7, reduces to the phase of the data bit of D3-D4 in target packet, and other D1- D2 and D5-D6 is still original low level, so that target packet has multilevel phase.
It should be noted that the multilevel phase in the present embodiment is not limited to two-stage phase, it is also even more comprising three-level The phase setting of grade.
As it can be seen that by the way that multilevel phase multi- is arranged to data bit in the target packet after phasing back in the present embodiment Level so that after succeeding target data packet is transferred to the receiver of other side, receiver can be identified based on the multilevel phase through The data packet of Phase Processing is crossed, in order to carry out reduction treatment, obtains original correct data packet.
With reference to Fig. 8, for a kind of implementation flow chart for data transmission method that the embodiment of the present application two provides, this method is applicable in In the receiver of ce circuit for carrying out data receiver, it is mainly used for restoring received data, to realize data just Really transmission.
In the present embodiment, this method may comprise steps of:
Step 801: receiving the target packet that transmission comes.
It wherein, include multiple data bit in target packet, as shown in Figure 2.
It should be noted that number, that is, target packet length of data bit is data in circuit in target packet The stroke length of transmission, and be intended to whether live through phase in stroke length to the target packet that transmission comes in the present embodiment Processing is identified, to restore correct target packet.
Step 802: judging whether target packet passes through Phase Processing, if so, executing step 803.
Wherein, the case where process Phase Processing in the present embodiment refers to: target packet from transmitter before transmitting Phase based on the data bit in previous the first data packet being transmitted of target packet carried out Phase Processing.
Step 803: phase reduction packet being carried out to target packet, obtains the target packet of phase reduction.
Wherein, for judging that the target packet Jing Guo Phase Processing does not need then to carry out reduction treatment, transmission The target packet come is the raw data packets of transmitter.
As it can be seen from the above scheme a kind of data transmission method that the embodiment of the present application two provides, for transmitting the target come Data packet, can be by the way that target packet, whether the phase based on data bit in the previous data packet being transmitted was carried out Phase Processing is judged, and then carries out phase reduction to the target packet for living through Phase Processing, with the mesh restored Data packet is marked, realizes the correct transmission of data.As it can be seen that having been passed in transmission objectives data packet based on previous in the present embodiment The data bit phase for the data packet being finished carries out Phase Processing, with the data packet transmitted before and after differentiated, thus reaches limitation The purpose of the stroke length of data transmission, makes circuit stability work, and does not need to increase additionally attached during this realization Add position, is valid data in the data of transmission, and then not will cause the loss of data transmission efficiency, moreover, being transferred to It, can be by whether the judgement by Phase Processing restores data, to pass reaching 100% data after destination While the purpose of defeated efficiency, the correct transmission of data is realized.
In one implementation, in the present embodiment step 802 when judging whether target packet passes through Phase Processing, It can specifically be accomplished by the following way:
Judge whether target packet has target signature, it is by phasing back which, which characterizes target packet, Data packet.
Specifically, it in the presence of the phase of at least partly data bit is multilevel phase that target signature, which can be in target packet, The phase such as increased on the basis of a high position, or the phase reduced on the basis of low level, so that having in target packet It is even more multistage high-order there are a level-one high position and a second level high position, or there is level-one low level and second level low level very in target packet To more stages low level, as shown in Figure 9.
Correspondingly, in the present embodiment in step 803 to target packet carry out phase reduction when, specifically can by with Under type is realized:
Target signature in target packet is eliminated, such as eliminates the multilevel phase in target packet, And phasing back is carried out to the phase of data bit in target packet, obtain the target packet of phase reduction.
Specifically, eliminating to the target signature in target packet can be accomplished by the following way:
Decrease processing is carried out to the phase for the data bit that phase in target packet is enhanced.
For example, in target packet data bit be overall height position and increase with phase data bit in the case where, to mesh The phase of data bit that phase increases in mark data packet be reduced to it is consistent with other data bit phases, as illustrated in fig. 10 a, to mesh It is reduced in the data bit of D2-D4 compared to high-order more advanced phase in mark data packet original with other D1 and D5-D6 A high position it is consistent;
In the case that data bit is full low level and has the data bit of phase reduction in target packet, to target data The phase for the data bit that phase reduces in packet increases to consistent with other data bit phases, as shown in fig. 10b, to target data It is reduced to and original low of other D1-D2 and D5-D6 in the data bit of D3-D4 compared to the even lower level phase of low level in packet Position is consistent.
Later, phasing back is carried out again to the target packet for eliminating multilevel phase in the present embodiment, after being restored Target packet.
With reference to Figure 11, for a kind of structural schematic diagram for data transmission device that the embodiment of the present application three provides, the device is suitable In the transmitter of ce circuit for carrying out data transmission, it is mainly used for limiting stroke length to the data of transmission, to guarantee electricity The stabilization on road, further, the efficiency of improve data transfer on this basis.
In the present embodiment, the apparatus may include following functions units:
Target obtaining unit 1101, for obtaining target packet to be transmitted.
It wherein, may include having multiple data bit in target packet, D1-Dn as shown in Figure 2, each data bit tool There are the phase of oneself, i.e. high-low-position, such as the 0 of high-order 1 or low level.
It should be noted that number, that is, target packet length of data bit is data in circuit in target packet The stroke length of transmission, and be intended to carry out area with the data packet of front and back in transmission process to target packet in the present embodiment Point, to limit length of the maximum length of stroke as target packet.
Phase obtaining unit 1102, for obtaining in previous the first data packet being transmitted of the target packet The phase of data bit.
Wherein, the first data packet refers to the last data packet being transmitted before target packet, such as institute in Fig. 3 Show, data packet A and data packet B have been transmitted before target packet, before data packet B, data packet B is data packet A The data packet being just transmitted, and sorting after data packet B is that target packet preparation starts to transmit, and is obtained in the present embodiment The phase of data bit is the phase of data bit in data packet B in the first data packet taken.
It should be noted that the phase of data bit may be to have already passed through the phase of Phase Processing in the first data packet, It may be original phase.The phase of data bit refers to that being transmitted rear first counts in the first acquired data packet in the present embodiment The final phase presented according to data bit in packet.
Phase Processing unit 1103, for the phase at least based on data bit in first data packet, to the target The phase of data bit is handled in data packet.
Wherein, in the present embodiment can based on the phase of data bit in the first data packet be overall height position, full low level or other The case where the case where phase, the phase for carrying out data bit in combining target data packet is overall height position, full low level or other phases, to mesh The phase of data bit is handled in mark data packet, to obtain the target packet after Phase Processing.
Packet transmission unit 1104, for being transmitted to the target packet Jing Guo Phase Processing.
For example, transmit the target packet Jing Guo Phase Processing in the transmitter of circuit in the present embodiment, with It is transferred to receiver.
As it can be seen from the above scheme a kind of data transmission device that the embodiment of the present application three provides, for target to be transmitted Data packet can be obtained simultaneously by the phase to the data bit in the previous data packet being transmitted of the target packet It is handled based on phase of the phase to data bit in target packet, to be passed to processed target packet It is defeated.As it can be seen that the data bit phase in the present embodiment in transmission objectives data packet based on the previous data packet being transmitted Position carries out Phase Processing, with the data packet transmitted before and after differentiated, thus achievees the purpose that the stroke length for limiting data transmission, So that circuit stability is worked, and do not need to increase additional extra order during this realization, is to have in the data of transmission It data imitated, and then not will cause the loss of data transmission efficiency, thus achieve the purpose that 100% data transmission efficiency.
In one implementation, Phase Processing unit 1103 is in the phase at least based on data bit in first data packet Position, when handling the phase of data bit in the target packet, can be accomplished by the following way:
If the phase of data bit and the phase of data bit in first data packet are complete in the target packet The phase of low level or overall height position carries out phasing back to the phase of data bit in the target packet;To by phasing back Target packet carry out target processing so that the target packet has a target signature, described in target signature characterization Target packet is the data packet by phasing back.
It is specifically as follows correspondingly, carrying out target processing to the target packet Jing Guo phasing back:
Phase enhancing processing, example are carried out to the phase of at least partly data bit in the target packet Jing Guo phasing back Such as, in the case that data bit is overall height position in the target packet, at least partly data in the target packet The phase of position carries out increasing processing;In the case that data bit is full low level in the target packet, to the target data The phase of at least partly data bit in packet carries out reduction processing.
It should be noted that the specific implementation of each unit of data transmission device can be with reference to above in the present embodiment Middle corresponding contents and attached drawing, and will not be described here in detail.
With reference to Figure 12, for a kind of structural schematic diagram for data transmission device that the embodiment of the present application four provides, the device is suitable In the receiver of ce circuit for carrying out data receiver, it is mainly used for restoring received data, to realize data Correct transmission.
In the present embodiment, the apparatus may include following functions units:
Packet receiving unit 1201, the target packet come for receiving transmission.
It wherein, include multiple data bit in target packet, as shown in Figure 2.
It should be noted that number, that is, target packet length of data bit is data in circuit in target packet The stroke length of transmission, and be intended to whether live through phase in stroke length to the target packet that transmission comes in the present embodiment Processing is identified, to restore correct target packet.
Phase place judging unit 1202, for judging whether the target packet passes through Phase Processing, if so, trigger packet Reduction unit 1203.
Wherein, the case where process Phase Processing in the present embodiment refers to: target packet from transmitter before transmitting Phase based on the data bit in previous the first data packet being transmitted of target packet carried out Phase Processing.
Packet reduction unit 1203 is used in the case where the target packet passes through Phase Processing, to the number of targets Phase reduction treatment is carried out according to packet, obtains the target packet of phase reduction.
Wherein, for judging that the target packet Jing Guo Phase Processing does not need then to carry out reduction treatment, transmission The target packet come is the raw data packets of transmitter.
As it can be seen from the above scheme a kind of data transmission device that the embodiment of the present application four provides, for transmitting the target come Data packet, can be by the way that target packet, whether the phase based on data bit in the previous data packet being transmitted was carried out Phase Processing is judged, and then carries out phase reduction to the target packet for living through Phase Processing, with the mesh restored Data packet is marked, realizes the correct transmission of data.As it can be seen that having been passed in transmission objectives data packet based on previous in the present embodiment The data bit phase for the data packet being finished carries out Phase Processing, with the data packet transmitted before and after differentiated, thus reaches limitation The purpose of the stroke length of data transmission, makes circuit stability work, and does not need to increase additionally attached during this realization Add position, is valid data in the data of transmission, and then not will cause the loss of data transmission efficiency, moreover, being transferred to It, can be by whether the judgement by Phase Processing restores data, to pass reaching 100% data after destination While the purpose of defeated efficiency, the correct transmission of data is realized.
In one implementation, phase place judging unit 1202 is judging whether the target packet passes through Phase Processing When, it is specifically as follows:
Judge whether the target packet has target signature, it is warp that the target signature, which characterizes the target packet, Cross the data packet of phasing back;
Correspondingly, packet reduction unit 1203 to the target packet carry out phase reduction specifically can be by with lower section Formula is realized:
Target signature in the target packet is eliminated, and to the phase of data bit in the target packet Phasing back is carried out, the target packet of phase reduction is obtained.
Wherein, the target signature in the target packet eliminate and be specifically as follows:
The processing of phase decrease is carried out to the phase for the data bit that phase in the target packet is enhanced, for example, in institute It states in the case that data bit in target packet is overall height position and the data bit that increases with phase, in the target packet The phase for the data bit that phase increases is reduced to consistent with other data bit phases;Data bit is complete in the target packet In the case where low level and the data bit reduced with phase, the phase for the data bit that phase in the target packet reduces is increased It is up to consistent with other data bit phases.
It should be noted that the specific implementation of each unit of data transmission device can be with reference to above in the present embodiment Middle corresponding contents and attached drawing, and will not be described here in detail.
With reference to Figure 13, for a kind of structural schematic diagram for transmitter that the embodiment of the present application five provides, which is mainly used In limiting stroke length to the data of transmission, to guarantee the stabilization of circuit, further, improve data transfer on this basis Efficiency can specifically include with flowering structure:
Transmited processor 1301 includes multiple numbers in the target packet for obtaining target packet to be transmitted According to position, the data bit has phase;Obtain the data in previous the first data packet being transmitted of the target packet The phase of position;Phase at least based on data bit in first data packet, to the phase of data bit in the target packet It is handled.
Emission interface 1302, for being transmitted to the target packet Jing Guo Phase Processing.
Wherein, emission interface 1302 can be circuit interface, to the receiver being transferred to target packet in circuit.
As it can be seen from the above scheme a kind of transmitter that the embodiment of the present application five provides, for target packet to be transmitted, It can carry out obtaining by the phase to the data bit in the previous data packet being transmitted of the target packet and be based on being somebody's turn to do Phase handles the phase of data bit in target packet, to transmit to processed target packet.As it can be seen that Data bit phase in the present embodiment in transmission objectives data packet based on the previous data packet being transmitted carries out phase Thus position processing is achieved the purpose that the stroke length for limiting data transmission, is kept circuit steady with the data packet transmitted before and after differentiated Fixed work, and do not need to increase additional extra order during this realization, it is valid data in the data of transmission, into Thus loss without will cause data transmission efficiency achievees the purpose that 100% data transmission efficiency.
In one implementation, transmited processor 1301 is in the phase at least based on data bit in first data packet Position, when handling the phase of data bit in the target packet, can be accomplished by the following way:
If the phase of data bit and the phase of data bit in first data packet are complete in the target packet The phase of low level or overall height position carries out phasing back to the phase of data bit in the target packet;To by phasing back Target packet carry out target processing so that the target packet has a target signature, described in target signature characterization Target packet is the data packet by phasing back.
It is specifically as follows correspondingly, carrying out target processing to the target packet Jing Guo phasing back:
Phase enhancing processing, example are carried out to the phase of at least partly data bit in the target packet Jing Guo phasing back Such as, in the case that data bit is overall height position in the target packet, at least partly data in the target packet The phase of position carries out increasing processing;In the case that data bit is full low level in the target packet, to the target data The phase of at least partly data bit in packet carries out reduction processing.
It should be noted that the specific implementation of each structure of transmitter can be with reference to hereinbefore corresponding in the present embodiment Content and attached drawing, and will not be described here in detail.
With reference to Figure 14, for a kind of structural schematic diagram for receiver that the embodiment of the present application six provides, which is mainly used It restores in received data, to realize the correct transmission of data, can specifically include with flowering structure:
Receiving interface 1401 includes multiple data in the target packet for receiving transmission next target packet Position, the data bit have phase.
Processor 1402 is received, for judging whether the target packet passes through Phase Processing, wherein described to pass through phase Position processing includes: the target packet before transmission based in previous the first data being transmitted of the target packet The phase of data bit carried out Phase Processing in packet;In the case where the target packet passes through Phase Processing, to the mesh It marks data packet and carries out phase reduction treatment, obtain the target packet of phase reduction.
As it can be seen from the above scheme a kind of receiver that the embodiment of the present application six provides, for transmitting the target packet come, It can be by the way that target packet, whether the phase based on data bit in the previous data packet being transmitted was carried out at phase Reason is judged, and then carries out phase reduction to the target packet for living through Phase Processing, with the target data restored Packet, realizes the correct transmission of data.As it can be seen that being transmitted in transmission objectives data packet based on previous in the present embodiment The data bit phase of data packet carry out Phase Processing, with the data packet transmitted before and after differentiated, thus reach limitation data and pass The purpose of defeated stroke length, makes circuit stability work, and does not need to increase additional extra order during this realization, Be valid data in the data of transmission, and then not will cause the loss of data transmission efficiency, moreover, be transferred to destination it It afterwards, can be by whether the judgement by Phase Processing restores data, thus reaching 100% data transmission efficiency While purpose, the correct transmission of data is realized.
In one implementation, it receives processor 1402 and is judging whether the target packet passes through Phase Processing When, it is specifically as follows:
Judge whether the target packet has target signature, it is warp that the target signature, which characterizes the target packet, Cross the data packet of phasing back;
Correspondingly, receive processor 1402 to the target packet carry out phase reduction specifically can be by with lower section Formula is realized:
Target signature in the target packet is eliminated, and to the phase of data bit in the target packet Phasing back is carried out, the target packet of phase reduction is obtained.
Wherein, the target signature in the target packet eliminate and be specifically as follows:
The processing of phase decrease is carried out to the phase for the data bit that phase in the target packet is enhanced, for example, in institute It states in the case that data bit in target packet is overall height position and the data bit that increases with phase, in the target packet The phase for the data bit that phase increases is reduced to consistent with other data bit phases;Data bit is complete in the target packet In the case where low level and the data bit reduced with phase, the phase for the data bit that phase in the target packet reduces is increased It is up to consistent with other data bit phases.
It should be noted that the specific implementation of each structure of receiver can be with reference to hereinbefore corresponding in the present embodiment Content and attached drawing, and will not be described here in detail.
Below to transmitting number between TX transmitter (transmitter) and RX receiver (receiver) in the present embodiment It is illustrated according to the specific implementation of data (data packet):
Firstly, judging in the present embodiment each data packet (T) being sequentially transmitted, if transmission data (N-2) A T (transmission times of the data of stroke length) is random data (non-all high and non-all low), can be without Data-signal is passed to Rx from Tx by any processing.
It is the data of all high or all low if transmission data (N-1) a T and (N-2) T is different, Data signal can also be passed to Rx from Tx without any processing.
If the data of (N) a T transmission is the random data or phase reverse phase of the opposite phase of (N-1) T data All high or all low data of position, can also be without any processing.
But if data continuously transmits same phase data within the time of (N-1) T and two 2T of (N) T, and this 2 T Data will lead to run-length (throwing into question to ce circuit characteristic), need to carry out at reversion when transmitting (N) T data at this time It is transmitted after reason plus multi-level.
As shown in Figure 15, case1-case4 is respectively the normal of (N-2) a T, (N-1) a T and (N) a T Data transmit when Phase Processing schematic diagram, wherein the data of (N-2) a T be non-full 0 and non-complete 1, (N-1) a T's Data is full 0 (case1 and case3), and it is initial data, proposed that the data of (N) a T, which is complete 1, normal data, Data is the data that Phase Processing is crossed, it can be seen that, the signal and all high data or all of multi-level transmission The data of low data same phase, transmission data will not go out problem of dtmf distortion DTMF, will not lose the transmission efficiency of data.In order to examine Multi-level out can add 2 contrast circuits for examining multi-level, level in the present embodiment in the receiver Detection is run under the relatively low frequency of 1/N, consumes electric current and size increases meeting very little.
As shown in Figure 16, in the side Tx, initialization (initialization) process terminates after powering on Power on Afterwards, the data transmission of Tx to Rx is ready.If (N) is a, (N+1) T is all high or all low, (N+ 1) data of a T transmission need to invert, and increase multi-level signal after the data of (N) a T and transmit together.Same side The data of formula supplement confirmation (N+2) T, determines that the data finally exported is transmitted after confirming 3 packet information altogether.
Shown in original Tx_org and Tx_out in case1 and case2 as shown in Figure 17.Case1 (example 1) is continuous 3T The transmission example of Tx_out when transmitting identical data in the time, case2 is the identical data of transmission in the continuous 2T time, in the 1T time The transmission example of Tx_out when transmission reversion data.REF+, REF- are two voltage of level in checking R x Reference signal.
Correspondingly, as shown in Figure 18, being opened after powering on Power on and initialization initialization in the side Rx Begin to receive data, if received data has multi-level signal, to all high or all low of corresponding T Data carries out reversion processing, i.e., resilient original data.
As it can be seen that in circuit, run-length hold time it is longer will lead to ce circuit characteristic issues, be holding circuit Stablize need limit maximum run-length scheme.All it can increase extra order on original bit number in traditional scheme Overhead bit, such transmission efficiency can reduce.The multi-level scheme mentioned in the present embodiment does not have additional RX can be allowed to receive accurate data signal in the increased situation of bit.The case where continuously transmitting same phase there are two the above T Under reversion transmission carried out to second T data limit run-length.Because by reversion processing transmission signal message with The information of transmission is initially wanted on the contrary, the information that RX is received is wrong.So being inverted in the present embodiment to second T Multi-level processing is carried out while processing, and RX is made to learn that this is reversion when receiving the processed information of multi-level Information afterwards, then inverted, receive data same as initially transmission data.
It should be noted that the multi-level that the application mentions not only can be adapted for data-signal all high or In the case where person all low, can be used under any any mode (pattern) for influencing circuit stability work with Upper multi-level scheme handles the data-signal in circuit, to realize corresponding purpose.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Detailed Jie has been carried out to a kind of data transmission method, device, transmitter and receiver provided herein above It continues, the foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.To these A variety of modifications of embodiment will be readily apparent to those skilled in the art, general original as defined herein Reason can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application will not Be intended to be limited to the embodiments shown herein, and be to fit to it is consistent with the principles and novel features disclosed in this article most Wide range.

Claims (12)

1. a kind of data transmission method characterized by comprising
Target packet to be transmitted is obtained, includes multiple data bit in the target packet, the data bit has phase;
Obtain the phase of the data bit in previous the first data packet being transmitted of the target packet;
Phase at least based on data bit in first data packet, at the phase of data bit in the target packet Reason;
Target packet Jing Guo Phase Processing is transmitted.
2. the method according to claim 1, wherein the phase at least based on data bit in first data packet Position, handles the phase of data bit in the target packet, comprising:
If the phase of data bit and the phase of data bit in first data packet are full low level in the target packet Or the phase of overall height position, phasing back is carried out to the phase of data bit in the target packet;
Target processing is carried out to the target packet Jing Guo phasing back, so that the target packet has target signature, institute Stating target signature and characterizing the target packet is the data packet by phasing back.
3. according to the method described in claim 2, it is characterized in that, being carried out at target to the target packet Jing Guo phasing back Reason, comprising:
Phase enhancing processing is carried out to the phase of at least partly data bit in the target packet Jing Guo phasing back.
4. according to the method described in claim 3, it is characterized in that, at least portion in the target packet Jing Guo phasing back The phase of divided data position carries out phase enhancing processing, comprising:
In the case that data bit is overall height position in the target packet, at least partly data in the target packet The phase of position carries out increasing processing;
In the case that data bit is full low level in the target packet, at least partly data in the target packet The phase of position carries out reduction processing.
5. a kind of data transmission method characterized by comprising
The target packet that transmission comes is received, includes multiple data bit in the target packet, the data bit has phase;
Judge whether the target packet passes through Phase Processing, wherein the Phase Processing of passing through includes: the target data The phase before transmission based on the data bit in previous the first data packet being transmitted of the target packet is wrapped to carry out Phase Processing;
In the case where the target packet passes through Phase Processing, phase reduction treatment is carried out to the target packet, is obtained The target packet restored to phase.
6. according to the method described in claim 5, it is characterized in that, judge whether the target packet passes through Phase Processing, Include:
Judge whether the target packet has target signature, it is by phase that the target signature, which characterizes the target packet, The data packet of bit reversal;
It is wherein, described that phase reduction is carried out to the target packet, comprising:
Target signature in the target packet is eliminated, and the phase of data bit in the target packet is carried out Phasing back obtains the target packet of phase reduction.
7. according to the method described in claim 6, it is characterized in that, disappearing to the target signature in the target packet It removes, comprising:
The processing of phase decrease is carried out to the phase for the data bit that phase in the target packet is enhanced.
8. the method according to the description of claim 7 is characterized in that the data bit being enhanced to phase in the target packet Phase carry out the processing of phase decrease, comprising:
In the target packet data bit be overall height position and increase with phase data bit in the case where, to the target The phase for the data bit that phase increases in data packet is reduced to consistent with other data bit phases;
In the case that data bit is full low level and has the data bit of phase reduction in the target packet, to the target The phase for the data bit that phase reduces in data packet increases to consistent with other data bit phases.
9. a kind of data transmission device characterized by comprising
Target obtaining unit includes multiple data bit, institute in the target packet for obtaining target packet to be transmitted Data bit is stated with phase;
Phase obtaining unit, for obtaining the data bit in previous the first data packet being transmitted of the target packet Phase;
Phase Processing unit, for the phase at least based on data bit in first data packet, in the target packet The phase of data bit is handled;
Packet transmission unit, for being transmitted to the target packet Jing Guo Phase Processing.
10. a kind of data transmission device characterized by comprising
Packet receiving unit includes multiple data bit in the target packet for receiving transmission next target packet, described Data bit has phase;
Phase place judging unit, for judging whether the target packet passes through Phase Processing, wherein described to pass through Phase Processing It include: the target packet before transmission based on the number in previous the first data packet being transmitted of the target packet Phase Processing was carried out according to the phase of position;
Packet reduction unit, for being carried out to the target packet in the case where the target packet passes through Phase Processing Phase reduction treatment obtains the target packet of phase reduction.
11. a kind of transmitter characterized by comprising
Transmited processor includes multiple data bit in the target packet for obtaining target packet to be transmitted, described Data bit has phase;Obtain the phase of the data bit in previous the first data packet being transmitted of the target packet; Phase at least based on data bit in first data packet, handles the phase of data bit in the target packet;
Emission interface, for being transmitted to the target packet Jing Guo Phase Processing.
12. a kind of receiver characterized by comprising
Receiving interface includes multiple data bit, the number in the target packet for receiving transmission next target packet There is phase according to position;
Processor is received, for judging whether the target packet passes through Phase Processing, wherein described to pass through Phase Processing packet Include: the target packet is before transmission based on the data in previous the first data packet being transmitted of the target packet The phase of position carried out Phase Processing;In the case where the target packet passes through Phase Processing, to the target packet Phase reduction treatment is carried out, the target packet of phase reduction is obtained.
CN201910526092.XA 2019-06-18 2019-06-18 Data transmission method and device and electronic equipment Active CN110247734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910526092.XA CN110247734B (en) 2019-06-18 2019-06-18 Data transmission method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910526092.XA CN110247734B (en) 2019-06-18 2019-06-18 Data transmission method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110247734A true CN110247734A (en) 2019-09-17
CN110247734B CN110247734B (en) 2021-11-23

Family

ID=67887844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910526092.XA Active CN110247734B (en) 2019-06-18 2019-06-18 Data transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110247734B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022062925A1 (en) * 2020-09-22 2022-03-31 华为技术有限公司 Communication method, device, and system, and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854170A (en) * 2009-04-06 2010-10-06 联发科技股份有限公司 Data signal phase reversal correction method and system implementing the same
CN101860516A (en) * 2010-05-18 2010-10-13 湖北众友科技实业股份有限公司 Signal demodulation method
CN103718475A (en) * 2013-09-18 2014-04-09 华为技术有限公司 Multiple input multiple output signal processing method, device and base station
CN103884931A (en) * 2014-03-06 2014-06-25 电子科技大学 Testing and recording device for load characteristics of transformer substation bus
WO2017016443A1 (en) * 2015-07-25 2017-02-02 华为技术有限公司 Digital modulation method, demodulation method, related apparatus and system
CN107846378A (en) * 2016-09-19 2018-03-27 华为技术有限公司 A kind of modulator approach, demodulation method, relevant device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854170A (en) * 2009-04-06 2010-10-06 联发科技股份有限公司 Data signal phase reversal correction method and system implementing the same
CN101860516A (en) * 2010-05-18 2010-10-13 湖北众友科技实业股份有限公司 Signal demodulation method
CN103718475A (en) * 2013-09-18 2014-04-09 华为技术有限公司 Multiple input multiple output signal processing method, device and base station
CN103884931A (en) * 2014-03-06 2014-06-25 电子科技大学 Testing and recording device for load characteristics of transformer substation bus
WO2017016443A1 (en) * 2015-07-25 2017-02-02 华为技术有限公司 Digital modulation method, demodulation method, related apparatus and system
CN107846378A (en) * 2016-09-19 2018-03-27 华为技术有限公司 A kind of modulator approach, demodulation method, relevant device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022062925A1 (en) * 2020-09-22 2022-03-31 华为技术有限公司 Communication method, device, and system, and computer readable storage medium
CN114301991A (en) * 2020-09-22 2022-04-08 华为技术有限公司 Communication method, apparatus, system, and computer-readable storage medium
CN114301991B (en) * 2020-09-22 2023-10-20 华为技术有限公司 Communication method, device, system and computer readable storage medium

Also Published As

Publication number Publication date
CN110247734B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN104714920B (en) A kind of signal acceptance method of adaptive baud rate
US20180123714A1 (en) Method, Device, and System for Sending and Receiving Code Block Data Stream
DE102009061814B3 (en) Method, transmitter, receiver and system for a link and lane level packetization scheme for coding in serial links
TWI298223B (en) Data recovery circuit, phase detection circuit and method for detecting and correcting phase conditions
US20160373198A1 (en) Serial communication device and serial communication method
CN101710857A (en) Serial communication baud rate adaptive method and device thereof
WO2019144754A1 (en) Signal receiving method
CN103973406A (en) Controller area network bus speeding-up method
CN102546084B (en) Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data
US6795515B1 (en) Method and apparatus for locating sampling points in a synchronous data stream
CN110247734A (en) A kind of data transmission method, device and electronic equipment
US6385319B1 (en) Encoding circuit and method of detecting block code boundary and establishing synchronization between scrambler and descrambler
US9678915B2 (en) Serial communication control circuit
CN104639294A (en) Improved CRC (Cyclic Redundancy Check) realization method
CN104796235B (en) Satellite communication adaptive congestion control method based on packet loss
US10462268B2 (en) Data transmitting/receiving apparatus and data transmitting/receiving method
CN108712418A (en) A kind of data packet and its receiver
CN105577312B (en) Method for synchronizing data frames and device
US5764876A (en) Method and device for detecting a cyclic code
CN105071832A (en) High-speed frequency hopping synchronization method which does not rely on external clock reference
KR20040103765A (en) Data reception method, apparatus using same, and data transmission system
CN103051356B (en) CDMA communication system reduces the method and apparatus of the error rate
JP6232313B2 (en) Synchronous serial communication method and slave device
JP3025758B2 (en) Spread spectrum wireless communication equipment
CN113992320B (en) Synchronization method and system for discontinuous E1 data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant