WO2019051661A1 - 一种文件传输方法及终端 - Google Patents

一种文件传输方法及终端 Download PDF

Info

Publication number
WO2019051661A1
WO2019051661A1 PCT/CN2017/101526 CN2017101526W WO2019051661A1 WO 2019051661 A1 WO2019051661 A1 WO 2019051661A1 CN 2017101526 W CN2017101526 W CN 2017101526W WO 2019051661 A1 WO2019051661 A1 WO 2019051661A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
transmission
terminal
receiving terminal
communication connection
Prior art date
Application number
PCT/CN2017/101526
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 PCT/CN2017/101526 priority Critical patent/WO2019051661A1/zh
Publication of WO2019051661A1 publication Critical patent/WO2019051661A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • 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 application relates to the field of communications technologies, and in particular, to a file transmission method and a terminal.
  • mobile terminals can perform file transmission with other mobile terminals to meet user requirements for file sharing, such as photos, audio and video, and the like.
  • file transmission mode between mobile terminals is also diverse, and short-distance wireless communication such as Bluetooth or infrared can be used for mutual transmission, and third-party software, such as IM, QQ, can be used for interconnection and transmission through the Internet, and uploading after uploading the cloud A variety of convenient ways.
  • Bluetooth a radio technology that supports short-range communication of devices.
  • communication between mobile communication terminal devices can be effectively simplified, and communication between the device and the Internet can be successfully simplified, thereby making data transmission more rapid and efficient, and broadening the road for wireless communication.
  • Bluetooth uses a decentralized network structure and fast frequency hopping and short packet technology to support point-to-point and point-to-multipoint communication. It operates in the global 2.4GHz frequency band and has a data rate of 1Mbps. It can be implemented with a split-duplex transmission scheme. Transfer.
  • the existing intelligent terminal device can only transmit a small amount of data through Bluetooth after data transmission through the Bluetooth transmission protocol, so that the user cannot transmit large data such as files through the Bluetooth transmission protocol, even if it can be performed.
  • the transmission of big data the transmission speed is very slow and increases the power consumption of the terminal.
  • the present application provides a file transmission method and a terminal. [0007] In order to solve the above technical problem, the present application provides a file transmission method, which is applied to a transmitting terminal.
  • the file transmission method includes the steps of:
  • the compressing the transmission file includes the following steps:
  • the method further includes the following steps: [0015] if the Bluetooth communication connection with the receiving terminal is interrupted and restored, acquiring the transmission file Transmission breakpoint
  • the acquiring a transmission breakpoint of the transmission file includes the following steps:
  • the present application further provides a transmitting terminal, where the sending terminal includes: a memory, a processor, and a file transfer program stored on the memory and operable on the processor, the file transfer program The steps of implementing the file transfer method of the first aspect are performed by the processor.
  • the present application further provides a file transmission method, which is applied to a receiving terminal, and the file transmission method includes the following steps:
  • the method before performing the decompressing process on the received transmission file, the method further includes the following steps:
  • the received transmission file is decrypted. [0027] wherein the method further includes the steps of:
  • the present application further provides a receiving terminal, where the receiving terminal includes: a memory, a processor, and a file transfer program stored on the memory and executable on the processor, the file transfer program
  • the steps of the file transfer method described in the third aspect are performed by the processor.
  • the present application further provides a file transmission method, where the file transmission method includes the following steps:
  • the sending terminal establishes a Bluetooth communication connection with the receiving terminal
  • the transmitting terminal performs compression processing on the transmission file; and transmits the compressed transmission file to the receiving terminal through the Bluetooth communication connection;
  • the receiving terminal receives the compressed transmission file transmitted by the sending terminal by using the Bluetooth communication connection; and decompressing the received transmission file.
  • a file transmission method and a terminal provided by the embodiment of the present application, the transmitting terminal compresses the transmission file, and transmits the transmission file to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file;
  • the Bluetooth transmission protocol transmits large data such as files, improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.
  • FIG. 1 is a schematic flow chart of a file transfer method according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a transmitting terminal according to a second embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a file transmission method according to a third embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a receiving terminal according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a file transmission method according to a fifth embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a file transmission apparatus according to a sixth embodiment of the present invention.
  • the implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings.
  • the terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a tablet, a notebook computer, a palmtop computer, a PDA (Personal Digital Assistant), a PMP (Portable Media Player, a portable media player), a navigation device, and Mobile terminals such as wearable devices (eg, smart bracelets, smart watches, etc.), smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
  • a first embodiment of the present invention provides a file transmission method, where the method is applied to a sending terminal, and the file transmission method includes the following steps:
  • a Bluetooth communication connection list may be obtained, and a name of the receiving terminal is selected in the Bluetooth communication connection list for pairing connection. Or acquiring a Bluetooth identifier of the receiving terminal; and sending a Bluetooth connection request to the receiving terminal to establish a connection according to the Bluetooth identifier of the receiving terminal.
  • the compression method of the transmission file may be lossless compression or lossy compression;
  • lossless compression includes Huffman coding, arithmetic coding, run length coding, KZ coding, etc.;
  • lossy compression includes motion compensation, discrete cosine Coding, Discrete Wavelet Coding, Discrete Fourier Transform Coding, Fragmentation Coding, Vector Coding, JPE G Coding, MPEG Coding, H.264 Coding, etc.
  • the compressing the transmission file includes the following steps:
  • the encryption method of the file may include data encryption (Data Encryption Standard)
  • the encryption mode includes any one or more of a password mode, a fingerprint mode, a sound mode, and an iris mode.
  • the method further includes the following steps:
  • the acquiring a transmission breakpoint of the transmission file includes the following steps:
  • a file transmission method is provided by the embodiment of the present invention.
  • the transmitting terminal compresses the transmission file and transmits the transmission file to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file; so that the user can transmit through the Bluetooth.
  • the protocol carries out the transmission of large data such as files, improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.
  • a second embodiment of the present invention provides a transmitting terminal, where the transmitting terminal 20 includes: a memory 21, a processor 22, and is stored in the memory 21 and can be in the processor 22.
  • the file transfer program running on the file transfer program is executed by the processor 22 to implement the following steps of the file transfer method: [0066] 11. Establish a Bluetooth communication connection with the receiving terminal;
  • the file transfer program is executed by the processor 22, and is also used to implement the following steps of the file transfer method:
  • the file transfer program is executed by the processor 22, and is also used to implement the following steps of the file transfer method:
  • the file transfer program is executed by the processor 22, and is also used to implement the following steps of the file transfer method:
  • a transmitting terminal compresses a transmission file and transmits the transmission file to a receiving terminal through a Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file, so that the user can transmit the protocol through the Bluetooth.
  • the transmission of large data such as files improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.
  • a third embodiment of the present invention provides a file transmission method, where the method is applied to a receiving terminal, and the file transmission method includes the following steps:
  • a Bluetooth communication connection list may be obtained, and the sending terminal is selected in the Bluetooth communication connection list.
  • the name is paired to connect. Or acquiring a Bluetooth identifier of the sending terminal; and sending a Bluetooth connection request to the sending terminal to establish a connection according to the Bluetooth identifier of the sending terminal.
  • the method before the decompressing the received transmission file, the method further includes the following steps: [0086] if the received transmission file has been subjected to encryption processing, decrypting the received transmission file .
  • the method further includes the steps of:
  • the transmitting terminal compresses the transmission file and transmits the transmission file to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file; so that the user can transmit through the Bluetooth.
  • the protocol carries out the transmission of large data such as files, improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.
  • a fourth embodiment of the present invention provides a receiving terminal, where the sending terminal 40 includes: a memory 41, a processor 42 and is stored in the memory 41 and can be in the processor 42.
  • the file transfer program running on the file transfer program is executed by the processor 42 to implement the following steps of the file transfer method:
  • the file transfer program is executed by the processor 42 and is also used to implement the following steps of the file transfer method:
  • the file transfer program is executed by the processor 42 and is further configured to implement the following steps of the file transfer method:
  • a receiving terminal is provided by the sending terminal, and the transmitting terminal compresses the transmission file and transmits the data to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file; so that the user can transmit the protocol through the Bluetooth.
  • the transmission of large data such as files improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.
  • a fifth embodiment of the present invention provides a file transmission method, where the file transmission method includes the following steps:
  • the sending terminal establishes a Bluetooth communication connection with the receiving terminal.
  • a Bluetooth communication connection list may be acquired, and a name of the receiving terminal is selected in the Bluetooth communication connection list for pairing connection. Or acquiring a Bluetooth identifier of the receiving terminal; and sending a Bluetooth connection request to the receiving terminal to establish a connection according to the Bluetooth identifier of the receiving terminal.
  • the sending terminal performs a compression process on the transmission file, and transmits the compressed transmission file to the receiving terminal by using the Bluetooth communication connection.
  • the compression method of the transmission file may be lossless compression or lossy compression;
  • lossless compression includes Huffman coding, arithmetic coding, run length coding, KZ coding, etc.
  • lossy compression includes motion compensation, discrete cosine Coding, Discrete Wavelet Coding, Discrete Fourier Transform Coding, Fragmentation Coding, Vector Coding, JPE G Coding, MPEG Coding, H.264 Coding, etc.
  • the receiving terminal receives the compressed transmission file transmitted by the sending terminal by using the Bluetooth communication connection, and performs decompression processing on the received transmission file.
  • a file transmission method is provided by the embodiment of the present invention, the sending terminal compresses the transmission file, and transmits the transmission file to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file; so that the user can transmit through the Bluetooth.
  • the protocol transfers large data such as files to improve the speed of file transfer. Reduce the power consumption of the terminal for file transfer, and have a strong user experience.
  • FIG. 6 is a file transmission device according to a sixth embodiment of the present invention.
  • the file transmission device 60 includes: a memory 61, a processor 62, and a memory 61 stored in the memory 61.
  • the file transfer program running on the processor 62 is executed by the processor 62 for implementing the steps of the following file transfer method.
  • the sending terminal establishes a Bluetooth communication connection with the receiving terminal.
  • the sending terminal performs a compression process on the transmission file, and transmits the compressed transmission file to the receiving terminal by using the Bluetooth communication connection.
  • the receiving terminal receives the compressed transmission file transmitted by the sending terminal by using the Bluetooth communication connection, and performs decompression processing on the received transmission file.
  • a file transmission apparatus compresses a transmission file, and transmits the transmission file to a receiving terminal through a Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file; so that the user can transmit through Bluetooth.
  • the protocol carries out the transmission of large data such as files, improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.
  • a seventh embodiment of the present invention provides a computer readable storage medium.
  • the computer readable storage medium stores a file transfer program, where the file transfer program is executed by a processor, and is configured to implement the following file transfer.
  • the sending terminal establishes a Bluetooth communication connection with the receiving terminal.
  • the transmitting terminal performs a compression process on the transmission file, and transmits the compressed transmission file to the receiving terminal by using the Bluetooth communication connection.
  • the receiving terminal receives the compressed transmission file transmitted by the sending terminal by using the Bluetooth communication connection, and performs decompression processing on the received transmission file.
  • the transmitting terminal compresses the transmission file, and transmits the transmission file to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file; so that the user can transmit through the Bluetooth.
  • Protocol to transfer large data such as files, speed up file transfer
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • a storage medium such as ROM/RAM, disk
  • the optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the method for transmitting a file and the terminal provided by the embodiment of the present invention, the transmitting terminal compresses the transmission file, and transmits the transmission file to the receiving terminal through the Bluetooth communication connection, and the receiving terminal performs decompression after receiving the transmission file;
  • the Bluetooth transmission protocol transmits large data such as files, improves the speed of file transfer, reduces the power consumption of the file transfer terminal, and has a strong user experience.

Landscapes

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

Abstract

本发明公开了一种文件传输方法及终端,所述文件传输方法包括步骤:发送终端与接收终端建立蓝牙通讯连接;所述发送终端对传输文件进行压缩处理;将压缩处理后的传输文件,通过所述蓝牙通讯连接传输给所述接收终端;所述接收终端通过所述蓝牙通讯连接,接收所述发送终端传输的压缩处理后的传输文件;对接收到的传输文件进行解压缩处理。本发明公开的文件传输方法及终端,发送终端对传输文件进行压缩,并通过蓝牙通讯连接传输到接收终端,接收终端接收到传输文件后进行解压缩;使得用户可通过蓝牙传输协议进行文件等大数据的传输,提升文件传输的速度,降低文件传输的终端功耗,用户体验感强。

Description

说明书 发明名称:一种文件传输方法及终端
技术领域
[0001] 本申请涉及通信技术领域, 尤其涉及一种文件传输方法及终端。
背景技术
[0002] 随着通信技术的发展以及移动终端功能的多样化, 移动终端可以与其他移动终 端进行文件传输, 以满足用户对文件共享的需求, 例如照片、 音视频等。 其中 , 移动终端之间的文件传输方式也多样, 可以采用蓝牙或红外等短距离无线通 信实现互传, 还可以利用第三方软件, 例如 IM、 QQ, 通过互联网实现互联互传 , 上传云端后下载等多种很便利的方式。
[0003] 蓝牙, 是一种支持设备短距离通信的无线电技术。 利用蓝牙技术, 能够有效地 简化移动通信终端设备之间的通信, 也能够成功地简化设备与因特网之间的通 信, 从而使得数据传输变得更加迅速高效, 为无线通信拓宽道路。 蓝牙采用分 散式网络结构以及快跳频和短包技术, 支持点对点及点对多点通信, 工作在全 球通用的 2.4GHz频段, 其数据速率为 1Mbps, 可采用吋分双工传输方案实现全双 工传输。
[0004] 现实生活中, 人们采用蓝牙作为传输手段无处不见, 但是在通过蓝牙传输协议 进行数据传输吋, 仅能通过蓝牙进行较小数据量的传输, 使得用户无法通过蓝 牙传输协议进行文件等大数据的传输, 即使可以进行大数据的传输, 传输的速 度非常慢且增加了终端的功耗。
技术问题
[0005] 现有的智能终端设备, 在通过蓝牙传输协议进行数据传输吋, 仅能通过蓝牙进 行较小数据量的传输, 使得用户无法通过蓝牙传输协议进行文件等大数据的传 输, 即使可以进行大数据的传输, 传输的速度非常慢且增加了终端的功耗。 问题的解决方案
技术解决方案
[0006] 针对上述技术问题, 本申请提供一种文件传输方法及终端。 [0007] 为解决上述技术问题, 本申请提供一种文件传输方法, 该方法应用于发送终端
, 其中, 所述文件传输方法包括步骤:
[0008] 与接收终端建立蓝牙通讯连接;
[0009] 对传输文件进行压缩处理;
[0010] 将压缩处理后的传输文件, 通过所述蓝牙通讯连接传输给所述接收终端。
[0011] 其中, 所述对传输文件进行压缩处理包括步骤:
[0012] 将传输文件进行加密处理;
[0013] 对加密处理后的传输文件进行压缩处理。
[0014] 其中, 所述通过所述蓝牙通讯连接传输给所述接收终端之后还包括步骤: [0015] 若与所述接收终端之间的蓝牙通讯连接中断且恢复后, 获取所述传输文件的传 输断点;
[0016] 基于所述传输断点, 将所述传输文件的剩余数据传输给所述接收终端。
[0017] 其中, 所述获取所述传输文件的传输断点包括步骤:
[0018] 向所述接收终端发送文件续传请求, 以使得所述接收终端根据已接收到的传输 文件数据确定传输文件断点信息, 并将所述传输文件断点信息发送给所述发送 终端;
[0019] 接收所述接收终端发送的传输文件断点信息, 根据接收到的传输文件断点信息 确定所述传输文件的传输断点。
[0020] 本申请还提供一种发送终端, 其中, 所述发送终端包括: 存储器、 处理器及存 储在所述存储器上并可在所述处理器上运行的文件传输程序, 所述文件传输程 序被所述处理器执行吋实现第一方面所述的文件传输方法的步骤。
[0021] 本申请还提供一种文件传输方法, 该方法应用于接收终端, 所述文件传输方法 包括步骤:
[0022] 与发送终端建立蓝牙通讯连接;
[0023] 通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理后的传输文件; [0024] 对接收到的传输文件进行解压缩处理。
[0025] 其中, 所述对接收到的传输文件进行解压缩处理之前还包括步骤:
[0026] 若接收到的传输文件已进行加密处理, 则对接收到的传输文件进行解密处理。 [0027] 其中, 所述方法还包括步骤:
[0028] 若接收到所述发送终端发送的文件续传请求, 则根据已接收到的传输文件数据 确定传输文件断点信息, 并将所述传输文件断点信息发送给所述发送终端; 以 使得所述发送终端根据接收到的传输文件断点信息确定所述传输文件的传输断 点, 并基于所述传输断点将所述传输文件的剩余数据传输给所述接收终端。
[0029] 本申请还提供一种接收终端, 其中, 所述接收终端包括: 存储器、 处理器及存 储在所述存储器上并可在所述处理器上运行的文件传输程序, 所述文件传输程 序被所述处理器执行吋实现第三方面所述的文件传输方法的步骤。
[0030] 本申请还提供一种文件传输方法, 其中, 所述文件传输方法包括步骤:
[0031] 发送终端与接收终端建立蓝牙通讯连接;
[0032] 所述发送终端对传输文件进行压缩处理; 将压缩处理后的传输文件, 通过所述 蓝牙通讯连接传输给所述接收终端;
[0033] 所述接收终端通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理后的 传输文件; 对接收到的传输文件进行解压缩处理。
发明的有益效果
有益效果
[0034] 本申请实施例提供的一种文件传输方法及终端, 发送终端对传输文件进行压缩 , 并通过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压 缩; 使得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的 速度, 降低文件传输的终端功耗, 用户体验感强。
对附图的简要说明
附图说明
[0035] 图 1为本发明第一实施例的文件传输方法流程示意图;
[0036] 图 2为本发明第二实施例的发送终端结构示意图;
[0037] 图 3为本发明第三实施例的文件传输方法流程示意图;
[0038] 图 4为本发明第四实施例的接收终端结构示意图;
[0039] 图 5为本发明第五实施例的文件传输方法流程示意图;
[0040] 图 6为本发明第六实施例的文件传输装置结构示意图。 [0041] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。
本发明的实施方式
[0042] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。
[0043] 在后续的描述中, 使用用于表示元件的诸如"模块"、 "部件 "或"单元"的后缀仅 为了有利于本发明的说明, 其本身没有特定的意义。 因此, "模块"、 "部件 "或" 单元"可以混合地使用。
[0044] 终端可以以各种形式来实施。 例如, 本发明中描述的终端可以包括诸如手机、 平板电脑、 笔记本电脑、 掌上电脑、 PDA (Personal Digital Assistant, 个人数字 助理) 、 PMP (Portable Media Player, 便捷式媒体播放器) 、 导航装置、 可穿戴 设备 (例如, 智能手环、 智能手表等) 、 智能手环、 计步器等移动终端, 以及 诸如数字 TV、 台式计算机等固定终端。
[0045] 后续描述中将以移动终端为例进行说明, 本领域技术人员将理解的是, 除了特 别用于移动目的的元件之外, 根据本发明的实施方式的构造也能够应用于固定 类型的终端。
[0046] 第一实施例
[0047] 如图 1所示, 本发明第一实施例提供一种文件传输方法, 该方法应用于发送终 端, 所述文件传输方法包括步骤:
[0048] 11、 与接收终端建立蓝牙通讯连接。
[0049] 具体地, 可获取蓝牙通讯连接列表, 在所述蓝牙通讯连接列表中选取接收终端 的名称进行配对连接。 或者, 获取接收终端的蓝牙标识; 根据接收终端的蓝牙 标识, 向所述接收终端发送蓝牙连接请求建立连接。
[0050] 12、 对传输文件进行压缩处理。
[0051] 在本实施例中, 传输文件的压缩方法可以为无损压缩或有损压缩; 无损压缩包 括霍夫曼编码、 算数编码、 行程编码、 K-Z编码等; 有损压缩包括运动补偿、 离 散余弦编码、 离散小波编码、 离散傅里叶变换编码、 分型编码、 矢量编码、 JPE G编码、 MPEG编码、 H.264编码等等。 [0052] 在一种实施方式中, 所述对传输文件进行压缩处理包括步骤:
[0053] 将传输文件进行加密处理;
[0054] 对加密处理后的传输文件进行压缩处理。
[0055] 在该实施方式中, 文件的加密方法可以包括数据加密 (Data Encryption Standard
, DES)、 三重数据加密算法 (3DES)以及 AES加密 (Advanced Encryption Standard , AES)等。 加密模式包括密码模式、 指纹模式、 声音模式和虹膜模式中的任意 一种或多种。
[0056] 13、 将压缩处理后的传输文件, 通过所述蓝牙通讯连接传输给所述接收终端。
[0057] 在一种实施方式中, 所述通过所述蓝牙通讯连接传输给所述接收终端之后还包 括步骤:
[0058] 若与所述接收终端之间的蓝牙通讯连接中断且恢复后, 获取所述传输文件的传 输断点;
[0059] 基于所述传输断点, 将所述传输文件的剩余数据传输给所述接收终端。
[0060] 在该实施方式中, 所述获取所述传输文件的传输断点包括步骤:
[0061] 向所述接收终端发送文件续传请求, 以使得所述接收终端根据已接收到的传输 文件数据确定传输文件断点信息, 并将所述传输文件断点信息发送给所述发送 终端;
[0062] 接收所述接收终端发送的传输文件断点信息, 根据接收到的传输文件断点信息 确定所述传输文件的传输断点。
[0063] 本发明实施例提供的一种文件传输方法, 发送终端对传输文件进行压缩, 并通 过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使 得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度, 降低文件传输的终端功耗, 用户体验感强。
[0064] 第二实施例
[0065] 如图 2所示, 本发明第二实施例提供一种发送终端, 所述发送终端 20包括: 存 储器 21、 处理器 22及存储在所述存储器 21上并可在所述处理器 22上运行的文件 传输程序, 所述文件传输程序被所述处理器 22执行吋, 用于实现以下的文件传 输方法的步骤: [0066] 11、 与接收终端建立蓝牙通讯连接;
[0067] 12、 对传输文件进行压缩处理;
[0068] 13、 将压缩处理后的传输文件, 通过所述蓝牙通讯连接传输给所述接收终端。
[0069] 所述文件传输程序被所述处理器 22执行吋, 还用于实现以下的文件传输方法的 步骤:
[0070] 将传输文件进行加密处理;
[0071] 对加密处理后的传输文件进行压缩处理。
[0072] 所述文件传输程序被所述处理器 22执行吋, 还用于实现以下的文件传输方法的 步骤:
[0073] 若与所述接收终端之间的蓝牙通讯连接中断且恢复后, 获取所述传输文件的传 输断点;
[0074] 基于所述传输断点, 将所述传输文件的剩余数据传输给所述接收终端。
[0075] 所述文件传输程序被所述处理器 22执行吋, 还用于实现以下的文件传输方法的 步骤:
[0076] 向所述接收终端发送文件续传请求, 以使得所述接收终端根据已接收到的传输 文件数据确定传输文件断点信息, 并将所述传输文件断点信息发送给所述发送 终端;
[0077] 接收所述接收终端发送的传输文件断点信息, 根据接收到的传输文件断点信息 确定所述传输文件的传输断点。
[0078] 本发明实施例提供的一种发送终端, 发送终端对传输文件进行压缩, 并通过蓝 牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使得用 户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度, 降低 文件传输的终端功耗, 用户体验感强。
[0079] 第三实施例
[0080] 如图 3所示, 本发明第三实施例提供一种文件传输方法, 该方法应用于接收终 端, 所述文件传输方法包括步骤:
[0081] 31、 与发送终端建立蓝牙通讯连接;
[0082] 具体地, 可获取蓝牙通讯连接列表, 在所述蓝牙通讯连接列表中选取发送终端 的名称进行配对连接。 或者, 获取发送终端的蓝牙标识; 根据发送终端的蓝牙 标识, 向所述发送终端发送蓝牙连接请求建立连接。
[0083] 32、 通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理后的传输文件 [0084] 33、 对接收到的传输文件进行解压缩处理。
[0085] 在本实施例中, 所述对接收到的传输文件进行解压缩处理之前还包括步骤: [0086] 若接收到的传输文件已进行加密处理, 则对接收到的传输文件进行解密处理。
[0087] 在一种实施方式中, 所述方法还包括步骤:
[0088] 若接收到所述发送终端发送的文件续传请求, 则根据已接收到的传输文件数据 确定传输文件断点信息, 并将所述传输文件断点信息发送给所述发送终端; 以 使得所述发送终端根据接收到的传输文件断点信息确定所述传输文件的传输断 点, 并基于所述传输断点将所述传输文件的剩余数据传输给所述接收终端。
[0089] 本发明实施例提供的一种文件传输方法, 发送终端对传输文件进行压缩, 并通 过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使 得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度, 降低文件传输的终端功耗, 用户体验感强。
[0090] 第四实施例
[0091] 如图 4所示, 本发明第四实施例提供一种接收终端, 所述发送终端 40包括: 存 储器 41、 处理器 42及存储在所述存储器 41上并可在所述处理器 42上运行的文件 传输程序, 所述文件传输程序被所述处理器 42执行吋, 用于实现以下的文件传 输方法的步骤:
[0092] 31、 与发送终端建立蓝牙通讯连接;
[0093] 32、 通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理后的传输文件 [0094] 33、 对接收到的传输文件进行解压缩处理。
[0095] 所述文件传输程序被所述处理器 42执行吋, 还用于实现以下的文件传输方法的 步骤:
[0096] 若接收到的传输文件已进行加密处理, 则对接收到的传输文件进行解密处理。 [0097] 所述文件传输程序被所述处理器 42执行吋, 还用于实现以下的文件传输方法的 步骤:
[0098] 若接收到所述发送终端发送的文件续传请求, 则根据已接收到的传输文件数据 确定传输文件断点信息, 并将所述传输文件断点信息发送给所述发送终端; 以 使得所述发送终端根据接收到的传输文件断点信息确定所述传输文件的传输断 点, 并基于所述传输断点将所述传输文件的剩余数据传输给所述接收终端。
[0099] 本发明实施例提供的一种接收终端, 发送终端对传输文件进行压缩, 并通过蓝 牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使得用 户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度, 降低 文件传输的终端功耗, 用户体验感强。
[0100] 第五实施例
[0101] 如图 5所示, 本发明第五实施例提供一种文件传输方法, 所述文件传输方法包 括步骤:
[0102] 51、 发送终端与接收终端建立蓝牙通讯连接;
[0103] 具体地, 可获取蓝牙通讯连接列表, 在所述蓝牙通讯连接列表中选取接收终端 的名称进行配对连接。 或者, 获取接收终端的蓝牙标识; 根据接收终端的蓝牙 标识, 向所述接收终端发送蓝牙连接请求建立连接。
[0104] 52、 所述发送终端对传输文件进行压缩处理; 将压缩处理后的传输文件, 通过 所述蓝牙通讯连接传输给所述接收终端;
[0105] 在本实施例中, 传输文件的压缩方法可以为无损压缩或有损压缩; 无损压缩包 括霍夫曼编码、 算数编码、 行程编码、 K-Z编码等; 有损压缩包括运动补偿、 离 散余弦编码、 离散小波编码、 离散傅里叶变换编码、 分型编码、 矢量编码、 JPE G编码、 MPEG编码、 H.264编码等等。
[0106] 53、 所述接收终端通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理 后的传输文件; 对接收到的传输文件进行解压缩处理。
[0107] 本发明实施例提供的一种文件传输方法, 发送终端对传输文件进行压缩, 并通 过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使 得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度, 降低文件传输的终端功耗, 用户体验感强。
[0108] 第六实施例
[0109] 参照图 6, 图 6为本发明第六实施例提供的一种文件传输装置, 所述文件传输装 置 60包括: 存储器 61、 处理器 62及存储在所述存储器 61上并可在所述处理器 62 上运行的文件传输程序, 所述文件传输程序被所述处理器 62执行吋, 用于实现 以下的文件传输方法的步骤。
[0110] 51、 发送终端与接收终端建立蓝牙通讯连接;
[0111] 52、 所述发送终端对传输文件进行压缩处理; 将压缩处理后的传输文件, 通过 所述蓝牙通讯连接传输给所述接收终端;
[0112] 53、 所述接收终端通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理 后的传输文件; 对接收到的传输文件进行解压缩处理。
[0113] 本发明实施例提供的一种文件传输装置, 发送终端对传输文件进行压缩, 并通 过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使 得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度, 降低文件传输的终端功耗, 用户体验感强。
[0114] 第七实施例
[0115] 本发明第七实施例提供一种计算机可读存储介质, 所述计算机可读存储介质上 存储有文件传输程序, 所述文件传输程序被处理器执行吋, 用于实现以下的文 件传输方法的步骤:
[0116] 51、 发送终端与接收终端建立蓝牙通讯连接;
[0117] 52、 所述发送终端对传输文件进行压缩处理; 将压缩处理后的传输文件, 通过 所述蓝牙通讯连接传输给所述接收终端;
[0118] 53、 所述接收终端通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理 后的传输文件; 对接收到的传输文件进行解压缩处理。
[0119] 本发明实施例提供的计算机可读存储介质, 发送终端对传输文件进行压缩, 并 通过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压缩; 使得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的速度
, 降低文件传输的终端功耗, 用户体验感强。 [0120] 需要说明的是, 在本文中, 术语"包括"、 "包含 "或者其任何其他变体意在涵盖 非排他性的包含, 从而使得包括一系列要素的过程、 方法、 物品或者装置不仅 包括那些要素, 而且还包括没有明确列出的其他要素, 或者是还包括为这种过 程、 方法、 物品或者装置所固有的要素。 在没有更多限制的情况下, 由语句 "包 括一个 ...... "限定的要素, 并不排除在包括该要素的过程、 方法、 物品或者装置 中还存在另外的相同要素。
[0121] 上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
[0122] 通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到上述实施例 方法可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计 算机软件产品存储在一个存储介质 (如 ROM/RAM、 磁碟、 光盘) 中, 包括若干 指令用以使得一台终端 (可以是手机, 计算机, 服务器, 空调器, 或者网络设 备等) 执行本发明各个实施例所述的方法。
[0123] 上面结合附图对本发明的实施例进行了描述, 但是本发明并不局限于上述的具 体实施方式, 上述的具体实施方式仅仅是示意性的, 而不是限制性的, 本领域 的普通技术人员在本发明的启示下, 在不脱离本发明宗旨和权利要求所保护的 范围情况下, 还可做出很多形式, 这些均属于本发明的保护之内。
工业实用性
[0124] 本发明实施例提供的一种文件传输方法及终端, 发送终端对传输文件进行压缩 , 并通过蓝牙通讯连接传输到接收终端, 接收终端接收到传输文件后进行解压 缩; 使得用户可通过蓝牙传输协议进行文件等大数据的传输, 提升文件传输的 速度, 降低文件传输的终端功耗, 用户体验感强。

Claims

权利要求书
[权利要求 1] 一种文件传输方法, 该方法应用于发送终端, 其特征在于, 所述文件 传输方法包括步骤:
与接收终端建立蓝牙通讯连接;
对传输文件进行压缩处理;
将压缩处理后的传输文件, 通过所述蓝牙通讯连接传输给所述接收终
[权利要求 2] 根据权利要求 1所述的一种文件传输方法, 其特征在于, 所述对传输 文件进行压缩处理包括步骤:
将传输文件进行加密处理;
对加密处理后的传输文件进行压缩处理。
[权利要求 3] 根据权利要求 1所述的一种文件传输方法, 其特征在于, 所述通过所 述蓝牙通讯连接传输给所述接收终端之后还包括步骤:
若与所述接收终端之间的蓝牙通讯连接中断且恢复后, 获取所述传输 文件的传输断点;
基于所述传输断点, 将所述传输文件的剩余数据传输给所述接收终端
[权利要求 4] 根据权利要求 3所述的一种文件传输方法, 其特征在于, 所述获取所 述传输文件的传输断点包括步骤:
向所述接收终端发送文件续传请求, 以使得所述接收终端根据已接收 到的传输文件数据确定传输文件断点信息, 并将所述传输文件断点信 息发送给所述发送终端;
接收所述接收终端发送的传输文件断点信息, 根据接收到的传输文件 断点信息确定所述传输文件的传输断点。
[权利要求 5] —种发送终端, 其特征在于, 所述发送终端包括: 存储器、 处理器及 存储在所述存储器上并可在所述处理器上运行的文件传输程序, 所述 文件传输程序被所述处理器执行吋实现如权利要求 1至 4中任一项所述 的文件传输方法的步骤。 一种文件传输方法, 该方法应用于接收终端, 其特征在于, 所述文件 传输方法包括步骤:
与发送终端建立蓝牙通讯连接;
通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩处理后的传输 文件;
对接收到的传输文件进行解压缩处理。
根据权利要求 6所述的一种文件传输方法, 其特征在于, 所述对接收 到的传输文件进行解压缩处理之前还包括步骤:
若接收到的传输文件已进行加密处理, 则对接收到的传输文件进行解 密处理。
根据权利要求 6所述的一种文件传输方法, 其特征在于, 所述方法还 包括步骤:
若接收到所述发送终端发送的文件续传请求, 则根据已接收到的传输 文件数据确定传输文件断点信息, 并将所述传输文件断点信息发送给 所述发送终端; 以使得所述发送终端根据接收到的传输文件断点信息 确定所述传输文件的传输断点, 并基于所述传输断点将所述传输文件 的剩余数据传输给所述接收终端。
一种接收终端, 其特征在于, 所述接收终端包括: 存储器、 处理器及 存储在所述存储器上并可在所述处理器上运行的文件传输程序, 所述 文件传输程序被所述处理器执行吋实现如权利要求 6至 8中任一项所述 的文件传输方法的步骤。
一种文件传输方法, 其特征在于, 所述文件传输方法包括步骤: 发送终端与接收终端建立蓝牙通讯连接;
所述发送终端对传输文件进行压缩处理; 将压缩处理后的传输文件, 通过所述蓝牙通讯连接传输给所述接收终端;
所述接收终端通过所述蓝牙通讯连接, 接收所述发送终端传输的压缩 处理后的传输文件; 对接收到的传输文件进行解压缩处理。
PCT/CN2017/101526 2017-09-13 2017-09-13 一种文件传输方法及终端 WO2019051661A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101526 WO2019051661A1 (zh) 2017-09-13 2017-09-13 一种文件传输方法及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101526 WO2019051661A1 (zh) 2017-09-13 2017-09-13 一种文件传输方法及终端

Publications (1)

Publication Number Publication Date
WO2019051661A1 true WO2019051661A1 (zh) 2019-03-21

Family

ID=65723234

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101526 WO2019051661A1 (zh) 2017-09-13 2017-09-13 一种文件传输方法及终端

Country Status (1)

Country Link
WO (1) WO2019051661A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839980A (zh) * 2020-06-24 2021-12-24 安徽华米信息科技有限公司 基于低功耗蓝牙ble的文件传输方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826896A (zh) * 2009-03-06 2010-09-08 索尼爱立信移动通信Ab株式会社 通信终端、发送方法和发送系统
CN103414790A (zh) * 2013-08-30 2013-11-27 苏州跨界软件科技有限公司 基于nfc的文件传输系统
CN103442009A (zh) * 2013-08-30 2013-12-11 苏州跨界软件科技有限公司 一种基于nfc的文件传输方法
CN103532936A (zh) * 2013-09-28 2014-01-22 福州瑞芯微电子有限公司 一种蓝牙音频自适应传输方法
CN105049729A (zh) * 2015-08-20 2015-11-11 吴先洪 一种无痕拍照方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826896A (zh) * 2009-03-06 2010-09-08 索尼爱立信移动通信Ab株式会社 通信终端、发送方法和发送系统
CN103414790A (zh) * 2013-08-30 2013-11-27 苏州跨界软件科技有限公司 基于nfc的文件传输系统
CN103442009A (zh) * 2013-08-30 2013-12-11 苏州跨界软件科技有限公司 一种基于nfc的文件传输方法
CN103532936A (zh) * 2013-09-28 2014-01-22 福州瑞芯微电子有限公司 一种蓝牙音频自适应传输方法
CN105049729A (zh) * 2015-08-20 2015-11-11 吴先洪 一种无痕拍照方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839980A (zh) * 2020-06-24 2021-12-24 安徽华米信息科技有限公司 基于低功耗蓝牙ble的文件传输方法及装置

Similar Documents

Publication Publication Date Title
CN107231627B (zh) 一种蓝牙网络及配网方法
AU2015386336B2 (en) Information processing device, information processing method, and program
US7600000B2 (en) Ultra wideband wireless storage device
JP2019149193A (ja) モバイル・デバイス上のアプリケーションからリモート・ウェブ・クライアントを扱うための技法
TW201441825A (zh) Usb重定向系統及方法
CN103560836A (zh) 声波无线通信方法和装置
WO2018049892A1 (zh) 数据传输方法、装置及终端
TW201215060A (en) Mobile communication device, mobile network sharing method and electronic device
WO2011140774A1 (zh) 实现移动终端与pc交互的方法、装置和系统
CA2728277C (en) Interface for pda and computing device
CN113438628B (zh) 用于数据交互的方法和装置
CN101583099B (zh) 一种用于移动终端的浏览系统
CN103312787A (zh) 一种通过指纹识别快速共享文件的方法及移动终端
CN101184288A (zh) 通信装置和通信装置控制方法
CN104123244A (zh) Usb重定向系统及方法
WO2019051661A1 (zh) 一种文件传输方法及终端
KR20190088820A (ko) 데이터 통신을 제어하는 방법 및 전자 장치
CN105049327A (zh) 一种触摸振动即时通讯的方法及系统
CN104954078A (zh) 基于声波通信的控制及响应方法和装置
CN114301642A (zh) 数据传输方法、装置、设备及存储介质
CN109067891A (zh) 一种远程控制移动终端通信系统的研发
WO2012163059A1 (zh) 设备重定向的数据传输的方法、装置及系统
WO2013078614A1 (zh) 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统
WO2012146000A1 (zh) 数据传输方法及系统
WO2012159291A1 (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: 17924912

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

Country of ref document: EP

Kind code of ref document: A1