WO2015081875A1 - 一种终端设备之间分享文件的方法及装置 - Google Patents

一种终端设备之间分享文件的方法及装置 Download PDF

Info

Publication number
WO2015081875A1
WO2015081875A1 PCT/CN2014/093045 CN2014093045W WO2015081875A1 WO 2015081875 A1 WO2015081875 A1 WO 2015081875A1 CN 2014093045 W CN2014093045 W CN 2014093045W WO 2015081875 A1 WO2015081875 A1 WO 2015081875A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
file
sharing application
device side
file 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
Application number
PCT/CN2014/093045
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Publication of WO2015081875A1 publication Critical patent/WO2015081875A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the invention belongs to the technical field of computers, and in particular relates to a method and a device for sharing files between terminal devices.
  • the present invention has been made in order to provide a method and apparatus for sharing files between terminal devices that overcome the above problems or at least partially solve the above problems.
  • a method for sharing a file between terminal devices which is applied to a first terminal device side, and includes: creating a wireless local area network with the first terminal device as a wireless hotspot; receiving at least one a connection request sent by the second terminal device to the first terminal device; establishing a long connection between the first terminal device and the at least one second terminal device according to the connection request; in the first terminal device Selecting a file to be shared, and sending the file to be shared to the at least one second terminal device.
  • a computer program comprising computer readable code for performing the aforementioned method of sharing a file between terminal devices when said computer readable code is run on a computer.
  • an apparatus for sharing a file between terminal devices which is applied to a first terminal device side, and includes:
  • a wireless local area network creating module configured to create a wireless local area network that uses the first terminal device as a wireless hotspot
  • connection request receiving module configured to receive a connection request sent by the at least one second terminal device to the first terminal device
  • a long connection establishing module configured to establish a long connection between the first terminal device and the at least one second terminal device according to the connection request
  • a file sharing module configured to select a file to be shared from the first terminal device, and send the file to be shared to the at least one second terminal device.
  • the embodiment of the present invention has the following beneficial effects: in the embodiment of the present invention, the first terminal device creates a wireless local area network with the first terminal device as a wireless hotspot, and the second terminal device can pass the wireless After the local area network is connected to the first terminal device, the second terminal device can receive the file shared between the first terminal devices without using the traffic.
  • the first terminal device can share the picture, video, music, document, and application in the first terminal device to the second terminal device, and can satisfy the user between the first terminal device and the second terminal device in a simple manner.
  • the need to share files in real time, on the other hand, sharing files between the first terminal device and the second terminal device does not require any terminal device traffic.
  • FIG. 1 is a flow chart showing a method of sharing files between terminal devices according to Embodiment 1 of the present invention
  • FIG. 2 is a flow chart showing a method of sharing files between terminal devices according to Embodiment 2 of the present invention
  • FIG. 3 is a block diagram showing an apparatus for sharing files between terminal devices according to Embodiment 3 of the present invention.
  • FIG. 4 is a block diagram showing an apparatus for sharing files between terminal devices in Embodiment 4 of the present invention.
  • Figure 5 schematically shows a block diagram of a server for performing the method according to the invention
  • Fig. 6 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • the first terminal device creates a wireless local area network with the first terminal device as a wireless hotspot (Hotspot), and then sends the file in the first terminal device to the at least one second terminal with which the connection is established. On the device.
  • Hotspot wireless hotspot
  • a first embodiment of the present invention provides a method for sharing a file between terminal devices, where the method 100 is applied to a first terminal device side, and the method 100 includes:
  • Step S101 Create a wireless local area network with the first terminal device as a wireless hotspot.
  • the wireless local hotspot can be created by triggering the first terminal device to enable the wireless hotspot function.
  • the first terminal device can be created.
  • the name of the wireless hotspot may include two parts. The first part is the name of the manufacturer or the name of the software, so that the user can quickly distinguish the wireless hotspot according to the name of the manufacturer or the name of the software, and the second part is a random number, for example, a four-digit random number, preferably The first part is the name of the software.
  • the software can be a 360 mobile assistant.
  • the name of the software can be expressed as “360ZHUSHOU”.
  • the name of the wireless hotspot can be expressed as “360ZHUSHOU8527”, where “8527” is random.
  • the number can be understood that the representation of the name of the wireless hotspot is not limited in the embodiment of the present invention.
  • the access password of the wireless hotspot is mainly used to verify whether other terminal devices are allowed to access the wireless hotspot, and the access is allowed only when the access password is correct.
  • the wireless access password can be a six-digit or eight-bit random number, which can be automatically generated by the first terminal device when creating a wireless hotspot.
  • the first terminal device may be a computing device or a mobile device having a wireless network card, and the first terminal device may create a wireless hotspot by using a wireless network card, where the computing device is capable of running according to a program.
  • Intelligent electronic devices that automatically and massively process massive amounts of data, such as desktop computers, notebook computers, etc.; the mobile devices are computing devices that can be used on the move, such as mobile phones.
  • the wireless local area network with the first terminal device as the wireless hotspot is created on the first terminal device side in the following manner. That is, before the step S101, the file sharing application is first run on the first terminal device side.
  • the file sharing application may be a 360 mobile phone assistant, which is of course not limited thereto.
  • the first terminal device side receives a creation command for creating a wireless local area network through the file sharing application, and when the creation command is received, creates a wireless local area network with the first terminal device as a wireless hotspot.
  • the 360 mobile assistant is operated on the first terminal device side, and the file sharing button is set on the operation interface of the 360 mobile assistant.
  • the button click event of the user clicking the file sharing button is detected, it is equivalent to the first terminal device side.
  • the user sends a creation command for creating a wireless local area network to the first terminal device through the file sharing button on the 360 mobile phone assistant, and then the first terminal device creates a wireless local area network with the first terminal device as a wireless hotspot according to the creation command.
  • Android Android
  • the wifimanager interface can be invoked through the Java reflection mechanism to control the opening or closing of the wireless hotspot switch in the first terminal device.
  • the code for creating a wireless hotspot by using the first terminal device is as follows:
  • Flag (Boolean)method.invoke(wifiManager,apConfig,enabled);
  • Step S103 Receive a connection request sent by the at least one second terminal device to the first terminal device.
  • the second terminal device may be a computing device or a mobile device having a wireless network card, and the second terminal device may search for a wireless hotspot through the wireless network card, and establish a connection with the wireless hotspot,
  • the computing device is an intelligent electronic device capable of operating according to a program to automatically and massively process massive amounts of data, such as a desktop computer, a notebook computer, etc.;
  • the first terminal device may receive, by the first terminal device, a connection request to the first terminal device, that is, the first terminal device may simultaneously receive the connection request of the multiple second terminal devices.
  • the connection request includes: a name of the wireless hotspot and an access password of the wireless hotspot, and an access password of the wireless hotspot in the connection request is input by a user on the second terminal device side.
  • Step S105 Establish a long connection between the first terminal device and the at least one second terminal device according to the connection request.
  • the first terminal device can establish a long connection with one, two or more second terminal devices at the same time, so that the first terminal device simultaneously sends the file to the plurality of second terminal devices, and is at the first Sharing files between the terminal device and the second terminal device does not require the traffic of any terminal device on both sides.
  • the connection request from the second terminal device may be verified, for example, in the first terminal device to the connection request.
  • the access password of the wireless hotspot is verified, that is, whether the access password input by the user on the second terminal device side is the same as the access password generated by the first terminal device; if the authentication is passed, the first terminal device is run.
  • the so-called long connection means that multiple data packets can be continuously transmitted on one connection. During the connection hold period, if there is no data packet transmission, both parties need to send a link detection packet.
  • the long connection may be a TCP (Transmission Control Protocol) long connection, a Socket long connection, or an HTTP (HyperText Transfer Protocol) long connection.
  • the second terminal device may receive the file to be shared sent by the first terminal device by using the file sharing application, and if the file sharing application is not installed in the second terminal device, the first terminal device and the second terminal device After the terminal device establishes the long connection, the first terminal device may invite the second terminal device to install the file sharing application, where the file sharing application has a function of file sending and/or file receiving, for example, the file sharing application may be a 360 mobile assistant.
  • the file sharing application has a function of file sending and/or file receiving, for example, the file sharing application may be a 360 mobile assistant.
  • the file sharing application may be a 360 mobile assistant.
  • the specific method is as follows:
  • the method 100 further includes: sending, at the first terminal device side, an installation package of the file sharing application in the first terminal device to the at least one a second terminal device, after the second terminal device side installs the file sharing application according to the received installation package of the file sharing application, the second terminal device receives the first through the file sharing application The file to be shared sent by the terminal device.
  • the operating system of the end device is an Android (Android) operating system.
  • a server for example, an FTP server
  • address information of an installation package of the file sharing application is generated, when receiving at least one second.
  • the download request When downloading the download request of the installation package of the file sharing application sent by the terminal device, the download request includes the address information of the installation package of the file sharing application, and the installation package of the file sharing application in the first terminal device is performed on the first terminal device side. Send to at least one second terminal device.
  • the method 100 further includes: generating, on the first terminal device side, address information of an installation package of the file sharing application in a two-dimensional code format; Receiving, by the terminal device side, the download request sent by the at least one second terminal device, where the download request includes address information of an installation package of the file sharing application; and the file sharing application is performed on the first terminal device side
  • the installation package is sent to the at least one second terminal device, and after the second terminal device side installs the file sharing application according to the received installation package of the file sharing application, the second terminal device passes the file.
  • the sharing application receives the file to be shared sent by the first terminal device.
  • Step S107 Select a file to be shared on the first terminal device side, and send the file to be shared to at least one second terminal device.
  • the file sharing command is received by the file sharing application on the first terminal device side; in the case that the file sharing command is received, the file selection interface is generated by the file sharing application on the first terminal device side;
  • the file selection interface selects a file to be shared from the first terminal device, for example, selects an installation package of “360 guards” or an installation package of “360 optimization master” on the first terminal by using a file selection interface on the first terminal device.
  • the shared file finally sends the selected file to be shared to at least one second terminal device with which the long connection is established, thereby satisfying the requirement for the user to share the file between the first terminal device and the second terminal device in real time.
  • the file to be shared may be an installation package, a video, a document, a picture, and the like of the application, and is not limited thereto.
  • Step S109 Record sharing information on the first terminal device side, where the sharing information includes at least one of the following: a name of the file, a time of sending the file, and a size of the file.
  • the file sharing application records the sharing information shared by the file on the first terminal device, and the sharing information includes at least one of the following: : The name of the file, the time the file was sent, and the size of the file. See the table below:
  • the first terminal device creates a wireless local area network with the first terminal device as a wireless hotspot, and after the second terminal device can be connected to the first terminal device through the wireless local area network, the second terminal device may not In the case of the consumption of traffic, the file shared between the first terminal devices is received.
  • the user of the first terminal device can share the picture, the video, the music, the document, and the application in the first terminal device to the second terminal device.
  • the first terminal device and the second terminal device can be satisfied in a convenient manner.
  • the need to share files, on the other hand, sharing files between the first terminal device and the second terminal device does not require any terminal device traffic.
  • a long connection is established between the second terminal device and the first terminal device that is the wireless hotspot, and then the file to be shared sent by the first terminal device is received and saved on the second terminal device side.
  • a second embodiment of the present invention provides a method for sharing a file between terminal devices, where the method 200 is applied to a second terminal device side, and the method 200 includes:
  • Step S201 Search for a wireless local area network created by the first terminal device that uses the first terminal device as a wireless hotspot.
  • the second terminal device side searches for the wireless hotspot.
  • the first terminal device and the second terminal device may be a computing device or a mobile device with a wireless network card, where the first terminal device may pass The wireless network card creates a wireless hotspot, and the second terminal device can search for the wireless hotspot through the wireless network card and establish a connection with the wireless hotspot, wherein the computing device is an intelligent electronic device capable of operating according to a program to automatically and massively process massive data.
  • the mobile device is a computing device that can be used on the move, such as a mobile phone.
  • the file sharing application is run on the second terminal device side, and then the search function of searching for the wireless local area network created by the first terminal device and using the first terminal device as the wireless hotspot is received by the file sharing application on the second terminal device side;
  • the search command is received, the wireless local area network created by the first terminal device and having the first terminal device as a wireless hotspot is searched.
  • the above file sharing application refers to software having a function of sending and/or receiving files, for example, a 360 mobile assistant, running a 360 mobile assistant on the second terminal side, and a file receiving button is set on the operation interface of the 360 mobile assistant, if it is detected
  • the user clicks the button click event of the file receiving button that is, the user on the second terminal device side sends a wireless search to the second terminal device through the 360 mobile phone assistant to search for the wireless device with the first terminal device as the wireless hotspot created by the first terminal device.
  • a search command of the local area network and then the second terminal device according to the search The command searches for a wireless local area network created by the first terminal device with the first terminal device as a wireless hotspot.
  • Step S203 Send a connection request to the first terminal device obtained by the search.
  • one, two or more second terminal devices send a connection request to the searched first terminal device, that is, the first terminal device can simultaneously receive connection requests of multiple second terminal devices.
  • the connection request includes: a name of the wireless hotspot and an access password of the wireless hotspot, and the first terminal device side verifies the access password of the wireless hotspot in the connection request, and if the verification passes, proceeds to step S205.
  • the access password of the wireless hotspot in the connection request is input by the user on the second terminal device side.
  • Step S205 Establish a long connection between the second terminal device side and the first terminal device according to the connection request.
  • one, two, or more than two second terminal devices can establish a long connection with the first terminal device at the same time, so that the first terminal device simultaneously transmits the file to the plurality of second terminal devices, and is at the first terminal. Sharing files between the device and the second terminal device does not require any terminal device traffic.
  • the so-called long connection means that multiple data packets can be continuously transmitted on one connection. During the connection hold period, if there is no data packet transmission, both parties need to send a link detection packet.
  • the long connection may be a TCP (Transmission Control Protocol) long connection, a Socket long connection, or an HTTP (HyperText Transfer Protocol) long connection.
  • Step S207 Receive, on the second terminal device side, the file to be shared sent by the first terminal device.
  • the file receiving command is received by the file sharing application on the second terminal device side; and the file receiving application is received by the file sharing application on the second terminal device side when the file receiving command is received A file to be shared sent by a terminal device.
  • Step S209 Recording the receiving information on the second terminal device side, and the receiving information includes at least one of the following: a name of the file, a time of receiving the file, and a size of the file.
  • the second terminal device side records the received information through the file sharing application, and the received information includes at least one of the following: a name of the file, a time of receiving the file, and a size of the file.
  • the first terminal device creates a wireless local area network with the first terminal device as a wireless hotspot, and after the second terminal device can be connected to the first terminal device through the wireless local area network, the second terminal device may not In the case of the consumption of traffic, the file shared between the first terminal devices is received.
  • the user of the first terminal device can take pictures, videos, music,
  • the document and the application are shared by the second terminal device, and the content of the file sharing between the first terminal device and the second terminal device can be satisfied in a simple manner, and the first terminal device and the second terminal device are shared between the first terminal device and the second terminal device.
  • the file does not need to consume traffic from any terminal device on both sides.
  • the third embodiment of the present invention corresponds to the method for sharing files between the terminal devices according to the first embodiment, and the present invention further provides a device for sharing files between terminal devices.
  • a third embodiment of the present invention provides a device for sharing a file between terminal devices, which is applied to a first terminal device side, and the device 300 includes:
  • the wireless local area network creating module 301 is configured to create a wireless local area network with the first terminal device as a wireless hotspot; the operating system of the first terminal device is an Android (Android) operating system, for example, for the Android operation, the wireless local area network is created.
  • the module 301 can invoke the wifimanager interface through the Java reflection mechanism to control the opening or closing of the hotspot switch in the first terminal device.
  • the code for creating a wireless hotspot by the wireless local area network creation module 301 is as follows:
  • Flag (Boolean)method.invoke(wifiManager,apConfig,enabled);
  • the connection request receiving module 303 is configured to receive a connection request sent by the at least one second terminal device to the first terminal device.
  • the connection request includes: a name of the wireless hotspot and an access password of the wireless hotspot, where the name of the wireless hotspot includes: a name of the file sharing application and a random number, for example, the name of the file sharing application is “360ZHUSHOU”, and the random number is “ 8527", that is, the name of the wireless hotspot is "360ZHUSHOU8527", of course, it can be understood that the expression of the name of the wireless hotspot is not limited in the embodiment of the present invention.
  • the access password of the wireless hotspot can be a six-digit or eight-digit random number. The security of the wireless local area network is improved by the access password of the wireless hotspot.
  • the long connection establishing module 305 is configured to establish a long connection between the first terminal device and the at least one second terminal device according to the connection request.
  • the connection request from the second terminal device may be verified.
  • the long connection establishing module 305 includes: a verification unit, configured to: in the first terminal device, verify an access password of the wireless hotspot in the connection request; and a long connection unit, configured to establish in the case that the verification unit passes the verification A long connection between the first terminal device and the at least one second terminal device.
  • the so-called long connection means that multiple data packets can be continuously transmitted on one connection.
  • the long connection may be a TCP (Transmission Control Protocol) long connection, a Socket long connection, or an HTTP (HyperText Transfer Protocol) long connection.
  • TCP Transmission Control Protocol
  • Socket Socket
  • HTTP HyperText Transfer Protocol
  • the file sharing module 307 is configured to select a file to be shared from the first terminal device, and send the file to be shared to the at least one second terminal device.
  • the file sharing module 307 includes: a file sharing command receiving unit, configured to receive a file sharing command by using the file sharing application on the first terminal device side; and a file selection interface generating unit, configured to receive the file
  • a file selection interface is generated by the file sharing application on the first terminal device side, and a file selection unit is configured to use the file selection interface from the first terminal device side to The file to be shared is selected in the first terminal device, and the file to be shared is sent to the at least one second terminal device.
  • the apparatus 300 further includes: a sharing information recording module 309, configured to record sharing information on the first terminal device side, where the sharing information includes at least one of the following: a name of the file, a time and a file to send the file the size of.
  • a sharing information recording module 309 configured to record sharing information on the first terminal device side, where the sharing information includes at least one of the following: a name of the file, a time and a file to send the file the size of.
  • the apparatus 300 further includes: an operation module, configured to run a file sharing application on the first terminal device side; and a command receiving module, configured to receive, by using the file sharing application, to create a wireless local area network on the first terminal device side Creating a command; in case the receiving command is received, triggering the wireless local area network creating module to create a wireless local area network with the first terminal device as a wireless hotspot.
  • an operation module configured to run a file sharing application on the first terminal device side
  • a command receiving module configured to receive, by using the file sharing application, to create a wireless local area network on the first terminal device side Creating a command; in case the receiving command is received, triggering the wireless local area network creating module to create a wireless local area network with the first terminal device as a wireless hotspot.
  • the second terminal device may receive the file to be shared sent by the first terminal device by using the file sharing application, and if the file sharing application is not installed in the second terminal device, the first terminal device and the first terminal device After the second terminal device establishes a long connection, the first terminal device may invite the second terminal device to install the file sharing application.
  • the apparatus 300 further includes:
  • a first installation package sending module configured to be in the first terminal device on the first terminal device side
  • the installation package of the file sharing application is sent to the at least one second terminal device, and after the second terminal device side installs the file sharing application according to the received installation package of the file sharing application, Receiving, by the second terminal device, the file to be shared sent by the first terminal device by using the file sharing application.
  • the apparatus 300 further includes:
  • a two-dimensional code generating module configured to generate address information of an installation package of the file sharing application in a two-dimensional code format on the first terminal device side;
  • An address information receiving module configured to receive, by the first terminal device side, a download request sent by the at least one second terminal device, where the download request includes address information of an installation package of the file sharing application;
  • a second installation package sending module configured to send, on the first terminal device side, an installation package of the file sharing application to the at least one second terminal device, where the second terminal device side is configured according to the received After the file sharing application is installed, the second terminal device receives the file to be shared sent by the first terminal device by using the file sharing application.
  • the first terminal device creates a wireless local area network with the first terminal device as a wireless hotspot, and after the second terminal device can be connected to the first terminal device through the wireless local area network, the second terminal device may not In the case of the consumption of traffic, the file shared between the first terminal devices is received.
  • the user of the first terminal device can share the picture, the video, the music, the document, and the application in the first terminal device to the second terminal device.
  • the first terminal device and the second terminal device can be satisfied in a convenient manner.
  • the need to share files, on the other hand, sharing files between the first terminal device and the second terminal device does not require any terminal device traffic.
  • the fourth embodiment of the present invention corresponds to the method for sharing files between the terminal devices of the second embodiment, and the present invention further provides an apparatus for sharing files between terminal devices.
  • Embodiment 4 of the present invention provides a device for sharing a file between terminal devices, which is applied to a second terminal device side, and the device 400 includes:
  • a WLAN search module 401 configured to search for a wireless local area network created by the first terminal device, where the first terminal device is a wireless hotspot;
  • connection request sending module 403 configured to send a connection request to the first terminal device obtained by searching
  • a long connection establishing module 405, configured to establish a long connection between the second terminal device side and the first terminal device according to the connection request;
  • the file receiving module 407 is configured to receive, on the second terminal device side, the file to be shared sent by the first terminal device.
  • connection request includes: a name of the wireless hotspot and an access password of the wireless hotspot, where the first terminal device side verifies the access password of the wireless hotspot in the connection request.
  • the device 400 further includes:
  • a running module configured to run a file sharing application on the second terminal device side
  • a search command receiving module configured to receive, by using the file sharing application, the search command of the wireless local area network created by the first terminal device that uses the first terminal device as a wireless hotspot;
  • the wireless local area network search module is triggered to search for a wireless local area network created by the first terminal device and the first terminal device is a wireless hotspot.
  • the file receiving module 407 includes:
  • a file receiving command receiving unit configured to receive a file receiving command by using the file sharing application on the second terminal device side
  • a file receiving unit configured to receive, by the file sharing application, the file to be shared sent by the first terminal device on the second terminal device side, when the file receiving command is received.
  • the device 400 further includes:
  • the receiving information recording module 409 is configured to record the receiving information on the second terminal device side, and the receiving information includes at least one of the following: a name of the file, a time of receiving the file, and a size of the file.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract, and the drawings) may be replaced by the alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • Those skilled in the art will appreciate that some or all of some or all of the means for sharing files between terminal devices in accordance with embodiments of the present invention may be implemented in practice using a microprocessor or digital signal processor (DSP).
  • DSP digital signal processor
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 5 illustrates a server, such as a search engine server, that can implement the above method in accordance with the present invention.
  • the server conventionally includes a processor 510 and a computer program product or computer readable medium in the form of a memory 530.
  • the memory 530 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 530 has a memory space 550 for program code 551 for performing any of the method steps described above.
  • storage space 550 for program code may include various program code 551 for implementing various steps in the above methods, respectively.
  • These program codes can be from one or more computer program products Read or write to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such computer program products are typically portable or fixed storage units as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 530 in the server of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 551', code that can be read by a processor, such as 510, which, when executed by a server, causes the server to perform various steps in the methods described above.

Landscapes

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

Abstract

本发明公开了一种终端设备之间分享文件的方法及装置,该方法包括:创建以所述第一终端设备为无线热点的无线局域网;接收至少一个第二终端设备向所述第一终端设备发送的连接请求;根据所述连接请求,建立所述第一终端设备和至少一个第二终端设备之间的长连接;在从所述第一终端设备中选择待分享的文件,并将所述待分享的文件发送给所述至少一个第二终端设备。通过本发明的实施例,第一终端设备可以将第一终端设备中的图片、视频、音乐、文档、应用分享给第二终端设备,一方面能够通过简便的方式满足用户在第一终端设备和第二终端设备之间分享文件的需求,另一方面在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。

Description

一种终端设备之间分享文件的方法及装置 技术领域
本发明属于计算机技术领域,尤其涉及一种终端设备之间分享文件的方法及装置。
背景技术
目前,终端设备的使用越来越普及,如大容量、大屏幕和高速CPU的手机设备层出不穷,这也为人们之间的交流提供了一种新的文件共享的方式。手机上传统的文件共享的方式有存储卡、蓝牙、手机邮箱等。但是这些共享方式都有不便之处,比如存储卡交换麻烦、蓝牙需要满足一定的距离、手机邮箱不能够实时响应。
因此,如何实时地将终端设备上照片、音频、视频、安装包等文件及时而准确地传送到其他用户的终端设备上是现有技术所面临的一个问题。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的终端设备之间分享文件的方法及装置。
依据本发明的一个方面,提供了一种终端设备之间分享文件的方法,应用于第一终端设备侧,其包括:创建以所述第一终端设备为无线热点的无线局域网;接收至少一个第二终端设备向所述第一终端设备发送的连接请求;根据所述连接请求,建立所述第一终端设备和至少一个第二终端设备之间的长连接;在从所述第一终端设备中选择待分享的文件,并将所述待分享的文件发送给所述至少一个第二终端设备。
依据本发明的另一个方面,还提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算机上运行时,将执行前述的终端设备之间分享文件的方法。
依据本发明的又一个方面,还提供了一种计算机可读介质,其中存储了前述的计算机程序。
依据本发明的再一个方面,还提供了一种终端设备之间分享文件的装置,应用于第一终端设备侧,其包括:
无线局域网创建模块,用于创建以所述第一终端设备为无线热点的无线局域网;
连接请求接收模块,用于接收至少一个第二终端设备向所述第一终端设备发送的连接请求;
长连接建立模块,用于根据所述连接请求,建立所述第一终端设备和至少一个第二终端设备之间的长连接;
文件分享模块,用于在从所述第一终端设备中选择待分享的文件,并将所述待分享的文件发送给所述至少一个第二终端设备。
由上述技术方案可知,本发明的实施例具有如下有益效果:在本发明的实施例中,通过第一终端设备创建以第一终端设备为无线热点的无线局域网,在第二终端设备可以通过无线局域网与第一终端设备连接之后,第二终端设备可以在不耗费流量的情况下,接收第一终端设备之间分享的文件。例如第一终端设备可以将第一终端设备中的图片、视频、音乐、文档、应用分享给第二终端设备,一方面能够通过简便的方式满足用户在第一终端设备和第二终端设备之间实时分享文件的需求,另一方面在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明的实施例一中终端设备之间分享文件的方法的流程图;
图2示出了根据本发明的实施例二中终端设备之间分享文件的方法的流程图;
图3示出了根据本发明的实施例三中终端设备之间分享文件的装置的框图;
图4示出了根据本发明的实施例四中终端设备之间分享文件的装置的框图;
图5示意性地示出了用于执行根据本发明的方法的服务器的框图;以及
图6示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
实施例一
在本发明的实施例一中,通过第一终端设备创建以第一终端设备为无线热点(Hotspot)的无线局域网,然后将第一终端设备中的文件发送给与其建立连接的至少一个第二终端设备上。
如图1所示,本发明的实施例一提供了一种终端设备之间分享文件的方法,该方法100应用于第一终端设备侧,该方法100包括:
步骤S101、创建以第一终端设备为无线热点的无线局域网。
具体地,可以通过触发第一终端设备开启无线热点功能,实现创建以第一终端设备为无线热点的无线局域网(WLAN,Wireless Local Area Networks),在创建该无线局域网时,可以由第一终端设备生成无线热点的名称和无线热点的接入密码。其中无线热点的名称可以包括两个部分,第一部分为厂商名称或软件的名称,使得用户能够根据厂商名称或软件的名称快速区分无线热点,第二部分为随机数,例如四位随机数,优选地,第一部分为软件的名称,该软件可以是360手机助手,该软件的名称的表现形式可以为“360ZHUSHOU”,该无线热点的名称的表现形式可以为“360ZHUSHOU8527”,其中“8527”为随机数,当然可以理解的是,在本发明的实施例中并不限定无线热点的名称的表现形式。上述无线热点的接入密码主要用于验证是否允许其他终端设备接入该无线热点,只要在接入密码正确的情况下,才允许接入。该无线接入密码可以是六位或八位随机数,通常可以由第一终端设备在创建无线热点时自动生成。在本发明的实施例中,第一终端设备可以是具有无线网卡的计算设备或者移动设备,该第一终端设备可以通过无线网卡创建无线热点,其中所述计算设备是一种能够按照程序运行,自动、高速处理海量数据的智能电子设备,如台式电脑、笔记本电脑等;所述移动设备是一种可以在移动中使用的计算设备,如手机。
可选地,在本发明的实施例中,可以采用以下方式触发在第一终端设备侧创建以第一终端设备为无线热点的无线局域网。也就是,在步骤S101之前,首先在第一终端设备侧运行文件分享应用,例如该文件分享应用可以是360手机助手,当然并不限于此。然后在第一终端设备侧通过文件分享应用接收创建无线局域网的创建命令,在接收到创建命令的情况下,创建以第一终端设备为无线热点的无线局域网。例如在第一终端设备侧运行360手机助手,该360手机助手的操作界面上设置有文件分享按钮,如果监测到用户点击该文件分享按钮的按钮点击事件,也就是相当于第一终端设备侧的用户通过该360手机助手上的文件分享按钮向第一终端设备发送创建无线局域网的创建命令,然后第一终端设备根据该创建命令创建以第一终端设备为无线热点的无线局域网。
下面以该第一终端设备的操作系统为Android(安卓)操作系统为例,来介绍第一终端设备如何开启无线热点功能。对于Android操作,可以通过Java反射机制调用wifimanager接口来控制第一终端设备中无线热点开关的开启或关闭。具体地,通过第一终端设备创建无线热点的代码如下:
WifiConfiguration apConfig=new WifiConfiguration();
apConfig.SSID=mWifiNode.getSSID();
mWifiNode.setBSSID(mMacString);
apConfig.BSSID=mMacString;//配置无线热点的名称
apConfig.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN);
apConfig.preSharedKey=null;//配置无线热点的接入密码
//通过反射调用设置无线热点
tryCfgHtcAP(apConfig);
Method method=wifiManager.getClass().getMethod(
″setWifiApEnabled″,WitiConfiguration.class,Boolean.TYPE);
//返回热点打开状态
flag=(Boolean)method.invoke(wifiManager,apConfig,enabled);
步骤S103、接收至少一个第二终端设备向第一终端设备发送的连接请求。
在本发明的实施例中,第二终端设备可以是具有无线网卡的计算设备或者移动设备,该第二终端设备可以通过该无线网卡搜索到无线热点,并与无线热点建立连接,其中,所述计算设备是一种能够按照程序运行,自动、高速处理海量数据的智能电子设备,如台式电脑、笔记本电脑等;所述移动设备是一种 可以在移动中使用的计算设备,如手机。
具体地,第一终端设备可以接收1个、2个或3个以上第二终端设备向第一终端设备发送连接请求,也就是该第一终端设备可以同时接收多个第二终端设备的连接请求。可选地,连接请求包括:无线热点的名称和无线热点的接入密码,连接请求中的无线热点的接入密码是由第二终端设备侧的用户输入。
步骤S105、根据连接请求建立第一终端设备和至少一个第二终端设备之间的长连接。
也就是,该第一终端设备可以同时与1个、2个或3个以上第二终端设备建立长连接,从而满足第一终端设备将文件同时发送给多个第二终端设备,且在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。
可选地,在本发明的一个实施例中,在步骤S105之前,为了提高无线局域网的安全性,可以对来自第二终端设备的连接请求进行验证,例如在第一终端设备对连接请求中的无线热点的接入密码进行验证,也就是验证第二终端设备侧用户输入的接入密码与第一终端设备生成的接入密码是否相同;在验证通过的情况下,才运行建立第一终端设备和至少一个第二终端设备之间的长连接。
所谓长连接,指在一个连接上可以连续发送多个数据包,在连接保持期间,如果没有数据包发送,需要双方发链路检测包。该长连接可以是TCP(Transmission Control Protocol,传输控制协议)长连接、Socket长连接或者HTTP(HyperText Transfer Protocol,超文本传输协议)长连接。
在本发明的实施例中,第二终端设备可以通过文件分享应用接收第一终端设备发送的待分享的文件,如果第二终端设备中没有安装文件分享应用,则在第一终端设备和第二终端设备建立长连接之后,第一终端设备可以邀请第二终端设备安装该文件分享应用,其中该文件分享应用具有文件发送和/或文件接收的功能,例如该文件分享应用可以是360手机助手,当然也并不限于此。具体方式如下:
在本发明的一个实施例中,在步骤S105之后,方法100还包括:在所述第一终端设备侧将所述第一终端设备中的所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。具体地,以第一终 端设备的操作系统为Android(安卓)操作系统为例,可以在第一终端设备本地搭建服务器(例如FTP服务器),并生成文件分享应用的安装包的地址信息,当接收到来自至少一个第二终端设备发送的下载该文件分享应用的安装包的下载请求时,该下载请求包括文件分享应用的安装包的地址信息,在第一终端设备侧将第一终端设备中的文件分享应用的安装包发送给至少一个第二终端设备。
在本发明的另一个实施例中,在步骤S105之后,方法100还包括:在所述第一终端设备侧生成二维码格式的所述文件分享应用的安装包的地址信息;在所述第一终端设备侧接收所述至少一个第二终端设备发送的下载请求,所述下载请求中包括所述文件分享应用的安装包的地址信息;在所述第一终端设备侧将所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过文件分享应用接收所述第一终端设备发送的所述待分享的文件。
步骤S107、在第一终端设备侧选择待分享的文件,并将待分享的文件发送给至少一个第二终端设备。
具体地,在第一终端设备侧通过文件分享应用接收文件分享命令;在接收到文件分享命令的情况下,在第一终端设备侧通过文件分享应用生成文件选择界面;在第一终端设备侧通过文件选择界面从第一终端设备中选择待分享的文件,例如通过第一终端设备上的文件选择界面在第一终端上选择“360卫士”的安装包或“360优化大师”的安装包作为待分享的文件,最后将选择的待分享的文件发送给与其建立长连接的至少一个第二终端设备,从而满足用户在第一终端设备和第二终端设备之间实时分享文件的需求。
在本发明的实施例中,待分享的文件可以是应用程序的安装包、视频、文档或者图片等,当然也并不限于此。
步骤S109、在第一终端设备侧记录分享信息,分享信息至少包括以下中的任一种:文件的名称、发送文件的时间和文件的大小。
具体地,在第一终端设备侧将待分享的文件发送给至少一个第二终端设备之后,第一终端设备上的文件分享应用记录文件分享的分享信息,分享信息至少包括以下中的任一种:文件的名称、发送文件的时间和文件的大小。参见下表:
Figure PCTCN2014093045-appb-000001
Figure PCTCN2014093045-appb-000002
在本发明的实施例中,通过第一终端设备创建以第一终端设备为无线热点的无线局域网,在第二终端设备可以通过无线局域网与第一终端设备连接之后,第二终端设备可以在不耗费流量的情况下,接收第一终端设备之间分享的文件。例如第一终端设备的用户可以将第一终端设备中的图片、视频、音乐、文档、应用分享给第二终端设备,一方面能够通过简便的方式满足第一终端设备和第二终端设备之间分享文件的需求,另一方面在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。
实施例二
在本发明的实施例二中,在第二终端设备与作为无线热点的第一终端设备之间建立长连接,然后在第二终端设备侧接收并保存第一终端设备发送的待分享的文件。
如图2所示,本发明的实施例二提供了一种终端设备之间分享文件的方法,该方法200应用于第二终端设备侧,该方法200包括:
步骤S201、搜索由第一终端设备创建的以第一终端设备为无线热点的无线局域网。
具体地,在第二终端设备侧搜索上述无线热点,在本发明的实施例中,第一终端设备和第二终端设备可以是具有无线网卡的计算设备或者移动设备,其中第一终端设备可以通过无线网卡创建无线热点,第二终端设备可以通过无线网卡搜索无线热点,并与该无线热点建立连接,其中所述计算设备是一种能够按照程序运行,自动、高速处理海量数据的智能电子设备,如台式电脑、笔记本电脑等;所述移动设备是一种可以在移动中使用的计算设备,如手机。
具体地,在第二终端设备侧运行文件分享应用,然后在第二终端设备侧通过文件分享应用接收搜索由第一终端设备创建的以第一终端设备为无线热点的无线局域网的搜索命令;在接收到搜索命令的情况下,搜索由第一终端设备创建的以第一终端设备为无线热点的无线局域网。上述文件分享应用是指具有文件发送和/或接收功能的软件,例如360手机助手,在第二终端设备侧运行360手机助手,该360手机助手的操作界面上设置有文件接收按钮,如果检测到用户点击该文件接收按钮的按钮点击事件,也就是相当于第二终端设备侧的用户通过360手机助手向第二终端设备发送搜索由第一终端设备创建的以第一终端设备为无线热点的无线局域网的搜索命令,然后第二终端设备根据该搜 索命令搜索由第一终端设备创建的以第一终端设备为无线热点的无线局域网。
步骤S203、向搜索得到的第一终端设备发送连接请求。
具体地,1个、2个或3个以上的第二终端设备向搜索到的第一终端设备发送连接请求,也就是该第一终端设备可以同时接收多个第二终端设备的连接请求。可选地,连接请求包括:无线热点的名称和无线热点的接入密码,由第一终端设备侧对连接请求中的无线热点的接入密码进行验证,并且在验证通过的情况下进入步骤S205。连接请求中的无线热点的接入密码是由第二终端设备侧的用户输入。
步骤S205、根据连接请求建立第二终端设备侧和第一终端设备之间的长连接。
也就是,1个、2个或3个以上第二终端设备可以同时与第一终端设备建立长连接,从而满足第一终端设备将文件同时发送给多个第二终端设备,且在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。所谓长连接,指在一个连接上可以连续发送多个数据包,在连接保持期间,如果没有数据包发送,需要双方发链路检测包。该长连接可以是TCP(Transmission Control Protocol,传输控制协议)长连接、Socket长连接或者HTTP(HyperText Transfer Protocol,超文本传输协议)长连接。
步骤S207、在第二终端设备侧接收第一终端设备发送的待分享的文件。
具体地,在第二终端设备侧通过所述文件分享应用接收文件接收命令;在接收到所述文件接收命令的情况下,在所述第二终端设备侧通过所述文件分享应用接收所述第一终端设备发送的待分享的文件。
步骤S209、在第二终端设备侧记录接收信息,接收信息至少包括以下中的任一种:文件的名称、接收文件的时间和文件的大小。
文件名称 接收文件的时间 文件的大小
我查查 2013/8/7 16M
360手机卫士 2013/8/7 12M
具体地,第二终端设备侧通过文件分享应用记录接收信息,所述接收信息至少包括以下中的任一种:文件的名称、接收文件的时间和文件的大小。
在本发明的实施例中,通过第一终端设备创建以第一终端设备为无线热点的无线局域网,在第二终端设备可以通过无线局域网与第一终端设备连接之后,第二终端设备可以在不耗费流量的情况下,接收第一终端设备之间分享的文件。例如第一终端设备的用户可以将第一终端设备中的图片、视频、音乐、 文档、应用分享给第二终端设备,一方面能够通过简便的方式满足第一终端设备和第二终端设备之间分享文件的需求,另一方面在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。
实施例三
本发明的实施例三,与如上所述实施例一的终端设备之间分享文件的方法相对应,本发明还提供了一种终端设备之间分享文件的装置。
如图3所示,本发明的实施例三提供了一种终端设备之间分享文件的装置,应用于第一终端设备侧,该装置300包括:
无线局域网创建模块301,用于创建以第一终端设备为无线热点的无线局域网;下面以该第一终端设备的操作系统为Android(安卓)操作系统为例,对于Android操作来说,无线局域网创建模块301可以通过Java反射机制调用wifimanager接口来控制第一终端设备中热点开关的开启或关闭。具体地,通过无线局域网创建模块301创建无线热点的代码如下:
WifiConfiguration apConfig=new WifiConfiguration();
apConfig.SSID=mWifiNode.getSSID();
mWifiNode.setBSSID(mMacString);
apConfig.BSSID=mMacString;//配置无线热点的名称
apConfig.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN);
apConfig.preSharedKey=null;//配置无线热点的接入密码
//通过反射调用设置无线热点
tryCfgHtcAP(apConfig);
Method method=wifiManager.getClass().getMethod(
″setWifiApEnabled″,WitiConfiguration.class,Boolean.TYPE);
//返回热点打开状态
flag=(Boolean)method.invoke(wifiManager,apConfig,enabled);
连接请求接收模块303,用于接收至少一个第二终端设备向第一终端设备发送的连接请求。可选地,连接请求包括:无线热点的名称和无线热点的接入密码其中无线热点的名称包括:文件分享应用的名称和随机数,例如文件分享应用的名称为“360ZHUSHOU”,随机数为“8527”,即,该无线热点的名称为“360ZHUSHOU8527”,当然可以理解的是,在本发明的实施例中并不限定无线热点的名称的表现形式。无线热点的接入密码可以是六位或八位随机数, 通过该无线热点的接入密码提高无线局域网的安全性。
长连接建立模块305,用于根据连接请求建立第一终端设备和至少一个第二终端设备之间的长连接。可选地,在本发明的一个实施例中,为了提高无线局域网的安全性,可以对来自第二终端设备的连接请求进行验证。该长连接建立模块305包括:验证单元,用于在第一终端设备对所述连接请求中的无线热点的接入密码进行验证;长连接单元,用于在验证单元验证通过的情况下,建立所述第一终端设备和至少一个第二终端设备之间的长连接。所谓长连接,指在一个连接上可以连续发送多个数据包,在连接保持期间,如果没有数据包发送,需要双方发链路检测包。该长连接可以是TCP(Transmission Control Protocol,传输控制协议)长连接、Socket长连接或者HTTP(HyperText Transfer Protocol,超文本传输协议)长连接。
文件分享模块307,用于在从所述第一终端设备中选择待分享的文件,并将所述待分享的文件发送给所述至少一个第二终端设备。可选地,该文件分享模块307包括:文件分享命令接收单元,用于在所述第一终端设备侧通过所述文件分享应用接收文件分享命令;文件选择界面生成单元,用于在接收到所述文件分享命令的情况下,在所述第一终端设备侧通过所述文件分享应用生成文件选择界面;文件选择单元,用于在所述第一终端设备侧通过所述文件选择界面从所述第一终端设备中选择待分享的文件,并将待分享的文件发送给至少一个第二终端设备。
可选地,装置300还包括:分享信息记录模块309,用于在第一终端设备侧记录分享信息,所述分享信息至少包括以下中的任一种:文件的名称、发送文件的时间和文件的大小。
可选地,装置300还包括:运行模块,用于在第一终端设备侧运行文件分享应用;创建命令接收模块,用于在所述第一终端设备侧通过所述文件分享应用接收创建无线局域网的创建命令;在接收到所述创建命令的情况下,触发所述无线局域网创建模块创建以所述第一终端设备为无线热点的无线局域网。
在本发明的实施例三中,第二终端设备可以通过文件分享应用接收第一终端设备发送的待分享的文件,如果第二终端设备中没有安装文件分享应用,则在第一终端设备和第二终端设备建立长连接之后,第一终端设备可以邀请第二终端设备安装该文件分享应用。
可选地,在本发明的实施例三的优选实施方式中,装置300还包括:
第一安装包发送模块,用于在所述第一终端设备侧将所述第一终端设备中 的所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。
可选地,在本发明的实施例三的优选实施方式中,装置300还包括:
二维码生成模块,用于在所述第一终端设备侧生成二维码格式的所述文件分享应用的安装包的地址信息;
地址信息接收模块,用于在所述第一终端设备侧接收所述至少一个第二终端设备发送的下载请求,所述下载请求中包括所述文件分享应用的安装包的地址信息;
第二安装包发送模块,用于在所述第一终端设备侧将所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。
在本发明的实施例中,通过第一终端设备创建以第一终端设备为无线热点的无线局域网,在第二终端设备可以通过无线局域网与第一终端设备连接之后,第二终端设备可以在不耗费流量的情况下,接收第一终端设备之间分享的文件。例如第一终端设备的用户可以将第一终端设备中的图片、视频、音乐、文档、应用分享给第二终端设备,一方面能够通过简便的方式满足第一终端设备和第二终端设备之间分享文件的需求,另一方面在第一终端设备和第二终端设备之间分享文件不需要耗费双方任何终端设备的流量。
实施例四
本发明的实施例四,与如上所述实施例二的终端设备之间分享文件的方法相对应,本发明还提供了一种终端设备之间分享文件的装置。
如图4所示,本发明的实施例四提供了一种终端设备之间分享文件的装置,应用于第二终端设备侧,该装置400包括:
无线局域网搜索模块401,用于搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网;
连接请求发送模块403,用于向搜索得到的所述第一终端设备发送连接请求;
长连接建立模块405,用于根据所述连接请求,建立所述第二终端设备侧和第一终端设备之间的长连接;
文件接收模块407,用于在所述第二终端设备侧接收所述第一终端设备发送的待分享的文件。
可选地,所述连接请求包括:无线热点的名称和无线热点的接入密码,由所述第一终端设备侧对所述连接请求中的无线热点的接入密码进行验证。
可选地,所述装置400还包括:
运行模块,用于在所述第二终端设备侧运行文件分享应用;
搜索命令接收模块,用于在所述第二终端设备侧通过所述文件分享应用接收搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网的搜索命令;在接收到所述搜索命令的情况下,触发所述无线局域网搜索模块搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网。
可选地,所述文件接收模块407包括:
文件接收命令接收单元,用于在所述第二终端设备侧通过所述文件分享应用接收文件接收命令;
文件接收单元,用于在接收到所述文件接收命令的情况下,在所述第二终端设备侧通过所述文件分享应用接收所述第一终端设备发送的待分享的文件。
可选地,所述装置400还包括:
接收信息记录模块409,用于在所述第二终端设备侧记录接收信息,所述接收信息至少包括以下中的任一种:文件的名称、接收文件的时间和文件的大小。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发 明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的终端设备之间分享文件的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图5示出了可以实现根据本发明上述方法的服务器,例如搜索引擎服务器。该服务器传统上包括处理器510和以存储器530形式的计算机程序产品或者计算机可读介质。存储器530可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器530具有用于执行上述方法中的任何方法步骤的程序代码551的存储空间550。例如,用于程序代码的存储空间550可以包括分别用于实现上面的方法中的各种步骤的各个程序代码551。这些程序代码可以从一个或者多个计算机程序产品 中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图6所述的便携式或者固定存储单元。该存储单元可以具有与图5的服务器中的存储器530类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码551’,即可以由例如诸如510之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干设备的单元权利要求中,这些设备中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (26)

  1. 一种终端设备之间分享文件的方法,应用于第一终端设备侧,其包括:
    创建以所述第一终端设备为无线热点的无线局域网;
    接收至少一个第二终端设备向所述第一终端设备发送的连接请求;
    根据所述连接请求,建立所述第一终端设备和至少一个第二终端设备之间的长连接;
    在从所述第一终端设备中选择待分享的文件,并将所述待分享的文件发送给所述至少一个第二终端设备。
  2. 根据权利要求1所述的方法,其中,所述连接请求包括:所述无线热点的名称和所述无线热点的接入密码;
    在建立所述第一终端设备和至少一个第二终端设备之间的长连接的步骤之前,所述方法还包括:
    在所述第一终端设备对所述连接请求中的无线热点的接入密码进行验证;
    在验证通过的情况下,建立所述第一终端设备和至少一个第二终端设备之间的长连接。
  3. 根据权利要求1所述的方法,其中,在创建以第一终端设备为无线热点的无线局域网的步骤之前,所述方法还包括:
    在所述第一终端设备侧运行文件分享应用;
    在所述第一终端设备侧通过所述文件分享应用接收创建无线局域网的创建命令;
    在接收到所述创建命令的情况下,创建以所述第一终端设备为无线热点的无线局域网。
  4. 根据权利要求3所述的方法,其中,在所述第一终端设备侧从所述第一终端设备中选择待分享的文件的步骤包括:
    在所述第一终端设备侧通过所述文件分享应用接收文件分享命令;
    在接收到所述文件分享命令的情况下,在所述第一终端设备侧通过所述文件分享应用生成文件选择界面;
    在所述第一终端设备侧通过所述文件选择界面从所述第一终端设备中选 择待分享的文件。
  5. 根据权利要求3所述的方法,所述方法还包括:
    在所述第一终端设备侧将所述第一终端设备中的所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。
  6. 根据权利要求3所述的方法,所述方法还包括:
    在所述第一终端设备侧生成二维码格式的所述文件分享应用的安装包的地址信息;
    在所述第一终端设备侧接收所述至少一个第二终端设备发送的下载请求,所述下载请求中包括所述文件分享应用的安装包的地址信息;
    在所述第一终端设备侧将所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。
  7. 根据权利要求1~6任一项所述的方法,所述方法还包括:
    所述第一终端设备侧通过所述文件分享应用记录分享信息,所述分享信息至少包括以下中的任一种:文件的名称、发送文件的时间和文件的大小。
  8. 一种终端设备之间分享文件的方法,应用于第二终端设备侧,其包括:
    搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网;
    向搜索得到的所述第一终端设备发送连接请求;
    根据所述连接请求,建立所述第二终端设备侧和第一终端设备之间的长连接;
    在所述第二终端设备侧接收所述第一终端设备发送的待分享的文件。
  9. 根据权利要求8所述的方法,其中,所述连接请求包括:无线热点的名称和无线热点的接入密码,由所述第一终端设备侧对所述连接请求中的无线热点的接入密码进行验证。
  10. 根据权利要求8所述的方法,其中,在搜索由第一终端设备创建的以 所述第一终端设备为无线热点的无线局域网的步骤之前,所述方法还包括:
    在所述第二终端设备侧运行文件分享应用;
    在所述第二终端设备侧通过所述文件分享应用接收搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网的搜索命令;
    在接收到所述搜索命令的情况下,搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网。
  11. 根据权利要求10所述的方法,其中,在所述第二终端设备侧接收所述第一终端设备发送的待分享的文件的步骤包括:
    在所述第二终端设备侧通过所述文件分享应用接收文件接收命令;
    在接收到所述文件接收命令的情况下,在所述第二终端设备侧通过所述文件分享应用接收所述第一终端设备发送的待分享的文件。
  12. 根据权利要求8~11任一项所述的方法,所述方法还包括:
    所述第二终端设备侧通过所述文件分享应用记录接收信息,所述接收信息至少包括以下中的任一种:文件的名称、接收文件的时间和文件的大小。
  13. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算机上运行时,将执行根据权利要求1至12中的任一项所述的终端设备之间分享文件的方法。
  14. 一种计算机可读介质,其中存储了如权利要求13所述的计算机程序。
  15. 一种终端设备之间分享文件的装置,应用于第一终端设备侧,其包括:
    无线局域网创建模块,用于创建以所述第一终端设备为无线热点的无线局域网;
    连接请求接收模块,用于接收至少一个第二终端设备向所述第一终端设备发送的连接请求;
    长连接建立模块,用于根据所述连接请求,建立所述第一终端设备和至少一个第二终端设备之间的长连接;
    文件分享模块,用于在从所述第一终端设备中选择待分享的文件,并将所述待分享的文件发送给所述至少一个第二终端设备。
  16. 根据权利要求13所述的装置,其中,所述连接请求包括:所述无线热点的名称和所述无线热点的接入密码;
    所述长连接建立模块包括:
    验证单元,用于在所述第一终端设备对所述连接请求中的无线热点的接入密码进行验证;
    长连接单元,用于在所述验证单元验证通过的情况下,建立所述第一终端设备和至少一个第二终端设备之间的长连接。
  17. 根据权利要求13所述的装置,所述装置还包括:
    运行模块,用于所述第一终端设备侧运行文件分享应用;
    创建命令接收模块,用于在所述第一终端设备侧通过所述文件分享应用接收创建无线局域网的创建命令;在接收到所述创建命令的情况下,触发所述无线局域网创建模块创建以所述第一终端设备为无线热点的无线局域网。
  18. 根据权利要求15所述的装置,其中,所述文件分享模块包括:
    文件分享命令接收单元,用于在所述第一终端设备侧通过所述文件分享应用接收文件分享命令;
    文件选择界面生成单元,用于在接收到所述文件分享命令的情况下,在所述第一终端设备侧通过所述文件分享应用生成文件选择界面;
    文件选择单元,用于在所述第一终端设备侧通过所述文件选择界面从所述第一终端设备中选择待分享的文件,并将待分享的文件发送给至少一个第二终端设备。
  19. 根据权利要求15所述的装置,所述装置还包括:
    第一安装包发送模块,用于在所述第一终端设备侧将所述第一终端设备中的所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。
  20. 根据权利要求15所述的装置,所述装置还包括:
    二维码生成模块,用于在所述第一终端设备侧生成二维码格式的所述文件分享应用的安装包的地址信息;
    地址信息接收模块,用于在所述第一终端设备侧接收所述至少一个第二终端设备发送的下载请求,所述下载请求中包括所述文件分享应用的安装包的地 址信息;
    第二安装包发送模块,用于在所述第一终端设备侧将所述文件分享应用的安装包发送给所述至少一个第二终端设备,在所述第二终端设备侧根据接收到的所述文件分享应用的安装包安装所述文件分享应用之后,所述第二终端设备通过所述文件分享应用接收所述第一终端设备发送的所述待分享的文件。
  21. 根据权利要求13~18任一项所述的装置,所述装置还包括:
    分享信息记录模块,用于在所述第一终端设备侧记录分享信息,所述分享信息至少包括以下中的任一种:文件的名称、发送文件的时间和文件的大小。
  22. 一种终端设备之间分享文件的装置,应用于第二终端设备侧,其包括:
    无线局域网搜索模块,用于搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网;
    连接请求发送模块,用于向搜索得到的所述第一终端设备发送连接请求;
    长连接建立模块,用于根据所述连接请求,建立所述第二终端设备侧和第一终端设备之间的长连接;
    文件接收模块,用于在所述第二终端设备侧接收所述第一终端设备发送的待分享的文件。
  23. 根据权利要求22所述的装置,其中,所述连接请求包括:无线热点的名称和无线热点的接入密码,由所述第一终端设备侧对所述连接请求中的无线热点的接入密码进行验证。
  24. 根据权利要求22所述的装置,所述装置还包括:
    运行模块,用于在所述第二终端设备侧运行文件分享应用;
    搜索命令接收模块,用于在所述第二终端设备侧通过所述文件分享应用接收搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网的搜索命令;在接收到所述搜索命令的情况下,触发所述无线局域网搜索模块搜索由第一终端设备创建的以所述第一终端设备为无线热点的无线局域网。
  25. 根据权利要求24所述的装置,其中,所述文件接收模块包括:
    文件接收命令接收单元,用于在所述第二终端设备侧通过所述文件分享应用接收文件接收命令;
    文件接收单元,用于在接收到所述文件接收命令的情况下,在所述第二终 端设备侧通过所述文件分享应用接收所述第一终端设备发送的待分享的文件。
  26. 根据权利要求22~25任一项所述的装置,所述装置还包括:
    接收信息记录模块,用于在所述第二终端设备侧记录接收信息,所述接收信息至少包括以下中的任一种:文件的名称、接收文件的时间和文件的大小。
PCT/CN2014/093045 2013-12-04 2014-12-04 一种终端设备之间分享文件的方法及装置 Ceased WO2015081875A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310645854.0 2013-12-04
CN201310645854.0A CN103648180A (zh) 2013-12-04 2013-12-04 一种终端设备之间分享文件的方法及装置

Publications (1)

Publication Number Publication Date
WO2015081875A1 true WO2015081875A1 (zh) 2015-06-11

Family

ID=50253306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093045 Ceased WO2015081875A1 (zh) 2013-12-04 2014-12-04 一种终端设备之间分享文件的方法及装置

Country Status (2)

Country Link
CN (1) CN103648180A (zh)
WO (1) WO2015081875A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072611A (zh) * 2015-07-08 2015-11-18 广东欧珀移动通信有限公司 一种验证的方法及终端
CN105451161A (zh) * 2015-11-06 2016-03-30 上海斐讯数据通信技术有限公司 基于安卓手机内置基站方式实现文件共享方法及系统
WO2018049975A1 (zh) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 一种数据转移方法及相关产品
CN110070448A (zh) * 2019-03-08 2019-07-30 阿里巴巴集团控股有限公司 一种电子保单的处理方法及服务器
CN111465076A (zh) * 2020-03-13 2020-07-28 深圳传音控股股份有限公司 一种无线局域网的连接方法、设备及计算机存储介质

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648180A (zh) * 2013-12-04 2014-03-19 北京奇虎科技有限公司 一种终端设备之间分享文件的方法及装置
CN104980326A (zh) * 2014-04-03 2015-10-14 联想移动通信软件(武汉)有限公司 一种终端设备之间分享应用内容的方法及装置
CN103888891A (zh) * 2014-04-09 2014-06-25 北京安奇智联科技有限公司 一种移动终端上实现数据资源分享的方法和系统
CN105100893A (zh) * 2014-04-21 2015-11-25 联想(北京)有限公司 一种视频分享的方法和装置
CN104980414B (zh) * 2014-05-15 2020-01-10 腾讯科技(深圳)有限公司 一种文件传输方法及终端
CN105281990A (zh) * 2014-06-06 2016-01-27 佛山市顺德区美的电热电器制造有限公司 家用电器与终端的连接系统、方法及家用电器
CN104348901A (zh) * 2014-06-30 2015-02-11 腾讯科技(深圳)有限公司 文件传输方法、文件传输装置及文件传输系统
CN104268189B (zh) * 2014-09-17 2018-06-22 广州华多网络科技有限公司 评价应用的方法及装置
CN104406600A (zh) * 2014-12-02 2015-03-11 百度在线网络技术(北京)有限公司 更新车载离线地图数据的方法、设备及系统
CN104507176A (zh) * 2014-12-26 2015-04-08 奇智软件(北京)有限公司 客户端发送文件的方法及发送方客户端
CN104780580B (zh) * 2015-03-19 2018-06-12 江苏晓山信息产业股份有限公司 一种能耗均衡的Wi-Fi移动组网方法
CN104869162A (zh) * 2015-05-20 2015-08-26 广东欧珀移动通信有限公司 一种资源下载的方法及装置
CN104967668A (zh) * 2015-05-28 2015-10-07 百度在线网络技术(北京)有限公司 基于wifi热点的设备间文件传输方法、装置以及系统
US20170147581A1 (en) * 2015-11-24 2017-05-25 Facebook, Inc. Systems and methods for sharing content
CN105516324B (zh) * 2015-12-16 2019-12-03 Oppo广东移动通信有限公司 一种资源共享方法、系统及终端设备
CN105656991A (zh) * 2015-12-21 2016-06-08 北京金山安全软件有限公司 文件分享方法及装置
CN105472676B (zh) * 2015-12-21 2019-02-12 小米科技有限责任公司 网络连接方法及装置
CN105516350A (zh) * 2016-01-05 2016-04-20 广州美渠信息科技有限公司 文件共享方法及装置
CN105812452A (zh) * 2016-03-01 2016-07-27 深圳前海勇艺达机器人有限公司 基于智能机器人平台的家庭局域网资源共享系统解决方案
CN105827715A (zh) * 2016-04-01 2016-08-03 乐视控股(北京)有限公司 一种信息共享方法及装置
CN106412055A (zh) * 2016-09-27 2017-02-15 武汉启目科技有限公司 一种多终端设备相互分享文件资源的方法
CN106648782A (zh) * 2016-12-27 2017-05-10 宇龙计算机通信科技(深圳)有限公司 一种对apk文件进行更新的方法和装置
CN106713976A (zh) * 2016-12-29 2017-05-24 上海聚力传媒技术有限公司 一种基于安卓移动终端的流媒体播放方法
CN106888498A (zh) * 2017-01-25 2017-06-23 北京奇虎科技有限公司 一种终端间数据传输方法、装置及移动终端
CN107018186A (zh) * 2017-03-29 2017-08-04 联想(北京)有限公司 一种资源数据传输方法和电子设备
CN106850862B (zh) * 2017-03-31 2021-05-25 青岛海信移动通信技术股份有限公司 发送端向接收端迁移数据的方法及装置
CN109246657B (zh) * 2017-06-05 2022-07-15 中兴通讯股份有限公司 数据分享方法、第一终端、第二终端及系统
CN107222854A (zh) * 2017-06-19 2017-09-29 依偎科技(南昌)有限公司 一种获取软件的方法及装置
CN108173868A (zh) * 2018-01-05 2018-06-15 中国地质大学(武汉) 一种一对多文件分发的方法、设备及存储设备
CN109195103B (zh) * 2018-08-10 2020-12-15 Oppo广东移动通信有限公司 多媒体资源共享方法、相关设备以及存储介质
CN109309967B (zh) * 2018-12-11 2021-01-19 连尚(新昌)网络科技有限公司 传输文件的方法、设备及计算机可读存储介质
CN112445762A (zh) * 2019-08-30 2021-03-05 华为技术有限公司 一种移动终端的文件共享方法及设备
CN114329020B (zh) * 2020-03-26 2024-06-11 华为技术有限公司 一种数据共享的方法、电子设备和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789463A (zh) * 2011-05-16 2012-11-21 洛阳磊石软件科技有限公司 电子设备间数据分享方法和电子设备
CN102882938A (zh) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 一种数据共享方法及移动终端
CN103260256A (zh) * 2012-02-21 2013-08-21 宇龙计算机通信科技(深圳)有限公司 一种便携式wlan热点的连接方法及系统
CN103648180A (zh) * 2013-12-04 2014-03-19 北京奇虎科技有限公司 一种终端设备之间分享文件的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271187A (zh) * 2011-07-27 2011-12-07 苏州巴米特信息科技有限公司 一种以手机为热点的上网方法
CN102932958A (zh) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 实时数据共享方法、装置及系统
CN103297467A (zh) * 2012-02-29 2013-09-11 宇龙计算机通信科技(深圳)有限公司 一种基于wifi网络的信息共享方法、系统及终端设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789463A (zh) * 2011-05-16 2012-11-21 洛阳磊石软件科技有限公司 电子设备间数据分享方法和电子设备
CN103260256A (zh) * 2012-02-21 2013-08-21 宇龙计算机通信科技(深圳)有限公司 一种便携式wlan热点的连接方法及系统
CN102882938A (zh) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 一种数据共享方法及移动终端
CN103648180A (zh) * 2013-12-04 2014-03-19 北京奇虎科技有限公司 一种终端设备之间分享文件的方法及装置

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072611A (zh) * 2015-07-08 2015-11-18 广东欧珀移动通信有限公司 一种验证的方法及终端
CN105451161A (zh) * 2015-11-06 2016-03-30 上海斐讯数据通信技术有限公司 基于安卓手机内置基站方式实现文件共享方法及系统
CN105451161B (zh) * 2015-11-06 2019-09-13 上海斐讯数据通信技术有限公司 基于安卓手机内置基站方式实现文件共享方法及系统
WO2018049975A1 (zh) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 一种数据转移方法及相关产品
CN110070448A (zh) * 2019-03-08 2019-07-30 阿里巴巴集团控股有限公司 一种电子保单的处理方法及服务器
CN110070448B (zh) * 2019-03-08 2023-10-03 创新先进技术有限公司 一种电子保单的处理方法及服务器
CN111465076A (zh) * 2020-03-13 2020-07-28 深圳传音控股股份有限公司 一种无线局域网的连接方法、设备及计算机存储介质

Also Published As

Publication number Publication date
CN103648180A (zh) 2014-03-19

Similar Documents

Publication Publication Date Title
JP6514721B2 (ja) デュアルチャネル識別認証
US20160132866A1 (en) Device, system, and method for creating virtual credit card
CN112771831A (zh) 用于反向代理解决方案中的单点登入认证的随机数处置器
WO2017000820A1 (zh) 基于云端存储的文件分享方法、装置与系统
WO2017129083A1 (zh) 消息处理方法、装置、系统和计算机存储介质
WO2008009095A1 (en) Method, system and smart card reader for management of access to a smart card
TWI698133B (zh) 無線網路類型的檢測方法、裝置及電子設備
JP7629439B2 (ja) 支払カードを用いた音声取引の認証
CN104158908B (zh) 基于WiFi设备传输文件的方法及系统
CN107046519A (zh) 云端服务服务器及用来管理一云端服务服务器的方法
US20160080325A1 (en) Secure Data Sharing With Publicily Accessible Computing Nodes
CN104125547A (zh) 处理短信的方法及短信处理装置
WO2016070718A1 (zh) 进行文件下载的方法、装置和浏览器
CN103176775A (zh) 一种实现网页应用程序本地化的方法和装置
WO2016000507A1 (zh) 省流量模式搜索服务的方法、服务器、客户端和系统
US20230325849A1 (en) Fast identity online (fido) device onboarding (fdo) protocol ownership voucher management system
JP7339335B2 (ja) DAppで要求する高いトランザクション処理量をブロックチェーンで効率的に処理するための方法およびシステム
CN108989288B (zh) 一种基于区块链的移动数字版权保护方法及装置
WO2015085735A1 (en) Information requesting method and system
TW202209137A (zh) 用於數位內容防偽的系統和方法
CN103383736A (zh) 对电子芯片进行验证的方法与使用者终端
CN114528264A (zh) 一种数据同步方法和系统
CN105162790A (zh) 一种pos设备上安全的信息推送方法和设备
US9591056B2 (en) Techniques for contact exporting
WO2017107650A1 (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: 14867971

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

Country of ref document: EP

Kind code of ref document: A1