CN107135498B - File sharing method and equipment - Google Patents

File sharing method and equipment Download PDF

Info

Publication number
CN107135498B
CN107135498B CN201710288906.1A CN201710288906A CN107135498B CN 107135498 B CN107135498 B CN 107135498B CN 201710288906 A CN201710288906 A CN 201710288906A CN 107135498 B CN107135498 B CN 107135498B
Authority
CN
China
Prior art keywords
file
characteristic information
terminal
user characteristic
receiving
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.)
Active
Application number
CN201710288906.1A
Other languages
Chinese (zh)
Other versions
CN107135498A (en
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.)
Ningbo Yong Chen film and television culture Limited by Share Ltd
Original Assignee
Ningbo Yong Chen Film And Television Culture Ltd By Share 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 Ningbo Yong Chen Film And Television Culture Ltd By Share Ltd filed Critical Ningbo Yong Chen Film And Television Culture Ltd By Share Ltd
Priority to CN201710288906.1A priority Critical patent/CN107135498B/en
Publication of CN107135498A publication Critical patent/CN107135498A/en
Application granted granted Critical
Publication of CN107135498B publication Critical patent/CN107135498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a file sharing method and equipment, which are applied to a sending terminal, wherein the file sharing method comprises the following steps: determining a file to be shared; acquiring user characteristic information of the file to be pre-shared; determining a receiving terminal for receiving the file according to the user characteristic information; establishing a communication connection with the receiving terminal; transmitting the file to the receiving terminal based on the communication connection. By adopting the technical scheme of the invention, the verification mode during file sharing can be simplified, the use efficiency of file sharing is improved, and the use experience of a user is improved.

Description

File sharing method and equipment
Technical Field
The invention relates to an information sharing technology, in particular to a file sharing method and equipment.
Background
Nowadays, intelligent terminals cover multiple aspects of people's daily life, and with the increasing diversification of information, information sharing among users becomes one of the matters of high-frequency use of intelligent terminals.
At present, a user and people nearby the user often use a bluetooth transmission or Wireless Local Area Network (WLAN) transmission mode to perform file sharing transmission, while a traditional verification mode is that after the bluetooth or WLAN is opened, an IDentity (ID) of the other party is searched and connected, then the user generates a verification code at a sending terminal and sends the verification code to a connected receiving terminal, and after the receiving terminal inputs the verification code correctly, file sharing transmission can be performed. Therefore, the traditional verification method is complicated when the files are shared, and the user experience is poor.
Disclosure of Invention
In view of this, the present invention is intended to provide a file sharing method and device, which can solve the problem in the prior art that the conventional verification method is complicated when performing file sharing, and improve the user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides a file sharing method, which is applied to a sending terminal, where the file sharing method includes:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
transmitting the file to the receiving terminal based on the communication connection.
In the foregoing solution, optionally, the obtaining of the user feature information of the pre-shared file includes:
when the sending terminal starts a file sharing mode, detecting whether user characteristic information is acquired within a preset time threshold value;
if the user characteristic information is acquired within a preset time threshold, determining the acquired user characteristic information as the user characteristic information of the file to be pre-shared;
and if the user characteristic information is not acquired within the preset time threshold, exiting the file sharing mode.
In the foregoing solution, optionally, after obtaining the user characteristic information of the pre-shared file, the method further includes:
judging whether the users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; and if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal.
In the foregoing solution, optionally, the determining, according to the user characteristic information, a receiving terminal for receiving the file includes:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
In the foregoing solution, optionally, the determining, according to the terminal returned by the server, a receiving terminal for receiving the file includes:
if the number of the terminals returned by the server is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the terminals returned by the server is greater than or equal to 2, sending a request message to all the terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message representing that the terminal agrees to receive the file to be shared as a receiving terminal.
In the foregoing solution, optionally, before the establishing the communication connection with the receiving terminal, the method further includes:
determining the size of a file to be shared;
and determining a transmission mode suitable for the size of the file, and establishing communication connection between the sending terminal and the receiving terminal based on the transmission mode.
In a second aspect, an embodiment of the present invention further provides a file sharing device, which is applied to a sending terminal, where the file sharing device includes a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the file sharing program stored in the memory so as to realize the following steps:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
transmitting the file to the receiving terminal based on the communication connection.
In the foregoing scheme, optionally, the file sharing device further includes an input/output interface, configured to collect user characteristic information;
the processor executes the step of obtaining the user characteristic information of the pre-shared file, and is further used for executing the file sharing program to realize the following steps:
when the sending terminal starts a file sharing mode, detecting whether user characteristic information is acquired within a preset time threshold value;
if the user characteristic information is acquired within a preset time threshold, determining the acquired user characteristic information as the user characteristic information of the file to be pre-shared;
and if the user characteristic information is not acquired within the preset time threshold, exiting the file sharing mode.
In the foregoing solution, optionally, after the step of obtaining the user feature information of the pre-shared file, the processor is further configured to execute the file sharing program, so as to implement the following steps:
judging whether the users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; and if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal.
In the foregoing solution, optionally, after the step of determining, according to the user characteristic information, a receiving terminal for receiving the file, the processor is further configured to execute the file sharing program, so as to implement the following steps:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
In the foregoing solution, optionally, the processor is configured to execute a step of determining a receiving terminal for receiving the file according to a terminal returned by the server, and the processor is further configured to execute the file sharing program, so as to implement the following steps:
if the number of the terminals returned by the server is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the terminals returned by the server is greater than or equal to 2, sending a request message to all the terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message representing that the terminal agrees to receive the file to be shared as a receiving terminal.
In the foregoing solution, optionally, before the step of establishing a communication connection with the receiving terminal, the processor is further configured to execute the file sharing program, so as to implement the following steps:
determining the size of a file to be shared;
and determining a transmission mode suitable for the size of the file, and establishing communication connection between the sending terminal and the receiving terminal based on the transmission mode.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the following steps:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
transmitting the file to the receiving terminal based on the communication connection.
In the foregoing solution, optionally, after the step of obtaining the user characteristic information of the pre-shared file, the one or more programs may be further executed by the one or more processors to implement the following steps:
judging whether the users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; and if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal.
In the foregoing solution, optionally, the step of determining a receiving terminal for receiving the file according to the user characteristic information, and the one or more programs may be further executable by the one or more processors to implement the following steps:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
In the foregoing solution, optionally, after the step of establishing the communication connection with the receiving terminal, the one or more programs may be further executed by the one or more processors to implement the following steps:
determining the size of a file to be shared;
and determining a transmission mode suitable for the size of the file, and establishing communication connection between the sending terminal and the receiving terminal based on the transmission mode.
By adopting the technical scheme of the embodiment of the invention, the sending terminal determines the file to be shared; acquiring user characteristic information of the file to be pre-shared; and determining a receiving terminal for receiving the file according to the user characteristic information. In this way, the sending terminal determines the receiving terminal for receiving the file through the collected user characteristic information of the pre-shared file, and the sending terminal user does not need to edit or generate the verification code for the receiving terminal user to input in advance; and then also need not the identifying code that sending terminal user edited in advance when sharing the file in advance of receiving terminal user, simplified the loaded down with trivial details operation of user's that sending terminal and receiving terminal correspond when carrying out file sharing between the terminal at least, sending terminal only needs share in advance through the acquisition user characteristic information of file can determine the receiving terminal who is used for receiving the file, has improved the availability factor that the file was shared, after sending terminal determined to be used for receiving the receiving terminal of file, establish with communication connection between the receiving terminal, based on communication connection to receiving terminal transmits the file, user's use experience has been promoted greatly.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an implementation flow of a file sharing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a process of sharing a file by a sending terminal according to an embodiment of the present invention;
fig. 5 is a schematic view of a selection interface for a user to select a file to be shared according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating file sharing performed by different users according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating file sharing performed by the same user according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a file sharing device according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WIFI module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WIFI belongs to a short-distance wireless transmission technology, the mobile terminal can help a user to receive and send electronic mails, browse webpages, access streaming media and the like through the WIFI module 102, and wireless broadband internet access is provided for the user. Although fig. 1 shows the WIFI module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WIFI module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WIFI module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
An embodiment of the present invention provides a file sharing method, which may be applied to a sending terminal side, as shown in fig. 3, and the method mainly includes:
step 301, determining a file to be shared.
Wherein the files include, but are not limited to, the following types of files:
audio files, video files, text files, picture files.
Of course, the file may also be a web link, such as a web link shared by the sending end user to the receiving end user.
Here, the file to be shared may include one or more files. When the file to be shared includes two or more files, the types of the two or more files may be the same or different. For example, the files to be shared determined by the sending end user include an audio file and a video file, which are two files in total.
Illustratively, a file sharing application is installed on the sending terminal, and the file sharing application has a function of sharing files; when the file sharing application receives an access request input by a user, if an operation that the user clicks a shortcut key of the file sharing application on a desktop of a sending terminal is received, the file sharing application judges that the access request for accessing the file sharing application is detected, and presents a selection interface for selecting a file to be shared so that the user can select the file to be shared with others from the sending terminal. As an implementation manner, a file to be shared selected by a terminal user is sent, a preset identifier is marked on the selection interface, and the preset identifier is used for representing that the file with the preset identifier belongs to the file to be shared selected by the user. In this way, it is convenient for the sending end user to clarify their pre-shared files.
Step 302: and acquiring the user characteristic information of the pre-shared file.
The user characteristic information includes, but is not limited to, human body biological characteristic information and user identification information.
Here, the human biometric information includes, but is not limited to: fingerprint information, palm print information, hand shape information, retina information, iris information, face information, vein information, pupil information, and the like.
Here, the user identification information may include: name and certificate number such as ID card number, employee number, etc.
In one embodiment, the user characteristic information and the associated data of the terminal corresponding to the user characteristic information are stored in a local memory of the sending terminal or a third terminal connected to the sending terminal.
Therefore, the terminal obtains the user characteristic information of the file to be pre-shared, and can quickly find out the terminal of the file to be pre-shared based on the user characteristic information of the file to be pre-shared, so that the method is quick and convenient.
In another embodiment, the server side stores encrypted user feature information and associated data of the terminal corresponding to the encrypted user feature information.
Illustratively, after obtaining the user characteristic information of the pre-shared file, the sending terminal encrypts the user characteristic information, sends the encrypted user characteristic information to the server, and the server searches the terminal corresponding to the encrypted user characteristic information according to the pre-stored associated data and returns the query result to the sending terminal.
Therefore, the protection of the user characteristic information is enhanced, and the problems that the user characteristic information is easy to leak and the like caused by the fact that the complete user characteristic information is transmitted in the transmission process can be effectively avoided.
Optionally, the encrypted user feature information stored at the server side is not complete feature information corresponding to a certain type of user feature information, but only partial feature information corresponding to a certain type of user feature information. Therefore, the server side enhances the protection of the stored related user characteristic information, and is beneficial to preventing the complete user characteristic information from being stolen.
Taking the user characteristic information as fingerprint information as an example, the fingerprint information stored at the server side is not a complete fingerprint but fingerprint information encrypted by a public key, so that the unencrypted complete fingerprint information can be prevented from being stolen or leaked.
That is to say, the process of the sending terminal sending the user characteristic information to the server and the process of the server matching the receiving terminal in the database are all carried out in an encryption mode, so that the protection of the user characteristic information is enhanced.
In an optional embodiment, the obtaining the user characteristic information of the pre-shared file includes:
when the sending terminal starts a file sharing mode, detecting whether user characteristic information is acquired within a preset time threshold value;
if the user characteristic information is acquired within a preset time threshold, determining the acquired user characteristic information as the user characteristic information of the file to be pre-shared;
and if the user characteristic information is not acquired within the preset time threshold, exiting the file sharing mode.
The file sharing mode can be started after the file to be shared is determined, the file sharing mode is started when the preset time is reached, and the file sharing mode can also be started by triggering a preset button by a user.
In this way, only when the user characteristic information is acquired within the preset time threshold, the subsequent operation processing of determining the receiving terminal for receiving the file according to the user characteristic information is carried out; and if the user characteristic information is not acquired within the preset time, the sending terminal is regarded as exiting the file sharing mode. If the user characteristic information is acquired after the preset time threshold is exceeded, the sending terminal judges that the user characteristic information is not used for file sharing verification, and executes preset operation processing associated with the user characteristic information, such as unlocking operation, main menu returning operation and the like.
Here, the preset time threshold may be set in a self-defined manner, for example, 15 seconds, and when the time exceeds the threshold, normal preset operation processing, such as user characteristic information unlocking verification, may be resumed, so as to protect the use security and file security of the sending terminal.
In a specific embodiment, when the sending terminal starts the file sharing mode, the method further includes:
generating a sharing identifier, wherein the sharing identifier is used for indicating the sending terminal to perform file sharing verification on the user characteristic information, but not to perform other verification, such as unlocking verification, on the user characteristic information;
optionally, the valid time of the shared identifier is a preset time threshold.
In an optional implementation manner, after obtaining the user characteristic information of the pre-shared file, the method further includes:
judging whether the users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; and if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal.
Here, the preset processing operation may be an unlocking operation, a return to main menu operation, a volume adjustment operation, or the like.
Here, the owner identifier is turned on by a user through a preset operation.
Therefore, the phenomenon that files are mutually transmitted between the owned terminals under the condition of violating own will due to misoperation of the sending terminal user can be effectively prevented.
Step 303, determining a receiving terminal for receiving the file according to the user characteristic information.
As an optional implementation manner, the determining, according to the user characteristic information, a receiving terminal for receiving the file includes:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
In other words, in the process of searching the receiving terminal by the server, the server queries according to the received encrypted user characteristic information, and compared with querying according to the unencrypted user characteristic information, the security of the user characteristic information is improved.
As a specific implementation manner, the determining, according to the terminal returned by the server, a receiving terminal for receiving the file includes:
if the number of the terminals returned by the server is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the terminals returned by the server is greater than or equal to 2, sending a request message to all the terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message representing that the terminal agrees to receive the file to be shared as a receiving terminal.
That is, one or more receiving terminals corresponding to the same transmitting terminal may be provided.
Exemplarily, a sending terminal A acquires user characteristic information X of a file user sharing the file in advance, encrypts the user characteristic information X to form X, sends the X to a server, and the server returns a unique terminal M bound with the X to the sending terminal A; then, the transmitting terminal a determines the terminal M as the receiving terminal.
Illustratively, a sending terminal A acquires user characteristic information X of a user who pre-shares a file of the sending terminal A, encrypts the user characteristic information X to become X, sends the X to a server, and the server returns all terminals bound with the X to the sending terminal A, including Y1, Y2, Y3 and Y4; then, the sending terminal a sends a request message to the terminals Y1, Y2, Y3 and Y4, and if a response message indicating that the receiving of the file to be shared is approved is received, which is returned by the terminals Y2 and Y3, the terminals Y2 and Y3 are determined as receiving terminals.
The above-described manner of determining the receiving terminal for receiving the file according to the terminal returned by the server is applicable to both the case where the transmitting terminal and the receiving terminal are the same user and the case where the transmitting terminal and the receiving terminal are different users.
As another optional implementation manner, the determining, according to the user characteristic information, a receiving terminal for receiving the file includes:
encrypting the user characteristic information by adopting a preset encryption mode;
a terminal bound with the encrypted user characteristic information is locally inquired at a sending terminal;
and determining a receiving terminal for receiving the file according to the inquired terminal.
In a specific embodiment, the determining, according to the queried terminal, a receiving terminal for receiving the file includes:
if the number of the inquired terminals is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the inquired terminals is more than or equal to 2, sending request messages to all terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message indicating that the terminal agrees to receive the file to be shared as a receiving terminal.
As another optional implementation manner, the determining, according to the user characteristic information, a receiving terminal for receiving the file includes:
locally inquiring a terminal bound with the user characteristic information at a sending terminal;
and determining a receiving terminal for receiving the file according to the inquired terminal.
In a specific embodiment, the determining, according to the queried terminal, a receiving terminal for receiving the file includes:
if the number of the inquired terminals is 1, directly determining the only terminal bound with the user characteristic information as a receiving terminal;
and if the number of the inquired terminals is more than or equal to 2, sending request messages to all the terminals bound with the user characteristic information, and determining the terminal returning a response message indicating that the terminal agrees to receive the file to be shared as a receiving terminal.
The above-described manner of determining the receiving terminal for receiving the file according to the terminal queried by the transmitting terminal is applicable to both the case where the transmitting terminal and the receiving terminal are the same user and the case where the transmitting terminal and the receiving terminal are different users.
And step 304, establishing communication connection with the receiving terminal.
Optionally, before the establishing of the communication connection with the receiving terminal, the method further includes:
determining the size of a file to be shared;
and determining a transmission mode suitable for the size of the file, and establishing communication connection between the sending terminal and the receiving terminal based on the transmission mode.
Here, the transmission method includes but is not limited to WIFI, bluetooth, and data service.
As an embodiment, when determining a transmission method suitable for the size of the file, the method further includes:
detecting the network environment of the sending terminal;
and selecting a transmission mode for transmitting the file to be shared according to the network environment and the size of the file.
Here, the network environment includes a currently connectable network and a network rate of the corresponding network.
Exemplarily, when the sending terminal is detected to be accessed to a WIFI network, a file to be shared is selected to be transmitted by using WIFI; when no WIFI network is available and the file content is small, selecting to transmit the file to be shared by using a data service; and when no WIFI network is available and the content of the file is large, the file to be shared is transmitted by using the Bluetooth.
Step 305, transmitting the file to the receiving terminal based on the communication connection.
As an embodiment, when transmitting the file to the receiving terminal based on the communication connection, the method further includes:
and displaying the current transmission progress of the file and the time required for transmitting the file.
Therefore, the sender can conveniently master the transmission progress and the required time of the shared files.
Further, in the process of transmitting the file to the receiving terminal based on the communication connection, the method further includes:
and if the control instruction for interrupting the sharing transmission is detected, stopping transmitting the file to the receiving terminal.
That is, if the control instruction for interrupting the shared transmission is not detected, the shared transmission connection between the terminal and the receiving terminal is not performed until the file transmission is completed.
Here, the control instruction for interrupting the sharing transmission may be generated by the sending terminal when receiving a preset trigger operation of the user.
Illustratively, a file sharing application is installed on the sending terminal, and the file sharing application has a function of sharing files; the file sharing application presents a transmission interface of a file. As an implementation manner, for each file to be shared, a preset trigger is corresponding to the transmission interface, and the preset trigger is used for triggering the interruption of transmission. Therefore, the sending terminal user can immediately interrupt the file being transmitted by the sending terminal.
In the technical scheme of the embodiment, a sending terminal determines a file to be shared; acquiring user characteristic information of the file to be pre-shared; and determining a receiving terminal for receiving the file according to the user characteristic information. In this way, the sending terminal determines the receiving terminal for receiving the file through the collected user characteristic information of the pre-shared file, and the sending terminal user does not need to edit or generate the verification code for the receiving terminal user to input in advance; and then also need not to receive the identifying code that sending terminal user edited in advance when terminal user presorts the file, simplified at least and carried out the tedious operation that the user that sending terminal and receiving terminal correspond edited identifying code and input identifying code when sharing the file between the terminal, sending terminal only needs presorts through acquireing the user characteristic information of file can determine and be used for receiving the receiving terminal of file, has improved the availability factor that the file was shared, after sending terminal determined to be used for receiving the receiving terminal of file, establish with communication connection between the receiving terminal, based on communication connection to receiving terminal transmission the file, user's use experience has been promoted greatly.
Example two
Fig. 4 is a schematic diagram of a process of sharing a file by a sending terminal according to an embodiment of the present invention, and as shown in fig. 4, the process includes:
step 401: a sending terminal determines a file to be shared;
specifically, the sending terminal determines the file to be shared and transmitted according to the selection operation of the sending terminal user.
Specifically, a file sharing application is installed on the sending terminal, and the file sharing application has a file sharing function; when the file sharing application receives an access request input by a user, if an operation that the user clicks a shortcut key of the file sharing application on a desktop of a sending terminal is received, the file sharing application judges that the access request for accessing the file sharing application is detected, and presents a selection interface for selecting a file to be shared so that the user can select the file to be shared with others from the sending terminal.
As an implementation manner, a file to be shared selected by a terminal user is sent, a preset identifier is marked on the selection interface, and the preset identifier is used for representing that the file with the preset identifier belongs to the file to be shared selected by the user. Fig. 5 is a schematic view of a selection interface for a user to select a file to be shared according to an embodiment of the present invention, as shown in fig. 5, in the diagram, files 1 and 2 are already selected by the user, and files 3 and 4 are not selected by the user, where a filled circle indicates that the file is selected, and a hollow circle indicates that the file is not selected. Of course, the preset mark is not limited to a circular mark, and may be other types of marks, which are not listed here.
Step 402: a sending terminal acquires user characteristic information of a receiving terminal user;
that is, the user of the pre-shared file needs to perform user characteristic information verification on the sending terminal first.
Here, the user characteristic information may be human characteristic information or user identification information.
Specifically, the sending terminal can collect the user characteristic information through a collector; wherein the collector includes but is not limited to:
camera, characteristic collector.
For example, the feature collector may be a fingerprint collector.
Step 403: judging whether the sending terminal and the receiving terminal are the same user, if so, turning to step 404; if not, go to step 405;
step 404: the sending terminal detects that the owner identifier is started, carries out file sharing verification on the collected user characteristic information, and does not execute other operation processing verification associated with the user characteristic information;
for example, the other operation process verification may be an unlock verification.
For example, the sending terminal user starts the owner identifier by presetting a specific operation, and if the user characteristic information acquired in step 402 is fingerprint information, the file sharing mode verification is performed on the fingerprint information, but the fingerprint unlocking verification is not performed.
Step 405: judging whether the user characteristic information of the receiving terminal user is only bound with a unique terminal, if not, turning to step 406; if yes, go to step 407;
step 406: the sending terminal sends verification information to all terminals bound with the user characteristic information, and confirms the receiving terminal according to verification response;
step 407: whether the sending terminal can be successfully matched with the receiving terminal or not is judged, if yes, the step 408 is carried out; if not, go to step 411;
step 408: the sending terminal automatically selects a proper transmission mode and starts to transmit the file to be shared;
step 409: whether the sending terminal needs to interrupt the sharing transmission or not, if not, turning to the step 410, and if so, turning to the step 411;
step 410: completing file sharing;
step 411: the transmission fails.
Two application scenarios are listed below.
Fig. 6 is a schematic diagram of file sharing performed by different users according to an embodiment of the present invention, as shown in fig. 6, a user a and a colleague B sit in an office, and want to send several movies in their mobile phones to the user B, at this time, the mobile phone of the user a enters a file sharing mode, after the user a selects several movie files to be sent, the user B uses a fingerprint to verify the movie files on the mobile phone of the user a, and then the mobile phone of the user a transmits the movies to the mobile phone of the user B through office public WIFI transmission or other transmission methods, so as to complete the sharing operation.
Fig. 7 is a schematic diagram of sharing files by the same user according to an embodiment of the present invention, where as shown in fig. 7, a user a has 2 mobile phones and wants to send several text files in an a mobile phone to a b mobile phone, at this time, the a mobile phone of the user a enters a file sharing mode, after selecting several text files to be sent, the user a performs authentication on the a mobile phone by using a palm print, and then the user a starts a main identification, and transmits the several text files to the b mobile phone by using a bluetooth transmission or other transmission method, so as to complete the sharing operation.
By adopting the technical scheme of the embodiment of the invention, after the sending terminal user selects the file to be shared to the receiving terminal user on the sending terminal, the receiving terminal user can finish verification and start transmission only by using the user characteristic information of the receiving terminal user on the sending terminal for detection, thereby greatly improving the use efficiency and the user experience.
EXAMPLE III
Fig. 8 is a schematic diagram illustrating a structure of a file sharing device according to an embodiment of the present invention, where the file sharing device is applied to a sending terminal, and as shown in fig. 8, the file sharing device includes a processor 11, a memory 12, and a communication bus 13;
the communication bus 13 is used for realizing connection communication between the processor 11 and the memory 12;
the processor 11 is configured to execute a file sharing program stored in the memory 12, so as to implement the following steps:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
transmitting the file to the receiving terminal based on the communication connection.
As an embodiment, the file sharing device further includes:
an input/output interface 14 (e.g., display screen, touch screen, speaker), the input/output interface 14 for collecting user characteristic information;
the processor 11 executes a step of obtaining user characteristic information for pre-sharing the file, and the processor 11 is further configured to execute the file sharing program to implement the following steps:
when the sending terminal starts a file sharing mode, detecting whether user characteristic information is acquired within a preset time threshold value;
if the user characteristic information is acquired within a preset time threshold, determining the acquired user characteristic information as the user characteristic information of the file to be pre-shared;
and if the user characteristic information is not acquired within the preset time threshold, exiting the file sharing mode.
As an embodiment, after the step of obtaining the user characteristic information for pre-sharing the file, the processor is further configured to execute the file sharing program to implement the following steps:
judging whether the users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; and if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal.
As an embodiment, after the step of determining a receiving terminal for receiving the file according to the user characteristic information, the processor is further configured to execute the file sharing program to implement the following steps:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
As an embodiment, the processor 11 executes a step of determining a receiving terminal for receiving the file according to a terminal returned by the server, and the processor 11 is further configured to execute the file sharing program to implement the following steps:
if the number of the terminals returned by the server is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the terminals returned by the server is greater than or equal to 2, sending a request message to all the terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message representing that the terminal agrees to receive the file to be shared as a receiving terminal.
As an embodiment, before the step of the processor 11 establishing the communication connection with the receiving terminal, the processor 11 is further configured to execute the file sharing program to implement the following steps:
determining the size of a file to be shared;
and determining a transmission mode suitable for the size of the file, and establishing communication connection between the sending terminal and the receiving terminal based on the transmission mode.
Those skilled in the art should understand that the functions of each device in the file sharing apparatus of the present embodiment can be understood by referring to the related description of the file sharing method.
The file sharing device according to this embodiment may be disposed at a terminal side.
The file sharing equipment can simplify the verification mode during file sharing, and improves the use experience of users; due to the simple operation process, the file sharing utilization efficiency can be improved.
Example four
An embodiment of the present invention also recites a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
transmitting the file to the receiving terminal based on the communication connection.
As an embodiment, after the step of obtaining the user characteristic information for pre-sharing the file, the one or more programs are further executable by the one or more processors to perform the steps of:
judging whether the users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; and if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal.
As an embodiment, the one or more programs are further executable by the one or more processors for performing the steps of determining a receiving terminal for receiving the file according to the user characteristic information, to:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
As an embodiment, after the step of establishing a communication connection with the receiving terminal, the one or more programs are further executable by the one or more processors to implement the steps of:
determining the size of a file to be shared;
and determining a transmission mode suitable for the size of the file, and establishing communication connection between the sending terminal and the receiving terminal based on the transmission mode.
Those skilled in the art will appreciate that the functions of the computer-readable storage medium of the present embodiment can be understood by referring to the related description of the file sharing method.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A file sharing method is applied to a sending terminal and is characterized by comprising the following steps:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
after the user characteristic information is acquired, judging whether users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal;
transmitting the file to the receiving terminal based on the communication connection.
2. The method of claim 1, wherein the obtaining of the user characteristic information for pre-sharing the file comprises:
when the sending terminal starts a file sharing mode, detecting whether user characteristic information is acquired within a preset time threshold value;
if the user characteristic information is acquired within a preset time threshold, determining the acquired user characteristic information as the user characteristic information of the file to be pre-shared;
and if the user characteristic information is not acquired within the preset time threshold, exiting the file sharing mode.
3. The method according to claim 1, wherein the determining, according to the user characteristic information, a receiving terminal for receiving the file includes:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
4. The file sharing method according to claim 3, wherein the determining, according to the terminal returned by the server, a receiving terminal for receiving the file includes:
if the number of the terminals returned by the server is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the terminals returned by the server is greater than or equal to 2, sending a request message to all the terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message representing that the terminal agrees to receive the file to be shared as a receiving terminal.
5. A file sharing device is applied to a sending terminal and is characterized by comprising a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the file sharing program stored in the memory so as to realize the following steps:
determining a file to be shared;
acquiring user characteristic information of the file to be pre-shared;
determining a receiving terminal for receiving the file according to the user characteristic information;
establishing a communication connection with the receiving terminal;
after the user characteristic information is acquired, the processor judges whether users corresponding to the sending terminal and the receiving terminal are the same user or not according to the user characteristic information matched with the sending terminal and the user characteristic information of the file to be shared;
if the users corresponding to the sending terminal and the receiving terminal are the same user, detecting whether the owner identification is started, and if so, continuing to execute the processing operation of determining the receiving terminal for receiving the file; if not, executing preset operation processing associated with the user characteristic information corresponding to the sending terminal;
transmitting the file to the receiving terminal based on the communication connection.
6. The file sharing device according to claim 5, wherein the file sharing device further comprises an input/output interface for collecting user characteristic information;
the processor executes the step of obtaining the user characteristic information of the pre-shared file, and is further used for executing the file sharing program to realize the following steps:
when the sending terminal starts a file sharing mode, detecting whether user characteristic information is acquired within a preset time threshold value;
if the user characteristic information is acquired within a preset time threshold, determining the acquired user characteristic information as the user characteristic information of the file to be pre-shared;
and if the user characteristic information is not acquired within the preset time threshold, exiting the file sharing mode.
7. The file sharing device according to claim 5, wherein after the step of determining a receiving terminal for receiving the file according to the user characteristic information, the processor is further configured to execute the file sharing program to implement the following steps:
encrypting the user characteristic information by adopting a preset encryption mode;
sending the encrypted user characteristic information to a server;
receiving a terminal which is returned by the server and is bound with the encrypted user characteristic information;
and determining a receiving terminal for receiving the file according to the terminal returned by the server.
8. The file sharing apparatus according to claim 7, wherein the processor executes a step of determining a receiving terminal for receiving the file according to a terminal returned by the server, and the processor is further configured to execute the file sharing program to implement the following steps:
if the number of the terminals returned by the server is 1, directly determining the only terminal bound with the encrypted user characteristic information as a receiving terminal;
and if the number of the terminals returned by the server is greater than or equal to 2, sending a request message to all the terminals bound with the encrypted user characteristic information, and determining the terminal returning a response message representing that the terminal agrees to receive the file to be shared as a receiving terminal.
CN201710288906.1A 2017-04-27 2017-04-27 File sharing method and equipment Active CN107135498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710288906.1A CN107135498B (en) 2017-04-27 2017-04-27 File sharing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710288906.1A CN107135498B (en) 2017-04-27 2017-04-27 File sharing method and equipment

Publications (2)

Publication Number Publication Date
CN107135498A CN107135498A (en) 2017-09-05
CN107135498B true CN107135498B (en) 2020-01-17

Family

ID=59715723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710288906.1A Active CN107135498B (en) 2017-04-27 2017-04-27 File sharing method and equipment

Country Status (1)

Country Link
CN (1) CN107135498B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012270B (en) * 2017-12-27 2021-11-02 努比亚技术有限公司 Information processing method, equipment and computer readable storage medium
CN108769274B (en) * 2018-08-27 2021-12-24 优视科技新加坡有限公司 Conversational file transmission method and device, and equipment/terminal/server
CN113360460B (en) * 2021-06-02 2023-12-05 阿波罗智联(北京)科技有限公司 Favorites sharing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092716A (en) * 2013-12-04 2014-10-08 腾讯科技(深圳)有限公司 Data sharing method, first terminal, server and system
CN105335088A (en) * 2015-09-22 2016-02-17 广东欧珀移动通信有限公司 File sharing method and device
CN105848306A (en) * 2016-05-30 2016-08-10 努比亚技术有限公司 Method for establishing connection between terminals and terminal
CN106254467A (en) * 2016-08-05 2016-12-21 北京小米移动软件有限公司 Sharing files method and device
CN106503511A (en) * 2016-09-14 2017-03-15 广东欧珀移动通信有限公司 A kind of method and device for improving mobile phone removal of home cryptographic check security

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092716A (en) * 2013-12-04 2014-10-08 腾讯科技(深圳)有限公司 Data sharing method, first terminal, server and system
CN105335088A (en) * 2015-09-22 2016-02-17 广东欧珀移动通信有限公司 File sharing method and device
CN105848306A (en) * 2016-05-30 2016-08-10 努比亚技术有限公司 Method for establishing connection between terminals and terminal
CN106254467A (en) * 2016-08-05 2016-12-21 北京小米移动软件有限公司 Sharing files method and device
CN106503511A (en) * 2016-09-14 2017-03-15 广东欧珀移动通信有限公司 A kind of method and device for improving mobile phone removal of home cryptographic check security

Also Published As

Publication number Publication date
CN107135498A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN109257740B (en) Profile downloading method, mobile terminal and readable storage medium
CN108391025B (en) Network access management method, mobile terminal and computer readable storage medium
CN109618316B (en) Network sharing method, mobile terminal and storage medium
CN109600740B (en) File downloading method and device and computer readable storage medium
CN109157841B (en) Game team forming method, terminal, server and computer readable storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN107563158B (en) Method, device and computer readable storage medium for displaying hidden application icon
CN108810833B (en) Mobile phone number binding information management method and device and computer readable storage medium
CN108601062B (en) WiFi connection sharing method, terminal and computer storage medium
CN108833690B (en) Authority control method, terminal and computer readable storage medium
CN108012270B (en) Information processing method, equipment and computer readable storage medium
CN107135498B (en) File sharing method and equipment
CN107786739B (en) Information acquisition method and mobile terminal
CN107562343B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN112612598A (en) Anti-addiction method, mobile terminal and computer-readable storage medium
CN109286970B (en) Wearable device power consumption optimization method and device, device and readable storage medium
CN109063444B (en) Mobile terminal screen unlocking method, mobile terminal and computer readable storage medium
CN107395363B (en) Fingerprint sharing method and mobile terminal
CN108199964B (en) Transmission method, terminal, server and computer readable storage medium
CN108038362B (en) Unread information display method and device and computer readable storage medium
CN107340958B (en) Horizontal and vertical screen switching method and mobile terminal
CN107317804B (en) Private cloud encrypted data access method, terminal and storage medium
CN107194217B (en) User data access control method, apparatus and computer-readable storage medium
CN109104722B (en) Terminal access method, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191218

Address after: 315100 201, second floor, podium building, science and technology entrepreneurship center, No. 298, bachelor Road, Shounan street, Yinzhou District, Ningbo City, Zhejiang Province

Applicant after: Ningbo Yong Chen film and television culture Limited by Share Ltd

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: Nubian Technologies Ltd.

GR01 Patent grant
GR01 Patent grant