WO2018049759A1 - File transmission method and system - Google Patents

File transmission method and system Download PDF

Info

Publication number
WO2018049759A1
WO2018049759A1 PCT/CN2016/113189 CN2016113189W WO2018049759A1 WO 2018049759 A1 WO2018049759 A1 WO 2018049759A1 CN 2016113189 W CN2016113189 W CN 2016113189W WO 2018049759 A1 WO2018049759 A1 WO 2018049759A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
dimensional code
file
area network
local area
Prior art date
Application number
PCT/CN2016/113189
Other languages
French (fr)
Chinese (zh)
Inventor
李春
Original Assignee
广州视睿电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视睿电子科技有限公司 filed Critical 广州视睿电子科技有限公司
Publication of WO2018049759A1 publication Critical patent/WO2018049759A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a file transmission method and system.
  • the interactive smart tablet refers to an integrated device that uses touch technology to control the content displayed on the tablet and realize human-computer interaction.
  • applications such as education and meetings
  • the required interactive smart tablets are large in size and are usually installed in a fixed location.
  • the way in which the interactive smart tablet implements file transfer is to store the file in the network server, and access the network server on the interactive smart tablet to download the file to be used from the network server.
  • this implementation is based on the premise that the external network is available. When the network is unavailable, the user cannot successfully download the required files from the network server, which brings inconvenience to the user's operation.
  • a file transfer method includes:
  • the first terminal acquires a file download instruction
  • the second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network;
  • connection request includes the obtained hotspot name and an access password of the first wireless local area network
  • the second terminal displays a local storage file and obtains a file selected by the user
  • the second terminal sends the file selected by the user to the first terminal.
  • a file transmission system includes a first terminal and a second terminal
  • the first terminal includes: an instruction acquisition module, a local area network creation module, a two-dimensional code generation module, and a connection module;
  • the second terminal includes: a scanning module, a sending module, and a selection module;
  • the instruction acquisition module is configured to acquire a file download instruction
  • the local area network creating module is configured to create, according to the file downloading instruction, a first wireless local area network that uses the first terminal as a wireless hotspot;
  • the two-dimensional code generating module is configured to generate and display a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network;
  • the scanning module is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network;
  • the sending module is configured to send a connection request to the first terminal, where the connection request includes a hotspot name and an access password of the first wireless local area network acquired by the scanning module;
  • the connection module is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified;
  • the selecting module is configured to display a local storage file and obtain a file selected by the user;
  • the sending module is further configured to send a file selected by the user to the first terminal.
  • a first two-dimensional code storing a hotspot name and an access password of a first wireless local area network is generated and displayed by creating a first wireless local area network in which the first terminal is a wireless hotspot, and the second terminal passes the scanning
  • a two-dimensional code acquires a hotspot name and an access password of the first wireless local area network, and accesses the first wireless local area network to connect with the first terminal by using the hotspot name and the access password
  • the second terminal acquires the file selected by the user and the file Send to the first terminal.
  • the wireless local area network is established by using the wireless hotspot of the first terminal, and the second terminal accesses the wireless local area network to transmit the file stored in the second terminal to the first terminal. Even in the absence of an external network, the file can be transferred, free from the limitations of the external network, and facilitate the operation of the user.
  • FIG. 1 is a flow chart of a file transfer method of an embodiment
  • FIG. 2 is a flow chart of a file transfer method of another embodiment
  • FIG. 3 is a schematic structural diagram of a file transmission system of an embodiment
  • FIG. 4 is a schematic structural diagram of a file transmission system of another embodiment.
  • first and second and the like in the present invention may be described herein as various elements, but these elements are not limited by these terms. The purpose of these terms is only to distinguish one element from another.
  • a first terminal may be referred to as a second terminal without departing from the scope of the present invention.
  • the second terminal may be referred to as a first terminal.
  • the first terminal and the second terminal are both terminal devices, but they are not the same terminal device.
  • FIG. 1 is a timing diagram of a file transfer method implemented by a first terminal and a second terminal. The method includes the following steps:
  • S202 The first terminal acquires a file download instruction.
  • the user runs a file transfer application on the first terminal, and the application is provided with a download-related interactive control, and the user triggers the download-related interactive control to generate a file download instruction on the first terminal.
  • the first terminal creates a first wireless local area network that uses the first terminal as a wireless hotspot according to the file download instruction.
  • the first terminal When the user is triggered to trigger the download control on the first terminal, the first terminal turns on the wireless hotspot function, creates a first local area network with the first terminal device as a wireless hotspot, and generates a hotspot name and an access password of the first wireless local area network.
  • the access password is used to verify whether other devices are allowed to access the first wireless local area network to connect with the first terminal.
  • the access password is automatically generated randomly when the first wireless LAN is created.
  • the first terminal is a terminal device having a wireless network card, such as a desktop computer, an interactive smart tablet, or a mobile terminal.
  • the first terminal generates a first two-dimensional code and displays that the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network.
  • a two-dimensional code is a black-and-white graphic that is distributed in a plane (two-dimensional direction) by a certain geometric pattern in a certain pattern, and can store information in both horizontal and vertical directions.
  • the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network. After the first terminal generates the first two-dimensional code, the first two-dimensional code is displayed on the display screen.
  • the second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network.
  • the second terminal runs a file transfer application, and by triggering an interactive control of the application, such as “sweeping” on the second terminal, the second terminal camera is invoked to scan the first terminal.
  • the first two-dimensional code on the first two-dimensional code.
  • the second terminal acquires the hotspot name and the access password of the first wireless local area network by parsing the first two-dimensional code. It can be understood that the second terminal is a terminal having a photographing function.
  • the second terminal sends a connection request to the first terminal, where the connection request includes the obtained hotspot name and access password of the first wireless local area network.
  • the second terminal is a terminal device with a wireless network card, such as a desktop computer, an interactive smart tablet or a mobile terminal.
  • the second terminal may search for the wireless hotspot of the first wireless local area network by using the wireless network card, and send a connection request to the wireless hotspot, where the connection request includes the hotspot name and the access password of the first wireless local area network obtained by parsing the first two-dimensional code. .
  • S212 Establish a connection with the second terminal after the first terminal verifies the hotspot name and the access password sent by the second terminal.
  • the first terminal After obtaining the connection request sent by the second terminal, the first terminal verifies the access password in the connection request and the stored access password of the first wireless local area network, and verifies whether the two are consistent. After the verification is passed, the first A terminal is connected to the second terminal, and the first terminal and the second terminal are connected by using the first wireless local area network.
  • S214 The second terminal displays the local storage file and acquires the file selected by the user.
  • the local storage file is displayed on the display screen of the second terminal, and the file selected by the user is obtained. That is, after detecting that the connection with the first terminal is successfully established, the second terminal automatically displays the local storage file on the display screen for the user to select and acquire the file selected by the user.
  • the files in this embodiment include pictures, videos, audio, and documents. Or an application installation package.
  • S216 The second terminal sends the file selected by the user to the first terminal.
  • the second terminal sends the file selected by the user to the first terminal by using the first wireless local area network, and the first terminal receives the file.
  • a first two-dimensional code storing a hotspot name and an access password of a first wireless local area network is generated and displayed by creating a first wireless local area network in which the first terminal is a wireless hotspot, and the second terminal passes the scanning
  • a two-dimensional code acquires a hotspot name and an access password of the first wireless local area network, and accesses the first wireless local area network to connect with the first terminal by using the hotspot name and the access password
  • the second terminal acquires the file selected by the user and the file Send to the first terminal.
  • the wireless local area network is established by using the wireless hotspot of the first terminal, and the second terminal accesses the wireless local area network to transmit the file stored in the second terminal to the first terminal. Even in the absence of an external network, the file can be transferred, free from the limitations of the external network, and facilitate the operation of the user.
  • the third terminal is further configured to transmit the file of the third terminal to the first terminal by using the file transmission method in this embodiment.
  • the method further includes:
  • the third terminal acquires a transmission instruction of the file to be transmitted.
  • the user runs the file transfer application on the third terminal, and the user selects a file to be transmitted on the operation interface, triggers a sharing operation, and generates a transfer instruction.
  • the third terminal creates a second wireless local area network that uses the third terminal as a wireless hotspot according to the transmission instruction.
  • the third terminal When the transmission instruction triggered by the user on the third terminal is obtained, the third terminal turns on the wireless hotspot function, creates a second local area network with the third terminal device as a wireless hotspot, and generates a hotspot name and an access password of the second wireless local area network. .
  • the access password is used to verify whether other devices are allowed to access the second wireless local area network to connect with the third terminal.
  • the access password is automatically generated randomly when the second wireless LAN is created.
  • the third terminal is a terminal device having a wireless network card, such as a desktop computer, an interactive smart tablet, or a mobile terminal.
  • the third terminal generates a second two-dimensional code and displays that the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
  • a two-dimensional code is a black-and-white graphic that is distributed in a plane (two-dimensional direction) by a certain geometric pattern in a certain pattern, and can store information in both horizontal and vertical directions.
  • the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
  • the storage address is the storage path of the file to be transmitted on the third terminal. After the third terminal generates the second two-dimensional code, the second two-dimensional code is displayed on the display screen.
  • the second terminal scans the second two-dimensional code and parses the second two-dimensional code to obtain a hotspot name and an access password of the second wireless local area network.
  • the second terminal runs a file transfer application, and by triggering an interactive control of the application on the second terminal, for example, “sweeping”, calling the camera of the second terminal to scan the third terminal.
  • the second two-dimensional code to obtain the second two-dimensional code.
  • the second terminal acquires the hotspot name, the access password, and the storage address of the file to be transmitted of the second wireless local area network by parsing the second two-dimensional code. It can be understood that the second terminal is a terminal having a photographing function.
  • the second terminal sends a connection request to the third terminal, where the connection request includes the obtained hot spot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
  • the second terminal may search for the wireless hotspot of the third wireless local area network by using the wireless network card, and send a connection request to the wireless hotspot, where the connection request includes the hotspot name and the access password of the second wireless local area network obtained by parsing the second two-dimensional code. And the storage address of the file to be transferred.
  • the third terminal After obtaining the connection request sent by the second terminal, the third terminal verifies the access password in the connection request and the stored access password of the second wireless local area network, and verifies whether the two are consistent. After the verification is passed, the third terminal is established. The third terminal is connected to the second terminal, and the third terminal and the second terminal are connected through the second wireless local area network.
  • S108 The second terminal downloads the file to be transmitted from the third terminal according to the storage address and stores the file.
  • the second terminal downloads the file to be transmitted from the third terminal to the local device according to the obtained storage address, and stores the file.
  • the files in this embodiment include pictures, videos, audio, documents or application installation packages, and the like.
  • the user can manually select the slave by operating the application of the second terminal.
  • the corresponding terminal downloads the file or sends the file to the corresponding terminal.
  • the second terminal can also automatically perform an operation of downloading or transmitting a file by identifying whether the scanned two-dimensional code includes a storage address.
  • the file can be transmitted from the third terminal to the first terminal by using the second terminal.
  • the second terminal is a mobile terminal, such as a mobile phone.
  • the mobile phone scans the two-dimensional code generated by the third terminal, connects to the wireless hotspot of the third terminal, and downloads the file from the third terminal to the local.
  • the mobile phone scans the generated two-dimensional code of the first terminal, and connects to the wireless hotspot of the first terminal, and the user sends the file to the first terminal by selecting a file to be transmitted on the mobile phone.
  • the third terminal and the first terminal are interactive smart tablets. Because the installation location of the interactive smart tablet is relatively fixed, by using a mobile terminal such as a mobile phone, the wireless hotspot of the interactive smart tablet can be used without connecting to the network. The transfer of files from one interactive smart tablet to another intelligent interactive tablet brings convenience to the user's operation.
  • step S202 includes: the first terminal encrypts by using a preset key to generate a first two-dimensional code and displays the same.
  • step S208 includes: the second terminal scans to obtain the first two-dimensional code, and decrypts the first two-dimensional code by using a preset key to obtain a hotspot name and an access password of the first wireless local area network.
  • Step S104 includes: the third terminal performs encryption by using a preset key to generate a second two-dimensional code and displays the same.
  • step S105 includes: the second terminal scans to acquire the second two-dimensional code, and decrypts the second two-dimensional code by using the preset key to obtain the hotspot name, the access password, and the storage of the file to be transmitted of the second wireless local area network. address.
  • the files mostly involve company secrets, and the file transfer method of the present invention is adopted.
  • the preset key is used to generate the two-dimensional code and the two-dimensional code is parsed, so as to prevent the non-legitimate users from cracking the information contained in the two-dimensional code, and ensuring the security and privacy of the file transmission, thereby ensuring the security of the file.
  • the step S204 includes: the first terminal generates a first two-dimensional code according to the file downloading instruction, and displays that the first two-dimensional code stores the hotspot name and the access secret of the first wireless local area network. Code and file download instructions.
  • step S208 includes: the second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name, an access password, and a file download instruction of the first wireless local area network.
  • Step S214 includes: the second terminal displays the local storage file according to the file download instruction, and acquires the file selected by the user.
  • Step S104 includes: generating, by the third terminal, a second two-dimensional code according to the transmission instruction, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, a storage address of the file to be transmitted, and a transmission instruction.
  • Step S105 includes: the second terminal scans the second two-dimensional code and parses the second two-dimensional code to obtain a hotspot name, an access password, a storage address of the file to be transmitted, and a transmission instruction of the second wireless local area network.
  • Step S108 includes: the second terminal downloads the file to be transmitted from the third terminal according to the transmission instruction and the storage address and stores the file.
  • the second terminal automatically downloads the file from the corresponding terminal or displays the locally stored file by identifying the transmission instruction or the file download instruction in the two-dimensional code, without manual operation confirmation, and brings convenience to the operation of the user.
  • a file transmission system as shown in Figure 3, comprising a first terminal 30 and a second terminal 50;
  • the first terminal 30 includes an instruction acquisition module 301, a local area network creation module 302, a two-dimensional code generation module 303, and a connection module 304.
  • the second terminal 50 includes a scan module 501, a sending module 502, and a selection module 503.
  • the instruction obtaining module 301 is configured to obtain a file download instruction.
  • the local area network creating module 302 is configured to create a first wireless local area network with the first terminal as a wireless hotspot according to the file downloading instruction.
  • the two-dimensional code generating module 303 is configured to generate and display a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network.
  • the scanning module 501 is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network.
  • the sending module 502 is configured to send a connection request to the first terminal, where the connection request includes the scanning module Get the hotspot name and access password of the first WLAN.
  • the connection module 304 is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified.
  • the selecting module 503 is configured to display a local storage file and obtain a file selected by the user.
  • the sending module 502 is further configured to send the file selected by the user to the first terminal.
  • the above file transmission system generates and displays a first two-dimensional code storing a hotspot name and an access password of the first wireless local area network by creating a first wireless local area network in which the first terminal is a wireless hotspot, and the second terminal passes the scanning
  • a two-dimensional code acquires a hotspot name and an access password of the first wireless local area network, and accesses the first wireless local area network to connect with the first terminal by using the hotspot name and the access password
  • the second terminal acquires the file selected by the user and the file Send to the first terminal.
  • a wireless local area network is established by using the wireless hotspot of the first terminal, and the second terminal accesses the wireless local area network to transmit the file stored in the second terminal to the first terminal. Even in the absence of an external network, the file can be transferred, free from the limitations of the external network, and facilitate the operation of the user.
  • the file transfer system further includes a third terminal 70.
  • the third terminal 70 includes: a transfer instruction acquisition module 701, a creation module 702, a two-dimensional code processing module 703, and a connection processing module 704.
  • the second terminal also includes a download module 504.
  • the transmission instruction acquisition module 701 is configured to acquire a transmission instruction of the file to be transmitted.
  • the creating module 702 is configured to create, according to the transmission instruction, a second wireless local area network that uses the third terminal as a wireless hotspot.
  • the two-dimensional code processing module 703 is configured to generate and display a second two-dimensional code, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
  • the scanning module 501 is configured to scan the second two-dimensional code and parse the second two-dimensional code to obtain a hotspot name, an access password, and a storage address of the file to be transmitted of the second wireless local area network.
  • the sending module 502 is configured to send a connection request to the third terminal, where the connection request includes a hotspot name and an access password of the second wireless local area network acquired by the scanning module.
  • the connection processing module 704 is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified.
  • the downloading module 504 is configured to download and store the file to be transmitted from the third terminal according to the storage address.
  • the file can be transferred from the third terminal to the first terminal by means of the second terminal.
  • the second terminal is a mobile terminal, such as a mobile phone.
  • the mobile phone scans the two-dimensional code generated by the third terminal, connects to the wireless hotspot of the third terminal, and downloads the file from the third terminal to the local.
  • the mobile phone scans the generated two-dimensional code of the first terminal, and connects to the wireless hotspot of the first terminal, and the user sends the file to the first terminal by selecting a file to be transmitted on the mobile phone.
  • the third terminal and the first terminal are interactive smart tablets
  • the second terminal is a mobile terminal. Because the installation location of the interactive smart tablet is relatively fixed, the wireless device using the interactive smart tablet is utilized by using a mobile terminal such as a mobile phone.
  • the hotspot can transfer files from one interactive smart tablet to another smart interactive tablet without connecting to the network, which brings convenience to the user's operation.
  • the two-dimensional code generating module 303 is configured to perform encryption by using a preset key to generate a first two-dimensional code and display the same.
  • the scanning module 501 is configured to scan and obtain the first two-dimensional code, and decrypt the first two-dimensional code by using a preset key to obtain a hotspot name and an access password of the first wireless local area network.
  • the two-dimensional code processing module 703 is configured to perform encryption by using a preset key to generate a second two-dimensional code and display the same.
  • the scanning module 501 is configured to scan and acquire the second two-dimensional code, and decrypt the second two-dimensional code by using a preset key to obtain a hotspot name, an access password, and a storage address of the file to be transmitted of the second wireless local area network.
  • the files mostly involve company secrets, and the file transfer method of the present invention is adopted.
  • the preset key is used to generate the two-dimensional code and the two-dimensional code is parsed, so as to prevent the non-legitimate users from cracking the information contained in the two-dimensional code, and ensuring the security and privacy of the file transmission, thereby ensuring the security of the file.
  • the two-dimensional code generating module 303 is configured to generate and display the first two-dimensional code according to the file downloading instruction, where the first two-dimensional code stores the hotspot name, access password, and file download of the first wireless local area network. instruction.
  • the scanning module 501 is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain the first wireless station Hotspot name, access password, and file download command for the domain network.
  • the selecting module 503 is configured to display a local storage file according to the file download instruction, and acquire a file selected by the user.
  • the two-dimensional code processing module 703 is configured to generate and display a second two-dimensional code according to the transmission instruction, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, a storage address of the file to be transmitted, and a transmission instruction.
  • the scanning module 501 is configured to scan the second two-dimensional code and parse the second two-dimensional code to obtain a hotspot name, an access password, a storage address of the file to be transmitted, and a transmission instruction of the second wireless local area network.
  • the downloading module 504 is configured to download and store the file to be transmitted from the third terminal according to the transmission instruction and the storage address.
  • the second terminal automatically downloads the file from the corresponding terminal or displays the locally stored file by identifying the transmission instruction or the file download instruction in the two-dimensional code, without manual operation confirmation, and brings convenience to the operation of the user.

Abstract

The present invention relates to a file transmission method and system. According to the method, a first wireless local area network that uses a first terminal as a wireless hotspot is generated; a first two-dimensional barcode storing the hotspot name and an access password of the first wireless local area network is generated and displayed; a second terminal scans the first two-dimensional barcode to acquire the hotspot name and the access password of the first wireless local area network, and accesses the first wireless local area network by using the hotspot name and the access password to connect to the first terminal; the second terminal acquires a file selected by a user and sends the file to the first terminal. According to the method, a wireless local area network is established by using a first terminal as a wireless hotspot, and a second terminal is able to transmit a file stored in the second terminal to the first terminal after accessing the wireless local area network. Even in the absence of an external network, file transmission can still be achieved without being limited by an external network, thereby bringing convenience to operations of a user.

Description

文件传输方法和系统File transfer method and system 技术领域Technical field
本发明涉及通信技术领域,特别是涉及一种文件传输方法和系统。The present invention relates to the field of communications technologies, and in particular, to a file transmission method and system.
背景技术Background technique
交互智能平板是指利用触控技术对显示在平板上的内容进行操控和实现人机交互操作的一体化设备。在教育和会议等应用场景中,所需的交互智能平板的尺寸较大,通常安装在固定位置。而且在教育和会议等应用场景中,往往需要在不同的教室或会议室重复使用同一个文件。The interactive smart tablet refers to an integrated device that uses touch technology to control the content displayed on the tablet and realize human-computer interaction. In applications such as education and meetings, the required interactive smart tablets are large in size and are usually installed in a fixed location. Moreover, in application scenarios such as education and meetings, it is often necessary to reuse the same file in different classrooms or conference rooms.
现在的交互智能平板实现文件传输的方式是将文件存储在网络服务器中,通过在交互智能平板上访问网络服务器,从网络服务器中下载需要使用的文件。但这种实现方式是基于外网网络可用的前提,在网络不可用的情况下用户无法顺利地从网络服务器中下载需要的文件,给用户的操作带来不便。The way in which the interactive smart tablet implements file transfer is to store the file in the network server, and access the network server on the interactive smart tablet to download the file to be used from the network server. However, this implementation is based on the premise that the external network is available. When the network is unavailable, the user cannot successfully download the required files from the network server, which brings inconvenience to the user's operation.
发明内容Summary of the invention
基于此,有必要提供一种操作方便的文件传输方法。Based on this, it is necessary to provide an easy-to-use file transfer method.
一种文件传输方法,包括:A file transfer method includes:
第一终端获取文件下载指令;The first terminal acquires a file download instruction;
所述第一终端根据所述文件下载指令,创建以所述第一终端为无线热点的第一无线局域网;Determining, by the first terminal, the first wireless local area network that uses the first terminal as a wireless hotspot according to the file downloading instruction;
所述第一终端生成第一二维码并显示,所述第一二维码存储有所述第一无线局域网的热点名称和接入密码;Generating, by the first terminal, a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network;
第二终端扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称和接入密码;The second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network;
所述第二终端向所述第一终端发送连接请求,所述连接请求包括获取的所述第一无线局域网的热点名称和接入密码;Sending, by the second terminal, a connection request to the first terminal, where the connection request includes the obtained hotspot name and an access password of the first wireless local area network;
当第一终端对所述第二终端发送的热点名称和接入密码验证通过后,建 立与所述第二终端的连接;After the hotspot name and the access password sent by the first terminal to the second terminal are verified, Establishing a connection with the second terminal;
所述第二终端显示本地的存储文件,并获取用户所选择的文件;The second terminal displays a local storage file and obtains a file selected by the user;
所述第二终端将用户所选择的文件发送至所述第一终端。The second terminal sends the file selected by the user to the first terminal.
一种文件传输系统,包括第一终端和第二终端;A file transmission system includes a first terminal and a second terminal;
所述第一终端包括:指令获取模块、局域网创建模块、二维码生成模块和连接模块;所述第二终端包括:扫描模块、发送模块和选择模块;The first terminal includes: an instruction acquisition module, a local area network creation module, a two-dimensional code generation module, and a connection module; the second terminal includes: a scanning module, a sending module, and a selection module;
所述指令获取模块,用于获取文件下载指令;The instruction acquisition module is configured to acquire a file download instruction;
所述局域网创建模块,用于根据所述文件下载指令,创建以所述第一终端为无线热点的第一无线局域网;The local area network creating module is configured to create, according to the file downloading instruction, a first wireless local area network that uses the first terminal as a wireless hotspot;
所述二维码生成模块,用于生成第一二维码并显示,所述第一二维码存储有所述第一无线局域网的热点名称和接入密码;The two-dimensional code generating module is configured to generate and display a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network;
所述扫描模块,用于扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称和接入密码;The scanning module is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network;
所述发送模块,用于向所述第一终端发送连接请求,所述连接请求包括所述扫描模块获取的所述第一无线局域网的热点名称和接入密码;The sending module is configured to send a connection request to the first terminal, where the connection request includes a hotspot name and an access password of the first wireless local area network acquired by the scanning module;
所述连接模块,用于对所述第二终端发送的热点名称和接入密码验证通过后,建立与所述第二终端的连接;The connection module is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified;
所述选择模块,用于显示本地的存储文件,并获取用户所选择的文件;The selecting module is configured to display a local storage file and obtain a file selected by the user;
所述发送模块,还用于将用户所选择的文件发送至所述第一终端。The sending module is further configured to send a file selected by the user to the first terminal.
上述的文件传输方法,通过创建以第一终端为无线热点的第一无线局域网,生成并显示存储有第一无线局域网的热点名称和接入密码的第一二维码,第二终端通过扫描第一二维码获取到第一无线局域网的热点名称和接入密码,并通过热点名称和接入密码接入第一无线局域网与第一终端连接,第二终端获取用户选择的文件并将该文件发送至第一终端。通过该方法,通过利用第一终端的无线热点建立无线局域网,第二终端接入该无线局域网即可将存储在第二终端的文件传输到第一终端上。即使是在无外部网络的情况下,仍能实现文件的传输,摆脱了对外网网络的限制,给用户的操作带来便利。 In the above file transmission method, a first two-dimensional code storing a hotspot name and an access password of a first wireless local area network is generated and displayed by creating a first wireless local area network in which the first terminal is a wireless hotspot, and the second terminal passes the scanning A two-dimensional code acquires a hotspot name and an access password of the first wireless local area network, and accesses the first wireless local area network to connect with the first terminal by using the hotspot name and the access password, and the second terminal acquires the file selected by the user and the file Send to the first terminal. Through the method, the wireless local area network is established by using the wireless hotspot of the first terminal, and the second terminal accesses the wireless local area network to transmit the file stored in the second terminal to the first terminal. Even in the absence of an external network, the file can be transferred, free from the limitations of the external network, and facilitate the operation of the user.
附图说明DRAWINGS
图1为一个实施例的文件传输方法的流程图;1 is a flow chart of a file transfer method of an embodiment;
图2为另一个实施例的文件传输方法的流程图;2 is a flow chart of a file transfer method of another embodiment;
图3为一个实施例的文件传输系统的结构示意图;3 is a schematic structural diagram of a file transmission system of an embodiment;
图4为另一个实施例的文件传输系统的结构示意图。4 is a schematic structural diagram of a file transmission system of another embodiment.
具体实施方式detailed description
本实发明中的术语“第一”和“第二”等可在本文中描述各种元件,但这些元件不受这些术语的限制。这些术语的作用仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一终端称为第二终端,类似的,可以将第二终端称为第一终端。第一终端和第二终端都是终端设备,但其不是同一终端设备。The terms "first" and "second" and the like in the present invention may be described herein as various elements, but these elements are not limited by these terms. The purpose of these terms is only to distinguish one element from another. For example, a first terminal may be referred to as a second terminal without departing from the scope of the present invention. Similarly, the second terminal may be referred to as a first terminal. The first terminal and the second terminal are both terminal devices, but they are not the same terminal device.
图1为一种文件传输方法的时序图,该方法通过第一终端和第二终端实现。该方法包括以下步骤:FIG. 1 is a timing diagram of a file transfer method implemented by a first terminal and a second terminal. The method includes the following steps:
S202:第一终端获取文件下载指令。S202: The first terminal acquires a file download instruction.
在一种具体实施方式中,用户通过在第一终端运行文件传输应用,该应用上设置有下载相关的交互控件,用户触发下载相关的交互控件在第一终端上产生文件下载指令。In a specific implementation, the user runs a file transfer application on the first terminal, and the application is provided with a download-related interactive control, and the user triggers the download-related interactive control to generate a file download instruction on the first terminal.
S204:第一终端根据文件下载指令,创建以第一终端为无线热点的第一无线局域网。S204: The first terminal creates a first wireless local area network that uses the first terminal as a wireless hotspot according to the file download instruction.
当获取到用户在第一终端上触发下载控件时,第一终端开启无线热点功能,创建以第一终端设备为无线热点的第一局域网,并生成第一无线局域网的热点名称和接入密码。接入密码用于验证是否允许其它设备接入第一无线局域网与第一终端连接。接入密码在创建第一无线局域网时随机自动生成。应当理解的是,第一终端为具有无线网卡的终端设备,例如,台式电脑、交互智能平板或移动终端。When the user is triggered to trigger the download control on the first terminal, the first terminal turns on the wireless hotspot function, creates a first local area network with the first terminal device as a wireless hotspot, and generates a hotspot name and an access password of the first wireless local area network. The access password is used to verify whether other devices are allowed to access the first wireless local area network to connect with the first terminal. The access password is automatically generated randomly when the first wireless LAN is created. It should be understood that the first terminal is a terminal device having a wireless network card, such as a desktop computer, an interactive smart tablet, or a mobile terminal.
S206:第一终端生成第一二维码并显示,第一二维码存储有第一无线局域网的热点名称和接入密码。 S206: The first terminal generates a first two-dimensional code and displays that the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network.
二维码是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形,在水平和垂直方向都可以存储信息。具体的,第一二维码存储有第一无线局域网的热点名称和接入密码。第一终端生成第一二维码后,将第一二维码显示在显示屏上。A two-dimensional code is a black-and-white graphic that is distributed in a plane (two-dimensional direction) by a certain geometric pattern in a certain pattern, and can store information in both horizontal and vertical directions. Specifically, the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network. After the first terminal generates the first two-dimensional code, the first two-dimensional code is displayed on the display screen.
S208:第二终端扫描第一二维码并解析第一二维码获取第一无线局域网的热点名称和接入密码。S208: The second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network.
在一个具体的实施方式中,第二终端上运行有文件传输应用,通过在第二终端上触发该应用的交互控件,例如“扫一扫”,从而调用第二终端的照相机,扫描第一终端上的第一二维码以获取第一二维码。第二终端通过解析第一二维码获取第一无线局域网的热点名称和接入密码。可以理解的是,第二终端为具有拍照功能的终端。In a specific implementation, the second terminal runs a file transfer application, and by triggering an interactive control of the application, such as “sweeping” on the second terminal, the second terminal camera is invoked to scan the first terminal. The first two-dimensional code on the first two-dimensional code. The second terminal acquires the hotspot name and the access password of the first wireless local area network by parsing the first two-dimensional code. It can be understood that the second terminal is a terminal having a photographing function.
S210:第二终端向第一终端发送连接请求,连接请求包括获取的第一无线局域网的热点名称和接入密码。S210: The second terminal sends a connection request to the first terminal, where the connection request includes the obtained hotspot name and access password of the first wireless local area network.
可以理解的是,第二终端为具有无线网卡的终端设备,例如,台式电脑、交互智能平板或移动终端。第二终端可通过无线网卡搜索到第一无线局域网的无线热点,并向该无线热点发送连接请求,连接请求包括通过解析第一二维码所获取的第一无线局域网的热点名称和接入密码。It can be understood that the second terminal is a terminal device with a wireless network card, such as a desktop computer, an interactive smart tablet or a mobile terminal. The second terminal may search for the wireless hotspot of the first wireless local area network by using the wireless network card, and send a connection request to the wireless hotspot, where the connection request includes the hotspot name and the access password of the first wireless local area network obtained by parsing the first two-dimensional code. .
S212:当第一终端对第二终端发送的热点名称和接入密码验证通过后,建立与第二终端的连接。S212: Establish a connection with the second terminal after the first terminal verifies the hotspot name and the access password sent by the second terminal.
第一终端在获取到第二终端发送的连接请求后,将连接请求中的接入密码与存储的第一无线局域网的接入密码进行验证,验证二者是否一致,在验证通过后,建立第一终端与第二终端的连接,第一终端和第二终端通过第一无线局域网进行连接。After obtaining the connection request sent by the second terminal, the first terminal verifies the access password in the connection request and the stored access password of the first wireless local area network, and verifies whether the two are consistent. After the verification is passed, the first A terminal is connected to the second terminal, and the first terminal and the second terminal are connected by using the first wireless local area network.
S214:第二终端显示本地的存储文件,并获取用户所选择的文件。S214: The second terminal displays the local storage file and acquires the file selected by the user.
在建立第一终端和第二终端的连接后,在第二终端的显示屏上显示本地的存储文件,并获取用户所选择的文件。即第二终端在检测到与第一终端的连接建立成功之后,自动在显示屏上显示本地的存储文件,以供用户选择,并获取用户所选择的文件。本实施例中的文件包括图片、视频、音频、文档 或应用程序安装包。After establishing the connection between the first terminal and the second terminal, the local storage file is displayed on the display screen of the second terminal, and the file selected by the user is obtained. That is, after detecting that the connection with the first terminal is successfully established, the second terminal automatically displays the local storage file on the display screen for the user to select and acquire the file selected by the user. The files in this embodiment include pictures, videos, audio, and documents. Or an application installation package.
S216:第二终端将用户所选择的文件发送至第一终端。S216: The second terminal sends the file selected by the user to the first terminal.
第二终端将用户选择的文件通过第一无线局域网发送至第一终端,第一终端接收该文件。The second terminal sends the file selected by the user to the first terminal by using the first wireless local area network, and the first terminal receives the file.
上述的文件传输方法,通过创建以第一终端为无线热点的第一无线局域网,生成并显示存储有第一无线局域网的热点名称和接入密码的第一二维码,第二终端通过扫描第一二维码获取到第一无线局域网的热点名称和接入密码,并通过热点名称和接入密码接入第一无线局域网与第一终端连接,第二终端获取用户选择的文件并将该文件发送至第一终端。通过该方法,通过利用第一终端的无线热点建立无线局域网,第二终端接入该无线局域网即可将存储在第二终端的文件传输到第一终端上。即使是在无外部网络的情况下,仍能实现文件的传输,摆脱了对外网网络的限制,给用户的操作带来便利。In the above file transmission method, a first two-dimensional code storing a hotspot name and an access password of a first wireless local area network is generated and displayed by creating a first wireless local area network in which the first terminal is a wireless hotspot, and the second terminal passes the scanning A two-dimensional code acquires a hotspot name and an access password of the first wireless local area network, and accesses the first wireless local area network to connect with the first terminal by using the hotspot name and the access password, and the second terminal acquires the file selected by the user and the file Send to the first terminal. Through the method, the wireless local area network is established by using the wireless hotspot of the first terminal, and the second terminal accesses the wireless local area network to transmit the file stored in the second terminal to the first terminal. Even in the absence of an external network, the file can be transferred, free from the limitations of the external network, and facilitate the operation of the user.
在另一个实施例中,还包括第三终端,通过本实施例的文件传输方法,将第三终端的文件传输至第一终端。具体的,如图2所示,在步骤S202之前,还包括:In another embodiment, the third terminal is further configured to transmit the file of the third terminal to the first terminal by using the file transmission method in this embodiment. Specifically, as shown in FIG. 2, before step S202, the method further includes:
S102:第三终端获取对待传输文件的传输指令。S102: The third terminal acquires a transmission instruction of the file to be transmitted.
在一种具体的实施方式中,用户通过在第三终端上运行文件传输应用,用户在操作界面上选择待传输文件,触发分享操作,产生传输指令。In a specific implementation manner, the user runs the file transfer application on the third terminal, and the user selects a file to be transmitted on the operation interface, triggers a sharing operation, and generates a transfer instruction.
S103:第三终端根据传输指令,创建以第三终端为无线热点的第二无线局域网。S103: The third terminal creates a second wireless local area network that uses the third terminal as a wireless hotspot according to the transmission instruction.
当获取到用户在第三终端上触发的传输指令时,第三终端开启无线热点功能,创建以第三终端设备为无线热点的第二局域网,并生成第二无线局域网的热点名称和接入密码。接入密码用于验证是否允许其它设备接入第二无线局域网与第三终端连接。接入密码在创建第二无线局域网时随机自动生成。应当理解的是,第三终端为具有无线网卡的终端设备,例如,台式电脑、交互智能平板或移动终端。When the transmission instruction triggered by the user on the third terminal is obtained, the third terminal turns on the wireless hotspot function, creates a second local area network with the third terminal device as a wireless hotspot, and generates a hotspot name and an access password of the second wireless local area network. . The access password is used to verify whether other devices are allowed to access the second wireless local area network to connect with the third terminal. The access password is automatically generated randomly when the second wireless LAN is created. It should be understood that the third terminal is a terminal device having a wireless network card, such as a desktop computer, an interactive smart tablet, or a mobile terminal.
S104:第三终端生成第二二维码并显示,第二二维码存储有第二无线局域网的热点名称、接入密码和待传输文件的存储地址。 S104: The third terminal generates a second two-dimensional code and displays that the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
二维码是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形,在水平和垂直方向都可以存储信息。具体的,第二二维码存储有第二无线局域网的热点名称、接入密码和待传输文件的存储地址。存储地址即待传输文件在第三终端上的存储路径。第三终端生成第二二维码后,将第二二维码显示在显示屏上。A two-dimensional code is a black-and-white graphic that is distributed in a plane (two-dimensional direction) by a certain geometric pattern in a certain pattern, and can store information in both horizontal and vertical directions. Specifically, the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted. The storage address is the storage path of the file to be transmitted on the third terminal. After the third terminal generates the second two-dimensional code, the second two-dimensional code is displayed on the display screen.
S105:第二终端扫描第二二维码并解析第二二维码获取第二无线局域网的热点名称和接入密码。S105: The second terminal scans the second two-dimensional code and parses the second two-dimensional code to obtain a hotspot name and an access password of the second wireless local area network.
在一个具体的实施方式中,第二终端上运行有文件传输应用,通过在第二终端上触发该应用的交互控件,例如“扫一扫”,调用第二终端的照相机,扫描第三终端上的第二二维码以获取第二二维码。第二终端通过解析第二二维码获取第二无线局域网的热点名称、接入密码和待传输文件的存储地址。可以理解的是,第二终端为具有拍照功能的终端。In a specific implementation, the second terminal runs a file transfer application, and by triggering an interactive control of the application on the second terminal, for example, “sweeping”, calling the camera of the second terminal to scan the third terminal. The second two-dimensional code to obtain the second two-dimensional code. The second terminal acquires the hotspot name, the access password, and the storage address of the file to be transmitted of the second wireless local area network by parsing the second two-dimensional code. It can be understood that the second terminal is a terminal having a photographing function.
S106:第二终端向第三终端发送连接请求,连接请求包括获取的第二无线局域网的热点名称、接入密码和待传输文件的存储地址。S106: The second terminal sends a connection request to the third terminal, where the connection request includes the obtained hot spot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
第二终端可通过无线网卡搜索到第三无线局域网的无线热点,并向该无线热点发送连接请求,连接请求包括通过解析第二二维码所获取的第二无线局域网的热点名称、接入密码和待传输文件的存储地址。The second terminal may search for the wireless hotspot of the third wireless local area network by using the wireless network card, and send a connection request to the wireless hotspot, where the connection request includes the hotspot name and the access password of the second wireless local area network obtained by parsing the second two-dimensional code. And the storage address of the file to be transferred.
S107:当第三终端对第二终端发送的热点名称和接入密码验证通过后,建立与第二终端的连接。S107: After the third terminal verifies the hotspot name and the access password sent by the second terminal, establish a connection with the second terminal.
第三终端在获取到第二终端发送的连接请求后,将连接请求中的接入密码与存储的第二无线局域网的接入密码进行验证,验证二者是否一致,在验证通过后,建立第三终端与第二终端的连接,第三终端和第二终端通过第二无线局域网进行连接。After obtaining the connection request sent by the second terminal, the third terminal verifies the access password in the connection request and the stored access password of the second wireless local area network, and verifies whether the two are consistent. After the verification is passed, the third terminal is established. The third terminal is connected to the second terminal, and the third terminal and the second terminal are connected through the second wireless local area network.
S108:第二终端根据存储地址从第三终端上下载待传输文件并存储。S108: The second terminal downloads the file to be transmitted from the third terminal according to the storage address and stores the file.
在建立第三终端和第二终端的连接后,第二终端根据获取的存储地址从第三终端上下载待传输文件至本地,并进行存储。本实施例中的文件包括图片、视频、音频、文档或应用程序安装包等。After the connection between the third terminal and the second terminal is established, the second terminal downloads the file to be transmitted from the third terminal to the local device according to the obtained storage address, and stores the file. The files in this embodiment include pictures, videos, audio, documents or application installation packages, and the like.
在本实施例中,可以由用户通过操作第二终端的应用程序,手动选择从 对应终端下载文件或从向对应终端发送文件。第二终端也可以通过识别所扫描的二维码中是否包括存储地址自动进行下载或发送文件的操作。In this embodiment, the user can manually select the slave by operating the application of the second terminal. The corresponding terminal downloads the file or sends the file to the corresponding terminal. The second terminal can also automatically perform an operation of downloading or transmitting a file by identifying whether the scanned two-dimensional code includes a storage address.
采用本实施例的文件传输的方法,可实现借助第二终端将文件从第三终端传输到第一终端。在一个优选的实施方式中,第二终端为移动终端,例如手机。手机扫描第三终端生成的二维码,连接至第三终端的无线热点,从第三终端上下载文件至本地。手机扫描第一终端的生成的二维码,连接至第一终端的无线热点,用户通过在手机上选择需要传送的文件,将文件发送至第一终端。With the file transmission method of this embodiment, the file can be transmitted from the third terminal to the first terminal by using the second terminal. In a preferred embodiment, the second terminal is a mobile terminal, such as a mobile phone. The mobile phone scans the two-dimensional code generated by the third terminal, connects to the wireless hotspot of the third terminal, and downloads the file from the third terminal to the local. The mobile phone scans the generated two-dimensional code of the first terminal, and connects to the wireless hotspot of the first terminal, and the user sends the file to the first terminal by selecting a file to be transmitted on the mobile phone.
在一个具体的实施方式中,第三终端和第一终端为交互智能平板,由于交互智能平板的安装位置相对固定,通过借助手机等移动终端,利用交互智能平板的无线热点,无需连接网络即可实现将文件从一个交互智能平板传输至另一智能交互平板,给用户的操作带来便捷。In a specific implementation manner, the third terminal and the first terminal are interactive smart tablets. Because the installation location of the interactive smart tablet is relatively fixed, by using a mobile terminal such as a mobile phone, the wireless hotspot of the interactive smart tablet can be used without connecting to the network. The transfer of files from one interactive smart tablet to another intelligent interactive tablet brings convenience to the user's operation.
在另一个实施例中,步骤S202包括:第一终端采用预设密钥进行加密生成第一二维码并显示。In another embodiment, step S202 includes: the first terminal encrypts by using a preset key to generate a first two-dimensional code and displays the same.
对应的,步骤S208包括:第二终端扫描获得第一二维码,并采用预设密钥对第一二维码进行解密得到第一无线局域网的热点名称和接入密码。Correspondingly, step S208 includes: the second terminal scans to obtain the first two-dimensional code, and decrypts the first two-dimensional code by using a preset key to obtain a hotspot name and an access password of the first wireless local area network.
步骤S104包括:第三终端采用预设密钥进行加密生成第二二维码并显示。Step S104 includes: the third terminal performs encryption by using a preset key to generate a second two-dimensional code and displays the same.
对应的,步骤S105包括:第二终端扫描获取第二二维码,并采用预设密钥对第二二维码进行解密得到第二无线局域网的热点名称、接入密码和待传输文件的存储地址。Correspondingly, step S105 includes: the second terminal scans to acquire the second two-dimensional code, and decrypts the second two-dimensional code by using the preset key to obtain the hotspot name, the access password, and the storage of the file to be transmitted of the second wireless local area network. address.
在交互智能平板的会议场景应用中,文件大都涉及公司机密,采用本发明的文件传输方法,一方面,无需将文件上传到网络服务器中,避免文件在网络传输过程中被拦截,另一方面,采用预设密钥生成二维码和解析二维码,避免非合法用户破解二维码中所包含的信息,确保文件传输的安全性和私密性,从而有力保障文件的安全。In the conference scenario application of the interactive smart tablet, the files mostly involve company secrets, and the file transfer method of the present invention is adopted. On the one hand, it is not necessary to upload the files to the network server, and the files are prevented from being intercepted during the network transmission process. The preset key is used to generate the two-dimensional code and the two-dimensional code is parsed, so as to prevent the non-legitimate users from cracking the information contained in the two-dimensional code, and ensuring the security and privacy of the file transmission, thereby ensuring the security of the file.
在再一个实施例中,步骤S204包括:第一终端根据文件下载指令生成第一二维码并显示,第一二维码存储有第一无线局域网的热点名称、接入密 码和文件下载指令。In a further embodiment, the step S204 includes: the first terminal generates a first two-dimensional code according to the file downloading instruction, and displays that the first two-dimensional code stores the hotspot name and the access secret of the first wireless local area network. Code and file download instructions.
对应的,步骤S208包括:第二终端扫描第一二维码并解析第一二维码获取第一无线局域网的热点名称、接入密码和文件下载指令。Correspondingly, step S208 includes: the second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name, an access password, and a file download instruction of the first wireless local area network.
步骤S214包括:第二终端根据文件下载指令显示本地的存储文件,并获取用户所选择的文件。Step S214 includes: the second terminal displays the local storage file according to the file download instruction, and acquires the file selected by the user.
步骤S104包括:第三终端根据传输指令生成第二二维码并显示,第二二维码存储有第二无线局域网的热点名称、接入密码、待传输文件的存储地址和传输指令。Step S104 includes: generating, by the third terminal, a second two-dimensional code according to the transmission instruction, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, a storage address of the file to be transmitted, and a transmission instruction.
步骤S105包括:第二终端扫描第二二维码并解析第二二维码获取第二无线局域网的热点名称、接入密码、待传输文件的存储地址和传输指令。Step S105 includes: the second terminal scans the second two-dimensional code and parses the second two-dimensional code to obtain a hotspot name, an access password, a storage address of the file to be transmitted, and a transmission instruction of the second wireless local area network.
步骤S108包括:第二终端根据传输指令和存储地址从第三终端上下载待传输文件并存储。Step S108 includes: the second terminal downloads the file to be transmitted from the third terminal according to the transmission instruction and the storage address and stores the file.
本实施例中,第二终端通过识别二维码中的传输指令或文件下载指令,自动从对应的终端下载文件或显示本地所存储的文件,无需人工操作确认,给用户的操作带来便利。In this embodiment, the second terminal automatically downloads the file from the corresponding terminal or displays the locally stored file by identifying the transmission instruction or the file download instruction in the two-dimensional code, without manual operation confirmation, and brings convenience to the operation of the user.
一种文件传输系统,如图3所示,包括第一终端30和第二终端50;a file transmission system, as shown in Figure 3, comprising a first terminal 30 and a second terminal 50;
第一终端30包括:指令获取模块301、局域网创建模块302、二维码生成模块303和连接模块304;第二终端50包括:扫描模块501、发送模块502和选择模块503。The first terminal 30 includes an instruction acquisition module 301, a local area network creation module 302, a two-dimensional code generation module 303, and a connection module 304. The second terminal 50 includes a scan module 501, a sending module 502, and a selection module 503.
指令获取模块301,用于获取文件下载指令。The instruction obtaining module 301 is configured to obtain a file download instruction.
局域网创建模块302,用于根据文件下载指令,创建以第一终端为无线热点的第一无线局域网。The local area network creating module 302 is configured to create a first wireless local area network with the first terminal as a wireless hotspot according to the file downloading instruction.
二维码生成模块303,用于生成第一二维码并显示,第一二维码存储有第一无线局域网的热点名称和接入密码。The two-dimensional code generating module 303 is configured to generate and display a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network.
扫描模块501,用于扫描第一二维码并解析第一二维码获取第一无线局域网的热点名称和接入密码。The scanning module 501 is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network.
发送模块502,用于向第一终端发送连接请求,连接请求包括扫描模块 获取的第一无线局域网的热点名称和接入密码。The sending module 502 is configured to send a connection request to the first terminal, where the connection request includes the scanning module Get the hotspot name and access password of the first WLAN.
连接模块304,用于对第二终端发送的热点名称和接入密码验证通过后,建立与第二终端的连接。The connection module 304 is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified.
选择模块503,用于显示本地的存储文件,并获取用户所选择的文件。The selecting module 503 is configured to display a local storage file and obtain a file selected by the user.
发送模块502,还用于将用户所选择的文件发送至第一终端。The sending module 502 is further configured to send the file selected by the user to the first terminal.
上述的文件传输系统,通过创建以第一终端为无线热点的第一无线局域网,生成并显示存储有第一无线局域网的热点名称和接入密码的第一二维码,第二终端通过扫描第一二维码获取到第一无线局域网的热点名称和接入密码,并通过热点名称和接入密码接入第一无线局域网与第一终端连接,第二终端获取用户选择的文件并将该文件发送至第一终端。通过该系统,通过利用第一终端的无线热点建立无线局域网,第二终端接入该无线局域网即可将存储在第二终端的文件传输到第一终端上。即使是在无外部网络的情况下,仍能实现文件的传输,摆脱了对外网网络的限制,给用户的操作带来便利。The above file transmission system generates and displays a first two-dimensional code storing a hotspot name and an access password of the first wireless local area network by creating a first wireless local area network in which the first terminal is a wireless hotspot, and the second terminal passes the scanning A two-dimensional code acquires a hotspot name and an access password of the first wireless local area network, and accesses the first wireless local area network to connect with the first terminal by using the hotspot name and the access password, and the second terminal acquires the file selected by the user and the file Send to the first terminal. Through the system, a wireless local area network is established by using the wireless hotspot of the first terminal, and the second terminal accesses the wireless local area network to transmit the file stored in the second terminal to the first terminal. Even in the absence of an external network, the file can be transferred, free from the limitations of the external network, and facilitate the operation of the user.
在另一个实施例中,如图4所示,文件传输系统还包括第三终端70,第三终端70包括:传输指令获取模块701、创建模块702、二维码处理模块703和连接处理模块704;第二终端还包括下载模块504。In another embodiment, as shown in FIG. 4, the file transfer system further includes a third terminal 70. The third terminal 70 includes: a transfer instruction acquisition module 701, a creation module 702, a two-dimensional code processing module 703, and a connection processing module 704. The second terminal also includes a download module 504.
传输指令获取模块701,用于获取对待传输文件的传输指令。The transmission instruction acquisition module 701 is configured to acquire a transmission instruction of the file to be transmitted.
创建模块702,用于根据传输指令,创建以第三终端为无线热点的第二无线局域网。The creating module 702 is configured to create, according to the transmission instruction, a second wireless local area network that uses the third terminal as a wireless hotspot.
二维码处理模块703,用于生成第二二维码并显示,第二二维码存储有第二无线局域网的热点名称、接入密码和待传输文件的存储地址。The two-dimensional code processing module 703 is configured to generate and display a second two-dimensional code, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted.
扫描模块501,用于扫描第二二维码并解析第二二维码获取第二无线局域网的热点名称、接入密码和待传输文件的存储地址。The scanning module 501 is configured to scan the second two-dimensional code and parse the second two-dimensional code to obtain a hotspot name, an access password, and a storage address of the file to be transmitted of the second wireless local area network.
发送模块502,用于向第三终端发送连接请求,连接请求包括扫描模块获取的第二无线局域网的热点名称和接入密码。The sending module 502 is configured to send a connection request to the third terminal, where the connection request includes a hotspot name and an access password of the second wireless local area network acquired by the scanning module.
连接处理模块704,用于对第二终端发送的热点名称和接入密码验证通过后,建立与第二终端的连接。The connection processing module 704 is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified.
下载模块504,用于根据存储地址从第三终端上下载待传输文件并存储。 The downloading module 504 is configured to download and store the file to be transmitted from the third terminal according to the storage address.
采用本实施例的文件传输的系统,可实现借助第二终端将文件从第三终端传输到第一终端。在一个优选的实施方式中,第二终端为移动终端,例如手机。手机扫描第三终端生成的二维码,连接至第三终端的无线热点,从第三终端上下载文件至本地。手机扫描第一终端的生成的二维码,连接至第一终端的无线热点,用户通过在手机上选择需要传送的文件,将文件发送至第一终端。With the system for file transfer of this embodiment, the file can be transferred from the third terminal to the first terminal by means of the second terminal. In a preferred embodiment, the second terminal is a mobile terminal, such as a mobile phone. The mobile phone scans the two-dimensional code generated by the third terminal, connects to the wireless hotspot of the third terminal, and downloads the file from the third terminal to the local. The mobile phone scans the generated two-dimensional code of the first terminal, and connects to the wireless hotspot of the first terminal, and the user sends the file to the first terminal by selecting a file to be transmitted on the mobile phone.
在一个具体的实施方式中,第三终端和第一终端为交互智能平板,第二终端为移动终端,由于交互智能平板的安装位置相对固定,通过借助手机等移动终端,利用交互智能平板的无线热点,无需连接网络即可实现将文件从一个交互智能平板传输至另一智能交互平板,给用户的操作带来便捷。In a specific implementation manner, the third terminal and the first terminal are interactive smart tablets, and the second terminal is a mobile terminal. Because the installation location of the interactive smart tablet is relatively fixed, the wireless device using the interactive smart tablet is utilized by using a mobile terminal such as a mobile phone. The hotspot can transfer files from one interactive smart tablet to another smart interactive tablet without connecting to the network, which brings convenience to the user's operation.
在另一个实施例中,二维码生成模块303,用于采用预设密钥进行加密生成第一二维码并显示。In another embodiment, the two-dimensional code generating module 303 is configured to perform encryption by using a preset key to generate a first two-dimensional code and display the same.
扫描模块501,用于扫描获得第一二维码,并采用预设密钥对第一二维码进行解密得到第一无线局域网的热点名称和接入密码。The scanning module 501 is configured to scan and obtain the first two-dimensional code, and decrypt the first two-dimensional code by using a preset key to obtain a hotspot name and an access password of the first wireless local area network.
二维码处理模块703,用于采用预设密钥进行加密生成第二二维码并显示。The two-dimensional code processing module 703 is configured to perform encryption by using a preset key to generate a second two-dimensional code and display the same.
扫描模块501,用于扫描获取第二二维码,并采用预设密钥对第二二维码进行解密得到第二无线局域网的热点名称、接入密码和待传输文件的存储地址。The scanning module 501 is configured to scan and acquire the second two-dimensional code, and decrypt the second two-dimensional code by using a preset key to obtain a hotspot name, an access password, and a storage address of the file to be transmitted of the second wireless local area network.
在交互智能平板的会议场景应用中,文件大都涉及公司机密,采用本发明的文件传输方法,一方面,无需将文件上传到网络服务器中,避免文件在网络传输过程中被拦截,另一方面,采用预设密钥生成二维码和解析二维码,避免非合法用户破解二维码中所包含的信息,确保文件传输的安全性和私密性,从而有力保障文件的安全。In the conference scenario application of the interactive smart tablet, the files mostly involve company secrets, and the file transfer method of the present invention is adopted. On the one hand, it is not necessary to upload the files to the network server, and the files are prevented from being intercepted during the network transmission process. The preset key is used to generate the two-dimensional code and the two-dimensional code is parsed, so as to prevent the non-legitimate users from cracking the information contained in the two-dimensional code, and ensuring the security and privacy of the file transmission, thereby ensuring the security of the file.
在另一个实施例中,二维码生成模块303,用于根据文件下载指令生成第一二维码并显示,第一二维码存储有第一无线局域网的热点名称、接入密码和文件下载指令。In another embodiment, the two-dimensional code generating module 303 is configured to generate and display the first two-dimensional code according to the file downloading instruction, where the first two-dimensional code stores the hotspot name, access password, and file download of the first wireless local area network. instruction.
扫描模块501,用于扫描第一二维码并解析第一二维码获取第一无线局 域网的热点名称、接入密码和文件下载指令。The scanning module 501 is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain the first wireless station Hotspot name, access password, and file download command for the domain network.
选择模块503,用于根据文件下载指令显示本地的存储文件,并获取用户所选择的文件。The selecting module 503 is configured to display a local storage file according to the file download instruction, and acquire a file selected by the user.
二维码处理模块703,用于根据传输指令生成第二二维码并显示,第二二维码存储有第二无线局域网的热点名称、接入密码、待传输文件的存储地址和传输指令。The two-dimensional code processing module 703 is configured to generate and display a second two-dimensional code according to the transmission instruction, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, a storage address of the file to be transmitted, and a transmission instruction.
扫描模块501,用于扫描第二二维码并解析第二二维码获取第二无线局域网的热点名称、接入密码、待传输文件的存储地址和传输指令。The scanning module 501 is configured to scan the second two-dimensional code and parse the second two-dimensional code to obtain a hotspot name, an access password, a storage address of the file to be transmitted, and a transmission instruction of the second wireless local area network.
下载模块504,用于根据传输指令和存储地址从第三终端上下载待传输文件并存储。The downloading module 504 is configured to download and store the file to be transmitted from the third terminal according to the transmission instruction and the storage address.
本实施例中,第二终端通过识别二维码中的传输指令或文件下载指令,自动从对应的终端下载文件或显示本地所存储的文件,无需人工操作确认,给用户的操作带来便利。In this embodiment, the second terminal automatically downloads the file from the corresponding terminal or displays the locally stored file by identifying the transmission instruction or the file download instruction in the two-dimensional code, without manual operation confirmation, and brings convenience to the operation of the user.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
以上实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (10)

  1. 一种文件传输方法,其特征在于,包括:A file transfer method, comprising:
    第一终端获取文件下载指令;The first terminal acquires a file download instruction;
    所述第一终端根据所述文件下载指令,创建以所述第一终端为无线热点的第一无线局域网;Determining, by the first terminal, the first wireless local area network that uses the first terminal as a wireless hotspot according to the file downloading instruction;
    所述第一终端生成第一二维码并显示,所述第一二维码存储有所述第一无线局域网的热点名称和接入密码;Generating, by the first terminal, a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network;
    第二终端扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称和接入密码;The second terminal scans the first two-dimensional code and parses the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network;
    所述第二终端向所述第一终端发送连接请求,所述连接请求包括获取的所述第一无线局域网的热点名称和接入密码;Sending, by the second terminal, a connection request to the first terminal, where the connection request includes the obtained hotspot name and an access password of the first wireless local area network;
    当第一终端对所述第二终端发送的热点名称和接入密码验证通过后,建立与所述第二终端的连接;Establishing a connection with the second terminal after the first terminal verifies the hotspot name and the access password sent by the second terminal;
    所述第二终端显示本地的存储文件,并获取用户所选择的文件;The second terminal displays a local storage file and obtains a file selected by the user;
    所述第二终端将用户所选择的文件发送至所述第一终端。The second terminal sends the file selected by the user to the first terminal.
  2. 根据权利要求1所述的方法,其特征在于,在所述第一终端获取文件下载指令的步骤之前,还包括:The method of claim 1, wherein before the step of acquiring the file downloading instruction by the first terminal, the method further comprises:
    第三终端获取对待传输文件的传输指令;The third terminal acquires a transmission instruction of the file to be transmitted;
    所述第三终端根据所述传输指令,创建以所述第三终端为无线热点的第二无线局域网;Determining, by the third terminal, a second wireless local area network that uses the third terminal as a wireless hotspot according to the transmission instruction;
    所述第三终端生成第二二维码并显示,所述第二二维码存储有所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址;Generating, by the third terminal, a second two-dimensional code, where the second two-dimensional code stores a hotspot name of the second wireless local area network, an access password, and a storage address of the file to be transmitted;
    所述第二终端扫描所述第二二维码并解析所述第二二维码获取所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址;The second terminal scans the second two-dimensional code and parses the second two-dimensional code to obtain a hotspot name, an access password, and a storage address of the file to be transmitted in the second wireless local area network;
    所述第二终端向所述第三终端发送连接请求,所述连接请求包括所述获取的第二无线局域网的热点名称和接入密码;Sending, by the second terminal, a connection request to the third terminal, where the connection request includes the acquired hotspot name and access password of the second wireless local area network;
    当第三终端对所述第二终端发送的热点名称和接入密码验证通过后,建立与所述第二终端的连接; After the third terminal verifies the hotspot name and the access password sent by the second terminal, establishing a connection with the second terminal;
    所述第二终端根据所述存储地址从所述第三终端上下载所述待传输文件并存储。The second terminal downloads the to-be-transmitted file from the third terminal according to the storage address and stores the file.
  3. 根据权利要求2所述的方法,其特征在于,所述第一终端生成第一二维码并显示的步骤包括:所述第一终端采用预设密钥进行加密生成第一二维码并显示;The method according to claim 2, wherein the step of the first terminal generating the first two-dimensional code and displaying comprises: the first terminal encrypting by using a preset key to generate a first two-dimensional code and displaying ;
    所述第二终端扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称和接入密码的步骤包括:所述第二终端扫描获得所述第一二维码,并采用所述预设密钥对所述第一二维码进行解密得到所述第一无线局域网的热点名称和接入密码;The step of the second terminal scanning the first two-dimensional code and parsing the first two-dimensional code to obtain the hotspot name and the access password of the first wireless local area network includes: the second terminal scanning obtains the first Decrypting the first two-dimensional code by using the preset key to obtain a hotspot name and an access password of the first wireless local area network;
    所述第三终端生成第二二维码并显示的步骤包括:所述第三终端采用所述预设密钥进行加密生成第二二维码并显示;The step of the third terminal generating the second two-dimensional code and displaying the method includes: the third terminal encrypting by using the preset key to generate a second two-dimensional code and displaying the same;
    所述第二终端扫描所述第二二维码并解析所述第二二维码获取所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址的步骤包括:所述第二终端扫描获取所述第二二维码,并采用所述预设密钥对所述第二二维码进行解密得到所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址。The step of the second terminal scanning the second two-dimensional code and parsing the second two-dimensional code to obtain the hotspot name, the access password, and the storage address of the file to be transmitted in the second wireless local area network includes: The second terminal scan acquires the second two-dimensional code, and decrypts the second two-dimensional code by using the preset key to obtain a hotspot name, an access password, and the to-be-address of the second wireless local area network. The storage address of the transfer file.
  4. 根据权利要求2所述的方法,其特征在于,所述第一终端生成第一二维码并显示的步骤包括:所述第一终端根据所述文件下载指令生成第一二维码并显示,所述第一二维码存储有所述第一无线局域网的热点名称、接入密码和文件下载指令;The method according to claim 2, wherein the step of the first terminal generating the first two-dimensional code and displaying comprises: generating, by the first terminal, a first two-dimensional code according to the file downloading instruction, and displaying The first two-dimensional code stores a hotspot name, an access password, and a file download instruction of the first wireless local area network;
    所述第二终端扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称和接入密码的步骤包括:所述第二终端扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称、接入密码和文件下载指令;The step of the second terminal scanning the first two-dimensional code and parsing the first two-dimensional code to obtain the hotspot name and the access password of the first wireless local area network includes: the second terminal scanning the first And acquiring the hotspot name, the access password, and the file downloading instruction of the first wireless local area network by using the two-dimensional code and parsing the first two-dimensional code;
    所述第二终端显示本地的存储文件,并获取用户所选择的文件的步骤包括:所述第二终端根据所述文件下载指令显示本地的存储文件,并获取用户所选择的文件;The step of the second terminal displaying the local storage file and acquiring the file selected by the user includes: displaying, by the second terminal, the local storage file according to the file download instruction, and acquiring the file selected by the user;
    所述第三终端生成第二二维码并显示,所述第二二维码存储有所述第二 无线局域网的热点名称、接入密码和所述待传输文件的存储地址的步骤包括:所述第三终端根据所述传输指令生成第二二维码并显示,所述第二二维码存储有所述第二无线局域网的热点名称、接入密码、所述待传输文件的存储地址和传输指令;The third terminal generates a second two-dimensional code and displays the second two-dimensional code storing the second The step of the hotspot name of the wireless local area network, the access password, and the storage address of the file to be transmitted includes: the third terminal generates a second two-dimensional code according to the transmission instruction, and displays the second two-dimensional code. a hotspot name of the second wireless local area network, an access password, a storage address of the file to be transmitted, and a transmission instruction;
    所述第二终端扫描所述第二二维码并解析所述第二二维码获取所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址的步骤包括:所述第二终端扫描所述第二二维码并解析所述第二二维码获取所述第二无线局域网的热点名称、接入密码、所述待传输文件的存储地址和传输指令;The step of the second terminal scanning the second two-dimensional code and parsing the second two-dimensional code to obtain the hotspot name, the access password, and the storage address of the file to be transmitted in the second wireless local area network includes: The second terminal scans the second two-dimensional code and parses the second two-dimensional code to obtain a hotspot name, an access password, a storage address of the file to be transmitted, and a transmission instruction of the second wireless local area network;
    所述第二终端根据所述存储地址从所述第三终端上下载所述待传输文件并存储的步骤包括:所述第二终端根据所述传输指令和所述存储地址从所述第三终端上下载所述待传输文件并存储。The step of the second terminal downloading the file to be transmitted from the third terminal according to the storage address and storing the second terminal includes: the second terminal from the third terminal according to the transmission instruction and the storage address Download the file to be transferred and store it.
  5. 根据权利要求1所述的方法,其特征在于,所述第一终端为交互智能平板,所述第二终端为移动终端。The method according to claim 1, wherein the first terminal is an interactive smart tablet, and the second terminal is a mobile terminal.
  6. 一种文件传输系统,包括第一终端和第二终端;A file transmission system includes a first terminal and a second terminal;
    所述第一终端包括:指令获取模块、局域网创建模块、二维码生成模块和连接模块;所述第二终端包括:扫描模块、发送模块和选择模块;The first terminal includes: an instruction acquisition module, a local area network creation module, a two-dimensional code generation module, and a connection module; the second terminal includes: a scanning module, a sending module, and a selection module;
    所述指令获取模块,用于获取文件下载指令;The instruction acquisition module is configured to acquire a file download instruction;
    所述局域网创建模块,用于根据所述文件下载指令,创建以所述第一终端为无线热点的第一无线局域网;The local area network creating module is configured to create, according to the file downloading instruction, a first wireless local area network that uses the first terminal as a wireless hotspot;
    所述二维码生成模块,用于生成第一二维码并显示,所述第一二维码存储有所述第一无线局域网的热点名称和接入密码;The two-dimensional code generating module is configured to generate and display a first two-dimensional code, where the first two-dimensional code stores a hotspot name and an access password of the first wireless local area network;
    所述扫描模块,用于扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称和接入密码;The scanning module is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain a hotspot name and an access password of the first wireless local area network;
    所述发送模块,用于向所述第一终端发送连接请求,所述连接请求包括所述扫描模块获取的所述第一无线局域网的热点名称和接入密码;The sending module is configured to send a connection request to the first terminal, where the connection request includes a hotspot name and an access password of the first wireless local area network acquired by the scanning module;
    所述连接模块,用于对所述第二终端发送的热点名称和接入密码验证通过后,建立与所述第二终端的连接;The connection module is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified;
    所述选择模块,用于显示本地的存储文件,并获取用户所选择的文件; The selecting module is configured to display a local storage file and obtain a file selected by the user;
    所述发送模块,还用于将用户所选择的文件发送至所述第一终端。The sending module is further configured to send a file selected by the user to the first terminal.
  7. 根据权利要求6所述的系统,其特征在于,还包括第三终端,所述第三终端包括:传输指令获取模块、创建模块、二维码处理模块和连接处理模块;所述第二终端还包括下载模块;The system according to claim 6, further comprising a third terminal, the third terminal comprising: a transmission instruction acquisition module, a creation module, a two-dimensional code processing module, and a connection processing module; Including the download module;
    所述传输指令获取模块,用于获取对待传输文件的传输指令;The transmission instruction acquisition module is configured to acquire a transmission instruction of a file to be transmitted;
    所述创建模块,用于根据所述传输指令,创建以所述第三终端为无线热点的第二无线局域网;The creating module is configured to create, according to the transmission instruction, a second wireless local area network that uses the third terminal as a wireless hotspot;
    所述二维码处理模块,用于生成第二二维码并显示,所述第二二维码存储有所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址;The two-dimensional code processing module is configured to generate and display a second two-dimensional code, where the second two-dimensional code stores a hotspot name, an access password, and a storage address of the file to be transmitted of the second wireless local area network. ;
    所述扫描模块,用于扫描所述第二二维码并解析所述第二二维码获取所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址;The scanning module is configured to scan the second two-dimensional code and parse the second two-dimensional code to obtain a hotspot name, an access password, and a storage address of the file to be transmitted of the second wireless local area network;
    所述发送模块,用于向所述第三终端发送连接请求,所述连接请求包括所述扫描模块获取的第二无线局域网的热点名称和接入密码;The sending module is configured to send a connection request to the third terminal, where the connection request includes a hotspot name and an access password of the second wireless local area network acquired by the scanning module;
    所述连接处理模块,用于对所述第二终端发送的热点名称和接入密码验证通过后,建立与所述第二终端的连接;The connection processing module is configured to establish a connection with the second terminal after the hotspot name and the access password sent by the second terminal are verified;
    所述下载模块,用于根据所述存储地址从所述第三终端上下载所述待传输文件并存储。The downloading module is configured to download and store the to-be-transmitted file from the third terminal according to the storage address.
  8. 根据权利要求7所述的系统,其特征在于,所述二维码生成模块,用于采用预设密钥进行加密生成第一二维码并显示;The system according to claim 7, wherein the two-dimensional code generating module is configured to generate and display a first two-dimensional code by using a preset key;
    所述扫描模块,用于扫描获得所述第一二维码,并采用所述预设密钥对所述第一二维码进行解密得到所述第一无线局域网的热点名称和接入密码;The scanning module is configured to scan and obtain the first two-dimensional code, and decrypt the first two-dimensional code by using the preset key to obtain a hotspot name and an access password of the first wireless local area network;
    所述二维码处理模块,用于采用所述预设密钥进行加密生成第二二维码并显示;The two-dimensional code processing module is configured to perform encryption by using the preset key to generate a second two-dimensional code and display the same;
    所述扫描模块,用于扫描获取所述第二二维码,并采用所述预设密钥对所述第二二维码进行解密得到所述第二无线局域网的热点名称、接入密码和所述待传输文件的存储地址。The scanning module is configured to scan and acquire the second two-dimensional code, and decrypt the second two-dimensional code by using the preset key to obtain a hotspot name, an access password, and The storage address of the file to be transferred.
  9. 根据权利要求7所述的系统,其特征在于,所述二维码生成模块,用 于根据所述文件下载指令生成第一二维码并显示,所述第一二维码存储有所述第一无线局域网的热点名称、接入密码和文件下载指令;The system according to claim 7, wherein said two-dimensional code generating module is Generating a first two-dimensional code according to the file downloading instruction, and displaying, by the first two-dimensional code, a hotspot name, an access password, and a file downloading instruction of the first wireless local area network;
    所述扫描模块,用于扫描所述第一二维码并解析所述第一二维码获取所述第一无线局域网的热点名称、接入密码和文件下载指令;The scanning module is configured to scan the first two-dimensional code and parse the first two-dimensional code to obtain a hotspot name, an access password, and a file download instruction of the first wireless local area network;
    所述选择模块,用于根据所述文件下载指令显示本地的存储文件,并获取用户所选择的文件;The selecting module is configured to display a local storage file according to the file download instruction, and obtain a file selected by the user;
    所述二维码处理模块,用于根据所述传输指令生成第二二维码并显示,所述第二二维码存储有所述第二无线局域网的热点名称、接入密码、所述待传输文件的存储地址和传输指令;The two-dimensional code processing module is configured to generate and display a second two-dimensional code according to the transmission instruction, where the second two-dimensional code stores a hotspot name, an access password, and the to-be-address of the second wireless local area network. Transfer the storage address and transfer instructions of the file;
    所述扫描模块,用于扫描所述第二二维码并解析所述第二二维码获取所述第二无线局域网的热点名称、接入密码、所述待传输文件的存储地址和传输指令;The scanning module is configured to scan the second two-dimensional code and parse the second two-dimensional code to obtain a hotspot name, an access password, a storage address of the file to be transmitted, and a transmission instruction of the second wireless local area network. ;
    所述下载模块,用于根据所述传输指令和所述存储地址从所述第三终端上下载所述待传输文件并存储。The downloading module is configured to download and store the to-be-transmitted file from the third terminal according to the transmission instruction and the storage address.
  10. 根据权利要求6所述的系统,其特征在于,所述第一终端为交互智能平板,所述第二终端为移动终端。 The system according to claim 6, wherein the first terminal is an interactive smart tablet, and the second terminal is a mobile terminal.
PCT/CN2016/113189 2016-09-13 2016-12-29 File transmission method and system WO2018049759A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610822202.3A CN106412028A (en) 2016-09-13 2016-09-13 File transmission method and system
CN201610822202.3 2016-09-13

Publications (1)

Publication Number Publication Date
WO2018049759A1 true WO2018049759A1 (en) 2018-03-22

Family

ID=57999349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113189 WO2018049759A1 (en) 2016-09-13 2016-12-29 File transmission method and system

Country Status (2)

Country Link
CN (1) CN106412028A (en)
WO (1) WO2018049759A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900601A (en) * 2018-06-27 2018-11-27 掌阅科技股份有限公司 Method, computer equipment and the storage medium of file transmission
CN113095098A (en) * 2021-04-07 2021-07-09 二十二冶集团装备制造有限公司 System for acquiring CNC (computer numerical control) program for numerical control cutting based on two-dimensional code
CN113271324A (en) * 2020-02-14 2021-08-17 深圳市万普拉斯科技有限公司 File transmission method and device, electronic equipment and readable storage medium
CN113766671A (en) * 2020-06-01 2021-12-07 深圳Tcl新技术有限公司 WiFi connection control method and system based on two-dimensional code and display terminal

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172106B (en) * 2017-07-21 2020-12-22 深圳易方数码科技股份有限公司 Security information interaction method and system
CN107835509B (en) * 2017-10-18 2020-09-22 广州视睿电子科技有限公司 Method, device, system, equipment and storage medium for interconnection between equipment
CN107864467B (en) * 2017-10-31 2021-02-23 深圳云知声信息技术有限公司 Information transmission method and device for improving transmission speed between mobile terminal and equipment
CN107949068A (en) * 2017-12-08 2018-04-20 鸿合科技股份有限公司 A kind of method and apparatus of wireless connection
CN108038522A (en) * 2017-12-11 2018-05-15 武汉卓讯互动信息科技有限公司 A kind of easily information introduction method and device
CN108712482A (en) * 2018-05-06 2018-10-26 深圳市保千里电子有限公司 Based on mobile terminal Quick Response Code rapid file sharing method
CN111355771A (en) * 2019-05-22 2020-06-30 鸿合科技股份有限公司 File transmission method and device, electronic equipment and storage medium
CN112512067B (en) * 2020-12-10 2023-06-13 中国联合网络通信集团有限公司 Configuration method of micro base station, micro base station and terminal
CN112367676B (en) * 2020-12-10 2023-05-12 中国联合网络通信集团有限公司 Configuration method of micro base station, micro base station and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060267753A1 (en) * 2005-05-31 2006-11-30 Hussey Robert M Bar coded wristband
CN104023416A (en) * 2013-02-28 2014-09-03 腾讯科技(深圳)有限公司 Method and system for transmitting file, sending terminal and receiving terminal
CN104580343A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Data transmission method, device and system as well as terminal
CN105282824A (en) * 2014-06-03 2016-01-27 中兴通讯股份有限公司 File sharing method based on wireless communication and wireless communication terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227594A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Document transmission method, Apparatus and system
CN104967668A (en) * 2015-05-28 2015-10-07 百度在线网络技术(北京)有限公司 Inter-equipment file transmission method, apparatus and system based on WIFI hot spot

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060267753A1 (en) * 2005-05-31 2006-11-30 Hussey Robert M Bar coded wristband
CN104023416A (en) * 2013-02-28 2014-09-03 腾讯科技(深圳)有限公司 Method and system for transmitting file, sending terminal and receiving terminal
CN104580343A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Data transmission method, device and system as well as terminal
CN105282824A (en) * 2014-06-03 2016-01-27 中兴通讯股份有限公司 File sharing method based on wireless communication and wireless communication terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900601A (en) * 2018-06-27 2018-11-27 掌阅科技股份有限公司 Method, computer equipment and the storage medium of file transmission
CN108900601B (en) * 2018-06-27 2020-09-29 掌阅科技股份有限公司 File transfer method, computer device and storage medium
CN113271324A (en) * 2020-02-14 2021-08-17 深圳市万普拉斯科技有限公司 File transmission method and device, electronic equipment and readable storage medium
CN113766671A (en) * 2020-06-01 2021-12-07 深圳Tcl新技术有限公司 WiFi connection control method and system based on two-dimensional code and display terminal
CN113095098A (en) * 2021-04-07 2021-07-09 二十二冶集团装备制造有限公司 System for acquiring CNC (computer numerical control) program for numerical control cutting based on two-dimensional code

Also Published As

Publication number Publication date
CN106412028A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
WO2018049759A1 (en) File transmission method and system
US10623954B2 (en) AP connection method, terminal, and server
CN113055867B (en) Terminal auxiliary network distribution method and device and electronic equipment
US10972908B2 (en) Wireless network connection method, apparatus, and system
EP2883340B1 (en) Authorization method, apparatus, and system
US9189060B2 (en) Method of controlling information processing apparatus and information processing apparatus
CN108600376B (en) Data transmission method and device based on LoRa, LoRa gateway, system and storage medium
US20110319056A1 (en) Remote access to a mobile device
CN111327583B (en) Identity authentication method, intelligent equipment and authentication server
CN105634737B (en) Data transmission method, terminal and system
CN102739643A (en) Permitting access to a network
US11489831B2 (en) Communication system and computer readable storage medium
WO2015184689A1 (en) File sharing method based on wireless communication and wireless communication terminal
US9118483B2 (en) Communication system, relay device, and non-transitory computer readable medium
JP2009246828A (en) Client management system and client device
CN104618906A (en) Wi-Fi (wireless fidelity) access method, Wi-Fi access system and terminal
CN115242779B (en) File transmission method and system based on applet and electronic equipment
US20180278473A1 (en) Method and apparatus for establishing a secure wireless connection for a provisioning of configuration information
KR101883397B1 (en) Apparatus and method for contents sharing based on the social trust
WO2017128919A1 (en) Mobile terminal and service end connection method and apparatus
JP6268355B2 (en) Relay device, relay system, and program
JP5141096B2 (en) Automatic file encryption apparatus using acquired network connection information, method and program thereof
CN103369518A (en) Communication method and communication terminal
CN115835336B (en) Set top box networking method, device, equipment and readable storage medium
KR101793540B1 (en) Verification system and method of taking picture and recording in mobile

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 30/07/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16916137

Country of ref document: EP

Kind code of ref document: A1