WO2019072255A1 - 移动终端及其数据传输方法、及存储介质 - Google Patents

移动终端及其数据传输方法、及存储介质 Download PDF

Info

Publication number
WO2019072255A1
WO2019072255A1 PCT/CN2018/110187 CN2018110187W WO2019072255A1 WO 2019072255 A1 WO2019072255 A1 WO 2019072255A1 CN 2018110187 W CN2018110187 W CN 2018110187W WO 2019072255 A1 WO2019072255 A1 WO 2019072255A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
sender
transmission
data
receiver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/110187
Other languages
English (en)
French (fr)
Inventor
涂斌健
郑嘉斌
陈东持
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JRD Communication Shenzhen Ltd
Original Assignee
JRD Communication Shenzhen Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Publication of WO2019072255A1 publication Critical patent/WO2019072255A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present invention relates to the transmission of digital information of a mobile terminal, and more particularly to a mobile terminal, a data transmission method thereof, and a storage medium.
  • the present invention provides a method for effectively realizing the transmission of large files between mobile terminals by using the prior art conditions in a non-WLAN network environment, and provides a better solution for solving large file data transmission problems between mobile terminals. Solution to the technical solution.
  • a mobile terminal data transmission method for implementing file data transmission between mobile terminals includes the following steps:
  • the sender of the mobile terminal establishes a connection with the receiver of the mobile terminal by voice or image;
  • the sender of the mobile terminal splits the source file to be transmitted into sub-packets and performs file transmission through each transmission mode
  • the receiver of the mobile terminal reassembles into a source file after receiving the corresponding sub-packet by each transmission mode.
  • the sender of the mobile terminal establishes a connection with the receiver of the mobile terminal by using the voice, and specifically includes the following steps:
  • the transmitter of the sender of the mobile terminal transmits a certain frequency, and the encoded tone containing the data is transmitted to the receiver of the receiver of the mobile terminal;
  • the mobile terminal sender confirms the data exchange protocol after confirming the handshake with the mobile terminal receiver.
  • the mobile terminal sender establishes a connection with the mobile terminal receiver through the image, and specifically includes the following steps:
  • the mobile terminal sender generates a source picture containing protocol exchange content information
  • the mobile terminal receiver identifies the source picture through the camera, and generates a corresponding feedback picture that is recognized by the mobile terminal sender through the camera;
  • the mobile terminal sender confirms the data exchange protocol after confirming the handshake with the mobile terminal receiver.
  • the protocol exchange content specifically includes a transmission mode supported by the mobile terminal and usage of each transmission mode, a unique address of the mobile terminal transmission media chip, a mobile terminal IMEI, and a recommended data packet size of each transmission mode of the mobile terminal. , transfer window granularity and records that have been handshaked.
  • the source picture and the feedback picture are both two-dimensional code pictures.
  • the sender of the mobile terminal splits the source file to be transmitted into sub-packets and performs file transmission by using each transmission mode, and specifically includes the following steps:
  • the sender of the mobile terminal confirms the available transmission mode according to the data exchange protocol of the handshake confirmation
  • the sender of the mobile terminal splits the source data packet of the source file to be transmitted into several sub-data packets
  • the sender of the mobile terminal binds each sub-packet to a usable transmission mode and performs file transmission through each transmission mode.
  • the reassembling the source data file by the receiver of the mobile terminal after receiving the corresponding sub-data packet by using each transmission manner includes the following steps:
  • the mobile terminal receiver reassembles the sub-data packet into a source file transmitted by the mobile terminal sender.
  • the transmission mode includes Bluetooth, WIFI, cellular data, and NFC.
  • the present invention also provides a mobile terminal comprising a processor and a memory connected to the processor, the memory storing a mobile terminal data transmission processing program, the data transmission processing program being executed by the processor to implement the following steps :
  • the sender of the mobile terminal establishes a connection with the receiver of the mobile terminal by voice or image;
  • the sender of the mobile terminal splits the source file to be transmitted into sub-packets and performs file transmission through each transmission mode
  • the receiver of the mobile terminal reassembles into a source file after receiving the corresponding sub-packet by each transmission mode
  • the processor is configured to invoke the data transfer handler instruction.
  • the present invention also provides a storage medium, wherein the storage medium stores a mobile terminal data transmission processing program, and the mobile terminal data transmission processing program is executed by the processor to implement the steps of the mobile terminal data transmission method.
  • the mobile terminal data transmission method, the mobile terminal and the storage medium provided by the present invention realize the two-way handshake confirmation communication to the mobile terminal in an off-line manner, and realize two-way communication confirmation on the usable transmission mode.
  • the sender of the mobile terminal confirms that the transmission mode can be used according to the data exchange protocol confirmed by the two-way communication of the mobile terminal before transmitting the large file, and performs sub-packet splitting of the source file according to the characteristics of each transmission mode, and then can be used by various mobile terminals.
  • the transmission method of the data packet is carried out.
  • the method of the present invention fully utilizes the transmission mode that the mobile terminal can use for data transmission, and can realize that the mobile terminal does not transmit large files through the cellular network in a non-WIFI environment, and at the same time, in the WIFI environment.
  • the data transmission channel can also be extended by using the communication transmission mode that the mobile terminal can use, thereby greatly increasing the speed of data transmission of the mobile terminal, and the cost is low.
  • FIG. 1 is a flow chart showing the operation of a preferred embodiment of a data transmission method for a mobile terminal of the present invention.
  • FIG. 2 is a schematic block diagram of a mobile terminal performing a full duplex communication handshake through a voice channel in a preferred embodiment of the data transmission method of the mobile terminal of the present invention.
  • FIG. 3 is a schematic block diagram of a mobile terminal performing a full duplex communication handshake by means of an image in a preferred embodiment of the data transmission method of the mobile terminal of the present invention.
  • FIG. 4 is a schematic block diagram of a method for transmitting a data by a sender and a receiver of a mobile terminal according to a preferred embodiment of the data transmission method of the mobile terminal of the present invention.
  • FIG. 5 is a block diagram showing the principle of a preferred embodiment of the mobile terminal of the present invention.
  • FIG. 1 is a working flow chart of a preferred embodiment of a data transmission method for a mobile terminal according to the present invention.
  • the data transmission method of the mobile terminal of the present invention includes the following steps:
  • step S100 the mobile terminal sender 10 establishes a connection with the mobile terminal receiver 20 by voice or image.
  • the present invention provides two offline modes for implementing a communication handshake between mobile terminals, including sound or images.
  • 2 and FIG. 3 are schematic block diagrams showing the full-duplex communication handshake of the mobile terminal of the present invention through a voice channel or an image mode. The principle of the full-duplex communication handshake of the mobile terminal will be described below with reference to FIG. 2 and FIG. 3.
  • the method for the mobile terminal sender 10 to establish a connection with the mobile terminal receiver 20 by using the voice includes the following steps:
  • the mobile terminal sender 10 transmits a coded tone containing a certain frequency and data to the receiver of the mobile terminal receiver 20 through the speaker. Since the mobile terminals each have a speaker, the coded sound verification information including the data information can be transmitted to the receiver of the mobile terminal receiver 20 through the speaker of the sender 10 of the mobile terminal, and the code in the encoded tone can be adopted. A variety of check code methods are used to ensure the accuracy of the data. The voice coding method can adopt the coding method in the prior art, which is not described here.
  • the mobile terminal receiver 20 returns the voice check information of the coded tone to the mobile terminal sender 10 through the speaker. Since the full-duplex transmission mode can be adopted, the mobile terminal sender 10 and the mobile terminal receiver 20 can transmit at the same time, and the correct one party guides the protocol to continue, and the other party continues to try the handshake communication until the handshake is successful.
  • the mobile terminal sender 10 confirms the data exchange protocol after shaking hands with the mobile terminal receiver 20. After all the encoded sounds are transmitted and the information verification is completed, the mobile terminal sender 10 and the mobile terminal receiver 20 confirm the handshake, and the data exchange protocol is successfully confirmed.
  • the data exchange protocol includes but is not limited to the following contents. : The transmission mode supported by the mobile terminal and the usage of each transmission mode, the unique address of the mobile terminal transmission media chip, the mobile terminal IMEI, the recommended data packet size of each transmission mode of the mobile terminal, the transmission window granularity, and the record of the handshake.
  • the establishing, by the mobile terminal sender 10, the connection with the mobile terminal receiver 20 through the image includes the following steps:
  • the mobile terminal sender 10 generates a source picture containing protocol exchange content information.
  • the handshake communication of the mobile terminal through the image is realized by loading the communication protocol information in the picture.
  • the mobile terminal sender device may generate a source picture including the protocol information, where the generation of the two-dimensional code picture is taken as an example, but the method is not limited to the two-dimensional code picture, as long as the picture can be loaded into the picture. Can achieve.
  • the mobile terminal receiver 20 identifies the source picture through the camera and generates a corresponding feedback picture that is recognized by the mobile terminal sender 10 through the camera. After the mobile terminal sender 10 generates the two-dimensional code picture including the protocol information, the mobile terminal receiver 20 can scan and recognize the two-dimensional code picture through the camera, similar to the handshake manner of the voice information, and the mobile terminal receiver 20
  • the communication protocol information is identified by the two-dimensional code picture of the sender 10 of the mobile terminal, and a feedback two-dimensional code picture is generated, and the communication protocol information is also fed back to the mobile terminal sender 10, and the mobile terminal sender 10 moves.
  • the terminal receiver 20 performs communication handshake confirmation by using the two-dimensional code verification information.
  • the mobile terminal sender 10 confirms the data exchange protocol after shaking hands with the mobile terminal receiver 20. After the communication handshake between the two parties, the data exchange protocol is confirmed.
  • the data exchange protocol of the image connection method includes, but is not limited to, the following content: the transmission mode supported by the mobile terminal and the usage of each transmission mode, The unique address of the mobile terminal transmission medium chip, the mobile terminal IMEI, the mobile terminal recommended transmission packet size, the transmission window granularity, and the record of the handshake.
  • step S100 the mobile terminal sender 10 and the mobile terminal receiver 20 confirm the communication connection protocol, and provide a protocol basis for file data transmission for large file transmission in subsequent connection modes.
  • step S200 the mobile terminal sender 10 splits the source file to be transmitted into sub-packets and performs file transmission by using each transmission mode.
  • FIG. 4 is a schematic block diagram showing a method for transmitting a file by a mobile terminal sender 10 and a mobile terminal receiver 20 through multiple transmission modes in a preferred embodiment of the mobile terminal data transmission method according to the present invention.
  • the specific steps of the source file splitting the molecular data packet are as follows:
  • the mobile terminal sender 10 confirms the available transmission mode based on the data exchange protocol of the handshake acknowledgement.
  • the communication mode of the mobile terminal can be adopted.
  • the methods such as Bluetooth, WIFI, cellular data, and NFC can be included in the transmission mode of the data exchange protocol for handshake confirmation.
  • the above transmission methods are only examples, and are not limited to For the above several transmission modes, those skilled in the art can select any other suitable transmission mode within the scope of the known technical field.
  • the protocol can also select Bluetooth, WIFI and NFC, or in the case of no WIFI, Bluetooth and NFC can also be used to implement file synchronization file with multiple connection modes.
  • those skilled in the art can perform selection confirmation according to the specific environment at the time of implementation.
  • the mobile terminal sender 10 splits the source data packet of the source file to be transmitted into several sub-data packets. According to the data exchange protocol of the handshake confirmation, the mobile terminal sender 10 splits the source data packet of the source file into several sub-packets, for example, split into sub-packets 1 and sub-packets 2 in four connection modes. , sub-packet 3 and sub-packet 4.
  • the mobile terminal sender 10 binds each sub-packet to a usable transmission mode and performs file transmission through each transmission mode.
  • the sub-packet 1 and the Bluetooth binding are transmitted by Bluetooth
  • the sub-packet 2 and the WIFI mode are bound to be transmitted by the WIFI mode
  • the sub-packet 3 is coupled with the cellular data mode by the cellular data transmission
  • the sub-data is bound to NFC mode by NFC.
  • Step S300 the mobile terminal receiver 20 reassembles into a source file after receiving the corresponding sub-data packet by using each transmission mode.
  • the specific steps of the mobile terminal receiver 20 reorganizing the source file are as follows:
  • the mobile terminal receiver 20 receives the corresponding sub-data packet according to the transmission mode in the data exchange protocol of the handshake confirmation; also referring to FIG. 4, the mobile terminal receiver 20 receives the sub-data packet 1 through the Bluetooth mode, and receives the WIFI mode.
  • the sub-packet 3 is received by the cellular data method
  • the sub-packet 4 is received by the NFC method.
  • the mobile terminal receiver 20 reassembles the sub-data packet into a source file transmitted by the mobile terminal sender 10.
  • the mobile terminal receiver 20 reassembles the sub-packet 1, sub-packet 2, sub-packet 3, and sub-packet 4 received by the above various connection methods to form a source file transmitted by the mobile terminal sender 10.
  • the present invention further provides a mobile terminal.
  • the mobile terminal in the embodiment of the present invention may be a mobile phone.
  • the mobile terminal in this embodiment includes a processor 100, and a memory 200 connected to the processor.
  • the memory 200 stores a mobile terminal data transmission processing program, and when the data transmission processing program is executed by the processor, the following steps are implemented:
  • the mobile terminal sender 10 establishes a connection with the mobile terminal receiver 20 by voice or image.
  • the mobile terminal sender 10 splits the source file to be transmitted into sub-packets and performs file transmission through each transmission mode.
  • the mobile terminal receiver 20 reassembles into a source file after receiving the corresponding sub-packet by each transmission mode.
  • the processor is configured to invoke the data transfer handler instruction.
  • the specific working principle of the mobile terminal of the present embodiment is the same as that of the preferred embodiment of the mobile terminal data transmission method of the present invention, and details are not described herein.
  • the embodiment of the present invention further provides a storage medium, where the storage medium stores a mobile terminal data transmission processing program, and the mobile terminal data transmission processing program is executed by the processor to implement the steps of the mobile terminal data transmission processing method, specifically
  • the working principle steps are also the same as the working principle of the preferred embodiment of the mobile terminal data transmission method of the present invention, and are not described herein.
  • the mobile terminal data transmission method, the mobile terminal and the storage medium provided by the invention realize the two-way handshake confirmation communication to the mobile terminal in an off-line manner, and realize two-way communication confirmation on the usable transmission mode, and the mobile terminal sender is transmitting large
  • the data exchange protocol confirmed by the two-way communication of the mobile terminal confirms that the transmission mode can be used, and the sub-data packet is split according to the characteristics of each transmission mode, and then the data packet is transmitted through various transmission modes that can be used by the mobile terminal.
  • the method of the present invention fully utilizes the transmission mode that the mobile terminal can use for data transmission, and can realize that the mobile terminal does not transmit large files through the cellular network in a non-WIFI environment, and at the same time, in the WIFI environment, the mobile terminal can also be utilized.
  • the communication transmission mode that can be used expands the data transmission channel, thereby greatly increasing the speed of data transmission of the mobile terminal, and the cost is low.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种移动终端及其数据传输方法、及存储介质,用于实现移动终端间的文件数据传输,移动终端发送方通过声音或图像与移动终端接收方建立连接;移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输;移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件。本发明方法充分利用移动终端可使用的传输方式进行数据传输,可实现非WIFI环境下移动终端不通过蜂窝网络进行大文件的传输,同时,在WIFI环境下,也可以利用移动终端可使用的通信传输方式扩展数据传输通道,进而大幅提高移动终端数据传输的速度,且费用低廉。

Description

移动终端及其数据传输方法、及存储介质 技术领域
本发明涉及移动终端数字信息的传输,尤其涉及的是一种移动终端及其数据传输方法、及存储介质。
背景技术
随着移动终端的普及,用户在移动终端间进行数据传输已经非常容易实现,比如,一般移动终端均配置有蓝牙模块、WiFi模块,移动终端之间通过各自的协议可实现两两间的数据传输,但是,这都是针对有WLAN网络环境下实现数据的传输。通过蓝牙协议也能够传输数据,但是对于大文件传输,通过蓝牙或者没有WLAN网络环境进行数据传输,而是通过移动终端连接的蜂窝网络进行数据传输,在现有技术条件下虽可实现,但费用颇为高昂。
因此,现有技术还有待于改进和发展。
发明内容
针对现有技术的上述缺陷,本发明提供一种非WLAN网络环境下,有效利用现有技术条件实现移动终端间大文件的传输的方法,为解决移动终端间大文件数据传输问题提供了更好的解决技术方案。
本发明解决技术问题所采用的技术方案如下:
一种移动终端数据传输方法,用于实现移动终端间的文件数据传输,包括如下步骤:
移动终端发送方通过声音或图像与移动终端接收方建立连接;
移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输;
移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件。
作为进一步的技术方案改进,其中,所述移动终端发送方通过声音与移动终端接收方建立连接具体包括如下步骤:
移动终端发送方的扬声器发出一定频率、包含数据的编码音传输到移动终端接收方的接收器;
移动终端接收方通过扬声器返回所述编码音的校验信息给移动终端发送方;
移动终端发送方与移动终端接收方握手确认后确认数据交换协议。
作为进一步的技术方案改进,所述移动终端发送方通过图像与移动终端接收方建立连接具体包括如下步骤:
移动终端发送方生成包含协议交换内容信息的源图片;
移动终端接收方通过摄像头识别所述源图片,并生成相应的反馈图片由移动终端发送方通过摄像头识别;
移动终端发送方与移动终端接收方握手确认后确认数据交换协议。
作为进一步的技术方案改进,所述协议交换内容具体包括移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大小、传输窗口粒度和曾经握手的记录。
作为进一步的技术方案的改进,其中,所述源图片和反馈图片均为二维码图片。
作为进一步的技术方案的改进,其中,所述移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输具体包括如下步骤:
所述移动终端发送方根据握手确认的数据交换协议确认可使用的传输方式;
所述移动终端发送方将待传输源文件的源数据包拆分成若干子数据包;
所述移动终端发送方将各个子数据包与可使用的传输方式绑定后通过各传输方式进行文件传输。
作为技术方案的进一步改进,其中,所述移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件具体包括如下步骤:
所述移动终端接收方根据握手确认的数据交换协议中的传输方式接收到相应的子数据包;
所述移动终端接收方将所述子数据包重组为所述移动终端发送方传输的源文件。
以上技术方案中,所述传输方式包括蓝牙、WIFI、蜂窝数据、NFC。
本发明还提供一种移动终端,包括处理器,以及与所述处理器连接的存储器,所述存储器存储有移动终端数据传输处理程序,该数据传输处理程序被所述处理器执行时实现以下步骤:
移动终端发送方通过声音或图像与移动终端接收方建立连接;
移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输;
移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件;
所述处理器用于调用所述数据传输处理程序指令。
本发明还提供一种存储介质,其中,所述存储介质存储有移动终端数据传输处理程序,该移动终端数据传输处理程序被处理器执行时实现上述移动终端数据传输方法的步骤。
与现有技术相比较,本发明提供的移动终端数据传输方法、移动终端及存储介质,通过离线的方式对移动终端实现两两握手确认通讯,并实现对可使用的传输方式进行双向通信确认,移动终端发送方在传送大文件前根据移动终端双向通信确认的数据交换协议确认可使用传输方式,并根据各传输方式的特点对源文件进行子数据包拆分,然后通过各种移动终端可使用的传输方式进行数 据包的传输,因此,本发明方法充分利用移动终端可使用的传输方式进行数据传输,可实现非WIFI环境下移动终端不通过蜂窝网络进行大文件的传输,同时,在WIFI环境下,也可以利用移动终端可使用的通信传输方式扩展数据传输通道,进而大幅提高移动终端数据传输的速度,且费用低廉。
附图说明
图1是本发明移动终端数据传输方法的较佳实施例的工作流程图。
图2是本发明移动终端数据传输方法较佳实施例中移动终端通过声音通道进行全双工通信握手的原理框图。
图3是本发明移动终端数据传输方法较佳实施例中移动终端通过图像方式进行全双工通信握手的原理框图。
图4是本发明移动终端数据传输方法较佳实施例中移动终端发送方与接收方通过各传输方式传输文件的原理框图。
图5是本发明移动终端较佳实施例原理框图。
具体实施方式
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图1,图1是本发明移动终端数据传输方法的较佳实施例的工作流程图。如图1所示,本发明移动终端数据传输方法包括以下步骤:
步骤S100,移动终端发送方10通过声音或图像与移动终端接收方20建立连接。对于离线的移动终端而言,本发明提供了两种离线方式实现移动终端间进行通信握手的方式,包括声音或图像。图2和图3示出了本发明移动终端通过声音通道或图像方式进行全双工通信握手的原理框图,以下结合图2和图3对移动终端全双工通信握手原理进行说明。
其中,移动终端发送方10通过声音与移动终端接收方20建立连接具体包括如下步骤:
如图2所示,移动终端发送方10通过扬声器发出一定频率、包含数据的编码音传输到移动终端接收方20的接收器。由于移动终端均具备扬声器,因此,可通过移动终端发送方10的扬声器发出一定频率并且包含数据信息的编码声音校验信息来传递给移动终端接收方20的接收器,编码音中的编码可采取多种校验码方式来确保数据的准确性,采用声音编码的方式可采用现有技术中的编码方式,此处不赘述。
移动终端接收方20通过扬声器返回所述编码音的声音校验信息给移动终端发送方10。由于可采用全双工的传输方式,移动终端发送方10和移动终端接收方20可以同时进行传输,校验准确的一方引导协议继续进行,另一方则继续尝试握手通信,直至握手成功。
移动终端发送方10与移动终端接收方20握手确认后确认数据交换协议。当所有的编码音传输完毕,同时信息校验完成后,移动终端发送方10与移动终端接收方20确认握手,成功进行了数据交换协议的确认,其中,数据交换协议中包括但不限于如下内容:移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大小、传输窗口粒度和曾经握手的记录。
其中,所述移动终端发送方10通过图像与移动终端接收方20建立连接具体包括如下步骤:
如图3所示,移动终端发送方10生成包含协议交换内容信息的源图片。通过图像来完成移动终端的握手通讯是通过在图片中加载通讯协议信息来实现的。移动终端发送方设备可以生成一张包括协议信息的源图片,此处以生成二维码图片为例,但并不限于二维码图片的方式,只要是能够将协议信息加载到图片中的图片均可实现。
移动终端接收方20通过摄像头识别所述源图片,并生成相应的反馈图片由移动终端发送方10通过摄像头识别。在移动终端发送方10生成包含协议信息的二维码图片后,移动终端接收方20即可通过摄像头对该二维码图片进行扫描识别,与上述声音信息的握手方式类似,移动终端接收方20通过对移动终端发送方10的二维码图片进行通讯协议信息的识别,并生成一张反馈二维码图片,也同样包含通讯协议信息反馈给移动终端发送方10,移动终端发送方 10与移动终端接收方20即通过二维码校验信息来进行通信握手确认。
移动终端发送方10与移动终端接收方20握手确认后确认数据交换协议。双方通讯握手后即确认了数据交换协议,与上述声音编码的通讯协议相同,图像建立连接方式的数据交换协议中包括但不限于如下内容:移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大小、传输窗口粒度和曾经握手的记录。
通过步骤S100的执行,移动终端发送方10和移动终端接收方20即确认了通讯连接的协议,为后续多种连接方式进行大文件传输提供了文件数据传输的协议基础。
步骤S200,移动终端发送方10将待传输源文件拆分为子数据包通过各传输方式进行文件传输。图4示出了本发明移动终端数据传输方法较佳实施例中移动终端发送方10与移动终端接收方20通过各传输方式的多连接传输文件的原理框图。其中,源文件拆分子数据包进行传输的具体步骤如下:
所述移动终端发送方10根据握手确认的数据交换协议确认可使用的传输方式。现有技术中移动终端的通讯方式均可以采用,如蓝牙、WIFI、蜂窝数据、NFC等方式均可以包括在握手确认的数据交换协议的传输方式内,以上几种传输方式仅为示例,并不限于以上几种传输方式,本领域技术人员可以在已知技术领域范围内选择其他任何适合的传输方式。当移动终端进行大文件传输时,如果没有网络,协议也可以选择蓝牙、WIFI和NFC的方式,或者在没有WIFI的情况下,还可以采用蓝牙和NFC的方式,实现多连接方式的文件同步文件传输,本领域技术人员均可以根据实施时的具体环境来进行选择确认。
所述移动终端发送方10将待传输源文件的源数据包拆分成若干子数据包。根据上述握手确认的数据交换协议,移动终端发送方10对源文件的源数据包进行拆分成若干子数据包,比如在有四种连接方式下拆分为子数据包1、子数据包2、子数据包3和子数据包4。
所述移动终端发送方10将各个子数据包与可使用的传输方式绑定后通过各传输方式进行文件传输。如图4所示,子数据包1与蓝牙绑定通过蓝牙方式 传输,子数据包2与WIFI方式绑定通过WIFI方式传输,子数据包3与蜂窝数据方式绑定通过蜂窝数据传输,子数据包4与NFC方式绑定通过NFC方式传输。
步骤S300,移动终端接收方20通过各传输方式接收到相应的子数据包后重组为源文件。移动终端接收方20重组源文件的具体步骤如下:
所述移动终端接收方20根据握手确认的数据交换协议中的传输方式接收到相应的子数据包;同样参照图4,移动终端接收方20通过蓝牙方式接收到子数据包1,通过WIFI方式接收到子数据包2,通过蜂窝数据方式接收到子数据包3,通过NFC方式接收到子数据包4。
所述移动终端接收方20将所述子数据包重组为所述移动终端发送方10传输的源文件。移动终端接收方20将上述通过各种连接方式接收到的子数据包1、子数据包2、子数据包3和子数据包4进行重组后形成移动终端发送方10发送的源文件。
本发明还提供一种移动终端,本发明实施例的移动终端可以为手机,如图5所示,本实施例的移动终端包括处理器100,以及与所述处理器连接的存储器200。
所述存储器200存储有移动终端数据传输处理程序,该数据传输处理程序被所述处理器执行时实现以下步骤:
移动终端发送方10通过声音或图像与移动终端接收方20建立连接。
移动终端发送方10将待传输源文件拆分为子数据包通过各传输方式进行文件传输。
移动终端接收方20通过各传输方式接收到相应的子数据包后重组为源文件。
所述处理器用于调用所述数据传输处理程序指令。
本实施例移动终端的具体工作原理与上述本发明移动终端数据传输方法较佳实施例的工作原理相同,此处不赘述。
另外,本发明实施例还提供一种存储介质,所述存储介质存储有移动终端数据传输处理程序,该移动终端数据传输处理程序被处理器执行时实现如上移动终端数据传输处理方法的步骤,具体工作原理步骤也与上述本发明移动终端数据传输方法较佳实施例的工作原理相同,此处不赘述。
本发明提供的移动终端数据传输方法、移动终端及存储介质,通过离线的方式对移动终端实现两两握手确认通讯,并实现对可使用的传输方式进行双向通信确认,移动终端发送方在传送大文件前根据移动终端双向通信确认的数据交换协议确认可使用传输方式,并根据各传输方式的特点对源文件进行子数据包拆分,然后通过各种移动终端可使用的传输方式进行数据包的传输,因此,本发明方法充分利用移动终端可使用的传输方式进行数据传输,可实现非WIFI环境下移动终端不通过蜂窝网络进行大文件的传输,同时,在WIFI环境下,也可以利用移动终端可使用的通信传输方式扩展数据传输通道,进而大幅提高移动终端数据传输的速度,且费用低廉。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (18)

  1. 一种移动终端数据传输方法,用于实现移动终端间的文件数据传输,其中,包括如下步骤:
    移动终端发送方通过声音或图像与移动终端接收方建立连接;
    移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输;
    移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件;
    若移动终端发送方通过声音与移动终端接收方建立连接,则所述移动终端发送方通过声音与移动终端接收方建立连接具体包括如下步骤:
    移动终端发送方的扬声器发出一定频率、包含数据的编码音传输到移动终端接收方的接收器;
    移动终端接收方通过扬声器返回所述编码音的校验信息给移动终端发送方;
    移动终端发送方与移动终端接收方握手确认后确认数据交换协议。
  2. 根据权利要求1所述的移动终端数据传输方法,其中,若移动终端发送方通过图像与移动终端接收方建立连接,则所述移动终端发送方通过图像与移动终端接收方建立连接具体包括如下步骤:
    移动终端发送方生成包含协议交换内容信息的源图片;
    移动终端接收方通过摄像头识别所述源图片,并生成相应的反馈图片由移动终端发送方通过摄像头识别;
    移动终端发送方与移动终端接收方握手确认后确认数据交换协议。
  3. 根据权利要求1所述的移动终端数据传输方法,其中,所述协议交换内容具体包括移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大 小、传输窗口粒度和曾经握手的记录。
  4. 根据权利要求2所述的移动终端数据传输方法,其中,所述协议交换内容具体包括移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大小、传输窗口粒度和曾经握手的记录。
  5. 根据权利要求2所述的移动终端数据传输方法,其中,所述源图片和反馈图片均为二维码图片。
  6. 根据权利要求3所述的移动终端数据传输方法,其中,所述移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输具体包括如下步骤:
    所述移动终端发送方根据握手确认的数据交换协议确认可使用的传输方式;
    所述移动终端发送方将待传输源文件的源数据包拆分成若干子数据包;
    所述移动终端发送方将各个子数据包与可使用的传输方式绑定后通过各传输方式进行文件传输。
  7. 根据权利要求6所述的移动终端数据传输方法,其中,所述移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件具体包括如下步骤:
    所述移动终端接收方根据握手确认的数据交换协议中的传输方式接收到相应的子数据包;
    所述移动终端接收方将所述子数据包重组为所述移动终端发送方传输的源文件。
  8. 根据权利要求7所述的移动终端数据传输方法,其中,所述传输方式包括蓝牙、WIFI、蜂窝数据、NFC。
  9. 一种移动终端,其中,包括处理器,以及与所述处理器连接的存储器, 所述存储器存储有移动终端数据传输处理程序,所述数据传输处理程序被所述处理器执行时实现以下步骤:
    移动终端发送方通过声音或图像与移动终端接收方建立连接;
    移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输;
    移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件;
    所述处理器用于调用所述数据传输处理程序指令。
  10. 一种存储介质,其中,所述存储介质存储有移动终端数据传输处理程序,该移动终端数据传输处理程序被处理器执行时实现移动终端数据传输方法,所述移动终端数据传输方法包括如下步骤:
    移动终端发送方通过声音或图像与移动终端接收方建立连接;
    移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输;
    移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件。
  11. 根据权利要求10所述的存储介质,其中,所述移动终端发送方通过声音与移动终端接收方建立连接具体包括如下步骤:
    移动终端发送方的扬声器发出一定频率、包含数据的编码音传输到移动终端接收方的接收器;
    移动终端接收方通过扬声器返回所述编码音的校验信息给移动终端发送方;
    移动终端发送方与移动终端接收方握手确认后确认数据交换协议。
  12. 根据权利要求10所述的存储介质,其中,所述移动终端发送方通过图像与移动终端接收方建立连接具体包括如下步骤:
    移动终端发送方生成包含协议交换内容信息的源图片;
    移动终端接收方通过摄像头识别所述源图片,并生成相应的反馈图片由移动终端发送方通过摄像头识别;
    移动终端发送方与移动终端接收方握手确认后确认数据交换协议。
  13. 根据权利要求11所述的存储介质,其中,所述协议交换内容具体包括移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大小、传输窗口粒度和曾经握手的记录。
  14. 根据权利要求12所述的存储介质,其中,所述协议交换内容具体包括移动终端支持的传输方式及各传输方式的使用情况、移动终端传输媒介芯片的唯一地址、移动终端IMEI、移动终端各传输方式建议数据包大小、传输窗口粒度和曾经握手的记录。
  15. 根据权利要求12所述的存储介质,其中,所述源图片和反馈图片均为二维码图片。
  16. 根据权利要求13所述的存储介质,其中,所述移动终端发送方将待传输源文件拆分为子数据包通过各传输方式进行文件传输具体包括如下步骤:
    所述移动终端发送方根据握手确认的数据交换协议确认可使用的传输方式;
    所述移动终端发送方将待传输源文件的源数据包拆分成若干子数据包;
    所述移动终端发送方将各个子数据包与可使用的传输方式绑定后通过各传输方式进行文件传输。
  17. 根据权利要求16所述的存储介质,其中,所述移动终端接收方通过各传输方式接收到相应的子数据包后重组为源文件具体包括如下步骤:
    所述移动终端接收方根据握手确认的数据交换协议中的传输方式接收到相应的子数据包;
    所述移动终端接收方将所述子数据包重组为所述移动终端发送方传输的 源文件。
  18. 根据权利要求17所述的存储介质,其中,所述传输方式包括蓝牙、WIFI、蜂窝数据、NFC。
PCT/CN2018/110187 2017-10-13 2018-10-15 移动终端及其数据传输方法、及存储介质 Ceased WO2019072255A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710950996.6 2017-10-13
CN201710950996.6A CN107659968A (zh) 2017-10-13 2017-10-13 移动终端及其数据传输方法、及存储介质

Publications (1)

Publication Number Publication Date
WO2019072255A1 true WO2019072255A1 (zh) 2019-04-18

Family

ID=61118571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/110187 Ceased WO2019072255A1 (zh) 2017-10-13 2018-10-15 移动终端及其数据传输方法、及存储介质

Country Status (2)

Country Link
CN (1) CN107659968A (zh)
WO (1) WO2019072255A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659968A (zh) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 移动终端及其数据传输方法、及存储介质
CN110505712A (zh) * 2018-05-17 2019-11-26 华为技术有限公司 一种传输文件的方法及终端
CN114615259B (zh) * 2022-04-07 2024-08-13 深圳市兆珑科技有限公司 文件传输方法、装置及终端设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802155A (zh) * 2012-08-17 2012-11-28 珠海金山办公软件有限公司 一种移动终端与智能显示设备快速建立连接的方法
CN103220822A (zh) * 2013-04-08 2013-07-24 北京小米科技有限责任公司 数据传输方法、装置和移动终端
CN105792113A (zh) * 2016-05-12 2016-07-20 中国联合网络通信集团有限公司 Nfc通信方法、智能信息终端、智能终端和nfc通信系统
CN106686530A (zh) * 2016-12-29 2017-05-17 深圳市维康宝技术有限公司 一种数据的智能传输方法及移动终端
CN107071832A (zh) * 2017-05-27 2017-08-18 努比亚技术有限公司 数据包传输系统及方法
CN107659968A (zh) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 移动终端及其数据传输方法、及存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281810A (zh) * 2014-06-10 2016-01-27 西安中兴新软件有限责任公司 一种传输数据的方法、设备和系统
CN105450266A (zh) * 2014-09-24 2016-03-30 中兴通讯股份有限公司 一种近距离传输数据的方法、终端和系统
CN105848180A (zh) * 2016-01-25 2016-08-10 乐卡汽车智能科技(北京)有限公司 数据链路的建立方法、数据传输方法、装置及移动终端
CN106569918A (zh) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 一种数据备份方法及移动终端
CN107124737A (zh) * 2017-05-27 2017-09-01 努比亚技术有限公司 移动终端及数据包传输方法
CN107155204B (zh) * 2017-07-20 2020-05-19 广东工业大学 一种蓝牙与Wifi切换的方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802155A (zh) * 2012-08-17 2012-11-28 珠海金山办公软件有限公司 一种移动终端与智能显示设备快速建立连接的方法
CN103220822A (zh) * 2013-04-08 2013-07-24 北京小米科技有限责任公司 数据传输方法、装置和移动终端
CN105792113A (zh) * 2016-05-12 2016-07-20 中国联合网络通信集团有限公司 Nfc通信方法、智能信息终端、智能终端和nfc通信系统
CN106686530A (zh) * 2016-12-29 2017-05-17 深圳市维康宝技术有限公司 一种数据的智能传输方法及移动终端
CN107071832A (zh) * 2017-05-27 2017-08-18 努比亚技术有限公司 数据包传输系统及方法
CN107659968A (zh) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 移动终端及其数据传输方法、及存储介质

Also Published As

Publication number Publication date
CN107659968A (zh) 2018-02-02

Similar Documents

Publication Publication Date Title
CN113014483B (zh) 一种多路径传输的方法及设备
CN114697733A (zh) 投屏音视频数据的传输方法以及相关设备
CN113728577B (zh) 用于使用选择性中继来构造协议数据单元的系统和方法
WO2019001406A1 (zh) 数据传输方法、用户设备和网络设备
US12095572B2 (en) Method and apparatus for transmitting hybrid automatic repeat request feedback, and storage medium
WO2021022424A1 (zh) 数据传输方法及传输装置、通信设备及存储介质
CN110268662B (zh) 混合自动重传请求反馈的传输方法、装置及存储介质
CN110995750A (zh) 终端设备
WO2019072255A1 (zh) 移动终端及其数据传输方法、及存储介质
CN101227490B (zh) 网络存储方法及系统
CN115250453A (zh) 一种数据传输方法及设备
CN111315031A (zh) 上行传输方法、终端及网络设备
CN101656730B (zh) 通信装置、通信系统、通信方法
US20240187138A1 (en) Physical sidelink feedback method and apparatus, and storage medium
CN101515812A (zh) 终端间基于蓝牙技术的信息共享方法
WO2022083371A1 (zh) 一种数据传输方法和装置
US12244426B2 (en) Data transmission method and apparatus, and storage medium
US11146935B2 (en) Short range wireless communication device and method
CN113169825B (zh) 数据包传输方法及装置
CN101867397A (zh) 一种基于蓝牙的数据传输方法及系统、接收及发送终端
WO2012048540A1 (zh) 传输数据的方法、系统及终端
WO2023280298A1 (zh) 一种反馈方式的确定方法、装置、芯片及模组设备
JP5966917B2 (ja) 中継装置
CN115695583A (zh) 数据传输方法及电子设备
CN111727585A (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: 18867082

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: 18867082

Country of ref document: EP

Kind code of ref document: A1