WO2016161752A1 - 一种数据传输方法和装置 - Google Patents

一种数据传输方法和装置 Download PDF

Info

Publication number
WO2016161752A1
WO2016161752A1 PCT/CN2015/088411 CN2015088411W WO2016161752A1 WO 2016161752 A1 WO2016161752 A1 WO 2016161752A1 CN 2015088411 W CN2015088411 W CN 2015088411W WO 2016161752 A1 WO2016161752 A1 WO 2016161752A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile device
data
sound wave
verification
modulated
Prior art date
Application number
PCT/CN2015/088411
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 北京橙鑫数据科技有限公司
Priority to JP2017553024A priority Critical patent/JP2018533230A/ja
Publication of WO2016161752A1 publication Critical patent/WO2016161752A1/zh
Priority to US15/719,471 priority patent/US20180054261A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/27Monitoring; Testing of receivers for locating or positioning the transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
  • the mobile device when data is transmitted between mobile devices, the mobile device needs to enable Bluetooth, NFC or WIFI, so that the mobile device can search, discover and pair with each other. After the pairing is successful, the mobile device can perform data transmission.
  • the mobile device needs to set a special antenna to implement functions such as Bluetooth, NFC or WIFI, and transmit wireless signals through the antenna to realize search, discovery and pairing of the mobile device, which consumes a large amount of power and is easy for the mobile device.
  • the antenna associated with the call causes interference.
  • the present invention provides a data transmission method and apparatus for solving the problem of large power consumption when transmitting data between mobile devices in the prior art, and which is easy to cause interference to an antenna related to a mobile device call.
  • a first aspect of the present invention provides a data transmission method including:
  • the first mobile device acquires verification data to be sent
  • the first mobile device performs protocol encapsulation, encoding, and modulation on the verification data to obtain modulated verification data.
  • the first mobile device acquires data to be transmitted, performs protocol encapsulation, encoding, and modulation on the data to be transmitted, obtains modulated data to be transmitted, and loads the modulated data to be transmitted onto the sound wave and sends the verification to the verification.
  • the second mobile device acquires data to be transmitted, performs protocol encapsulation, encoding, and modulation on the data to be transmitted, obtains modulated data to be transmitted, and loads the modulated data to be transmitted onto the sound wave and sends the verification to the verification.
  • the second mobile device acquires data to be transmitted, performs protocol encapsulation, encoding, and modulation on the data to be transmitted, obtains modulated data to be transmitted, and loads the modulated data to be transmitted onto the sound wave and sends the verification to the verification.
  • the verification success message carries: a received power of the sound wave
  • the first mobile device acquires data to be transmitted, performs protocol encapsulation, encoding, and modulation on the data to be transmitted, obtains modulated data to be transmitted, and loads the modulated data to be transmitted onto the sound wave and sends the verification to the verification.
  • the method further includes:
  • the first mobile device acquires a transmit power of the sound wave
  • the first mobile device adjusts the transmit power of the sound wave according to the distance.
  • the verification success message carries:
  • the first mobile device acquires data to be transmitted, performs protocol encapsulation, encoding, and modulation on the data to be transmitted, obtains modulated data to be transmitted, and loads the modulated data to be transmitted onto the sound wave and sends the verification to the verification.
  • the method further includes:
  • the first mobile device acquires location information of itself
  • the first mobile device adjusts a transmit power and a transmit direction of the sound wave according to the distance and the orientation.
  • the first mobile device loads the modulated verification data onto the sound wave and sends it to the second mobile device in the preset range
  • the first mobile device further includes:
  • the first mobile device encrypts the modulated verification data according to a preset password.
  • the sound wave is an ultrasonic wave having a frequency of 25 kHz or more.
  • Another aspect of the present invention provides a data transmission apparatus, including:
  • An obtaining module configured to obtain verification data to be sent
  • a modulation module configured to perform protocol encapsulation, encoding, and modulation on the verification data to obtain modulated verification data
  • a sending module configured to load the modulated verification data onto the sound wave and send the second mobile device to the second mobile device in the preset range, so that the second mobile device performs the verification data after the modulation After the demodulation, decoding, and protocol processing is successful, returning a verification success message to the first mobile device;
  • a receiving module configured to receive a verification success message returned by the second mobile device
  • the obtaining module is further configured to acquire data to be transmitted;
  • the modulating module is further configured to perform protocol encapsulation, encoding, and modulation on the to-be-transmitted data to obtain modulated data to be transmitted;
  • the sending module is further configured to load the modulated data to be transmitted onto the sound wave and send the data to the second mobile device that is successfully verified.
  • the verification success message carries: a received power of the sound wave
  • the device further includes: a first determining module and a first adjusting module;
  • the sending module loads the modulated data to be transmitted to the sound wave and sends the data to the second mobile device that is successfully verified
  • the acquiring module is further configured to acquire the sending power of the sound wave
  • the first determining module is configured to determine a distance between the first mobile device and the second mobile device according to the received power and the transmit power of the sound wave;
  • the first adjustment module is configured to adjust a transmit power of the sound wave according to the distance.
  • the verification success message carries: location information of the second mobile device
  • the device further includes: a second determining module and a second adjusting module;
  • the acquiring module is further configured to acquire the location information of the first mobile device
  • the second determining module is configured to determine a distance between the first mobile device and the second mobile device according to location information of the first mobile device and location information of the second mobile device, and An orientation of the second mobile device relative to the first mobile device;
  • the second adjustment module is configured to adjust a transmit power and a transmit direction of the sound wave according to the distance and the orientation.
  • the device further includes: an encryption module;
  • the sending module is configured to: after the modulated verification data is loaded on the sound wave and sent to the second mobile device in the preset range, the encryption module is configured to perform the modulated verification data according to the preset password. encryption.
  • the sound wave is an ultrasonic wave having a frequency of 25 kHz or more.
  • the first mobile device transmits the verification data to the second mobile device through the sound wave, and transmits the data to the second mobile device through the sound wave after the second mobile device successfully verifies, thereby passing the microphones of the first mobile device and the second mobile device.
  • the sounding device such as a speaker, realizes data transmission between the first mobile device and the second mobile device, consumes a small amount of power, and does not cause interference to the antenna related to the mobile device call.
  • FIG. 1 is a flowchart of an embodiment of a data transmission method according to the present invention.
  • FIG. 2 is a schematic structural diagram of an embodiment of a data transmission apparatus according to the present invention.
  • FIG. 3 is a schematic structural diagram of still another embodiment of a data transmission apparatus according to the present invention.
  • FIG. 4 is a schematic structural diagram of another embodiment of a data transmission apparatus according to the present invention.
  • FIG. 1 is a flowchart of an embodiment of a data transmission method according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
  • the first mobile device acquires verification data to be sent.
  • the execution body of the data transmission method provided by the present invention is a data transmission device, and the data transmission device may specifically be any one of two or more mobile devices that need to perform data transmission, or two or more devices that need to perform data transmission. Software or applications in mobile devices.
  • the first mobile device performs protocol encapsulation, encoding, and modulation on the verification data to obtain modulated verification data.
  • the first mobile device loads the modulated verification data onto the sound wave and sends the verification data to the second mobile device in the preset range, so that the second mobile device performs demodulation, decoding, and protocol processing on the modulated verification data.
  • the verification success message is returned to the first mobile device.
  • the sound wave may be an ultrasonic wave with a frequency greater than or equal to 25 kHz.
  • the first mobile device may activate a function of transmitting the sound wave and receiving the sound wave of the first mobile device by using a corresponding button, so that the first mobile device can send the data loaded with the data.
  • the sound wave or the sound wave loaded with the data for example, the first mobile device can transmit the sound wave loaded with the verification data; the second mobile device can also activate the function of transmitting the sound wave and receiving the sound wave of the second mobile device through the corresponding button.
  • the verification data to be sent may carry the identifier of the first mobile device; the first mobile device loads the modulated verification data onto the sound wave After being sent to the second mobile device in the preset range, if the second mobile device demodulates, decodes, and performs protocol processing on the modulated verification data to obtain the identifier of the first mobile device, the second mobile device succeeds in verification.
  • the mobile device returns a verification success message including the self identification to the first mobile device; if the second mobile device demodulates, decodes, and processes the modulated verification data to obtain garbled or other data, the second mobile device verifies Unsuccessful, the second mobile device does not return a verification success message.
  • the data to be sent may also carry other data, for example, a pre-negotiated value or a picture, which is not limited herein.
  • the data carried in the verification data to be sent may be set according to specific conditions. set.
  • the first mobile device may encrypt the modulated verification data according to a preset password.
  • the second mobile device may perform decryption first, and if the decryption succeeds, perform demodulation, decoding, and protocol processing operations; if the decryption fails, the verification fails.
  • the first mobile device receives a verification success message returned by the second mobile device.
  • the first mobile device acquires data to be transmitted, performs protocol encapsulation, encoding, and modulation on the data to be transmitted, obtains modulated data to be transmitted, and loads the modulated data to be transmitted onto the sound wave and sends the data to the second mobile device that is successfully verified. .
  • the verification success message carries: the received power of the sound wave.
  • the method may further include: the first mobile device acquires the transmit power of the sound wave; and the first mobile device determines the first according to the received power and the transmit power of the sound wave. The distance between the mobile device and the second mobile device; the first mobile device adjusts the transmit power of the sound wave according to the distance.
  • the first mobile device can adjust the attenuation of the sound wave, so that the second mobile device can receive the sound wave, and is more distant from the first mobile device.
  • Other mobile devices far away can not receive sound waves, save energy under the premise of ensuring that the second mobile device receives sound waves, and can avoid other mobile devices that are farther away from the first mobile device to feedback or echo the sound waves to the first Interference caused by mobile devices.
  • the verification success message carries: location information of the second mobile device.
  • the method may further include: the first mobile device acquiring the location information of the first mobile device; the first mobile device determining, according to the location information of the first mobile device and the location information of the second mobile device, the first mobile device and the second The distance between the mobile devices and the orientation of the second mobile device relative to the first mobile device; the first mobile device adjusts the transmit power and the transmit direction of the sound waves according to the distance and the orientation.
  • the first mobile device can adjust the attenuation of the sound wave and the orientation of the sound wave so that only the position where the second mobile device is located can receive the sound wave, and the other mobile devices at other positions can not receive the sound wave, or
  • the received sound wave has a poor signal, thereby saving energy under the premise of ensuring that the second mobile device receives the sound wave, and can avoid interference of the first mobile device when other mobile devices in other locations feedback or echo the sound wave.
  • the first mobile device sends the verification data to the second mobile device by using the sound wave, and after the second mobile device successfully verifies, the data is transmitted to the second mobile device by using the sound wave, thereby passing through the first mobile device and the second mobile device.
  • a sounding device such as a microphone or a speaker realizes data transmission between the first mobile device and the second mobile device, and consumes less power, and does not cause interference to the antenna related to the mobile device call.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 2 is a schematic structural diagram of an embodiment of a data transmission apparatus according to the present invention. As shown in FIG. 2, the method includes: an acquisition module 21, a modulation module 22, a sending module 23, and a receiving module 24;
  • the obtaining module 21 is configured to obtain verification data to be sent
  • the modulating module 22 is configured to perform protocol encapsulation, encoding, and modulation on the verification data to obtain modulated verification data.
  • the sending module 23 is configured to load the modulated verification data onto the sound wave and send it to the second mobile device in the preset range, so that the second mobile device performs demodulation, decoding, and protocol processing on the modulated verification data.
  • the verification success message is returned to the first mobile device.
  • the sound wave may be an ultrasonic wave with a frequency greater than or equal to 25 kHz.
  • the receiving module 24 is configured to receive a verification success message returned by the second mobile device
  • the obtaining module 21 is further configured to acquire data to be transmitted;
  • the modulating module 22 is further configured to perform protocol encapsulation, encoding, and modulation on the data to be transmitted, to obtain modulated data to be transmitted;
  • the sending module 23 is further configured to load the modulated data to be transmitted onto the sound wave and send the data to the second mobile device that is successfully verified.
  • FIG. 3 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention, in order to improve the security of data transmission, the apparatus may further include: an encryption module 25;
  • the encryption module 25 is configured to encrypt the modulated verification data according to the preset password.
  • the second mobile device may perform decryption first, and if the decryption succeeds, perform demodulation, decoding, and protocol processing operations; if the decryption fails, the verification fails.
  • the verification success message carries: the received power of the sound wave.
  • the device further includes: a first determining module 26 and a first adjusting module 27;
  • the acquiring module 21 is further configured to acquire the sending power of the sound wave;
  • the first determining module 26 is configured to determine the first shift according to the received power and the transmit power of the sound wave. The distance between the mobile device and the second mobile device;
  • the first adjustment module 27 is configured to adjust the transmission power of the sound wave according to the distance.
  • the verification success message carries: location information of the second mobile device
  • the device may further include: a second determining module 28 and a second adjusting module 29; as shown in FIG. 4, FIG. 4 is a schematic structural diagram of another embodiment of a data transmission device according to the present invention.
  • the obtaining module 21 is further configured to acquire the location information of the device.
  • the second determining module 28 is configured to determine a distance between the first mobile device and the second mobile device according to the location information of the first mobile device and the location information of the second mobile device, and the second mobile device is relative to the first mobile device The orientation of the equipment;
  • the second adjustment module 29 is configured to adjust the transmission power and the transmission direction of the sound wave according to the distance and the orientation.
  • the first mobile device sends the verification data to the second mobile device by using the sound wave, and after the second mobile device successfully verifies, the data is transmitted to the second mobile device by using the sound wave, thereby passing through the first mobile device and the second mobile device.
  • a sounding device such as a microphone or a speaker realizes data transmission between the first mobile device and the second mobile device, and consumes less power, and does not cause interference to the antenna related to the mobile device call.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明涉及一种数据传输方法和装置,其中方法包括:第一移动设备通过声波向第二移动设备发送验证数据,在第二移动设备验证成功后通过声波向第二移动设备传输数据,从而通过第一移动设备和第二移动设备的麦克风、扬声器等发声装置等实现第一移动设备和第二移动设备之间的数据传输,耗电量小,且不会对移动设备通话相关的天线造成干扰。

Description

一种数据传输方法和装置 技术领域
本发明涉及通信技术领域,尤其涉及一种数据传输方法和装置。
背景技术
目前,移动设备之间传输数据时,移动设备需要先开启蓝牙、NFC或WIFI等,使得移动设备能够进行相互搜索、发现和配对,配对成功后移动设备之间才能够进行数据传输。
然而,现有技术中,移动设备需要设置专门的天线来实现蓝牙、NFC或WIFI等功能,通过天线发射无线信号来实现移动设备的搜索、发现和配对,耗电量大,且容易对移动设备通话相关的天线造成干扰。
发明内容
本发明提供一种数据传输方法和装置,用于解决现有技术中移动设备之间传输数据时耗电量大,且容易对移动设备通话相关的天线造成干扰的问题。
本发明的第一个方面是提供一种数据传输方法,包括:
第一移动设备获取待发送的验证数据;
所述第一移动设备对所述验证数据进行协议封装、编码和调制,得到调制后的验证数据;
所述第一移动设备将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备,以使所述第二移动设备在对所述调制后的验证数据进行解调、解码和协议处理成功后向所述第一移动设备返回验证成功消息;
所述第一移动设备接收所述第二移动设备返回的验证成功消息;
所述第一移动设备获取待传输数据,对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备。
进一步地,所述验证成功消息中携带:所述声波的接收功率;
所述第一移动设备获取待传输数据,对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,还包括:
所述第一移动设备获取所述声波的发送功率;
所述第一移动设备根据所述声波的接收功率和发送功率,确定所述第一移动设备和所述第二移动设备之间的距离;
所述第一移动设备根据所述距离对所述声波的发送功率进行调整。
进一步地,所述验证成功消息中携带:
所述第二移动设备的位置信息;
所述第一移动设备获取待传输数据,对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,还包括:
所述第一移动设备获取自身的位置信息;
所述第一移动设备根据所述第一移动设备的位置信息和所述第二移动设备的位置信息,确定所述第一移动设备与所述第二移动设备之间的距离,以及所述第二移动设备相对于所述第一移动设备的方位;
所述第一移动设备根据所述距离和所述方位对所述声波的发送功率和发射方向进行调整。
进一步地,所述第一移动设备将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备之前,还包括:
所述第一移动设备按照预设的密码对所述调制后的验证数据进行加密。
进一步地,所述声波为频率大于等于25khz的超声波。
本发明的另一个方面提供一种数据传输装置,包括:
获取模块,用于获取待发送的验证数据;
调制模块,用于对所述验证数据进行协议封装、编码和调制,得到调制后的验证数据;
发送模块,用于将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备,以使所述第二移动设备在对所述调制后的验证数据 进行解调、解码和协议处理成功后向第一移动设备返回验证成功消息;
接收模块,用于接收所述第二移动设备返回的验证成功消息;
所述获取模块,还用于获取待传输数据;
所述调制模块,还用于对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据;
所述发送模块,还用于将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备。
进一步地,所述验证成功消息中携带:所述声波的接收功率;
所述装置还包括:第一确定模块和第一调整模块;
所述发送模块将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,所述获取模块还用于,获取所述声波的发送功率;
所述第一确定模块用于,根据所述声波的接收功率和发送功率,确定所述第一移动设备和所述第二移动设备之间的距离;
所述第一调整模块用于,根据所述距离对所述声波的发送功率进行调整。
进一步地,所述验证成功消息中携带:所述第二移动设备的位置信息;
所述装置还包括:第二确定模块和第二调整模块;
所述发送模块将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,所述获取模块还用于,获取所述第一移动设备的位置信息;
所述第二确定模块用于,根据所述第一移动设备的位置信息和所述第二移动设备的位置信息,确定所述第一移动设备与所述第二移动设备之间的距离,以及所述第二移动设备相对于所述第一移动设备的方位;
所述第二调整模块用于,根据所述距离和所述方位对所述声波的发送功率和发射方向进行调整。
进一步地,所述装置还包括:加密模块;
所述发送模块将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备之前,所述加密模块用于,按照预设的密码对所述调制后的验证数据进行加密。
进一步地,所述声波为频率大于等于25khz的超声波。
本发明中,第一移动设备通过声波向第二移动设备发送验证数据,在第二移动设备验证成功后通过声波向第二移动设备传输数据,从而通过第一移动设备和第二移动设备的麦克风、扬声器等发声装置等实现第一移动设备和第二移动设备之间的数据传输,耗电量小,且不会对移动设备通话相关的天线造成干扰。
附图说明
图1为本发明提供的一种数据传输方法一个实施例的流程图;
图2为本发明提供的一种数据传输装置一个实施例的结构示意图;
图3为本发明提供的一种数据传输装置又一个实施例的结构示意图;
图4为本发明提供的一种数据传输装置另一个实施例的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明提供的一种数据传输方法一个实施例的流程图,如图1所示,具体包括以下步骤:
101、第一移动设备获取待发送的验证数据。
本发明提供的数据传输方法的执行主体为数据传输装置,数据传输装置具体可以为需要进行数据传输的两个或多个移动设备中的任意一个,或者安装在需要进行数据传输的两个或多个移动设备中的软件或应用。
102、第一移动设备对验证数据进行协议封装、编码和调制,得到调制后的验证数据。
103、第一移动设备将调制后的验证数据加载到声波上发送给预设范围内的第二移动设备,以使第二移动设备在对调制后的验证数据进行解调、解码和协议处理成功后向第一移动设备返回验证成功消息。
其中,为了保证第一移动设备发送的声波能够到达第二移动设备所在的位置,声波具体可以为频率大于等于25khz的超声波。
具体地,第一移动设备和第二移动设备需要传输数据时,第一移动设备可以通过相应按键启动第一移动设备的发送声波和接收声波的功能,使得第一移动设备可以发送加载有数据的声波或者接收加载有数据的声波,例如第一移动设备可以发送加载有验证数据的声波;第二移动设备也可以通过相应按键启动第二移动设备的发送声波和接收声波的功能。
第一移动设备和第二移动设备之间的一种可选的验证机制为:待发送的验证数据中可以携带第一移动设备的标识;第一移动设备将调制后的验证数据加载到声波上发送给预设范围内的第二移动设备后,若第二移动设备对调制后的验证数据进行解调、解码和协议处理后得到第一移动设备的标识,则第二移动设备验证成功,第二移动设备将包括自身标识的验证成功消息返回给第一移动设备;若第二移动设备对调制后的验证数据进行解调、解码和协议处理后得到乱码或者其他数据,则第二移动设备验证不成功,第二移动设备不返回验证成功消息。
需要进行说明的是,待发送的验证数据中也可以携带其他数据,例如,预先协商好的数值或者图片等,此处不做限定,待发送的验证数据中携带的数据可以根据具体情况进行设定。
进一步地,为了提高数据传输的安全性,第一移动设备可以按照预设的密码对调制后的验证数据进行加密。对应的,第二移动设备接收到调制后的验证数据后,可以先进行解密,若解密成功,再进行解调、解码和协议处理的操作;若解密失败,则验证失败。
104、第一移动设备接收第二移动设备返回的验证成功消息。
105、第一移动设备获取待传输数据,对待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将调制后的待传输数据加载到声波上发送给验证成功的第二移动设备。
可选的,为了减少耗电量,节省电源,在第一种实施场景下,验证成功消息中携带:声波的接收功率。
对应的,步骤105之前,所述方法还可以包括:第一移动设备获取声波的发送功率;第一移动设备根据声波的接收功率和发送功率,确定第一 移动设备和第二移动设备之间的距离;第一移动设备根据距离对声波的发送功率进行调整。
在本实施例中,若第二移动设备与第一移动设备之间的距离较近,第一移动设备可以调整声波的衰减,使得第二移动设备能够接收到声波,而距离第一移动设备更远的其他移动设备则接收不到声波,在保证第二移动设备接收到声波的前提下节省能量,并且能够避免距离第一移动设备更远的其他移动设备对声波进行反馈或回声时对第一移动设备造成的干扰。
可选的,为了减少耗电量,节省电源,在第二种实施场景下,验证成功消息中携带:第二移动设备的位置信息。
对应的,步骤105之前,所述方法还可以包括:第一移动设备获取自身的位置信息;第一移动设备根据自身的位置信息和第二移动设备的位置信息,确定第一移动设备与第二移动设备之间的距离,以及第二移动设备相对于第一移动设备的方位;第一移动设备根据距离和方位对声波的发送功率和发射方向进行调整。
在本实施例中,第一移动设备可以调整声波的衰减和声波的方位,使得只有第二移动设备所在的位置能够接收到声波,而处在其他位置的其他移动设备则接收不到声波,或者接收到的声波的信号很差,从而在保证第二移动设备接收到声波的前提下节省能量,并且能够避免其他位置的其他移动设备对声波进行反馈或回声时对第一移动设备造成的干扰。
本实施例中,第一移动设备通过声波向第二移动设备发送验证数据,在第二移动设备验证成功后通过声波向第二移动设备传输数据,从而通过第一移动设备和第二移动设备的麦克风、扬声器等发声装置等实现第一移动设备和第二移动设备之间的数据传输,耗电量小,且不会对移动设备通话相关的天线造成干扰。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
图2为本发明提供的一种数据传输装置一个实施例的结构示意图,如图2所示,包括:获取模块21、调制模块22、发送模块23和接收模块24;
获取模块21,用于获取待发送的验证数据;
调制模块22,用于对验证数据进行协议封装、编码和调制,得到调制后的验证数据;
发送模块23,用于将调制后的验证数据加载到声波上发送给预设范围内的第二移动设备,以使第二移动设备在对调制后的验证数据进行解调、解码和协议处理成功后向第一移动设备返回验证成功消息。
其中,为了保证第一移动设备发送的声波能够到达第二移动设备所在的位置,声波具体可以为频率大于等于25khz的超声波。
接收模块24,用于接收第二移动设备返回的验证成功消息;
获取模块21,还用于获取待传输数据;
调制模块22,还用于对待传输数据进行协议封装、编码和调制,得到调制后的待传输数据;
发送模块23,还用于将调制后的待传输数据加载到声波上发送给验证成功的第二移动设备。
进一步地,如图3所示,图3为本发明提供的一种数据传输装置又一个实施例的结构示意图,为了提高数据传输的安全性,所述装置还可以包括:加密模块25;
发送模块23将调制后的验证数据加载到声波上发送给预设范围内的第二移动设备之前,加密模块25用于,按照预设的密码对调制后的验证数据进行加密。对应的,第二移动设备接收到调制后的验证数据后,可以先进行解密,若解密成功,再进行解调、解码和协议处理的操作;若解密失败,则验证失败。
可选的,为了减少耗电量,节省电源,在第一种实施场景下,验证成功消息中携带:声波的接收功率。
对应的,所述装置还包括:第一确定模块26和第一调整模块27;
发送模块23将调制后的待传输数据加载到声波上发送给验证成功的第二移动设备之前,获取模块21还用于,获取声波的发送功率;
第一确定模块26用于,根据声波的接收功率和发送功率,确定第一移 动设备和第二移动设备之间的距离;
第一调整模块27用于,根据距离对声波的发送功率进行调整。
可选的,为了减少耗电量,节省电源,在第二种实施场景下,验证成功消息中携带:第二移动设备的位置信息;
对应的,所述装置还可以包括:第二确定模块28和第二调整模块29;如图4所示,图4为本发明提供的一种数据传输装置另一个实施例的结构示意图。
发送模块23将调制后的待传输数据加载到声波上发送给验证成功的第二移动设备之前,获取模块21还用于,获取自身的位置信息;
第二确定模块28用于,根据第一移动设备的位置信息和第二移动设备的位置信息,确定第一移动设备与第二移动设备之间的距离,以及第二移动设备相对于第一移动设备的方位;
第二调整模块29用于,根据距离和方位对声波的发送功率和发射方向进行调整。
本实施例中,第一移动设备通过声波向第二移动设备发送验证数据,在第二移动设备验证成功后通过声波向第二移动设备传输数据,从而通过第一移动设备和第二移动设备的麦克风、扬声器等发声装置等实现第一移动设备和第二移动设备之间的数据传输,耗电量小,且不会对移动设备通话相关的天线造成干扰。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (10)

  1. 一种数据传输方法,其特征在于,包括:
    第一移动设备获取待发送的验证数据;
    所述第一移动设备对所述验证数据进行协议封装、编码和调制,得到调制后的验证数据;
    所述第一移动设备将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备,以使所述第二移动设备在对所述调制后的验证数据进行解调、解码和协议处理成功后向所述第一移动设备返回验证成功消息;
    所述第一移动设备接收所述第二移动设备返回的验证成功消息;
    所述第一移动设备获取待传输数据,对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备。
  2. 根据权利要求1所述的方法,其特征在于,所述验证成功消息中携带:所述声波的接收功率;
    所述第一移动设备获取待传输数据,对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,还包括:
    所述第一移动设备获取所述声波的发送功率;
    所述第一移动设备根据所述声波的接收功率和发送功率,确定所述第一移动设备和所述第二移动设备之间的距离;
    所述第一移动设备根据所述距离对所述声波的发送功率进行调整。
  3. 根据权利要求1所述的方法,其特征在于,所述验证成功消息中携带:
    所述第二移动设备的位置信息;
    所述第一移动设备获取待传输数据,对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据,将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,还包括:
    所述第一移动设备获取自身的位置信息;
    所述第一移动设备根据自身的位置信息和所述第二移动设备的位置信息,确定所述第一移动设备与所述第二移动设备之间的距离,以及所述第 二移动设备相对于所述第一移动设备的方位;
    所述第一移动设备根据所述距离和所述方位对所述声波的发送功率和发射方向进行调整。
  4. 根据权利要求1所述的方法,其特征在于,所述第一移动设备将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备之前,还包括:
    所述第一移动设备按照预设的密码对所述调制后的验证数据进行加密。
  5. 根据权利要求1所述的方法,其特征在于,
    所述声波为频率大于等于25khz的超声波。
  6. 一种数据传输装置,其特征在于,包括:
    获取模块,用于获取待发送的验证数据;
    调制模块,用于对所述验证数据进行协议封装、编码和调制,得到调制后的验证数据;
    发送模块,用于将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备,以使所述第二移动设备在对所述调制后的验证数据进行解调、解码和协议处理成功后向第一移动设备返回验证成功消息;
    接收模块,用于接收所述第二移动设备返回的验证成功消息;
    所述获取模块,还用于获取待传输数据;
    所述调制模块,还用于对所述待传输数据进行协议封装、编码和调制,得到调制后的待传输数据;
    所述发送模块,还用于将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备。
  7. 根据权利要求6所述的装置,其特征在于,所述验证成功消息中携带:所述声波的接收功率;
    所述装置还包括:第一确定模块和第一调整模块;
    所述发送模块将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,所述获取模块还用于,获取所述声波的发送功率;
    所述第一确定模块用于,根据所述声波的接收功率和发送功率,确定 所述第一移动设备和所述第二移动设备之间的距离;
    所述第一调整模块用于,根据所述距离对所述声波的发送功率进行调整。
  8. 根据权利要求6所述的装置,其特征在于,所述验证成功消息中携带:所述第二移动设备的位置信息;
    所述装置还包括:第二确定模块和第二调整模块;
    所述发送模块将所述调制后的待传输数据加载到声波上发送给验证成功的所述第二移动设备之前,所述获取模块还用于,获取所述第一移动设备的位置信息;
    所述第二确定模块用于,根据所述第一移动设备的位置信息和所述第二移动设备的位置信息,确定所述第一移动设备与所述第二移动设备之间的距离,以及所述第二移动设备相对于所述第一移动设备的方位;
    所述第二调整模块用于,根据所述距离和所述方位对所述声波的发送功率和发射方向进行调整。
  9. 根据权利要求1所述的装置,其特征在于,还包括:加密模块;
    所述发送模块将所述调制后的验证数据加载到声波上发送给预设范围内的第二移动设备之前,所述加密模块用于,按照预设的密码对所述调制后的验证数据进行加密。
  10. 根据权利要求1所述的装置,其特征在于,
    所述声波为频率大于等于25khz的超声波。
PCT/CN2015/088411 2015-04-09 2015-08-28 一种数据传输方法和装置 WO2016161752A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017553024A JP2018533230A (ja) 2015-04-09 2015-08-28 データ伝送方法および装置
US15/719,471 US20180054261A1 (en) 2015-04-09 2017-09-28 Method and apparatus for data transmission

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510164793.5A CN104868955A (zh) 2015-04-09 2015-04-09 一种数据传输方法和装置
CN201510164793.5 2015-04-09

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/719,471 Continuation US20180054261A1 (en) 2015-04-09 2017-09-28 Method and apparatus for data transmission

Publications (1)

Publication Number Publication Date
WO2016161752A1 true WO2016161752A1 (zh) 2016-10-13

Family

ID=53914508

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088411 WO2016161752A1 (zh) 2015-04-09 2015-08-28 一种数据传输方法和装置

Country Status (6)

Country Link
US (1) US20180054261A1 (zh)
JP (1) JP2018533230A (zh)
CN (1) CN104868955A (zh)
HK (1) HK1205636A2 (zh)
TW (1) TWI561994B (zh)
WO (1) WO2016161752A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104868955A (zh) * 2015-04-09 2015-08-26 北京橙鑫数据科技有限公司 一种数据传输方法和装置
CN105897340A (zh) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 视频分享方法以及用户设备
CN106911633B (zh) * 2015-12-22 2021-03-23 阿里巴巴集团控股有限公司 一种数据传输方法及装置
CN107483119A (zh) * 2017-07-04 2017-12-15 深圳市格思智能有限公司 一种以声波为传输介质的读感器及其系统和读卡操作方法
CN107547142B (zh) * 2017-08-31 2022-01-14 努比亚技术有限公司 基于超声波的通信方法、装置及计算机可读存储介质
CN108234030A (zh) * 2018-01-12 2018-06-29 苏州汇万家数字科技有限公司 声波传输装置及其传输方法
US11265717B2 (en) * 2018-03-26 2022-03-01 University Of Florida Research Foundation, Inc. Detecting SS7 redirection attacks with audio-based distance bounding
US11165571B2 (en) * 2019-01-25 2021-11-02 EMC IP Holding Company LLC Transmitting authentication data over an audio channel
CN110289915B (zh) * 2019-06-24 2022-02-01 Oppo广东移动通信有限公司 数据传输方法、终端及存储介质
CN112153442A (zh) * 2019-06-28 2020-12-29 Oppo广东移动通信有限公司 播放方法、装置、终端、电视设备、存储介质及电子设备
KR102457202B1 (ko) * 2020-11-03 2022-10-20 이용준 다이렉트 통신을 이용한 상호 인증 기반 서비스 제공 방법
CN113014330B (zh) * 2021-02-18 2022-11-29 Oppo广东移动通信有限公司 信息处理方法及装置、设备、存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102273106A (zh) * 2008-10-31 2011-12-07 三星电子株式会社 使用声学信号进行无线通信的方法和装置
CN203027256U (zh) * 2012-11-22 2013-06-26 国民技术股份有限公司 一种通信设备及通信系统
EP2611049A1 (en) * 2011-12-28 2013-07-03 Distribeo Sonic M2M (machine to machine) communication using mobile communication device as a proxy
CN103795471A (zh) * 2013-11-16 2014-05-14 深圳光启创新技术有限公司 光或声波通信方法和系统
CN203859753U (zh) * 2013-11-16 2014-10-01 深圳光启创新技术有限公司 光或声波通信系统及其发送端、接收端
CN104868955A (zh) * 2015-04-09 2015-08-26 北京橙鑫数据科技有限公司 一种数据传输方法和装置

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001102995A (ja) * 1999-09-29 2001-04-13 Nec Mobile Commun Ltd Gpsを用いた移動無線空中線制御システム
JP2006074536A (ja) * 2004-09-03 2006-03-16 Mitsubishi Precision Co Ltd センサネットワークシステム
US7703137B2 (en) * 2004-09-03 2010-04-20 Fortinet, Inc. Centralized data transformation
JP2007019625A (ja) * 2005-07-05 2007-01-25 Matsushita Electric Ind Co Ltd 携帯端末装置および認証制御方法
JP4779647B2 (ja) * 2005-12-28 2011-09-28 株式会社ケンウッド 携帯無線機及びその送信電力制御方法
EP2126693A2 (en) * 2006-12-29 2009-12-02 Sandisk Corporation Methods and apparatuses for launching a program application
JP2009296481A (ja) * 2008-06-09 2009-12-17 Ricoh Co Ltd 無線通信端末、指向性制御方法、指向性制御プログラム、及びそのプログラムを記録した記録媒体
CN102137330B (zh) * 2010-01-21 2014-02-05 杭州华三通信技术有限公司 一种无线链路调试方法和系统
JP5414059B2 (ja) * 2010-03-17 2014-02-12 Kddi株式会社 無線通信方法およびシステムならびにその無線通信装置
CN102932894A (zh) * 2011-08-09 2013-02-13 国民技术股份有限公司 一种控制射频输出功率的通信系统及方法
JP5966288B2 (ja) * 2011-09-15 2016-08-10 株式会社リコー 情報通信システム、クライアント装置、ホスト装置、接続情報受信プログラム、及び接続情報送信プログラム
JP2013162199A (ja) * 2012-02-02 2013-08-19 Nagoya Institute Of Technology 通信システム及び通信方法
JP6051609B2 (ja) * 2012-06-20 2016-12-27 株式会社リコー 情報処理装置、電子機器、情報処理システム、プログラム、方法および記録媒体
JP6111760B2 (ja) * 2013-03-15 2017-04-12 株式会社リコー 電子機器、情報処理システム、およびプログラム

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102273106A (zh) * 2008-10-31 2011-12-07 三星电子株式会社 使用声学信号进行无线通信的方法和装置
EP2611049A1 (en) * 2011-12-28 2013-07-03 Distribeo Sonic M2M (machine to machine) communication using mobile communication device as a proxy
CN203027256U (zh) * 2012-11-22 2013-06-26 国民技术股份有限公司 一种通信设备及通信系统
CN103795471A (zh) * 2013-11-16 2014-05-14 深圳光启创新技术有限公司 光或声波通信方法和系统
CN203859753U (zh) * 2013-11-16 2014-10-01 深圳光启创新技术有限公司 光或声波通信系统及其发送端、接收端
CN104868955A (zh) * 2015-04-09 2015-08-26 北京橙鑫数据科技有限公司 一种数据传输方法和装置

Also Published As

Publication number Publication date
HK1205636A2 (zh) 2015-12-18
CN104868955A (zh) 2015-08-26
US20180054261A1 (en) 2018-02-22
JP2018533230A (ja) 2018-11-08
TW201636862A (zh) 2016-10-16
TWI561994B (en) 2016-12-11

Similar Documents

Publication Publication Date Title
WO2016161752A1 (zh) 一种数据传输方法和装置
US8666313B2 (en) Pairing devices using data exchanged in an out-of-band channel
US9912415B2 (en) Fast service discovery and pairing using ultrasonic communication
US9735834B2 (en) Methods and apparatus for improving NFC activation and data exchange reporting mechanisms
KR101830940B1 (ko) Wifi 설정 포팅
US20110028091A1 (en) Method and system for near-field wireless device pairing
US20220086613A1 (en) Bluetooth Profile Fast Connect
US11558155B2 (en) Broadcast relay piconet for low energy audio
JP2018524865A (ja) ワイヤレスデバイスの柔軟な構成および認証
US11026153B2 (en) Methods and apparatuses for beacon assisted low power localization
KR101829566B1 (ko) 절전 상태 동안 무선 통신의 장치, 시스템 및 방법
WO2014085130A2 (en) Method and apparatus for implementing transmit beamforming
JP2016500231A (ja) タグトークファーストデバイスを発見するための方法および装置
CN108307374A (zh) 无线音频设备设置
US20100318656A1 (en) Multiple-channel, short-range networking between wireless devices
JP4790678B2 (ja) 携帯端末装置及び認証エリア拡張システム
KR101592276B1 (ko) 능동 통신 모드를 이용하여 피어 통신들을 개선하기 위한 방법들 및 장치
ES2732002T3 (es) Procedimientos y aparatos para mejorar la reactivación de un dispositivo NFC remoto basado en NFC-F
KR101716833B1 (ko) 오디오 디바이스의 사용자를 위해 오디오 경험을 개선시키는 방법
CN204578523U (zh) 一种基于nfc认证的接收器
TWM526232U (zh) 無線通訊系統
WO2022021197A1 (zh) 通信方法及其装置
CN116073860A (zh) 一种近距离通信方法及终端
CN106160769A (zh) 一种基于nfc认证的接收器及信号接收方法
CN117332398A (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: 15888306

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017553024

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/01/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15888306

Country of ref document: EP

Kind code of ref document: A1