CN105700846A - File sharing method and device - Google Patents

File sharing method and device Download PDF

Info

Publication number
CN105700846A
CN105700846A CN201610157058.6A CN201610157058A CN105700846A CN 105700846 A CN105700846 A CN 105700846A CN 201610157058 A CN201610157058 A CN 201610157058A CN 105700846 A CN105700846 A CN 105700846A
Authority
CN
China
Prior art keywords
terminal
file content
shared
file
user
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.)
Pending
Application number
CN201610157058.6A
Other languages
Chinese (zh)
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610157058.6A priority Critical patent/CN105700846A/en
Publication of CN105700846A publication Critical patent/CN105700846A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2805Home Audio Video Interoperability [HAVI] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a file sharing method and device. The method comprises the steps of receiving a preset synchronous instruction input by a user and determining that a sharing file mode is switched to; in the sharing file mode, synchronizing file content displayed on a first terminal to a second terminal located in the same local area network with the first terminal in real time. According to the technical scheme, when the preset synchronous instruction input by the user is received, it is determined that the sharing file mode is switched to, in the sharing file mode, the file content displayed on the first terminal is synchronized to the second terminal located in the same local area network with the first terminal in real time, and in this way, the different terminals in the same local area network can view the same file content at the same time, convenience of sharing file content between the terminals is improved, playability and interestingness of the terminals are improved, and the using experience of the user is promoted.

Description

File sharing method and device
Technical field
It relates to data sharing technology field, particularly relate to a kind of file sharing method and device。
Background technology
Relatives and friends are likely to often share some joyful video or picture game etc. each other, and the method shared is probably means such as requiring over bluetooth and connects, and then transmits, inefficient and complicated operation。
Owing to mobile phone screen is less, when having joyful video all to want to see, being crowded together and see a mobile phone inconvenience, play identical video with different several mobile phones simultaneously, be difficult to again accomplish Complete Synchronization, Consumer's Experience is not good。
Summary of the invention
Disclosure embodiment provides a kind of file sharing method and device, including following technical scheme:
First aspect according to disclosure embodiment, it is provided that a kind of file sharing method, for first terminal, including:
Receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
In one embodiment, the described pre-determined synchronization instruction receiving user's input, it is determined that be switched to shared file mode, including:
Receiving the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
When receiving described pre-determined synchronization instruction, exporting information, described information is used for prompting the user whether to be switched to shared file mode;
When receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
In one embodiment, described method also includes:
Obtain total number of the second terminal, and the mark of each second terminal and the reception state to described file content;
Appointment region on the screen of described first terminal, shows total number of described second terminal and the display field of the mark of each second terminal and the reception state to described file content。
In one embodiment, described method also includes:
Receive the shared cancel an order of user's input;
According to described shared cancel an order, exit described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
In one embodiment, will the file content of display on described first terminal, real-time synchronization is to before the second terminal being in same LAN with described first terminal, and described method also includes:
Obtain and be currently in all terminals in same LAN with described first terminal;
Select order according to the terminal received, selected terminal in described all terminals is defined as described second terminal。
Second aspect according to disclosure embodiment, it is provided that a kind of file sharing method, for the second terminal, including:
Receive and be in, with described second terminal, the file content that the first terminal in same LAN is shared;
Obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal。
In one embodiment, described acquisition described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal, including:
When receiving described file content, it is determined that the memory space shared by described file content;
When the memory space shared by described file content is more than or equal to default memory space, obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal;
When the memory space shared by described file content is less than default memory space, stores and show described file content。
In one embodiment, described method also includes:
Receive the progress displaying that user selects;
The progress displaying selected according to user shows described file content。
The third aspect according to disclosure embodiment, it is provided that a kind of file sharing device, for first terminal, including:
Determine module, for receiving the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Sharing module, under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
In one embodiment, described determine that module includes:
Receiving submodule, for receiving the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
Prompting submodule, for when receiving described pre-determined synchronization instruction, exporting information, described information is used for prompting the user whether to be switched to shared file mode;
Determine submodule, for when receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
In one embodiment, described device also includes:
First acquisition module, for obtaining total number of the second terminal, and the mark of each second terminal and the reception state to described file content;
Display module, the appointment region on the screen at described first terminal, show total number of the second terminal that described data obtaining module obtains and the display field of the mark of each second terminal and the reception state to described file content。
In one embodiment, described device also includes:
Second receiver module, for receiving the shared cancel an order of user's input;
Processing module, for according to described shared cancel an order, exiting described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
In one embodiment, described device also includes:
Second acquisition module, for obtaining all terminals that current and described first terminal is in same LAN;
Determine module, for selecting order according to the terminal received, selected terminal in described all terminals is defined as described second terminal。
Fourth aspect according to disclosure embodiment, it is provided that a kind of file sharing device, for the second terminal, including:
File content reception module, is in, with described second terminal, the file content that the first terminal in same LAN is shared for receiving;
First display module, for obtaining described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal。
In one embodiment, described first display module includes:
Determine submodule, for when receiving described file content, it is determined that the memory space shared by described file content;
Obtain submodule, for when described determine that submodule determines the memory space shared by described file content more than or equal to default memory space time, obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal;
Sub module stored, for when described determine that submodule determines the memory space shared by described file content less than default memory space time, store and show described file content。
In one embodiment, described device also includes:
Progress receiver module, for receiving the progress displaying that user selects;
Second display module, shows described file content for the progress displaying selected according to user。
The 5th aspect according to disclosure embodiment, it is provided that a kind of file sharing device, for first terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
The 6th aspect according to disclosure embodiment, it is provided that a kind of file sharing device, for the second terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and be in, with described second terminal, the file content that the first terminal in same LAN is shared;
Obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal。
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Technique scheme, when receiving the pre-determined synchronization instruction of user's input, determine and be switched to shared file mode, under shared file mode, the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal, so, it is in the different terminals under same LAN and can check identical file content simultaneously, add the convenience sharing file content between terminal, improve playability and the interest of terminal, improve the experience of user。
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited。
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description。
Fig. 1 is the flow chart of a kind of file sharing method according to an exemplary embodiment。
Fig. 2 is the flow chart of step S101 in the file sharing method according to an exemplary embodiment。
Fig. 3 is the flow chart of the another kind of file sharing method according to an exemplary embodiment。
Fig. 4 is the flow chart of another file sharing method according to an exemplary embodiment。
Fig. 5 is the flow chart of another file sharing method according to an exemplary embodiment。
Fig. 6 is the flow chart of a kind of file sharing method according to an exemplary embodiment。
Fig. 7 is the flow chart of step S602 in the file sharing method according to an exemplary embodiment。
Fig. 8 is the flow chart of the another kind of file sharing method according to an exemplary embodiment。
Fig. 9 is the block diagram of a kind of file sharing device according to an exemplary embodiment。
Figure 10 is the block diagram of a kind of file sharing device file content obtaining module according to an exemplary embodiment。
Figure 11 is the block diagram of the another kind of file sharing device according to an exemplary embodiment。
Figure 12 is the block diagram of another file sharing device according to an exemplary embodiment。
Figure 13 is the block diagram of another file sharing device according to an exemplary embodiment。
Figure 14 is the block diagram of a kind of file sharing device according to an exemplary embodiment。
Figure 15 is the block diagram of the first display module in a kind of file sharing device according to an exemplary embodiment。
Figure 16 is the block diagram of the another kind of file sharing device according to an exemplary embodiment。
Figure 17 is the block diagram being applicable to file sharing device according to an exemplary embodiment。
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings。When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element。Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure。On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method。
Disclosure embodiment provides a kind of file sharing method, and the method can be used in first terminal equipment, as it is shown in figure 1, the method comprising the steps of S101-S102:
In step S101, receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Wherein, pre-determined synchronization instruction can be default gesture operation, it is also possible to be user's instruction of passing through that certain button of touch-control etc. sends。User or manufacturer can arrange default gesture operation and programmable button according to individual demand, the gesture operation such as slip to the left or to the right on the screen of terminal simultaneously such as two fingers。
In step s 102, under shared file mode, the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal;
Wherein, file content includes picture, video, audio frequency, game, text content etc.。
In this embodiment, when receiving the pre-determined synchronization instruction of user's input, determine and be switched to shared file mode, under shared file mode, the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal, so, it is in the different terminals under same LAN and can check identical file content simultaneously, add the convenience sharing file content between terminal, improve playability and the interest of terminal, improve the experience of user。
Wherein, first terminal and the second terminal are in same LAN, if wanting, two terminals carrying out file content shared are not in same LAN, then first first terminal and the second terminal can be connected to same LAN。Due in same LAN, mutual trust it is substantially between user, so sharing between mutual information can be carried out, and the file content transmission between two terminals is undertaken by LAN, transmission speed is very fast, thus can realize between different terminals can simultaneous display file content, as synchronized to play video, synchronize to play song, simultaneous display picture etc.。
As in figure 2 it is shown, in one embodiment, above-mentioned steps S101 includes step S201-S203:
In step s 201, receiving the pre-determined synchronization instruction of user's input, wherein, pre-determined synchronization instruction includes presetting gesture operation;
In step S202, when receiving pre-determined synchronization instruction, exporting information, information is used for prompting the user whether to be switched to shared file mode;
Wherein, this information can export in the way of message box, thus prompting the user to choose whether that carrying out file content shares。
In step S203, when receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
In this embodiment, in order to avoid user misoperation, when the pre-determined synchronization instruction of the user's input received, output information, prompt the user to choose whether to be switched to shared file mode, when user selects to be switched to shared file mode, the determination switching command of the selection according to user, switch to shared file mode, thus the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal, so, it is in the different terminals under same LAN and can check identical file content simultaneously, add the convenience sharing file content between terminal, improve playability and the interest of terminal, improve the experience of user。And when user selects not switch to shared file mode, then directly close this message box, it is ensured that first terminal can normally show file content。
As it is shown on figure 3, in one embodiment, said method also includes step S301-S302:
In step S301, obtain total number of the second terminal, and the mark of each second terminal and the reception state to file content;
Namely total number of the second terminal represents and is connected to same LAN with first terminal, and receives total number of the terminal of the shared file content that first terminal sends。And obtain the mark of the second terminal, it is possible to make which the terminal that the user of first terminal is apparent from receiving shared file content has。
In step s 302, the appointment region on the screen of first terminal, show total number of the second terminal and the display field of the mark of each second terminal and the reception state to file content。Wherein, it is intended that region can be the informing of first terminal, consequently facilitating user checks。
In this embodiment, the appointment region on the screen of first terminal, it is possible to display receives the number of the second terminal sharing file content, and the mark of each second terminal and the reception state to file content。So, the user of first terminal can be clearly seen that whether existing second terminal receives and shares file content, and total number of the second terminal of the shared file content of reception, and the reception state of each second shared file content of terminal reception, such as whether finish receiving。
As shown in Figure 4, in one embodiment, said method also includes step S401-S402:
In step S401, receive the shared cancel an order of user's input;
In step S402, according to shared cancel an order, exit shared file mode, to stop the file content showing on first terminal is synchronized to the second terminal。
In this embodiment, if user wants to exit shared file mode, it is possible to input is shared and countermanded an order, thus stopping the file content showing on first terminal is synchronized to the second terminal, so, the control of user's management to shared file content and shared process is facilitated。
Such as, appointment region on the screen of first terminal, the number receiving the second terminal sharing file content can be shown, and the display field of the mark of each second terminal and the reception state to file content, if user wants to cancel shared, the process of sharing can be closed at any time, so that first terminal stops sharing file content to the second terminal in display field。
As it is shown in figure 5, in one embodiment, before file content is shared the second terminal being in same LAN to current and first terminal, said method also includes step S501-S502:
In step S501, obtain currently and first terminal is in all terminals in same LAN;
In step S502, select order according to the terminal received, terminal selected in all terminals is defined as the second terminal。
In this embodiment, first terminal can also obtain all terminals of currently connected to same LAN, so, user can from all terminals, select the second terminal being intended for its shared file content, thus avoiding the other-end that file content is shared to all terminals except the second terminal by first terminal, it is to avoid make troubles to other-end, promote the experience of user further。
Disclosure embodiment provides a kind of file sharing method, and the method can be used in the second terminal unit, as shown in Figure 6, and the method comprising the steps of S601-S602:
In step s 601, receive and the second terminal is in the file content that the first terminal in same LAN is shared;
In step S602, obtain file content progress displaying on first terminal, according to progress displaying simultaneous display file content on the screen of the second terminal。
In this embodiment, when receiving the pre-determined synchronization instruction of user's input, determine and be switched to shared file mode, under shared file mode, the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal, so, it is in the different terminals under same LAN and can check identical file content simultaneously, add the convenience sharing file content between terminal, improve playability and the interest of terminal, improve the experience of user。
Wherein, first terminal and the second terminal are in same LAN, if wanting, two terminals carrying out file content shared are not in same LAN, then first first terminal and the second terminal can be connected to same LAN。Due in same LAN, mutual trust it is substantially between user, so sharing between mutual information can be carried out, and the file content transmission between two terminals is undertaken by LAN, transmission speed is very fast, thus can realize between different terminals can simultaneous display file content, as synchronized to play video, synchronize to play song, simultaneous display picture etc.。
As it is shown in fig. 7, in one embodiment, above-mentioned steps S602 includes step S701-S703:
In step s 701, when receiving file content, it is determined that the memory space shared by file content;
In step S702, when the memory space shared by file content is more than or equal to default memory space, obtain file content progress displaying on first terminal, according to progress displaying simultaneous display file content on the screen of the second terminal;
In step S703, when the memory space shared by file content is less than default memory space, stores and show file content。
In this embodiment, when the second terminal receives the file content of first terminal, different process can be carried out according to the difference of the memory space that this document content takies, such as, if the memory space shared by this document content is more than or equal to default memory space, namely the memory space that this document content takies is bigger, it is possible to obtain this document content progress displaying on first terminal, and the file content sent according to this progress displaying and first terminal is made directly simultaneous display。And if the memory space that this document content takies is less than default memory space, the memory space that namely this document content takies is less, then can directly store and show this document content, thus avoiding the waste of terminal storage space。
As shown in Figure 8, in one embodiment, said method also includes step S801-S802:
In step S801, receive the progress displaying that user selects;
In step S802, according to the progress displaying display file content that user selects。
In this embodiment, if the user of the second terminal is not desired to show according to the progress displaying of first terminal, then oneself can also select progress displaying, thus displaying according to the progress displaying oneself selected, as such, it is possible to meet the difference display demand of different user。
Following for disclosure device embodiment, it is possible to be used for performing method of disclosure embodiment。
Fig. 9 is the block diagram of a kind of file sharing device according to an exemplary embodiment, this device can pass through software, hardware or both be implemented in combination with become the some or all of of terminal unit。As it is shown in figure 9, this document sharing means includes:
First determines module 91, is configured to receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Sharing module 92, is configured under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
In this embodiment, when receiving the pre-determined synchronization instruction of user's input, determine and be switched to shared file mode, under shared file mode, the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal, so, it is in the different terminals under same LAN and can check identical file content simultaneously, add the convenience sharing file content between terminal, improve playability and the interest of terminal, improve the experience of user。
Wherein, first terminal and the second terminal are in same LAN, if wanting, two terminals carrying out file content shared are not in same LAN, then first first terminal and the second terminal can be connected to same LAN。Due in same LAN, mutual trust it is substantially between user, so sharing between mutual information can be carried out, and the file content transmission between two terminals is undertaken by LAN, transmission speed is very fast, thus can realize between different terminals can simultaneous display file content, as synchronized to play video, synchronize to play song, simultaneous display picture etc.。
As shown in Figure 10, in one embodiment, first determines that module 91 includes:
Receiving submodule 101, be configured to receive the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
Prompting submodule 102, is configured to when receiving described pre-determined synchronization instruction, exports information, and described information is used for prompting the user whether to be switched to shared file mode;
Determine submodule 103, be configured to when receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
In this embodiment, in order to avoid user misoperation, when the pre-determined synchronization instruction of the user's input received, output information, prompt the user to choose whether to be switched to shared file mode, when user selects to be switched to shared file mode, the determination switching command of the selection according to user, switch to shared file mode, thus the file content that will show on first terminal, real-time synchronization is to the second terminal being in same LAN with first terminal, so, it is in the different terminals under same LAN and can check identical file content simultaneously, add the convenience sharing file content between terminal, improve playability and the interest of terminal, improve the experience of user。And when user selects not switch to shared file mode, then directly close this message box, it is ensured that first terminal can normally show file content。
As shown in figure 11, in one embodiment, said apparatus also includes:
First acquisition module 111, is configured to obtain total number of the second terminal and the mark of each second terminal and the reception state to file content;
Display module 112, is configured to the appointment region on the screen of first terminal, total number of the second terminal that display data obtaining module obtains, and the display field of the mark of each second terminal and the reception state to file content。
In this embodiment, the appointment region on the screen of first terminal, it is possible to display receives the number of the second terminal sharing file content, and the mark of each second terminal and the reception state to file content。So, the user of first terminal can be clearly seen that whether existing second terminal receives and shares file content, and total number of the second terminal of the shared file content of reception, and the reception state of each second shared file content of terminal reception, such as whether finish receiving。
As shown in figure 12, in one embodiment, said apparatus also includes:
Receiver module 121, is configured to receive the shared cancel an order of user's input;
Processing module 122, is configured to, according to described shared cancel an order, exit described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
In this embodiment, if user wants to exit shared file mode, it is possible to input is shared and countermanded an order, thus stopping the file content showing on first terminal is synchronized to the second terminal, so, the control of user's management to shared file content and shared process is facilitated。
Such as, appointment region on the screen of first terminal, the number receiving the second terminal sharing file content can be shown, and the display field of the mark of each second terminal and the reception state to file content, if user wants to cancel shared, the process of sharing can be closed at any time, so that first terminal stops sharing file content to the second terminal in display field。
As shown in figure 13, in one embodiment, said apparatus also includes:
Second acquisition module 131, is configured to all terminals obtained currently and first terminal is in same LAN;
Second determines module 132, is configured to select order according to the terminal received, terminal selected in all terminals is defined as the second terminal。
In this embodiment, first terminal can also obtain all terminals of currently connected to same LAN, so, user can from all terminals, select the second terminal being intended for its shared file content, thus avoiding the other-end that file content is shared to all terminals except the second terminal by first terminal, it is to avoid make troubles to other-end, promote the experience of user further。
Figure 14 is the block diagram of a kind of file sharing device according to an exemplary embodiment, this device can pass through software, hardware or both be implemented in combination with become the some or all of of terminal unit。As shown in figure 14, this document sharing means includes:
File reception module 141, is configured to reception and is in, with the second terminal, the file content that the first terminal in same LAN is shared;
First display module 142, is configured to obtain file content progress displaying on first terminal, according to progress displaying simultaneous display file content on the screen of the second terminal。
As shown in figure 15, in one embodiment, the first display module 142 includes:
Determine submodule 151, when being configured as receiving file content, it is determined that the memory space shared by file content;
Obtain submodule 152, it is configured as determining when submodule 151 determines the memory space shared by file content more than or equal to default memory space, obtain file content progress displaying on first terminal, according to progress displaying simultaneous display file content on the screen of the second terminal;
Sub module stored 153, is configured as determining when submodule 151 determines the memory space shared by file content less than default memory space, stores and show file content。
As shown in figure 16, in one embodiment, said apparatus also includes:
Progress receiver module 161, is configured to receive the progress displaying that user selects;
Second display module 162, is configured to the progress displaying display file content selected according to user。
The 5th aspect according to disclosure embodiment, it is provided that a kind of file sharing device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
Receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
Above-mentioned processor is also configured to:
The described pre-determined synchronization instruction receiving user's input, it is determined that be switched to shared file mode, including:
Receiving the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
When receiving described pre-determined synchronization instruction, exporting information, described information is used for prompting the user whether to be switched to shared file mode;
When receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
Above-mentioned processor is also configured to:
Obtain total number of the second terminal, and the mark of each second terminal and the reception state to described file content;
Appointment region on the screen of described first terminal, shows total number of described second terminal and the display field of the mark of each second terminal and the reception state to described file content。
Above-mentioned processor is also configured to:
Receive the shared cancel an order of user's input;
According to described shared cancel an order, exit described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
Above-mentioned processor is also configured to:
Will the file content of display on described first terminal, real-time synchronization to before the second terminal being in same LAN with described first terminal, obtains current and described first terminal and is in all terminals in same LAN;
Select order according to the terminal received, selected terminal in described all terminals is defined as described second terminal。
The 6th aspect according to disclosure embodiment, it is provided that a kind of file sharing device, for the second terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and be in, with described second terminal, the file content that the first terminal in same LAN is shared;
Obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal。
Above-mentioned processor is also configured to:
Described acquisition described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal, including:
When receiving described file content, it is determined that the memory space shared by described file content;
When the memory space shared by described file content is more than or equal to default memory space, obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal;
When the memory space shared by described file content is less than default memory space, stores and show described file content。
Above-mentioned processor is also configured to:
Receive the progress displaying that user selects;
The progress displaying selected according to user shows described file content。
Figure 17 is a kind of block diagram for picture shooting device according to an exemplary embodiment, and this device is applicable to terminal unit。Such as, device 1700 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant etc.。
Device 1700 can include following one or more assembly: processes assembly 1702, memorizer 1704, power supply module 1706, multimedia groupware 1708, audio-frequency assembly 1710, the interface 1712 of input/output (I/O), sensor cluster 1714, and communications component 1716。
Process assembly 1702 and generally control the integrated operation of device 1700, such as with display, call, data communication, the operation that camera operation and record operation are associated。Process assembly 1702 and can include one or more processor 1720 to perform instruction, to complete all or part of step of above-mentioned method。Additionally, process assembly 1702 can include one or more module, it is simple to what process between assembly 1702 and other assemblies is mutual。Such as, process assembly 1702 and can include multi-media module, with facilitate multimedia groupware 1708 and process between assembly 1702 mutual。
Memorizer 1704 is configured to store various types of data to support the operation at equipment 1700。The example of these data includes any application program for operation on device 1700 or the instruction of method, contact data, telephone book data, message, picture, video etc.。Memorizer 1704 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD。
The various assemblies that power supply module 1706 is device 1700 provide electric power。Power supply module 1706 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for device 1700, the assembly that electric power is associated。
Multimedia groupware 1708 includes the screen providing an output interface between described device 1700 and user。In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP)。If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user。Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel。Described touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to described touch or slide and pressure。In certain embodiments, multimedia groupware 1708 includes a front-facing camera and/or post-positioned pick-up head。When equipment 1700 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside。Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability。
Audio-frequency assembly 1710 is configured to output and/or input audio signal。Such as, audio-frequency assembly 1710 includes a mike (MIC), and when device 1700 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal。The audio signal received can be further stored at memorizer 1704 or send via communications component 1716。In certain embodiments, audio-frequency assembly 1710 also includes a speaker, is used for exporting audio signal。
I/O interface 1712 provides interface for processing between assembly 1702 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc.。These buttons may include but be not limited to: home button, volume button, startup button and locking press button。
Sensor cluster 1714 includes one or more sensor, for providing the state estimation of various aspects for device 1700。Such as, what sensor cluster 1714 can detect equipment 1700 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of device 1700, the position change of all right detecting device 1700 of sensor cluster 1714 or 1,700 1 assemblies of device, the presence or absence that user contacts with device 1700, the variations in temperature of device 1700 orientation or acceleration/deceleration and device 1700。Sensor cluster 1714 can include proximity transducer, is configured to when not having any physical contact object near detection。Sensor cluster 1714 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications。In certain embodiments, this sensor cluster 1714 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor。
Communications component 1716 is configured to facilitate between device 1700 and other equipment the communication of wired or wireless mode。Device 1700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination。In one exemplary embodiment, communication component 1716 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel。In one exemplary embodiment, described communication component 1716 also includes near-field communication (NFC) module, to promote junction service。Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize。
In the exemplary embodiment, device 1700 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks, is used for performing said method。
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 1704 of instruction, above-mentioned instruction can have been performed said method by the processor 1720 of device 1700。Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.。
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1700 so that device 1700 is able to carry out above-mentioned file sharing method, and described method includes:
Receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
In one embodiment, the described pre-determined synchronization instruction receiving user's input, it is determined that be switched to shared file mode, including:
Receiving the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
When receiving described pre-determined synchronization instruction, exporting information, described information is used for prompting the user whether to be switched to shared file mode;
When receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
In one embodiment, described method also includes:
Obtain total number of the second terminal, and the mark of each second terminal and the reception state to described file content;
Appointment region on the screen of described first terminal, shows total number of described second terminal and the display field of the mark of each second terminal and the reception state to described file content。
In one embodiment, described method also includes:
Receive the shared cancel an order of user's input;
According to described shared cancel an order, exit described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
In one embodiment, will the file content of display on described first terminal, real-time synchronization is to before the second terminal being in same LAN with described first terminal, and described method also includes:
Obtain and be currently in all terminals in same LAN with described first terminal;
Select order according to the terminal received, selected terminal in described all terminals is defined as described second terminal。
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1700 so that device 1700 is able to carry out above-mentioned file sharing method, and described method includes:
Receive and be in, with described second terminal, the file content that the first terminal in same LAN is shared;
Obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal。
In one embodiment, described acquisition described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal, including:
When receiving described file content, it is determined that the memory space shared by described file content;
When the memory space shared by described file content is more than or equal to default memory space, obtain described file content progress displaying on described first terminal, according to described progress displaying file content described in simultaneous display on the screen of described second terminal;
When the memory space shared by described file content is less than default memory space, stores and show described file content。
In one embodiment, described method also includes:
Receive the progress displaying that user selects;
The progress displaying selected according to user shows described file content。
Those skilled in the art, after considering description and putting into practice disclosed herein disclosing, will readily occur to other embodiment of the disclosure。The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means。Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below。
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope。The scope of the present disclosure is only limited by appended claim。

Claims (11)

1. a file sharing method, for first terminal, it is characterised in that including:
Receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
2. method according to claim 1, it is characterised in that the pre-determined synchronization instruction of described reception user input, it is determined that be switched to shared file mode, including:
Receiving the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
When receiving described pre-determined synchronization instruction, exporting information, described information is used for prompting the user whether to be switched to shared file mode;
When receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
3. method according to claim 1, it is characterised in that described method also includes:
Obtain total number of the second terminal, and the mark of each second terminal and the reception state to described file content;
Appointment region on the screen of described first terminal, shows total number of described second terminal and the display field of the mark of each second terminal and the reception state to described file content。
4. method according to claim 1, it is characterised in that described method also includes:
Receive the shared cancel an order of user's input;
According to described shared cancel an order, exit described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
5. method according to any one of claim 1 to 4, it is characterised in that will the file content of display on described first terminal, real-time synchronization is to before the second terminal being in same LAN with described first terminal, and described method also includes:
Obtain and be currently in all terminals in same LAN with described first terminal;
Select order according to the terminal received, selected terminal in described all terminals is defined as described second terminal。
6. a file sharing device, for first terminal, it is characterised in that including:
Determine module, for receiving the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Sharing module, under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
7. device according to claim 6, it is characterised in that described determine that module includes:
Receiving submodule, for receiving the pre-determined synchronization instruction of user's input, wherein, described pre-determined synchronization instruction includes presetting gesture operation;
Prompting submodule, for when receiving described pre-determined synchronization instruction, exporting information, described information is used for prompting the user whether to be switched to shared file mode;
Determine submodule, for when receiving the determination switching command that user selects, it is determined that be switched to shared file mode。
8. device according to claim 6, it is characterised in that described device also includes:
First acquisition module, for obtaining total number of the second terminal, and the mark of each second terminal and the reception state to described file content;
Display module, the appointment region on the screen at described first terminal, show total number of the second terminal that described data obtaining module obtains and the display field of the mark of each second terminal and the reception state to described file content。
9. device according to claim 6, it is characterised in that described device also includes:
Second receiver module, for receiving the shared cancel an order of user's input;
Processing module, for according to described shared cancel an order, exiting described shared file mode, to stop being synchronized to the file content shown on first terminal described second terminal。
10. the device according to any one of claim 6 to 9, it is characterised in that described device also includes:
Second acquisition module, for obtaining all terminals that current and described first terminal is in same LAN;
Determine module, for selecting order according to the terminal received, selected terminal in described all terminals is defined as described second terminal。
11. a file sharing device, for first terminal, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive the pre-determined synchronization instruction of user's input, it is determined that be switched to shared file mode;
Under shared file mode, will the file content of display on described first terminal, real-time synchronization is to the second terminal being in same LAN with described first terminal。
CN201610157058.6A 2016-03-18 2016-03-18 File sharing method and device Pending CN105700846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610157058.6A CN105700846A (en) 2016-03-18 2016-03-18 File sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610157058.6A CN105700846A (en) 2016-03-18 2016-03-18 File sharing method and device

Publications (1)

Publication Number Publication Date
CN105700846A true CN105700846A (en) 2016-06-22

Family

ID=56232045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610157058.6A Pending CN105700846A (en) 2016-03-18 2016-03-18 File sharing method and device

Country Status (1)

Country Link
CN (1) CN105700846A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566429A (en) * 2018-04-17 2018-09-21 广东五科技股份有限公司 A kind of high in the clouds sharing files method and apparatus
CN111679881A (en) * 2020-06-09 2020-09-18 腾讯科技(深圳)有限公司 File processing method and device, computer equipment and storage medium
CN114765758A (en) * 2021-01-04 2022-07-19 北京小米移动软件有限公司 Media file sharing method, media file sharing device and storage medium
CN114844849A (en) * 2022-03-31 2022-08-02 北京城市网邻信息技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN115033821A (en) * 2022-05-24 2022-09-09 北京达佳互联信息技术有限公司 Document display method and device, electronic equipment and storage medium
WO2024067166A1 (en) * 2022-09-26 2024-04-04 华为技术有限公司 Method for sharing file, and electronic device and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638774A (en) * 2012-03-31 2012-08-15 王方淇 Method and system for synchronously sharing mobile terminal data
CN104349199A (en) * 2014-11-21 2015-02-11 王方淇 Information synchronization method and device
CN104602109A (en) * 2014-12-26 2015-05-06 北京奇艺世纪科技有限公司 Video synchronizing method, device and system
WO2015172126A1 (en) * 2014-05-09 2015-11-12 High Speed Video Full duplex high quality audio/video communication over internet
CN105094638A (en) * 2015-06-17 2015-11-25 深圳市美贝壳科技有限公司 Image screen sharing method of mobile terminal and smart home device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638774A (en) * 2012-03-31 2012-08-15 王方淇 Method and system for synchronously sharing mobile terminal data
WO2015172126A1 (en) * 2014-05-09 2015-11-12 High Speed Video Full duplex high quality audio/video communication over internet
CN104349199A (en) * 2014-11-21 2015-02-11 王方淇 Information synchronization method and device
CN104602109A (en) * 2014-12-26 2015-05-06 北京奇艺世纪科技有限公司 Video synchronizing method, device and system
CN105094638A (en) * 2015-06-17 2015-11-25 深圳市美贝壳科技有限公司 Image screen sharing method of mobile terminal and smart home device and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566429A (en) * 2018-04-17 2018-09-21 广东五科技股份有限公司 A kind of high in the clouds sharing files method and apparatus
CN111679881A (en) * 2020-06-09 2020-09-18 腾讯科技(深圳)有限公司 File processing method and device, computer equipment and storage medium
CN114765758A (en) * 2021-01-04 2022-07-19 北京小米移动软件有限公司 Media file sharing method, media file sharing device and storage medium
CN114844849A (en) * 2022-03-31 2022-08-02 北京城市网邻信息技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN115033821A (en) * 2022-05-24 2022-09-09 北京达佳互联信息技术有限公司 Document display method and device, electronic equipment and storage medium
WO2024067166A1 (en) * 2022-09-26 2024-04-04 华为技术有限公司 Method for sharing file, and electronic device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN105700846A (en) File sharing method and device
CN105516754B (en) Picture display control method, device and terminal
CN106210757A (en) Live broadcasting method, live broadcast device and live broadcast system
CN106231378A (en) The display packing of direct broadcasting room, Apparatus and system
CN105159640A (en) Display interface rotation method and device, and mobile terminal
CN106028375A (en) Method and device for prompting network switching and terminal device
CN105828201A (en) Video processing method and device
CN105433904A (en) Sleep state detection method, device and system
CN105117033A (en) Connection method and device of external equipment
CN105472303A (en) Privacy protection method and apparatus for video chatting
CN104958898A (en) Method, apparatus and system for controlling video games
CN104618783A (en) Remote control method and device
CN103973900B (en) The method of transmission information and device
CN105068958A (en) Switching control method and device
CN104717554A (en) Smart television control method and device and electronic equipment
CN105516586A (en) Picture shooting method, device and system
CN103970576A (en) Installation information displaying method, obtaining method and device
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN105306716A (en) Data processing method, device and system
CN104991752A (en) Method and device for controlling screen to rotate
CN105224171A (en) icon display method, device and terminal
CN105138564A (en) Data file reading method and apparatus
CN104978113A (en) Dockbar processing method and apparatus
CN105635846A (en) Equipment control method and device
CN105261209A (en) Passenger flow volume determining method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622