WO2017050232A1 - 数据传输方法及系统 - Google Patents

数据传输方法及系统 Download PDF

Info

Publication number
WO2017050232A1
WO2017050232A1 PCT/CN2016/099620 CN2016099620W WO2017050232A1 WO 2017050232 A1 WO2017050232 A1 WO 2017050232A1 CN 2016099620 W CN2016099620 W CN 2016099620W WO 2017050232 A1 WO2017050232 A1 WO 2017050232A1
Authority
WO
WIPO (PCT)
Prior art keywords
time interval
time parameter
time
new
parameter
Prior art date
Application number
PCT/CN2016/099620
Other languages
English (en)
French (fr)
Inventor
李东声
Original Assignee
天地融科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 天地融科技股份有限公司 filed Critical 天地融科技股份有限公司
Publication of WO2017050232A1 publication Critical patent/WO2017050232A1/zh

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a data transmission method and system.
  • the data transmitting end and the data receiving end perform communication negotiation to determine the communication parameters corresponding to the required communication rate, and then perform data transmission according to the determined communication parameters. If the communication rate needs to be changed, the data transmitting end and the data receiving end need to stop the data transmission first, re-synchronize the communication to determine the new communication parameters, and then start the data transmission, resulting in low data transmission efficiency.
  • This application is intended to solve the above problems.
  • the main purpose of the present application is to provide a data transmission method, including: a first device acquires frequency conversion information, and transmits frequency conversion information to a second device; the second device receives frequency conversion information sent by the first device, and determines data transmission according to the frequency conversion information.
  • the second device when supporting data transmission according to the new time parameter, obtains each bit string and time interval in a 2 N length bit string under the new time parameter according to the new time parameter Corresponding relationship, and sending a data signal according to the corresponding relationship, or receiving a data signal according to the new time parameter and obtaining a bit string corresponding to the time interval according to a time interval in the data signal, wherein 2 N of the The bit strings are different from each other, and different time intervals corresponding to the bit strings are different, N ⁇ 1.
  • the obtaining, by the first device, the frequency conversion information includes: the first device generating a handshake signal for determining a new time parameter.
  • the first device generating a handshake signal for determining a new time parameter includes: determining, by the first device, a number of handshake signals, generating a handshake signal according to the number, and using a time interval in the handshake signal for determining a new time parameter; determining the new time parameter of the data transmission according to the frequency conversion information comprises: acquiring a time interval in the handshake signal, and determining a new time parameter according to the time interval.
  • the frequency conversion information includes a new time parameter; the first device generating a handshake signal for determining a new time parameter includes: the first device determining the first time interval group and/or the second according to the new time parameter a time interval group; generating K handshake signals according to the first time interval group and/or the second time interval group, the handshake signal includes the new time parameter, and the first time interval group includes at least one
  • New time parameters include: obtaining the K grips The first time interval group and/or the second time interval group in the hand signal; determining a new time parameter of the data transmission according to the first time interval group and/or the second time interval group.
  • the frequency conversion information includes a new time parameter.
  • the obtaining, by the first device, the frequency conversion information includes: obtaining, according to the current time parameter of the data transmission, each bit string and time in the 2 N length bit strings of the current time parameter Corresponding relationships of the intervals and generating F data signals according to the correspondence relationship, wherein a time interval between a start time of each of the data signals and a start time of an adjacent previous signal is a time interval corresponding to one bit string, F ⁇ 1 and F is a natural number, the F data signals transmit a new time parameter; the determining the new time parameter of the data transmission according to the frequency conversion information comprises: receiving F data signals according to the current time parameter and according to the F The time interval between the start times of the individual data signals in the data signals obtains new time parameters.
  • the frequency conversion information includes a new time parameter identifier.
  • the obtaining, by the first device, the frequency conversion information includes: obtaining, according to the current time parameter of the data transmission, 2 N bit strings in the bit string of length N under the current time parameter Corresponding relationship of time intervals and generating F data signals according to the correspondence relationship, wherein a time interval between a start time of each of the data signals and a start time of an adjacent previous signal is a time interval corresponding to one bit string, F ⁇ 1 and F is a natural number, the F data signals transmit a new time parameter identifier; the determining the new time parameter of the data transmission according to the frequency conversion information comprises: receiving F data signals according to the current time parameter and according to the The time interval between the start times of the data signals in the F data signals obtains a new time parameter identifier, and the new time parameter corresponding to the new time parameter identifier is searched in the preset table.
  • the method further includes: when the second device supports data transmission according to the new time parameter, according to the correspondence between each bit string and the time interval in the 2 N length bit strings of the current time parameter
  • the first device transmits a data signal for indicating the frequency conversion confirmation information.
  • the method further includes: determining, by the second device, whether the new time parameter is within a range of data transmission time parameters supported by itself, and if it is determined that the new time parameter is within a range of data transmission time parameters supported by itself, Determining that the second device supports data transmission according to the new time parameter; or, the second device searches for a new time parameter in the data transmission time parameter table supported by itself, and if the new time parameter is found, Determining that the second device supports data transmission in accordance with the new time parameter.
  • Another object of the present application is to provide a data transmission system including: a first device and a second device; a first device for acquiring frequency conversion information and transmitting frequency conversion information to the second device; and a second device for receiving
  • the frequency conversion information sent by the first device determines a new time parameter of the data transmission according to the frequency conversion information; and when the data transmission according to the new time parameter is supported, obtaining 2 N lengths of the new time parameter according to the new time parameter is N Corresponding relationship between each bit string and the time interval in the bit string, and transmitting the data signal according to the corresponding relationship, or receiving the data signal according to the new time parameter and obtaining the time interval corresponding according to the time interval in the data signal a bit string, wherein 2 N of the bit strings are different from each other, and different time intervals corresponding to the bit strings are different, N ⁇ 1.
  • the first device is specifically configured to generate a handshake signal for determining a new time parameter.
  • the first device is specifically configured to determine a number of handshake signals, and generate a handshake signal according to the number, where a time interval in the handshake signal is used to determine a new time parameter; the second device, specifically A time interval for acquiring a handshake signal, and determining a new time parameter according to the time interval.
  • the frequency conversion information includes a new time parameter
  • the first device is configured to obtain, according to the current time parameter of the data transmission, each bit string and a time interval in a bit string of 2 N lengths N under the current time parameter.
  • Corresponding relationship and generating F data signals according to the correspondence relationship wherein a time interval between a start time of each of the data signals and a start time of an adjacent previous signal is a time interval corresponding to one bit string, F ⁇ 1 and F is a natural number, the F data signals transmit a new time parameter;
  • the second device is specifically configured to receive F data signals according to the current time parameter and according to each data signal in the F data signals A new time parameter is obtained at the time interval between the start times.
  • the frequency conversion information includes a new time parameter identifier
  • the first device is configured to obtain, according to the current time parameter of the data transmission, each bit string and time in the 2 N length bit strings of the current time parameter.
  • Corresponding relationships of the intervals and generating F data signals according to the correspondence relationship wherein a time interval between a start time of each of the data signals and a start time of an adjacent previous signal is a time interval corresponding to one bit string, F ⁇ 1 and F is a natural number, the F data signals transmit a new time parameter identifier;
  • the second device is specifically configured to receive F data signals according to the current time parameter and according to each data in the F data signals The time interval between the start times of the signals obtains a new time parameter identifier, and the new time parameter corresponding to the new time parameter identifier is searched in the preset table.
  • the second device is further configured to: when supporting data transmission according to the new time parameter, according to a correspondence relationship between each bit string and a time interval in a bit string of 2 N lengths N under the current time parameter A device transmits a data signal for indicating frequency conversion confirmation information.
  • the second device is further configured to determine whether the new time parameter is within a range of data transmission time parameters supported by itself, and if it is determined that the new time parameter is within a range of data transmission time parameters supported by the device, determining The second device supports data transmission according to the new time parameter; or the second device is further configured to search for a new time parameter in the data transmission time parameter table supported by itself, if the new time is found The time parameter determines that the second device supports data transmission according to the new time parameter.
  • the frequency conversion information is transmitted to the second device by the first device without interrupting the data transmission, and the second device obtains a new time parameter of the data transmission according to the frequency conversion information and uses the The new time parameter performs data reception and/or transmission to complete the adjustment of the communication parameters during data transmission, thereby improving communication efficiency.
  • FIG. 1 is a flowchart of a data transmission method according to Embodiment 1 of the present application.
  • FIG. 3 is a flowchart of still another data transmission method according to Embodiment 3 of the present application.
  • FIG. 5 is a schematic structural diagram of a data transmission system according to Embodiment 5 of the present application.
  • FIG. 1 is a flowchart of a data transmission method provided by an embodiment of the present application. As shown in FIG. 1, the method mainly includes steps 101 to 103.
  • the first device acquires frequency conversion information, and sends the frequency conversion information to the second device.
  • the frequency conversion information may be a new time parameter for data transmission, or a new time parameter identifier, and the new time parameter identifier has a one-to-one correspondence with the new time parameter.
  • the new time parameter may include two time parameters, a first time parameter etu and a second time parameter pdt.
  • the time parameter is used to describe the length of time occupied by data transmission.
  • the first device and the second device may be master-slave devices.
  • the first device is a master device
  • the second device is a slave device, or the first device is a slave device
  • the second device is a master device.
  • the device as the master device may be, for example, a terminal
  • the device as the slave device may be, for example, an electronic payment device (for example, an electronic signature tool key, a smart card, a key card, a device, etc.).
  • the second device receives the frequency conversion information sent by the first device, and determines a new time parameter of the data transmission according to the frequency conversion information.
  • the first device sends the variable frequency information to the second device in multiple manners, for example, by sending a handshake signal or by using a data signal.
  • the transmission information used in the frequency conversion information is different.
  • the manner of determining the new time parameter of the data transmission according to the frequency conversion information is also different.
  • the second device when supporting data transmission according to the new time parameter, obtains, according to the new time parameter, a correspondence between each bit string and a time interval of the 2 N bit strings of length N under the new time parameter, and according to the corresponding Transmitting a data signal, or receiving a data signal according to the new time parameter and obtaining a bit string corresponding to the time interval according to a time interval in the data signal, wherein 2 N of the bit strings are different from each other, and different places The time interval corresponding to the bit string is different, N ⁇ 1.
  • each of the 2 N bit strings of length N refers to 0, 1.
  • 2 N bits in the bit string of length N are obtained under the new time parameter.
  • the signal of +pdt transmits data bit string 1.
  • each of the 2 N bit strings of length N refers to 00, 01, 10, and 11, and 2 N lengths of N are obtained under the new time parameter according to the new time parameter.
  • the second device may use the new time parameter to perform data transmission and reception.
  • the data signal of +pdt is transmitted 01, and the data signal with the interval of etu+2pdt is transmitted to transmit 10.
  • the frequency conversion information may be sent to the second device by the first device without interrupting the data transmission, and the second device obtains a new time parameter of the data transmission according to the frequency conversion information and uses the new time parameter to perform data. Receiving and/or transmitting to complete the adjustment of communication parameters during data transmission, improving communication efficiency.
  • the time parameters used in data transmission are different, the obtained communication rate is also different, and the purpose of frequency conversion can be achieved by adjusting the time parameter.
  • the value of the current time parameter is adjusted to the value of the new time parameter (that is, the value of etu in the current time parameter is adjusted to the value of etu in the new time parameter, and the value of pdt in the current time parameter is adjusted.
  • the frequency conversion during data transmission is to change the communication rate, and the resource utilization can be optimized. For example, some applications do not need too high communication rate when executing, and communication can be reduced at this time. The rate is to achieve the purpose of saving power. Some applications require a higher communication rate when executed, and the communication rate can be increased to better realize the function of the application.
  • the frequency conversion information includes a new time parameter and is transmitted by a handshake signal generated by the first device according to the new time parameter.
  • FIG. 2 is a flowchart of another data transmission method provided by an embodiment of the present application. As shown in FIG. 2, the method mainly includes steps 201 to 205.
  • the first device generates a handshake signal for determining a new time parameter.
  • Method 1 The first device determines the number of handshake signals generated, and generates a handshake signal according to the number, and the time interval in the handshake signal is used to determine a new time parameter.
  • the first device negotiates with the second device to determine that a new time parameter is transmitted by using a preset number of handshake signals, and the first device generates a preset number of handshake signals, for example, generating eight handshake signals with the same time interval to transmit the new time.
  • the parameter, the time interval in the handshake signal is the new time parameter, and the specific time interval in the handshake signal indicates that the etu and the pdt can be determined by the first device and the second device for communication negotiation, which is not limited herein.
  • the time interval in the signals with the same time interval is etu or pdt in the new time parameter, and etu and pdt satisfy a certain relationship, and another value can be determined according to one of etu and pdt.
  • the first device generates 8 handshake signals according to the first time interval, and then generates 8 handshake signals according to the second time interval to transmit a new time parameter, where the first time interval can be used to indicate etu in the new time parameter, The second time interval can be used to represent the pdt in the new time parameter.
  • the first device determines the first time interval group and/or the second time interval group according to the new time parameter; and generates K handshake signals according to the first time interval group and/or the second time interval group.
  • the handshake signal includes a new time parameter, the first time interval group includes at least one first time interval, and the second time interval group includes at least one second time interval, and the preset relationship is satisfied between the first time interval and the second time interval.
  • the first time interval is a time interval between a start time of the i-th handshake signal and a start time of the i-1th handshake signal
  • the second time interval is a start time of the i-th handshake signal and an i+1th
  • the time interval between the start time between the start time of the second handshake signal and the first handshake signal is defined as t0
  • the start time and the second time of the third handshake signal are defined.
  • the time interval between the start time between the handshake signals is t1
  • the time interval between the start time of the fourth handshake signal and the start time between the third handshake signal is defined as t2
  • the fifth handshake signal is defined.
  • the time interval between the start time and the start time between the fourth handshake signal is t3.
  • t0 and t2 are both the first time interval
  • the first time interval group includes t0 and t2
  • t1 and t3 are both the second time interval
  • the second time interval group includes t1 and t3.
  • the first time interval and the second time interval may also satisfy other specific relationships, which are not limited herein.
  • the time interval between the start time between the start time of the second handshake signal and the first handshake signal is defined as t0
  • the start time and the second time of the third handshake signal are defined.
  • the time interval between the start times between the handshake signals is t1
  • t0 is the first time interval
  • t1 is the second time interval.
  • New time parameters can be packaged
  • the first device sends a handshake signal to the second device.
  • the second device receives the handshake signal sent by the first device.
  • the second device determines a new time parameter of the data transmission according to the frequency conversion information.
  • the present embodiment also provides the following two ways of implementing a new time parameter for determining data transmission according to the frequency conversion information:
  • Mode A (corresponding to mode one in step 201), after receiving the preset number of handshake signals, the second device acquires a time interval in the handshake signal, and determines a new time parameter according to the time interval.
  • the second device receives 8 handshake signals, and the time interval between the 8 handshake signals is the same, it is determined that the time interval is etu or pdt in the new time parameter. Since etu and pdt satisfy a certain relationship, another value can be determined according to one of etu and pdt.
  • the second device receives 16 handshake signals, and the time interval between the first 8 handshake signals is the same as the first time interval, and the time interval between each of the 8 handshake signals and the previous handshake signal is the same.
  • the second time interval determines that the first time interval is one of the new time parameters (etu and pdt), and determines that the second time interval is the other of the new time parameters (etu and pdt). Which one is specifically determined may be determined by the first device and the second device, and is not limited herein.
  • Mode B (corresponding to mode 2 in step 201), the second device acquires a first time interval group and/or a second time interval group in the handshake signal; and determines according to the first time interval group and/or the second time interval group New time parameters for data transfer.
  • the time interval between the three handshake signals is obtained, and the time interval t0 between the second handshake signal and the first handshake signal is determined as Edu, the time interval t1 between the third handshake signal and the second handshake signal is determined as pdt, and the preset relationship between etu and pdt is not limited to the above linear relationship, and may be other relationships, and may not be done again. limit.
  • the second device when supporting data transmission according to the new time parameter, obtains, according to the new time parameter, a correspondence between each bit string and a time interval of the 2 N bit strings of length N under the new time parameter, and according to the corresponding relationship between the transmission data signal, or to obtain a time interval corresponding to a bit string according to the new parameters of the received time data signal and the data signal in the time interval, wherein, 2 N of said bit string different from each other, and the different The time interval corresponding to the bit string is different, N ⁇ 1.
  • each of the 2 N bit strings of length N refers to 00, 01, 10, and 11, and 2 N bits of length N are obtained under the new time parameter according to the new time parameter.
  • the second device may use the new time parameter to transmit and receive data.
  • the second device sends a data signal to the first device according to the correspondence between each bit string and the time interval of the 2 N bit strings of length N under the new time parameter, and the transmitted data signal can also be used as the frequency conversion confirmation information.
  • the time parameter adopted by the data transmission can be adjusted to a new time parameter to obtain a corresponding communication rate under the new time parameter.
  • a handshake signal when generated, it can be realized by generating a low level pulse. Alternatively, it may be implemented by a sine wave signal or other waveform signals, and is not limited herein.
  • the first device may further obtain, according to the new time parameter, each of the 2 N bit strings of length N and the time interval.
  • the corresponding relationship and the data signal are transmitted according to the corresponding relationship.
  • the value carried by the data signal is data that the first device needs to send to the second device, and the data may include a new time parameter, or may not include a new time parameter, and the first device sends the data signal and the second device sends the data signal.
  • the second device receives the data signal according to the new time parameter and obtains the bit string corresponding to the time interval according to the time interval in the data signal.
  • the first device may send the frequency conversion information to the second device by using a handshake signal without interrupting the data transmission, and the second device obtains a new time parameter of the data transmission according to the frequency conversion information and uses the new time parameter to perform
  • the reception and/or transmission of data to complete the adjustment of communication parameters during data transmission improves communication efficiency.
  • the frequency conversion information includes a new time parameter, and is transmitted by using a data signal, where the data signal is A device is generated according to the current time parameter.
  • FIG. 3 is a flowchart of still another data transmission method provided by an embodiment of the present application. As shown in FIG. 3, the method mainly includes steps 301 to 305.
  • the first device obtains, according to a current time parameter of the data transmission, a correspondence between each bit string and a time interval of the 2 N bit strings of length N under the current time parameter, and generates F data signals according to the corresponding relationship, where each The time interval between the start time of the data signal and the start time of the adjacent previous signal is a time interval corresponding to one bit string, F ⁇ 1 and F is a natural number, and F data signals transmit a new time parameter.
  • the signal can be a data signal for transmitting data.
  • F data signals are used to transmit new time parameters.
  • the current time parameter is a time parameter used when the first device and the second device are performing data transmission.
  • the current time parameter may include two time parameters, a first time parameter etu and a second time parameter pdt.
  • the first device obtains the correspondence between each bit string and the time interval in the 2 N bit strings of the length N according to the current time parameter
  • the second device in step 103 in Embodiment 1 obtains the new time parameter according to the new time parameter.
  • the implementation of the correspondence between each bit string and the time interval in the bit string of N N lengths is similar to the new time parameter, and is not described here.
  • the correspondence between each bit string and the time interval in the 2 N lengths of the bit string under the current time parameter is obtained, and F data signals are generated according to the correspondence relationship.
  • the implementation is as follows: the new time parameter is represented by the data bit sequence 00101011, and the case where N is 2 is taken as an example. In this case, each of the 2 N bit strings of length N refers to 00, 01, 10, and 11, current time parameters.
  • the time interval between the first signal and the second signal is etu, which is used to transmit data bits.
  • the time interval between the second signal and the third signal is etu+2pdt, for transmitting the data bit string 10
  • the time interval between the third signal and the fourth signal is etu+2pdt
  • the time interval between the fourth signal and the fifth signal is etu + 3pdt for transmitting the data bit string 11.
  • the first device sends F data signals to the second device.
  • F data signals can be sent in the following ways:
  • the set of data bit strings is sent in a manner that represents the set of data bit strings at time intervals corresponding to each set of data bit strings.
  • the second device receives the F data signals sent by the first device.
  • the second device receives F data signals according to the current time parameter and obtains a new time parameter according to a time interval between start times of the data signals in the F data signals.
  • the new time parameter is represented by a data bit sequence 00101011, and when N is 2, an example is obtained.
  • the second device when supporting data transmission according to the new time parameter, obtains, according to the new time parameter, a correspondence between each bit string and a time interval of the 2 N bit strings of length N under the new time parameter, and according to the corresponding Transmitting a data signal, or receiving a data signal according to the new time parameter and obtaining a bit string corresponding to the time interval according to a time interval in the data signal, wherein 2 N of the bit strings are different from each other, and different places The time interval corresponding to the bit string is different, N ⁇ 1.
  • step 305 For the specific implementation of step 305, refer to the related description of step 205 in Embodiment 2, and details are not described herein again.
  • the second device sends a data signal to the first device according to the correspondence between each bit string and the time interval of the 2 N bit strings of length N under the new time parameter, and the transmitted data signal can also be used as the frequency conversion confirmation information.
  • the time parameter adopted by the data transmission can be adjusted to a new time parameter to obtain a corresponding communication rate under the new time parameter.
  • the present embodiment may further include the step of: when the second support means according to the new data transmission time parameters, the current time parameters correspond to a length of 2 N N bit string in the bit stream of the respective time interval
  • the relationship transmits a data signal indicating the frequency conversion confirmation information to the first device. That is, the second device still sends the frequency conversion confirmation information by using the current time parameter, to notify the first device that the time parameter adopted by the data transmission can be adjusted to the new time parameter, to obtain the corresponding communication rate under the new time parameter, and after that.
  • Data transmission is performed using new time parameters in data transmission.
  • the first device may also generate F data signals according to the current time parameter (the F data signals are used to transmit new time parameters), and the first device may also The other data signals are sent to the second device according to the correspondence between each of the 2 N bit strings of length N and the time interval under the current time parameter.
  • the other data signals are used to transmit other data that the first device needs to send to the second device.
  • the manner in which the first device generates and transmits other data signals is the same as the manner in which the F data signals are generated and transmitted in step 301, and is no longer Narration.
  • the first device may further generate a handshake signal according to the current time parameter and send the signal to the first Two devices.
  • the first device may transmit the frequency conversion information to the second device by using the data signal without interrupting the data transmission, and the second device obtains a new time parameter of the data transmission according to the frequency conversion information and uses the new time parameter to perform
  • the reception and/or transmission of data to complete the adjustment of communication parameters during data transmission improves communication efficiency.
  • the frequency conversion information includes the new time parameter identifier
  • the other implementation processes are the same as those in the third embodiment, and the same content is not described in detail. For details, refer to the related description of the third embodiment.
  • FIG. 4 is a flowchart of still another data transmission method provided by an embodiment of the present application. As shown in FIG. 4, the method mainly includes the following steps 401 to 405.
  • the new time parameter identifier is transmitted through the F data signals, and the new time parameter identifier is the frequency conversion information.
  • the first device sends F data signals to the second device.
  • F data signals can be sent in the following ways:
  • the second device receives the F data signals sent by the first device.
  • the second device receives F data signals according to the current time parameter, and obtains a new time parameter identifier according to a time interval between start times of the data signals in the F data signals, and searches for a new time parameter identifier corresponding to the preset table. New time parameters.
  • the new time parameter identifier has a one-to-one correspondence with the new time parameter.
  • the preset table is used to store the correspondence between the new time parameter identifier and the new time parameter, and the new time parameter can be determined according to the new time parameter identifier by looking up the table.
  • the second device supports data transmission according to the new time parameter, obtain, according to the new time parameter, a correspondence between each bit string and a time interval of the 2 N bit strings of length N under the new time parameter, and according to the corresponding Transmitting a data signal, or receiving a data signal according to the new time parameter and obtaining a bit string corresponding to the time interval according to a time interval in the data signal, wherein 2 N of the bit strings are different from each other, and different places The time interval corresponding to the bit string is different, N ⁇ 1.
  • the second device sends a data signal to the first device according to the correspondence between each bit string and the time interval of the 2 N bit strings of length N under the new time parameter, and the transmitted data signal can also be used as the frequency conversion confirmation information.
  • the time parameter adopted by the data transmission can be adjusted to a new time parameter to obtain a corresponding communication rate under the new time parameter.
  • the present embodiment may further include the step of: when the second support means according to the new data transmission time parameters, the current time parameters correspond to a length of 2 N N bit string in the bit stream of the respective time interval
  • the relationship transmits a data signal indicating the frequency conversion confirmation information to the first device. That is, the second device still sends the frequency conversion confirmation information by using the current time parameter, to notify the first device that the time parameter adopted by the data transmission can be adjusted to the new time parameter, to obtain the corresponding communication rate under the new time parameter, and after that.
  • Data transmission is performed using new time parameters in data transmission.
  • the first device in step 401, the first device generates F data signals according to the current time parameter (the F data signals are used to transmit a new time parameter identifier), and the first device further The other data signals may be sent to the second device according to the correspondence between each of the 2 N bit strings of length N and the time interval under the current time parameter.
  • the other data signals are used to transmit other data that the first device needs to send to the second device.
  • the manner in which the first device generates and transmits other data signals is the same as the manner in which the F data signals are generated and transmitted in step 401. Narration.
  • the first device may further generate a handshake signal according to the current time parameter and send the handshake signal to Second device.
  • the first device may transmit the frequency conversion information to the second device by using the data signal without interrupting the data transmission, and the second device obtains a new time parameter of the data transmission according to the frequency conversion information and uses the new time parameter to perform
  • the reception and/or transmission of data to complete the adjustment of communication parameters during data transmission improves communication efficiency.
  • the foregoing method may further include the step of determining, by the second device, whether to support the data transmission by using the new time parameter, and implementing the The following two can be used:
  • Method 1 The second device determines whether the new time parameter is within the range of data transmission time parameters supported by itself, and if it is determined that the new time parameter is within the range of data transmission time parameters supported by itself, determining that the second device supports the new time Inter-parameter data transmission;
  • the second device stores the data transmission time parameter range supported by itself, for example, the edu range is 1 us-100 us, and the pdt range is 0.1 us-10 s. After the second device obtains the new time parameter, the new time parameter is respectively determined. Whether the value of edu is in the range of edu, and whether the value of pdt is in the range of pdt. If the value of edu and the value of pdt are in their respective ranges, the second device supports data transmission according to the new time parameter. . Otherwise, for example, at least one value in edu and pdt is not in its corresponding range, indicating that the second device does not support data transmission according to the new time parameter.
  • the second device searches for a new time parameter in the data transmission time parameter table supported by the second device. If the new time parameter is found, it is determined that the second device supports data transmission according to the new time parameter.
  • the second device stores a data transmission time parameter table supported by itself, for example, as shown in the following table:
  • the data transmission time parameter table supported by the second device may also be used to find whether there is a new time parameter identifier. If the new time parameter identifier is found, the second device is determined. Support data transmission according to new time parameters.
  • the embodiment of the present application further provides a data transmission system, which is used to perform the foregoing data transmission method.
  • the first device and the second device in the system may be master-slave devices.
  • the device as the master device may be, for example, a terminal
  • the device as the slave device may be, for example, an electronic payment device (for example, an electronic signature tool key, a smart card, a key card, a device, etc.).
  • the system includes: a first device, wherein the first device is configured to acquire frequency conversion information, and transmit the frequency conversion information to the second device; and the second device is configured to receive the first device to send
  • the frequency conversion information is determined according to the frequency conversion information, and the new time parameter of the data transmission is determined according to the frequency conversion information; when the data transmission according to the new time parameter is supported, according to the new time parameter, each bit string of the 2 N length N strings is obtained under the new time parameter.
  • the first device may transmit the frequency conversion information by using a handshake signal, where the frequency conversion information includes a new time parameter; at this time, the first device is specifically configured to determine the first time interval group and/or the second time interval group according to the new time parameter.
  • the handshake signal includes a new time parameter
  • the first time interval group includes at least one first time interval
  • the second time interval group includes at least one The second time interval
  • the first time interval and the second time interval satisfy a preset relationship, where the first time interval is a time interval between a start time of the i-th handshake signal and a start time of the i-1th handshake signal,
  • the second device is specifically configured to acquire a first time interval group and/or a second time interval group of the K handshake signals; and determine a new time parameter of the data transmission according to the first time interval group and/or the second time interval group.
  • the first device may transmit the frequency conversion information by using a data signal, where the frequency conversion information includes a new time parameter.
  • the first device is specifically configured to obtain, according to the current time parameter of the data transmission, 2 N lengths of the current time parameter.
  • the second device is specifically configured to receive F data signals according to the current time parameter and according to the start time of each data signal in the F data signals A new time parameter is obtained between the time intervals.
  • the first device may transmit the frequency conversion information by using the data signal, and the frequency conversion information includes a new time parameter identifier.
  • the first device is configured to obtain, according to the current time parameter of the data transmission, 2 N lengths of the current time parameter.
  • the second device is specifically configured to receive F data signals according to the current time parameter and obtain new according to time intervals in the F data signals
  • the time parameter identifier is used to find a new time parameter corresponding to the new time parameter identifier in the preset table.
  • the current time parameters 2 N N bit strings of length of time of each bit string transmits a data signal indicating the frequency conversion confirmation information to the first device.
  • the second device in the system provided by the embodiment of the present application may further implement determining whether it supports the new device.
  • the function of time parameter for data transmission is as follows:
  • the second device is further configured to determine whether the new time parameter is within the range of the data transmission time parameter supported by itself, and if it is determined that the new time parameter is within the range of the data transmission time parameter supported by itself, determining that the second device supports the new time parameter The data transmission is performed; or the second device is further configured to search for a new time parameter in the data transmission time parameter table supported by itself, and if the new time parameter is found, determine that the second device supports data transmission according to the new time parameter.
  • the first device can transmit the frequency conversion information to the second device by using the data signal without interrupting the data transmission, and the second device obtains the new time parameter of the data transmission according to the frequency conversion information and uses the new The time parameter performs data reception and/or transmission to complete adjustment of communication parameters during data transmission, thereby improving communication efficiency.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Quality & Reliability (AREA)

Abstract

本申请提供一种数据传输方法及系统,该方法包括:第一装置获取变频信息,并向第二装置发送变频信息;第二装置接收第一装置发送的变频信息,并根据变频信息确定数据传输的新时间参数;所述第二装置在支持按照所述新时间参数进行数据传输时,根据所述新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。采用该方法及系统可以提高数据传输的通信效率。

Description

数据传输方法及系统
相关申请的交叉引用
本申请基于申请号为201510605469.2、申请日为2015/9/21的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及一种电子技术领域,尤其涉及一种数据传输方法及系统。
背景技术
在异步通信过程中,采用不同的通信参数,可以在数据发送端和数据接收端实现不同通信速率的数据传输。通常在数据传输开始前,数据发送端和数据接收端会进行通信协商以确定所需要的通信速率对应的通信参数,之后按照确定的通信参数进行数据传输。如果需要改变通信速率,则数据发送端和数据接收端需要先停止数据传输,重新进行通信协商以确定新的通信参数后,再启动数据传输,导致数据传输效率较低。
发明内容
本申请旨在解决上述问题。
本申请的主要目的在于提供一种数据传输方法,包括:第一装置获取变频信息,并向第二装置发送变频信息;第二装置接收第一装置发送的变频信息,并根据变频信息确定数据传输的新时间参数;所述第二装置在支持按照所述新时间参数进行数据传输时,根据所述新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
其中,所述第一装置获取变频信息包括:第一装置产生用于确定新时间参数的握手信号。
其中,所述第一装置产生用于确定新时间参数的握手信号包括:第一装置确定产生握手信号的个数,按照所述个数产生握手信号,所述握手信号中的时间间隔用于确定新时间参数;所述根据所述变频信息确定数据传输的新时间参数包括:获取握手信号中的时间间隔,根据所述时间间隔确定新时间参数。
其中,所述变频信息包括新时间参数;所述第一装置产生用于确定新时间参数的握手信号包括:所述第一装置按照所述新时间参数确定第一时间间隔组和/或第二时间间隔组;按照所述第一时间间隔组和/或所述第二时间间隔组产生K个握手信号,所述握手信号包括所述新时间参数,所述第一时间间隔组包括至少一个第一时间间隔,所述第二时间间隔组包括至少一个第二时间间隔,所述第一时间间隔与所述第二时间间隔之间满足预设关系,所述第一时间间隔为第i个所述握手信号的开始时刻与第i-1个所述握手信号的开始时刻之间的时间间隔,所述第二时间间隔为第i个所述握手信号的开始时刻与第i+1个所述握手信号的开始时刻之间的时间间隔,i=2,4,……,2j,j=(K-1)/2,K≥3且K为奇数;所述根据所述变频信息确定数据传输的新时间参数包括:获取所述K个握手信号中的所述第一时间间隔组和/或所述第二时间间隔组;根据所述第一时间间隔组和/或所述第二时间间隔组确定数据传输的新时间参数。
其中,所述变频信息包括新时间参数;所述第一装置获取变频信息包括:根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数;所述根据所述变频信息确定数据传输的新时间参数包括:根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数。
其中,所述变频信息包括新时间参数标识;所述第一装置获取变频信息包括:根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数标识;所述根据所述变频信息确定数据传输的新时间参数包括:根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数标识,在预设表中查找所述新时间参数标识对应的新时间参数。
其中,该方法还包括:所述第二装置在支持按照所述新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。
其中,该方法还包括:所述第二装置判断所述新时间参数是否在自身支持的数据传输时间参数范围内,如果判断得出所述新时间参数在自身支持的数据传输时间参数范围内, 确定第二装置支持按照所述新时间参数进行数据传输;或者,所述第二装置在自身支持的数据传输时间参数表中查找是否存在所述新时间参数,如果查找到所述新时间参数,确定第二装置支持按照所述新时间参数进行数据传输。
本申请的另一目的在于提供一种数据传输系统,包括:第一装置和第二装置;第一装置,用于获取变频信息,并向第二装置发送变频信息;第二装置,用于接收第一装置发送的变频信息,并根据变频信息确定数据传输的新时间参数;在支持按照所述新时间参数进行数据传输时,根据所述新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
其中,第一装置,具体用于产生用于确定新时间参数的握手信号。
其中,所述第一装置,具体用于确定产生握手信号的个数,按照所述个数产生握手信号,所述握手信号中的时间间隔用于确定新时间参数;所述第二装置,具体用于获取握手信号中的时间间隔,根据所述时间间隔确定新时间参数。
其中,所述变频信息包括新时间参数;所述第一装置,具体用于按照所述新时间参数确定第一时间间隔组和/或第二时间间隔组;按照所述第一时间间隔组和/或所述第二时间间隔组产生K个握手信号,所述握手信号包括所述新时间参数,所述第一时间间隔组包括至少一个第一时间间隔,所述第二时间间隔组包括至少一个第二时间间隔,所述第一时间间隔与所述第二时间间隔之间满足预设关系,所述第一时间间隔为第i个所述握手信号的开始时刻与第i-1个所述握手信号的开始时刻之间的时间间隔,所述第二时间间隔为第i个所述握手信号的开始时刻与第i+1个所述握手信号的开始时刻之间的时间间隔,i=2,4,……,2j,j=(K-1)/2,K≥3且K为奇数;所述第二装置,具体用于获取所述K个握手信号中的所述第一时间间隔组和/或所述第二时间间隔组;根据所述第一时间间隔组和/或所述第二时间间隔组确定数据传输的新时间参数。
其中,所述变频信息包括新时间参数;所述第一装置,具体用于根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数;所述第二装置,具体用于根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数。
其中,所述变频信息包括新时间参数标识;所述第一装置,具体用于根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数标识;所述第二装置,具体用于根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数标识,在预设表中查找所述新时间参数标识对应的新时间参数。
其中,所述第二装置,还用于在支持按照所述新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。
其中,所述第二装置,还用于判断所述新时间参数是否在自身支持的数据传输时间参数范围内,如果判断得出所述新时间参数在自身支持的数据传输时间参数范围内,确定第二装置支持按照所述新时间参数进行数据传输;或者,所述第二装置,还用于在自身支持的数据传输时间参数表中查找是否存在所述新时间参数,如果查找到所述新时间参数,确定第二装置支持按照所述新时间参数进行数据传输。
由上述本申请提供的技术方案可以看出,在不中断数据传输的情况下,通过第一装置向第二装置发送变频信息,第二装置根据该变频信息获得数据传输的新时间参数并使用该新时间参数进行数据的接收和/或发送,来完成数据传输时的通信参数的调整,提高了通信效率。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图。
图1为本申请实施例1提供的数据传输方法的流程图;
图2为本申请实施例2提供的另一种数据传输方法的流程图;
图3为本申请实施例3提供的又一种数据传输方法的流程图;
图4为本申请实施例4提供的还一种数据传输方法的流程图;
图5为本申请实施例5提供的数据传输系统的结构示意图。
具体实施方式
下面结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或数量或位置。
下面将结合附图对本申请实施例作进一步地详细描述。
实施例1
图1示出了本申请实施例提供的一种数据传输方法的流程图,如图1所示,该方法主要包括步骤101至103。
S101、第一装置获取变频信息,并向第二装置发送变频信息。
其中,该变频信息可以为用于数据传输的新时间参数,或者新时间参数标识,该新时间参数标识与新时间参数一一对应。可选的,该新时间参数可以包括两个时间参数,第一时间参数etu和第二时间参数pdt,在本申请中,该时间参数用来描述数据传输时占用的时间长度。
本实施例中,第一装置和第二装置可以为主从设备。第一装置为主设备,第二装置为从设备,或者第一装置为从设备,第二装置为主设备。作为主设备的装置例如可以是终端,作为从设备的装置例如可以是电子支付设备(例如,电子签名工具key,智能卡,key卡合一设备等)。
S102、第二装置接收第一装置发送的变频信息,并根据变频信息确定数据传输的新时间参数。
其中,第一装置向第二装置发送变频信息的方式有多种,例如可以为通过握手信号进行发送,或者通过数据信号进行发送。变频信息采用的传输方式不同,本步骤在根据变频信息确定数据传输的新时间参数的方式也不同,具体参见下文实施例中的具体描述。
S103、第二装置在支持按照新时间参数进行数据传输时,根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
例如,以N=1为例时,2N个长度为N的比特串中各个比特串是指0、1,根据新时间 参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,可以包括0=etu,1=etu+pdt,其中,0=etu表示采用时间间隔为etu的信号传输数据比特串0,1=etu+pdt表示采用时间间隔为etu+pdt的信号传输数据比特串1。
又如,以N=2为例时,2N个长度为N的比特串中各个比特串是指00、01、10、11,根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,可以包括00=etu,01=etu+pdt,10=etu+2pdt,11=etu+3pdt,其中,00=etu表示采用时间间隔为etu的信号传输数据比特串00,01=etu+pdt表示采用时间间隔为etu+pdt的信号传输数据比特串01,10=etu+2pdt表示采用时间间隔为etu+2pdt的信号传输数据比特串10,11=etu+3pdt表示采用时间间隔为etu+3pdt的信号传输数据比特串11。在本申请中,可以采用时间参数的多种组合形式表达比特串对应的时间间隔,并不局限于此。
第二装置可以使用新时间参数进行数据的发送和接收,当第二装置按照新时间参数发送数据时,以N=2为例,需要发送的数据比特序列为0110时,可以发送时间间隔为etu+pdt的数据信号来传输01,发送时间间隔为etu+2pdt的数据信号来传输10。当第二装置按照新时间参数接收数据时,以N=2为例,当接收到时间间隔为etu+pdt的数据信号时,获得数据比特串01,当接收到时间间隔为etu+2pdt的数据信号时,获得数据比特串10。
本实施例中,可以在不中断数据传输的情况下,通过第一装置向第二装置发送变频信息,第二装置根据该变频信息获得数据传输的新时间参数并使用该新时间参数进行数据的接收和/或发送,来完成数据传输时的通信参数的调整,提高了通信效率。
需要说明的是,数据传输时采用的时间参数不同时,获得的通信速率也不同,通过调整时间参数可以实现变频的目的。例如,将当前时间参数的取值调整为新时间参数的取值(也就是将当前时间参数中etu的取值调整为新时间参数中etu的取值,将当前时间参数中pdt的取值调整为新时间参数中pdt的取值),在数据传输时进行变频也就是改变通信速率,可以实现资源利用的优化,例如,某些应用执行时不需要太高的通信速率,此时可以降低通信速率以达到节省电能的目的,某些应用执行时需要较高的通信速率,此时可以提高通信速率以更好的实现应用的功能。
实施例2
本实施例中,变频信息包括新时间参数,并通过握手信号进行传输,该握手信号由第一装置按照新时间参数产生。图2示出了本申请实施例提供的另一种数据传输方法的流程图,如图2所示,该方法主要包括步骤201至步骤205。
S201、第一装置产生用于确定新时间参数的握手信号。
本实施例提供如下两种实现产生用于确定新时间参数的握手信号:
方式一、第一装置确定产生握手信号的个数,按照个数产生握手信号,握手信号中的时间间隔用于确定新时间参数。
例如,第一装置与第二装置协商确定通过预设个数的握手信号传输新时间参数,第一装置产生预设个数的握手信号,例如产生8个时间间隔相同的握手信号来传输新时间参数,该握手信号中的时间间隔即为新时间参数,具体采用握手信号中的哪个时间间隔表示etu和pdt可以由第一装置和第二装置进行通信协商确定,在此不作限制。例如8个时间间隔相同的信号中的时间间隔为新时间参数中etu或者pdt,etu和pdt满足一定关系,可以根据etu和pdt中的一个确定另外一个的取值。又如,第一装置按照第一时间间隔产生8个握手信号,接着按照第二时间间隔产生8个握手信号来传输新时间参数,第一时间间隔可以用于表示新时间参数中的etu,第二时间间隔可以用于表示新时间参数中的pdt。
方式二、第一装置按照新时间参数确定第一时间间隔组和/或第二时间间隔组;按照第一时间间隔组和/或第二时间间隔组产生K个握手信号。
其中,握手信号包括新时间参数,第一时间间隔组包括至少一个第一时间间隔,第二时间间隔组包括至少一个第二时间间隔,第一时间间隔与第二时间间隔之间满足预设关系,第一时间间隔为第i个握手信号的开始时刻与第i-1个握手信号的开始时刻之间的时间间隔,第二时间间隔为第i个握手信号的开始时刻与第i+1个握手信号的开始时刻之间的时间间隔,i=2,4,……,2j,j=(K-1)/2,K≥3且K为奇数。
例如,以K=5为例,定义第2个握手信号的开始时刻与第1个握手信号之间的开始时刻之间的时间间隔为t0,定义第3个握手信号的开始时刻与第2个握手信号之间的开始时刻之间的时间间隔为t1,定义第4个握手信号的开始时刻与第3个握手信号之间的开始时刻之间的时间间隔为t2,定义第5个握手信号的开始时刻与第4个握手信号之间的开始时刻之间的时间间隔为t3。则,t0与t2均为第一时间间隔,第一时间间隔组包括t0和t2,t1与t3均为第二时间间隔,第二时间间隔组包括t1和t3。其中,第一时间间隔和第二时间间隔满足预设关系,例如,满足一定的倍数关系,t1=2t0,t3=2t2。当然,根据实际应用的需要,第一时间间隔和第二时间间隔还可以满足其他某种特定的关系,在此不作限制。
可选的,新时间参数可以包括两个时间参数,第一时间参数etu和第二时间参数pdt,按照新时间参数确定第一时间间隔组和/或第二时间间隔组的实现如下:在已知etu和pdt具体取值的情况下,按照特定二元一次方程组,例如,edu=t0,pdt=(t2-t0)/5来确定t0和/或t2,并根据第一时间间隔和第二时间间隔满足的预设关系确定t1和/或t3。
又如,以K=3为例,定义第2个握手信号的开始时刻与第1个握手信号之间的开始时刻之间的时间间隔为t0,定义第3个握手信号的开始时刻与第2个握手信号之间的开始时刻之间的时间间隔为t1,则,t0为第一时间间隔,t1为第二时间间隔。新时间参数可以包 括两个时间参数,第一时间参数etu和第二时间参数pdt,按照新时间参数确定第一时间间隔组和/或第二时间间隔组的实现如下:在已知etu和pdt具体取值的情况下,edu=t0,pdt=t1。之后,并按照时间间隔t0和t1产生3个握手信号。
S202、第一装置向第二装置发送握手信号。
S203、第二装置接收第一装置发送的握手信号。
S204、第二装置根据变频信息确定数据传输的新时间参数。
与步骤201中产生握手信号的方式相对应,本实施例也提供如下两种实现根据变频信息确定数据传输的新时间参数的方式:
方式A(与步骤201中方式一对应)、第二装置接收预设个数的握手信号之后,获取握手信号中的时间间隔,根据时间间隔确定新时间参数。
例如,第二装置接收到8个握手信号,该8个握手信号之间的时间间隔相同,则确定该时间间隔为新时间参数中的etu或pdt。由于etu和pdt满足一定关系,可以根据etu和pdt中的一个确定另外一个的取值。又如,第二装置接收到16个握手信号,前8个握手信号之间的时间间隔相同均为第一时间间隔,之后8个握手信号各自与前一握手信号之间的时间间隔相同均为第二时间间隔,则确定第一时间间隔为新时间参数(etu和pdt)中的一个,确定第二时间间隔为新时间参数(etu和pdt)中的另一个。具体确定哪一个,可以由第一装置和第二装置进行协商确定,在此不再限制。
方式B(与步骤201中方式二对应)、第二装置获取握手信号中的第一时间间隔组和/或第二时间间隔组;并根据第一时间间隔组和/或第二时间间隔组确定数据传输的新时间参数。
例如,以K=5为例,检测到5个握手信号后,获取5个握手信号中的t0、t1、t2、t3,在已知t0、t1、t2、t3具体取值的情况下,按照特定二元一次方程组,例如,edu=t0,pdt=(t2-t0)/5来确定etu和pdt。该etu和pdt也就是数据传输的新时间参数。
又如,以K=3为例,检测到3个握手信号后,获取该3个握手信号之间的时间间隔,将第2个握手信号与第1个握手信号之间的时间间隔t0确定为edu,第3个握手信号与第2个握手信号之间的时间间隔t1确定为pdt,etu和pdt之间的预设关系并不局限于上述线性关系,还可以是其他的关系,再次不做限制。
S205、第二装置在支持按照新时间参数进行数据传输时,根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
例如,以N=2为例时,2N个长度为N的比特串中各个比特串是指00、01、10、11,根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,可以包括00=etu,01=etu+pdt,10=etu+2pdt,11=etu+3pdt,其中,00=etu表示采用时间间隔为etu的信号传输数据比特串00,01=etu+pdt表示采用时间间隔为etu+pdt的信号传输数据比特串01,10=etu+2pdt表示采用时间间隔为etu+2pdt的信号传输数据比特串10,11=etu+3pdt表示采用时间间隔为etu+3pdt的信号传输数据比特串11。
第二装置可以使用新时间参数进行数据的发送和接收,当第二装置按照新时间参数发送数据时,以N=2为例,需要发送的数据比特序列为0110时,按照时间间隔(etu+pdt)发送数据信号来传输比特串01,接着按照时间间隔(etu+2pdt)发送数据信号来传输比特串10。当第二装置按照新时间参数接收数据时,以N=2为例,当接收到数据信号的时间间隔为etu+pdt时,获得数据比特串01,当接收到数据信号的时间间隔为etu+2pdt时,获得数据比特串10。
本步骤中,第二装置按照新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送数据信号,该发送的数据信号也可以作为变频确认信息,以通知第一装置可以将数据传输采用的时间参数调整为新时间参数,以获得新时间参数下对应的通信速率。
本实施例中,在产生握手信号时,可以通过产生低电平脉冲实现。或者也可以通过正弦波信号或者其他波形信号实现,在此不作限制。
可选的,本实施例在步骤201中第一装置在产生K个握手信号的同时,第一装置还可以根据新时间参数获得2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据对应关系发送数据信号。该数据信号携带的数值是第一装置需要发送给第二装置的数据,该数据可以包括新时间参数,也可以不包括新时间参数,第一装置发送数据信号的方式与第二装置发送数据信号的方式相同,在此不再赘述。此时,步骤205中,第二装置会根据新时间参数接收数据信号并根据数据信号中的时间间隔获得时间间隔对应的比特串。
本实施例中,可以在不中断数据传输的情况下,第一装置通过握手信号向第二装置发送变频信息,第二装置根据该变频信息获得数据传输的新时间参数并使用该新时间参数进行数据的接收和/或发送,来完成数据传输时通信参数的调整,提高了通信效率。
实施例3
本实施例中,变频信息包括新时间参数,并通过数据信号进行传输,该数据信号由第 一装置按照当前时间参数产生。图3示出了本申请实施例提供的又一种数据传输方法的流程图,如图3所示,该方法主要包括步骤301至步骤305。
S301、第一装置根据数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据对应关系产生F个数据信号,其中,每个数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,F个数据信号传输新时间参数。
其中,该信号可以为用于传输数据的数据信号。本实施例中采用F个数据信号传输新时间参数。
当前时间参数为第一装置和第二装置正在进行数据传输时采用的时间参数。可选的,该当前时间参数可以包括两个时间参数,第一时间参数etu和第二时间参数pdt。
本步骤中第一装置按照当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,与实施例1中步骤103第二装置根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系的实现类似,在此不再赘述。
示例性的,本步骤中根据数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号的实现如下:以新时间参数采用数据比特序列00101011表示,N为2时为例,此时,2N个长度为N的比特串中各个比特串是指00、01、10、11,当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,可以包括00=etu,01=etu+pdt,10=etu+2pdt,11=etu+3pdt,其中,00=etu表示采用时间间隔为etu的信号传输数据比特串00,01=etu+pdt表示采用时间间隔为etu+pdt的信号传输数据比特串01,10=etu+2pdt表示采用时间间隔为etu+2pdt的信号传输数据比特串10,11=etu+3pdt表示采用时间间隔为etu+3pdt的信号传输数据比特串11。
传输数据比特序列00101011(也就是新时间参数)时,需要进行编码产生5个信号,此时F=5,第一个信号与第二个信号之间的时间间隔为etu,用于传输数据比特串00,第二个信号与第三个信号之间的时间间隔为etu+2pdt,用于传输数据比特串10,第三个信号与第四个信号之间的时间间隔为etu+2pdt,用于传输数据比特串10,第四个信号与第五个信号之间的时间间隔为etu+3pdt,用于传输数据比特串11。
S302、第一装置向第二装置发送F个数据信号。
例如,可以通过以下方式发送F个数据信号:
获取表示新时间参数的数据比特序列;
将数据比特序列进行分组,每组数据比特串为N比特;
根据获取的对应关系,以每组数据比特串对应的时间间隔表示该组数据比特串的方式发送该组数据比特串。
S303、第二装置接收第一装置发送的F个数据信号。
S304、第二装置根据当前时间参数接收F个数据信号并根据F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数。
示例性的,以新时间参数采用数据比特序列00101011表示,N为2时为例,此时通过步骤301中可以获知F=5,当第二装置接收到5个信号后,依次检测5个信号之间的时间间隔,如果检测到的时间间隔为etu,则解码得出传输的数据比特串为00,如果检测到的时间间隔为etu+2pdt,则解码得出传输的数据比特串为10,如果检测到的时间间隔为etu+3pdt,则解码得出传输的数据比特串为11,从而按照接收信号的时间先后依次进行解码即可得到数据比特序列00101011,从而可以得到新时间参数。
S305、第二装置在支持按照新时间参数进行数据传输时,根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
步骤305具体实现可以参见实施例2中步骤205的相关描述,在此不再赘述。
本步骤中,第二装置按照新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送数据信号,该发送的数据信号也可以作为变频确认信息,以通知第一装置可以将数据传输采用的时间参数调整为新时间参数,以获得新时间参数下对应的通信速率。
当然,本实施例中,还可以包括如下步骤:第二装置在支持按照新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。亦即,第二装置仍然采用当前时间参数发送变频确认信息,以通知第一装置可以将数据传输采用的时间参数调整为新时间参数,以获得新时间参数下对应的通信速率,并在之后的数据传输中采用新时间参数进行数据传输。
需要说明的是,可选的,本实施例在步骤301中第一装置在按照当前时间参数产生F个数据信号(该F个数据信号用于传输新时间参数)的同时,第一装置还可以按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第二装置发送其他数据信号。该其他数据信号用于传输第一装置需要发送给第二装置的其他数据,第一装置产生并发送其他数据信号的方式与步骤301中产生并发送F个数据信号的方式相同,在此 不再赘述。或者,可选的,第一装置在按照当前时间参数产生F个数据信号(该F个数据信号用于传输新时间参数)之前,第一装置还可以按照当前时间参数产生握手信号并发送给第二装置。
本实施例中,可以在不中断数据传输的情况下,第一装置通过数据信号向第二装置发送变频信息,第二装置根据该变频信息获得数据传输的新时间参数并使用该新时间参数进行数据的接收和/或发送,来完成数据传输时通信参数的调整,提高了通信效率。
实施例4
本实施例与实施例3的区别在于:变频信息包括新时间参数标识,其他实现过程均与实施例3相同,相同内容不再进行详述,可参见实施例3的相关描述。
本实施例中变频信息也是通过数据信号进行传输,该数据信号由第一装置按照当前时间参数产生。图4示出了本申请实施例提供的还一种数据传输方法的流程图,如图4所示,该方法主要包括以下步骤401至步骤405。
S401、根据数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据对应关系产生F个数据信号,其中,每个数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,F个数据信号包括新时间参数标识。
本实施例中,通过F个数据信号传输新时间参数标识,该新时间参数标识即为变频信息。
S402、第一装置向第二装置发送F个数据信号。
例如,可以通过以下方式发送F个数据信号:
获取表示新时间参数的数据比特序列;将数据比特序列进行分组,每组数据比特串为N比特;根据获取的对应关系,以每组数据比特串对应的时间间隔表示该组数据比特串的方式发送该组数据比特串。
S403、第二装置接收第一装置发送的F个数据信号。
S404、第二装置根据当前时间参数接收F个数据信号并根据F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数标识,在预设表中查找新时间参数标识对应的新时间参数。
其中,该新时间参数标识与新时间参数一一对应。例如,新时间参数标识为0,对应的新时间参数可以为etu=100us,pdt=10us,新时间参数标识为1时,对应的新时间参数可以为etu=10us,pdt=1us等等。预设表用于存储新时间参数标识和新时间参数的对应关系,通过查表即可根据新时间参数标识确定新时间参数。
S405、第二装置在支持按照新时间参数进行数据传输时,根据新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
本步骤中,第二装置按照新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送数据信号,该发送的数据信号也可以作为变频确认信息,以通知第一装置可以将数据传输采用的时间参数调整为新时间参数,以获得新时间参数下对应的通信速率。
当然,本实施例中,还可以包括如下步骤:第二装置在支持按照新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。亦即,第二装置仍然采用当前时间参数发送变频确认信息,以通知第一装置可以将数据传输采用的时间参数调整为新时间参数,以获得新时间参数下对应的通信速率,并在之后的数据传输中采用新时间参数进行数据传输。
需要说明的是,可选的,本实施例在步骤401中第一装置在按照当前时间参数产生F个数据信号(该F个数据信号用于传输新时间参数标识)的同时,第一装置还可以按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第二装置发送其他数据信号。该其他数据信号用于传输第一装置需要发送给第二装置的其他数据,第一装置产生并发送其他数据信号的方式与步骤401中产生并发送F个数据信号的方式相同,在此不再赘述。或者,可选的,第一装置在按照当前时间参数产生F个数据信号(该F个数据信号用于传输新时间参数标识)之前,第一装置还可以按照当前时间参数产生握手信号并发送给第二装置。
本实施例中,可以在不中断数据传输的情况下,第一装置通过数据信号向第二装置发送变频信息,第二装置根据该变频信息获得数据传输的新时间参数并使用该新时间参数进行数据的接收和/或发送,来完成数据传输时通信参数的调整,提高了通信效率。
需要说明的是,在上述实施例1至实施例4中,第二装置在获得新时间参数后,上述方法还可以包括第二装置判断自身是否支持采用新时间参数进行数据传输的步骤,具体实现可以采用如下两种:
方式一、第二装置判断新时间参数是否在自身支持的数据传输时间参数范围内,如果判断得出新时间参数在自身支持的数据传输时间参数范围内,确定第二装置支持按照新时 间参数进行数据传输;
示例性的,第二装置上存储有自身支持的数据传输时间参数范围,例如,edu范围为1us-100us,pdt范围为0.1us-10us,第二装置获得新时间参数后,分别判断新时间参数中的edu取值是否在edu范围内,pdt取值是否在pdt范围内,如果edu的取值和pdt的取值均在各自的范围内,则说明第二装置支持按照新时间参数进行数据传输。否则,例如edu和pdt中至少存在一个取值不在其对应的范围内,则说明第二装置不支持按照新时间参数进行数据传输。
方式二、第二装置在自身支持的数据传输时间参数表中查找是否存在新时间参数,如果查找到新时间参数,确定第二装置支持按照新时间参数进行数据传输。
示例性的,第二装置上存储有自身支持的数据传输时间参数表,例如,见下表:
时间参数标识 edu(us) pdt(us)
0 100 10
1 50 5
2 10 1
第二装置获得新时间参数后,在该表中查找是否包含新时间参数中edu和pdt的取值。如果查找到,则说明第二装置支持按照新时间参数进行数据传输,例如,新时间参数为edu=50us,pdt=5us,此时在上述表中可以查找到时间参数标识为1的时间参数与新时间参数相同则说明第二装置可以按照edu=50us,pdt=5us进行数据传输。否则,说明第二装置不支持按照新时间参数进行数据传输。
当然,可选的,当变频信息采用新时间参数标识时,也可以在第二装置支持的数据传输时间参数表中查找是否存在新时间参数标识,如果查找到新时间参数标识,确定第二装置支持按照新时间参数进行数据传输。
实施例5
本申请实施例还提供一种数据传输系统,用于执行上述数据传输方法,该系统中的功能实现可以参见上述实施例1至4中的相关描述,相同或类似流程在此不再赘述。本系统中第一装置和第二装置可以为主从设备。作为主设备的装置例如可以是终端,作为从设备的装置例如可以是电子支付设备(例如,电子签名工具key,智能卡,key卡合一设备等)。
下面对该系统进行简要说明。
如图5所示,该系统包括:第一装置和第二装置,其中,第一装置,用于获取变频信息,并向第二装置发送变频信息;第二装置,用于接收第一装置发送的变频信息,并根据变频信息确定数据传输的新时间参数;在支持按照新时间参数进行数据传输时,根据新时 间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
示例性的,第一装置可以通过握手信号传输变频信息,变频信息包括新时间参数;此时,第一装置,具体用于按照新时间参数确定第一时间间隔组和/或第二时间间隔组;按照第一时间间隔组和/或第二时间间隔组产生K个握手信号,握手信号包括新时间参数,第一时间间隔组包括至少一个第一时间间隔,第二时间间隔组包括至少一个第二时间间隔,第一时间间隔与第二时间间隔之间满足预设关系,第一时间间隔为第i个握手信号的开始时刻与第i-1个握手信号的开始时刻之间的时间间隔,第二时间间隔为第i个握手信号的开始时刻与第i+1个握手信号的开始时刻之间的时间间隔,i=2,4,……,2j,j=(K-1)/2,K≥3且K为奇数。
第二装置,具体用于获取K个握手信号中的第一时间间隔组和/或第二时间间隔组;根据第一时间间隔组和/或第二时间间隔组确定数据传输的新时间参数。
示例性的,第一装置可以通过数据信号传输变频信息,变频信息包括新时间参数;此时,第一装置,具体用于根据数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据对应关系产生F个数据信号,其中,每个数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,F个数据信号传输新时间参数;第二装置,具体用于根据当前时间参数接收F个数据信号并根据F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数。
示例性的,第一装置可以通过数据信号传输变频信息,变频信息包括新时间参数标识;此时第一装置,具体用于根据数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据对应关系产生F个数据信号,其中,每个数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,F个数据信号传输新时间参数标识;第二装置,具体用于根据当前时间参数接收F个数据信号并根据F个数据信号中的时间间隔获得新时间参数标识,在预设表中查找新时间参数标识对应的新时间参数。
另外,为了通知第一装置是否可以进行变频,第二装置,还用于在支持按照新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。
示例性的,本申请实施例提供的系统中第二装置还可以实现判断自身是否支持按照新 时间参数进行数据传输的功能,具体实现如下:
第二装置,还用于判断新时间参数是否在自身支持的数据传输时间参数范围内,如果判断得出新时间参数在自身支持的数据传输时间参数范围内,确定第二装置支持按照新时间参数进行数据传输;或者,第二装置,还用于在自身支持的数据传输时间参数表中查找是否存在新时间参数,如果查找到新时间参数,确定第二装置支持按照新时间参数进行数据传输。
本实施例提供的系统中,可以在不中断数据传输的情况下,第一装置通过数据信号向第二装置发送变频信息,第二装置根据该变频信息获得数据传输的新时间参数并使用该新时间参数进行数据的接收和/或发送,来完成数据传输时通信参数的调整,提高了通信效率。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包 含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在不脱离本申请的原理和宗旨的情况下在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。本申请的范围由所附权利要求及其等同限定。

Claims (16)

  1. 一种数据传输方法,其特征在于,包括:
    第一装置获取变频信息,并向第二装置发送所述变频信息;
    所述第二装置接收所述第一装置发送的所述变频信息,并根据所述变频信息确定数据传输的新时间参数;
    所述第二装置在支持按照所述新时间参数进行数据传输时,根据所述新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
  2. 根据权利要求1所述的方法,其特征在于,所述第一装置获取变频信息包括:
    第一装置产生用于确定新时间参数的握手信号。
  3. 根据权利要求2所述的方法,其特征在于,所述第一装置产生用于确定新时间参数的握手信号包括:第一装置确定产生握手信号的个数,按照所述个数产生握手信号,所述握手信号中的时间间隔用于确定新时间参数;
    所述根据所述变频信息确定数据传输的新时间参数包括:获取握手信号中的时间间隔,根据所述时间间隔确定新时间参数。
  4. 根据权利要求2所述的方法,其特征在于,所述变频信息包括新时间参数;
    所述第一装置产生用于确定新时间参数的握手信号包括:所述第一装置按照所述新时间参数确定第一时间间隔组和/或第二时间间隔组;按照所述第一时间间隔组和/或所述第二时间间隔组产生K个握手信号,所述握手信号包括所述新时间参数,所述第一时间间隔组包括至少一个第一时间间隔,所述第二时间间隔组包括至少一个第二时间间隔,所述第一时间间隔与所述第二时间间隔之间满足预设关系,所述第一时间间隔为第i个所述握手信号的开始时刻与第i-1个所述握手信号的开始时刻之间的时间间隔,所述第二时间间隔为第i个所述握手信号的开始时刻与第i+1个所述握手信号的开始时刻之间的时间间隔,i=2,4,……,2j,j=(K-1)/2,K≥3且K为奇数;
    所述根据所述变频信息确定数据传输的新时间参数包括:获取所述K个握手信号中的所述第一时间间隔组和/或所述第二时间间隔组;根据所述第一时间间隔组和/或所述第二时间间隔组确定数据传输的新时间参数。
  5. 根据权利要求1所述的方法,其特征在于,所述变频信息包括新时间参数;
    所述第一装置获取变频信息包括:根据所述数据传输的当前时间参数获得当前时间参 数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数;
    所述根据所述变频信息确定数据传输的新时间参数包括:根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数。
  6. 根据权利要求1所述的方法,其特征在于,所述变频信息包括新时间参数标识;
    所述第一装置获取变频信息包括:根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数标识;
    所述根据所述变频信息确定数据传输的新时间参数包括:根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数标识,在预设表中查找所述新时间参数标识对应的新时间参数。
  7. 根据权利要求5或6所述的方法,其特征在于,还包括:
    所述第二装置在支持按照所述新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,还包括:
    所述第二装置判断所述新时间参数是否在自身支持的数据传输时间参数范围内,如果判断得出所述新时间参数在自身支持的数据传输时间参数范围内,确定第二装置支持按照所述新时间参数进行数据传输;或者,
    所述第二装置在自身支持的数据传输时间参数表中查找是否存在所述新时间参数,如果查找到所述新时间参数,确定第二装置支持按照所述新时间参数进行数据传输。
  9. 一种数据传输系统,其特征在于,包括:第一装置和第二装置;
    所述第一装置,用于获取变频信息,并向第二装置发送所述变频信息;
    所述第二装置,用于接收所述第一装置发送的所述变频信息,并根据所述变频信息确定数据传输的新时间参数;在支持按照所述新时间参数进行数据传输时,根据所述新时间参数获得新时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系,并根据所述对应关系发送数据信号,或者,根据所述新时间参数接收数据信号并根据数据信号 中的时间间隔获得所述时间间隔对应的比特串,其中,2N个所述比特串互不相同,且不同所述比特串对应的时间间隔不同,N≥1。
  10. 根据权利要求9所述的系统,其特征在于,
    第一装置,具体用于产生用于确定新时间参数的握手信号。
  11. 根据权利要求9所述的系统,其特征在于,
    所述第一装置,具体用于确定产生握手信号的个数,按照所述个数产生握手信号,所述握手信号中的时间间隔用于确定新时间参数;
    所述第二装置,具体用于获取握手信号中的时间间隔,根据所述时间间隔确定新时间参数。
  12. 根据权利要求9所述的系统,其特征在于,所述变频信息包括新时间参数;
    所述第一装置,具体用于按照所述新时间参数确定第一时间间隔组和/或第二时间间隔组;按照所述第一时间间隔组和/或所述第二时间间隔组产生K个握手信号,所述握手信号包括所述新时间参数,所述第一时间间隔组包括至少一个第一时间间隔,所述第二时间间隔组包括至少一个第二时间间隔,所述第一时间间隔与所述第二时间间隔之间满足预设关系,所述第一时间间隔为第i个所述握手信号的开始时刻与第i-1个所述握手信号的开始时刻之间的时间间隔,所述第二时间间隔为第i个所述握手信号的开始时刻与第i+1个所述握手信号的开始时刻之间的时间间隔,i=2,4,……,2j,j=(K-1)/2,K≥3且K为奇数;
    所述第二装置,具体用于获取所述K个握手信号中的所述第一时间间隔组和/或所述第二时间间隔组;根据所述第一时间间隔组和/或所述第二时间间隔组确定数据传输的新时间参数。
  13. 根据权利要求9所述的系统,其特征在于,所述变频信息包括新时间参数;
    所述第一装置,具体用于根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数;
    所述第二装置,具体用于根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数。
  14. 根据权利要求9所述的系统,其特征在于,所述变频信息包括新时间参数标识;
    所述第一装置,具体用于根据所述数据传输的当前时间参数获得当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系并根据所述对应关系产生F个数据信号,其中,每个所述数据信号的开始时刻与相邻的上一个信号的开始时刻的时间间隔为一个比特串对应的时间间隔,F≥1且F为自然数,所述F个数据信号传输新时间参数标识;
    所述第二装置,具体用于根据所述当前时间参数接收F个数据信号并根据所述F个数据信号中各个数据信号的开始时刻之间的时间间隔获得新时间参数标识,在预设表中查找所述新时间参数标识对应的新时间参数。
  15. 根据权利要求13或14所述的系统,其特征在于,所述第二装置,还用于在支持按照所述新时间参数进行数据传输时,按照当前时间参数下2N个长度为N的比特串中各个比特串与时间间隔的对应关系向第一装置发送用于表示变频确认信息的数据信号。
  16. 根据权利要求9至15中任一项所述的系统,其特征在于,
    所述第二装置,还用于判断所述新时间参数是否在自身支持的数据传输时间参数范围内,如果判断得出所述新时间参数在自身支持的数据传输时间参数范围内,确定第二装置支持按照所述新时间参数进行数据传输;或者,
    所述第二装置,还用于在自身支持的数据传输时间参数表中查找是否存在所述新时间参数,如果查找到所述新时间参数,确定第二装置支持按照所述新时间参数进行数据传输。
PCT/CN2016/099620 2015-09-21 2016-09-21 数据传输方法及系统 WO2017050232A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510605469.2A CN106027196B (zh) 2015-09-21 2015-09-21 一种数据传输方法及系统
CN201510605469.2 2015-09-21

Publications (1)

Publication Number Publication Date
WO2017050232A1 true WO2017050232A1 (zh) 2017-03-30

Family

ID=57082439

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099620 WO2017050232A1 (zh) 2015-09-21 2016-09-21 数据传输方法及系统

Country Status (2)

Country Link
CN (1) CN106027196B (zh)
WO (1) WO2017050232A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549729B (zh) * 2015-09-21 2020-09-15 天地融科技股份有限公司 数据发送方法和装置及数据接收方法和装置
CN107124248B (zh) * 2017-03-20 2019-11-15 天地融科技股份有限公司 一种通信方法、装置及系统
CN114499745A (zh) * 2020-10-27 2022-05-13 华为技术有限公司 一种通信方法及相关设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350678A (zh) * 1999-03-15 2002-05-22 格姆普拉斯公司 用于传送数字传输协议的参量的方法
US8112039B2 (en) * 2006-12-11 2012-02-07 Xirrus, Inc. System and method for detecting radar signals in wireless communications access points
CN103716270A (zh) * 2011-09-26 2014-04-09 天地融科技股份有限公司 一种数据发送、接收方法及装置
JP2014235595A (ja) * 2013-06-03 2014-12-15 株式会社リコー 非接触型通信方式判定回路、非接触型通信回路及びicカード
CN104662808A (zh) * 2012-09-27 2015-05-27 高通股份有限公司 用于生成nfc发起方发射波形的脉冲整形

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333054B (zh) * 2011-09-26 2015-06-17 天地融科技股份有限公司 一种数据发送、接收方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350678A (zh) * 1999-03-15 2002-05-22 格姆普拉斯公司 用于传送数字传输协议的参量的方法
US8112039B2 (en) * 2006-12-11 2012-02-07 Xirrus, Inc. System and method for detecting radar signals in wireless communications access points
CN103716270A (zh) * 2011-09-26 2014-04-09 天地融科技股份有限公司 一种数据发送、接收方法及装置
CN104662808A (zh) * 2012-09-27 2015-05-27 高通股份有限公司 用于生成nfc发起方发射波形的脉冲整形
JP2014235595A (ja) * 2013-06-03 2014-12-15 株式会社リコー 非接触型通信方式判定回路、非接触型通信回路及びicカード

Also Published As

Publication number Publication date
CN106027196A (zh) 2016-10-12
CN106027196B (zh) 2019-07-30

Similar Documents

Publication Publication Date Title
WO2013044686A1 (zh) 一种数据发送、接收方法及装置
US20180376370A1 (en) Wakeup packet preamble
WO2017050234A1 (zh) 数据传输方法及数据处理设备
WO2017050232A1 (zh) 数据传输方法及系统
WO2014139303A1 (zh) 一种无线信道参考信号的发送方法、装置和计算机存储介质
ES2618005T3 (es) Procedimiento, equipo de usuario y estación base para implementar una solicitud de repetición automática híbrida
WO2021017702A1 (zh) 一种信号传输方法及装置
US20140269666A1 (en) Method and apparatus for efficient signaling of communication mode and delimiter information
WO2020125455A1 (zh) 一种信号处理方法及装置
WO2018171432A1 (zh) 下行同步方法和装置
CN105493562A (zh) 信息发送方法、检测方法及其装置、通信系统
JP2017050874A (ja) 物理層送信特性の調節
TW201918047A (zh) 發送下行控制通道的方法、檢測接收下行控制通道的方法和設備
CN107205265B (zh) 一种无线保真wi-fi测距方法、相关设备及系统
WO2017050235A1 (zh) 数据发送方法和装置及数据接收方法和装置
WO2019095916A1 (zh) 一种非授权频段上同步信号的发送方法、网络设备及终端设备
US20240040633A1 (en) Generating random access signals with bearer information
US9544100B2 (en) Techniques to stop transmission of data based on reception of an acknowledgment within a specified time
WO2021119941A1 (zh) 反射通信的方法和通信装置
JP6461362B2 (ja) チャネル送信方法及び装置、並びにチャネル受信方法及び装置
WO2018141214A1 (zh) 数据发送方法、终端设备及存储介质
TWI753475B (zh) 同步信號發送方法、終端及裝置、電腦可讀存儲介質
CN107124248B (zh) 一种通信方法、装置及系统
WO2016000372A1 (zh) 序列检测方法、装置及计算机存储介质
WO2020151480A9 (zh) 一种信号发送、接收方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16848113

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16848113

Country of ref document: EP

Kind code of ref document: A1