WO2020044088A1 - 一种文件传输的方法及其装置、设备/终端/服务器 - Google Patents
一种文件传输的方法及其装置、设备/终端/服务器 Download PDFInfo
- Publication number
- WO2020044088A1 WO2020044088A1 PCT/IB2018/057149 IB2018057149W WO2020044088A1 WO 2020044088 A1 WO2020044088 A1 WO 2020044088A1 IB 2018057149 W IB2018057149 W IB 2018057149W WO 2020044088 A1 WO2020044088 A1 WO 2020044088A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- information
- transmitted
- terminal
- connection
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
Definitions
- the present application relates to the field of computers, and in particular, to the field of data transmission technologies, and in particular, to a file transmission method and device, device / terminal / server, and computer-readable medium. Background technique
- the receiving terminal can receive files sent by the sending terminal through data lines, the Internet, Bluetooth, and hotspots.
- the hotspot of the sending terminal needs to be manually opened first; then the receiving terminal performs a hotspot search, the search is successful, and the hotspot is requested to connect; the file can only be received from the sending terminal after the connection is successful. More operation steps will cause users to take longer and affect the user experience.
- the purpose of this application is to propose a file transmission method and device, device / terminal / server, and computer-readable medium, which are used to solve the problem of complicated file transmission operations in the prior art.
- the present application provides a file transmission method, including: a receiving terminal obtains connection information of at least one sending terminal, and at least one file information of the sending terminal to be transmitted;
- the receiving terminal establishes a short-range wireless communication connection with the transmitting terminal according to the connection information, and receives a file transmitted by the transmitting terminal according to the file information to be transmitted.
- an embodiment of the present application provides a device for file transmission, including: information An obtaining module configured to obtain connection information of at least one sending terminal and at least one file information to be transmitted of the sending terminal;
- the connection transmission module is configured to establish a short-range wireless communication connection with the sending terminal according to the connection information, and receive a file transmitted by the sending terminal according to the file information to be transmitted.
- an embodiment of the present application provides a device / terminal / server, including: one or more processors;
- Computer-readable media configured to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the foregoing embodiments.
- an embodiment of the present application provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements a method as described in any one of the foregoing embodiments.
- the connection information of at least one sending terminal is obtained through the receiving terminal, and the information about at least one file to be transmitted is sent by the sending terminal;
- the connection information establishes a short-range wireless communication connection with the sending terminal, and receives a file transmitted by the sending terminal according to the information of the file to be transmitted.
- FIG. 1 is a schematic flowchart of a file transmission method in Embodiment 1 of the present application
- FIG. 2 is a schematic flowchart of a file transmission method in Embodiment 2 of the present application
- FIG. 3 is a file transmission method in Embodiment 3 of the present application Device structure diagram
- Figure 4 is a structure diagram of a file transmission device in Embodiment 4 of the present application
- Figure 5 is a structure diagram of a device / terminal / server in Embodiment 5 of the present application
- Figure 6 is Embodiment 6 of the present application Device / terminal / server hardware structure.
- FIG. 1 is a schematic flowchart of a file transmission method in Embodiment 1 of the present application. As shown in Figure 1, it can include the following steps:
- Step S101 The receiving terminal obtains connection information of at least one sending terminal and information about at least one file to be transmitted by the sending terminal.
- the hardware forms of the receiving terminal and the sending terminal are not limited, and may include various devices with wireless communication functions and data processing capabilities, such as mobile phones, tablet computers, computers, vehicle-mounted devices, wearable devices, projectors, TV, credit card equipment, etc.
- the number of receiving terminals and sending terminals is not limited, that is, one receiving terminal can establish a short-range wireless communication connection with one or more transmitting terminals at the same time, and one transmitting terminal can also establish one or more receiving terminals at the same time. Short-range wireless communication connection.
- the short-range wireless communication connection may include at least one of a Bluetooth connection, an NFC connection, a hotspot connection, an optical transmission connection, and a sound wave transmission connection.
- the connection information carries information for identifying a sending terminal that can establish short-range wireless communication with the receiving terminal. For example, it may include the name, location, device model of the sending terminal, the supported short-range wireless communication connection method, the signal strength of the short-range wireless communication, and the connection status of the short-range wireless communication.
- connection information may also carry information that triggers the receiving terminal to establish a short-range wireless communication connection with the sending terminal, that is, after the receiving terminal obtains the connection information, it may perform an operation of establishing a short-range wireless communication connection with the sending terminal according to the connection information.
- the receiving terminal may enable the Bluetooth function of the receiving terminal according to the connection information and perform Bluetooth pairing with the sending terminal to establish a Bluetooth connection.
- connection information may also carry security verification information when the receiving terminal establishes a short-range wireless communication connection with the transmitting terminal.
- the connection information includes establishment with the sending terminal The password information required for the hotspot connection.
- the receiving terminal can perform security verification of the hotspot connection of the sending terminal according to the password information.
- the information of the file to be transmitted is used to determine a file transmitted by the sending terminal that can be received by the receiving terminal.
- the storage location of the file to be transmitted is not limited, for example, it can be stored in the sending terminal or stored in the server.
- the identification manner of the connection information and the information of the file to be transmitted is not limited, and may include, for example, at least one of a text, a number, a picture, and a machine-identifiable code.
- the receiving terminal can obtain the connection information and the file information to be transmitted in any way. For example, it can be received through data communication such as Internet communication and local area network communication, and it can also be obtained through the camera of the receiving terminal and the hardware meter such as microphone.
- the receiving terminal may obtain the connection information and the file information to be transmitted in any order.
- the receiving terminal may obtain at least one connection information of the sending terminal and at least one file information to be transmitted.
- the receiving terminal may simultaneously obtain connection information of the sending terminal A and the sending terminal B, two pieces of file information to be transmitted in the sending terminal A, and three pieces of file information to be transmitted in the sending terminal B.
- the receiving terminal may first obtain connection information of at least one sending terminal; and then select the connection information of at least one sending terminal according to the received instruction to determine the selected sending terminal; and then obtain the selected sending At least one file information of the terminal to be transmitted.
- the receiving terminal first obtains the connection information of the sending terminal A and the sending terminal B, and then selects the sending terminal A according to the received instruction, and the obtained file information to be transmitted is only two pieces of file information to be transmitted in the sending terminal A.
- the receiving terminal may first obtain at least one file information to be transmitted; and then select at least one file information to be transmitted according to the received instruction to determine the selected file information to be transmitted; and then obtain the selected file information to be transmitted Connection information of at least one sending terminal corresponding to the transmission file information.
- the receiving terminal first obtains information about two files to be transmitted in sending terminal A and three information about files to be transmitted in sending terminal B, and then selects at least one information about files to be transmitted in sending terminal B according to the received instruction, and finally obtains
- the connection information of is only the connection information of the sending terminal B.
- the user may send an instruction to the receiving terminal through at least one of a mouse, a keyboard, a touch screen, a voice, a limb movement, a facial expression, a mobile receiving terminal, and a vibration receiving terminal.
- the instruction received by the receiving terminal may be based on the user ’s Obtained in a single operation or in multiple operations by the user. In specific applications, settings can be adapted according to actual needs.
- Step S102 The receiving terminal establishes a short-range wireless communication connection with the sending terminal according to the connection information, and receives the file transmitted by the sending terminal according to the information of the file to be transmitted.
- the receiving terminal and the sending terminal may perform file transmission by using short-range wireless communication. After the short-range wireless communication connection is successfully established, the receiving terminal can receive the file transmitted by the sending terminal without consuming the data traffic of the Internet communication.
- the transmitting terminal may transmit the file to the receiving terminal through short-range wireless communication according to the information of the file to be transmitted.
- the sending terminal may obtain the file from the server according to the information of the file to be transmitted, and then transmit the file to the receiving terminal by means of short-range wireless communication; the receiving terminal may also be used. Obtain a file from the server according to the information of the file to be transmitted.
- the receiving terminal has no limitation on the storage location of the received file.
- it can be stored in the receiving terminal or stored in the server.
- the receiving terminal obtains connection information of at least one sending terminal and at least one file information to be transmitted of the sending terminal; the receiving terminal establishes a short-range wireless communication connection with the sending terminal according to the connection information, and according to the to-be-transmitted File information receives the file transmitted by the sending terminal.
- the embodiments of the present application can thus enable the receiving terminal to directly receive the file transmitted by the sending terminal after establishing a connection, and the user does not need to divide the establishment of the connection and receiving the file into two steps for operation, which reduces the tedious operation of file transmission.
- FIG. 2 is a schematic flowchart of a file transmission method in Embodiment 2 of the present application. As shown in Figure 2, it can include the following steps:
- Step S201 The receiving terminal obtains connection information of at least one sending terminal and information about at least one file to be transmitted by the sending terminal.
- a trigger condition for file transmission can be preset. When it is determined that the receiving terminal meets the trigger condition, it will trigger execution of at least one of obtaining connection information and file information to be transmitted.
- the trigger condition may include: The distance between the receiving terminal and the sending terminal is less than a preset distance value.
- the distance between the receiving terminal and the sending terminal can be obtained in any way.
- the distance between the receiving terminal and the sending terminal can be calculated by means of GPS positioning. It can also be obtained through the sensor hardware in the receiving terminal and the sending terminal.
- a “vibration receiving terminal” may be set as a trigger condition, and when the user shakes, taps, or collides with the receiving terminal with the sending terminal, the receiving terminal is triggered to execute the connection information and file to be transmitted. Processing of at least one of the messages.
- the file information to be transmitted may include at least one of file address information and file description information.
- the storage location of the file to be transmitted is determined according to the file address information, and the receiving terminal can directly obtain the corresponding file according to the file address information.
- the file description information is used to identify the file attributes of the file to be transferred, which is convenient for users to understand the status of the file to be transferred.
- the file attributes may include a file name, a file type, a file size, a file number, a file profile, and a transmitting terminal for transmitting files. At least one of them.
- step S201 may further include: filtering connection information of at least one sending terminal according to a short-range wireless communication connection mode supported by the receiving terminal.
- step S201 may include at least one of steps S201A and S201B.
- Step S201A The receiving terminal reads and parses the machine-readable code to obtain connection information and / or file information to be transmitted corresponding to the machine-readable code.
- the machine-readable code is a coding structure for carrying information, and the coding structure can be identified by the machine and parsed out the carried information.
- the type of the machine-readable code is not limited, and may include at least one of a barcode, a two-dimensional code, and a three-dimensional code, for example.
- the device for generating the machine-readable code is not limited.
- the machine-readable code that carries the connection information of the sending terminal A may be generated by the sending terminal A or may be generated by the server.
- the receiving terminal reads and parses the machine-readable code in any manner, such as receiving
- the terminal can use the image acquisition hardware to scan the machine-readable code for reading and analysis, or it can read and analyze the picture stored in the receiving terminal that includes the machine-readable code.
- one machine-readable code may carry connection information of at least one sending terminal and at least one file information to be transmitted.
- the receiving terminal only needs to read and parse a machine-readable code to obtain the connection information of the sending terminal A and the sending terminal B, the information of two files to be transmitted in the sending terminal A, and the three waiting information in the sending terminal B. Transfer file information.
- Step S201B The receiving terminal sends the short-range wireless communication request information to the server, and receives the connection information and / or file information determined by the server according to the short-range wireless communication request information.
- the receiving terminal may not be able to use the terminal hardware to directly search for a sending terminal that exceeds a certain distance range.
- the receiving terminal may send the short-range wireless communication request information to the server, and the server may receive and according to the short-range wireless communication request information, to the obtained at least one sending terminal.
- the connection information and / or file information to be transmitted are filtered to obtain connection information and / or file information to be transmitted corresponding to the short-range wireless communication request information.
- the server can filter out connection information and / or file information of all sending terminals within 100 meters of the receiving terminal according to the distance wireless communication request information.
- the server may communicate with at least one sending terminal according to a predetermined time period or after receiving the short-range wireless communication request information to obtain connection information and / or file information of the at least one sending terminal.
- the short-range wireless communication request information may be used to identify a current position of the receiving terminal, a relative position between the sending terminal and the receiving terminal, a supported short-range wireless communication connection method, and a preferred short-range wireless communication connection method. And at least one of the attributes of the file requested to be received, so that the sending terminal that can establish a short-range wireless communication connection with the receiving terminal at present or in a short time can be filtered, and the corresponding connection information and / or file information to be transmitted can be obtained.
- the server can filter out the sending terminal A that is 2 meters away from the receiving terminal according to the current location of the receiving terminal, so as to obtain the connection information of the sending terminal A and / or the information of the file to be transmitted.
- Step S202 The receiving terminal establishes a short-range wireless communication connection with the sending terminal according to the connection information, and receives the file transmitted by the sending terminal according to the information of the file to be transmitted.
- the method may further include: the receiving terminal selects the connection information according to the received instruction, and determines at least one sending terminal for establishing a short-range wireless communication connection.
- the receiving terminal may present the name of the sending terminal included in the connection information to the user through a pop-up window, and the user may select whether to connect to the sending terminal by clicking the operation control.
- the method may further include: the receiving terminal selects the file information to be transmitted according to the received instruction, and determines the transmission file received from the transmitting terminal.
- the method may further include: the receiving terminal sets a storage condition of the transmitted file received from the sending terminal according to the received instruction.
- the transmission file received from the sending terminal will be stored according to the storage conditions, and the storage conditions can be adapted to the actual needs in specific applications.
- the storage conditions may be set as follows: Priority is stored in the SD card of the receiving terminal; when the storage space of the SD card is insufficient, it is stored in the server.
- the storage condition may be used to determine at least one of a storage location, a storage format, and a storage identifier of the transmission file received from the sending terminal.
- the storage identifier may include at least one of text, numbers, and pictures. For example, it may be determined that a file transmitted by the sending terminal is stored in the "movie" folder of the SD card of the receiving terminal according to the storage conditions, the storage format is MP4, and the storage identifier is "movie A".
- Step S203 The receiving terminal verifies the file transmitted by the sending terminal.
- the receiving terminal may verify the file transmitted by the transmitting terminal, and the verification method is not limited.
- the receiving terminal can prompt the user.
- the verification method may include at least one of the following methods: calling security protection software for verification; obtaining verification information according to the received instruction, and performing verification based on the verification information; performing verification according to an encryption algorithm .
- the file transmitted by the sending terminal includes the MD5 encoded value.
- the receiving terminal After the receiving terminal finishes receiving the transmitted file, it obtains the MD5 encoded value of the transmitted file and verifies the transmission. Whether the MD5 encoding value of the file is correct.
- the receiving server can request The connection information and / or file information to be transmitted determined by the request information can be used to expand the search range of the sending terminal and the file to be transmitted, and to obtain the connection information and file information to be transmitted with higher matching; Select the file information to be transmitted, determine the transmission file received from the sending terminal, and improve the security of file transmission.
- the receiving terminal can verify the file transmitted by the sending terminal to improve the security and integrity of the file transmission.
- FIG. 3 is a schematic structural diagram of a file transmission device according to a third embodiment of the present application. As shown in Figure 3, it may include:
- the information obtaining module 301 is configured to obtain connection information of at least one sending terminal and information about at least one file to be transmitted of the sending terminal.
- the connection transmission module 302 is configured to establish a short-range wireless communication connection with the sending terminal according to the connection information, and receive a file transmitted by the sending terminal according to the information of the file to be transmitted.
- the file transmission device in this embodiment is configured to implement the corresponding file transmission methods in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
- FIG. 4 is a schematic structural diagram of a file transmission device according to a fourth embodiment of the present application. As shown in Figure 4, it may include:
- the information obtaining module 401 is configured to obtain connection information of at least one sending terminal and information about at least one file to be transmitted of the sending terminal.
- the connection transmission module 402 is configured to establish a short-range wireless communication connection with the sending terminal according to the connection information, and receive a file transmitted by the sending terminal according to the information of the file to be transmitted.
- the verification module 403 is configured to verify a file transmitted by the sending terminal.
- the information obtaining module 401 includes at least one of a reading and analyzing unit 401A and a network communication unit 401B, where:
- the reading and analyzing unit 401A is configured to read and parse the machine-readable code to obtain connection information and / or file information to be transmitted corresponding to the machine-readable code;
- the network communication unit 401B is configured to send the short-range wireless communication request information to the server, and receive the connection information and / or to be transmitted determined by the server according to the short-range wireless communication request information. Input file information.
- the file information to be transmitted includes at least one of file address information and file description information.
- connection transmission module 402 is further configured to: select the file information to be transmitted according to the received instruction, and determine the transmission file received from the sending terminal.
- the file transmission device in this embodiment is configured to implement the corresponding file transmission methods in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
- FIG. 5 is a schematic structural diagram of a device / terminal / server in Embodiment 5 of the present application.
- the device / terminal / server can include:
- One or more processors 501 One or more processors 501;
- the computer-readable medium 502 may be configured to store one or more programs,
- FIG. 6 is a hardware structure of a device / terminal / server in Embodiment 6 of the present application.
- the hardware structure of the device / terminal / server may include: a processor 601, a communication interface 602, a computer-readable medium 603, and a communication bus 604;
- the processor 601, the communication interface 602, and the computer-readable medium 603 complete communication with each other through the communication bus 604;
- the communication interface 602 may be an interface of a communication module, such as an interface of a GSM module.
- the processor 601 may be specifically configured to: the receiving terminal obtains connection information of at least one sending terminal, and at least one standby terminal of the sending terminal. Transmitting file information; the receiving terminal establishing a short-range wireless communication connection with the transmitting terminal according to the connection information, and receiving a file transmitted by the transmitting terminal according to the file information to be transmitted.
- the processor 601 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc .; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC) ), Ready-made Programming gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA Ready-made Programming gate array
- a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the process described above with reference to the flowchart may be implemented as a computer software program.
- an embodiment of the present disclosure includes a computer program product including a computer program borne on a computer-readable medium, the computer program including program code configured to execute a method shown in a flowchart.
- the computer program may be downloaded and installed from a network through a communication section, and / or installed from a removable medium.
- CPU central processing unit
- the aforementioned functions defined in the method of the present application are executed.
- the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the foregoing.
- the computer-readable medium may be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access storage media (RAM), read-only storage media (ROM), erasable Type programmable read-only storage medium (EPROM or flash memory), optical fiber, portable compact disk read-only storage medium (CD-ROM), optical storage medium piece, magnetic storage medium piece, or any suitable combination of the foregoing.
- RAM random access storage media
- ROM read-only storage media
- EPROM or flash memory erasable Type programmable read-only storage medium
- CD-ROM portable compact disk read-only storage medium
- magnetic storage medium piece or any suitable combination of the foregoing.
- a computer-readable storage medium may be any tangible medium that includes or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal that is included in baseband or propagated as part of a carrier wave, and which carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program configured to be used by or in combination with an instruction execution system, apparatus, or device .
- Program code included on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- the programming language includes an object-oriented programming language such as Java, Smalltalk, C ++, and also includes a conventional procedural programming language such as "C" language or a similar programming language.
- the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on the remote computer or server.
- the remote computer can be connected to a user's computer through any kind of network: including a local area network (LAN) or wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider through the Internet) Connection).
- each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which includes one or more modules configured to implement the specified logical function.
- Executable instructions There is a specific sequence relationship in the above specific embodiments, but these sequence relationships are only exemplary. In specific implementation, these steps may be fewer, more or the execution order may be adjusted. That is, in some alternative implementations, the functions marked in the boxes may occur in a different order than those marked in the drawings.
- each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or, it can be implemented by a combination of dedicated hardware and computer instructions.
- a processor includes an information obtaining module and a connection transmission module.
- the name of these modules does not constitute a limitation on the module itself in some cases.
- the connection and transmission module can also be described as "establishing a short-range wireless communication connection with the sending terminal according to the connection information, and according to the file to be transmitted. Module for receiving and transmitting files transmitted by the terminal.
- the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described in any one of the foregoing embodiments is implemented.
- the present application further provides a computer-readable medium, which may be included in the device described in the foregoing embodiments; or may exist separately without being assembled into the device.
- the computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device causes the receiving terminal to obtain connection information of at least one sending terminal, and at least one standby of the sending terminal. Transmitting file information; the receiving terminal establishing a short-range wireless communication connection with the transmitting terminal according to the connection information, and receiving a file transmitted by the transmitting terminal according to the file information to be transmitted.
- first, second, the first, or “the second” used in various embodiments of the present disclosure may modify various components regardless of order and / or importance However, these expressions do not limit the corresponding components.
- the above expression is only configured for the purpose of distinguishing the element from other elements.
- the first user equipment and the second user equipment represent different user equipments, although both are user equipments.
- a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element.
- an element eg, a first element
- another element eg, a second element
- an element for example, a second element or “connected to” another element (for example, a second element)
- an element for example, a second element or “connected to” another element (for example, a second element)
- the one element is directly connected to the other element or the one element is via another element (for example, The third element) is indirectly connected to the other element.
- an element for example, the first element
- the second element no element (for example, the third element) is inserted between the two elements.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请公开了一种文件传输的方法及其装置、设备/终端/服务器。该方法的一具体实施方式包括:接收终端获得至少一发送终端的连接信息,以及发送终端的至少一待传输文件信息;接收终端根据连接信息与发送终端建立近距离无线通信连接,并根据待传输文件信息接收发送终端传输的文件。该具体实施方式有效地实现了接收终端与发送终端建立连接后,直接接收发送终端传输的文件,用户无需将建立连接和接收文件分成两个步骤进行操作,减少了文件传输的操作繁琐程度。
Description
说 明 书 一种文件传输的方法及其装置、 设备 /终端 /服务器
本申请要求在 2018 年 8 月 27 日提交中国专利局、 申请号为 201810983065. 0、 发明名称为“一种文件传输的方法及其装置、 设备 / 终端 /服务器”的中国专利申请的优先权, 其全部内容通过引用结合在 本申请中。
技术领域
本申请涉及计算机领域, 具体涉及数据传输技术领域, 尤其涉及一 种文件传输的方法及其装置、 设备 /终端 /服务器、 计算机可读介质。 背景技术
随着手机、 电脑等智能终端的普及, 用户经常会将存储在发送终端 中的图片、 文档、 视频、 音频等不同类型的文件分享给其他用户的接收 终端中, 或者发送至该用户的接收终端中。 接收终端可通过数据线、 互 联网、 蓝牙、 热点等传输方式接收发送终端所发送的文件。
这些传输方式的操作步骤相对较多, 例如热点传输方式中, 首先需 要手动打开发送终端的热点; 然后接收终端进行热点搜索, 搜索成功并 请求连接热点; 连接成功后才可从发送终端接收文件。 操作步骤较为多 会导致用户耗时较长, 影响用户体验。 发明内容
本申请的目的在于提出一种文件传输的方法及其装置、 设备 /终端 / 服务器、 计算机可读介质, 用于解决现有技术中文件传输操作较为繁琐 的问题。
第一方面, 本申请提供了一种文件传输的方法, 包括: 接收终端获 得至少一发送终端的连接信息, 以及所述发送终端的至少一待传输文件 信息;
所述接收终端根据所述连接信息与所述发送终端建立近距离无线通 信连接, 并根据所述待传输文件信息接收所述发送终端传输的文件。
第二方面, 本申请实施例提供了一种文件传输的装置, 包括: 信息
获得模块, 配置为获得至少一发送终端的连接信息, 以及所述发送终端 的至少一待传输文件信息;
连接传输模块, 配置为根据所述连接信息与所述发送终端建立近距 离无线通信连接, 并根据所述待传输文件信息接收所述发送终端传输的 文件。
第三方面, 本申请实施例提供了一种设备 /终端 /服务器, 包括: 一个或多个处理器;
计算机可读介质, 配置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行, 使得所述一 个或多个处理器实现如上述任一实施例中所述的方法。
第四方面, 本申请实施例提供了一种计算机可读介质, 其上存储有 计算机程序, 该程序被处理器执行时实现如上述任一实施例中所述的方 法。
本申请提供的文件传输的方法及其装置、 设备 /终端 /服务器、 计算 机可读介质中, 通过接收终端获得至少一发送终端的连接信息, 以及发 送终端的至少一待传输文件信息; 接收终端根据连接信息与发送终端建 立近距离无线通信连接, 并根据待传输文件信息接收发送终端传输的文 件。 本申请实施例从而能够实现接收终端与发送终端建立连接后, 直接 接收发送终端传输的文件, 用户无需将建立连接和接收文件分成两个步 骤进行操作, 减少了文件传输的操作繁琐程度。 附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述, 本申请的其它特征、 目的和优点将会变得更明显:
图 1为本申请实施例一中一种文件传输的方法流程示意图; 图 2为本申请实施例二中一种文件传输的方法流程示意图; 图 3为本申请实施例三中一种文件传输的装置的结构示意图; 图 4为本申请实施例四中一种文件传输装置的结构示意图; 图 5为本申请实施例五中设备 /终端 /服务器的结构示意图; 图 6为本申请实施例六中设备 /终端 /服务器的硬件结构。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。 可以理解的 是, 此处所描述的具体实施例仅仅配置为解释相关发明, 而非对该发明 的限定。 另外还需要说明的是, 为了便于描述, 附图中仅示出了与有关 发明相关的部分。
需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中 的特征可以相互组合。 下面将参考附图并结合实施例来详细说明本申请。
实施例一
图 1 为本申请实施例一中一种文件传输的方法流程示意图。 如图 1 所示, 其可以包括如下步骤:
步骤 S101,接收终端获得至少一发送终端的连接信息,以及发送终端 的至少一待传输文件信息。
本实施例中, 接收终端和发送终端的硬件形式均不限, 可以包括各 种具有无线通信功能和数据处理能力的设备, 例如手机、 平板电脑、 计 算机、 车载设备、 可穿戴设备、 投影仪、 电视机、 刷卡设备等。
本实施例中, 接收终端和发送终端的数量均不限, 即一个接收终端 可同时与一个或者多个发送终端建立近距离无线通信连接, 一个发送终 端也可同时与一个或者多个接收终端建立近距离无线通信连接。
可选的, 近距离无线通信连接的方式可包括: 蓝牙连接、 NFC连接、 热点连接、 光传输连接、 声波传输连接中的至少其一。
本实施例中, 连接信息中携带有用于标识可与接收终端建立近距离 无线通信的发送终端的信息。 例如可包括发送终端的名称、 位置、 设备 型号、 支持的近距离无线通信连接的方式、 近距离无线通信的信号强度、 近距离无线通信的连接状态等。
可选的, 连接信息还可携带有触发接收终端与发送终端建立近距离 无线通信连接的信息, 即接收终端获得连接信息后, 可根据连接信息执 行与发送终端建立近距离无线通信连接的操作。 例如, 接收终端获得连 接信息后, 可根据连接信息开启接收终端的蓝牙功能, 并与发送终端进 行蓝牙配对, 从而建立蓝牙连接。
可选的, 连接信息还可携带有接收终端与发送终端建立近距离无线 通信连接时的安全性验证信息。 例如, 连接信息中包括与发送终端建立
热点连接所需的密码信息, 接收终端可根据密码信息进行发送终端热点 连接的安全验证。
本实施例中, 待传输文件信息用于确定接收终端可接收的发送终端 传输的文件。 待传输文件的存储位置不限, 例如可存储在发送终端中, 也可存储在服务器中。
本实施例中, 连接信息和待传输文件信息的标识方式不限, 例如可 包括文字、 数字、 图片、 机器可识别码中的至少其一。 接收终端对连接 信息和待传输文件信息的获得方式不限。 例如, 可通过互联网通信、 局 域网通信等数据通信的方式接收获得, 也可通过接收终端的摄像头、 麦 克风等硬件米集获得。
本实施例中, 接收终端对连接信息和待传输文件信息的获得先后顺 序不限。
可选的, 为减少数据获得次数及用户操作次数, 接收终端可同时获 得至少一发送终端的连接信息和至少一待传输文件信息。
例如, 接收终端可同时获得发送终端 A和发送终端 B的连接信息、 发送终端 A中的两个待传输文件信息和发送终端 B中的三个待传输文件 信息。
可选的, 为减少数据获得量, 接收终端可先获得至少一发送终端的 连接信息; 然后根据接收的指令对至少一发送终端的连接信息进行选择, 确定选中的发送终端; 再获得选中的发送终端的至少一待传输文件信息。
例如, 接收终端首先获得发送终端 A和发送终端 B的连接信息, 然 后根据接收的指令选中发送终端 A,最后获得的待传输文件信息仅为发送 终端 A中的两个待传输文件信息。
可选的, 为减少数据获得量, 接收终端可先获得至少一待传输文件 信息; 然后根据接收的指令对至少一待传输文件信息进行选择, 确定选 中的待传输文件信息; 再获得选中的待传输文件信息对应的至少一发送 终端的连接信息。
例如, 接收终端首先获得发送终端 A 中的两个待传输文件信息和发 送终端 B中的三个待传输文件信息,然后根据接收的指令选中发送终端 B 中的至少一个待传输文件信息, 最后获得的连接信息仅为发送终端 B 的 连接信息。
本实施例中, 用户可通过鼠标、 键盘、 触摸屏、 语音、 肢体动作、 面部表情、 移动接收终端、 振动接收终端中的至少一种方式向接收终端 发送指令, 接收终端接收的指令可根据用户的单次操作获得, 也可根据 用户的多次操作获得, 在具体应用中可以根据实际的需求而适应设置。
步骤 S 102,接收终端根据连接信息与发送终端建立近距离无线通信 连接, 并根据待传输文件信息接收发送终端传输的文件。
本实施例中, 为节约互联网通信的数据流量, 接收终端和发送终端 可采用近距离无线通信的方式进行文件传输。 成功建立近距离无线通信 连接后, 接收终端便可接收发送终端传输的文件, 无需消耗互联网通信 的数据流量。
本实施例中, 当发送终端传输的文件存储在发送终端中时, 发送终 端可根据待传输文件信息通过近距离无线通信的方式将文件传输给接收 终端。
本实施例中, 当发送终端传输的文件存储在服务器中时, 发送终端 可根据待传输文件信息从服务器中获得文件, 再通过近距离无线通信的 方式将文件传输给接收终端; 也可由接收终端根据待传输文件信息从服 务器中获得文件。
本实施例中, 接收终端对接收的文件存储位置不限, 例如可存储在 接收终端中, 也可存储在服务器中。
由此可知, 本申请实施例通过接收终端获得至少一发送终端的连接 信息, 以及发送终端的至少一待传输文件信息; 接收终端根据连接信息 与发送终端建立近距离无线通信连接, 并根据待传输文件信息接收发送 终端传输的文件。 本申请实施例从而能够实现接收终端与发送终端建立 连接后, 直接接收发送终端传输的文件, 用户无需将建立连接和接收文 件分成两个步骤进行操作, 减少了文件传输的操作繁琐程度。 实施例二
图 2 为本申请实施例二中一种文件传输的方法流程示意图。 如图 2 所示, 其可以包括如下步骤:
步骤 S201, 接收终端获得至少一发送终端的连接信息, 以及发送终 端的至少一待传输文件信息。
本实施例中, 为了提高文件传输的便捷性, 可预设文件传输的触发 条件, 当判断接收终端满足触发条件时, 将触发执行获得连接信息、 待 传输文件信息中的至少其一的处理。
可选的, 触发条件可包括: 接收终端和发送终端的距离小于预设距 离值。接收终端和发送终端的之间的距离获得方式不限, 例如可通过 GPS 定位的方式计算接收终端和发送终端的之间的距离, 也可通过接收终端 和发送终端中的传感器硬件获得。
可选的, 为了提高操作的趣味性, 可将“振动接收终端” 设置为触 发条件, 当用户摇动、 敲击或者用发送终端碰撞接收终端时, 便触发接 收终端执行获得连接信息、 待传输文件信息中的至少其一的处理。
本实施例中, 待传输文件信息可包括: 文件地址信息、 文件描述信 息中的至少其一。
具体的, 根据文件地址信息用于确定待传输文件的存储位置, 接收 终端根据文件地址信息可直接获得对应的文件。
具体的, 文件描述信息用于标识待传输文件的文件属性, 便于用户 了解待传输文件的情况, 文件属性可包括文件名称、 文件类型、 文件大 小、 文件数量、 文件简介、 可传输文件的发送终端中的至少其一。
本实施例中, 由于接收终端和发送终端所支持的近距离无线通信方 式会存在差别, 例如接收终端支持的近距离通信方式为蓝牙连接, 而发 送终端没有蓝牙功能或者未开启蓝牙功能, 为避免获得无用的连接信息, 步骤 S201还可包括: 根据接收终端支持的近距离无线通信连接的方式, 对至少一发送终端的连接信息进行筛选。
本实施例中, 步骤 S201可包括步骤 S201A、 S201B中的至少其一。 步骤 S201A, 接收终端读取并解析机器可读码, 获得与机器可读码对 应的连接信息和 /或待传输文件信息。
具体的, 机器可读码是用于承载信息的一种编码结构, 该编码结构 可被机器识别并解析出承载的信息。 机器可读码的种类不限, 例如可包 括条形码、 二维码、 三维码中的至少一种。
具体的, 生成机器可读码的设备不限, 例如, 承载发送终端 A 的连 接信息的机器可读码可由发送终端 A生成, 也可由服务器生成。
具体的, 接收终端对机器可读码的读取和解析方式不限, 例如接收
终端可利用图像采集硬件扫描机器可读码进行读取及解析, 或者可对存 储在接收终端中的包括机器可读码的图片进行识别读取及解析。
可选的, 为减少机器可读码的读取及解析次数, 一个机器可读码可 承载至少一发送终端的连接信息和至少一待传输文件信息。 例如, 接收 终端仅需读取及解析一个机器可读码,便可获得发送终端 A和发送终端 B 的连接信息、 发送终端 A中的两个待传输文件信息和发送终端 B中的三 个待传输文件信息。
步骤 S201B, 接收终端发送近距离无线通信请求信息至服务器, 并接 收服务器根据近距离无线通信请求信息确定的连接信息和 /或待传输文 件信息。
具体的, 由于建立近距离无线通信连接需要接收终端和发送终端的 距离较近, 接收终端可能无法利用终端硬件直接搜索到超过一定距离范 围的发送终端, 为扩大发送终端及待传输文件的搜索范围, 以及获得匹 配度更高的连接信息及待传输文件信息, 接收终端可发送近距离无线通 信请求信息至服务器, 服务器可接收并根据近距离无线通信请求信息, 对已获得的至少一发送终端的连接信息和 /或待传输文件信息进行筛选, 从而获得与近距离无线通信请求信息对应的连接信息和 /或待传输文件 信息。 例如, 服务器可根据距离无线通信请求信息, 筛选出与接收终端 相距 100米之内的所有发送终端的连接信息和 /或待传输文件信息。
可选的, 服务器可按照预定的时间周期或者在接收到近距离无线通 信请求信息后, 与至少一发送终端进行通信, 获得至少一发送终端的连 接信息和 /或待传输文件信息。
可选的, 近距离无线通信请求信息可用于标识接收终端的当前位置、 发送终端与接收终端之间的相对位置中、 支持的近距离无线通信连接的 方式、 优选的近距离无线通信连接的方式、 请求接收的文件属性中的至 少其一, 从而可筛选出目前或者短时间内可与接收终端建立近距离无线 通信连接的发送终端, 并获得相应的连接信息和 /或待传输文件信息。 例 如服务器可根据接收终端的当前位置, 筛选出与接收终端相距 2米的发 送终端 A, 从而获得发送终端 A的连接信息和 /或待传输文件信息。
步骤 S202 , 接收终端根据连接信息与发送终端建立近距离无线通信 连接, 并根据待传输文件信息接收发送终端传输的文件。
本实施例中, 为提示用户以提高文件传输的安全性, 还可包括: 接 收终端根据接收的指令对连接信息进行选择, 确定建立近距离无线通信 连接的至少一发送终端。 例如, 接收终端可通过弹窗的方式向用户呈现 连接信息中包括的发送终端名称, 由用户通过点击操作控件选择是否连 接该发送终端。
本实施例中, 为提示用户以提高文件传输的安全性, 还可包括: 接 收终端根据接收的指令对待传输文件信息进行选择, 确定从发送终端接 收的传输文件。
本实施例中, 为确保文件传输的安全性以及便于用户查找文件, 还 可包括: 接收终端根据接收的指令设置从发送终端接收的传输文件的存 储条件。 从发送终端接收的传输文件将按照存储条件进行存储, 存储条 件在具体应用中可以根据实际的需求而适应设置。 例如, 存储条件可设 置为: 优先存储于接收终端的 SD卡中; 当 SD卡的存储空间不足时, 则 存储于服务器中。
可选的, 存储条件可用于确定从发送终端接收的传输文件的存储位 置、 存储格式、 存储标识中的至少其一。 其中, 存储标识可包括文字、 数字、 图片中的至少其一。 例如, 可根据存储条件确定将发送终端传输 的一个文件存储在接收终端 SD卡的“电影”文件夹中, 存储格式为 MP4, 存储标识为“电影 A” 。
步骤 S203 , 接收终端对发送终端传输的文件进行校验。
本实施例中, 为提高文件传输的安全性及完整性, 接收终端可对发 送终端传输的文件进行校验, 校验方式不限。 当校验结果为异常时, 接 收终端可向用户进行提示。
可选的, 校验方式可包括下述方式中的至少其一: 调用安全防护软 件进行校验; 根据接收的指令获得校验信息, 并根据校验信息进行校验; 根据加密算法进行校验。
例如, 利用 MD5消息摘要算法 (MD5 Message-Digest Algorithm ) 进行校验时, 发送终端传输的文件包括 MD5编码值, 接收终端完成传输 文件的接收后, 获得传输文件的 MD5编码值, 并校验传输文件的 MD5编 码值是否正确。
由此可知, 本申请实施例可通过接收服务器根据近距离无线通信请
求信息确定的连接信息和 /或待传输文件信息, 从而能够扩大发送终端及 待传输文件的搜索范围, 以及获得匹配度更高的连接信息及待传输文件 信息; 可通过接收终端根据接收的指令对待传输文件信息进行选择, 确 定从发送终端接收的传输文件, 提高文件传输的安全性; 可通过接收终 端对发送终端传输的文件进行校验, 提高文件传输的安全性及完整性。 实施例三
图 3为本申请实施例三中一种文件传输的装置的结构示意图。如图 3 所示, 其可以可包括:
信息获得模块 301, 配置为获得至少一发送终端的连接信息, 以及发 送终端的至少一待传输文件信息。
连接传输模块 302 ,配置为根据连接信息与发送终端建立近距离无线 通信连接, 并根据待传输文件信息接收发送终端传输的文件。
本实施例的文件传输装置用于实现前述多个方法实施例中相应的文 件传输方法, 并具有相应的方法实施例的有益效果, 在此不再赘述。 实施例四
图 4为本申请实施例四中一种文件传输的装置的结构示意图。如图 4 所示, 其可以可包括:
信息获得模块 401, 配置为获得至少一发送终端的连接信息, 以及发 送终端的至少一待传输文件信息。 连接传输模块 402 ,配置为根据连接信息与发送终端建立近距离无线 通信连接, 并根据待传输文件信息接收发送终端传输的文件。
校验模块 403 , 配置为对发送终端传输的文件进行校验。
本实施例中, 信息获得模块 401包括读取解析单元 401A、 网络通信 单元 401B中的至少其一, 其中:
读取解析单元 401A, 配置为读取并解析机器可读码, 获得与机器可 读码对应的连接信息和 /或待传输文件信息;
网络通信单元 401B,配置为发送近距离无线通信请求信息至服务器, 并接收服务器根据近距离无线通信请求信息确定的连接信息和 /或待传
输文件信息。
本实施例中, 待传输文件信息包括文件地址信息、 文件描述信息中 的至少其一。
本实施例中, 连接传输模块 402进一步配置为: 根据接收的指令对 待传输文件信息进行选择, 确定从发送终端接收的传输文件。
本实施例的文件传输装置用于实现前述多个方法实施例中相应的文 件传输方法, 并具有相应的方法实施例的有益效果, 在此不再赘述。
实施例五
图 5为本申请实施例五中设备 /终端 /服务器的结构示意图。 该设备 / 终端 /服务器可以包括:
一个或多个处理器 501 ;
计算机可读介质 502 , 可以配置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行, 使得所述一 个或多个处理器实现如上述任一实施例中所述的文件传输的方法。 实施例六
图 6为本申请实施例六中设备 /终端 /服务器的硬件结构。 如图 6所 示, 该设备 /终端 /服务器的硬件结构可以包括: 处理器 601, 通信接口 602, 计算机可读介质 603和通信总线 604;
其中处理器 601、 通信接口 602、 计算机可读介质 603通过通信总线 604完成相互间的通信;
可选的, 通信接口 602可以为通信模块的接口, 如 GSM模块的接口; 其中, 处理器 601 具体可以配置为: 接收终端获得至少一发送终端 的连接信息, 以及所述发送终端的至少一待传输文件信息; 所述接收终 端根据所述连接信息与所述发送终端建立近距离无线通信连接, 并根据 所述待传输文件信息接收所述发送终端传输的文件。
处理器 601 可以是通用处理器, 包括中央处理器 (Central Processing Unit , 简称 CPU)、 网络处理器 (Network Processor , 简称 NP)等; 还可以是数字信号处理器 (DSP)、 专用集成电路 (ASIC)、 现成可
编程门阵列(FPGA)或者其它可编程逻辑器件、 分立门或者晶体管逻辑器 件、 分立硬件组件。 可以实现或者执行本申请实施例中的公开的各方法、 步骤及逻辑框图。 通用处理器可以是微处理器或者该处理器也可以是任 何常规的处理器等。 特别地, 根据本公开的实施例, 上文参考流程图描述的过程可以被 实现为计算机软件程序。 例如, 本公开的实施例包括一种计算机程序产 品, 其包括承载在计算机可读介质上的计算机程序, 该计算机程序包括 配置为执行流程图所示的方法的程序代码。 在这样的实施例中, 该计算 机程序可以通过通信部分从网络上被下载和安装, 和 /或从可拆卸介质被 安装。 在该计算机程序被中央处理单元 (CPU) 执行时, 执行本申请的方 法中限定的上述功能。 需要说明的是, 本申请所述的计算机可读介质可 以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任 意组合。 计算机可读介质例如可以但不限于是电、 磁、 光、 电磁、 红外 线、 或半导体的系统、 装置或器件, 或者任意以上的组合。 计算机可读 存储介质的更具体的例子可以包括但不限于: 具有一个或多个导线的电 连接、 便携式计算机磁盘、 硬盘、 随机访问存储介质 (RAM) 、 只读存储 介质 (ROM) 、 可擦式可编程只读存储介质 (EPROM或闪存) 、 光纤、 便 携式紧凑磁盘只读存储介质 (CD-ROM) 、 光存储介质件、 磁存储介质件、 或者上述的任意合适的组合。 在本申请中, 计算机可读存储介质可以是 任何包括或存储程序的有形介质, 该程序可以被指令执行系统、 装置或 者器件使用或者与其结合使用。 而在本申请中, 计算机可读的信号介质 可以包括在基带中或者作为载波一部分传播的数据信号, 其中承载了计 算机可读的程序代码。 这种传播的数据信号可以采用多种形式, 包括但 不限于电磁信号、 光信号或上述的任意合适的组合。 计算机可读的信号 介质还可以是计算机可读存储介质以外的任何计算机可读介质, 该计算 机可读介质可以发送、 传播或者传输配置为由指令执行系统、 装置或者 器件使用或者与其结合使用的程序。 计算机可读介质上包括的程序代码 可以用任何适当的介质传输, 包括但不限于: 无线、 电线、 光缆、 RF等 等, 或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写配置为执行本申请
的操作的计算机程序代码, 所述程序设计语言包括面向对象的程序设计 语言一诸如 Java、 Smalltalk、 C++, 还包括常规的过程式程序设计语言 一诸如” C”语言或类似的程序设计语言。 程序代码可以完全地在用户计 算机上执行、 部分地在用户计算机上执行、 作为一个独立的软件包执行、 部分在用户计算机上部分在远程计算机上执行、 或者完全在远程计算机 或服务器上执行。 在涉及远程计算机的情形中, 远程计算机可以通过任 意种类的网络: 包括局域网(LAN)或广域网(WAN)—连接到用户计算机, 或者, 可以连接到外部计算机 (例如利用因特网服务提供商来通过因特 网连接) 。
附图中的流程图和框图, 图示了按照本申请各种实施例的系统、 方 法和计算机程序产品的可能实现的体系架构、 功能和操作。 在这点上, 流程图或框图中的每个方框可以代表一个模块、 程序段、 或代码的一部 分, 该模块、 程序段、 或代码的一部分包括一个或多个配置为实现规定 的逻辑功能的可执行指令。 上述具体实施例中有特定先后关系, 但这些 先后关系只是示例性的, 在具体实现的时候, 这些步骤可能会更少、 更 多或执行顺序有调整。 即在有些作为替换的实现中, 方框中所标注的功 能也可以以不同于附图中所标注的顺序发生。 例如, 两个接连地表示的 方框实际上可以基本并行地执行, 它们有时也可以按相反的顺序执行, 这依所涉及的功能而定。也要注意的是,框图和 /或流程图中的每个方框、 以及框图和 /或流程图中的方框的组合, 可以用执行规定的功能或操作的 专用的基于硬件的系统来实现, 或者可以用专用硬件与计算机指令的组 合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现, 也可以通过硬件的方式来实现。 所描述的单元也可以设置在处理器中, 例如, 可以描述为: 一种处理器包括信息获得模块、 连接传输模块。 其 中, 这些模块的名称在某种情况下并不构成对该模块本身的限定, 例如, 连接传输模块还可以被描述为“根据连接信息与发送终端建立近距离无 线通信连接, 并根据待传输文件信息接收发送终端传输的文件的模块”。
作为另一方面, 本申请还提供了一种计算机可读介质, 其上存储有 计算机程序, 该程序被处理器执行时实现如上述任一实施例中所描述的 方法。
作为另一方面, 本申请还提供了一种计算机可读介质, 该计算机可 读介质可以是上述实施例中描述的装置中所包括的; 也可以是单独存在, 而未装配入该装置中。 上述计算机可读介质承载有一个或者多个程序, 当上述一个或者多个程序被该装置执行时, 使得该装置: 接收终端获得 至少一发送终端的连接信息, 以及所述发送终端的至少一待传输文件信 息; 所述接收终端根据所述连接信息与所述发送终端建立近距离无线通 信连接, 并根据所述待传输文件信息接收所述发送终端传输的文件。
在本公开的各种实施方式中所使用的表述“第一”、 “第二”、 “所 述第一”或“所述第二”可修饰各种部件而与顺序和 /或重要性无关, 但 是这些表述不限制相应部件。 以上表述仅配置为将元件与其它元件区分 开的目的。 例如, 第一用户设备和第二用户设备表示不同的用户设备, 虽然两者均是用户设备。 例如, 在不背离本公开的范围的前提下, 第一 元件可称作第二元件, 类似地, 第二元件可称作第一元件。
当一个元件(例如,第一元件)称为与另一元件(例如,第二元件)“(可 操作地或可通信地)联接”或“(可操作地或可通信地)联接至”另一元件 (例如, 第二元件)或“连接至”另一元件(例如, 第二元件)时, 应理解 为该一个元件直接连接至该另一元件或者该一个元件经由又一个元件 (例如, 第三元件)间接连接至该另一个元件。 相反, 可理解, 当元件(例 如, 第一元件)称为“直接连接”或“直接联接”至另一元件(第二元件) 时, 则没有元件(例如, 第三元件)插入在这两者之间。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。 本领域技术人员应当理解, 本申请中所涉及的发明范围, 并不限于上述 技术特征的特定组合而成的技术方案, 同时也应涵盖在不脱离上述发明 构思的情况下, 由上述技术特征或其等同特征进行任意组合而形成的其 它技术方案。 例如上述特征与本申请中公开的 (但不限于) 具有类似功 能的技术特征进行互相替换而形成的技术方案。
Claims
权 利 要 求 书
1、 一种文件传输的方法, 所述方法包括:
接收终端获得至少一发送终端的连接信息, 以及所述发送终端的至 少一待传输文件信息;
所述接收终端根据所述连接信息与所述发送终端建立近距离无线通 信连接, 并根据所述待传输文件信息接收所述发送终端传输的文件。
2、 根据权利要求 1 所述的文件传输的方法, 其中, 所述接收终 端获得至少一发送终端的连接信息, 以及所述发送终端的至少一待传输 文件信息包括下述步骤中的至少其一:
所述接收终端读取并解析机器可读码, 获得与所述机器可读码对应 的所述连接信息和 /或所述待传输文件信息;
所述接收终端发送近距离无线通信请求信息至服务器, 并接收所述 服务器根据所述近距离无线通信请求信息确定的所述连接信息和 /或所 述待传输文件信息。
3、 根据权利要求 1 所述的文件传输的方法, 其中, 所述待传输 文件信息包括文件地址信息、 文件描述信息中的至少其一。
4、 根据权利要求 1 所述的文件传输的方法, 其中, 所述根据所 述待传输文件信息接收所述发送终端传输的文件包括:
所述接收终端根据接收的指令对所述待传输文件信息进行选择, 确 定从所述发送终端接收的传输文件。
5、 根据权利要求 1 所述的文件传输的方法, 其中, 所述方法还 包括:
所述接收终端对所述发送终端传输的文件进行校验。
6、 一种文件传输的装置, 包括:
信息获得模块, 配置为获得至少一发送终端的连接信息, 以及所述 发送终端的至少一待传输文件信息; 连接传输模块, 配置为根据所述连接信息与所述发送终端建立近距 离无线通信连接, 并根据所述待传输文件信息接收所述发送终端传输的 文件。
I、 根据权利要求 6所述的装置, 其中, 所述信息获得模块包括读 取解析单元、 网络通信单元中的至少其一, 其中:
所述读取解析单元, 配置为读取并解析机器可读码, 获得与所述机 器可读码对应的所述连接信息和 /或所述待传输文件信息; 所述网络通信单元, 配置为发送近距离无线通信请求信息至服务器, 并接收所述服务器根据所述近距离无线通信请求信息确定的所述连接信 息和 /或所述待传输文件信息。
8、 根据权利要求 6所述的装置, 其中, 所述待传输文件信息包括 文件地址信息、 文件描述信息中的至少其一。
9、 根据权利要求 6所述的装置, 其中, 所述连接传输模块进一步 配置为: 根据接收的指令对所述待传输文件信息进行选择, 确定从所述 发送终端接收的传输文件。
10、 根据权利要求 6所述的装置, 其中, 还包括校验模块, 配置为 对所述发送终端传输的文件进行校验。
I I、 一种设备 /终端 /服务器, 包括:
一个或多个处理器;
计算机可读介质, 配置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行, 使得所述一 个或多个处理器实现如权利要求 1-5中任一所述的方法。
12、 一种计算机可读介质, 其上存储有计算机程序, 该程序被处理 器执行时实现如权利要求 1-5中任一所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810983065.0A CN109168152A (zh) | 2018-08-27 | 2018-08-27 | 一种文件传输的方法及其装置、设备/终端/服务器 |
CN201810983065.0 | 2018-08-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020044088A1 true WO2020044088A1 (zh) | 2020-03-05 |
Family
ID=64896824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/IB2018/057149 WO2020044088A1 (zh) | 2018-08-27 | 2018-09-18 | 一种文件传输的方法及其装置、设备/终端/服务器 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109168152A (zh) |
WO (1) | WO2020044088A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918414A (zh) * | 2020-07-27 | 2020-11-10 | 深圳市亿道数码技术有限公司 | 一种基于安卓系统下的无线多重冗余通讯方法 |
CN113905131B (zh) * | 2021-09-02 | 2024-02-23 | 咪咕音乐有限公司 | 多媒体彩铃设置方法、终端和计算机可读存储介质 |
CN114257678A (zh) * | 2022-03-02 | 2022-03-29 | 深圳中科智能技术有限公司 | 一种手机数据互通方法和系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120185520A1 (en) * | 2011-01-13 | 2012-07-19 | John Joseph Iarocci | Ad hoc file sharing |
CN102891891A (zh) * | 2012-09-26 | 2013-01-23 | 广州市动景计算机科技有限公司 | 跨设备文件传输方法和系统 |
CN103297096A (zh) * | 2012-02-21 | 2013-09-11 | 三星电子株式会社 | 使用近场通信来发送和接收多媒体数据的设备和方法 |
CN104521289A (zh) * | 2012-08-08 | 2015-04-15 | 三星电子株式会社 | 根据用户意图连接服务的装置和方法 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5225230B2 (ja) * | 2009-07-29 | 2013-07-03 | 京セラ株式会社 | 基地局装置およびその制御方法 |
CN102394926A (zh) * | 2011-10-31 | 2012-03-28 | 中科创达软件科技(北京)有限公司 | 一种向终端传输文件的方法 |
CN102638587A (zh) * | 2012-05-03 | 2012-08-15 | 北京壹人壹本信息科技有限公司 | 文件传输的方法、移动设备、服务器以及文件传输的系统 |
CN104023416B (zh) * | 2013-02-28 | 2019-01-11 | 腾讯科技(深圳)有限公司 | 一种文件的传输方法、系统、发送终端及接收终端 |
CN103384369B (zh) * | 2013-06-28 | 2016-11-16 | 华为技术有限公司 | 一种建立数据连接的方法、装置及系统 |
CN103746975A (zh) * | 2013-12-26 | 2014-04-23 | 小米科技有限责任公司 | 一种数据传输方法、装置及移动终端 |
CN108419221A (zh) * | 2018-01-04 | 2018-08-17 | 努比亚技术有限公司 | 一种文件传输方法、移动终端及计算机可读存储介质 |
-
2018
- 2018-08-27 CN CN201810983065.0A patent/CN109168152A/zh active Pending
- 2018-09-18 WO PCT/IB2018/057149 patent/WO2020044088A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120185520A1 (en) * | 2011-01-13 | 2012-07-19 | John Joseph Iarocci | Ad hoc file sharing |
CN103297096A (zh) * | 2012-02-21 | 2013-09-11 | 三星电子株式会社 | 使用近场通信来发送和接收多媒体数据的设备和方法 |
CN104521289A (zh) * | 2012-08-08 | 2015-04-15 | 三星电子株式会社 | 根据用户意图连接服务的装置和方法 |
CN102891891A (zh) * | 2012-09-26 | 2013-01-23 | 广州市动景计算机科技有限公司 | 跨设备文件传输方法和系统 |
Also Published As
Publication number | Publication date |
---|---|
CN109168152A (zh) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10818291B2 (en) | Method and apparatus for interacting information | |
US11093981B2 (en) | Smart broadcasting device | |
US10771969B2 (en) | Voice control and telecommunications service integration | |
WO2017177383A1 (zh) | 一种远程管理方法及设备 | |
WO2018133271A1 (zh) | Esim卡的开通方法、无线路由器及用户终端 | |
JP6422997B2 (ja) | ビジネスプロセス実行方法、装置、システム、プログラム及び記録媒体 | |
CN112883435B (zh) | 一种实现与智能合约安全通信的方法和设备 | |
US11489831B2 (en) | Communication system and computer readable storage medium | |
CN112866385B (zh) | 接口调用方法、装置、电子设备和存储介质 | |
WO2020044088A1 (zh) | 一种文件传输的方法及其装置、设备/终端/服务器 | |
WO2017206524A1 (zh) | 电子设备控制方法、终端和控制系统 | |
CN113438628B (zh) | 用于数据交互的方法和装置 | |
KR102559827B1 (ko) | 블록체인과 해쉬 암호화 기술을 기반으로 한 영상 인증 시스템 및 그 방법 | |
KR20210000957A (ko) | 블록체인과 해쉬 암호화 기술을 기반으로 한 영상 인증 시스템 및 그 방법 | |
CN112165727A (zh) | 一种并行配网系统、方法及移动终端 | |
WO2022083589A1 (zh) | 终端的控制方法、装置、终端和存储介质 | |
CN104468499A (zh) | 在跨数据处理设备传送多媒体文件前确定格式兼容性 | |
US9622075B2 (en) | System and method for adaptive multifactor authentication | |
CN105634561B (zh) | 一种信息交互方法及装置 | |
WO2020019291A1 (zh) | 信息处理方法、电子设备、服务器和信息处理系统 | |
CN110650014A (zh) | 一种基于hessian协议的签名认证方法、系统、设备及存储介质 | |
WO2020049352A1 (zh) | 近场文件传输方法及其装置 | |
CN111752625B (zh) | 用于接口mock的方法和装置 | |
CN104836598B (zh) | 基于近场通信的业务处理方法、装置及系统 | |
CN115225627A (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: 18932169 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: 18932169 Country of ref document: EP Kind code of ref document: A1 |