CN107453838A - Data frame hair delivery method and dispensing device - Google Patents
Data frame hair delivery method and dispensing device Download PDFInfo
- Publication number
- CN107453838A CN107453838A CN201611051709.XA CN201611051709A CN107453838A CN 107453838 A CN107453838 A CN 107453838A CN 201611051709 A CN201611051709 A CN 201611051709A CN 107453838 A CN107453838 A CN 107453838A
- Authority
- CN
- China
- Prior art keywords
- sequence
- wave sequence
- wave
- level
- waveform
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
Abstract
The invention discloses a kind of data frame hair delivery method and dispensing device, wherein, data frame hair delivery method includes:N number of wave sequence corresponding to default data frame head is obtained, each wave sequence is respectively one below:First waveform sequence, the second wave sequence and the 3rd wave sequence, each wave sequence have following characteristics:The transmitting continuous time of each wave sequence is identical, saltus step is low level after first waveform sequence high level starts and continues the first preset time, second wave sequence permanent High level, saltus step is low level after 3rd wave sequence high level starts and continues the second preset time, and the first preset time is different from the second preset time;X level saltus step in N number of wave sequence is obtained according to each wave sequence feature, it from high level saltus step is low level that X level saltus step, which is,;The level of sending port is controlled to carry out level change according to X level saltus step, to send data frame head.
Description
Technical field
The present invention relates to a kind of electronic technology field, more particularly to a kind of data frame hair delivery method and dispensing device.
Background technology
Serial communication mode between electronic equipment be typically one character of a character transmit, each character one one
The transmission of position ground, and during one character of transmission, always started with " start bit ", terminated with " stop position ", without solid between character
Fixed time interval requirement.When two electronic equipments are communicated, the tranmitting data register of transmitting terminal and the reception clock of receiving terminal have can
Can exist difference, and when sending clock and receive clock frequency difference it is too big when, can cause receiving terminal sampling dislocation, cause to receive
Mistake, communication efficiency reduce.
In addition, when carrying out the communication between electronic equipment using only both threads, can not enter generally during communication
Row power supply/charge, it is also necessary to other external power supplys, bring great inconvenience for the use of electronic equipment, therefore, this area is urgently
Need a kind of method that can be powered/charge when being communicated using only both threads.
The content of the invention
Present invention seek to address that above mentioned problem.
To reach above-mentioned purpose, what technical scheme was specifically realized in:
It is a primary object of the present invention to provide a kind of data frame hair delivery method, including:Obtain default data frame head
Corresponding N number of wave sequence, wherein, N is positive integer, each wave sequence in N number of wave sequence be respectively it is following it
One:First waveform sequence, the second wave sequence and the 3rd wave sequence, wherein, the first waveform sequence, second waveform
Sequence and the 3rd wave sequence have following wave sequence feature:The first waveform sequence, second wave sequence
And the transmitting continuous time of the 3rd wave sequence is identical, and the first waveform sequence is started with high level and continues
Saltus step is low level after one preset time, and second wave sequence permanent High level within the transmitting continuous time is described
3rd wave sequence started using high level and after continuing the second preset time saltus step as low level, wherein, described first it is default when
Between it is different from the duration of second preset time;The waveform of each wave sequence in N number of wave sequence
Sequence signature obtains X level saltus step in N number of wave sequence, wherein, X is positive integer and is more than 1, the X level
It from high level saltus step is low level that saltus step, which is,;The level of sending port is controlled according to X level in N number of wave sequence
Saltus step carries out level change, to send the data frame head.
In addition, the feature of the wave sequence also includes:The transmitting continuous time and the ripple for transmitting the wave sequence
Special rate is in inverse relation, and the first waveform sequence is terminated with high level, and the low level occurred in the first waveform sequence
Shared total duration does not change with the change for the baud rate for transmitting the wave sequence within the transmitting continuous time;With/
Or, the 3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is held in the transmission
Shared total duration does not change with the change for the baud rate for transmitting the wave sequence in the continuous time.
In addition, the feature of the wave sequence also includes:The low level occurred in the first waveform sequence is in the biography
Shared total duration is less than the half of the duration in the defeated duration;And/or go out in the 3rd wave sequence
Existing low level total duration shared within the transmitting continuous time is less than the half of the duration.
In addition, the feature of the wave sequence also includes:T1=a*T, wherein, T1 is first preset time, and T is institute
State the transmitting continuous time, a is default dutycycle coefficient, 0 < a < 1;T2=b*T, wherein, T2 is second preset time,
B is default dutycycle coefficient, 0≤b≤1;And a ≠ b.
In addition, the feature of the wave sequence also includes:Second preset time is equal to 0, and the 3rd waveform sequence
The level saltus step for only occurring once being changed into high level from low level in the transmitting continuous time is listed in, and is terminated with high level;
In the case that the first waveform sequence is terminated with high level, the first waveform sequence is started with high level and in the transmission
Only occur once being changed into low level saltus step from high level in duration, or, in the first waveform sequence with low level
In the case of end, the first waveform sequence is started with high level and only occurred once by height within the transmitting continuous time
Level is changed into low level level saltus step, and is terminated with low level.
In addition, N number of wave sequence, including at least M wave sequence, the M wave sequence is N number of waveform
Preceding M wave sequence in sequence, wherein, M is positive integer, and M >=2;The M wave sequence is by the first waveform sequence group
Into;Or the M wave sequence is made up of the 3rd wave sequence;Or the M wave sequence includes at least one
Individual first waveform sequence and at least one 3rd wave sequence.
In addition, when the M wave sequence is made up of the first waveform sequence, N number of wave sequence also includes:
The anti-interference wave sequence of at least one after the M wave sequence, wherein, the anti-interference wave sequence of at least one is institute
State the second wave sequence or the 3rd wave sequence;It is described when the M wave sequence is made up of the 3rd wave sequence
N number of wave sequence also includes:The anti-interference wave sequence of at least one after the M wave sequence, wherein, described at least 1
Individual anti-interference wave sequence is second wave sequence or the first waveform sequence.
In addition, N=8, N number of wave sequence is followed successively by the 3rd wave sequence, the 3rd wave sequence, described
3rd wave sequence, the 3rd wave sequence, second wave sequence, the 3rd wave sequence, second waveform
Sequence and the 3rd wave sequence.
The present invention another main purpose be to provide a kind of dispensing device, including:Wave sequence acquisition module, for obtaining
N number of wave sequence corresponding to default data frame head is taken, wherein, N is positive integer, each waveform in N number of wave sequence
Sequence is respectively one below:First waveform sequence, the second wave sequence and the 3rd wave sequence, wherein, the first waveform
Sequence, second wave sequence and the 3rd wave sequence have following wave sequence feature:The first waveform sequence,
The transmitting continuous time of second wave sequence and the 3rd wave sequence is identical, and the first waveform sequence is with height
Saltus step is low level after level starts and continues the first preset time, and second wave sequence is within the transmitting continuous time
Permanent High level, the 3rd wave sequence started using high level and after continuing the second preset time saltus step as low level, wherein,
First preset time is different from the duration of second preset time;According to each waveform in N number of wave sequence
The wave sequence feature of sequence obtains X level saltus step in N number of wave sequence, wherein, X is positive integer and is more than
1, it from high level saltus step is low level that the X level saltus step, which is,;Sending module, for control the level of sending port according to
X level saltus step in N number of wave sequence carries out level change, to send the data frame head.
In addition, the feature of the wave sequence also includes:The transmitting continuous time and the ripple for transmitting the wave sequence
Special rate is in inverse relation, and the first waveform sequence is terminated with high level, and the low level occurred in the first waveform sequence
Shared total duration does not change with the change for the baud rate for transmitting the wave sequence within the transmitting continuous time;With/
Or, the 3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is held in the transmission
Shared total duration does not change with the change for the baud rate for transmitting the wave sequence in the continuous time.
In addition, the feature of the wave sequence also includes:The low level occurred in the first waveform sequence is in the biography
Shared total duration is less than the half of the duration in the defeated duration;And/or go out in the 3rd wave sequence
Existing low level total duration shared within the transmitting continuous time is less than the half of the duration.
In addition, the feature of the wave sequence also includes:T1=a*T, wherein, T1 is first preset time, and T is institute
State the transmitting continuous time, a is default dutycycle coefficient, 0 < a < 1;T2=b*T, wherein, T2 is second preset time,
B is default dutycycle coefficient, 0≤b < 1;And a ≠ b.
In addition, the feature of the wave sequence also includes:Second preset time is equal to 0, and the 3rd waveform sequence
The level saltus step for only occurring once being changed into high level from low level in the transmitting continuous time is listed in, and is terminated with high level;
In the case that the first waveform sequence is terminated with high level, the first waveform sequence is started with high level and in the transmission
Only occur once being changed into low level saltus step from high level in duration, or, in the first waveform sequence with low level
In the case of end, the first waveform sequence is started with high level and only occurred once by height within the transmitting continuous time
Level is changed into low level level saltus step, and is terminated with low level.
In addition, N number of wave sequence, including at least M wave sequence, the M wave sequence is described default
Preceding M wave sequence in N number of wave sequence corresponding to data frame head, wherein, M is positive integer, and M >=2;The M waveform
Sequence is made up of the first waveform sequence;Or the M wave sequence is made up of the 3rd wave sequence;Or institute
Stating M wave sequence includes at least one first waveform sequence and at least one 3rd wave sequence.
In addition, when the M wave sequence is made up of the first waveform sequence, N number of wave sequence also includes:
The anti-interference wave sequence of at least one after the M wave sequence, wherein, the anti-interference wave sequence of at least one is institute
State the second wave sequence or the 3rd wave sequence;It is described when the M wave sequence is made up of the 3rd wave sequence
N number of wave sequence also includes:The anti-interference wave sequence of at least one after the M wave sequence, wherein, described at least 1
Individual anti-interference wave sequence is second wave sequence or the first waveform sequence.
In addition, N=8, N number of wave sequence is followed successively by the 3rd wave sequence, the 3rd wave sequence, described
3rd wave sequence, the 3rd wave sequence, second wave sequence, the 3rd wave sequence, second waveform
Sequence and the 3rd wave sequence.
As seen from the above technical solution provided by the invention, the invention provides a kind of data frame hair delivery method with
And dispensing device, data frame hair delivery method and dispensing device can by obtain wave sequence corresponding to default data frame head and
Corresponding level saltus step, control sending port carry out level change according to the level saltus step of acquisition and send the data frame head so that
Reception device can obtain transmitting continuous time by the data frame head, and during so as to ensure each data transfer, transmitting terminal is with connecing
Receiving end is consistent to the value of transmitting continuous time.In addition, two lines can be used only between transmitting terminal and receiving terminal completes data
Transmitting-receiving, and during the transmitting-receiving of data, while the power supply/charge of two equipment rooms is completed, also, waveform during data transfer
High level accounting is higher in sequence, greatly improves power supply/charge efficiency, therefore, using configured transmission provided by the invention
Acquisition methods, terminal can effectively reduce the volume of electronic equipment, improve the charge efficiency of electronic equipment.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Figure 1A is the flow chart for the configured transmission acquisition methods that the embodiment of the present invention 1 provides;
Figure 1B is the schematic diagram for each wave sequence that the embodiment of the present invention 1 provides;
Fig. 1 C are the schematic diagram of a default wave sequence of the optional embodiment that the embodiment of the present invention 1 provides;
Fig. 1 D are the schematic diagram of a level saltus step detected of the optional embodiment that the embodiment of the present invention 1 provides;
Fig. 1 E (a) are the schematic diagram of the first waveform sequence for the optional embodiment that the embodiment of the present invention 1 provides;
Fig. 1 E (b) are the first waveform sequence and the 3rd wave sequence for the optional embodiment that the embodiment of the present invention 1 provides
Schematic diagram;
Fig. 1 F are another first waveform sequence and the 3rd waveform sequence for the optional embodiment that the embodiment of the present invention 1 provides
The schematic diagram of row;
Fig. 1 G are the preceding M wave sequence for the optional embodiment that the embodiment of the present invention 1 provides by first waveform sequence group
Into schematic diagram;
Fig. 1 H are that the preceding M wave sequence for the optional embodiment that the embodiment of the present invention 1 provides includes first waveform sequence
With the schematic diagram of the 3rd wave sequence;
Fig. 1 I are the schematic diagram of the wave sequence for the N=8 that the embodiment of the present invention 1 provides;
Fig. 2A is the structural representation for the terminal that the embodiment of the present invention 2 provides;
Fig. 2 B are the schematic diagram for each wave sequence that the embodiment of the present invention 2 provides;
Fig. 2 C are the schematic diagram of a default wave sequence of the optional embodiment that the embodiment of the present invention 2 provides;
Fig. 2 D are the schematic diagram of a level saltus step detected of the optional embodiment that the embodiment of the present invention 2 provides;
Fig. 3 A are the flow chart for the data frame hair delivery method that the embodiment of the present invention 3 provides;
Fig. 3 B are the schematic diagram for each wave sequence that the embodiment of the present invention 3 provides;
Fig. 3 C are waveform sequence corresponding to a default data frame head of the optional embodiment that the embodiment of the present invention 3 provides
The schematic diagram of row;
Fig. 3 D (a) are the schematic diagram of the first waveform sequence for the optional embodiment that the embodiment of the present invention 3 provides;
Fig. 3 D (b) are the first waveform sequence and the 3rd wave sequence for the optional embodiment that the embodiment of the present invention 1 provides
Schematic diagram;
Fig. 3 E are another first waveform sequence and the 3rd waveform sequence for the optional embodiment that the embodiment of the present invention 3 provides
The schematic diagram of row;
Fig. 3 F are the schematic diagram of the wave sequence for the N=8 that the embodiment of the present invention 3 provides;
Fig. 4 A are the structural representation for the dispensing device that the embodiment of the present invention 4 provides.
Embodiment
With reference to the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this
The embodiment of invention, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to protection scope of the present invention.
In the description of the invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " on ", " under ",
The orientation or position relationship of the instruction such as "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer " are
Based on orientation shown in the drawings or position relationship, it is for only for ease of the description present invention and simplifies description, rather than instruction or dark
Show that the device of meaning or element there must be specific orientation, with specific azimuth configuration and operation, thus it is it is not intended that right
The limitation of the present invention.In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint are relative
Importance or quantity or position.
In the description of the invention, it is necessary to illustrate, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, Ke Yishi
The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this
Concrete meaning in invention.
The embodiment of the present invention is described in further detail below in conjunction with accompanying drawing.
Embodiment 1
The present embodiment provides a kind of configured transmission acquisition methods, and this method can apply the communication between master-slave equipment
In.The equipment for obtaining configured transmission can be slave unit, or main equipment.Device as main equipment for example can be eventually
End, the device as slave unit for example can be electronic payment devices (for example, electric signing tools key, smart card, key engagings
One equipment etc.).
Figure 1A is the flow chart of configured transmission acquisition methods provided in an embodiment of the present invention, as shown in Figure 1A, the present embodiment
The configured transmission acquisition methods of offer mainly include the following steps that:
Step 101, the wave sequence feature for N number of wave sequence that default X level saltus step is formed is obtained, wherein, N is
Positive integer, X is for positive integer and more than 1, each wave sequence point in N number of wave sequence that default X level saltus step is formed
Wei not one below:First waveform sequence, the second wave sequence and the 3rd wave sequence, wherein, first waveform sequence, the second ripple
Shape sequence and the 3rd wave sequence have following wave sequence feature:First waveform sequence, the second wave sequence and the 3rd ripple
The transmitting continuous time T-phase of shape sequence is same, and first waveform sequence is started with high level and jumped after continuing the first preset time T 1
It is changed into low level, the second wave sequence permanent High level, the 3rd wave sequence in transmitting continuous time T are started simultaneously with high level
Saltus step is low level after continuing the second preset time T 2, wherein, the duration of the first preset time T 1 and the second preset time T 2 is not
Together, it from high level saltus step is low level that default X level saltus step, which is,.
In the present embodiment, as shown in Figure 1B, first waveform sequence may have various ways, such as:Started with high level,
Saltus step is low level after continuing the first preset time T 1, is finally terminated with low level;Or started with high level, continue first
Saltus step is low level after preset time, is finally terminated with high level.That is, the present embodiment only to first waveform sequence with height
Level starts, and saltus step is that low level makes restriction after continuing the first preset time T 1, for first waveform sequence with which kind of level
Terminate, and be not particularly limited.3rd wave sequence may have various ways:Started with high level, continue second it is default when
Between after T2 saltus step be low level, finally terminated with low level;Or started with high level, jumped after continuing the second preset time T 2
It is changed into low level, is finally terminated with high level.That is, the present embodiment is only started to the 3rd wave sequence with high level, hold
Saltus step is that low level makes restriction after continuous second preset time T 2, is terminated for the 3rd wave sequence with which kind of level, not done
Concrete restriction.First preset time T 1 is different from the duration of the second preset time T 2 so that the equipment of data receiver can basis
Before the high level saltus step of each wave sequence is low level, the level change that the duration of high level judges to receive corresponds to
Wave sequence be first waveform sequence or the 3rd wave sequence.
In this step, for example, it is respectively first waveform sequence, first wave to preset X=4, N=5,5 wave sequences
Shape sequence, first waveform sequence, the second wave sequence and the 3rd wave sequence (wherein, are opened with first waveform sequence with high level
Begin, saltus step is low level after continuing the first preset time, is terminated with low level, and the 3rd wave sequence is started with high level, is continued
Saltus step is low level after second preset time, so that low level terminates as an example), then obtain 5 that default 4 level saltus steps are formed
The wave sequence of wave sequence is characterized as shown in Figure 1 C, i.e.,:After high level continues the T1 times, saltus step is low level (first
Secondary saltus step), after T-T1, high level is reverted to by low level, after high level continues the T1 times, saltus step is low level (second
Secondary saltus step), after T-T1, high level is reverted to by low level, after high level continues the T1 times, saltus step is low level the (the 3rd
Secondary saltus step), after T-T1, high level is reverted to by low level, continues the high level of T time, after the high level for continuing the T2 times,
It is low level (the 4th saltus step) by saltus step, continues the T-T2 times in low level.
Step 102, X level saltus step is persistently detected in receiving port, wherein, X level saltus step being continuously detected is equal
To be changed into low level from high level.
In this step, the equipment of the progress data receiver of detection level saltus step can be carried out continuously to the level of receiving port
The sample frequency that sampling uses to obtain the change of the level of receiving port, during sampling should be above default minimum standard, protect
The authenticity of the level change for the receiving port that card sampling obtains, the level saltus step that can also only obtain receiving port is high level
Saltus step is the low level moment.
Step 103, according to the wave sequence feature of N number of wave sequence of default X level saltus step formation and persistently
The transmission that time interval between any two level saltus step in the X level saltus step detected calculates a wave sequence is held
The continuous time.
In this step, for example, X=4, N=5, the 4 level saltus steps persistently detected as shown in figure iD, then can be according to step
The wave sequence feature for 5 wave sequences that the default 4 level saltus steps obtained in 101 are formed, and any two level
Time interval between saltus step calculates the transmitting continuous time of a wave sequence, e.g., shown in reference picture 1C, first time saltus step
Time interval between second of saltus step is T-T1+T1=T, i.e., the transmitting continuous time of one wave sequence, jumps for the first time
The time interval become between third time saltus step into T-T1+T1+T-T1+T1=2T, i.e. two wave sequences it is transmitting continuous when
Between, the time interval between third time saltus step and the 4th saltus step is T-T1+T+T2, in known T1, T2 and T proportionate relationship
In the case of, you can the transmitting continuous time of a wave sequence is calculated.
In the present embodiment, the biography of a wave sequence is calculated using the time interval between at the time of identical saltus step
The defeated duration, calculation is simple, and easily operated and accuracy rate is high.
In an optional embodiment of the present embodiment, between step 102 and step 103, step can also be included
102a:
Whether each time interval in whole time intervals in the X level saltus step that judgement is continuously detected is equal
It is right in whole time intervals in the X level saltus step included in the N number of wave sequence formed with default X level saltus step
The time interval answered meets same preset relation, if it is, performing the N number of waveform sequence formed according to default X level saltus step
The time interval between any two level saltus step in the wave sequence feature of row and X level saltus step being continuously detected
The step of transmitting continuous time of one wave sequence of calculating.As shown in Fig. 1 D and 1C, work as N=5, X=4, judge 4 detected
Each time interval in whole time intervals (as shown in figure iD) in individual level saltus step whether with default 4 electricity
Corresponding time interval meets same preset relation in whole time intervals (as shown in Figure 1 C) in flat saltus step, wherein, together
One preset relation is:For example, the time interval between the first level saltus step and second level saltus step that detect is 50ns,
Time interval between default first level saltus step and second level saltus step is 100ns, in the level saltus step detected
Time interval with the time interval of default corresponding saltus step be 0.5 times of relation;Detect second level detected
Time interval between saltus step and the 3rd level saltus step is 50ns, default second level saltus step and the 3rd level saltus step
Between time interval be 100ns, the time interval in the level saltus step detected between the time of default corresponding saltus step
It is divided into 0.5 times of relation;The W level saltus step detecting is jumped with W+1 (wherein, W is positive integer, and W+1≤X) level
The time interval of change, the time interval with default the W level saltus step and the W+1 level saltus step is 0.5 times of relation;Inspection
Time interval between the first level saltus step measured and the 3rd level saltus step is 100ns, and default first level is jumped
The time interval become between the 3rd level saltus step into 200ns, time interval in the level saltus step detected with it is default
The time interval of corresponding saltus step is 0.5 times of relation, that is, the Y level saltus step detected with Y+2 (wherein, Y is just whole
Number, and Y+1≤X) level saltus step time interval, and between the time of default the Y level saltus step and the Y+2 level saltus step
Every being 0.5 times of relation;By that analogy, when the time interval in all level saltus steps detected and its default corresponding jump
The time interval of change is 0.5 times of relation, you can is considered as same preset relation, it may be determined that 5 wave sequences continuously transmitted are
5 wave sequences corresponding to default data frame head.When in whole time intervals in X level saltus step being continuously detected
Each time interval whether X level saltus step including in the N number of wave sequence formed with default X level saltus step
In whole time intervals in corresponding time interval when meeting same preset relation, can be by X be continuously detected electricity
Flat saltus step is defined as data frame head, calculates the transmitting continuous time of a wave sequence after data frame head is determined again, can ensure
The accuracy that the transmitting continuous time calculates, improve efficiency of transmission.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:The transmitting continuous time is with passing
The baud rate of defeated wave sequence is in inverse relation, and first waveform sequence is terminated with high level, and occur in first waveform sequence
Low level total duration shared within the transmitting continuous time does not change with the change of the baud rate of transmitted waveform sequence;And/or
3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is total shared by within the transmitting continuous time
Duration does not change with the change of the baud rate of transmitted waveform sequence.For example, by taking first waveform sequence as an example, when baud rate is
During 50Mbps, the transmitting continuous time of first waveform sequence is 20ns, when baud rate is 25Mbps, the biography of first waveform sequence
The defeated duration is 40ns, i.e., the baud rate of transmitting continuous time and transmitted waveform sequence is in inverse relation, the transmitting continuous time
Longer, baud rate is smaller, i.e., transmission speed is slower, and the transmitting continuous time is shorter, and baud rate is bigger, i.e., transmission speed is faster.
The low level occurred in first waveform sequence total duration shared within the transmitting continuous time is not with transmitted waveform sequence
The change of the baud rate of row and change, i.e., as shown in Fig. 1 E (a), when the baud rate of first waveform sequence is 50Mbps, first
The transmitting continuous time of wave sequence is 20ns, and its low level duration is 8ns, when baud rate is 25Mbps, first
The transmitting continuous time of wave sequence is 40ns, and its low level duration is still 8ns.Occur in 3rd wave sequence low
Level total duration shared within the transmitting continuous time does not change with the change of the baud rate of transmitted waveform sequence, i.e., when the 3rd
When the baud rate of wave sequence is 50Mbps, the transmitting continuous time of the 3rd wave sequence is 20ns, when its is low level lasting
Between be 8ns, when baud rate is 25Mbps, the transmitting continuous time of the 3rd wave sequence is 40ns, its it is low level continue when
Between be still 8ns.In the case where data transfer is carried out with power supply simultaneously, the time of the total duration shared by low duration gets over
Short, power supply or power taking duration are longer in data transmission procedure, i.e., in the case that baud rate is 50Mbps, first waveform sequence or the
The transmitting continuous time of three wave sequences is 20ns, and its low level duration is 8ns, first waveform sequence or the 3rd waveform
A length of 60% when the power supply or power taking of sequence, in the case that baud rate is 25Mbps, first waveform sequence or the 3rd wave sequence
The transmitting continuous time be 40ns, its low duration is 8ns, the power supply of first waveform sequence or the 3rd wave sequence or
A length of 80% during power taking, i.e., in the case where the low level duration is fixed, baud rate is lower, and power supply or power taking efficiency are got over
Height, to improve power supplying efficiency, it can suitably reduce baud rate.
In one optional embodiment of the present embodiment:The low level of first waveform sequence is shared within the transmitting continuous time
The variable durations of Shi Changwei, i.e. low level total duration shared within the transmitting continuous time are not fixed, and are the changes with baud rate
A unrelated variable duration;The low level of 3rd wave sequence a length of variable duration when shared within the transmitting continuous time, i.e.,
Low level total duration shared within the transmitting continuous time is not fixed, when being that change with baud rate unrelated one is variable
It is long.For example, as shown in Fig. 1 E (b), in the case where baud rate does not change, first waveform sequence is started with high level, is held
Saltus step is low level after continuous first preset time T 1, after low level continues variable time, is finally terminated with high level or low level,
3rd wave sequence is started with high level, and saltus step is low level after continuing the second preset time T 2, and low level continues variable time
Afterwards, finally terminated with high level.Low duration is variable, on the premise of not influenceing accurately to calculate the transmitting continuous time,
Send wave sequence and reception wave sequence is more flexible, also reduce the requirement of the degree of accuracy to hardware device, this programme
The scope of application is wider.
In a kind of optional embodiment of the present embodiment, the feature of wave sequence also includes:Go out in first waveform sequence
Existing low level total duration shared within the transmitting continuous time is less than the half of duration;And/or the 3rd waveform sequence
The low level occurred in row total duration shared within the transmitting continuous time is less than the half of duration.In data transfer
Carried out with power supply simultaneously in the case of, the total duration shared by low duration is shorter, powers or takes in data transmission procedure
Electric duration is longer, and power supply/power taking efficiency is higher.
In a kind of optional embodiment of the present embodiment, the feature of wave sequence also includes:T1=a*T, wherein, T1 is
First preset time, T are the transmitting continuous time, and a is default dutycycle coefficient, 0<a<1;T2=b*T, wherein, T2 second
Preset time, b are default dutycycle coefficient, 0≤b<1;And a ≠ b.For example, when the duration is 20ns, if a=0.5,
Then T1=10ns, if b=0.25, T2=5ns.A differs with b so that first waveform sequence and the ripple of the 3rd wave sequence
Shape and the feature of wave sequence differ, it is ensured that data receiver will not be obscured in data receiver.
In a kind of optional embodiment of the present embodiment, the feature of wave sequence also includes:I.e. as shown in fig. 1F, second
Duration T 2 is equal to 0, and the 3rd wave sequence only occurs once being changed into high level from low level within the transmitting continuous time
Level saltus step, and terminated with high level;In the case that first waveform sequence is terminated with high level, first waveform sequence is with high level
Start and only occur once being changed into low level saltus step from high level within the transmitting continuous time, or, in first waveform sequence
In the case of being terminated with low level, first waveform sequence is started with high level and only occurred once by height within the transmitting continuous time
Level is changed into low level level saltus step, and is terminated with low level.In the case where the second duration was equal to 0, the 3rd waveform
Sequence is started with low level, is only occurred the saltus step for being once changed into high level from low level within the duration, is terminated with high level.
In the case where the second duration was equal to 0, the 3rd wave sequence and the difference of first waveform sequence are bigger, the knowledge of wave sequence
It is not easier, first waveform sequence can continue low level to the transmitting continuous time after saltus step is become by high level as low level
Terminate, can also be the low level that continues for some time after low level by high level saltus step, then by low transition be high electricity
Flat, permanent High level to transmitting continuous time terminates.The only once saltus step within the transmitting continuous time of first waveform sequence, first
Sending and receiving for wave sequence is more prone to, and first waveform sequence is low level by high level saltus step within the transmitting continuous time
Afterwards, then by low transition it is high level, the ratio of transmitting continuous time is lower shared by low level, same with power supply in data transfer
In the case of Shi Jinhang, power supply/power taking efficiency is higher.
In a kind of optional embodiment of the present embodiment, N number of wave sequence corresponding to default data frame head at least wraps
M wave sequence is included, M wave sequence is the preceding M wave sequence in N number of wave sequence corresponding to default data frame head,
Wherein, M is positive integer, and M >=2;M wave sequence is made up of first waveform sequence;Or M wave sequence is by the 3rd ripple
Shape sequence forms;Or M wave sequence includes at least one first waveform sequence and at least one 3rd wave sequence.With N
=5, M=2, preceding 2 wave sequences of 5 wave sequences are made up of 2 first waveform sequences corresponding to default data frame head
Exemplified by, as shown in Figure 1 G, there is high level saltus step to the low level time for the first time in the 1st wave sequence in preceding 2 wave sequences
It is the transmission that the time interval between low level is then first waveform sequence to occur high level saltus step for the first time with the 2nd wave sequence
Duration;Or with N=5, M=2, preceding 2 wave sequences of 5 wave sequences include corresponding to default data frame head
Exemplified by first waveform sequence and the 3rd wave sequence, as shown in fig. 1H, the 1st wave sequence is first waveform sequence, the 2nd ripple
Shape sequence is the 3rd wave sequence, works as T1=T*1/3, and during T2=T*1/6, the time interval of saltus step twice is T*2/3+T*1/6
=T*5/6, transmitting continuous time T can be calculated according to the time interval.As can be seen that when M wave sequence by first or
3rd wave sequence forms, or including first and during three wave sequences, due to first and the 3rd wave sequence include level
Saltus step, the calculating of transmitting continuous time is more simple and quick, and the ripple of the wave sequence can be obtained according to transmitting continuous time T
Special rate, you can obtain the configured transmission of present data transmission.
Further, when M wave sequence is made up of first waveform sequence, N number of waveform corresponding to default data frame head
Sequence also includes:The anti-interference wave sequence of at least one after M wave sequence, wherein, the anti-interference waveform sequence of at least one
It is classified as the second wave sequence or the 3rd wave sequence;When M wave sequence is made up of the 3rd wave sequence, default data frame head
Corresponding N number of wave sequence also includes:The anti-interference wave sequence of at least one after M wave sequence, wherein, at least one
Anti-interference wave sequence is the second wave sequence or first waveform sequence.When M wave sequence is first waveform sequence or
During three wave sequences, to avoid the equipment for receiving data from regarding the continuous multiple wave sequences of level change time interval identical
Erroneous judgement is produced to data content for mono-tone interference, send the equipment of data needs after waveform changes the multiple wave sequences of identical
Anti-interference wave sequence is added, makes the no longer single repetition of time interval of level change, data receiver can become the level
Change is identified as normal data transfer, rather than mono-tone interference, improves the accuracy of data transfer.Such as at continuous two first
After wave sequence, the equipment for sending data adds second wave sequence or the 3rd wave sequence, receives data
Equipment can judge that continuous two first waveform sequences are normal data, be not mono-tone interference.
In a kind of optional embodiment of the present embodiment, N=8 is (pre- with the second of the 3rd wave sequence as shown in Figure 1 I
If exemplified by time T2=0), N number of wave sequence is followed successively by the 3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the 3rd
Wave sequence, the second wave sequence, the 3rd wave sequence, the second wave sequence and the 3rd wave sequence.
Below, by taking N=8 in this optional embodiment as an example, the method for brief description calculating transmitting continuous time:
Step 1:Obtain the wave sequence feature for 8 wave sequences that default 6 level saltus steps are formed, 8 waveform sequences
Row are followed successively by:3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the second wave sequence,
Three wave sequences, the second wave sequence and the 3rd wave sequence;In present embodiment, first waveform sequence, the second wave sequence
There is following wave sequence feature with the 3rd wave sequence:First waveform sequence, the second wave sequence and the 3rd wave sequence
Transmitting continuous time T-phase it is same, and first waveform sequence started using high level and after continuing the first preset time T 1 saltus step to be low
Level, terminated with high level, the first preset time T 1 ≠ 0, the second wave sequence permanent High level within the transmitting continuous time, the
Three wave sequences are started using high level and saltus step terminates as low level, and with high level after continuing the second preset time T 2, and second
Preset time T 2=0, wherein, it from high level saltus step is low level that default X level saltus step, which is,;
Step 2:6 level saltus steps are persistently detected in receiving port, wherein, 6 level saltus steps being continuously detected are
It is changed into low level from high level;
Step 3:The wave sequence feature of 8 wave sequences formed according to default 6 level saltus steps and lasting inspection
Time interval between any two level saltus step in the 6 level saltus steps measured calculates the transmitting continuous of wave sequence
Time.Time interval in the 6 level saltus steps detected between first level saltus step and second level saltus step is 50ns,
Then the transmitting continuous time is 50ns, and the time interval between the 4th level saltus step and the 5th level saltus step is 100ns, then passes
The defeated duration is 50ns.
With the feature calculation transmitting continuous time of default 8 wave sequences and wave sequence in this optional embodiment,
The sending method of calculation and data and reception mode are relatively simple.
In a kind of optional embodiment of the present embodiment, N number of wave sequence that default X level saltus step is formed is number
According to N number of wave sequence corresponding to frame head;After receiving port persistently detects X level saltus step, method also includes:Continuation is connecing
Receiving end mouth persistently detects level saltus step;In the wave sequence feature of the N number of wave sequence formed according to default X level saltus step
And the time interval between any two level saltus step in X level saltus step being continuously detected calculates a wave sequence
The transmitting continuous time after, method also includes:Duration using the transmitting continuous time as each wave sequence, according to after
It is corresponding to continue the transmission data after the level saltus step and wave sequence feature that receiving port is continuously detected determine data frame head
Wave sequence;The bit sequence of transmission data is determined according to wave sequence corresponding to transmission data, wherein, with first waveform sequence
Row represent one in bit 1 and bit 0, are represented respectively with the second wave sequence and the 3rd wave sequence in bit 1 and bit 0
Another.In this optional embodiment, according to the level saltus step and waveform sequence for continuing to be continuously detected in receiving port
Wave sequence corresponding to transmission data includes but is not limited to following several ways after row feature determines data frame head:Mode one:
Using transmitting continuous time for being calculated as the transmitting continuous time of each wave sequence, in units of the transmitting continuous time,
The level change in each transmitting continuous time is received, according to the level change and wave sequence in each transmitting continuous time
Feature determines corresponding wave sequence in the transmitting continuous time;Mode two:Receiving port persistently detects level change, with transmission
Duration is unit, and the level change detected is divided into at least one wave sequence, is determined according to wave sequence feature
Each wave sequence.Exemplified by a manner of one, the transmitting continuous time being calculated is 20ns, and the level received in a 20ns becomes
Change, it is low level level saltus step high level saltus step occur within the transmitting continuous time, during 6.67ns, then according to first waveform
Sequence is started with high level, and it is low level that high level, which continues saltus step after the first preset time, T1=T*1/3 wave character, then
Can determine that the wave sequence in first 20ns is first waveform sequence, and the data bit of wave sequence transmission is 1, is continued
The level change in next 20ns is received, and obtains the data bit of the transmitting continuous time.Exemplified by a manner of two, calculate
The transmitting continuous time arrived is 20ns, continues persistently to detect level saltus step in receiving port, by the level saltus step received with
20ns is that unit is divided, and obtains the level change in each transmitting continuous time, such as the electricity that receiving port persistently detects
Flat saltus step is divided into 5 transmitting continuous times, wherein, there is high level jump in the 3rd transmitting continuous time, during 6.67ns
It is changed into low level level saltus step, then is started according to first waveform sequence with high level, after high level continues the first preset time
Saltus step is low level, and T1=T*1/3 wave character, then can determine that the wave sequence in first 20ns is first waveform sequence
Row, the data bit of wave sequence transmission is 1.In the present embodiment, after the transmitting continuous time is obtained, held according to transmission
Wave sequence and bit sequence corresponding to continuous time determination transmission data, have ensured the authenticity and reliability of data transfer, have kept away
Exempt from the Data reception errors caused by transmitting continuous timing error.
In a kind of optional embodiment of the present embodiment, in continuing using the transmitting continuous time as each wave sequence
Time, determine to pass after data frame head in the level saltus step and wave sequence feature that receiving port is continuously detected according to continuation
Before wave sequence corresponding to transmission of data, method also includes:Judge whether the transmitting continuous time is locally-supported transmitting continuous
Time, if it is, the duration using the transmitting continuous time as each wave sequence is performed, according to continuation in receiving port
The level saltus step and wave sequence feature being continuously detected determine to transmit wave sequence corresponding to data after data frame head
Step.Alternatively, if it is not, then no longer detecting the level change of receiving port, or the level change of receiving port is detected
Afterwards, the wave sequence of transmission is no longer determined.In this optional embodiment, first judge whether the transmitting continuous time is locally-supported
The transmitting continuous time persistently detect level change in receiving port again and determine wave sequence, obtained wave sequence can be ensured
The authenticity and accuracy of representative data bit, if not the locally-supported transmitting continuous time do not continue then detect level become
Change or determine wave sequence, the waste to equipment operational capability can be avoided.
The configured transmission acquisition methods of the present embodiment, obtain the ripple for N number of wave sequence that default X level saltus step is formed
Shape sequence signature, X level saltus step is persistently detected in receiving port, it is any in X level saltus step being continuously detected
Time interval between two level saltus steps calculates the transmitting continuous time of a wave sequence.It is transmitting continuous by the determination
The method of time, without the transmitting continuous time is consulted before data transfer starts, both devices can be also avoided due to transmitting continuous
Data transmit-receive mistake, improves data transmission efficiency and the degree of accuracy caused by time difference.And in this method, high level accounting
Higher, the equipment received to data can charge in high level lasting time, improve charge efficiency.
Embodiment 2
A kind of terminal is present embodiments provided, the terminal is to correspond with the configured transmission acquisition methods in embodiment 1
, it will not be repeated here, be only briefly described, in the optional embodiment of the present embodiment, unit is held in the terminal
Capable concrete operations are referred to embodiment 1.
In the present embodiment, terminal can be PC, iPAD, mobile phone, electric signing tools key, smart card, key engagings one
Equipment etc..
Fig. 2A is a kind of structural representation of optional terminal 200 of the present embodiment, and the terminal includes:Detection module 201,
Acquisition module 202, duration identification module 203, wherein:
Acquisition module 202, the wave sequence feature of the N number of wave sequence formed for obtaining default X level saltus step,
Wherein, N is positive integer, and X is for positive integer and more than 1, each ripple in N number of wave sequence that default X level saltus step is formed
Shape sequence is respectively one below:First waveform sequence, the second wave sequence and the 3rd wave sequence, wherein, first waveform sequence
Row, the second wave sequence and the 3rd wave sequence have following wave sequence feature:First waveform sequence, the second wave sequence with
And the 3rd wave sequence the transmitting continuous time it is identical, and first waveform sequence is started with high level and continues the first preset time
Saltus step afterwards is low level, the second wave sequence permanent High level within the transmitting continuous time, and the 3rd wave sequence is opened with high level
Saltus step is low level after beginning and continuing the second preset time, wherein, the first preset time is different from the duration of the second preset time,
It from high level saltus step is low level that default X level saltus step, which is,.
In the present embodiment, as shown in Figure 2 B, first waveform sequence may have various ways, such as:Started with high level,
Saltus step is low level after continuing the first preset time T 1, is finally terminated with low level;Or started with high level, continue first
Saltus step is low level after preset time, is finally terminated with high level.That is, the present embodiment only to first waveform sequence with height
Level starts, and saltus step is that low level makes restriction after continuing the first preset time T 1, for first waveform sequence with which kind of level
Terminate, and be not particularly limited.3rd wave sequence may have various ways:Started with high level, continue second it is default when
Between after T2 saltus step be low level, finally terminated with low level;Or started with high level, jumped after continuing the second preset time T 2
It is changed into low level, is finally terminated with high level.That is, the present embodiment is only started to the 3rd wave sequence with high level, hold
Saltus step is that low level makes restriction after continuous second preset time T 2, is terminated for the 3rd wave sequence with which kind of level, not done
Concrete restriction.First preset time T 1 is different from the duration of the second preset time T 2 so that the equipment of data receiver can basis
Before the high level saltus step of each wave sequence is low level, the level change that the duration of high level judges to receive corresponds to
Wave sequence be first waveform sequence or the 3rd wave sequence.
In the present embodiment, for example, it is respectively first waveform sequence, first to preset X=4, N=5,5 wave sequences
Wave sequence, first waveform sequence, the second wave sequence and the 3rd wave sequence are (wherein, with first waveform sequence with high level
Start, saltus step is low level after continuing the first preset time, is terminated with low level, the 3rd wave sequence is started with high level, is held
Saltus step is low level after continuous second preset time, so that low level terminates as an example), then obtain default 4 level saltus steps are formed 5
The wave sequence of individual wave sequence is characterized as shown in Figure 2 C, i.e.,:After high level continues the T1 times, saltus step is low level (the
Saltus step), after T-T1, high level is reverted to by low level, after high level continues the T1 times, saltus step is low level (the
Secondary saltus step), after T-T1, high level is reverted to by low level, after high level continues the T1 times, saltus step is low level (the
Saltus step three times), after T-T1, high level is reverted to by low level, continues the high level of T time, continues the high level of T2 times
Afterwards, it is low level (the 4th saltus step) by saltus step, continues the T-T2 times in low level.
Detection module 201, for persistently detecting X level saltus step in receiving port, wherein, X electricity being continuously detected
Flat saltus step is to be changed into low level from high level.
Duration identification module 203, for the waveform of the N number of wave sequence formed according to default X level saltus step
Time interval between any two level saltus step in sequence signature and X level saltus step being continuously detected calculates one
The transmitting continuous time of wave sequence.
In the present embodiment, for example, X=4, N=5,4 level saltus steps that detection module 201 persistently detects as shown in Figure 2 D,
The wave sequence feature for 5 wave sequences that can be then formed according to the default 4 level saltus steps obtained in acquisition module 202,
And the time interval between any two level saltus step calculates the transmitting continuous time of a wave sequence, e.g., reference picture
Shown in 2C, the time interval between first time saltus step and second of saltus step is T-T1+T1=T, i.e., the transmission of one wave sequence
Duration, the time interval between first time saltus step and third time saltus step are T-T1+T1+T-T1+T1=2T, i.e. two waveforms
The transmitting continuous time of sequence, the time interval between third time saltus step and the 4th saltus step are T-T1+T+T2, known T1,
In the case of T2 and T proportionate relationship, you can the transmitting continuous time of a wave sequence is calculated.
In the present embodiment, a waveform is calculated using the time interval between at the time of identical saltus step in terminal 200
The transmitting continuous time of sequence, calculation is simple, and easily operated and accuracy rate is high.
In an optional embodiment of the present embodiment, in duration identification module 203 according to default X level
Any two electricity in the wave sequence feature for N number of wave sequence that saltus step is formed and X level saltus step being continuously detected
Before time interval between flat saltus step calculates the transmitting continuous time of a wave sequence, duration identification module 203, also
For judge each time interval in whole time intervals in X level saltus step being continuously detected whether with advance
If N number of wave sequence for being formed of X level saltus step in it is corresponding in whole time intervals in X level saltus step including
Time interval meets same preset relation, if it is, triggering performs the N number of waveform sequence formed according to default X level saltus step
The time interval between any two level saltus step in the wave sequence feature of row and X level saltus step being continuously detected
Calculate the operation of the transmitting continuous time of a wave sequence.Whole times in X level saltus step being continuously detected
Whether include in the N number of wave sequence formed with default X level saltus step X of each time interval in interval is electric
When corresponding time interval meets same preset relation in whole time intervals in flat saltus step, the transmitting continuous time continues
X level saltus step being continuously detected can be defined as data frame head by module 203, again by transmitting continuous after data frame head is determined
Time duration module 203 calculates the transmitting continuous time of a wave sequence, can ensure the accuracy of transmitting continuous time calculating,
Improve efficiency of transmission.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:The transmitting continuous time is with passing
The baud rate of defeated wave sequence is in inverse relation, and first waveform sequence is terminated with high level, and occur in first waveform sequence
Low level total duration shared within the transmitting continuous time does not change with the change of the baud rate of transmitted waveform sequence;And/or
3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is total shared by within the transmitting continuous time
Duration does not change with the change of the baud rate of transmitted waveform sequence.It is low in the case where data transfer is carried out with power supply simultaneously
The time of total duration shared by level duration is shorter, and power supply or power taking duration are longer in data transmission procedure, i.e. baud rate
In the case of 50Mbps, the transmitting continuous time of first waveform sequence or the 3rd wave sequence is 20ns, and its is low level to hold
The continuous time be 8ns, and a length of 60% when the power supply or power taking of first waveform sequence or the 3rd wave sequence, baud rate is 25Mbps's
In the case of, the transmitting continuous time of first waveform sequence or the 3rd wave sequence is 40ns, and its low duration is 8ns,
A length of 80% when the power supply or power taking of first waveform sequence or the 3rd wave sequence, i.e., the feelings in the fixation of low level duration
Under condition, baud rate is lower, and power supply or power taking efficiency are higher, to improve power supplying efficiency, can suitably reduce baud rate.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:Go out in first waveform sequence
Existing low level total duration shared within the transmitting continuous time is less than the half of duration;And/or the 3rd waveform sequence
The low level occurred in row total duration shared within the transmitting continuous time is less than the half of duration.In data transfer
Carried out with power supply simultaneously in the case of, the total duration shared by low duration is shorter, powers or takes in data transmission procedure
Electric duration is longer, and power supply/power taking efficiency is higher.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:T1=a*T, wherein, T1 is
First preset time, T are the transmitting continuous time, and a is default dutycycle coefficient, 0 < a < 1;T2=b*T, wherein, T2
Two preset times, b are default dutycycle coefficient, 0≤b < 1;And a ≠ b.For example, when the duration is 20ns, if a=
0.5, then T1=10ns, if b=0.25, T2=5ns.A differs with b so that first waveform sequence and the 3rd wave sequence
Waveform and the feature of wave sequence differ, it is ensured that data receiver will not be obscured in data receiver.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:Second preset time is equal to
0, and only there is the level saltus step for being once changed into high level from low level within the transmitting continuous time in the 3rd wave sequence, and with height
Level terminates;In the case that first waveform sequence is terminated with high level, first waveform sequence is started with high level and held in transmission
Only occur once being changed into low level saltus step from high level in the continuous time, or, terminated in first waveform sequence with low level
In the case of, first waveform sequence is started with high level and only occurs once being changed into low level from high level within the transmitting continuous time
Level saltus step, and terminated with low level.In the case where the second duration was equal to 0, the 3rd wave sequence is opened with low level
Begin, only occur the saltus step for being once changed into high level from low level within the duration, terminated with high level.In the second duration
In the case of 0, the 3rd wave sequence and the difference of first waveform sequence are bigger, and the identification of wave sequence is easier, and first
Wave sequence can after saltus step is become as low level by high level, persistently low level to the transmitting continuous time terminate, can also be
It is the low level that continues for some time after low level by high level saltus step, then by low transition is high level, permanent High level
Terminate to the transmitting continuous time.First waveform sequence only once saltus step, hair of first waveform sequence within the transmitting continuous time
Send and reception is more prone to, after first waveform sequence is low level within the transmitting continuous time by high level saltus step, then by low electricity
Flat saltus step is high level, and the ratio of transmitting continuous time is lower shared by low level, in the feelings that data transfer is carried out with power supply simultaneously
Under condition, power supply/power taking efficiency is higher.
In an optional embodiment of the present embodiment, N number of wave sequence that default X level saltus step is formed is at least
Including M wave sequence, M wave sequence is the preceding M waveform sequence in N number of wave sequence corresponding to default data frame head
Row, wherein, M is positive integer, and M >=2;M wave sequence is made up of first waveform sequence;Or M wave sequence is by the 3rd
Wave sequence forms;Or M wave sequence includes at least one first waveform sequence and at least one 3rd wave sequence.
When M wave sequence by first or the 3rd wave sequence form, or including first and during three wave sequences, due to first and
Three wave sequences include level saltus step, and the calculating of transmitting continuous time is more simple and quick, and is according to transmitting continuous time T
The baud rate of the wave sequence can be obtained, you can obtain the configured transmission of present data transmission.
Further, when M wave sequence is made up of first waveform sequence, N number of ripple of default X level saltus step formation
Shape sequence also includes:The anti-interference wave sequence of at least one after M wave sequence, wherein, the anti-interference waveform of at least one
Sequence is the second wave sequence or the 3rd wave sequence;When M wave sequence is made up of the 3rd wave sequence, default X electricity
N number of wave sequence that flat saltus step is formed also includes:The anti-interference wave sequence of at least one after M wave sequence, wherein,
The anti-interference wave sequence of at least one is the second wave sequence or first waveform sequence.When M wave sequence is first waveform sequence
When row or three wave sequences, to avoid the equipment of reception data by the continuous multiple waveforms of level change time interval identical
Sequence is considered as mono-tone interference and produces erroneous judgement to data content, and the equipment for sending data changes the multiple waveform sequences of identical in waveform
Need to add anti-interference wave sequence after row, make the no longer single repetition of time interval of level change, data receiver can should
Level change is identified as normal data transfer, rather than mono-tone interference, improves the accuracy of data transfer.Such as continuous two
After individual first waveform sequence, the equipment for sending data adds second wave sequence or the 3rd wave sequence, receives
The equipment of data can judge that continuous two first waveform sequences are normal data, be not mono-tone interference.
In an optional embodiment of the present embodiment, N=8, N number of waveform sequence that default X level saltus step is formed
Row are followed successively by the 3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the second wave sequence, the 3rd
Wave sequence, the second wave sequence and the 3rd wave sequence.
In an optional embodiment of the present embodiment, N number of wave sequence that default X level saltus step is formed is number
According to N number of wave sequence corresponding to frame head;Detection module 201, it is additionally operable to after receiving port persistently detects X level saltus step,
Continue persistently to detect level saltus step in receiving port;Acquisition module 202, it is additionally operable in duration identification module 203 according to pre-
If the wave sequence feature of N number of wave sequence that is formed of X level saltus step and X level saltus step being continuously detected in
After time interval between any two level saltus step calculates the transmitting continuous time of a wave sequence, with it is transmitting continuous when
Between duration as each wave sequence, according to the level saltus step and waveform sequence for continuing to be continuously detected in receiving port
Row feature determines to transmit L wave sequence corresponding to data after data frame head;It is true according to wave sequence corresponding to transmission data
Surely the bit sequence of data is transmitted, wherein, one in bit 1 and bit 0 is represented with first waveform sequence, respectively with the second ripple
Shape sequence and the 3rd wave sequence represent another in bit 1 and bit 0.In the present embodiment, when obtaining transmitting continuous
Between after, according to the transmitting continuous time determine transmission data corresponding to wave sequence and bit sequence, ensured data transfer
Authenticity and reliability, avoid the Data reception errors caused by transmitting continuous timing error.
In an optional embodiment of the present embodiment, terminal also includes:Judging module 204, for judging that transmission is held
Whether the continuous time is the locally-supported transmitting continuous time, if it is, triggering acquisition module 202 using the transmitting continuous time as
The duration of each wave sequence, according to the level saltus step and wave sequence feature for continuing to be continuously detected in receiving port
Determine to transmit L waveform corresponding to data after data frame head.In this optional embodiment, first judge that the transmitting continuous time is
It is no persistently to detect level change for the locally-supported transmitting continuous time in receiving port again and determine wave sequence, it can ensure
The authenticity and accuracy of data bit representated by the wave sequence arrived, if not the locally-supported transmitting continuous time then not after
Continuous detection level change determines wave sequence, can avoid the waste to equipment operational capability.
The terminal 200 of the present embodiment, acquisition module 202 obtain N number of wave sequence that default X level saltus step is formed
Wave sequence feature, detection module 201 persistently detect X level saltus step, the basis of duration identification module 203 in receiving port
The time interval between any two level saltus step in X level saltus step being continuously detected calculates wave sequence
The transmitting continuous time.Terminal 200 is by the determination transmitting continuous time, without when consulting transmitting continuous before data transfer starts
Between, both devices data transmit-receive mistake caused by transmitting continuous time difference can be also avoided, improves data transfer effect
Rate and the degree of accuracy., can be when high level continues to terminal 200 and in embodiment provided by the invention, high level accounting is higher
It is interior to be charged, improve charge efficiency.
Embodiment 3
The present embodiment provides a kind of data frame hair delivery method, and this method can apply the communication between master-slave equipment
In.The equipment for sending data frame head can be main equipment, or slave unit.Device as main equipment for example can be eventually
End, the device as slave unit for example can be electronic payment devices (for example, electric signing tools key, smart card, key engagings
One equipment etc.).
Fig. 3 A be data frame hair delivery method provided in an embodiment of the present invention flow chart, the method and reality of the data frame head
Apply example 1 offer configured transmission acquisition methods it is corresponding, how by the data frame head obtain configured transmission method and with reality
Apply the content something in common of example 1 and refer to embodiment 1, the present embodiment no longer specifically describes.As shown in Figure 3A, the present embodiment provides
The sending method of data frame head mainly includes the following steps that:
Step 301, N number of wave sequence corresponding to default data frame head is obtained, wherein, N is positive integer, N number of waveform sequence
Each wave sequence in row is respectively one below:First waveform sequence, the second wave sequence and the 3rd wave sequence, its
In, first waveform sequence, the second wave sequence and the 3rd wave sequence have following wave sequence feature:First waveform sequence,
The transmitting continuous time of second wave sequence and the 3rd wave sequence is identical, and first waveform sequence is started and held with high level
Saltus step is low level after continuous first preset time, the second wave sequence permanent High level within the transmitting continuous time, the 3rd waveform
Sequence started using high level and after continuing the second preset time saltus step as low level, wherein, the first preset time is default with second
The duration of time is different;The wave sequence feature of each wave sequence in N number of wave sequence is obtained in N number of wave sequence
X level saltus step, wherein, X be positive integer and be more than 1, X level saltus step from high level saltus step be low level.
In the present embodiment, as shown in Figure 3 B, first waveform sequence may have various ways, such as:Started with high level,
Saltus step is low level after continuing the first preset time T 1, is finally terminated with low level;Or started with high level, continue first
Saltus step is low level after preset time, is finally terminated with high level.That is, the present embodiment only to first waveform sequence with height
Level starts, and saltus step is that low level makes restriction after continuing the first preset time T 1, for first waveform sequence with which kind of level
Terminate, and be not particularly limited.3rd wave sequence may have various ways:Started with high level, continue second it is default when
Between after T2 saltus step be low level, finally terminated with low level;Or started with high level, jumped after continuing the second preset time T 2
It is changed into low level, is finally terminated with high level.That is, the present embodiment is only started to the 3rd wave sequence with high level, hold
Saltus step is that low level makes restriction after continuous second preset time T 2, is terminated for the 3rd wave sequence with which kind of level, not done
Concrete restriction.First preset time T 1 is different from the duration of the second preset time T 2 so that the equipment of data receiver can basis
Before the high level saltus step of each wave sequence is low level, the level change that the duration of high level judges to receive corresponds to
Wave sequence be first waveform sequence or the 3rd wave sequence.
In this step, for example, corresponding 5 wave sequences of default data frame head, respectively 5 wave sequences are respectively the
One wave sequence, first waveform sequence, first waveform sequence, the second wave sequence and the 3rd wave sequence are (wherein, with first wave
Shape sequence is started with high level, and saltus step is low level after continuing the first preset time, is terminated with low level, the 3rd wave sequence with
High level starts, and saltus step is low level after continuing the second preset time, so that low level terminates as an example), according to above-mentioned 5 waveform sequences
The wave sequence feature of each wave sequence in row obtains 4 level saltus steps in 5 wave sequences as shown in Figure 3 C, i.e.,:
After high level continues the T1 times, saltus step is low level (first time saltus step), and after T-T1, high level is reverted to by low level,
After high level continues the T1 times, saltus step is low level (second of saltus step), and after T-T1, high level is reverted to by low level,
After high level continues the T1 times, saltus step is low level (third time saltus step), and after T-T1, high level is reverted to by low level,
Continue the high level of T time, after the high level for continuing the T2 times, be low level (the 4th saltus step) by saltus step, held in low level
The continuous T-T2 times.
Step 302, the level of sending port is controlled to carry out level change according to X level saltus step in N number of wave sequence,
To send data frame head.
In this step, the main control chip of equipment or the level of transmission chip control sending port can be sent by data frame hair,
The X level saltus step according to being obtained in step 301 in N number of wave sequence is changed, and data frame head is sent, in order to data frame
Head receiving device obtains the transmitting continuous time of a wave sequence according to the data frame head, and calculation is simple, easily operated
And accuracy rate is high.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:The transmitting continuous time is with passing
The baud rate of defeated wave sequence is in inverse relation, and first waveform sequence is terminated with high level, and occur in first waveform sequence
Low level total duration shared within the transmitting continuous time does not change with the change of the baud rate of transmitted waveform sequence;And/or
3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is total shared by within the transmitting continuous time
Duration does not change with the change of the baud rate of transmitted waveform sequence.For example, by taking first waveform sequence as an example, when baud rate is
During 50Mbps, the transmitting continuous time of first waveform sequence is 20ns, when baud rate is 25Mbps, the biography of first waveform sequence
The defeated duration is 40ns, i.e., the baud rate of transmitting continuous time and transmitted waveform sequence is in inverse relation, the transmitting continuous time
Longer, baud rate is smaller, i.e., transmission speed is slower, and the transmitting continuous time is shorter, and baud rate is bigger, i.e., transmission speed is faster.
The low level occurred in first waveform sequence total duration shared within the transmitting continuous time is not with transmitted waveform sequence
The change of the baud rate of row and change, i.e., as shown in Fig. 3 D (a), when the baud rate of first waveform sequence is 50Mbps, first
The transmitting continuous time of wave sequence is 20ns, and its low level duration is 8ns, when baud rate is 25Mbps, first
The transmitting continuous time of wave sequence is 40ns, and its low level duration is still 8ns.Occur in 3rd wave sequence low
Level total duration shared within the transmitting continuous time does not change with the change of the baud rate of transmitted waveform sequence, i.e., when the 3rd
When the baud rate of wave sequence is 50Mbps, the transmitting continuous time of the 3rd wave sequence is 20ns, when its is low level lasting
Between be 8ns, when baud rate is 25Mbps, the transmitting continuous time of the 3rd wave sequence is 40ns, its it is low level continue when
Between be still 8ns.In the case where data transfer is carried out with power supply simultaneously, the time of the total duration shared by low duration gets over
Short, power supply or power taking duration are longer in data transmission procedure, i.e., in the case that baud rate is 50Mbps, first waveform sequence or the
The transmitting continuous time of three wave sequences is 20ns, and its low level duration is 8ns, first waveform sequence or the 3rd waveform
A length of 60% when the power supply or power taking of sequence, in the case that baud rate is 25Mbps, first waveform sequence or the 3rd wave sequence
The transmitting continuous time be 40ns, its low duration is 8ns, the power supply of first waveform sequence or the 3rd wave sequence or
A length of 80% during power taking, i.e., in the case where the low level duration is fixed, baud rate is lower, and power supply or power taking efficiency are got over
Height, to improve power supplying efficiency, it can suitably reduce baud rate.
In one optional embodiment of the present embodiment:The low level of first waveform sequence is shared within the transmitting continuous time
The variable durations of Shi Changwei, i.e. low level total duration shared within the transmitting continuous time are not fixed, and are the changes with baud rate
A unrelated variable duration;The low level of 3rd wave sequence a length of variable duration when shared within the transmitting continuous time, i.e.,
Low level total duration shared within the transmitting continuous time is not fixed, when being that change with baud rate unrelated one is variable
It is long.For example, as shown in Fig. 1 E (b), in the case where baud rate does not change, first waveform sequence is started with high level, is held
Saltus step is low level after continuous first preset time T 1, after low level continues variable time, is finally terminated with high level or low level,
3rd wave sequence is started with high level, and saltus step is low level after continuing the second preset time T 2, and low level continues variable time
Afterwards, finally terminated with high level.Low duration is variable, on the premise of not influenceing accurately to calculate the transmitting continuous time,
Send wave sequence and reception wave sequence is more flexible, also reduce the requirement of the degree of accuracy to hardware device, this programme
The scope of application is wider.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:Go out in first waveform sequence
Existing low level total duration shared within the transmitting continuous time is less than the half of duration;And/or the 3rd waveform sequence
The low level occurred in row total duration shared within the transmitting continuous time is less than the half of duration.In data transfer
Carried out with power supply simultaneously in the case of, the total duration shared by low duration is shorter, powers or takes in data transmission procedure
Electric duration is longer, and power supply/power taking efficiency is higher.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:T1=a*T, wherein, T1 is
First preset time, T are the transmitting continuous time, and a is default dutycycle coefficient, 0 < a < 1;T2=b*T, wherein, T2
Two preset times, b are default dutycycle coefficient, 0≤b≤1;And a ≠ b.A differs with b so that first waveform sequence with
The waveform of 3rd wave sequence and the feature of wave sequence differ, it is ensured that data receiver, will not in data receiver
Obscure.
In an optional embodiment of the present embodiment, the feature of wave sequence also includes:As shown in FIGURE 3 E, second is pre-
If the time is equal to 0, and only there is the level for being once changed into high level from low level within the transmitting continuous time in the 3rd wave sequence
Saltus step, and terminated with high level;In the case that first waveform sequence is terminated with high level, first waveform sequence is started with high level
And only occur once being changed into low level saltus step from high level within the transmitting continuous time, or, in first waveform sequence with low
In the case that level terminates, first waveform sequence is started with high level and only occurred once by high level within the transmitting continuous time
It is changed into low level level saltus step, and is terminated with low level.In the case where the second duration was equal to 0, the 3rd wave sequence
Started with low level, only occur the saltus step for being once changed into high level from low level within the duration, terminated with high level.
In the case that two duration were equal to 0, the 3rd wave sequence and the difference of first waveform sequence are bigger, and the identification of wave sequence is more
Easily, first waveform sequence can be after saltus step be become as low level by high level, and lasting low level to the transmitting continuous time terminates,
It can also be the low level that continues for some time after low level by high level saltus step, then by low transition be high level, hold
Continuous high level to the transmitting continuous time terminates.First waveform sequence only once saltus step, first waveform within the transmitting continuous time
Sending and receiving for sequence is more prone to, first waveform sequence within the transmitting continuous time by high level saltus step be low level after,
It is again high level by low transition, the ratio of transmitting continuous time is lower shared by low level, in data transfer with powering simultaneously
In the case of progress, power supply/power taking efficiency is higher.
In an optional embodiment of the present embodiment, N number of wave sequence, including at least M wave sequence, M ripple
Shape sequence is preceding M wave sequence in N number of wave sequence, wherein, M is positive integer, and M >=2;M wave sequence is by first wave
Shape sequence forms;Or M wave sequence is made up of the 3rd wave sequence;Or M wave sequence includes at least one the
One wave sequence and at least one 3rd wave sequence.When M wave sequence by first or the 3rd wave sequence form, or including
First and during three wave sequences, due to first and the 3rd wave sequence include level saltus step, the calculating of transmitting continuous time
It is more simple and quick, and the baud rate of the wave sequence can be obtained according to transmitting continuous time T, you can obtain current data biography
Defeated configured transmission.
Further, when M wave sequence is made up of first waveform sequence, N number of wave sequence also includes:In M waveform
The anti-interference wave sequence of at least one after sequence, wherein, the anti-interference wave sequence of at least one is the second wave sequence or the
Three wave sequences;When M wave sequence is made up of the 3rd wave sequence, N number of wave sequence also includes:M wave sequence it
The anti-interference wave sequence of at least one afterwards, wherein, the anti-interference wave sequence of at least one is the second wave sequence or first waveform
Sequence.When M wave sequence is first waveform sequence or three wave sequences, to avoid the equipment for receiving data will be continuous
The multiple wave sequences of level change time interval identical be considered as mono-tone interference and erroneous judgement produced to data content, send data
Equipment waveform change the multiple wave sequences of identical after need to add anti-interference wave sequence, make the time interval of level change
The level change can be identified as normal data transfer, rather than mono-tone interference, carry by no longer single repetition, data receiver
The accuracy of high data transfer.Such as after continuous two first waveform sequences, the equipment for sending data adds one second
Wave sequence or the 3rd wave sequence, receiving the equipment of data can judge continuous two first waveform sequences for just
Regular data, it is not mono-tone interference.
In an optional embodiment of the present embodiment, N=8 is (pre- with the second of the 3rd wave sequence as illustrated in Figure 3 F
If exemplified by time T2=0), N number of wave sequence is followed successively by the 3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the 3rd
Wave sequence, the second wave sequence, the 3rd wave sequence, the second wave sequence and the 3rd wave sequence.With this optional embodiment party
Default 8 wave sequences are transmitted as data frame head in formula, and the receiving device of data frame head is when calculating transmitting continuous
Between, it is relatively simple in calculation.
The data frame hair delivery method of the present embodiment, obtains N number of wave sequence corresponding to default data frame head, according to N
The wave sequence feature of each wave sequence in individual wave sequence obtains X level saltus step in N number of wave sequence, and controls
Sending port carries out level change according to X level saltus step and sends the data frame head.It may be such that the equipment for receiving data frame head can
The transmitting continuous time is determined by the data frame head, without the transmitting continuous time is consulted before data transfer starts, can also be avoided
Both devices data transmit-receive mistake caused by transmitting continuous time difference, improves data transmission efficiency and the degree of accuracy.
And in this method, high level accounting is higher, the equipment that can be received to data can supply in high level lasting time
Electricity, improve power supplying efficiency.
Embodiment 4
A kind of dispensing device is present embodiments provided, the sending method of the device and the data frame head in embodiment 3 is one
It corresponding to one, will not be repeated here, be only briefly described, in the optional embodiment of the present embodiment, in the dispensing device
The concrete operations that unit performs are referred to embodiment 3.
In the present embodiment, dispensing device can be PC, iPAD, mobile phone, electric signing tools key, smart card, key cards
In-one device etc..
Fig. 4 A are a kind of structural representations of optional dispensing device 400 of the present embodiment, and the dispensing device includes:Waveform
Retrieval module 401, sending module 402, wherein:
Wave sequence acquisition module 401, for obtaining N number of wave sequence corresponding to default data frame head, wherein, N is
Positive integer, each wave sequence in N number of wave sequence is respectively one below:First waveform sequence, the second wave sequence and
3rd wave sequence, wherein, first waveform sequence, the second wave sequence and the 3rd wave sequence have following wave sequence special
Sign:The transmitting continuous time of first waveform sequence, the second wave sequence and the 3rd wave sequence is identical, and first waveform sequence
Started using high level and as low level, the second wave sequence continues within the transmitting continuous time for saltus step after continuing the first preset time
High level, the 3rd wave sequence started using high level and after continuing the second preset time saltus step as low level, wherein, first is default
Time is different from the duration of the second preset time;The wave sequence feature of each wave sequence in N number of wave sequence obtains
X level saltus step in N number of wave sequence is obtained, wherein, X is positive integer and is to be jumped from high level more than 1, X level saltus step
It is changed into low level;
Sending module 402, N number of ripple that the level for controlling sending port obtains according to wave sequence acquisition module 401
X level saltus step in shape sequence carries out level change, to send data frame head.
In the present embodiment, X in N number of wave sequence that sending module 402 is obtained according to wave sequence acquisition module 401
Level saltus step is changed, and sends data frame head, in order to which data frame head receiving device obtains a ripple according to the data frame head
The transmitting continuous time of shape sequence, calculation is simple, and easily operated and accuracy rate is high.
In an optional embodiment of the embodiment of the present invention, the feature of wave sequence also includes:The transmitting continuous time
Baud rate with transmitted waveform sequence is in inverse relation, and first waveform sequence is terminated with high level, and is gone out in first waveform sequence
Existing low level total duration shared within the transmitting continuous time does not change with the change of the baud rate of transmitted waveform sequence;
And/or the 3rd wave sequence terminated with high level, and the low level occurred in the 3rd wave sequence institute within the transmitting continuous time
The total duration accounted for does not change with the change of the baud rate of transmitted waveform sequence.Transmitting continuous time and the ripple of transmitted waveform sequence
Special rate is in inverse relation, and the transmitting continuous time is longer, and baud rate is smaller, i.e., transmission speed is slower, and the transmitting continuous time is shorter, ripple
Special rate is bigger, i.e., transmission speed is faster.I.e. in the case where the low level duration is fixed, baud rate is lower, powers or takes
Electrical efficiency is higher, to improve power supplying efficiency, can suitably reduce baud rate.
In an optional embodiment of the embodiment of the present invention, the feature of wave sequence also includes:First waveform sequence
The low level of middle appearance total duration shared within the transmitting continuous time is less than the half of duration;And/or the 3rd ripple
The low level occurred in shape sequence total duration shared within the transmitting continuous time is less than the half of duration.In data
Transmission is carried out with power supply simultaneously in the case that, the total duration shared by low duration is shorter, is powered in data transmission procedure
Or power taking duration is longer, power supply/power taking efficiency is higher.
In an optional embodiment of the embodiment of the present invention, the feature of wave sequence also includes:T1=a*T, wherein,
T1 is the first preset time, and T is the transmitting continuous time, and a is default dutycycle coefficient, 0 < a < 1;T2=b*T, wherein, T2
For the second preset time, b is default dutycycle coefficient, 0≤b < 1;And a ≠ b.A differs with b so that first waveform sequence
Row differed with the waveform of the 3rd wave sequence and the feature of wave sequence, it is ensured that data receiver in data receiver,
It will not obscure.
In an optional embodiment of the embodiment of the present invention, the feature of wave sequence also includes:Second preset time
Equal to 0, and only there is the level saltus step for being once changed into high level from low level within the transmitting continuous time in the 3rd wave sequence, and
Terminated with high level;In the case that first waveform sequence is terminated with high level, first waveform sequence is started and passed with high level
Only occur once being changed into low level saltus step from high level in the defeated duration, or, in first waveform sequence with low level knot
In the case of beam, first waveform sequence is started with high level and only occurs once being changed into low from high level within the transmitting continuous time
The level saltus step of level, and terminated with low level.In the case where the second duration was equal to 0, the 3rd wave sequence is with low electricity
The beginning is opened flat, only occurs the saltus step for being once changed into high level from low level within the duration, is terminated with high level.Continue second
In the case that time is equal to 0, the 3rd wave sequence and the difference of first waveform sequence are bigger, and the identification of wave sequence is easier,
First waveform sequence can be after saltus step be become as low level by high level, and lasting low level to the transmitting continuous time terminates, and also may be used
It is high level using the low level after by high level saltus step as low level, continued for some time, then by low transition, continues height
Level to the transmitting continuous time terminates.First waveform sequence only once saltus step, first waveform sequence within the transmitting continuous time
Send and receive and be more prone to, after first waveform sequence is low level within the transmitting continuous time by high level saltus step, then by
Low transition is high level, and the ratio of transmitting continuous time is lower shared by low level, is carried out simultaneously in data transfer and power supply
In the case of, power supply/power taking efficiency is higher.
In an optional embodiment of the embodiment of the present invention, N number of wave sequence, including at least M wave sequence, M
Individual wave sequence is the preceding M wave sequence in N number of wave sequence corresponding to default data frame head, wherein, M is positive integer,
And M >=2;M wave sequence is made up of first waveform sequence;Or M wave sequence is made up of the 3rd wave sequence;Or
M wave sequence includes at least one first waveform sequence and at least one 3rd wave sequence.When M wave sequence is by first
Or the 3rd wave sequence composition, or including first and during three wave sequences, due to first and the 3rd wave sequence include electricity
Flat saltus step, the calculating of transmitting continuous time is more simple and quick, and can obtain the wave sequence according to transmitting continuous time T
Baud rate, you can obtain the configured transmission of present data transmission.
Further, when M wave sequence is made up of first waveform sequence, N number of wave sequence also includes:In M waveform
The anti-interference wave sequence of at least one after sequence, wherein, the anti-interference wave sequence of at least one is the second wave sequence or the
Three wave sequences;When M wave sequence is made up of the 3rd wave sequence, N number of wave sequence also includes:M wave sequence it
The anti-interference wave sequence of at least one afterwards, wherein, the anti-interference wave sequence of at least one is the second wave sequence or first waveform
Sequence.When M wave sequence is first waveform sequence or three wave sequences, to avoid the equipment for receiving data will be continuous
The multiple wave sequences of level change time interval identical be considered as mono-tone interference and erroneous judgement produced to data content, send data
Equipment waveform change the multiple wave sequences of identical after need to add anti-interference wave sequence, make the time interval of level change
The level change can be identified as normal data transfer, rather than mono-tone interference, carry by no longer single repetition, data receiver
The accuracy of high data transfer.Such as after continuous two first waveform sequences, the equipment for sending data adds one second
Wave sequence or the 3rd wave sequence, receiving the equipment of data can judge continuous two first waveform sequences for just
Regular data, it is not mono-tone interference.
In an optional embodiment of the embodiment of the present invention, N=8, N number of wave sequence is followed successively by the 3rd waveform sequence
Row, the 3rd wave sequence, the 3rd wave sequence, the 3rd wave sequence, the second wave sequence, the 3rd wave sequence, the second waveform
Sequence and the 3rd wave sequence.Default 8 wave sequences are transmitted as data frame head using in this optional embodiment, number
Receiving device according to frame head is calculating transmitting continuous time, relatively simple in calculation.
The dispensing device of the present embodiment, wave sequence acquisition module 401 obtain N number of waveform corresponding to default data frame head
Sequence, the wave sequence feature of each wave sequence in N number of wave sequence obtain X level in N number of wave sequence
Saltus step, the sending port of sending module 402 carry out level change according to X level saltus step and send the data frame head.It may be such that reception
The equipment of data frame head can determine the transmitting continuous time by the data frame head, be held without transmission is consulted before data transfer starts
The continuous time, both devices data transmit-receive mistake caused by transmitting continuous time difference can be also avoided, improve data biography
Defeated efficiency and the degree of accuracy.And in this method, high level accounting is higher, the equipment that dispensing device 400 can be received to data can
To be powered in high level lasting time, power supplying efficiency is improved.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly be can by program come instruct correlation hardware complete, program can be stored in a kind of computer-readable recording medium
In, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.If integrated module with
The form of software function module realize and be used as independent production marketing or in use, can also be stored in one it is computer-readable
Take in storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art is not departing from the principle and objective of the present invention
In the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.The scope of the present invention
By appended claims and its equivalent limit.
Claims (16)
- A kind of 1. data frame hair delivery method, it is characterised in that including:N number of wave sequence corresponding to default data frame head is obtained, wherein, N is positive integer, each in N number of wave sequence Individual wave sequence is respectively one below:First waveform sequence, the second wave sequence and the 3rd wave sequence, wherein, described One wave sequence, second wave sequence and the 3rd wave sequence have following wave sequence feature:The first wave The transmitting continuous time of shape sequence, second wave sequence and the 3rd wave sequence is identical, and the first waveform Sequence is started using high level and as low level, second wave sequence is held in the transmission for saltus step after continuing the first preset time Permanent High level in the continuous time, the 3rd wave sequence started using high level and after continuing the second preset time saltus step as low electricity It is flat, wherein, first preset time is different from the duration of second preset time;According in N number of wave sequence The wave sequence feature of each wave sequence obtains X level saltus step in N number of wave sequence, wherein, X is just whole Number and more than 1, it from high level saltus step is low level that the X level saltus step, which is,;The level of sending port is controlled to carry out level change according to X level saltus step in N number of wave sequence, to send State data frame head.
- 2. according to the method for claim 1, it is characterised in thatThe feature of the wave sequence also includes:The transmitting continuous time is in inverse relation with the baud rate for transmitting the wave sequence, and the first waveform sequence is with height Level terminates, and the low level occurred in the first waveform sequence total duration shared within the transmitting continuous time not with Transmit the change of the baud rate of the wave sequence and change;And/or3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is held in the transmission Shared total duration does not change with the change for the baud rate for transmitting the wave sequence in the continuous time.
- 3. method according to claim 1 or 2, it is characterised in thatThe feature of the wave sequence also includes:The low level occurred in the first waveform sequence total duration shared within the transmitting continuous time is less than described hold The half of continuous time;And/orThe low level occurred in 3rd wave sequence total duration shared within the transmitting continuous time is less than described hold The half of continuous time.
- 4. according to the method any one of claim 1-3, it is characterised in thatThe feature of the wave sequence also includes:T1=a*T, wherein, T1 is first preset time, and T is the transmitting continuous time, and a is default dutycycle system Number, 0 < a < 1;T2=b*T, wherein, T2 is second preset time, and b is default dutycycle coefficient, 0≤b≤1;And a ≠ b.
- 5. according to the method any one of claim 1,3 or 4, it is characterised in thatThe feature of the wave sequence also includes:Second preset time be equal to 0, and the 3rd wave sequence only occur within the transmitting continuous time once by Low level is changed into the level saltus step of high level, and is terminated with high level;In the case that the first waveform sequence is terminated with high level, the first waveform sequence is started with high level and described Only occur once being changed into low level saltus step from high level in the transmitting continuous time, or, in the first waveform sequence with low In the case that level terminates, the first waveform sequence is started with high level and only occurred once within the transmitting continuous time Low level level saltus step is changed into from high level, and terminated with low level.
- 6. according to the method any one of claim 1-5, it is characterised in thatN number of wave sequence, including at least M wave sequence, the M wave sequence is preceding M in N number of wave sequence Individual wave sequence, wherein, M is positive integer, and M >=2;The M wave sequence is made up of the first waveform sequence;Or the M wave sequence is by the 3rd waveform Sequence forms;Or the M wave sequence includes at least one first waveform sequence and at least one 3rd waveform sequence Row.
- 7. according to the method for claim 6, it is characterised in thatWhen the M wave sequence is made up of the first waveform sequence, N number of wave sequence also includes:In the M ripple The anti-interference wave sequence of at least one after shape sequence, wherein, the anti-interference wave sequence of at least one is second ripple Shape sequence or the 3rd wave sequence;When the M wave sequence is made up of the 3rd wave sequence, N number of wave sequence also includes:In the M ripple The anti-interference wave sequence of at least one after shape sequence, wherein, the anti-interference wave sequence of at least one is second ripple Shape sequence or the first waveform sequence.
- 8. according to the method any one of claim 1-7, it is characterised in thatN=8, N number of wave sequence are followed successively by the 3rd wave sequence, the 3rd wave sequence, the 3rd waveform Sequence, the 3rd wave sequence, second wave sequence, the 3rd wave sequence, second wave sequence and institute State the 3rd wave sequence.
- A kind of 9. dispensing device, it is characterised in that including:Wave sequence acquisition module, for obtaining N number of wave sequence corresponding to default data frame head, wherein, N is positive integer, Each wave sequence in N number of wave sequence is respectively one below:First waveform sequence, the second wave sequence and the 3rd Wave sequence, wherein, the first waveform sequence, second wave sequence and the 3rd wave sequence have following waveform Sequence signature:The transmitting continuous time of the first waveform sequence, second wave sequence and the 3rd wave sequence It is identical, and the first waveform sequence is started using high level and saltus step is low level after continuing the first preset time, described second Wave sequence permanent High level within the transmitting continuous time, the 3rd wave sequence are started with high level and continue second Saltus step is low level after preset time, wherein, first preset time is different from the duration of second preset time;According to The wave sequence feature of each wave sequence in N number of wave sequence obtains X electricity in N number of wave sequence Flat saltus step, wherein, X is positive integer and more than 1, and it from high level saltus step is low level that the X level saltus step, which is,;Sending module, for controlling the level of sending port to enter line level according to X level saltus step in N number of wave sequence Change, to send the data frame head.
- 10. device according to claim 9, it is characterised in thatThe feature of the wave sequence also includes:The transmitting continuous time is in inverse relation with the baud rate for transmitting the wave sequence, and the first waveform sequence is with height Level terminates, and the low level occurred in the first waveform sequence total duration shared within the transmitting continuous time not with Transmit the change of the baud rate of the wave sequence and change;And/or3rd wave sequence is terminated with high level, and the low level occurred in the 3rd wave sequence is held in the transmission Shared total duration does not change with the change for the baud rate for transmitting the wave sequence in the continuous time.
- 11. the device according to claim 9 or 10, it is characterised in thatThe feature of the wave sequence also includes:The low level occurred in the first waveform sequence total duration shared within the transmitting continuous time is less than described hold The half of continuous time;And/orThe low level occurred in 3rd wave sequence total duration shared within the transmitting continuous time is less than described hold The half of continuous time.
- 12. according to the device any one of claim 9-11, it is characterised in thatThe feature of the wave sequence also includes:T1=a*T, wherein, T1 is first preset time, and T is the transmitting continuous time, and a is default dutycycle system Number, 0 < a < 1;T2=b*T, wherein, T2 is second preset time, and b is default dutycycle coefficient, 0≤b < 1;And a ≠ b.
- 13. according to the method any one of claim 9,11 or 12, it is characterised in thatThe feature of the wave sequence also includes:Second preset time be equal to 0, and the 3rd wave sequence only occur within the transmitting continuous time once by Low level is changed into the level saltus step of high level, and is terminated with high level;In the case that the first waveform sequence is terminated with high level, the first waveform sequence is started with high level and described Only occur once being changed into low level saltus step from high level in the transmitting continuous time, or, in the first waveform sequence with low In the case that level terminates, the first waveform sequence is started with high level and only occurred once within the transmitting continuous time Low level level saltus step is changed into from high level, and terminated with low level.
- 14. according to the method any one of claim 9-13, it is characterised in thatN number of wave sequence, including at least M wave sequence, the M wave sequence is the default data frame head pair Preceding M wave sequence in the N number of wave sequence answered, wherein, M is positive integer, and M >=2;The M wave sequence is made up of the first waveform sequence;Or the M wave sequence is by the 3rd waveform Sequence forms;Or the M wave sequence includes at least one first waveform sequence and at least one 3rd waveform sequence Row.
- 15. according to the method for claim 14, it is characterised in thatWhen the M wave sequence is made up of the first waveform sequence, N number of wave sequence also includes:In the M ripple The anti-interference wave sequence of at least one after shape sequence, wherein, the anti-interference wave sequence of at least one is second ripple Shape sequence or the 3rd wave sequence;When the M wave sequence is made up of the 3rd wave sequence, N number of wave sequence also includes:In the M ripple The anti-interference wave sequence of at least one after shape sequence, wherein, the anti-interference wave sequence of at least one is second ripple Shape sequence or the first waveform sequence.
- 16. according to the device any one of claim 9-15, it is characterised in thatN=8, N number of wave sequence are followed successively by the 3rd wave sequence, the 3rd wave sequence, the 3rd waveform Sequence, the 3rd wave sequence, second wave sequence, the 3rd wave sequence, second wave sequence and institute State the 3rd wave sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611051709.XA CN107453838B (en) | 2016-11-24 | 2016-11-24 | Data frame header sending method and sending device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611051709.XA CN107453838B (en) | 2016-11-24 | 2016-11-24 | Data frame header sending method and sending device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107453838A true CN107453838A (en) | 2017-12-08 |
CN107453838B CN107453838B (en) | 2020-08-21 |
Family
ID=60484873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611051709.XA Active CN107453838B (en) | 2016-11-24 | 2016-11-24 | Data frame header sending method and sending device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107453838B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006134713A1 (en) * | 2005-06-14 | 2006-12-21 | Anritsu Corporation | Communication device test signal generating apparatus and communication device test signal generating method |
CN102055482A (en) * | 2010-11-09 | 2011-05-11 | 中国人民解放军国防科学技术大学 | Data transmission method |
CN103378933A (en) * | 2012-04-26 | 2013-10-30 | 国民技术股份有限公司 | Decoding method, decoding module, signal processing method and signal processing device |
CN105162471A (en) * | 2015-08-24 | 2015-12-16 | 武汉瑞纳捷电子技术有限公司 | Differential Manchester decoding circuit and method |
-
2016
- 2016-11-24 CN CN201611051709.XA patent/CN107453838B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006134713A1 (en) * | 2005-06-14 | 2006-12-21 | Anritsu Corporation | Communication device test signal generating apparatus and communication device test signal generating method |
CN102055482A (en) * | 2010-11-09 | 2011-05-11 | 中国人民解放军国防科学技术大学 | Data transmission method |
CN103378933A (en) * | 2012-04-26 | 2013-10-30 | 国民技术股份有限公司 | Decoding method, decoding module, signal processing method and signal processing device |
CN105162471A (en) * | 2015-08-24 | 2015-12-16 | 武汉瑞纳捷电子技术有限公司 | Differential Manchester decoding circuit and method |
Also Published As
Publication number | Publication date |
---|---|
CN107453838B (en) | 2020-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105790754B (en) | Digital isolation circuit and control method thereof | |
CN104618054B (en) | Parameter regulation means and device | |
CN104010354B (en) | Sensor, telemeter and wireless sensor system and its application method | |
CN107209739A (en) | Voltage mode and current-mode device enumeration | |
CN108401445A (en) | For the circuit of time of measuring, method and related chip, system and equipment | |
CN107423248A (en) | Data frame hair delivery method and dispensing device | |
CN107977290A (en) | The test method and test system in a kind of MIPI circuits | |
CN104090511A (en) | Circuit and method for achieving non-polar 485 communication | |
CN103092257A (en) | Self-adaptive trigger synchronization control device | |
CN107346997A (en) | A kind of data transmission method and terminal | |
CN107493156A (en) | Configured transmission acquisition methods and terminal | |
CN107810612A (en) | For using implicitly synchronously testing the method for radio frequency (RF) data packet signal transceiver | |
CN100527116C (en) | Master communication circuit, slave communication circuit, and data communicating method | |
CN107453838A (en) | Data frame hair delivery method and dispensing device | |
CN107465498A (en) | Configured transmission acquisition methods and terminal | |
CN110223643A (en) | Data transmission method, component and system, display device | |
CN104682465B (en) | Wireless charging device and method | |
CN102298416A (en) | Server system | |
US9170967B2 (en) | System and method for transmitting information from a transmitter to a receiver via a single line | |
CN107368446A (en) | A kind of configured transmission adaptive data transmission method and device | |
CN107370565A (en) | A kind of configured transmission adaptive data transmission method and device | |
US20050262363A1 (en) | Method for signaling during a transaction and receiving unit and system for use therewith | |
CN104753640B (en) | A kind of adaptation method and device based on network transmission link | |
CN107404319A (en) | Data receiver method and device | |
CN103576740A (en) | Clock detection system and clock detection method for USB (universal serial bus) equipment |
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 |