WO2018040434A1 - 一种基于无线网络的文件共享方法、设备及系统 - Google Patents

一种基于无线网络的文件共享方法、设备及系统 Download PDF

Info

Publication number
WO2018040434A1
WO2018040434A1 PCT/CN2016/113351 CN2016113351W WO2018040434A1 WO 2018040434 A1 WO2018040434 A1 WO 2018040434A1 CN 2016113351 W CN2016113351 W CN 2016113351W WO 2018040434 A1 WO2018040434 A1 WO 2018040434A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
signal
file sharing
receiving device
request signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/113351
Other languages
English (en)
French (fr)
Inventor
田楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shirui Electronics Co Ltd
Publication of WO2018040434A1 publication Critical patent/WO2018040434A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Definitions

  • the present invention relates to the field of data transmission technologies, and in particular, to a file sharing method, device and system based on a wireless network.
  • the file transmission technology based on wireless network is more and more widely applied to people's work and life with the advantages of convenient connection.
  • People can create wireless hotspots on file-sharing devices (such as smartphones, laptops with wireless network cards, or smart tablets) and let file receiving devices (such as smartphones, laptops with wireless network cards, or smart tablets) And so on) to connect to the hotspot, and then the file sharing device can transmit the file to be shared to the file receiving device through a wireless signal, thereby realizing the sharing of the file.
  • the existing wireless network-based file sharing method is directly connected through a file sharing device and a file receiving device on the connection.
  • the file receiving device cannot automatically connect to the hotspot created by the file sharing device, but requires the user to manually connect, and even needs to enter a password to complete the connection.
  • the existing wireless network-based file sharing method cannot automatically map the shared resources in the file sharing device after the file receiving device is connected to the hotspot of the file sharing device, but requires the user to manually set the connection to the sharing process. Access to shared resources, which inconveniences the user's operation and use, affects the user's experience; at the same time, the complicated operation also takes a lot of time, which affects the efficiency of the shared resource transmission to the file receiving device.
  • an object of the present invention is to provide a wireless network-based file sharing method, device, and system with high shared resource transmission efficiency and good user experience.
  • an aspect of the present invention provides a method for sharing a file based on a wireless network, comprising the steps of: transmitting a device descriptor of the device to the file receiving device when receiving a query request from the file receiving device, And communicating with the file receiving device according to the storage device protocol defined by the device descriptor; after obtaining the hot spot signal sent by the preset file sharing device, automatically establishing a wireless connection with the file sharing device; After the file sharing device is built into the shared service process, the data is established according to the preset sharing protocol and the shared service process. a transmission channel; receiving the shared resource mapped by the shared service process based on the data transmission channel, and displaying the received shared resource on the file receiving device according to a storage device protocol.
  • the method further includes: when detecting that the user is receiving in the file When the operation request signal for the shared resource is sent, the device determines whether the operation request signal is a primary operation request signal or a secondary operation request signal according to a preset operation signal database; wherein the primary operation request signal includes An open signal to the shared resource; the secondary operation request signal includes a copy signal to the shared resource and an edit signal; when it is determined that the operation request signal is a first-level operation request signal, automatically transmitting an allow operation signal to the Said file receiving device, so that said file receiving device performs a corresponding operation according to said permission operation signal; and when said operation request signal is determined to be a secondary operation request signal, said secondary operation request signal is transmitted to said file Sharing the device, so that the file sharing device receives the second operation signal, according to The operation of the user generates an operation permission signal or a rejection operation signal; when receiving the permission operation signal transmitted
  • a file sharing device based on a wireless network, including: a device description module, configured to send a device descriptor of the device to the file receiving device when receiving a query request from the file receiving device, And communicating with the file receiving device according to a storage device protocol defined by the device descriptor;
  • a wireless connection module configured to automatically establish a wireless connection with the file sharing device after acquiring the hotspot signal sent by the preset file sharing device
  • the mapping module is configured to: after monitoring the file sharing device to establish a shared service process Establishing a data transmission channel with the shared service process according to a preset sharing protocol; the sharing module is configured to receive the shared resource mapped by the shared service process based on the data transmission channel, and receive the received resource according to the storage device protocol.
  • the shared resource is displayed on the file receiving device.
  • the wireless network-based file sharing device further includes: a determining module, configured to: according to a preset operation signal database, when the user is alerted to an operation request signal for the shared resource on the file receiving device Determining whether the operation request signal is a primary operation request signal or a secondary operation request signal; wherein the primary operation request signal includes an open signal to the shared resource shared file; and the secondary operation request signal includes a a copy signal of the shared resource shared file and an edit signal for the title or the content; the first operation module is configured to automatically send the allow operation signal to the file receiving when it is determined that the operation request signal is a first-level operation request signal The device, wherein the file receiving device performs a corresponding operation according to the permission operation signal; and the second operation module is configured to send the second operation request signal when determining that the operation request signal is a secondary operation request signal Reaching the file sharing device to enable the file sharing device to receive the second level For the signal according to a user's operation to generate an operation signal to allow or deny the operation a forwarding
  • Another aspect of the present invention provides a file sharing system based on a wireless network, including a file sharing device installed with a wireless network card, the above-described wireless network-based file sharing device, and a file establishing a communication connection with the file sharing device.
  • a receiving device wherein the file sharing device is configured to create a hotspot through a wireless network card therein; the file sharing device is configured to automatically connect the hotspot through a wireless network card therein; the file sharing device is further used Establishing a shared service process by using a preset sharing protocol; the file sharing device is further configured to automatically connect the shared service process according to the pre-configuration information, and receive the shared resource mapped by the shared service process, and according to the storage device The protocol displays the received shared resource on the file receiving device.
  • the invention provides a wireless network-based file sharing method, device and system, and the file sharing device automatically establishes the wireless connection with the file sharing device, and the file sharing device can be according to a preset sharing protocol. And automatically establishing, by the wireless connection, a data transmission channel with the shared service process established by the file sharing device, and then the file sharing device receives the shared resource mapped by the shared service process based on the data transmission channel, and Displaying the received shared resource on the file receiving device according to the storage device protocol, so that the shared resource is automatically shared from the file sharing device to the file receiving device; the entire sharing process does not need to be passed by the user.
  • the operation is performed to enable the file receiving device to connect to the hotspot signal established by the file sharing device, and the connection of the shared service process is also automatically performed, thereby saving time for the user to operate, thereby improving transmission of the shared resource. Efficiency, while also improving the user experience.
  • FIG. 1 is a schematic structural diagram of a file sharing system based on a wireless network according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for sharing a file based on a wireless network according to an embodiment of the present invention
  • FIG. 3 is a flowchart of automatically connecting the hotspot to the file sharing device according to an embodiment of the present invention
  • FIG. 4 is a flowchart of another method for sharing a file based on a wireless network according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a file sharing device based on a wireless network according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of the wireless connection module according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another file sharing device based on a wireless network according to an embodiment of the present invention.
  • an embodiment of the present invention provides a file sharing system based on a wireless network, including a file sharing device 20 installed with a wireless network card, a file sharing device 21 based on a wireless network, and establishing communication with the file sharing device 21.
  • a file sharing device 20 installed with a wireless network card
  • a file sharing device 21 based on a wireless network
  • Connected file receiving device 22 wherein:
  • the file sharing device 20 (such as a notebook computer or a smart tablet, etc.) is used to create a hotspot through a wireless network card therein;
  • the file sharing device 21 is configured to automatically connect the hotspot created by the file sharing device 20 by using a wireless network card therein;
  • the file sharing device 20 (for example, a notebook computer or a smart tablet, etc.) is further configured to establish a shared service process by using a preset sharing protocol.
  • the preset sharing protocol is a Samba file sharing protocol.
  • the file sharing device 21 is further configured to automatically connect to the shared service process according to the pre-configuration information, receive the shared resource (various files) mapped by the shared service process, and receive the received according to the storage device protocol.
  • a shared resource is displayed on the file receiving device 22.
  • the file sharing device 21 is an embedded device that establishes a communication connection with the file receiving device according to the storage device protocol, for example, a dongle with a wireless network card installed or a USB disk with a wireless network card installed, and a mobile device.
  • the storage device protocol is a USB Mass Storages protocol.
  • the wireless connection is automatically established by the file sharing device 21 with the file sharing device 20, and the file sharing device 21 can automatically pass the wireless connection according to a preset sharing protocol.
  • the shared service process established by the file sharing device 20 establishes a data transmission channel, and then the file sharing device 21 receives the shared resource mapped by the shared service process based on the data transmission channel, and receives the shared resource according to the storage device protocol.
  • the shared resource is displayed on the file receiving device 22, so that the shared resource is automatically shared from the file sharing device 20 to the file receiving device 21; the entire sharing process does not require the user to operate the device.
  • the file receiving device 22 is connected to the hotspot signal established by the file sharing device 20, and the connection mapping of the shared service process is also automatically performed, which saves the user's operation time and improves the transmission efficiency of the shared resource, and further Improve the user experience.
  • the embodiment of the invention further provides a file sharing method based on a wireless network, which is used for enabling people to share files efficiently, quickly and conveniently through a wireless network.
  • the method specifically includes steps S10 to S13:
  • the file receiving device 22 when the file receiving device 22 detects that the file sharing device 21 is inserted into the interface of the file receiving device 22, the embedded system pre-installed in the file sharing device 21 (for example, the embedded Linux operating system is automatically started. At this time, the file receiving device 22 actively initiates a query request to the file sharing device 21, and when the file sharing device 21 receives the query request, receives the query request.
  • the device 22 transmits its own device descriptor and communicates with the file receiving device in accordance with a storage device protocol (eg, a bDeviceProtocol character in the device descriptor) defined with the device descriptor, preferably a USB device. Mass Storages agreement. Therefore, the file sharing device 21 is not required to automatically connect to the file receiving device 22 by the user's operation.
  • a storage device protocol eg, a bDeviceProtocol character in the device descriptor
  • the file sharing device 21 refers to a device that is installed with a wireless network card and can be used for establishing communication with a device that can create a hotspot signal (for example, a notebook computer with a wireless network card, a smart tablet, etc.).
  • the file sharing device 21 is preferably an embedded device that establishes a communication connection with the file receiving device according to the storage device protocol, for example, a dongle with a wireless network card installed; and the file receiving device. 22 refers to a device that can establish a connection with the file sharing device 21, such as a notebook computer or a smart tablet.
  • the file sharing device 20 is a device (for example, a notebook computer or a smart tablet, etc.) in which a wireless network card is installed and a file to be shared is stored. Referring to FIG. 3, the specific working process of step S11 is:
  • the file sharing device 21 detects whether a hot spot signal of the file sharing device 20 exists in real time by running a pre-installed embedded system thereof, wherein the file sharing device 20 creates a hot spot through the wireless network card and transmits the hot spot.
  • the hot spot signal ;
  • the hotspot configuration information is automatically paired with the hotspot according to the pre-stored hotspot configuration information.
  • the wireless network card in the file sharing device 21 receives the wireless signal (ie, electromagnetic signal) transmitted by the file sharing device 20 through the wireless network card, the file sharing device 21 according to the hotspot configuration information saved in advance Pass
  • the embedded system is operated to automatically connect the hotspot created by the file sharing device 20, so that the file sharing device 21 establishes a wireless connection with the file sharing device 20, and the file receiving device 22 passes through
  • the file sharing device 21 establishes a wireless connection with the file sharing device 20.
  • the configuration information of the hotspot created by the file sharing device 20 is saved in the file sharing device 21 in advance, and the file sharing device 21 receives the signal transmitted by the hot spot through the wireless network card. Afterwards, the file sharing device 21 analyzes the hotspot through an embedded system running thereon, and when the hotspot matches the hotspot configuration information pre-stored in the file sharing device 21, the file sharing The device 21 automatically connects to the hotspot. It can be understood that when the hotspot created by the file sharing device 20 does not perform permission setting, but allows other devices to freely connect, the file sharing device 21 does not need to perform key information with the hotspot. Instead, a wireless connection is established directly with the hotspot.
  • step S12 is:
  • the preset sharing protocol is preferably a Samba file sharing protocol in the embodiment of the present invention.
  • the resources in the shared service process may be mapped to the file sharing device 21 according to a preset wireless transmission protocol, and the file sharing device 21 passes the storage device.
  • the protocol may further transmit the shared resource to the file receiving device 22 and display it on the file receiving device 22, so as to transmit the shared resource in the file sharing device 20 that needs to be shared to the file receiving. In device 22.
  • the shared resource is a file (including a picture, a video, a document, and the like) that needs to be shared, and the file is set in a shared directory of the shared service process, and the shared directory is opened to be seen.
  • the shared directory further includes a subdirectory, and the subdirectory further includes a secondary subdirectory.
  • the file may be placed in the shared directory, the subdirectory, or the secondary subdirectory according to a user's settings.
  • the storage device protocol is preferably a USB Mass Storages protocol; by using the USB Mass Storages protocol, the shared resource mapped on the file sharing device 21 may be similar.
  • the form of the U disk storage is displayed on the file receiving device 22 so that the user can open the file and the shared directory or perform other operations on the file receiving device 22.
  • the wireless connection is automatically established by the file sharing device 21 with the file sharing device 20, and the file sharing device 21 can automatically and according to a preset sharing protocol.
  • the file receiving device 22 is connected to the hotspot signal established by the file sharing device 20, and the shared service process is also automatically performed, thereby saving user operation time, thereby improving file transmission efficiency, and also improving file transmission efficiency. Improve the user experience.
  • the user can be at the file receiving device.
  • the editing operation is performed, or the shared resource can only be saved on the file receiving device 22 because of the confidentiality requirement, and the user is allowed to transmit the shared resource transmission to other devices through operations such as copying.
  • steps S14 to S17 are further included after step S13:
  • the file sharing device 20 sends an operation request signal to the file sharing device 21 to the shared resource
  • the embedded system running in the file sharing device 21 determines whether the operation request signal is a primary operation request signal or a secondary operation request signal according to a preset operation signal database; wherein the primary operation request The signal includes an open signal to the shared resource; the secondary operational request signal includes a replicated signal to the shared resource and an edit signal.
  • the permission operation signal is automatically sent to the file receiving device 22, so that the file receiving device 22 performs a corresponding operation according to the permission operation signal.
  • the file sharing device 21 determines that the operation request signal is a first-level operation request signal according to a preset operation signal database
  • the file sharing device 21 automatically transmits the permission operation signal through the wireless connection. Going to the file receiving device 22, so that the user can perform a corresponding operation at the file receiving device 22 according to the permission operation signal, that is, the user can open the shared resource in the file receiving device 22.
  • the opening operation of the shared resource does not change its content, nor does it destroy the confidentiality of the shared resource by transmitting it to other devices by performing a copy operation.
  • the preset signal database pre-stores the signal information of the primary operation signal and the secondary operation signal.
  • the operation request signal is a secondary operation request signal
  • an allow operation signal or a reject operation signal is generated according to the user's operation.
  • the file sharing device 21 determines that the operation request signal is a secondary operation request signal according to a preset operation signal database, the file sharing device 21 automatically performs the secondary operation through the wireless connection. Sending a request signal to the file sharing device 20, so that the file sharing device 20 sends a prompt to the user on the file sharing device 20 after receiving the secondary operation signal, when the user is in the file.
  • the sharing device 20 generates an allow operation signal or a reject operation signal according to the prompting, so that the user can conveniently access the shared resource; preferably, the prompt is generated on the display screen of the file sharing device 20.
  • the "Yes” or “No” check box when the user selects the “Yes” check box, the file sharing device 20 generates the permission operation signal; when the user selects the "No” check box, the file sharing device 20 generates the reject operation signal.
  • the prompt may also be other means, as long as the prompt can facilitate the user to operate the secondary operation signal according to the corresponding indication, which is within the protection scope of the present invention.
  • the file sharing device 21 when the file sharing device 21 receives the permission operation signal transmitted from the piece sharing device, the file sharing device 21 forwards the permission operation signal to the file receiving device 22;
  • the user can perform a corresponding operation on the file according to the permission operation signal on the file receiving device 22; for example, when the permission operation signal is an allowable operation signal regarding copying of the shared resource, the user
  • the shared resource may be copied on the file receiving device 22; when the allowable operation signal is an allowable operation signal regarding editing of the shared resource, the user may be on the file receiving device 22 Edit the shared resource.
  • the user can access the shared resource on the file receiving device 22
  • the judgment of the operation type especially when it is determined that the operation type is a copy operation or an editing operation, whether the user is allowed to copy or edit the shared resource on the file receiving device 22 according to actual needs, which may increase
  • the operational flexibility of the shared resource thereby improving the user's operating experience. For example, when the security-based need may not allow the user to transfer the shared resource to other devices through a copy operation, or based on the need to keep the content of the shared resource unchanged, the user is not allowed to change the edit operation.
  • the content of the shared resource may be used to change the edit operation.
  • an embodiment of the present invention further provides a file sharing device based on a wireless network, including:
  • the device description module 10 is configured to, when receiving a query request from the file receiving device, send its own device descriptor to the file receiving device, and receive the file according to a storage device protocol defined by the device descriptor.
  • the device is connected to the communication.
  • the wireless connection module 11 is configured to automatically establish a wireless connection with the file sharing device 20 after acquiring the hotspot signal sent by the preset file sharing device 20;
  • the mapping module 12 is configured to establish a data transmission channel with the shared service process according to a preset sharing protocol after monitoring the file sharing device 20 to establish a shared service process;
  • the sharing module 13 is configured to receive the shared resource mapped by the shared service process based on the data transmission channel, and display the received shared resource on the file receiving device according to a storage device protocol.
  • the storage device protocol is preferably a USB Mass Storages protocol.
  • the wireless transmission module 11 specifically includes:
  • the hotspot detecting unit 110 is configured to detect whether a hot spot signal created by the file sharing device 20 exists.
  • the hotspot connection unit 111 is configured to automatically pair and connect the hotspot according to the pre-stored hotspot configuration information when the hotspot signal is detected.
  • the file sharing device 21 is automatically connected to the file receiving device 22 by the detecting module 10, and the file sharing is automatically performed by the wireless connection module 11.
  • the device 21 establishes a wireless connection with the file sharing device 20, and then automatically establishes a data transmission channel between the file sharing device 21 and the shared service process established by the file sharing device 20 through the mapping module 12, and finally
  • the sharing module 13 automatically transmits the resources in the shared service process mapped to the file sharing device 21 to the file receiving device 22 according to the mass storage device protocol and displays them on the file receiving device 22, thereby implementing the file.
  • the device further includes:
  • the determining module 14 is configured to: when it is monitored that the user sends an operation request signal to the shared resource on the file receiving device 22, determine, according to the preset operation signal database, whether the operation request signal is a first-level operation request signal or a secondary operation request signal; wherein the primary operation request signal includes an open signal to the shared resource shared file; the secondary operation request signal includes a copy signal to the shared resource shared file and a title thereof or Editing signal of the content;
  • the first operation module 15 is configured to automatically send an allow operation signal to the file receiving device 22 when it is determined that the operation request signal is a first-level operation request signal, so that the file receiving device 22 operates according to the permission.
  • the signal performs the corresponding operation;
  • the secondary operation module 16 is configured to: when determining that the operation request signal is a secondary operation request signal, send the secondary operation request signal to the file sharing device 20, so that the file sharing device 20 is receiving After the secondary operation signal, generating an allow operation signal or rejecting the operation signal according to a user operation;
  • the forwarding module 17 is configured to forward the permission operation signal to the file receiving device 22 when receiving the permission operation signal transmitted from the piece sharing device, so that the file receiving device 22 according to the permission The operation signal performs the corresponding operation.
  • the judgment module 14 can determine the type of operation of the shared resource by the user on the file receiving device 22, especially when the secondary operation module 1616 determines When the operation type is a copy operation or an edit operation, whether the user is allowed to copy or edit the shared resource on the file receiving device 22 according to actual needs, the operation flexibility of the shared resource may be increased. Thereby improving the user's operating experience.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种文件共享方法,包括:在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信;在获取到预设的文件分享设备发送的热点信号后,自动与所述文件分享设备建立无线连接;在监听到所述文件分享设备建成共享服务进程后,根据预设的共享协议与所述共享服务进程建立数据传输通道;接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。本发明还公开了一种基于无线网络的文件共享设备及系统,可提高共享资源的传输效率,同时也提高了用户的体验。

Description

一种基于无线网络的文件共享方法、设备及系统 技术领域
本发明涉及数据传输技术领域,尤其涉及一种基于无线网络的文件共享方法、设备及系统。
背景技术
随着信息技术的发展,基于无线网络的文件传输技术以其连接方便的优点越来越广泛的应用到人们的工作和生活当中。人们可以通过在文件分享设备上(例如智能手机、带有无线网卡的笔记本电脑或者智能平板等)创建出无线热点,并让文件接收设备(例如智能手机、带有无线网卡的笔记本电脑或者智能平板等)连接到该热点,然后文件分享设备可以通过无线信号将所要分享的文件传输到文件接收设备上,从而实现文件的共享。
现有的这种基于无线网络的文件分享方式在连接上是通过文件共享设备和文件接收设备直接连接。但是对于一些特定的场景,如会议场景,文件接收设备不能自动连接文件分享设备创建出的热点,而是需要用户手动连接,甚至需要输入密码才能完成连接。此外,现有的基于无线网络的文件分享方式在文件接收设备连接文件分享设备的热点后,也不能自动映射文件分享设备中的共享资源,而是需要用户手动设置连接到共享进程中,才能实现对共享资源的访问,这就给用户的操作使用带来不便,影响了用户的体验;同时上述复杂的操作也需要耗费很多时间,从而影响了共享资源传输到文件接收设备的效率。
发明内容
针对上述问题,本发明的目的在于提供一种共享资源传输效率高并且具有良好的用户体验的基于无线网络的文件共享方法、设备及系统。
为了实现上述目的,本发明一方面提供了一种基于无线网络的文件共享方法,包括以下步骤:在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信;在获取到预设的文件分享设备发送的热点信号后,自动与所述文件分享设备建立无线连接;在监听到所述文件分享设备建成共享服务进程后,根据预设的共享协议与所述共享服务进程建立数据 传输通道;接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
进一步地,在所述“根据预设的协议将所述共享服务进程中的资源通过所述数据传输通道映射到所述文件接收设备上”之后,还包括:当检测到用户在所述文件接收设备上发出对所述共享资源的操作请求信号时,根据预设的操作信号数据库判断所述操作请求信号是一级操作请求信号还是二级操作请求信号;其中,所述一级操作请求信号包括对所述共享资源的打开信号;所述二级操作请求信号包括对所述共享资源的复制信号以及编辑信号;当判断所述操作请求信号为一级操作请求信号,自动发送允许操作信号到所述文件接收设备上,以使所述文件接收设备根据所述允许操作信号执行相应操作;当判断所述操作请求信号为二级操作请求信号,将所述二级操作请求信号发送到所述文件分享设备,以使所述文件分享设备在接收到所述二级操作信号后,根据用户的操作生成允许操作信号或拒绝操作信号;当接收到来自所述件分享设备传输的所述允许操作信号时,向所述文件接收设备转发所述允许操作信号,以使所述文件接收设备根据所述允许操作信号执行相应操作。
本发明另一方面提供了一种基于无线网络的文件共享设备,包括:设备描述模块,用于在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信;
无线连接模块,用于在获取到预设的文件分享设备发送的热点信号后,自动与所述文件分享设备建立无线连接;映射模块,用于在监听到所述文件分享设备建成共享服务进程后,根据预设的共享协议与所述共享服务进程建立数据传输通道;共享模块,用于接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
进一步地,所述基于无线网络的文件共享设备还包括:判断模块,用于当监听到用户在所述文件接收设备上发出对所述共享资源的操作请求信号时,根据预设的操作信号数据库判断所述操作请求信号是一级操作请求信号还是二级操作请求信号;其中,所述一级操作请求信号包括对所述共享资源共享文件的打开信号;所述二级操作请求信号包括对所述共享资源共享文件的复制信号以及对其题目或者内容的编辑信号;一级操作模块,用于当判断到所述操作请求信号为一级操作请求信号,自动发送允许操作信号到所述文件接收设备上,以使所述文件接收设备根据所述允许操作信号执行相应操作;二级操作模块,用于当判断所述操作请求信号为二级操作请求信号,将所述二级操作请求信号发送到所述文件分享设备,以使所述文件分享设备在接收到所述二级操作信号后,根据用户的操作生成允许操作信号或拒绝操 作信号;转发模块,用于当接收到来自所述件分享设备传输的所述允许操作信号时,向所述文件接收设备转发所述允许操作信号,以使所述文件接收设备根据所述允许操作信号执行相应操作。
本发明另一方面还提供了一种基于无线网络的文件共享系统,包括安装有无线网卡的文件分享设备、上述的基于无线网络的文件共享设备、以及与所述文件共享设备建立通信连接的文件接收设备;其中,所述文件分享设备,用于通过其内的无线网卡创建热点;所述文件共享设备,用于通过其内的无线网卡自动连接所述热点;所述文件分享设备,还用于通过预设的共享协议建立共享服务进程;所述文件共享设备,还用于根据预先的配置信息自动连接所述共享服务进程,并接收所述共享服务进程映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
本发明提供的一种基于无线网络的文件共享方法、设备及系统,通过所述文件共享设备自动与所述文件分享设备建立所述无线连接,并且所述文件共享设备可以根据预设的共享协议并自动通过所述无线连接与所述文件分享设备所建成的所述共享服务进程建立数据传输通道,然后所述文件共享设备接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上,从而实现了所述共享资源从所述文件分享设备自动分享到所述文件接收设备上;整个分享过程无需用户通过操作来让所述文件接收设备连接所述文件分享设备所建立的热点信号,并且所述共享服务进程的连接也是自动进行,因此节约了用户的操作的时间,从而提高了所述共享资源的传输效率,同时也提高了用户的体验。
附图说明
为了更清楚地说明本发明的技术方案,下面将对实施方式中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种基于无线网络的文件共享系统的结构示意图;
图2是本发明实施例提供的一种基于无线网络的文件共享方法的流程图;
图3是本发明实施例提供的所述文件共享设备自动连接所述热点的流程图;
图4是本发明实施例提供的另一种基于无线网络的文件共享方法的流程图;
图5是本发明实施例提供的一种基于无线网络的文件共享设备的结构示意图;
图6是本发明实施例提供的所述无线连接模块的结构示意图;
图7是本发明实施例提供的另一种基于无线网络的文件共享设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参见图1,本发明实施例提供了一种基于无线网络的文件共享系统,包括安装有无线网卡的文件分享设备20、基于无线网络的文件共享设备21、以及与所述文件共享设备21建立通信连接的文件接收设备22;其中:
所述文件分享设备20(例如笔记本电脑或者是智能平板等),用于通过其内的无线网卡创建热点;
所述文件共享设备21,用于通过其内的无线网卡自动连接所述文件分享设备20创建的热点;
所述文件分享设备20(例如笔记本电脑或者是智能平板等),还用于通过预设的共享协议建立共享服务进程。
其中,优选地,所述预设的共享协议为Samba文件共享协议。
所述文件共享设备21,还用于根据预先的配置信息自动连接所述共享服务进程,接收所述共享服务进程映射的共享资源(各种文件),并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备22上。
其中,优选地,所述文件共享设备21为根据所述存储设备协议与所述文件接收设备建立通信连接的嵌入式设备,例如为安装有无线网卡的dongle或者安装有无线网卡的U盘、移动硬盘等,在此不做具体限定;所述存储设备协议为USB Mass Storages(海量存储设备)协议。
在本发明实施例中,通过所述文件共享设备21自动与所述文件分享设备20建立所述无线连接,并且所述文件共享设备21可以根据预设的共享协议自动通过所述无线连接与所述文件分享设备20所建成的所述共享服务进程建立数据传输通道,然后所述文件共享设备21接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备22上,从而实现了所述共享资源从所述文件分享设备20自动分享到所述文件接收设备21上;整个分享过程无需用户通过操作来让所述文件接收设备22连接所述文件分享设备20所建立的热点信号,并且所述共享服务进程的连接映射也是自动进行,节约了用户的操作的时间,提高了所述共享资源的传输效率,进而提高了用户的体验。
本发明实施例还提供了一种基于无线网络的文件共享方法,用于让人们通过无线网络实现高效且快捷方便地分享文件。请参见图2,其具体包括步骤S10~步骤S13:
S10、在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信。
在本发明实施例中,当所述文件接收设备22检测到所述文件共享设备21被插入到所述文件接收设备22的接口时,所述文件共享设备21中预先安装好的嵌入式系统(例如嵌入式Linux操作系统)自动启动,这时所述文件接收设备22向所述文件共享设备21主动发起查询请求,当所述文件共享设备21接到所述查询请求后,向所述文件接收设备22发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议(例如,设备描述符中的bDeviceProtocol字符)与所述文件接收设备连接通信,所述存储设备协议优选为USB Mass Storages协议。因此无需通过用户的操作实现所述文件共享设备21自动连接所述文件接收设备22。
需要说明的是,所述文件共享设备21指的是一种安装有无线网卡,并可用于与可以创建热点信号的设备(例如安装有无线网卡的笔记本电脑、智能平板等)建立通信的设备,在本发明实施例中,所述文件共享设备21优选为根据所述存储设备协议与所述文件接收设备建立通信连接的嵌入式设备,例如为安装有无线网卡的dongle;另外所述文件接收设备22指的是可以与所述文件共享设备21建立连接的设备,例如笔记本电脑或者是智能平板等。
S11、在获取到预设的文件分享设备20发送的热点信号后,自动与所述文件分享设备20建立无线连接。
其中,所述文件分享设备20为安装有无线网卡并存有所需要分享的文件的设备(例如笔记本电脑或者是智能平板等)。参见图3,步骤S11的具体工作过程为:
S110、检测由所述文件分享设备创建的热点信号是否存在。
即所述文件共享设备21通过运行其预先安装好的嵌入式系统来实时检测所述文件分享设备20的热点信号是否存在,其中,所述文件分享设备20是通过其无线网卡创建好热点并发射出所述热点信号;
S111、当检测到所述热点信号时,根据预先保存好的热点配置信息与所述热点自动配对连接。
即所述文件共享设备21内的无线网卡在接收到所述文件分享设备20通过其无线网卡发射出的无线信号(即电磁信号)时,所述文件共享设备21根据预先保存的热点配置信息并通 过运行其嵌入式系统来自动连接所述文件分享设备20所创建好的所述热点,从而所述文件共享设备21与所述文件分享设备20建立无线连接,且所述文件接收设备22通过所述文件共享设备21与所述文件分享设备20建立无线连接。
需要说明的是,所述文件分享设备20所创建出的热点的配置信息是提前保存在所述文件共享设备21中,当所述文件共享设备21通过其无线网卡接收到所述热点发射的信号后,所述文件共享设备21通过其运行的嵌入式系统来对所述热点进行分析,当所述热点与预先保存在所述文件共享设备21中的热点配置信息相匹配时,所述文件共享设备21就自动连接所述热点。可以理解的是,当所述文件分享设备20所创建出的热点并没有进行权限设置,而是允许其他设备自由连接时,那么所述文件共享设备21就无需与所述热点进行密钥信息校验而是直接与所述热点建立无线连接。
S12、在监听到所述文件分享设备20建成共享服务进程后,根据预设的共享协议与所述共享服务进程建立数据传输通道。
在本发明实施例中,优选地,步骤S12的具体工作过程为:
S120、监听所述文件分享设备20生成的用于进行共享的共享服务进程;即,当所述文件分享设备20建成所述共享服务进程后,所述文件分享设备20会通过所述无线连接向所述文件共享设备21发送一个共享服务进程已经建成的信号。
S121、根据预设的共享协议与所述共享服务进程建立数据传输通道;即,当所述文件共享设备21接收到所述信号时,通过其嵌入式系统并根据预设的共享协议与所述共享服务进程建立数据传输通道,从而使得所述文件分享设备20可以通过所述数据传输通道将所要分享的资源传输到所述文件共享设备21。
需要说明的是,所述预设的共享协议在本发明实施例中优选为Samba文件共享协议。
S13、接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
在本发明实施例中,通过所述数据传输通道,所述共享服务进程中的资源可以按照预设的无线传输协议映射到所述文件共享设备21中,而所述文件共享设备21通过存储设备协议又可以将所述共享资源传输到所述文件接收设备22中并显示在所述文件接收设备22上,从而实现将所述文件分享设备20中需要进行分享的共享资源传输到所述文件接收设备22中。
其中,所述共享资源为需要进行分享的文件(包括图片、视频、文档等),而所述文件是被设置在所述共享服务进程的一个共享目录中,打开所述共享目录就可以看到其中的所述文件。可以理解的是,所述共享目录内还包括有子目录,所述子目录内还包括有次级子目录 等,所述文件按照用户的设置可以放在所述共享目录、所述子目录或者是所述次级子目录中。
需要说明的是,在本发明实施例中,所述存储设备协议优选为USB Mass Storages协议;通过所述USB Mass Storages协议,可以将映射在所述文件共享设备21上的所述共享资源以类似U盘存储的形式显示在所述文件接收设备22上,从而用户可以在所述文件接收设备22上对所述文件和所述共享目录进行打开或者是进行其他的操作。
综上所述,在本发明上述实施例中,通过所述文件共享设备21自动与所述文件分享设备20建立所述无线连接,并且所述文件共享设备21可以根据预设的共享协议并自动通过所述无线连接与所述文件分享设备20所建成的所述共享服务进程建立数据传输通道,然后所述文件共享设备21接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备22上,从而实现了文件从所述文件分享设备20自动分享到所述文件接收设备22上;整个分享过程无需用户通过操作来让所述文件接收设备22连接所述文件分享设备20所建立的热点信号,并且所述共享服务进程也是自动进行,因此节约了用户的操作时间,从而提高了文件的传输效率,同时也提高了用户的体验。
在此对上述发明实施例进一步展开讨论:当所述共享资源被传输到所述文件接收设备22上并显示在所述文件接收设备22上后,一般来说,用户可以在所述文件接收设备22上对所述共享资源进行打开、复制或者编辑等操作,但是有时候传输到所述文件接收设备22上的所述共享资源因为要确保其内容不能发生改变而不允许用户对所述共享资源进行编辑操作,或者是所述共享资源因为保密需要只能允许被保存在所述文件接收设备22上而不允许用户通过复制等操作来将所述共享资源传输扩散到其他设备上。
针对上述情况,在此提供本发明的一个优选实施例:
参见图4,在步骤S13之后还包括步骤S14~S17:
S14、当监听到用户在所述文件接收设备22上发出对所述共享资源的操作请求信号时,根据预设的操作信号数据库判断所述操作请求信号是一级操作请求信号还是二级操作请求信号。
具体地,当用户在所述文件接收设备22上对所述共享资源进行操作时,所述文件分享设备20就会向所述文件共享设备21发出对所述共享资源的操作请求信号时,这时所述文件共享设备21中运行的嵌入式系统就会根据预设的操作信号数据库来判断所述操作请求信号是一级操作请求信号还是二级操作请求信号;其中,所述一级操作请求信号包括对所述共享资源的打开信号;所述二级操作请求信号包括对所述共享资源的复制信号以及编辑信号。
S15、当判断所述操作请求信号为一级操作请求信号,自动发送允许操作信号到所述文件接收设备22上,以使所述文件接收设备22根据所述允许操作信号执行相应操作。
具体地,当所述文件共享设备21根据预设的操作信号数据库判断出所述操作请求信号为一级操作请求信号时,所述文件共享设备21通过所述无线连接自动发送所述允许操作信号到所述文件接收设备22上,从而使得用户可以在所述文件接收设备22根据所述允许操作信号来执行相应操作,即,用户可以打开所述文件接收设备22中的所述共享资源。可以理解的是,对所述共享资源进行打开操作并不会改变其内容,也不会因为通过对其进行复制操作而传输到其他设备上而破坏所述共享资源的保密性。需要说明的是,所述预设的信号数据库预先保存好一级操作信号和二级操作信号的信号信息。
S16、当判断所述操作请求信号为二级操作请求信号,将所述二级操作请求信号发送到所述文件分享设备20,以使所述文件分享设备20在接收到所述二级操作信号后,根据用户的操作生成允许操作信号或拒绝操作信号。
具体地,当所述文件共享设备21根据预设的操作信号数据库判断出所述操作请求信号为二级操作请求信号时,所述文件共享设备21通过所述无线连接自动将所述二级操作请求信号发送到所述文件分享设备20上,以使所述文件分享设备20在接收到所述二级操作信号后,在所述文件分享设备20上向用户发出提示,当用户在所述文件分享设备20上根据所述提示执行相应操作而生成允许操作信号或拒绝操作信号,这样可以方便用户对所述共享资源;优选地,所述提示为在所述文件分享设备20的显示屏上生成的“是”或“否”选框,当用户选择“是”选框时,所述文件分享设备20就生成所述允许操作信号;当用户选择“否”选框时,所述文件分享设备20就生成所述拒绝操作信号。需要说明的是,所述提示还可以是其他手段,只要该种提示可以方便用户根据相应指示而对所述二级操作信号进行操作,那么就在本发明的保护范围之内。
S17、当接收到来自所述件分享设备传输的所述允许操作信号时,向所述文件接收设备22转发所述允许操作信号,以使所述文件接收设备22根据所述允许操作信号执行相应操作。
具体地,当所述文件共享设备21接收到来自所述件分享设备传输的所述允许操作信号时,所述文件共享设备21就向所述文件接收设备22转发所述允许操作信号;这时,用户就可以在所述文件接收设备22上根据所述允许操作信号对所述文件执行相应操作;例如,当所述允许操作信号是关于对所述共享资源的复制的允许操作信号时,用户就可以在所述文件接收设备22上对所述共享资源进行复制;当所述允许操作信号是关于对所述共享资源的编辑的允许操作信号时,用户就可以在所述文件接收设备22上对所述共享资源进行编辑。
在本发明的优选实施例中,因为可以对用户在所述文件接收设备22上所对所述共享资源 的操作类型的判断,特别是当判断出该操作类型为复制操作或者编辑操作时,可以根据实际需要是否允许用户在所述文件接收设备22上对所述共享资源进行复制或者编辑,这样可以增加对所述共享资源的操作灵活性,从而提高了用户的操作体验。例如当基于保密的需要可以不允许用户通过复制操作来将所述共享资源传输到其他设备上,或者是基于保持所述共享资源的内容不发生改变的需要而不允许用户通过编辑操作来改变所述共享资源的内容。
参见图5,本发明实施例还提供了一种基于无线网络的文件共享设备,包括:
设备描述模块10,用于在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信。
无线连接模块11,用于在获取到预设的文件分享设备20发送的热点信号后,自动与所述文件分享设备20建立无线连接;
映射模块12,用于在监听到所述文件分享设备20建成共享服务进程后,根据预设的共享协议与所述共享服务进程建立数据传输通道;
共享模块13,用于接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。其中,所述存储设备协议优选为USB Mass Storages协议。
在本发明实施中,优选地,参见图6,所述无线传输模块11具体包括:
热点检测单元110,用于检测由所述文件分享设备20创建的热点信号是否存在;
热点连接单元111,用于当检测到所述热点信号时,根据预先保存好的热点配置信息与所述热点自动配对连接。
综上所述,在本发明实施例中,通过所述检测模块10自动将所述文件共享设备21与所述文件接收设备22建立连接,并通过所述无线连接模块11自动将所述文件共享设备21与所述文件分享设备20建立无线连接,然后通过所述映射模块12自动将所述文件共享设备21与所述文件分享设备20所建成的所述共享服务进程建立数据传输通道,最后所述共享模块13根据海量存储设备协议自动将映射到所述文件共享设备21上的所述共享服务进程中的资源传输到所述文件接收设备22并显示在文件接收设备22上,从而实现了文件从所述文件分享设备20自动分享到所述文件接收设备22上;整个分享过程无需用户通过操作来让所述文件接收设备22连接所述文件分享设备20所建立的热点信号,并且所述共享服务进程也是自动 进行,因此节约了用户的操作时间,从而提高了文件的传输效率,同时也提高了用户的体验。
在此提供本发明的一个优选实施例:
参见图7,所述设备还包括:
判断模块14,用于当监听到用户在所述文件接收设备22上发出对所述共享资源的操作请求信号时,根据预设的操作信号数据库判断所述操作请求信号是一级操作请求信号还是二级操作请求信号;其中,所述一级操作请求信号包括对所述共享资源共享文件的打开信号;所述二级操作请求信号包括对所述共享资源共享文件的复制信号以及对其题目或者内容的编辑信号;
一级操作模块15,用于当判断到所述操作请求信号为一级操作请求信号,自动发送允许操作信号到所述文件接收设备22上,以使所述文件接收设备22根据所述允许操作信号执行相应操作;
二级操作模块16,用于当判断所述操作请求信号为二级操作请求信号,将所述二级操作请求信号发送到所述文件分享设备20,以使所述文件分享设备20在接收到所述二级操作信号后,根据用户的操作生成允许操作信号或拒绝操作信号;
转发模块17,用于当接收到来自所述件分享设备传输的所述允许操作信号时,向所述文件接收设备22转发所述允许操作信号,以使所述文件接收设备22根据所述允许操作信号执行相应操作。
在本发明的优选实施例中,因为通过所述判断模块14可以对用户在所述文件接收设备22上所对所述共享资源的操作类型的判断,特别是当所述二级操作模块1616判断出该操作类型为复制操作或者编辑操作时,可以根据实际需要是否允许用户在所述文件接收设备22上对所述共享资源进行复制或者编辑,这样可以增加对所述共享资源的操作灵活性,从而提高了用户的操作体验。
以上所揭露的仅为本发明一部分较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。

Claims (10)

  1. 一种基于无线网络的文件共享方法,其特征在于,包括以下步骤:
    在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信;
    在获取到预设的文件分享设备发送的热点信号后,自动与所述文件分享设备建立无线连接;
    在监听到所述文件分享设备建成共享服务进程后,根据预设的共享协议自动与所述共享服务进程建立数据传输通道;
    接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据所述存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
  2. 根据权利要求1所述的基于无线网络的文件共享方法,其特征在于,在所述“接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上”之后,还包括:
    当监听到用户在所述文件接收设备上发出对所述共享资源的操作请求信号时,根据预设的操作信号数据库判断所述操作请求信号是一级操作请求信号还是二级操作请求信号;其中,所述一级操作请求信号包括对所述共享资源的打开信号;所述二级操作请求信号包括对所述共享资源的复制信号以及编辑信号;
    当判断所述操作请求信号为一级操作请求信号,自动发送允许操作信号到所述文件接收设备上,以使所述文件接收设备根据所述允许操作信号执行相应操作;
    当判断所述操作请求信号为二级操作请求信号,将所述二级操作请求信号发送到所述文件分享设备,以使所述文件分享设备在接收到所述二级操作信号后,根据用户的操作生成允许操作信号或拒绝操作信号;
    当接收到来自所述件分享设备传输的所述允许操作信号时,向所述文件接收设备转发所述允许操作信号,以使所述文件接收设备根据所述允许操作信号执行相应操作。
  3. 根据权利要求1所述的基于无线网络的文件共享方法,其特征在于,所述“在获取到预设的文件分享设备发送的热点信号后,自动与所述文件分享设备建立无线连接”具体为:
    检测由所述文件分享设备创建的热点信号是否存在;
    当检测到所述热点信号时,根据预先保存的热点配置信息与所述热点自动配对连接。
  4. 根据权利要求1所述的基于无线网络的文件共享方法,其特征在于,所述存储设备协议为USB Mass Storages协议。
  5. 一种基于无线网络的文件共享设备,其特征在于,包括:
    设备描述模块,用于在接收到来自文件接收设备的查询请求时,向所述文件接收设备发送自身的设备描述符,并根据与所述设备描述符定义的存储设备协议与所述文件接收设备连接通信;
    无线连接模块,用于在获取到预设的文件分享设备发送的热点信号后,自动与所述文件分享设备建立无线连接;
    映射模块,用于在监听到所述文件分享设备建成共享服务进程后,根据预设的共享协议与所述共享服务进程建立数据传输通道;
    共享模块,用于接收所述共享服务进程基于所述数据传输通道映射的共享资源,并根据所述存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
  6. 根据权利要求5所述的基于无线网络的文件共享设备,其特征在于,所述设备还包括:
    判断模块,用于当监听到用户在所述文件接收设备上发出对所述共享资源的操作请求信号时,根据预设的操作信号数据库判断所述操作请求信号是一级操作请求信号还是二级操作请求信号;其中,所述一级操作请求信号包括对所述共享资源的打开信号;所述二级操作请求信号包括对所述共享资源的复制信号以及编辑信号;
    一级操作模块,用于当判断到所述操作请求信号为一级操作请求信号,自动发送允许操作信号到所述文件接收设备上,以使所述文件接收设备根据所述允许操作信号执行相应操作;
    二级操作模块,用于当判断所述操作请求信号为二级操作请求信号,将所述二级操作请求信号发送到所述文件分享设备,以使所述文件分享设备在接收到所述二级操作信号后,根据用户的操作生成允许操作信号或拒绝操作信号;
    转发模块,用于当接收到来自所述件分享设备传输的所述允许操作信号时,向所述文件接收设备转发所述允许操作信号,以使所述文件接收设备根据所述允许操作信号执行相应操作。
  7. 根据权利要求5所述的基于无线网络的文件共享设备,其特征在于,所述无线连接模块包括:
    热点检测单元,用于检测由所述文件分享设备创建的热点信号是否存在;
    热点连接单元,用于当检测到所述热点信号时,根据预先保存好的热点配置信息与所述热点自动配对连接。
  8. 根据权利要求5所述的基于无线网络的文件共享设备,其特征在于,所述存储设备协议为USB Mass Storages协议。
  9. 一种基于无线网络的文件共享系统,其特征在于,包括安装有无线网卡的文件分享设备、如权利要求5-8任意一项所述的基于无线网络的文件共享设备、以及与所述文件共享设备建立通信连接的文件接收设备;其中,
    所述文件分享设备,用于通过其内置的无线网卡创建热点;
    所述文件共享设备,用于通过其内置的无线网卡自动连接所述热点;
    所述文件分享设备,还用于通过预设的共享协议建立共享服务进程;
    所述文件共享设备,还用于根据预存的配置信息自动连接所述共享服务进程,接收所述共享服务进程映射的共享资源,并根据存储设备协议将接收到的所述共享资源显示在所述文件接收设备上。
  10. 根据权利要求9的基于无线网络的文件共享系统,其特征在于,所述文件共享设备为根据所述存储设备协议与所述文件接收设备建立通信连接的嵌入式设备。
PCT/CN2016/113351 2016-08-31 2016-12-30 一种基于无线网络的文件共享方法、设备及系统 Ceased WO2018040434A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610786876.2 2016-08-31
CN201610786876.2A CN106341905B (zh) 2016-08-31 2016-08-31 一种基于无线网络的文件共享方法、设备及系统

Publications (1)

Publication Number Publication Date
WO2018040434A1 true WO2018040434A1 (zh) 2018-03-08

Family

ID=57822358

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113351 Ceased WO2018040434A1 (zh) 2016-08-31 2016-12-30 一种基于无线网络的文件共享方法、设备及系统

Country Status (2)

Country Link
CN (1) CN106341905B (zh)
WO (1) WO2018040434A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913269B (zh) * 2019-11-28 2021-08-24 山东云缦智能科技有限公司 一种实现机顶盒dongle设备与Linux终端无线连接的方法
CN114465998B (zh) * 2021-12-14 2023-09-22 深圳市优必选科技股份有限公司 多设备的文件传输方法、装置、终端设备及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080155058A1 (en) * 2006-12-22 2008-06-26 Srikiran Prasad Data synchronization by communication of modifications
WO2010119337A1 (en) * 2009-04-17 2010-10-21 Nokia Corporation Method, apparatus and computer program product for sharing resources via an interprocess communication
CN102170473A (zh) * 2011-04-21 2011-08-31 中兴通讯股份有限公司 资源共享系统、移动终端及资源共享方法
CN102281307A (zh) * 2010-06-09 2011-12-14 恩极网络无锡有限公司 一种基于虚拟文件系统方式的远程数据信息共享方法
CN103428277A (zh) * 2013-07-31 2013-12-04 深圳市华讯方舟科技有限公司 通过与无线路由器无线连接的智能设备访问物理连接于无线路由器的移动存储设备的方法
CN104348901A (zh) * 2014-06-30 2015-02-11 腾讯科技(深圳)有限公司 文件传输方法、文件传输装置及文件传输系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686165B (zh) * 2008-09-28 2012-08-22 联想(北京)有限公司 芯片装置及用该装置访问网络共享文件的方法
CN102970313A (zh) * 2011-08-31 2013-03-13 北京中电华大电子设计有限责任公司 一种基于wlan技术实现无线虚拟u盘的系统
CN103595721B (zh) * 2013-11-14 2017-12-01 福建伊时代信息科技股份有限公司 网盘文件安全共享方法、共享装置及共享系统
CN104821982A (zh) * 2015-03-27 2015-08-05 深圳市金立通信设备有限公司 一种数据恢复方法
CN105656991A (zh) * 2015-12-21 2016-06-08 北京金山安全软件有限公司 文件分享方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080155058A1 (en) * 2006-12-22 2008-06-26 Srikiran Prasad Data synchronization by communication of modifications
WO2010119337A1 (en) * 2009-04-17 2010-10-21 Nokia Corporation Method, apparatus and computer program product for sharing resources via an interprocess communication
CN102281307A (zh) * 2010-06-09 2011-12-14 恩极网络无锡有限公司 一种基于虚拟文件系统方式的远程数据信息共享方法
CN102170473A (zh) * 2011-04-21 2011-08-31 中兴通讯股份有限公司 资源共享系统、移动终端及资源共享方法
CN103428277A (zh) * 2013-07-31 2013-12-04 深圳市华讯方舟科技有限公司 通过与无线路由器无线连接的智能设备访问物理连接于无线路由器的移动存储设备的方法
CN104348901A (zh) * 2014-06-30 2015-02-11 腾讯科技(深圳)有限公司 文件传输方法、文件传输装置及文件传输系统

Also Published As

Publication number Publication date
CN106341905A (zh) 2017-01-18
CN106341905B (zh) 2019-09-20

Similar Documents

Publication Publication Date Title
US11889453B2 (en) Method and apparatus for registering wireless device in wireless communication system
US11671813B2 (en) Function execution device and communication terminal
US7716475B2 (en) Mobile station and communication control method
JP4606055B2 (ja) 暗号鍵設定システム、アクセスポイントおよび暗号鍵設定方法
US20180324182A1 (en) Network access control method and apparatus
CN106412909B (zh) 一种设备连接的方法及装置
CN104735814A (zh) 自动接入WiFi网络的接入方法、系统、和相关装置
CN102082589B (zh) 保存联系方式的方法、装置和系统
CN103414740B (zh) 一种私有云的账户配置方法和装置
WO2016173190A1 (zh) 信息提供方法和装置
US9942751B2 (en) Audio proximity-based mobile device data sharing
WO2020011194A1 (zh) 一种无线连接方法及设备
CN104462033A (zh) 在设备间实现编辑操作的方法及设备
WO2018233681A1 (zh) 终端的呼叫方法及相关设备
CN106713418A (zh) 重置结果确认方法、装置、服务器和移动终端
WO2016101545A1 (zh) 设备管理方法、装置及系统
CN105554845B (zh) 一种接入的方法、路由器及终端
CN111970676A (zh) WiFi热点接入方法、装置、设备及存储介质
WO2018040434A1 (zh) 一种基于无线网络的文件共享方法、设备及系统
CN106034130A (zh) 数据访问方法及装置
US20160157083A1 (en) Connection creation
WO2018027335A1 (zh) 一种待机方法、解除终端锁定的方法、通信方法及系统
CN104540183B (zh) 一种无线热点的控制方法和装置
WO2018076613A1 (zh) 无线网络连接的流量控制方法、装置及可读取存储介质
CN108024250A (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: 16914994

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 1205N DATED 08/05/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16914994

Country of ref document: EP

Kind code of ref document: A1