CN106027196B - A kind of data transmission method and system - Google Patents
A kind of data transmission method and system Download PDFInfo
- Publication number
- CN106027196B CN106027196B CN201510605469.2A CN201510605469A CN106027196B CN 106027196 B CN106027196 B CN 106027196B CN 201510605469 A CN201510605469 A CN 201510605469A CN 106027196 B CN106027196 B CN 106027196B
- Authority
- CN
- China
- Prior art keywords
- time interval
- data
- time parameter
- parameter
- signal
- 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.)
- Active
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Quality & Reliability (AREA)
Abstract
The present invention provides a kind of data transmission method and system, this method comprises: first device obtains frequency conversion information, and sends frequency conversion information to second device;Second device receives the frequency conversion information that first device is sent, and the new time parameter of data transmission is determined according to frequency conversion information;The second device obtains 2 under new time parameter when supporting to carry out data transmission according to the new time parameter according to the new time parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and data-signal is sent according to the corresponding relationship, alternatively, receiving data-signal according to the new time parameter and obtaining the corresponding Bit String of the time interval according to the time interval in data-signal, wherein, 2NA Bit String is different, and the corresponding time interval of the different Bit Strings is different, N >=1.The communication efficiency of data transmission can be improved using this method and system.
Description
Technical field
The present invention relates to a kind of electronic technology field more particularly to a kind of data transmission method and systems.
Background technique
During asynchronous communication, using different messaging parameters, it can be realized in data sending terminal and data receiver
The data of different communication rate are transmitted.Usually before data transmission starts, data sending terminal and data receiver will do it communication
Negotiate to carry out data transmission according to determining messaging parameter later to determine the corresponding messaging parameter of required traffic rate.
If necessary to change traffic rate, then data sending terminal and data receiver need first to stop data transmission, re-start communication
After negotiating with the new messaging parameter of determination, restarts data transmission, cause data transmission efficiency lower.
Summary of the invention
Present invention seek to address that the above problem.
The main purpose of the present invention is to provide a kind of data transmission methods, comprising: and first device obtains frequency conversion information, and
Frequency conversion information is sent to second device;Second device receives the frequency conversion information that first device is sent, and is determined according to frequency conversion information
The new time parameter of data transmission;The second device support carry out data transmission according to the new time parameter when, according to
The new time parameter obtains 2 under new time parameterNA length is that each Bit String is corresponding with time interval in the Bit String of N
Relationship, and data-signal is sent according to the corresponding relationship, alternatively, receiving data-signal and basis according to the new time parameter
Time interval in data-signal obtains the corresponding Bit String of the time interval, wherein 2NA Bit String is different,
And the corresponding time interval of the difference Bit String is different, N >=1.
Wherein, it includes: that first device is generated for determining holding for new time parameter that the first device, which obtains frequency conversion information,
Hand signal.
Wherein, it includes: that first device determines production that the first device, which generates the handshake for determining new time parameter,
The number of raw handshake generates handshake according to the number, and the time interval in the handshake is new for determining
Time parameter;It is described according to the frequency conversion information determine data transmission new time parameter include: obtain handshake in when
Between be spaced, new time parameter is determined according to the time interval.
Wherein, the frequency conversion information includes new time parameter;The first device is generated for determining new time parameter
Handshake includes: that the first device determines between first time interval group and/or the second time according to the new time parameter
Every group;K handshake, the letter of shaking hands are generated according to the first time interval group and/or the second time interval group
Number include the new time parameter, the first time interval group includes at least one first time interval, second time
Interval group includes at least one second time interval, is met between the first time interval and second time interval default
Relationship, the first time interval are the beginning at the beginning of i-th handshake with (i-1)-th handshake
Time interval between moment, second time interval are described with i+1 at the beginning of i-th handshake
Time interval between at the beginning of handshake, i=2,4 ... ..., 2j, j=(K-1)/2, K >=3 and K are odd number;It is described
The new time parameter that data transmission is determined according to the frequency conversion information includes: described first obtained in the K handshake
Time interval group and/or the second time interval group;According to the first time interval group and/or second time interval
Group determines the new time parameter of data transmission.
Wherein, the frequency conversion information includes new time parameter;It includes: according to that the first device, which obtains frequency conversion information,
The current time parameter of data transmission obtains 2 under current time parameterNA length is each Bit String and time in the Bit String of N
The corresponding relationship at interval simultaneously generates F data-signal according to the corresponding relationship, wherein at the beginning of each data-signal
Carving with the time interval at the beginning of an adjacent upper signal is the corresponding time interval of a Bit String, F >=1 and F is
Natural number, the new time parameter of F data signal transmission;The new time that data transmission is determined according to the frequency conversion information
Parameter includes: to receive F data-signal according to the current time parameter and believed according to data each in the F data-signal
Time interval between at the beginning of number obtains new time parameter.
Wherein, the frequency conversion information includes new time parameter mark;It includes: basis that the first device, which obtains frequency conversion information,
The current time parameter of the data transmission obtains 2 under current time parameterNA length be N Bit String in each Bit String with
The corresponding relationship of time interval simultaneously generates F data-signal according to the corresponding relationship, wherein each data-signal is opened
Moment and the time interval at the beginning of an adjacent upper signal of beginning are the corresponding time interval of a Bit String, F >=1 and
F is natural number, the new time parameter mark of F data signal transmission;It is described to determine that data are transmitted according to the frequency conversion information
New time parameter include: according to the current time parameter receive F data-signal and according in the F data-signal respectively
Time interval between at the beginning of a data-signal obtains new time parameter mark, and the new time is searched in preset table
The corresponding new time parameter of parameter identification.
Wherein, this method further include: the second device support carry out data transmission according to the new time parameter when,
According under current time parameter 2NA length is that each Bit String and the corresponding relationship of time interval are filled to first in the Bit String of N
Set the data-signal sent for indicating frequency conversion confirmation message.
Wherein, this method further include: whether the second device judges the new time parameter in the data itself supported
In transmission time parameter area, if it is determined that obtaining the new time parameter in the data transmission period parameter area itself supported
It is interior, determine that second device support carries out data transmission according to the new time parameter;Alternatively, the second device is supported at itself
Data transmission period parameter list in search whether that there are the new time parameters, if finding the new time parameter, really
Determine second device support to carry out data transmission according to the new time parameter.
Another object of the present invention is to provide a kind of data transmission systems, comprising: first device and second device;First
Device sends frequency conversion information for obtaining frequency conversion information, and to second device;Second device is sent for receiving first device
Frequency conversion information, and according to frequency conversion information determine data transmission new time parameter;Support according to the new time parameter into
When row data are transmitted, obtained 2 under new time parameter according to the new time parameterNA length is each bit in the Bit String of N
The corresponding relationship of string and time interval, and data-signal is sent according to the corresponding relationship, alternatively, according to the new time parameter
It receives data-signal and the corresponding Bit String of the time interval is obtained according to the time interval in data-signal, wherein 2NIt is a
The Bit String is different, and the corresponding time interval of the different Bit Strings is different, N >=1.
Wherein, first device, specifically for generating the handshake for determining new time parameter.
Wherein, the first device generates the number of handshake specifically for determining, shakes hands according to number generation
Signal, the time interval in the handshake is for determining new time parameter;The second device is shaken hands specifically for obtaining
Time interval in signal determines new time parameter according to the time interval.
Wherein, the frequency conversion information includes new time parameter;The first device is specifically used for joining according to the new time
Number determines first time interval group and/or the second time interval group;According to the first time interval group and/or it is described second when
Between interval group generate K handshake, the handshake includes the new time parameter, and the first time interval group includes
At least one first time interval, the second time interval group include at least one second time interval, the first time
Meet preset relation between interval and second time interval, the first time interval is i-th of handshake
Time interval between at the beginning of start time and (i-1)-th handshake, second time interval are i-th
At the beginning of the handshake with the i+1 handshake at the beginning of between time interval, i=2,
4 ... ..., 2j, j=(K-1)/2, K >=3 and K are odd number;The second device is specifically used for obtaining in the K handshake
The first time interval group and/or the second time interval group;According to the first time interval group and/or described
Two time interval groups determine the new time parameter of data transmission.
Wherein, the frequency conversion information includes new time parameter;The first device is specifically used for being transmitted according to the data
Current time parameter obtain current time parameter under 2NA length is pair of each Bit String and time interval in the Bit String of N
Should be related to and according to the corresponding relationship generate F data-signal, wherein at the beginning of each data-signal with it is adjacent
A upper signal at the beginning of time interval be the corresponding time interval of a Bit String, F >=1 and F are natural number, institute
State the new time parameter of F data signal transmission;The second device is specifically used for receiving F according to the current time parameter
Data-signal and according to each data-signal in the F data-signal at the beginning of between time interval obtain new time
Parameter.
Wherein, the frequency conversion information includes new time parameter mark;The first device is specifically used for according to the data
The current time parameter of transmission obtains 2 under current time parameterNA length is each Bit String and time interval in the Bit String of N
Corresponding relationship and according to the corresponding relationship generate F data-signal, wherein at the beginning of each data-signal and
Time interval at the beginning of an adjacent upper signal is the corresponding time interval of a Bit String, and F >=1 and F are nature
Number, the new time parameter mark of F data signal transmission;The second device is specifically used for being joined according to the current time
Number receive F data-signal and according to each data-signal in the F data-signal at the beginning of between time interval
New time parameter mark is obtained, the new time parameter is searched in preset table and identifies corresponding new time parameter.
Wherein, the second device is also used to when supporting to carry out data transmission according to the new time parameter, according to working as
2 under preceding time parameterNA length is that each Bit String and the corresponding relationship of time interval are sent to first device in the Bit String of N
For indicating the data-signal of frequency conversion confirmation message.
Wherein, whether the second device is also used to judge the new time parameter in the data transmission that itself is supported
Between in parameter area, if it is determined that obtain the new time parameter in the data transmission period parameter area that itself is supported, really
Determine second device support to carry out data transmission according to the new time parameter;Alternatively, the second device, is also used to prop up at itself
Search whether that there are the new time parameters in the data transmission period parameter list held, if finding the new time parameter,
Determine that second device support carries out data transmission according to the new time parameter.
As seen from the above technical solution provided by the invention, in the case where not interrupting data transmission, pass through first
Device sends frequency conversion information to second device, and the new time parameter that second device is transmitted according to the frequency conversion information acquisition data simultaneously makes
The reception and/or transmission of data are carried out with the new time parameter, to complete the adjustment of messaging parameter when data transmission, are improved
Communication efficiency.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow chart for the data transmission method that the embodiment of the present invention 1 provides;
Fig. 2 is the flow chart for another data transmission method that the embodiment of the present invention 2 provides;
Fig. 3 is the flow chart for another data transmission method that the embodiment of the present invention 3 provides;
Fig. 4 is also a kind of flow chart of data transmission method that the embodiment of the present invention 4 provides;
Fig. 5 is the structural schematic diagram for the data transmission system that the embodiment of the present invention 5 provides.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this
The embodiment of invention, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, belongs to protection scope of the present invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", "upper", "lower",
The orientation or positional relationship of the instructions such as "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside" is
It is based on the orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than instruction or dark
Show that signified device or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as pair
Limitation of the invention.In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply opposite
Importance or quantity or position.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
Embodiment 1
Fig. 1 shows a kind of flow chart of data transmission method provided in an embodiment of the present invention;This method comprises:
101, first device obtains frequency conversion information, and sends frequency conversion information to second device;
Wherein, which can be the new time parameter transmitted for data, or new time parameter mark, this is new
Time parameter mark is corresponded with new time parameter.Optionally, which may include two time parameters, and first
Time parameter etu and the second time parameter pdt, in the present invention, the time parameter be used to describe data transmission when occupy when
Between length.
In the present embodiment, first device and second device can be master-slave equipment.First device is main equipment, second device
To be from equipment from equipment or first device, second device is main equipment.Device as main equipment for example can be end
End for example can be electronic payment devices (for example, electric signing tools key, smart card, key engaging as the device from equipment
One equipment etc.).
102, second device receives the frequency conversion information that first device is sent, and determines the new of data transmission according to frequency conversion information
Time parameter;
Wherein, first device is sent to second device there are many modes of frequency conversion information, such as can be to pass through letter of shaking hands
It number is sent, or is sent by data-signal.The transmission mode that frequency conversion information uses is different, this step is according to change
Frequency information determines that the mode of the new time parameter of data transmission is also different, referring specifically to the specific descriptions in Examples below.
103, second device is when supporting to carry out data transmission according to new time parameter, when obtaining new according to new time parameter
Between 2 under parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and according to the corresponding pass
System sends data-signal, alternatively, receiving data-signal according to the new time parameter and according to the time interval in data-signal
Obtain the corresponding Bit String of the time interval, wherein 2NA Bit String is different, and the different Bit Strings are corresponding
Time interval it is different, N >=1;
For example, when by taking N=1 as an example, 2NA length is that each Bit String refers to 0,1 in the Bit String of N, is joined according to the new time
Number obtains 2 under new time parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, be can wrap
Include 0=etu, 1=etu+pdt, wherein 0=etu expression uses time interval for the signal transmitted data Bit String 0,1=of etu
Etu+pdt expression uses time interval for the signal transmitted data Bit String 1 of etu+pdt.
When for another example, by taking N=2 as an example, 2NA length is that each Bit String refers to 00,01,10,11 in the Bit String of N, according to
New time parameter obtains 2 under new time parameterNA length, which is that each Bit String is corresponding with time interval in the Bit String of N, closes
System, may include 00=etu, 01=etu+pdt, 10=etu+2pdt, 11=etu+3pdt, wherein 00=etu indicates to use
Time interval is the signal transmitted data Bit String 00 of etu, and 01=etu+pdt expression uses time interval for the letter of etu+pdt
Number transmission data bit string 01,10=etu+2pdt expression use time interval for the signal transmitted data Bit String of etu+2pdt
10,11=etu+3pdt indicate to use time interval for the signal transmitted data Bit String 11 of etu+3pdt.In the present invention, may be used
The corresponding time interval of expression Bit String in the form of the multiple combinations using time parameter, it is not limited to this.
Second device can be used new time parameter and carry out sending and receiving for data, when second device is joined according to the new time
It can be etu+ with transmission time interval when the sequence of data bits for needing to send is 0110 by taking N=2 as an example when number sends data
The data-signal of pdt transmits 01, and transmission time interval is the data-signal of etu+2pdt to transmit 10.When second device according to
When new time parameter receives data, by taking N=2 as an example, when received between when being divided into the data-signal of etu+pdt, obtain number
According to Bit String 01, when received between when being divided into the data-signal of etu+2pdt, obtain data bit string 10.
In the present embodiment, it can be sent and be become to second device by first device in the case where not interrupting data transmission
Frequency information, new time parameter that second device is transmitted according to the frequency conversion information acquisition data are simultaneously counted using the new time parameter
According to reception and/or transmission, come complete data transmission when messaging parameter adjustment, improve communication efficiency.
It should be noted that data transmit when use time parameter difference when, the traffic rate of acquisition is also different, passes through
The purpose of frequency conversion may be implemented in adjustment time parameter.For example, the value of current time parameter is adjusted to taking for new time parameter
The value of etu in current time parameter (is namely adjusted to the value of etu in new time parameter, by current time parameter by value
The value of middle pdt is adjusted to the value of pdt in new time parameter), frequency conversion, which is carried out, in data transmission namely changes communication speed
The optimization of the utilization of resources may be implemented in rate, for example, not needing too high traffic rate when certain application executions, can drop at this time
For low communication rate to achieve the purpose that save electric energy, whens certain application executions, needs higher traffic rate, can be improved at this time
Traffic rate is with the better function of realizing application.
Embodiment 2
In the present embodiment, frequency conversion information includes new time parameter, and is transmitted by handshake, the handshake by
First device is generated according to new time parameter.Fig. 2 shows the streams of another data transmission method provided in an embodiment of the present invention
Cheng Tu;This method comprises:
201, first device generates the handshake for determining new time parameter.
The present embodiment provides the following two kinds to realize the handshake generated for determining new time parameter:
Mode one, first device determine the number for generating handshake, handshake are generated according to number, in handshake
Time interval for determining new time parameter;
For example, first device and second device, which negotiate to determine, transmits new time parameter by the handshake of predetermined number,
First device generates the handshake of predetermined number, such as generates the identical handshake of 8 time intervals to transmit the new time
Parameter, the time interval in the handshake is new time parameter, specific which time interval table using in handshake
Show that etu and pdt can carry out communication negotiation by first device and second device and determine that this is not restricted.Such as between 8 times
It is that etu or pdt, etu and pdt meet certain relationship, Ke Yigen in new time parameter every the time interval in identical signal
According to another value of a determination in etu and pdt.For another example, first device generates 8 according to first time interval and shakes hands
Signal generates 8 handshake then according to the second time interval to transmit new time parameter, and first time interval can be used for
Indicate the etu in new time parameter, the second time interval can be used to indicate that the pdt in new time parameter.
Mode two, first device determine first time interval group and/or the second time interval group according to new time parameter;It presses
K handshake is generated according to first time interval group and/or the second time interval group,
Wherein, handshake includes new time parameter, and first time interval group includes at least one first time interval, the
Two time interval groups include at least one second time interval, and default close is met between first time interval and the second time interval
System, first time interval be at the beginning of i-th handshake with (i-1)-th handshake at the beginning of between time
Interval, the second time interval be at the beginning of i-th handshake with i+1 handshake at the beginning of between when
Between be spaced, i=2,4 ... ..., 2j, j=(K-1)/2, K >=3 and K are odd number;
For example, the beginning by taking K=5 as an example, at the beginning of the 2nd handshake of definition between the 1st handshake
Time interval between moment is t0, at the beginning of defining at the beginning of the 3rd handshake between the 2nd handshake
Time interval between quarter is t1, at the beginning of defining at the beginning of the 4th handshake between the 3rd handshake
Between time interval be t2, define the 5th handshake at the beginning of between the 4th handshake at the beginning of it
Between time interval be t3.Then, t0 and t2 is first time interval, and first time interval group includes t0 and t2, and t1 is equal with t3
For the second time interval, the second time interval group includes t1 and t3.Wherein, first time interval and the second time interval meet pre-
If relationship, for example, meeting certain multiple proportion, t1=2t0, t3=2t2.Certainly, according to the needs of practical application, first when
Between interval and the second time interval can also meet other certain specific relationships, this is not restricted.
Optionally, new time parameter may include two time parameters, first time parameter etu and the second time parameter
Pdt, according to new time parameter determine first time interval group and/or the second time interval group be accomplished by known etu and
In the case where the specific value of pdt, according to specific linear equation in two unknowns group, for example, edu=t0, pdt=(t2-t0)/5 are determined
T0 and/or t2, and t1 and/or t3 is determined according to the preset relation that first time interval and the second time interval meet.
For another example, the beginning by taking K=3 as an example, at the beginning of the 2nd handshake of definition between the 1st handshake
Time interval between moment is t0, at the beginning of defining at the beginning of the 3rd handshake between the 2nd handshake
Time interval between quarter is t1, then, t0 is first time interval, and t1 is the second time interval.Newly time parameter may include
Two time parameters, first time parameter etu and the second time parameter pdt, determine first time interval according to new time parameter
Group and/or the second time interval group are accomplished by the case where known etu and pdt specific value, edu=t0, pdt=
t1.Later, and according to time interval t0 and t1 3 handshake are generated.
202, first device sends handshake to second device;
203, second device receives the handshake that first device is sent;
204, second device determines the new time parameter of data transmission according to frequency conversion information;
Corresponding with the mode of handshake is generated in step 201, the present embodiment also provides the following two kinds and realizes according to change
Frequency information determines the mode of the new time parameter of data transmission:
After mode A (corresponding with mode one in step 201), second device receive the handshake of predetermined number, obtain
Time interval in handshake determines new time parameter according to time interval.
For example, second device receives 8 handshake, the time interval between 8 handshake is identical, it is determined that
The time interval is the etu or pdt in new time parameter.It, can be according to etu and pdt since etu and pdt meet certain relationship
In a determination another value.For another example, second device receives 16 handshake, between preceding 8 handshake
Time interval it is identical be first time interval, 8 handshake are respectively between the time between previous handshake later
Every it is identical be the second time interval, it is determined that first time interval be new time parameter (etu and pdt) in one, determine
Second time interval is another in new time parameter (etu and pdt).Which is specifically determined, can by first device and
Second device is held consultation determination, is no longer limited herein.
Mode B (corresponding with mode two in step 201), second device obtain the first time interval group in handshake
And/or the second time interval group;And according to first time interval group and/or the second time interval group determine data transmission it is new when
Between parameter.
For example, after detecting 5 handshake, t0, t1, t2, t3 in 5 handshake are obtained by taking K=5 as an example,
In the case where the known specific value of t0, t1, t2, t3, according to specific linear equation in two unknowns group, for example, edu=t0, pdt=(t2-
)/5 t0 etu and pdt are determined.The etu and pdt i.e. the new time parameter of data transmission.
For another example, by taking K=3 as an example, after detecting 3 handshake, the time interval between 3 handshake is obtained,
Time interval t0 between 2nd handshake and the 1st handshake is determined as edu, the 3rd handshake with the 2nd
Time interval t1 between handshake is determined as pdt, and the preset relation between etu and pdt is not limited to above-mentioned linear pass
System, can also be other relationships, again with no restrictions.
205, second device is when supporting to carry out data transmission according to new time parameter, when obtaining new according to new time parameter
Between 2 under parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and according to the corresponding pass
System sends data-signal, alternatively, receiving data-signal according to the new time parameter and according to the time interval in data-signal
Obtain the corresponding Bit String of the time interval, wherein 2NA Bit String is different, and the different Bit Strings are corresponding
Time interval it is different, N >=1;
For example, when by taking N=2 as an example, 2NA length is that each Bit String refers to 00,01,10,11 in the Bit String of N, according to
New time parameter obtains 2 under new time parameterNA length, which is that each Bit String is corresponding with time interval in the Bit String of N, closes
System, may include 00=etu, 01=etu+pdt, 10=etu+2pdt, 11=etu+3pdt, wherein 00=etu indicates to use
Time interval is the signal transmitted data Bit String 00 of etu, and 01=etu+pdt expression uses time interval for the letter of etu+pdt
Number transmission data bit string 01,10=etu+2pdt expression use time interval for the signal transmitted data Bit String of etu+2pdt
10,11=etu+3pdt indicate to use time interval for the signal transmitted data Bit String 11 of etu+3pdt.
Second device can be used new time parameter and carry out sending and receiving for data, when second device is joined according to the new time
When number sends data, by taking N=2 as an example, when the sequence of data bits for needing to send is 0110, according to time interval (etu+pdt)
It sends data-signal and carrys out transmitted bit string 01, send data-signal then according to time interval (etu+2pdt) and carry out transmitted bit string
10.When second device receives data according to new time parameter, by taking N=2 as an example, when the time interval for receiving data-signal is
When etu+pdt, data bit string 01 is obtained, when the time interval for receiving data-signal is etu+2pdt, obtains data ratio
Spy's string 10.
In this step, second device is according under new time parameter 2NA length be N Bit String in each Bit String and when
Between the corresponding relationship that is spaced to first device send data-signal, the data-signal of the transmission can also be used as frequency conversion confirmation letter
Breath, to notify data can be transmitted the time parameter used by first device to be adjusted to new time parameter, to obtain new time ginseng
Corresponding traffic rate under several.
In the present embodiment, when generating handshake, it can be realized by generating low level pulse.Or it can also pass through
Sine wave signal or other waveform signals realize that this is not restricted.
Optionally, for first device while generating K handshake, first device is also in step 201 for the present embodiment
2 can be obtained according to new time parameterNA length is each Bit String and the corresponding relationship of time interval and root in the Bit String of N
Data-signal is sent according to corresponding relationship.The numerical value that the data-signal carries is the number that first device needs to be sent to second device
According to it can not also include new time parameter that the data, which may include new time parameter, and first device sends the mode of data-signal
Identical as the second device transmission mode of data-signal, details are not described herein.At this point, second device can be according to new in step 205
Time parameter receives data-signal and obtains the corresponding Bit String of time interval according to the time interval in data-signal.
It, can be in the case where interrupting data transmission in the present embodiment, first device is filled by handshake to second
It sets and sends frequency conversion information, the new time parameter that second device is transmitted according to the frequency conversion information acquisition data is simultaneously joined using the new time
Number carries out the reception and/or transmission of data, come the adjustment of messaging parameter when completing data transmission, improves communication efficiency.
Embodiment 3
In the present embodiment, frequency conversion information includes new time parameter, and is transmitted by data-signal, the data-signal by
First device is generated according to current time parameter.Fig. 3 shows another data transmission method provided in an embodiment of the present invention
Flow chart;This method comprises:
301, first device obtains 2 under current time parameter according to the current time parameter that data are transmittedNA length is N's
In Bit String each Bit String and the corresponding relationship of time interval and according to corresponding relationship generate F data-signal, wherein each
At the beginning of data-signal with the time interval at the beginning of an adjacent upper signal be a Bit String it is corresponding when
Between be spaced, F >=1 and F are natural number, the new time parameter of F data signal transmission;
Wherein, which can be the data-signal for being used for transmission data.F data signal transmission is used in the present embodiment
New time parameter.
Current time parameter is the time parameter used when first device and second device are carrying out data transmission.It is optional
, which may include two time parameters, first time parameter etu and the second time parameter pdt.
First device obtains 2 under current time parameter according to current time parameter in this stepNA length is the Bit String of N
In each Bit String and time interval corresponding relationship, obtained with step 103 second device in embodiment 1 according to new time parameter
2 under new time parameterNA length is that each Bit String is similar with the realization of the corresponding relationship of time interval in the Bit String of N,
This is repeated no more.
Illustratively, it is obtained 2 under current time parameter in this step according to the current time parameter of data transmissionNA length
F data-signal is generated for each Bit String in the Bit String of N and the corresponding relationship of time interval and according to the corresponding relationship
Be accomplished by and indicated with new time parameter using sequence of data bits 00101011, when N is 2 for, at this point, 2NA length
Refer to 00,01,10,11 for each Bit String in the Bit String of N, 2 under current time parameterNA length is each in the Bit String of N
The corresponding relationship of a Bit String and time interval may include 00=etu, 01=etu+pdt, 10=etu+2pdt, 11=etu
+ 3pdt, wherein 00=etu expression uses time interval for the signal transmitted data Bit String 00 of etu, and 01=etu+pdt is indicated
Use time interval for the signal transmitted data Bit String 01 of etu+pdt, 10=etu+2pdt expression uses time interval for etu
The signal transmitted data Bit String 10 of+2pdt, 11=etu+3pdt indicate that time interval is used to transmit for the signal of etu+3pdt
Data bit string 11.
When transmitting sequence of data bits 00101011 (namely new time parameter), carries out coding and generates 5 signals,
F=5 at this time, time interval between first signal and second signal are etu, are used for transmission data bit string 00, second
Time interval between a signal and third signal is etu+2pdt, is used for transmission data bit string 10, third signal and
Time interval between 4th signal is etu+2pdt, is used for transmission data bit string 10, the 4th signal and the 5th letter
Time interval between number is etu+3pdt, is used for transmission data bit string 11.
302, first device sends F data-signal to second device;
For example, F data-signal can be sent in the following manner:
Obtain the sequence of data bits for indicating new time parameter;
Sequence of data bits is grouped, every group of data bit string is N-bit;
According to the corresponding relationship of acquisition, this group of data bit string is indicated with the corresponding time interval of every group of data bit string
Mode sends this group of data bit string.
303, second device receives the F data-signal that first device is sent;
304, second device is according to current time parameter F data-signal of reception and according to number each in F data-signal
It is believed that number at the beginning of between time interval obtain new time parameter.
Illustratively, is indicated with new time parameter using sequence of data bits 00101011, when N is 2 for, pass through at this time
F=5 can be known in step 301, after second device receives 5 signals, successively between the time between 5 signals of detection
Every if the time interval detected is etu, decoding show that the data bit string of transmission is 00, if the time detected
Between be divided into etu+2pdt, then decoding obtain transmission data bit string be 10, if the time interval detected be etu+3pdt,
Then decoding show that the data bit string of transmission is 11, so that being successively decoded according to the time order and function for receiving signal can be obtained
Sequence of data bits 00101011, so as to obtain new time parameter.
305, second device is when supporting to carry out data transmission according to new time parameter, when obtaining new according to new time parameter
Between 2 under parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and according to the corresponding pass
System sends data-signal, alternatively, receiving data-signal according to the new time parameter and according to the time interval in data-signal
Obtain the corresponding Bit String of the time interval, wherein 2NA Bit String is different, and the different Bit Strings are corresponding
Time interval it is different, N >=1.
Step 305 specific implementation may refer in embodiment 2 205 associated description, and details are not described herein.
In this step, second device is according under new time parameter 2NA length be N Bit String in each Bit String and when
Between the corresponding relationship that is spaced to first device send data-signal, the data-signal of the transmission can also be used as frequency conversion confirmation letter
Breath, to notify data can be transmitted the time parameter used by first device to be adjusted to new time parameter, to obtain new time ginseng
Corresponding traffic rate under several.
Certainly, in the present embodiment, it can also include the following steps: that second device is being supported to be counted according to new time parameter
When according to transmission, according under current time parameter 2NA length, which is that each Bit String is corresponding with time interval in the Bit String of N, closes
It is the data-signal sent to first device for indicating frequency conversion confirmation message.Also that is, second device still uses current time
Parameter sends frequency conversion confirmation message, to notify data can be transmitted the time parameter used by first device to be adjusted to new time ginseng
Number to obtain corresponding traffic rate under new time parameter, and is counted in data transmission later using new time parameter
According to transmission.
It should be noted that optional, first device generates the present embodiment according to current time parameter in step 301
While F data-signal (the F data-signal be used for transmission new time parameter), first device can also be according to current time
2 under parameterNA length sends other numbers to second device for each Bit String in the Bit String of N and the corresponding relationship of time interval
It is believed that number.Other data-signals are used for transmission other data that first device needs to be sent to second device, and first device produces
It gives birth to and the mode for sending other data-signals generates and to send the mode of F data-signal identical with step 301, herein no longer
It repeats.Alternatively, optional, generating F data-signal according to current time parameter, (the F data-signal is used for first device
Transmit new time parameter) before, first device can also generate handshake according to current time parameter and be sent to the second dress
It sets.
It, can be in the case where interrupting data transmission in the present embodiment, first device is filled by data-signal to second
It sets and sends frequency conversion information, the new time parameter that second device is transmitted according to the frequency conversion information acquisition data is simultaneously joined using the new time
Number carries out the reception and/or transmission of data, come the adjustment of messaging parameter when completing data transmission, improves communication efficiency.
Embodiment 4
The present embodiment and the difference of embodiment 3 are: frequency conversion information includes new time parameter mark, other realize that process is equal
Same as Example 3, identical content is no longer described in detail, reference can be made to the associated description of embodiment 3.
Frequency conversion information is also to be transmitted by data-signal in the present embodiment, and the data-signal is by first device according to working as
Preceding time parameter generates.Fig. 4 shows also a kind of flow chart of data transmission method provided in an embodiment of the present invention;This method packet
It includes:
401, it is obtained 2 under current time parameter according to the current time parameter of data transmissionNA length is in the Bit String of N
Each Bit String and the corresponding relationship of time interval simultaneously generate F data-signal according to corresponding relationship, wherein each data-signal
At the beginning of with the time interval at the beginning of an adjacent upper signal be the corresponding time interval of a Bit String, F
>=1 and F is natural number, and F data-signal includes new time parameter mark;
It in the present embodiment, is identified by the new time parameter of F data signal transmission, which is frequency conversion
Information.
402, first device sends F data-signal to second device;
For example, F data-signal can be sent in the following manner:
Obtain the sequence of data bits for indicating new time parameter;Sequence of data bits is grouped, every group of data bit
String is N-bit;According to the corresponding relationship of acquisition, this group of data bit string is indicated with the corresponding time interval of every group of data bit string
Mode send this group of data bit string.
403, second device receives the F data-signal that first device is sent;
404, second device is according to current time parameter F data-signal of reception and according to number each in F data-signal
It is believed that number at the beginning of between time interval obtain new time parameter mark, new time parameter mark is searched in preset table
Corresponding new time parameter.
Wherein, which corresponds with new time parameter.For example, new time parameter is identified as 0, correspond to
New time parameter can be etu=100us, pdt=10us, when new time parameter is identified as 1, corresponding new time parameter can
Think etu=10us, pdt=1us etc..Preset table is used to store new time parameter mark and the corresponding of new time parameter is closed
System determines new time parameter by tabling look-up to identify according to new time parameter.
405, second device is when supporting to carry out data transmission according to new time parameter, when obtaining new according to new time parameter
Between 2 under parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and according to the corresponding pass
System sends data-signal, alternatively, receiving data-signal according to the new time parameter and according to the time interval in data-signal
Obtain the corresponding Bit String of the time interval, wherein 2NA Bit String is different, and the different Bit Strings are corresponding
Time interval it is different, N >=1.
In this step, second device is according under new time parameter 2NA length be N Bit String in each Bit String and when
Between the corresponding relationship that is spaced to first device send data-signal, the data-signal of the transmission can also be used as frequency conversion confirmation letter
Breath, to notify data can be transmitted the time parameter used by first device to be adjusted to new time parameter, to obtain new time ginseng
Corresponding traffic rate under several.
Certainly, in the present embodiment, it can also include the following steps: that second device is being supported to be counted according to new time parameter
When according to transmission, according under current time parameter 2NA length, which is that each Bit String is corresponding with time interval in the Bit String of N, closes
It is the data-signal sent to first device for indicating frequency conversion confirmation message.Also that is, second device still uses current time
Parameter sends frequency conversion confirmation message, to notify data can be transmitted the time parameter used by first device to be adjusted to new time ginseng
Number to obtain corresponding traffic rate under new time parameter, and is counted in data transmission later using new time parameter
According to transmission.
It should be noted that optional, first device generates the present embodiment according to current time parameter in step 401
While F data-signal (the F data-signal be used for transmission new time parameter mark), first device can also be according to current
2 under time parameterNA length is that each Bit String and the corresponding relationship of time interval send it to second device in the Bit String of N
His data-signal.Other data-signals are used for transmission other data that first device needs to be sent to second device, the first dress
It sets generation and sends the modes of other data-signals and generated with step 401 and to send the mode of F data-signal identical, herein
It repeats no more.Alternatively, optional, first device is generating F data-signal (F data-signal according to current time parameter
It is used for transmission new time parameter mark) before, first device can also generate handshake and be sent according to current time parameter
To second device.
It, can be in the case where interrupting data transmission in the present embodiment, first device is filled by data-signal to second
It sets and sends frequency conversion information, the new time parameter that second device is transmitted according to the frequency conversion information acquisition data is simultaneously joined using the new time
Number carries out the reception and/or transmission of data, come the adjustment of messaging parameter when completing data transmission, improves communication efficiency.
It should be noted that second device is above-mentioned after obtaining new time parameter in above-described embodiment 1 into embodiment 4
Method can also include the steps that second device judges itself whether support to carry out data transmission using new time parameter, specific real
Can now the following two kinds be used:
Mode one, second device judge new time parameter whether itself support data transmission period parameter area in,
If it is determined that obtain new time parameter in the data transmission period parameter area that itself is supported, determine second device support according to
New time parameter carries out data transmission;
Illustratively, the data transmission period parameter area of itself support is stored in second device, for example, edu range
For 1us-100us, pdt range is that 0.1us-10us judges in new time parameter respectively after second device obtains new time parameter
Edu value whether within the scope of edu, whether pdt value within the scope of pdt, if the value of edu and the value of pdt exist
In respective range, then illustrate that second device support carries out data transmission according to new time parameter.Otherwise, such as in edu and pdt
At least there is a value not in the range that it is corresponded to, then illustrates that second device is not supported to carry out data according to new time parameter
Transmission.
Mode two, second device search whether that there are ginsengs of new time in the data transmission period parameter list that itself is supported
Number determines that second device support carries out data transmission according to new time parameter if finding new time parameter.
Illustratively, the data transmission period parameter list of itself support is stored in second device, for example, see the table below:
Time parameter mark | edu(us) | pdt(us) |
0 | 100 | 10 |
1 | 50 | 5 |
2 | 10 | 1 |
After second device obtains new time parameter, search whether to take comprising edu and pdt in new time parameter in the table
Value.If found, illustrate that second device support carries out data transmission according to new time parameter, for example, new time parameter is
Edu=50us, pdt=5us, can be found in above-mentioned table at this time time parameter be identified as 1 time parameter and the new time
Parameter is identical, illustrates that second device can carry out data transmission according to edu=50us, pdt=5us.Otherwise, illustrate the second dress
It sets and does not support to carry out data transmission according to new time parameter.
It certainly, optionally, can also be in the data of second device support when frequency conversion information is identified using new time parameter
It searches whether that there are new time parameter marks in transmission time parameter list, if finding new time parameter mark, determines second
Device support carries out data transmission according to new time parameter.
Embodiment 5
The embodiment of the present invention also provides a kind of data transmission system, for executing above-mentioned data transmission method, in the system
Function is realized and may refer to associated description in above-described embodiment 1 to 4, details are not described herein for same or like process.This is
First device and second device can be master-slave equipment in system.Device as main equipment for example can be terminal, as from setting
Standby device for example can be electronic payment devices (for example, electric signing tools key, smart card, key card in-one device etc.).
The system is briefly described below:
As shown in figure 5, the system includes: first device and second device;
First device sends frequency conversion information for obtaining frequency conversion information, and to second device;
Second device determines data transmission for receiving the frequency conversion information of first device transmission, and according to frequency conversion information
New time parameter;When supporting to carry out data transmission according to new time parameter, obtained under new time parameter according to new time parameter
2NA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and sends number according to the corresponding relationship
It is believed that number, alternatively, receiving data-signal according to the new time parameter and according to the time interval acquisition in data-signal
The corresponding Bit String of time interval, wherein 2NA Bit String is different, and between the different Bit Strings corresponding time
Every difference, N >=1.
Illustratively, first device can transmit frequency conversion information by handshake, and frequency conversion information includes new time parameter;
At this point, first device, specifically for determining first time interval group and/or the second time interval group according to new time parameter;It presses
K handshake is generated according to first time interval group and/or the second time interval group, handshake includes new time parameter, the
One time interval group includes at least one first time interval, and the second time interval group includes at least one second time interval,
Meet preset relation between first time interval and the second time interval, first time interval is the beginning of i-th of handshake
Time interval between at the beginning of moment and (i-1)-th handshake, the second time interval are opening for i-th of handshake
Time interval between at the beginning of moment and the i+1 handshake of beginning, i=2,4 ... ..., 2j, j=(K-1)/2, K >=
3 and K is odd number;
Second device, specifically for obtaining first time interval group and/or the second time interval in K handshake
Group;The new time parameter of data transmission is determined according to first time interval group and/or the second time interval group.
Illustratively, first device can include new time parameter by data signal transmission frequency conversion information, frequency conversion information;
At this point, first device, obtains 2 under current time parameter specifically for the current time parameter transmitted according to dataNA length is N
Bit String in each Bit String and the corresponding relationship of time interval and according to corresponding relationship generate F data-signal, wherein often
It is corresponding for a Bit String with the time interval at the beginning of an adjacent upper signal at the beginning of a data-signal
Time interval, F >=1 and F are natural number, the new time parameter of F data signal transmission;Second device is specifically used for according to current
Time parameter receive F data-signal and according to data-signal each in F data-signal at the beginning of between time between
Every the new time parameter of acquisition.
Illustratively, first device can include new time parameter by data signal transmission frequency conversion information, frequency conversion information
Mark;First device at this time obtains 2 under current time parameter specifically for the current time parameter transmitted according to dataNIt is a long
Degree for each Bit String and the corresponding relationship of time interval in the Bit String of N and generates F data-signal according to corresponding relationship,
In, at the beginning of each data-signal with an adjacent upper signal at the beginning of time interval be a Bit String pair
The time interval answered, F >=1 and F are natural number, the new time parameter mark of F data signal transmission;Second device is specifically used for
F data-signal is received according to current time parameter and new time parameter mark is obtained according to the time interval in F data-signal
Know, new time parameter is searched in preset table and identifies corresponding new time parameter.
In addition, second device is also used to supporting according to the new time in order to notify whether first device can carry out frequency conversion
When parameter carries out data transmission, according under current time parameter 2NA length is for each Bit String in the Bit String of N and between the time
Every corresponding relationship send to first device the data-signal for indicating frequency conversion confirmation message.
Illustratively, second device can also be realized and judge itself whether support to press in system provided in an embodiment of the present invention
According to the function that new time parameter carries out data transmission, it is implemented as follows:
Second device, be also used to judge new time parameter whether itself support data transmission period parameter area in,
If it is determined that obtain new time parameter in the data transmission period parameter area that itself is supported, determine second device support according to
New time parameter carries out data transmission;Alternatively,
Second device is also used to search whether that there are ginsengs of new time in the data transmission period parameter list that itself is supported
Number determines that second device support carries out data transmission according to new time parameter if finding new time parameter.
It, can be in the case where interrupting data transmission in system provided in this embodiment, first device is believed by data
Number frequency conversion information is sent to second device, new time parameter that second device is transmitted according to the frequency conversion information acquisition data simultaneously uses
The new time parameter carries out the reception and/or transmission of data, come the adjustment of messaging parameter when completing data transmission, improves communication
Efficiency.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, 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 spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective
In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention
By appended claims and its equivalent limit.
Claims (12)
1. a kind of data transmission method characterized by comprising
First device obtains frequency conversion information, and sends the frequency conversion information to second device, wherein the first device, which obtains, to be become
Frequency information includes: that first device generates handshake for determining new time parameter, wherein the first device generation is used for
The handshake for determining new time parameter includes: that first device determines the number for generating handshake, is generated according to the number
Handshake, the time interval in the handshake is for determining new time parameter;
The second device receives the frequency conversion information that the first device is sent, and determines data according to the frequency conversion information
The new time parameter of transmission, wherein the new time parameter that data transmission is determined according to the frequency conversion information includes: that acquisition is shaken hands letter
Time interval in number determines the new time parameter according to the time interval;
The second device is obtained when supporting to carry out data transmission according to the new time parameter according to the new time parameter
2 under new time parameterNA length is the corresponding relationship of each Bit String and time interval in the Bit String of N, and according to described right
It should be related to transmission data-signal, alternatively, receiving data-signal according to the new time parameter and according to the time in data-signal
Interval obtains the corresponding Bit String of the time interval, wherein 2NA Bit String is different, and the different Bit Strings
Corresponding time interval is different, N >=1.
2. the method according to claim 1, wherein the frequency conversion information includes new time parameter;
The first device generate the handshake for determining new time parameter include: the first device according to it is described new when
Between parameter determine first time interval group and/or the second time interval group;According to the first time interval group and/or described
Two time interval groups generate K handshake, and the handshake includes the new time parameter, the first time interval group
Including at least one first time interval, the second time interval group includes at least one second time interval, and described first
Meet preset relation between time interval and second time interval, the first time interval is letter of shaking hands described in i-th
At the beginning of number with (i-1)-th handshake at the beginning of between time interval, second time interval is
At the beginning of i-th of handshake with the i+1 handshake at the beginning of between time interval, i=
2,4 ... ..., 2j, j=(K-1)/2, K >=3 and K are odd number;
The new time parameter that data transmission is determined according to the frequency conversion information includes: to obtain in the K handshake
The first time interval group and/or the second time interval group;According to the first time interval group and/or described second
Time interval group determines the new time parameter of data transmission.
3. the method according to claim 1, wherein the frequency conversion information includes new time parameter;
It includes: to obtain current time ginseng according to the current time parameter of data transmission that the first device, which obtains frequency conversion information,
Several lower 2NA length generates for each Bit String and the corresponding relationship of time interval in the Bit String of N and according to the corresponding relationship
F data-signal, wherein at the beginning of each data-signal with an adjacent upper signal at the beginning of when
Between between be divided into the corresponding time interval of a Bit String, F >=1 and F is natural number, the F data signal transmission new time joins
Number;
The new time parameter that data transmission is determined according to the frequency conversion information includes: to be received according to the current time parameter
F data-signal and according to each data-signal in the F data-signal at the beginning of between time interval obtain it is new
Time parameter.
4. the method according to claim 1, wherein the frequency conversion information includes new time parameter mark;
It includes: to obtain current time ginseng according to the current time parameter of data transmission that the first device, which obtains frequency conversion information,
Several lower 2NA length generates for each Bit String and the corresponding relationship of time interval in the Bit String of N and according to the corresponding relationship
F data-signal, wherein at the beginning of each data-signal with an adjacent upper signal at the beginning of time
Between be divided into the corresponding time interval of a Bit String, F >=1 and F is natural number, the new time parameter of F data signal transmission
Mark;
The new time parameter that data transmission is determined according to the frequency conversion information includes: to be received according to the current time parameter
F data-signal and according to each data-signal in the F data-signal at the beginning of between time interval obtain it is new
Time parameter mark searches the new time parameter in preset table and identifies corresponding new time parameter.
5. the method according to claim 3 or 4, which is characterized in that further include:
The second device is when supporting to carry out data transmission according to the new time parameter, according under current time parameter 2NIt is a
Length is that each Bit String and the corresponding relationship of time interval are sent to first device for indicating that frequency conversion confirms in the Bit String of N
The data-signal of information.
6. the method according to claim 1, wherein further include:
The second device judge the new time parameter whether itself support data transmission period parameter area in, if
Judgement obtain the new time parameter in the data transmission period parameter area that itself is supported, determine second device support according to
The new time parameter carries out data transmission;Alternatively,
The second device searches whether that there are the new time parameters in the data transmission period parameter list that itself is supported, such as
Fruit finds the new time parameter, determines that second device support carries out data transmission according to the new time parameter.
7. a kind of data transmission system characterized by comprising first device and second device;
The first device sends the frequency conversion information for obtaining frequency conversion information, and to second device, wherein described first
Device obtains the frequency conversion information in the following manner: generating the handshaking information for determining new time parameter, wherein generates use
The number for generating handshake is comprised determining that in the handshaking information of the new time parameter of determination, generates letter of shaking hands according to the number
Number, the time interval in the handshake is for determining new time parameter;
The second device, the frequency conversion information sent for receiving the first device, and it is true according to the frequency conversion information
Fixed number according to transmission new time parameter, wherein according to the frequency conversion information determine data transmission new time parameter include: obtain
Time interval in handshake determines new time parameter according to the time interval;It is supporting according to the new time parameter
When carrying out data transmission, obtained 2 under new time parameter according to the new time parameterNA length is each ratio in the Bit String of N
The corresponding relationship of spy string and time interval, and data-signal is sent according to the corresponding relationship, alternatively, being joined according to the new time
Number receives data-signal and obtains the corresponding Bit String of the time interval according to the time interval in data-signal, wherein 2N
A Bit String is different, and the corresponding time interval of the different Bit Strings is different, N >=1.
8. system according to claim 7, which is characterized in that the frequency conversion information includes new time parameter;
The first device, specifically for being determined between first time interval group and/or the second time according to the new time parameter
Every group;K handshake, the letter of shaking hands are generated according to the first time interval group and/or the second time interval group
Number include the new time parameter, the first time interval group includes at least one first time interval, second time
Interval group includes at least one second time interval, is met between the first time interval and second time interval default
Relationship, the first time interval are the beginning at the beginning of i-th handshake with (i-1)-th handshake
Time interval between moment, second time interval are described with i+1 at the beginning of i-th handshake
Time interval between at the beginning of handshake, i=2,4 ... ..., 2j, j=(K-1)/2, K >=3 and K are odd number;
The second device, specifically for obtaining the first time interval group in the K handshake and/or described the
Two time interval groups;According to the first time interval group and/or the second time interval group determine data transmission it is new when
Between parameter.
9. system according to claim 7, which is characterized in that the frequency conversion information includes new time parameter;
The first device obtains 2 under current time parameter specifically for the current time parameter transmitted according to the dataNIt is a
Length for each Bit String and the corresponding relationship of time interval in the Bit String of N and generates F data according to the corresponding relationship
Signal, wherein at the beginning of each data-signal with an adjacent upper signal at the beginning of time interval be
The corresponding time interval of one Bit String, F >=1 and F are natural number, the new time parameter of F data signal transmission;
The second device is specifically used for receiving F data-signal according to the current time parameter and according to the F data
In signal at the beginning of each data-signal between time interval obtain new time parameter.
10. system according to claim 7, which is characterized in that the frequency conversion information includes new time parameter mark;
The first device obtains 2 under current time parameter specifically for the current time parameter transmitted according to the dataNIt is a
Length for each Bit String and the corresponding relationship of time interval in the Bit String of N and generates F data according to the corresponding relationship
Signal, wherein at the beginning of each data-signal with an adjacent upper signal at the beginning of time interval be
The corresponding time interval of one Bit String, F >=1 and F are natural number, the new time parameter mark of F data signal transmission;
The second device is specifically used for receiving F data-signal according to the current time parameter and according to the F data
In signal at the beginning of each data-signal between time interval obtain new time parameter mark, institute is searched in preset table
It states new time parameter and identifies corresponding new time parameter.
11. system according to claim 9 or 10, which is characterized in that the second device is also used to supporting according to institute
When stating new time parameter and carrying out data transmission, according under current time parameter 2NA length is each Bit String in the Bit String of N
The data-signal for indicating frequency conversion confirmation message is sent to first device with the corresponding relationship of time interval.
12. system according to claim 7, which is characterized in that
Whether the second device is also used to judge the new time parameter in the data transmission period parameter area itself supported
It is interior, if it is determined that showing that the new time parameter in the data transmission period parameter area that itself is supported, determines second device
Support carries out data transmission according to the new time parameter;Alternatively,
The second device is also used to search whether that there are the new times in the data transmission period parameter list that itself is supported
Parameter determines that second device support carries out data transmission according to the new time parameter if finding the new time parameter.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510605469.2A CN106027196B (en) | 2015-09-21 | 2015-09-21 | A kind of data transmission method and system |
PCT/CN2016/099620 WO2017050232A1 (en) | 2015-09-21 | 2016-09-21 | Data transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510605469.2A CN106027196B (en) | 2015-09-21 | 2015-09-21 | A kind of data transmission method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106027196A CN106027196A (en) | 2016-10-12 |
CN106027196B true CN106027196B (en) | 2019-07-30 |
Family
ID=57082439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510605469.2A Active CN106027196B (en) | 2015-09-21 | 2015-09-21 | A kind of data transmission method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106027196B (en) |
WO (1) | WO2017050232A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549729B (en) * | 2015-09-21 | 2020-09-15 | 天地融科技股份有限公司 | Data sending method and device and data receiving method and device |
CN107124248B (en) * | 2017-03-20 | 2019-11-15 | 天地融科技股份有限公司 | A kind of communication means, apparatus and system |
CN114499745A (en) * | 2020-10-27 | 2022-05-13 | 华为技术有限公司 | Communication method and related equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102333054A (en) * | 2011-09-26 | 2012-01-25 | 北京天地融科技有限公司 | Data sending and receiving method and device |
US8112039B2 (en) * | 2006-12-11 | 2012-02-07 | Xirrus, Inc. | System and method for detecting radar signals in wireless communications access points |
CN103716270A (en) * | 2011-09-26 | 2014-04-09 | 天地融科技股份有限公司 | Data sending and receiving method and device |
JP2014235595A (en) * | 2013-06-03 | 2014-12-15 | 株式会社リコー | Non-contact communication mode determination circuit, non-contact communication circuit, and ic card |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2791206B1 (en) * | 1999-03-15 | 2001-04-20 | Gemplus Card Int | METHOD FOR COMMUNICATING THE PARAMETERS OF A DIGITAL TRANSMISSION PROTOCOL |
US8902965B2 (en) * | 2012-09-27 | 2014-12-02 | Qualcomm Incorporated | Pulse shaping for generating NFC initiator transmit waveform |
-
2015
- 2015-09-21 CN CN201510605469.2A patent/CN106027196B/en active Active
-
2016
- 2016-09-21 WO PCT/CN2016/099620 patent/WO2017050232A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8112039B2 (en) * | 2006-12-11 | 2012-02-07 | Xirrus, Inc. | System and method for detecting radar signals in wireless communications access points |
CN102333054A (en) * | 2011-09-26 | 2012-01-25 | 北京天地融科技有限公司 | Data sending and receiving method and device |
CN103716270A (en) * | 2011-09-26 | 2014-04-09 | 天地融科技股份有限公司 | Data sending and receiving method and device |
JP2014235595A (en) * | 2013-06-03 | 2014-12-15 | 株式会社リコー | Non-contact communication mode determination circuit, non-contact communication circuit, and ic card |
Also Published As
Publication number | Publication date |
---|---|
WO2017050232A1 (en) | 2017-03-30 |
CN106027196A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106027196B (en) | A kind of data transmission method and system | |
CN106549748A (en) | A kind of data transmission method and data handling equipment | |
CN104700069B (en) | A kind of unbundling formula radio-frequency (RF) tag body-building action recognition monitoring system and method thereof | |
CN101620665B (en) | Frequency hopping method of ultrahigh frequency passive radio frequency identification reader | |
CN108804887A (en) | unlocking method, device and equipment | |
CN101729237B (en) | Serial signal receiving device, serial transmission system and serial transmission method | |
CN107223312B (en) | The more modulation improved with handling capacity are reduced for data link power | |
CN103997376A (en) | Data communication system and method for human body communication | |
CN105929348B (en) | A kind of nuclear magnetic resonance spectrometer and the nuclear magnetic resonance spectrometer control device based on FPGA | |
KR102189511B1 (en) | Method and apparatus for transmitting data, method and apparatus for receiving data | |
CN107124248B (en) | A kind of communication means, apparatus and system | |
CN104700131B (en) | animal tag test system based on virtual instrument | |
CN103811022B (en) | Method and device for waveform analysis | |
CN201965746U (en) | Remote control encoding circuit based on FPGA (Field Programmable Gate Array) | |
CN104980130B (en) | The method of the change Rise Time of Square Wave of OSERDES2 based on FPGA | |
CN106549921A (en) | Data transmission method and device | |
CN102117398B (en) | Ultrahigh-frequency passive radio-frequency identification reader | |
CN113438052B (en) | Signal decoding method, device, electronic equipment and storage medium | |
CN106549728A (en) | A kind of data receiver method and device | |
CN101232350B (en) | Parity error detecting circuit | |
CN106547711A (en) | Data transmission method for uplink and device and data receiver method and device | |
CN201489545U (en) | Ultra-high frequency passive radio frequency identification reader | |
CN107290736A (en) | Signal processing apparatus and ultrasonic signal processing system | |
CN107122325A (en) | Data transmission system and method based on novel universal universal serial bus | |
CN103762493B (en) | Carbon dioxide laser device and pulse generator thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |