WO2016119414A1 - 一种基于二维码的文件共享方法、系统及移动终端 - Google Patents
一种基于二维码的文件共享方法、系统及移动终端 Download PDFInfo
- Publication number
- WO2016119414A1 WO2016119414A1 PCT/CN2015/084669 CN2015084669W WO2016119414A1 WO 2016119414 A1 WO2016119414 A1 WO 2016119414A1 CN 2015084669 W CN2015084669 W CN 2015084669W WO 2016119414 A1 WO2016119414 A1 WO 2016119414A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- mobile terminal
- dimensional code
- shared
- sharing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
Definitions
- the present invention relates to the field of mobile terminal technologies, and in particular, to a file sharing method and system based on a two-dimensional code and a mobile terminal.
- a smartphone can provide file sharing functions in various ways, such as using Bluetooth, wireless fidelity (wifi), text messaging, and the like.
- these methods require more steps, such as the use of Bluetooth technology must be paired with the other party's mobile phone, wifi transmission must be connected through the network, using SMS to send the user must manually enter the other party's information. It can be seen that the above file sharing technologies all require relatively complicated operation steps, which brings certain inconvenience to the user.
- the technical problem to be solved by the present invention is to provide a file sharing method and system based on a two-dimensional code and a mobile terminal, aiming at solving the file sharing technology operation existing in the prior art by the present invention.
- the cumbersome defects provide convenience for the user.
- a file sharing method based on a two-dimensional code comprising the steps of:
- the mobile terminal sharing party selects a file to be shared, and selects to share by using a two-dimensional code scanning manner, and determines whether the mobile terminal sharing party opens a network connection, and if the network connection is already opened, establishing a sharing service program,
- the shared service information of the file to be shared is processed into a two-dimensional code, and the two-dimensional code is displayed on a screen of the mobile terminal;
- the mobile terminal receiver Pre-determining whether the mobile terminal receiver opens a network connection, if the network connection is already open, the mobile terminal receiver scans the two-dimensional code, and parses the shared service information of the file to be shared in the two-dimensional code, Sending a file sharing request to the mobile terminal sharing party through the network connection according to the shared service information in the parsed two-dimensional code;
- the mobile terminal sharing party receives the file sharing request, and sends the file to be shared to the mobile terminal receiving party.
- the two-dimensional code-based file sharing method wherein the shared service information of the file to be shared includes: a service internet protocol address, a port number, and a file request command.
- the two-dimensional code-based file sharing method wherein the processing the shared service information of the file to be shared into a two-dimensional code, and displaying the two-dimensional code on a screen of the mobile terminal specifically includes:
- the shared service program obtains a shared service Internet protocol address and a port number, and generates a file request instruction according to the path information of the file to be shared in the mobile terminal;
- the shared service internet protocol address, port number, and file request instruction are processed into a two-dimensional code, and the two-dimensional code is displayed on a screen of the mobile terminal.
- the two-dimensional code-based file sharing method wherein the sending, according to the shared service information in the parsed two-dimensional code, a file sharing request to the mobile terminal sharing party by using a network connection, specifically includes:
- the parsed file request instruction is further sent as a file sharing request to the designated mobile terminal sharing party.
- the two-dimensional code-based file sharing method wherein the mobile terminal sharing party receives the file sharing request, and sends the file to be shared to the mobile terminal receiving party, which specifically includes:
- the mobile terminal receiver receives the shared file and saves the file in a file path designated by the mobile terminal.
- a file sharing system based on a two-dimensional code comprising:
- a two-dimensional code generating display module configured to: the mobile terminal sharing party selects a file to be shared, processes the shared service information of the file to be shared into a two-dimensional code, and displays the two-dimensional code on a screen of the mobile terminal;
- a two-dimensional code scanning parsing module configured to: the mobile terminal receiving party scans and parses the two-dimensional code, and sends a file sharing request to the mobile terminal sharing party according to the shared service information in the parsed two-dimensional code through a network connection;
- a file sharing module configured to receive, by the mobile terminal sharing party, the file sharing request, and send the file to be shared to the mobile terminal receiving party.
- the two-dimensional code-based file sharing system wherein the shared service information of the file to be shared includes: a service internet protocol address, a port number, and a file request command;
- the two-dimensional code generation display module specifically includes:
- a shared file selection unit configured for the mobile terminal sharing party to select a file to be shared, and simultaneously selecting to scan by using a two-dimensional code to share;
- a first network connection determining unit configured to further determine whether the mobile terminal sharing party opens a network connection, and if the network connection is already open, the system automatically establishes a shared service program
- a shared service information obtaining unit configured to acquire a shared service Internet protocol address and a port number, and generate a file request instruction according to the path information of the file to be shared in the mobile terminal;
- the two-dimensional code generating unit is configured to process the shared service internet protocol address, the port number, and the file request instruction into a two-dimensional code, and display the two-dimensional code on a screen of the mobile terminal.
- the two-dimensional code scanning and parsing module specifically includes:
- a second network connection determining unit configured to pre-determine whether the mobile terminal receiver opens a network connection
- a shared service information parsing unit configured to: if the network connection is already open, the mobile terminal receiver scans the two-dimensional code, and parses shared service information of the file to be shared in the two-dimensional code, the shared service information Internet protocol address, port number, and file request instruction including the shared service;
- a network connection requesting unit configured to send a network connection request to the designated mobile terminal sharing party according to the parsed service internet protocol address and port number;
- the file sharing request unit after the network connection request is successful, further sends the parsed file request instruction as a file sharing request to the designated mobile terminal sharing party.
- the two-dimensional code-based file sharing system wherein the file sharing module further includes:
- a path information parsing unit configured to receive, by the mobile terminal sharing party, a file request instruction sent by the mobile terminal receiver, and parse the path information of the file to be shared included in the file request instruction in the mobile terminal;
- a file sending unit configured to send the specified shared file of the path information to the mobile terminal receiver
- a file receiving storage unit configured to receive, by the mobile terminal receiver, the file with the sharing, and save the file in a file path specified by the mobile terminal.
- a mobile terminal comprising a two-dimensional code based file sharing system, the system comprising:
- a two-dimensional code generating display module configured to: the mobile terminal sharing party selects a file to be shared, processes the shared service information of the file to be shared into a two-dimensional code, and displays the two-dimensional code on a screen of the mobile terminal;
- a two-dimensional code scanning parsing module configured to: the mobile terminal receiving party scans and parses the two-dimensional code, and sends a file sharing request to the mobile terminal sharing party according to the shared service information in the parsed two-dimensional code through a network connection;
- a file sharing module configured to receive, by the mobile terminal sharing party, the file sharing request, and send the file to be shared to the mobile terminal receiving party.
- the shared service information of the file to be shared includes: a service internet protocol address, a port number, and a file request command;
- the two-dimensional code generation display module specifically includes:
- a shared file selection unit configured for the mobile terminal sharing party to select a file to be shared, and simultaneously selecting to scan by using a two-dimensional code to share;
- a first network connection determining unit configured to further determine whether the mobile terminal sharing party opens a network connection, and if the network connection is already open, the system automatically establishes a shared service program
- a shared service information obtaining unit configured to acquire a shared service Internet protocol address and a port number, and generate a file request instruction according to the path information of the file to be shared in the mobile terminal;
- the two-dimensional code generating unit is configured to process the shared service internet protocol address, the port number, and the file request instruction into a two-dimensional code, and display the two-dimensional code on a screen of the mobile terminal.
- the two-dimensional code scanning and parsing module specifically includes:
- a second network connection determining unit configured to pre-determine whether the mobile terminal receiver opens a network connection
- a shared service information parsing unit configured to: if the network connection is already open, the mobile terminal receiver scans the two-dimensional code, and parses shared service information of the file to be shared in the two-dimensional code, the shared service information Internet protocol address, port number, and file request instruction including the shared service;
- a network connection requesting unit configured to send a network connection request to the designated mobile terminal sharing party according to the parsed service internet protocol address and port number;
- the file sharing request unit after the network connection request is successful, further sends the parsed file request instruction as a file sharing request to the designated mobile terminal sharing party.
- the file sharing module of the two-dimensional code, the file sharing module further includes:
- a path information parsing unit configured to receive, by the mobile terminal sharing party, a file request instruction sent by the mobile terminal receiver, and parse the path information of the file to be shared included in the file request instruction in the mobile terminal;
- a file sending unit configured to send the specified shared file of the path information to the mobile terminal receiver
- a file receiving storage unit configured to receive, by the mobile terminal receiver, the file with the sharing, and save the file in a file path specified by the mobile terminal.
- a method and system for sharing a file based on a two-dimensional code and a mobile terminal specifically includes: a mobile terminal sharing party selects a file to be shared, and processes the shared service information of the file to be shared into two a dimension code, and displaying the two-dimensional code on a screen of the mobile terminal; the mobile terminal receiving side scans and parses the two-dimensional code, and shares the shared service information in the two-dimensional code according to the parsing to the mobile terminal through a network connection
- the party sends a file sharing request; the mobile terminal sharing party receives the file sharing request, and sends the file to be shared to the mobile terminal receiving party.
- the invention does not need to fill in any information of the receiver in advance when performing file sharing transmission, and only needs the receiver to scan the two-dimensional code generated on the screen of the shared party mobile phone by using the camera on the mobile phone, and does not need to synthesize the file sharing request instruction by itself, only need to Sending the shared instruction obtained from the QR code directly to the shared party mobile phone can be realized conveniently and conveniently; in addition, the sharing party can share multiple files at the same time, as long as multiple QR codes are generated on the mobile phone providing the sharing party, or multiple times Generate a QR code, each or each corresponding to a different file, so that the server can complete the transfer of the shared file without any changes.
- FIG. 1 is a flow chart of a first preferred embodiment of a method for sharing a file based on a two-dimensional code of the present invention
- FIG. 2 is a flowchart of a shared party execution of an application embodiment of a two-dimensional code-based file sharing method according to the present invention
- FIG. 3 is a flowchart of a receiver execution of an application embodiment of a two-dimensional code-based file sharing method according to the present invention
- FIG. 4 is a functional block diagram of a first preferred embodiment of a two-dimensional code-based file sharing system according to the present invention.
- FIG. 5 is an internal structural diagram of a two-dimensional code generation display module of a first preferred embodiment of a two-dimensional code-based file sharing system according to the present invention
- FIG. 6 is an internal structural diagram of a two-dimensional code scanning analysis module of a first preferred embodiment of a two-dimensional code-based file sharing system according to the present invention
- FIG. 7 is a diagram showing the internal structure of a file sharing module of a first preferred embodiment of a two-dimensional code based file sharing system according to the present invention.
- the invention discloses a method, a system and a mobile terminal for sharing a file based on a two-dimensional code.
- the present invention will be further described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
- FIG. 1 is a flowchart of a first preferred embodiment of a method for sharing a file based on a two-dimensional code according to the present invention.
- the two-dimensional code-based file sharing method shown in FIG. 1 includes:
- Step S101 The mobile terminal sharing party selects a file to be shared, processes the shared service information of the file to be shared into a two-dimensional code, and displays the two-dimensional code on a screen of the mobile terminal.
- the embodiment of the present invention works by using C/S (client/server) mode, and the client needs to connect to the server to require the server's internet protocol address (IP address, Internet). Protocol Address) and port number, because the server is temporarily generated, the service IP address and port number need to be told to the client, and the traditional manual filling will be slower, so the information is generated in the two-dimensional code, and the other party scans the two-dimensional code. Once you get the code and get the information, you can connect. Therefore, the shared service information of the file to be shared in the embodiment of the present invention includes: a service IP address, a port number, and a file request command.
- step S101 specifically includes the following steps:
- S1011 The mobile terminal sharing party selects a file to be shared, and selects to share by using a two-dimensional code scanning manner;
- the shared service program obtains a shared service IP address and a port number, and generates a file request instruction according to the path information of the file to be shared in the mobile terminal.
- S1014 Process the shared service IP address, port number, and file request instruction into a two-dimensional code, and display the two-dimensional code on a screen of the mobile terminal.
- Step S102 The mobile terminal receiver scans and parses the two-dimensional code, and sends a file sharing request to the mobile terminal sharing party through the network connection according to the shared service information in the parsed two-dimensional code.
- the step S102 specifically includes the following steps:
- the mobile terminal receiver scans the two-dimensional code, and parses shared service information of the file to be shared in the two-dimensional code, where the shared service information includes an IP address of the shared service. , port number and file request instruction;
- the parsed file request instruction is further sent as a file sharing request to the designated mobile terminal sharing party.
- Step S103 The mobile terminal sharing party receives the file sharing request, and sends the file to be shared to the mobile terminal receiving party.
- the step S103 specifically includes the following steps:
- the mobile terminal sharing party receives the file request instruction sent by the mobile terminal receiver, and parses the path information of the file to be shared included in the file request instruction in the mobile terminal;
- S1032 Send the specified shared file of the path information to the mobile terminal receiver.
- the mobile terminal receiver receives the shared file and saves the file in a file path specified by the mobile terminal.
- the present invention does not limit the transmission mode of the lower layer file, that is, the shared file can be transmitted by any method such as wifi or Bluetooth, so the transmission is flexible and versatile.
- the method for sharing the file sharing method based on the two-dimensional code includes a sharing party and a receiving party.
- FIG. 2 is a flow chart of the sharing party of the application embodiment of the file sharing method based on the two-dimensional code of the present invention.
- wifi is used as the network connection transmission mode (other transmission methods are available. If Bluetooth technology is used, the paired information needs to be placed in the two-dimensional code to facilitate automatic pairing). As shown in Figure 2, the steps are included:
- the user selects a file to be shared, and selects to share by using a two-dimensional code scanning method
- the user of the sharing party selects the files to be shared through various file viewing methods (such as file manager) in the mobile phone, and further selects the file by a certain method (for example, if the file is selected for a long time, the corresponding file control menu will pop up)
- file viewing methods such as file manager
- a certain method for example, if the file is selected for a long time, the corresponding file control menu will pop up
- the shared party's mobile phone Before performing the two-dimensional code-based file sharing method of the present invention, the shared party's mobile phone needs to first determine whether the wifi network connection has been opened. If not, the system prompts the user to perform an open operation in the form of a dialog box. If the wifi network connection is already open, the system automatically establishes and opens a shared server program (such as a TCP service) for listening to data on the specified shared service IP and port.
- a shared server program such as a TCP service
- the file request command format is get/FilePath, where FilePath refers to the detailed path information of the file to be shared in the mobile phone.
- the system processes the IP address, port number and file request instruction of the shared service into a two-dimensional code, and displays the two-dimensional code on the screen of the mobile terminal.
- FIG. 3 is a flow chart of the implementation of the receiver of the application method of the two-dimensional code-based file sharing method of the present invention. As shown in Figure 3, the steps are included:
- the receiver After the receiver opens the QR code scanning shared receiving program, it first needs to determine whether the wifi network connection is turned on. If it is not turned on, the system prompts the user to perform the opening operation in the form of a dialog box. If the wifi network connection has been opened, the program automatically opens the camera to scan the two-dimensional code, and parses the shared service information of the file to be shared in the two-dimensional code, where the shared service information includes the IP address and port of the shared service. Number and file request instructions.
- connection request is successful, and a file sharing request command is initiated to the server.
- the receiver After the connection request is successful, the receiver does not need to synthesize the request instruction by itself, and only needs to send the instruction obtained from the two-dimensional code directly to the shared provider mobile phone.
- the sharing party can quickly verify the instructions sent by the receiver, and the receiving party does not need to perform redundant operations; on the other hand, the sharing party can share multiple files at the same time, as long as the generating party generates more on the mobile phone providing the sharing party.
- the file transfer phase includes: the sharing party receives the file sharing request instruction sent by the receiving party, and parses out the detailed path information of the file to be shared included in the file sharing request instruction in the mobile phone (that is, included in the FilePath) Path information); transmitting the specified shared file of the path detailed information to the receiver (such as by TCP); the receiving party receives the shared file and saves the file in a file path specified by the mobile phone
- the file path can be either system default or pre-specified by the user.
- the present invention does not need to fill in any information of the receiver in advance when performing file sharing transmission, and only needs the receiver to scan the QR code generated on the screen of the shared mobile phone by using the camera on the mobile phone, and does not need to synthesize the file sharing request by itself.
- the instruction only needs to directly send the shared instruction obtained from the two-dimensional code to the sharing party mobile phone, which is convenient and quick, and provides convenience for the user.
- the present invention further provides a file sharing system based on a two-dimensional code, as shown in FIG. 4, including:
- the two-dimensional code generation display module 100 is configured to: the mobile terminal sharing party selects a file to be shared, processes the shared service information of the file to be shared into a two-dimensional code, and displays the two-dimensional code on a screen of the mobile terminal. Specifically as described above.
- the two-dimensional code scanning and parsing module 200 is configured to: the mobile terminal receiving party scans and parses the two-dimensional code, and sends a file sharing request to the mobile terminal sharing party according to the shared service information in the parsed two-dimensional code through a network connection; Said.
- the file sharing module 300 is configured to receive, by the mobile terminal sharing party, the file sharing request, and send the file to be shared to the mobile terminal receiving party; as described above.
- the shared service information of the file to be shared includes: a service IP address, a port number, and a file request command.
- the dimension code generation display module 100 further includes:
- the shared file selection unit 110 is configured to select a file to be shared by the mobile terminal sharing party, and select to share by using a two-dimensional code scanning; as described above.
- the first network connection determining unit 120 is configured to further determine whether the mobile terminal sharing party opens a network connection, and if the network connection is already open, the system automatically establishes a shared service program; as described above.
- the shared service information obtaining unit 130 is configured to obtain the shared service IP address and the port number, and generate a file request instruction according to the path information of the file to be shared in the mobile terminal; as described above.
- the two-dimensional code generating unit 140 is configured to process the shared service IP address, the port number, and the file request instruction into a two-dimensional code, and display the two-dimensional code on a screen of the mobile terminal; as described above.
- the two-dimensional code scanning and parsing module 200 specifically includes:
- the second network connection determining unit 210 is configured to determine in advance whether the mobile terminal receiver opens a network connection; specifically, as described above.
- the shared service information parsing unit 220 is configured to: if the network connection has been opened, the mobile terminal receiver scans the two-dimensional code, and parses the shared service information of the file to be shared in the two-dimensional code, the sharing service
- the information includes the IP address, port number, and file request command of the shared service; as described above.
- the network connection requesting unit 230 is configured to send a establish network connection request to the designated mobile terminal sharing party according to the parsed service IP address and port number; as described above.
- the file sharing requesting unit 240 after the network connection request is successful, further sends the parsed file request instruction as a file sharing request to the designated mobile terminal sharing party; as described above.
- the file sharing module 300 specifically includes:
- the path information parsing unit 310 is configured to receive, by the mobile terminal sharing party, a file request instruction sent by the mobile terminal receiver, and parse the path information of the file to be shared included in the file request instruction in the mobile terminal; Said.
- the file sending unit 320 is configured to send the specified shared file of the path information to the mobile terminal receiver; as described above.
- the file receiving storage unit 330 is configured to receive, by the mobile terminal receiver, the file with the sharing, and save the file in a file path specified by the mobile terminal; as described above.
- the present invention further provides a mobile terminal, where the mobile terminal according to the embodiment includes the above-mentioned two-dimensional code-based file sharing system.
- the present invention provides a method and system for sharing a file based on a two-dimensional code
- the method includes: the mobile terminal sharing party selects a file to be shared, and shares the file to be shared.
- the service information is processed into a two-dimensional code, and the two-dimensional code is displayed on a screen of the mobile terminal; the mobile terminal receiver scans and parses the two-dimensional code, and passes the network according to the shared service information in the parsed two-dimensional code.
- the connection sends a file sharing request to the mobile terminal sharing party; the mobile terminal sharing party receives the file sharing request, and sends the file to be shared to the mobile terminal receiving party.
- the invention does not need to fill in any information of the receiver in advance when performing file sharing transmission, and only needs the receiver to scan the two-dimensional code generated on the screen of the shared party mobile phone by using the camera on the mobile phone, and does not need to synthesize the file sharing request instruction by itself, only need to Sending the shared instruction obtained from the QR code directly to the shared party mobile phone can be realized conveniently and conveniently; in addition, the sharing party can share multiple files at the same time, as long as multiple QR codes are generated on the mobile phone providing the sharing party, or multiple times Generate a QR code, each or each corresponding to a different file, so that the server can complete the transfer of the shared file without any changes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明提供基于二维码的文件共享方法、系统及移动终端,包括:共享方将待共享文件的共享服务信息处理成二维码并显示;接收方扫描并解析二维码,根据解析结果向共享方发送共享请求;共享方接收该请求并将文件发送给接收方。通过接收方扫描共享方的二维码,把从二维码中得到的共享指令发送给共享方,从而实现文件共享。
Description
本发明涉及移动终端技术领域,尤其涉及一种基于二维码的文件共享方法、系统及移动终端。
当前移动智能手机十分普及,手机的用途已越来越广,通常人们会在手机中保存各种各样的文件,如图片、文档、音/视频文件等,很多时候用户希望可以将这些文件共享给其它人,或者说复制到其它手机中。在现有技术中,智能手机可以通过多种方法提供文件共享功能,如用蓝牙、无线保真(wifi)、短信等进行传送。但这些方法需要较多的操作步骤,如采用蓝牙技术必须与对方手机进行配对操作、采用wifi传送必须通过网络连接、采用短信发送则必须用户手动输入对方的信息等。可见,以上这些文件共享技术都需要较为繁杂的操作步骤,给用户带来一定的不便。
因此,现有技术还有待于改进和发展。
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于二维码的文件共享方法、系统及移动终端,旨在通过本发明解决现有技术中存在的文件共享技术操作繁杂的缺陷,为用户提供便利性。
本发明解决技术问题所采用的技术方案如下:
一种基于二维码的文件共享方法,其中,包括步骤:
移动终端共享方选择待共享的文件,并选择用二维码扫描的方式进行共享,判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则建立一个共享服务程序,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;
预先判断所述移动终端接收方是否打开网络连接,若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;
移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
所述的基于二维码的文件共享方法,其中,所述待共享文件的共享服务信息包括:服务互联网协议地址、端口号和文件请求命令。
所述的基于二维码的文件共享方法,其中,所述将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上具体包括:
所述共享服务程序获取共享服务互联网协议地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;
将所述共享服务互联网协议地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
所述的基于二维码的文件共享方法,其中,所述根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求,具体包括:
根据解析出的服务互联网协议地址和端口号向指定的移动终端共享方发送建立网络连接请求;
所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
所述的基于二维码的文件共享方法,其中,所述移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方,具体包括:
移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;
将所述路径信息的指定共享文件发送给所述移动终端接收方;
所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
一种基于二维码的文件共享系统,其中,包括:
二维码生成显示模块,用于移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;
二维码扫描解析模块,用于移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;
文件共享模块,用于移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
所述基于二维码的文件共享系统其中,所述待共享文件的共享服务信息包括:服务互联网协议地址、端口号和文件请求命令;
所述二维码生成显示模块具体包括:
共享文件选择单元,用于移动终端共享方选择待共享的文件,同时选择用二维码扫描的方式进行共享;
第一网络连接判断单元,用于进一步判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则系统自动建立一个共享服务程序;
共享服务信息获取单元,用于所述共享服务程序获取共享服务互联网协议地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;
二维码生成单元,用于将所述共享服务互联网协议地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
所述基于二维码的文件共享系统,其中,所述二维码扫描解析模块具体包括:
第二网络连接判断单元,用于预先判断所述移动终端接收方是否打开网络连接;
共享服务信息解析单元,用于若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的互联网协议地址、端口号和文件请求指令;
网络连接请求单元,用于根据解析出的服务互联网协议地址和端口号向指定的移动终端共享方发送建立网络连接请求;
文件共享请求单元,用于所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
所述基于二维码的文件共享系统,其中,所述文件共享模块还包括:
路径信息解析单元,用于移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;
文件发送单元,用于将所述路径信息的指定共享文件发送给所述移动终端接收方;
文件接收存储单元,用于所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
一种移动终端,其中,包括基于二维码的文件共享系统,该系统包括:
二维码生成显示模块,用于移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;
二维码扫描解析模块,用于移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;
文件共享模块,用于移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
所述待共享文件的共享服务信息包括:服务互联网协议地址、端口号和文件请求命令;
所述二维码生成显示模块具体包括:
共享文件选择单元,用于移动终端共享方选择待共享的文件,同时选择用二维码扫描的方式进行共享;
第一网络连接判断单元,用于进一步判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则系统自动建立一个共享服务程序;
共享服务信息获取单元,用于所述共享服务程序获取共享服务互联网协议地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;
二维码生成单元,用于将所述共享服务互联网协议地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
所述基于二维码的文件共享系统,所述二维码扫描解析模块具体包括:
第二网络连接判断单元,用于预先判断所述移动终端接收方是否打开网络连接;
共享服务信息解析单元,用于若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的互联网协议地址、端口号和文件请求指令;
网络连接请求单元,用于根据解析出的服务互联网协议地址和端口号向指定的移动终端共享方发送建立网络连接请求;
文件共享请求单元,用于所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
所述基于二维码的文件共享系统,所述文件共享模块还包括:
路径信息解析单元,用于移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;
文件发送单元,用于将所述路径信息的指定共享文件发送给所述移动终端接收方;
文件接收存储单元,用于所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
本发明所提供的一种基于二维码的文件共享方法、系统及移动终端,所述方法具体包括:移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。本发明在进行文件共享传输时不需要事先填写接收方的任何信息,只需要接收方用手机上的摄像头扫描共享方手机屏幕上生成的二维码,且无需自己合成文件共享请求指令,只需要把从二维码中得到的共享指令直接发送给共享方手机就可以实现,方便快捷;另外,共享方可以同时共享多个文件,只要在提供共享方的手机上生成多张二维码,或者多次生成二维码,每张或每次对应不同的文件,这样服务器可以不作任何变动就能完成共享文件的传输。
图1是本发明基于二维码的文件共享方法的第一较佳实施例的流程图;
图2是本发明基于二维码的文件共享方法的应用实施例的共享方执行流程图;
图3是本发明基于二维码的文件共享方法的应用实施例的接收方执行流程图;
图4是本发明基于二维码的文件共享系统的第一较佳实施例的功能模块图;
图5是本发明基于二维码的文件共享系统的第一较佳实施例的二维码生成显示模块的内部结构图;
图6是本发明基于二维码的文件共享系统的第一较佳实施例的二维码扫描解析模块的内部结构图;
图7是本发明基于二维码的文件共享系统的第一较佳实施例的文件共享模块的内部结构图。
本发明公开了一种基于二维码的文件共享方法、系统及移动终端,
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图1,图1是本发明基于二维码的文件共享方法的第一较佳实施例的流程图。图1所示的基于二维码的文件共享方法,包括:
步骤S101、移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上。
本发明实施例利用C/S(客户端/服务器)模式进行工作,客户端要连接到服务器需要服务器的互联网协议地址(IP地址,Internet
Protocol
Address)和端口号,由于服务器是临时生成的,需要把服务IP地址和端口号告诉客户端,而采用传统手工填写会比较慢,因此把这些信息生成在二维码中,对方来扫描二维码并得到这些信息后就可以进行连接。因此,本发明实施例中的所述待共享文件的共享服务信息包括:服务IP地址、端口号和文件请求命令。
进一步地,所述步骤S101具体包括步骤:
S1011、移动终端共享方选择待共享的文件,同时选择用二维码扫描的方式进行共享;
S1012、进一步判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则系统自动建立一个共享服务程序;
S1013、所述共享服务程序获取共享服务IP地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;
S1014、将所述共享服务IP地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
步骤S102、移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求。
本发明实施例中,所述步骤S102具体包括步骤:
S1021、预先判断所述移动终端接收方是否打开网络连接;
S1022、若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的IP地址、端口号和文件请求指令;
S1023、根据解析出的服务IP地址和端口号向指定的移动终端共享方发送建立网络连接请求;
S1024、所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
步骤S103、移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
本发明实施例中,所述步骤S103具体包括步骤:
S1031、移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;
S1032、将所述路径信息的指定共享文件发送给所述移动终端接收方;
S1033、所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
进一步地,本发明不限制下层文件的传输方式,即,可以采用wifi、蓝牙等任何方式进行共享文件的传输,因此传输较灵活、通用。
以下将通过具体的应用实施例对本发明做进一步说明。本发明基于二维码的文件共享方法的执行过程中包括共享方和接收方,请详见图2,图2是本发明基于二维码的文件共享方法的应用实施例的共享方执行流程图,本应用实施例中采用wifi作为网络连接传输方式(其他传输方式均可,如采用蓝牙技术则需要把配对的信息放在二维码中,以方便进行自动配对)。如图2所示,包括步骤:
S21、用户选择待共享的文件,并选择用二维码扫描方式进行共享;
共享方的用户在手机中通过各种文件查看方式(如文件管理器等)选择需要共享的文件,并通过一定的方式(如长时间选中文件,则系统会弹出相应的文件控制菜单)进一步选择“用二维码扫描方式进行共享”的操作。
S22、判断wifi是否打开?若wifi已打开,则进入步骤S24;
S23、若wifi未打开,则打开wifi连接(或提示用户打开);
S24、打开共享服务端程序;
执行本发明的基于二维码的文件共享方法前,共享方的手机需要首先判断是否已经打开wifi网络连接,如果没有打开,则系统以对话框的形式提示用户执行打开操作。若所述wifi网络连接已经打开,则系统自动建立并打开一个共享服务端程序(如TCP服务),此服务用于监听指定共享服务IP和端口上的数据。
S25、获取共享服务的方地址和端口号;
S26、生成文件请求命令;
所述文件请求命令格式如get/FilePath,其中FilePath是指待共享文件在手机中所处的详细路径信息。
S27、生成二维码并显示在界面上;
系统将所述共享服务的IP地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
进一步地,请详见图3,图3是本发明基于二维码的文件共享方法的应用实施例的接收方执行流程图。如图3所示,包括步骤:
S31、判断wifi是否打开?若wifi已打开,则进入步骤S33;
S32、若wifi未打开,则打开wifi连接(或提示用户打开);
S33、扫描二维码;
S34、解析服务的IP地址和端口号;
S35、解析文件请求命令;
接收方在打开二维码扫描共享接收程序后,首先也需要判断是否打开了wifi网络连接,如果没有打开,则系统以对话框的形式提示用户执行打开操作。若所述wifi网络连接已经打开,之后程序会自动打开摄像头扫描二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的IP地址、端口号和文件请求指令。
S36、根据解析出的IP和端口号向服务发起连接请求;
S37、连接请求成功,向服务端发起文件共享请求命令;
连接请求成功后,接收方无需自己合成请求指令,只需要把从二维码中得到的指令直接发送给共享提供方手机就可。这样做,一方面共享方可以对接收方发送的指令进行快速验证,而接收方无需做多余的操作;另一方面,共享方可以同时共享多个文件,只要在提供共享方的手机上生成多张二维码,或者多次生成二维码,每张或每次对应不同的文件,这样服务器可以不作任何变动就能完成共享文件的传输。
之后的文件传输阶段包括:共享方接收所述接收方发送的文件共享请求指令,解析出所述文件共享请求指令中包含的待共享文件在手机中所处的详细路径信息(即FilePath中所包含的路径信息);将所述路径详细信息的指定共享文件发送给所述接收方(如通过TCP方式);所述接收方接收所述带共享的文件,并将文件保存在手机指定的文件路径中,此文件路径可以是系统默认的,也可以是用户预先指定的。
由上可见,本发明在进行文件共享传输时不需要事先填写接收方的任何信息,只需要接收方用手机上的摄像头扫描共享方手机屏幕上生成的二维码,且无需自己合成文件共享请求指令,只需要把从二维码中得到的共享指令直接发送给共享方手机就可以实现,方便快捷,为用户提供了便利。
基于上述实施例,本发明还提供一种基于二维码的文件共享系统,如图4所示,包括:
二维码生成显示模块100,用于移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;具体如上所述。
二维码扫描解析模块200,用于移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;具体如上所述。
文件共享模块300,用于移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方;具体如上所述。
所述待共享文件的共享服务信息包括:服务IP地址、端口号和文件请求命令。
进一步地,所述基于二维码的文件共享系统,如图5所示,所述维码生成显示模块100还包括:
共享文件选择单元110,用于移动终端共享方选择待共享的文件,同时选择用二维码扫描的方式进行共享;具体如上所述。
第一网络连接判断单元120,用于进一步判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则系统自动建立一个共享服务程序;具体如上所述。
共享服务信息获取单元130,用于所述共享服务程序获取共享服务IP地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;具体如上所述。
二维码生成单元140,用于将所述共享服务IP地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上;具体如上所述。
进一步地,所述基于二维码的文件共享系统,如图6所示,所述二维码扫描解析模块200具体包括:
第二网络连接判断单元210,用于预先判断所述移动终端接收方是否打开网络连接;具体如上所述。
共享服务信息解析单元220,用于若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的IP地址、端口号和文件请求指令;具体如上所述。
网络连接请求单元230,用于根据解析出的服务IP地址和端口号向指定的移动终端共享方发送建立网络连接请求;具体如上所述。
文件共享请求单元240,用于所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方;具体如上所述。
进一步地,所述基于二维码的文件共享系统,如图7所示,所述文件共享模块300具体包括:
路径信息解析单元310,用于移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;具体如上所述。
文件发送单元320,用于将所述路径信息的指定共享文件发送给所述移动终端接收方;具体如上所述。
文件接收存储单元330,用于所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中;具体如上所述。
基于上述实施例,本发明还提供一种移动终端,本实施例所述的移动终端包括上述所述的基于二维码的文件共享系统。
综上所述,本发明所提供的一种基于二维码的文件共享方法、系统及移动终端,所述方法具体包括:移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。本发明在进行文件共享传输时不需要事先填写接收方的任何信息,只需要接收方用手机上的摄像头扫描共享方手机屏幕上生成的二维码,且无需自己合成文件共享请求指令,只需要把从二维码中得到的共享指令直接发送给共享方手机就可以实现,方便快捷;另外,共享方可以同时共享多个文件,只要在提供共享方的手机上生成多张二维码,或者多次生成二维码,每张或每次对应不同的文件,这样服务器可以不作任何变动就能完成共享文件的传输。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (13)
- 一种基于二维码的文件共享方法,其中包括步骤:移动终端共享方选择待共享的文件,并选择用二维码扫描的方式进行共享,判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则建立一个共享服务程序,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;预先判断所述移动终端接收方是否打开网络连接,若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
- 根据权利要求1所述的基于二维码的文件共享方法,其中所述待共享文件的共享服务信息包括:服务互联网协议地址、端口号和文件请求命令。
- 根据权利要求2所述的基于二维码的文件共享方法,其中所述将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上具体包括步骤:所述共享服务程序获取共享服务互联网协议地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;将所述共享服务互联网协议地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
- 根据权利要求2所述的基于二维码的文件共享方法,其中所述根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求,具体包括步骤:根据解析出的服务互联网协议地址和端口号向指定的移动终端共享方发送建立网络连接请求;所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
- 根据权利要求3所述的基于二维码的文件共享方法,其中所述移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方,具体包括:移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;将所述路径信息的指定共享文件发送给所述移动终端接收方;所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
- 一种基于二维码的文件共享系统,其中包括:二维码生成显示模块,用于移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;二维码扫描解析模块,用于移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;文件共享模块,用于移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
- 根据权利要求6所述基于二维码的文件共享系统,其中所述待共享文件的共享服务信息包括:服务互联网协议地址、端口号和文件请求命令;所述二维码生成显示模块具体包括:共享文件选择单元,用于移动终端共享方选择待共享的文件,同时选择用二维码扫描的方式进行共享;第一网络连接判断单元,用于进一步判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则系统自动建立一个共享服务程序;共享服务信息获取单元,用于所述共享服务程序获取共享服务互联网协议地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;二维码生成单元,用于将所述共享服务互联网协议地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
- 根据权利要求7所述基于二维码的文件共享系统,其中所述二维码扫描解析模块具体包括:第二网络连接判断单元,用于预先判断所述移动终端接收方是否打开网络连接;共享服务信息解析单元,用于若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的互联网协议地址、端口号和文件请求指令;网络连接请求单元,用于根据解析出的服务互联网协议地址和端口号向指定的移动终端共享方发送建立网络连接请求;文件共享请求单元,用于所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
- 根据权利要求7所述基于二维码的文件共享系统,其中所述文件共享模块还包括:路径信息解析单元,用于移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;文件发送单元,用于将所述路径信息的指定共享文件发送给所述移动终端接收方;文件接收存储单元,用于所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
- 一种移动终端,其中包括基于二维码的文件共享系统,该系统包括:二维码生成显示模块,用于移动终端共享方选择待共享的文件,将所述待共享文件的共享服务信息处理成二维码,并将所述二维码显示在移动终端的屏幕上;二维码扫描解析模块,用于移动终端接收方扫描并解析所述二维码,根据解析出的二维码中的共享服务信息通过网络连接向移动终端共享方发送文件共享请求;文件共享模块,用于移动终端共享方接收所述文件共享请求,并将所述待共享的文件发送给所述移动终端接收方。
- 根据权利要求10所述移动终端,其中所述待共享文件的共享服务信息包括:服务互联网协议地址、端口号和文件请求命令;所述二维码生成显示模块具体包括:共享文件选择单元,用于移动终端共享方选择待共享的文件,同时选择用二维码扫描的方式进行共享;第一网络连接判断单元,用于进一步判断所述移动终端共享方是否打开网络连接,若所述网络连接已经打开,则系统自动建立一个共享服务程序;共享服务信息获取单元,用于所述共享服务程序获取共享服务互联网协议地址和端口号,并根据所述待共享文件在移动终端中所处的路径信息生成文件请求指令;二维码生成单元,用于将所述共享服务互联网协议地址、端口号和文件请求指令处理成二维码,并将所述二维码显示在移动终端的屏幕上。
- 根据权利要求11所述基于二维码的文件共享系统,其中所述二维码扫描解析模块具体包括:第二网络连接判断单元,用于预先判断所述移动终端接收方是否打开网络连接;共享服务信息解析单元,用于若所述网络连接已经打开,则移动终端接收方扫描所述二维码,并解析所述二维码中的待共享文件的共享服务信息,所述共享服务信息包含共享服务的互联网协议地址、端口号和文件请求指令;网络连接请求单元,用于根据解析出的服务互联网协议地址和端口号向指定的移动终端共享方发送建立网络连接请求;文件共享请求单元,用于所述网络连接请求成功后,进一步将解析出的文件请求指令作为文件共享请求直接发送至指定的移动终端共享方。
- 根据权利要求11所述基于二维码的文件共享系统,其中所述文件共享模块还包括:路径信息解析单元,用于移动终端共享方接收所述移动终端接收方发送的文件请求指令,解析出所述文件请求指令中包含的待共享文件在移动终端中所处的路径信息;文件发送单元,用于将所述路径信息的指定共享文件发送给所述移动终端接收方;文件接收存储单元,用于所述移动终端接收方接收所述带共享的文件,并将文件保存在移动终端指定的文件路径中。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510046724.4A CN104601715B (zh) | 2015-01-29 | 2015-01-29 | 一种基于二维码的文件共享方法、系统及移动终端 |
| CN201510046724.4 | 2015-01-29 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016119414A1 true WO2016119414A1 (zh) | 2016-08-04 |
Family
ID=53127208
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/084669 Ceased WO2016119414A1 (zh) | 2015-01-29 | 2015-07-21 | 一种基于二维码的文件共享方法、系统及移动终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104601715B (zh) |
| WO (1) | WO2016119414A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111262746A (zh) * | 2020-03-04 | 2020-06-09 | 深信服科技股份有限公司 | 一种设备开局部署系统及方法 |
| CN112307794A (zh) * | 2020-11-25 | 2021-02-02 | 杭州视洞科技有限公司 | 一种摄像头通过扫描多张二维码传输数据方法 |
| CN113095098A (zh) * | 2021-04-07 | 2021-07-09 | 二十二冶集团装备制造有限公司 | 基于二维码获取数控切割cnc程序的系统 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105163171A (zh) * | 2015-07-07 | 2015-12-16 | 深圳市美贝壳科技有限公司 | 一种机顶盒与移动终端之间的文件传输方法及系统 |
| CN106230932A (zh) * | 2016-07-31 | 2016-12-14 | 深圳市青葡萄科技有限公司 | 一种云盘共享文件的装置和方法 |
| CN107566367A (zh) * | 2017-09-02 | 2018-01-09 | 刘兴丹 | 一种云存储信息网络认证共享的方法、装置 |
| CN113507481A (zh) * | 2017-10-19 | 2021-10-15 | 西安万像电子科技有限公司 | 多媒体内容的处理方法及系统 |
| CN107862034A (zh) * | 2017-11-03 | 2018-03-30 | 广州视源电子科技股份有限公司 | 一种文件快速保存方法、装置、设备及存储介质 |
| CN111698191A (zh) * | 2019-03-13 | 2020-09-22 | 青岛海尔电冰箱有限公司 | 共享信息系统 |
| CN115345546A (zh) * | 2022-08-08 | 2022-11-15 | 上海中通吉网络技术有限公司 | 众包任务动态分享方法、装置、电子设备及可存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102855323A (zh) * | 2012-09-11 | 2013-01-02 | 北京蜂侠飞科技有限公司 | 基于二维码的信息共享方法和系统 |
| CN103024063A (zh) * | 2012-12-24 | 2013-04-03 | 腾讯科技(深圳)有限公司 | 一种数据共享方法、客户端及系统 |
| CN103761327A (zh) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | 资源共享的方法、系统、终端以及服务器 |
| US20140172982A1 (en) * | 2012-12-14 | 2014-06-19 | Tencent Technology (Shenzhen) Company Limited | Method, server and system for data sharing |
| CN103942519A (zh) * | 2013-01-17 | 2014-07-23 | 腾讯科技(深圳)有限公司 | 多终端间内容共享的方法、图形码编码端及图形码解码端 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004080097A1 (en) * | 2003-03-07 | 2004-09-16 | Ktfreetel Co., Ltd | Method for providing mobile service using code-pattern |
| CN102394926A (zh) * | 2011-10-31 | 2012-03-28 | 中科创达软件科技(北京)有限公司 | 一种向终端传输文件的方法 |
| CN103095852A (zh) * | 2013-02-27 | 2013-05-08 | 上海够快网络科技有限公司 | 基于二维码的云存储文件共享方法 |
-
2015
- 2015-01-29 CN CN201510046724.4A patent/CN104601715B/zh active Active
- 2015-07-21 WO PCT/CN2015/084669 patent/WO2016119414A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102855323A (zh) * | 2012-09-11 | 2013-01-02 | 北京蜂侠飞科技有限公司 | 基于二维码的信息共享方法和系统 |
| US20140172982A1 (en) * | 2012-12-14 | 2014-06-19 | Tencent Technology (Shenzhen) Company Limited | Method, server and system for data sharing |
| CN103024063A (zh) * | 2012-12-24 | 2013-04-03 | 腾讯科技(深圳)有限公司 | 一种数据共享方法、客户端及系统 |
| CN103942519A (zh) * | 2013-01-17 | 2014-07-23 | 腾讯科技(深圳)有限公司 | 多终端间内容共享的方法、图形码编码端及图形码解码端 |
| CN103761327A (zh) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | 资源共享的方法、系统、终端以及服务器 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111262746A (zh) * | 2020-03-04 | 2020-06-09 | 深信服科技股份有限公司 | 一种设备开局部署系统及方法 |
| CN111262746B (zh) * | 2020-03-04 | 2023-05-12 | 深信服科技股份有限公司 | 一种设备开局部署系统及方法 |
| CN112307794A (zh) * | 2020-11-25 | 2021-02-02 | 杭州视洞科技有限公司 | 一种摄像头通过扫描多张二维码传输数据方法 |
| CN113095098A (zh) * | 2021-04-07 | 2021-07-09 | 二十二冶集团装备制造有限公司 | 基于二维码获取数控切割cnc程序的系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104601715B (zh) | 2018-04-06 |
| CN104601715A (zh) | 2015-05-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016119414A1 (zh) | 一种基于二维码的文件共享方法、系统及移动终端 | |
| WO2014175602A1 (en) | Electronic device and method of registering personal cloud apparatus in user portal server thereof | |
| WO2013118988A1 (en) | Method and apparatus for interoperably performing services and system supporting the same | |
| WO2014051367A1 (en) | User terminal apparatus, electronic device, and method for controlling the same | |
| WO2019161598A1 (zh) | 即时通讯与邮件的交互方法、装置、设备和存储介质 | |
| WO2018143711A1 (en) | System and method of providing sensing data to electronic device | |
| US10664468B2 (en) | Communication supporting device, method, and comuper program | |
| WO2011025219A2 (ko) | 컨트롤 사용자 인터페이스를 이용한 원격 제어 방법 및 시스템 | |
| JP2022063331A (ja) | 情報処理システム、情報処理装置、情報処理方法及びプログラム | |
| WO2018080060A1 (en) | Content output device and control method thereof | |
| WO2018233352A1 (zh) | 数据传输方法、装置、终端以及计算机可读存储介质 | |
| WO2014065631A1 (ko) | 모바일 보이스 오버 인터넷 프로토콜을 이용하여 그룹 통화 서비스를 제공하는 어플리케이션의 동작 방법 | |
| WO2017012417A1 (zh) | 多屏互动设备之间的控制方法、多屏互动设备及系统 | |
| WO2015002384A1 (en) | Server, control method thereof, image processing apparatus, and control method thereof | |
| WO2012099402A2 (en) | Method and apparatus for phone communication using home network | |
| WO2018010240A1 (zh) | 拍摄同步方法及同步装置 | |
| WO2016090775A1 (zh) | 同步操作短信数据的方法及系统 | |
| WO2017135776A1 (en) | Display apparatus, user terminal apparatus, system, and controlling method thereof | |
| WO2013183818A1 (ko) | 멀티 디바이스 환경에서의 메시지 서비스 방법 및 시스템, 그리고 이를 위한 장치 | |
| WO2014035171A1 (ko) | 전자장치에서 영상통화중 파일 전송 방법 및 장치 | |
| WO2014042357A1 (ko) | 화면 동기 제어 시스템, 이를 이용한 화면 동기 방법 및 장치 | |
| WO2021017332A1 (zh) | 语音控制报错方法、电器及计算机可读存储介质 | |
| WO2022108525A1 (zh) | 部署联邦学习应用的方法、装置、系统和电子设备 | |
| CN103246572A (zh) | 应用信息的同步方法及系统 | |
| WO2020259153A1 (zh) | 特效同步的方法、装置及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15879613 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15879613 Country of ref document: EP Kind code of ref document: A1 |