WO2017050021A1 - File sharing method and device - Google Patents
File sharing method and device Download PDFInfo
- Publication number
- WO2017050021A1 WO2017050021A1 PCT/CN2016/093083 CN2016093083W WO2017050021A1 WO 2017050021 A1 WO2017050021 A1 WO 2017050021A1 CN 2016093083 W CN2016093083 W CN 2016093083W WO 2017050021 A1 WO2017050021 A1 WO 2017050021A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- document
- terminal
- page
- picture
- instruction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000004891 communication Methods 0.000 claims description 50
- 230000004044 response Effects 0.000 claims description 24
- 230000001360 synchronised effect Effects 0.000 claims description 15
- 230000006870 function Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Definitions
- the present invention relates to the field of Internet technologies, and in particular, to a file sharing method and apparatus.
- the prior art solution generally uploads the PPT file to be shared to the server by the sharing initiated user, and the synchronized user downloads the PPT file, which is opened by each user separately, and then the PPT slideshow automatically executes various synchronous operation instructions.
- the user needs to spend a certain time downloading the PPT file, and for the PPT file with a large file space, the user also loads the PPT file. It takes a certain amount of time.
- the embodiment of the invention provides a file sharing method and device, which is beneficial for saving the downloading time of the document during the synchronization process.
- a first aspect of the embodiments of the present invention provides a file sharing method, including:
- the method further includes: before performing the synchronous sharing operation on the image file, the method further includes:
- the Synchronize sharing operations including:
- the page content of the picture document loading request for the page code is downloaded and displayed on the master terminal and the slave terminal.
- the responding to the page code loading request in the primary terminal and the secondary terminal After downloading and displaying the page document for the page number loading request page content, the method further includes:
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- a fourth possible implementation manner of the first aspect of the embodiment of the present invention is the first possible implementation manner of the first aspect to the third aspect of the first aspect of the present invention.
- Transcoding the document into a picture document includes:
- a second aspect of the embodiments of the present invention provides a file sharing apparatus, including:
- a first acquiring module configured to acquire a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer;
- a transcoding module configured to transcode the document into a picture document, where the picture document includes N pictures, where N is a positive integer;
- a sharing module configured to perform a synchronous sharing operation on the image document.
- the device further includes:
- a second acquiring module configured to acquire M establishment communication connection requests sent by the terminal, where the M is Positive integer
- a setup module configured to send, according to the establishing a communication connection request, an establishment work group instruction to the M slave terminals, where the establishment work group instruction is used to instruct the M slave terminals to establish a work group.
- the sharing module includes:
- a first receiving unit configured to receive an open instruction sent by the main terminal for the picture document
- a first display unit configured to download and display a first page of the picture document on the main terminal in response to the opening instruction
- a pushing unit configured to push the first page of the picture document to the slave terminal
- a second receiving unit configured to receive a page number loading request of the master terminal and/or the slave terminal for the picture document
- a second display unit configured to download and display the page content of the picture document for the page code loading request on the master terminal and the slave terminal in response to the page number loading request.
- the sharing module further includes:
- a third receiving unit configured to receive an operation instruction of the master terminal and/or the slave terminal for the picture document
- a forwarding unit configured to forward the operation instruction to another terminal of the working group
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the transcoding module is specifically configured to acquire a resolution of the main terminal, and transcode the document into a picture document according to the resolution of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- FIG. 1 is a schematic flowchart of a file sharing method according to a first embodiment of the present invention
- FIG. 2 is a schematic flowchart of a file sharing method according to a second embodiment of the present invention.
- FIG. 3 is a schematic flowchart of a file sharing method according to a third embodiment of the present invention.
- FIG. 4 is a schematic flowchart of a file sharing method according to a fourth embodiment of the present invention.
- FIG. 5 is a schematic flowchart of a file sharing method according to a fifth embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a file sharing apparatus according to a sixth embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a file sharing apparatus according to a seventh embodiment of the present invention.
- the above-mentioned master terminal and slave terminal may be any device having communication and storage functions, such as a tablet computer, a mobile phone, an e-reader, a personal computer (PC), a notebook computer, a network television, a wearable device, etc., having network functions. Smart device.
- FIG. 1 is a schematic flowchart of a file sharing method according to a first embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
- the server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
- the document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture.
- the present embodiment is not limited.
- step S103 is directly executed.
- the server transcodes the document into a picture document, where the picture document includes N pictures, and N is a positive integer.
- the server calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt file specifically includes an N page ppt, and the server calls the transcoding function to The ppt document is converted into a picture document with N pictures, where the content of each picture exactly matches the content of each page ppt.
- the server performs a synchronous sharing operation on the picture document.
- the server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer
- the server sends a setup work group instruction to the M slave terminals in response to the establishing the communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
- the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals.
- the sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
- the specific implementation manner of performing the synchronous sharing operation on the picture document may be:
- the page content of the picture document loading request for the page code is downloaded and displayed on the master terminal and the slave terminal.
- the responding to the page number loading request is at the primary terminal and the After downloading and displaying the page document for the page number loading request page content, the following steps may also be performed:
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the operated picture document when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
- the specific implementation manner of transcoding the document into a picture document may be:
- the server acquires the resolution of the primary terminal, and transcodes the document into a picture document according to the resolution of the primary terminal.
- the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- FIG. 2 is a schematic flowchart of a file sharing method according to a second embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
- the server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
- the document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture.
- the present embodiment is not limited.
- step S103 is directly executed.
- the server transcodes the document into a picture document, where the picture document includes N pictures, and N is a positive integer.
- the server calls the transcoding function to convert the document into a picture document, and the server obtains Taking the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt document specifically includes an N page ppt, and the server calls a transcoding function to convert the ppt file into a picture document having N pictures, wherein the content of each picture is The content of each page ppt is exactly matched.
- the server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
- the server sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
- the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals.
- the sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
- the server performs a synchronous sharing operation on the picture document.
- the specific implementation manner of performing the synchronous sharing operation on the picture document may be:
- the server receives an open instruction sent by the main terminal for the picture document
- the server downloads and displays the first page of the picture document on the main terminal in response to the opening instruction
- the server pushes the first page of the picture document to the slave terminal;
- the server responds to the page number loading request, and downloads and displays the page content of the picture document for the page number loading request on the master terminal and the slave terminal.
- the server may perform the following steps in response to the page number loading request:
- the server forwards the operation instruction to other terminals of the working group
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the operated picture document when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
- the specific implementation manner of transcoding the document into a picture document may be:
- the server acquires the resolution of the primary terminal, and transcodes the document into a picture document according to the resolution of the primary terminal.
- the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- FIG. 3 is a schematic flowchart of a file sharing method according to a third embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
- the server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
- the document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture.
- the present embodiment is not limited.
- step S103 is directly executed.
- the server transcodes the document into a picture document, where the picture document includes N pictures, where N is a positive integer.
- the server calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt file specifically includes an N page ppt, and the server calls the transcoding function to The ppt document is converted into a picture document with N pictures, where the content of each picture exactly matches the content of each page ppt.
- the server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
- the server sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
- the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals.
- the sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
- S305 Receive an open instruction sent by the main terminal for the picture document.
- the server forwards the operation instruction to other terminals of the working group
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the operated picture document when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
- the specific implementation manner of transcoding the document into a picture document may be:
- the server acquires the resolution of the primary terminal, and transcodes the document into a picture document according to the resolution of the primary terminal.
- the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- FIG. 4 is a schematic flowchart of a file sharing method according to a fourth embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
- the server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
- the document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture.
- the present embodiment is not limited.
- step S103 is directly executed.
- the server acquires a resolution of the main terminal, and transcodes the document into a picture document according to a resolution of the main terminal, where the picture document includes N pictures, where N is a positive integer.
- the server calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt file specifically includes an N page ppt, and the server calls the transcoding function to The ppt document is converted into a picture document with N pictures, where the content of each picture exactly matches the content of each page ppt.
- the server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
- the server sends a setup workgroup command to the M slave terminals in response to the establishing a communication connection request, where the setup workgroup command is used to instruct the M slave terminals to establish a workgroup.
- the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals.
- the sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
- the server receives an open instruction sent by the main terminal for the picture document.
- the server downloads and displays the first page of the picture document on the main terminal in response to the opening instruction.
- the server pushes the first page of the picture document to the slave terminal.
- the server receives a page load request of the master terminal and/or the slave terminal for the picture document.
- the server responds to the page number loading request, and downloads and displays the page content of the picture document for the page code loading request on the master terminal and the slave terminal.
- the server receives an operation instruction of the master terminal and/or the slave terminal for the picture document.
- the server forwards the operation instruction to another terminal of the working group.
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the operated picture document when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
- the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- FIG. 5 is a schematic flowchart of a file sharing method according to a fifth embodiment of the present invention. As shown in FIG. 5, the method includes the following steps:
- the server obtains a picture file to be shared uploaded by the main terminal, where the file includes N pages, where N is a positive integer.
- the server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
- the server sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
- the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals.
- the sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
- the server receives an open instruction sent by the main terminal for the picture document.
- the server downloads and displays the first page of the picture document on the main terminal in response to the opening instruction.
- the server pushes the first page of the picture document to the slave terminal.
- the server receives a page load request of the master terminal and/or the slave terminal for the picture document.
- the server responds to the page number loading request, and downloads and displays the page content of the picture document for the page code loading request on the master terminal and the slave terminal.
- the responding to the page number loading request is at the primary terminal and the After downloading and displaying the page document for the page number loading request page content, the following steps may also be performed:
- the server receives an operation instruction of the master terminal and/or the slave terminal for the picture document.
- the server forwards the operation instruction to another terminal of the working group.
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the operated picture document when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
- the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- the device embodiment of the present invention is used to perform the method implemented in Embodiments 1 to 5 of the method of the present invention.
- Embodiments 1 to 5 of the method of the present invention For the convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Please refer to Embodiment 1 to Embodiment 5 of the present invention.
- FIG. 6 is a schematic structural diagram of a file sharing apparatus according to a sixth embodiment of the present invention.
- the file sharing apparatus includes: a first acquiring module 601, a transcoding module 602, and a sharing module. 603, where:
- the first obtaining module 601 is configured to obtain a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
- the document may be a special document in the form of a word, such as a word, an excel, a pdf, or a ppt, or a document in the form of a picture, which is not limited in this embodiment.
- the transcoding module 602 is configured to transcode the document into a picture document, where the picture document includes N pictures, N is a positive integer, and each content of the picture document and each page content of the document match.
- the transcoding module 602 calls a transcoding function to convert the document into a picture document.
- the first obtaining module 601 obtains the document to be shared uploaded by the main terminal as a ppt file, and the ppt file specifically includes an N page ppt, and the transcoding module 602 calls a transcoding function to convert the ppt file into having N pictures. Picture document.
- the sharing module 603 is configured to perform a synchronization sharing operation on the picture document.
- the device may further include:
- a second acquiring module configured to acquire M communication connection request sent by the terminal, where the M is a positive integer
- a setup module configured to send, according to the establishing a communication connection request, an establishment work group instruction to the M slave terminals, where the establishment work group instruction is used to instruct the M slave terminals to establish a work group.
- the second obtaining module acquires a request for establishing a communication connection sent by the M terminals that need to perform the same sharing operation with the main terminal, and the establishing module responds to the request for establishing a communication connection, and if the main terminal allows to establish a communication connection,
- the working group command is sent to the M slave terminals, and the slave terminal receiving the work group command is established with the master terminal to establish a working group.
- the sharing module includes:
- a first receiving unit configured to receive an open instruction sent by the main terminal for the picture document
- a first display unit configured to download and display a first page of the picture document on the main terminal in response to the opening instruction
- a pushing unit configured to push the first page of the picture document to the slave terminal
- a second receiving unit configured to receive a page number loading request of the master terminal and/or the slave terminal for the picture document
- a second display unit configured to download and display the page content of the picture document for the page code loading request on the master terminal and the slave terminal in response to the page number loading request.
- the sharing module may further include:
- a third receiving unit configured to receive an operation instruction of the master terminal and/or the slave terminal for the picture document
- a forwarding unit configured to forward the operation instruction to another terminal of the working group
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- the operated picture document when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the third receiving unit receives the master terminal and/or the slave terminal for the picture document.
- the operation instruction, the forwarding unit forwards the generated operation instruction to other terminals.
- the transcoding module is specifically configured to obtain a resolution of the main terminal, The document is transcoded into a picture document according to the resolution of the primary terminal.
- the transcoding module acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display screen of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- FIG. 7 is a schematic structural diagram of a file sharing apparatus according to a seventh embodiment of the present invention.
- the file sharing apparatus in the embodiment of the present invention includes at least one processor 701, such as a CPU, at least one receiver 703, at least one memory 704, at least one transmitter 704, and at least one communication bus 702.
- the communication bus 702 is used to implement connection communication between these components.
- the receiver 703 and the transmitter 704 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices.
- the memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- the memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701.
- a set of program codes is stored in the memory 704, and the processor 701 is configured to call program code stored in the memory for performing the following operations:
- the processor 701 acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
- the document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture.
- the present embodiment is not limited.
- step S103 is directly executed.
- the processor 701 transcodes the document into a picture document, wherein the picture document includes N pictures, N is a positive integer, and each piece of the picture document matches each page content of the document.
- the processor 701 calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file, and the ppt file specifically includes an N page ppt, and the server calls the transcoding.
- the function converts the ppt document into a picture document having N pictures.
- the processor 701 performs a synchronous sharing operation on the picture document.
- the processor 701 acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer;
- the processor 701 sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
- the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals.
- the sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
- the specific implementation manner in which the processor 701 performs a synchronous sharing operation on the picture file may be:
- the processor 701 receives an open instruction sent by the main terminal for the picture document
- the processor 701 downloads and displays the first page of the picture document on the main terminal in response to the opening instruction;
- the processor 701 pushes a first page of the picture document to a slave terminal
- the processor 701 receives a page number loading request of the master terminal and/or the slave terminal for the picture document;
- the processor 701 in response to the page number loading request, downloads and displays the page content of the picture document for the page code loading request on the master terminal and the slave terminal.
- the processor 701 after responding to the page number loading request, after downloading and displaying the page document content of the picture document for the page number loading request on the master terminal and the slave terminal, may further perform the following step:
- the processor 701 receives an operation instruction of the master terminal and/or the slave terminal for the picture document;
- the processor 701 forwards the operation instruction to other terminals of the working group;
- the operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- a specific implementation manner in which the processor 701 transcodes the document into a picture document may be:
- the processor 701 acquires the resolution of the main terminal, and transcodes the document into a picture document according to the resolution of the main terminal.
- the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
- the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program includes some or all of the steps of the monitoring method of any one of the service processes described in the foregoing method embodiments.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs.
- the unit is to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
- the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiments of the invention disclose a file sharing method and device. The file sharing method comprises: obtaining a file uploaded by a main terminal and to be shared, wherein the file comprises N pages, and N is a positive integer; transcoding the file into an image file, wherein the image file comprises N images, and N is a positive integer; and synchronously sharing the image files. The embodiments of the invention provide a technical scheme facilitating a reduction in a file download time in a synchronization procedure.
Description
本发明涉及互联网技术领域,具体涉及一种文件分享方法及装置。The present invention relates to the field of Internet technologies, and in particular, to a file sharing method and apparatus.
随着视频技术和互联网技术的不断发展,有越来越多的场合应用到多媒体互动技术。在多媒体互动会议或教学场景中,主讲人的讲述过程通常以PPT文件为主线,逐页进行讲解。With the continuous development of video technology and Internet technology, more and more occasions are applied to multimedia interactive technology. In a multimedia interactive meeting or teaching scene, the presenter's storytelling process usually uses PPT files as the main line and explains them page by page.
现有技术方案一般为分享发起的用户将待分享的PPT文件上传至服务器,进行同步的用户下载PPT文件,由各个用户进行分别打开,然后PPT幻灯片自动执行各种同步操作指令。The prior art solution generally uploads the PPT file to be shared to the server by the sharing initiated user, and the synchronized user downloads the PPT file, which is opened by each user separately, and then the PPT slideshow automatically executes various synchronous operation instructions.
目前,在用户网络的下载速度较慢或PPT文件占用空间较大的情况下,用户在下载PPT文件时需耗费一定时间,而且对于文件占用空间较大的PPT文件,用户在加载PPT文件时也需要耗费一定时间。At present, when the download speed of the user network is slow or the PPT file occupies a large space, the user needs to spend a certain time downloading the PPT file, and for the PPT file with a large file space, the user also loads the PPT file. It takes a certain amount of time.
发明内容Summary of the invention
本发明实施例提供了一种文件分享方法及装置,有利于节省同步过程中文档的下载时间。The embodiment of the invention provides a file sharing method and device, which is beneficial for saving the downloading time of the document during the synchronization process.
本发明实施例第一方面提供一种文件分享方法,包括:A first aspect of the embodiments of the present invention provides a file sharing method, including:
获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数;Obtaining a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer;
将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数;Transcoding the document into a picture document, where the picture document includes N pictures, and N is a positive integer;
针对所述图片文档进行同步分享操作。Synchronize sharing operations for the image document.
在本发明实施例第一方面的第一种可能的实现方式中,所述针对所述图片文档进行同步分享操作之前,所述方法还包括:In a first possible implementation manner of the first aspect of the embodiment, the method further includes: before performing the synchronous sharing operation on the image file, the method further includes:
获取M个从终端发送的建立通讯连接请求,所述M为正整数;Obtaining M establishment communication connection requests sent by the terminal, where M is a positive integer;
响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。
And in response to the establishing a communication connection request, sending a setup work group instruction to the M slave terminals, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
结合本发明实施例第一方面或本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述针对所述图片文档进行同步分享操作,包括:With reference to the first aspect of the embodiments of the present invention or the first possible implementation manner of the first aspect of the embodiments of the present invention, in a second possible implementation manner of the first aspect of the embodiments of the present disclosure, the Synchronize sharing operations, including:
接收主终端发送的针对所述图片文档的打开指令;Receiving an open instruction sent by the main terminal for the picture document;
响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;Responding to the opening instruction, downloading and displaying the first page of the picture document on the main terminal;
将所述图片文档的第一页推送至从终端;Pushing the first page of the picture document to the slave terminal;
接收主终端和/或从终端针对所述图片文档的页码加载请求;Receiving a page load request of the master terminal and/or the slave terminal for the picture document;
响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。In response to the page number loading request, the page content of the picture document loading request for the page code is downloaded and displayed on the master terminal and the slave terminal.
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,所述方法还包括:With reference to the second possible implementation manner of the first aspect of the embodiments of the present invention, in a third possible implementation manner of the first aspect of the embodiments, the responding to the page code loading request, in the primary terminal and the secondary terminal After downloading and displaying the page document for the page number loading request page content, the method further includes:
接收主终端和/或从终端针对所述图片文档的操作指令;Receiving an operation instruction of the master terminal and/or the slave terminal for the picture document;
将所述操作指令转发至所述工作组的其它终端;Forwarding the operation instruction to other terminals of the work group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
结合本发明实施例第一方面或本发明实施例第一方面的第一种至第三种中的任一种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述将所述文档转码为图片文档包括:A fourth possible implementation manner of the first aspect of the embodiment of the present invention is the first possible implementation manner of the first aspect to the third aspect of the first aspect of the present invention. Transcoding the document into a picture document includes:
获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。Acquiring the resolution of the main terminal, transcoding the document into a picture document according to the resolution of the main terminal.
本发明实施例第二方面提供一种文件分享装置,包括:A second aspect of the embodiments of the present invention provides a file sharing apparatus, including:
第一获取模块,用于获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数;a first acquiring module, configured to acquire a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer;
转码模块,用于将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数;a transcoding module, configured to transcode the document into a picture document, where the picture document includes N pictures, where N is a positive integer;
分享模块,用于针对所述图片文档进行同步分享操作。a sharing module, configured to perform a synchronous sharing operation on the image document.
在本发明实施例第二方面的第一种可能的实现方式中,所述装置还包括:In a first possible implementation manner of the second aspect of the embodiment, the device further includes:
第二获取模块,用于获取M个从终端发送的建立通讯连接请求,所述M为
正整数;a second acquiring module, configured to acquire M establishment communication connection requests sent by the terminal, where the M is
Positive integer
建立模块,用于响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。And a setup module, configured to send, according to the establishing a communication connection request, an establishment work group instruction to the M slave terminals, where the establishment work group instruction is used to instruct the M slave terminals to establish a work group.
结合本发明实施例第二方面或本发明实施例第二方面的第一种可能的实现方式,在本发明实施例第二方面的第二种可能的实现方式中,所述分享模块包括:With reference to the second aspect of the embodiments of the present invention or the first possible implementation manner of the second aspect of the embodiments of the present invention, in a second possible implementation manner of the second aspect of the embodiments of the present disclosure, the sharing module includes:
第一接收单元,用于接收主终端发送的针对所述图片文档的打开指令;a first receiving unit, configured to receive an open instruction sent by the main terminal for the picture document;
第一展示单元,用于响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;a first display unit, configured to download and display a first page of the picture document on the main terminal in response to the opening instruction;
推送单元,用于将所述图片文档的第一页推送至从终端;a pushing unit, configured to push the first page of the picture document to the slave terminal;
第二接收单元,用于接收主终端和/或从终端针对所述图片文档的页码加载请求;a second receiving unit, configured to receive a page number loading request of the master terminal and/or the slave terminal for the picture document;
第二展示单元,用于响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。And a second display unit, configured to download and display the page content of the picture document for the page code loading request on the master terminal and the slave terminal in response to the page number loading request.
结合本发明实施例第二方面的第二种可能的实现方式,在本发明实施例第二方面的第三种可能的实现方式中,所述分享模块还包括:With reference to the second possible implementation manner of the second aspect of the embodiment of the present invention, in a third possible implementation manner of the second aspect of the embodiment, the sharing module further includes:
第三接收单元,用于接收主终端和/或从终端针对所述图片文档的操作指令;a third receiving unit, configured to receive an operation instruction of the master terminal and/or the slave terminal for the picture document;
转发单元,用于将所述操作指令转发至所述工作组的其它终端;a forwarding unit, configured to forward the operation instruction to another terminal of the working group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
结合本发明实施例第二方面或本发明实施例第二方面的第一种至第三种中的任一种可能的实现方式,在本发明实施例第二方面的第四种可能的实现方式中,所述转码模块,具体用于获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。A fourth possible implementation manner of the second aspect of the embodiment of the present invention, in combination with the second aspect of the embodiment of the present invention or the possible implementation manner of any one of the first to the third aspect of the second aspect of the present invention The transcoding module is specifically configured to acquire a resolution of the main terminal, and transcode the document into a picture document according to the resolution of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明第一实施例提供的一种文件分享方法的流程示意图;1 is a schematic flowchart of a file sharing method according to a first embodiment of the present invention;
图2是本发明第二实施例提供的一种文件分享方法的流程示意图;2 is a schematic flowchart of a file sharing method according to a second embodiment of the present invention;
图3是本发明第三实施例提供的一种文件分享方法的流程示意图;3 is a schematic flowchart of a file sharing method according to a third embodiment of the present invention;
图4是本发明第四实施例提供的一种文件分享方法的流程示意图;4 is a schematic flowchart of a file sharing method according to a fourth embodiment of the present invention;
图5是本发明第五实施例提供的一种文件分享方法的流程示意图;FIG. 5 is a schematic flowchart of a file sharing method according to a fifth embodiment of the present invention; FIG.
图6是本发明第六实施例提供的一种文件分享装置的结构示意图;FIG. 6 is a schematic structural diagram of a file sharing apparatus according to a sixth embodiment of the present invention; FIG.
图7是本发明第七实施例提供的一种文件分享装置的结构示意图。FIG. 7 is a schematic structural diagram of a file sharing apparatus according to a seventh embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
以下分别进行详细说明。The details are described below separately.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", "third", "fourth" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products, or equipment.
上述主终端和从终端可以是任何具备通信和存储功能的设备,例如:平板电脑、手机、电子阅读器、个人计算机(Personal Computer,PC)、笔记本电脑、网络电视、可穿戴设备等具有网络功能的智能设备。The above-mentioned master terminal and slave terminal may be any device having communication and storage functions, such as a tablet computer, a mobile phone, an e-reader, a personal computer (PC), a notebook computer, a network television, a wearable device, etc., having network functions. Smart device.
请参阅图1,图1是本发明第一实施例提供的一种文件分享方法的流程示意图,如图1所示,包括以下步骤:
Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a file sharing method according to a first embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
S101、服务器获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数。S101. The server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
其中,所述文档可以是word、excel、pdf、ppt等非图片形式的特殊文档,也可以是图片形式文档,本实施例不作限定,当文档为图片形式文档时,直接执行步骤S103。The document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture. The present embodiment is not limited. When the document is a document in the form of a picture, step S103 is directly executed.
S102、服务器将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数。S102. The server transcodes the document into a picture document, where the picture document includes N pictures, and N is a positive integer.
可以理解,服务器调用转码函数将所述文档转换为图片文档,以服务器获取主终端上传的待分享的文档为ppt文档为例,ppt文档具体包含N页ppt,服务器调用转码函数将所述ppt文档转换为具有N张图片的图片文档,其中每张图片的内容与每页ppt的内容完全匹配。It can be understood that the server calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt file specifically includes an N page ppt, and the server calls the transcoding function to The ppt document is converted into a picture document with N pictures, where the content of each picture exactly matches the content of each page ppt.
S103、服务器针对所述图片文档进行同步分享操作。S103. The server performs a synchronous sharing operation on the picture document.
作为一种可选的实施方式,所述针对所述图片文档进行同步分享操作之前,还可以执行以下步骤:As an optional implementation manner, before performing the synchronous sharing operation on the image document, the following steps may be performed:
服务器获取M个从终端发送的建立通讯连接请求,所述M为正整数;The server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer;
服务器响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。The server sends a setup work group instruction to the M slave terminals in response to the establishing the communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
具体的,需要与主终端进行同部分享操作的M个从终端向服务器发送建立通讯连接请求,服务器响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。Specifically, the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals. The sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
作为一种可选的实施方式,所述针对所述图片文档进行同步分享操作的具体实施方式可以是:As an optional implementation manner, the specific implementation manner of performing the synchronous sharing operation on the picture document may be:
接收主终端发送的针对所述图片文档的打开指令;Receiving an open instruction sent by the main terminal for the picture document;
响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;Responding to the opening instruction, downloading and displaying the first page of the picture document on the main terminal;
将所述图片文档的第一页推送至从终端;Pushing the first page of the picture document to the slave terminal;
接收主终端和/或从终端针对所述图片文档的页码加载请求;Receiving a page load request of the master terminal and/or the slave terminal for the picture document;
响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。In response to the page number loading request, the page content of the picture document loading request for the page code is downloaded and displayed on the master terminal and the slave terminal.
作为一种可选的实施方式,所述响应所述页码加载请求,在主终端和从终
端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,还可以执行以下步骤:As an optional implementation manner, the responding to the page number loading request is at the primary terminal and the
After downloading and displaying the page document for the page number loading request page content, the following steps may also be performed:
接收主终端和/或从终端针对所述图片文档的操作指令;Receiving an operation instruction of the master terminal and/or the slave terminal for the picture document;
将所述操作指令转发至所述工作组的其它终端;Forwarding the operation instruction to other terminals of the work group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,当主终端和/或从终端进行操作时,被操作的图片文档会根据主终端和/或从终端操作生成操作指令,服务器将所生成的操作指令也会发送给其他终端。It can be understood that when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
作为一种可选的实施方式,所述将所述文档转码为图片文档的具体实施方式可以是:As an optional implementation manner, the specific implementation manner of transcoding the document into a picture document may be:
服务器获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。The server acquires the resolution of the primary terminal, and transcodes the document into a picture document according to the resolution of the primary terminal.
可以理解,服务器获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
请参阅图2,图2是本发明第二实施例提供的一种文件分享方法的流程示意图,如图2所示,包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a file sharing method according to a second embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
S101、服务器获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数。S101. The server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
其中,所述文档可以是word、excel、pdf、ppt等非图片形式的特殊文档,也可以是图片形式文档,本实施例不作限定,当文档为图片形式文档时,直接执行步骤S103。The document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture. The present embodiment is not limited. When the document is a document in the form of a picture, step S103 is directly executed.
S202、服务器将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数。S202. The server transcodes the document into a picture document, where the picture document includes N pictures, and N is a positive integer.
可以理解,服务器调用转码函数将所述文档转换为图片文档,以服务器获
取主终端上传的待分享的文档为ppt文档为例,ppt文档具体包含N页ppt,服务器调用转码函数将所述ppt文档转换为具有N张图片的图片文档,其中每张图片的内容与每页ppt的内容完全匹配。It can be understood that the server calls the transcoding function to convert the document into a picture document, and the server obtains
Taking the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt document specifically includes an N page ppt, and the server calls a transcoding function to convert the ppt file into a picture document having N pictures, wherein the content of each picture is The content of each page ppt is exactly matched.
S203、服务器获取M个从终端发送的建立通讯连接请求,所述M为正整数。S203. The server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
S204、服务器响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。S204. The server sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
具体的,需要与主终端进行同部分享操作的M个从终端向服务器发送建立通讯连接请求,服务器响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。Specifically, the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals. The sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
S205、服务器针对所述图片文档进行同步分享操作。S205. The server performs a synchronous sharing operation on the picture document.
作为一种可选的实施方式,所述针对所述图片文档进行同步分享操作的具体实施方式可以是:As an optional implementation manner, the specific implementation manner of performing the synchronous sharing operation on the picture document may be:
服务器接收主终端发送的针对所述图片文档的打开指令;The server receives an open instruction sent by the main terminal for the picture document;
服务器响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;The server downloads and displays the first page of the picture document on the main terminal in response to the opening instruction;
服务器将所述图片文档的第一页推送至从终端;The server pushes the first page of the picture document to the slave terminal;
服务器接收主终端和/或从终端针对所述图片文档的页码加载请求;Receiving, by the server, a page number loading request of the master terminal and/or the slave terminal for the picture document;
服务器响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。The server responds to the page number loading request, and downloads and displays the page content of the picture document for the page number loading request on the master terminal and the slave terminal.
作为一种可选的实施方式,所述服务器响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,还可以执行以下步骤:As an optional implementation manner, after the server downloads and displays the page document content of the page document for the page code loading request, the server may perform the following steps in response to the page number loading request:
服务器接收主终端和/或从终端针对所述图片文档的操作指令;Receiving, by the server, an operation instruction of the master terminal and/or the slave terminal for the picture document;
服务器将所述操作指令转发至所述工作组的其它终端;The server forwards the operation instruction to other terminals of the working group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,当主终端和/或从终端进行操作时,被操作的图片文档会根据主终端和/或从终端操作生成操作指令,服务器将所生成的操作指令也会发送给其他终端。It can be understood that when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
作为一种可选的实施方式,所述将所述文档转码为图片文档的具体实施方式可以是:
As an optional implementation manner, the specific implementation manner of transcoding the document into a picture document may be:
服务器获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。The server acquires the resolution of the primary terminal, and transcodes the document into a picture document according to the resolution of the primary terminal.
可以理解,服务器获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
请参阅图3,图3是本发明第三实施例提供的一种文件分享方法的流程示意图,如图3所示,包括以下步骤:Referring to FIG. 3, FIG. 3 is a schematic flowchart of a file sharing method according to a third embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
S301、服务器获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数。S301. The server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
其中,所述文档可以是word、excel、pdf、ppt等非图片形式的特殊文档,也可以是图片形式文档,本实施例不作限定,当文档为图片形式文档时,直接执行步骤S103。The document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture. The present embodiment is not limited. When the document is a document in the form of a picture, step S103 is directly executed.
S302、服务器将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数。S302. The server transcodes the document into a picture document, where the picture document includes N pictures, where N is a positive integer.
可以理解,服务器调用转码函数将所述文档转换为图片文档,以服务器获取主终端上传的待分享的文档为ppt文档为例,ppt文档具体包含N页ppt,服务器调用转码函数将所述ppt文档转换为具有N张图片的图片文档,其中每张图片的内容与每页ppt的内容完全匹配。It can be understood that the server calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt file specifically includes an N page ppt, and the server calls the transcoding function to The ppt document is converted into a picture document with N pictures, where the content of each picture exactly matches the content of each page ppt.
S303、服务器获取M个从终端发送的建立通讯连接请求,所述M为正整数。S303. The server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
S304、服务器响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。S304. The server sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
具体的,需要与主终端进行同部分享操作的M个从终端向服务器发送建立通讯连接请求,服务器响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。
Specifically, the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals. The sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
S305、接收主终端发送的针对所述图片文档的打开指令。S305. Receive an open instruction sent by the main terminal for the picture document.
S306、响应所述打开指令,在主终端上下载并展示所述图片文档的第一页。S306. Download and display the first page of the picture document on the main terminal in response to the opening instruction.
S307、将所述图片文档的第一页推送至从终端。S307. Push the first page of the picture document to the slave terminal.
S308、接收主终端和/或从终端针对所述图片文档的页码加载请求。S308. Receive a page load request for the picture document by the master terminal and/or the slave terminal.
S309、响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。S309. Respond to the page number loading request, download and display the page code content of the picture document for the page code loading request on the master terminal and the slave terminal.
作为一种可选的实施方式,所述响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,还可以执行以下步骤:As an optional implementation manner, after responding to the page number loading request, after downloading and displaying the page document content of the page document for the page code loading request on the master terminal and the slave terminal, the following steps may be performed:
服务器接收主终端和/或从终端针对所述图片文档的操作指令;Receiving, by the server, an operation instruction of the master terminal and/or the slave terminal for the picture document;
服务器将所述操作指令转发至所述工作组的其它终端;The server forwards the operation instruction to other terminals of the working group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,当主终端和/或从终端进行操作时,被操作的图片文档会根据主终端和/或从终端操作生成操作指令,服务器将所生成的操作指令也会发送给其他终端。It can be understood that when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
作为一种可选的实施方式,所述将所述文档转码为图片文档的具体实施方式可以是:As an optional implementation manner, the specific implementation manner of transcoding the document into a picture document may be:
服务器获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。The server acquires the resolution of the primary terminal, and transcodes the document into a picture document according to the resolution of the primary terminal.
可以理解,服务器获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
请参阅图4,图4是本发明第四实施例提供的一种文件分享方法的流程示意图,如图3所示,包括以下步骤:Referring to FIG. 4, FIG. 4 is a schematic flowchart of a file sharing method according to a fourth embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
S401、服务器获取主终端上传的待分享的文档,所述文档包括N页,其中,
N为正整数。S401. The server acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where
N is a positive integer.
其中,所述文档可以是word、excel、pdf、ppt等非图片形式的特殊文档,也可以是图片形式文档,本实施例不作限定,当文档为图片形式文档时,直接执行步骤S103。The document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture. The present embodiment is not limited. When the document is a document in the form of a picture, step S103 is directly executed.
S402、服务器获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数。S402. The server acquires a resolution of the main terminal, and transcodes the document into a picture document according to a resolution of the main terminal, where the picture document includes N pictures, where N is a positive integer.
可以理解,服务器调用转码函数将所述文档转换为图片文档,以服务器获取主终端上传的待分享的文档为ppt文档为例,ppt文档具体包含N页ppt,服务器调用转码函数将所述ppt文档转换为具有N张图片的图片文档,其中每张图片的内容与每页ppt的内容完全匹配。It can be understood that the server calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file as an example, the ppt file specifically includes an N page ppt, and the server calls the transcoding function to The ppt document is converted into a picture document with N pictures, where the content of each picture exactly matches the content of each page ppt.
S403、服务器获取M个从终端发送的建立通讯连接请求,所述M为正整数。S403. The server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
S404、服务器响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。S404. The server sends a setup workgroup command to the M slave terminals in response to the establishing a communication connection request, where the setup workgroup command is used to instruct the M slave terminals to establish a workgroup.
具体的,需要与主终端进行同部分享操作的M个从终端向服务器发送建立通讯连接请求,服务器响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。Specifically, the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals. The sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
S405、服务器接收主终端发送的针对所述图片文档的打开指令。S405. The server receives an open instruction sent by the main terminal for the picture document.
S406、服务器响应所述打开指令,在主终端上下载并展示所述图片文档的第一页。S406. The server downloads and displays the first page of the picture document on the main terminal in response to the opening instruction.
S407、服务器将所述图片文档的第一页推送至从终端。S407. The server pushes the first page of the picture document to the slave terminal.
S408、服务器接收主终端和/或从终端针对所述图片文档的页码加载请求。S408. The server receives a page load request of the master terminal and/or the slave terminal for the picture document.
S409、服务器响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。S409. The server responds to the page number loading request, and downloads and displays the page content of the picture document for the page code loading request on the master terminal and the slave terminal.
作为一种可选的实施方式,所述响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,还可以执行以下步骤:As an optional implementation manner, after responding to the page number loading request, after downloading and displaying the page document content of the page document for the page code loading request on the master terminal and the slave terminal, the following steps may be performed:
S410、服务器接收主终端和/或从终端针对所述图片文档的操作指令。S410. The server receives an operation instruction of the master terminal and/or the slave terminal for the picture document.
S411、服务器将所述操作指令转发至所述工作组的其它终端。S411. The server forwards the operation instruction to another terminal of the working group.
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。
The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,当主终端和/或从终端进行操作时,被操作的图片文档会根据主终端和/或从终端操作生成操作指令,服务器将所生成的操作指令也会发送给其他终端。It can be understood that when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
可以理解,服务器获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
请参阅图5,图5是本发明第五实施例提供的一种文件分享方法的流程示意图,如图5所示,包括以下步骤:Referring to FIG. 5, FIG. 5 is a schematic flowchart of a file sharing method according to a fifth embodiment of the present invention. As shown in FIG. 5, the method includes the following steps:
S501、服务器获取主终端上传的待分享的图片文档,所述文档包括N页,其中,N为正整数。S501. The server obtains a picture file to be shared uploaded by the main terminal, where the file includes N pages, where N is a positive integer.
S502、服务器获取M个从终端发送的建立通讯连接请求,所述M为正整数。S502. The server acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer.
S503、服务器响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。S503. The server sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
具体的,需要与主终端进行同部分享操作的M个从终端向服务器发送建立通讯连接请求,服务器响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。Specifically, the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals. The sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
S504、服务器接收主终端发送的针对所述图片文档的打开指令。S504. The server receives an open instruction sent by the main terminal for the picture document.
S505、服务器响应所述打开指令,在主终端上下载并展示所述图片文档的第一页。S505. The server downloads and displays the first page of the picture document on the main terminal in response to the opening instruction.
S506、服务器将所述图片文档的第一页推送至从终端。S506. The server pushes the first page of the picture document to the slave terminal.
S507、服务器接收主终端和/或从终端针对所述图片文档的页码加载请求。S507. The server receives a page load request of the master terminal and/or the slave terminal for the picture document.
S508、服务器响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。S508. The server responds to the page number loading request, and downloads and displays the page content of the picture document for the page code loading request on the master terminal and the slave terminal.
作为一种可选的实施方式,所述响应所述页码加载请求,在主终端和从终
端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,还可以执行以下步骤:As an optional implementation manner, the responding to the page number loading request is at the primary terminal and the
After downloading and displaying the page document for the page number loading request page content, the following steps may also be performed:
S509、服务器接收主终端和/或从终端针对所述图片文档的操作指令。S509. The server receives an operation instruction of the master terminal and/or the slave terminal for the picture document.
S510、服务器将所述操作指令转发至所述工作组的其它终端。S510. The server forwards the operation instruction to another terminal of the working group.
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,当主终端和/或从终端进行操作时,被操作的图片文档会根据主终端和/或从终端操作生成操作指令,服务器将所生成的操作指令也会发送给其他终端。It can be understood that when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the server also transmits the generated operation instruction to other terminals.
可以理解,服务器获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例一至五实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例一至实施例五。The following is a device embodiment of the present invention. The device embodiment of the present invention is used to perform the method implemented in Embodiments 1 to 5 of the method of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Please refer to Embodiment 1 to Embodiment 5 of the present invention.
请参阅图6,图6是本发明第六实施例提供的一种文件分享装置的结构示意图,如图6所示,该文件分享装置包括:第一获取模块601、转码模块602以及分享模块603,其中:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a file sharing apparatus according to a sixth embodiment of the present invention. As shown in FIG. 6, the file sharing apparatus includes: a first acquiring module 601, a transcoding module 602, and a sharing module. 603, where:
所述第一获取模块601,用于获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数。The first obtaining module 601 is configured to obtain a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
其中,所述文档可以是word、excel、pdf、ppt等非图片形式的特殊文档,也可以是图片形式文档,本实施例不作限定。The document may be a special document in the form of a word, such as a word, an excel, a pdf, or a ppt, or a document in the form of a picture, which is not limited in this embodiment.
所述转码模块602,用于将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数,所述图片文档的每张内容与所述文档每页内容匹配。The transcoding module 602 is configured to transcode the document into a picture document, where the picture document includes N pictures, N is a positive integer, and each content of the picture document and each page content of the document match.
可以理解,所述转码模块602调用转码函数将所述文档转换为图片文档,
以第一获取模块601获取主终端上传的待分享的文档为ppt文档为例,ppt文档具体包含N页ppt,所述转码模块602调用转码函数将所述ppt文档转换为具有N张图片的图片文档。It can be understood that the transcoding module 602 calls a transcoding function to convert the document into a picture document.
The first obtaining module 601 obtains the document to be shared uploaded by the main terminal as a ppt file, and the ppt file specifically includes an N page ppt, and the transcoding module 602 calls a transcoding function to convert the ppt file into having N pictures. Picture document.
所述分享模块603,用于针对所述图片文档进行同步分享操作。The sharing module 603 is configured to perform a synchronization sharing operation on the picture document.
作为一种可选的实施方式,所述装置还可以包括:As an optional implementation manner, the device may further include:
第二获取模块,用于获取M个从终端发送的建立通讯连接请求,所述M为正整数;a second acquiring module, configured to acquire M communication connection request sent by the terminal, where the M is a positive integer;
建立模块,用于响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。And a setup module, configured to send, according to the establishing a communication connection request, an establishment work group instruction to the M slave terminals, where the establishment work group instruction is used to instruct the M slave terminals to establish a work group.
具体的,第二获取模块获取需要与主终端进行同部分享操作的M个从终端发送的建立通讯连接请求,建立模块响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。Specifically, the second obtaining module acquires a request for establishing a communication connection sent by the M terminals that need to perform the same sharing operation with the main terminal, and the establishing module responds to the request for establishing a communication connection, and if the main terminal allows to establish a communication connection, The working group command is sent to the M slave terminals, and the slave terminal receiving the work group command is established with the master terminal to establish a working group.
作为一种可选的实施方式,所述分享模块包括:As an optional implementation manner, the sharing module includes:
第一接收单元,用于接收主终端发送的针对所述图片文档的打开指令;a first receiving unit, configured to receive an open instruction sent by the main terminal for the picture document;
第一展示单元,用于响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;a first display unit, configured to download and display a first page of the picture document on the main terminal in response to the opening instruction;
推送单元,用于将所述图片文档的第一页推送至从终端;a pushing unit, configured to push the first page of the picture document to the slave terminal;
第二接收单元,用于接收主终端和/或从终端针对所述图片文档的页码加载请求;a second receiving unit, configured to receive a page number loading request of the master terminal and/or the slave terminal for the picture document;
第二展示单元,用于响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。And a second display unit, configured to download and display the page content of the picture document for the page code loading request on the master terminal and the slave terminal in response to the page number loading request.
作为一种可选的实施方式,所述分享模块还可以包括:As an optional implementation manner, the sharing module may further include:
第三接收单元,用于接收主终端和/或从终端针对所述图片文档的操作指令;a third receiving unit, configured to receive an operation instruction of the master terminal and/or the slave terminal for the picture document;
转发单元,用于将所述操作指令转发至所述工作组的其它终端;a forwarding unit, configured to forward the operation instruction to another terminal of the working group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,当主终端和/或从终端进行操作时,被操作的图片文档会根据主终端和/或从终端操作生成操作指令,第三接收单元接收主终端和/或从终端针对所述图片文档的操作指令,转发单元将所生成的操作指令转发给其它终端。It can be understood that when the master terminal and/or the slave terminal operate, the operated picture document generates an operation instruction according to the master terminal and/or the slave terminal operation, and the third receiving unit receives the master terminal and/or the slave terminal for the picture document. The operation instruction, the forwarding unit forwards the generated operation instruction to other terminals.
作为一种可选的实施方式,所述转码模块,具体用于获取主终端的分辨率,
根据所述主终端的分辨率将所述文档转码为图片文档。As an optional implementation manner, the transcoding module is specifically configured to obtain a resolution of the main terminal,
The document is transcoded into a picture document according to the resolution of the primary terminal.
可以理解,所述转码模块获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the transcoding module acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display screen of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
请参考图7,图7是本发明第七实施例公开的一种文件分享装置的结构示意图。如图7所示,本发明实施例中的文件分享装置包括:至少一个处理器701,例如CPU,至少一个接收器703,至少一个存储器704,至少一个发送器704,至少一个通信总线702。其中,通信总线702用于实现这些组件之间的连接通信。其中,本发明实施例中装置的接收器703和发送器704可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器704可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器704可选的还可以是至少一个位于远离前述处理器701的存储装置。存储器704中存储一组程序代码,且处理器701用于调用存储器中存储的程序代码,用于执行以下操作:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a file sharing apparatus according to a seventh embodiment of the present invention. As shown in FIG. 7, the file sharing apparatus in the embodiment of the present invention includes at least one processor 701, such as a CPU, at least one receiver 703, at least one memory 704, at least one transmitter 704, and at least one communication bus 702. Among them, the communication bus 702 is used to implement connection communication between these components. The receiver 703 and the transmitter 704 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices. The memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701. A set of program codes is stored in the memory 704, and the processor 701 is configured to call program code stored in the memory for performing the following operations:
所述处理器701获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数。The processor 701 acquires a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer.
其中,所述文档可以是word、excel、pdf、ppt等非图片形式的特殊文档,也可以是图片形式文档,本实施例不作限定,当文档为图片形式文档时,直接执行步骤S103。The document may be a special document in the form of a word, an excel, a pdf, a ppt, or the like, and may be a document in the form of a picture. The present embodiment is not limited. When the document is a document in the form of a picture, step S103 is directly executed.
所述处理器701将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数,所述图片文档的每张内容与所述文档每页内容匹配。The processor 701 transcodes the document into a picture document, wherein the picture document includes N pictures, N is a positive integer, and each piece of the picture document matches each page content of the document.
可以理解,所述处理器701调用转码函数将所述文档转换为图片文档,以服务器获取主终端上传的待分享的文档为ppt文档为例,ppt文档具体包含N页ppt,服务器调用转码函数将所述ppt文档转换为具有N张图片的图片文档。It can be understood that the processor 701 calls the transcoding function to convert the document into a picture document, and the server obtains the document to be shared uploaded by the main terminal as a ppt file, and the ppt file specifically includes an N page ppt, and the server calls the transcoding. The function converts the ppt document into a picture document having N pictures.
所述处理器701针对所述图片文档进行同步分享操作。
The processor 701 performs a synchronous sharing operation on the picture document.
作为一种可选的实施方式,所述处理器701针对所述图片文档进行同步分享操作之前,还可以执行以下步骤:As an optional implementation manner, before the processor 701 performs a synchronous sharing operation on the picture document, the following steps may be performed:
所述处理器701获取M个从终端发送的建立通讯连接请求,所述M为正整数;The processor 701 acquires M establishment communication connection requests sent by the terminal, where the M is a positive integer;
所述处理器701响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。The processor 701 sends a setup work group instruction to the M slave terminals in response to the establishing a communication connection request, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
具体的,需要与主终端进行同部分享操作的M个从终端向服务器发送建立通讯连接请求,服务器响应所述建立通讯连接请求,在主终端允许建立通讯连接的情况下,向M个从终端发送建立工作组指令,接收到建立工作组指令的从终端与主终端建立工作组。Specifically, the M slave terminals that need to perform the same sharing operation with the master terminal send a communication connection request to the server, and the server responds to the establishment of the communication connection request, and in the case that the master terminal allows the establishment of the communication connection, to the M slave terminals. The sending establishment group instruction is received, and the slave terminal that receives the instruction to establish the working group establishes a working group with the master terminal.
作为一种可选的实施方式,所述处理器701针对所述图片文档进行同步分享操作的具体实施方式可以是:As an optional implementation manner, the specific implementation manner in which the processor 701 performs a synchronous sharing operation on the picture file may be:
所述处理器701接收主终端发送的针对所述图片文档的打开指令;The processor 701 receives an open instruction sent by the main terminal for the picture document;
所述处理器701响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;The processor 701 downloads and displays the first page of the picture document on the main terminal in response to the opening instruction;
所述处理器701将所述图片文档的第一页推送至从终端;The processor 701 pushes a first page of the picture document to a slave terminal;
所述处理器701接收主终端和/或从终端针对所述图片文档的页码加载请求;The processor 701 receives a page number loading request of the master terminal and/or the slave terminal for the picture document;
所述处理器701响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。The processor 701, in response to the page number loading request, downloads and displays the page content of the picture document for the page code loading request on the master terminal and the slave terminal.
作为一种可选的实施方式,所述处理器701响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,还可以执行以下步骤:As an optional implementation manner, the processor 701, after responding to the page number loading request, after downloading and displaying the page document content of the picture document for the page number loading request on the master terminal and the slave terminal, may further perform the following step:
所述处理器701接收主终端和/或从终端针对所述图片文档的操作指令;The processor 701 receives an operation instruction of the master terminal and/or the slave terminal for the picture document;
所述处理器701将所述操作指令转发至所述工作组的其它终端;The processor 701 forwards the operation instruction to other terminals of the working group;
其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
可以理解,在其中一个终端在操作自己的图片文档时,所生成的操作指令也会发送给其他终端。It can be understood that when one of the terminals is operating its own picture document, the generated operation instructions are also sent to other terminals.
作为一种可选的实施方式,所述处理器701将所述文档转码为图片文档的具体实施方式可以是:
As an optional implementation manner, a specific implementation manner in which the processor 701 transcodes the document into a picture document may be:
所述处理器701获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。The processor 701 acquires the resolution of the main terminal, and transcodes the document into a picture document according to the resolution of the main terminal.
可以理解,服务器获取主终端的显示屏分辨率,根据所述主终端显示屏的分辨率将所述文档转码为与显示屏分辨率匹配的图片文档。It can be understood that the server acquires the display resolution of the main terminal, and transcodes the document into a picture document matching the resolution of the display according to the resolution of the display of the main terminal.
可以看出,本发明实施例技术方案中,由于分享发起的用户将待分享的文档上传至服务器的过程中,服务器对待分享的文档进行转码,将文档转换成为与之页面内容匹配的图片文档,这使得用户下载文档时无需事先下载整个文档,只需下载文档首页,然后按照演讲进度进行剩余页面的下载请求,节省了同步过程中的下载时间。It can be seen that, in the technical solution of the embodiment of the present invention, because the user initiated by the sharing uploads the document to be shared to the server, the server transcodes the document to be shared, and converts the document into a picture document matching the content of the page. This allows the user to download the document without having to download the entire document in advance, just download the document home page, and then download the remaining pages according to the progress of the presentation, saving the download time during the synchronization process.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种服务进程的监控方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program includes some or all of the steps of the monitoring method of any one of the service processes described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部
单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs.
The unit is to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。
The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; The present invention is not limited by the scope of the present invention, and the present invention is not limited by the scope of the present invention.
Claims (10)
- 一种文件分享方法,其特征在于,所述方法包括:A file sharing method, the method comprising:获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数;Obtaining a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer;将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数;Transcoding the document into a picture document, where the picture document includes N pictures, and N is a positive integer;针对所述图片文档进行同步分享操作。Synchronize sharing operations for the image document.
- 根据权利要求1所述的方法,其特征在于,所述针对所述图片文档进行同步分享操作之前,所述方法还包括:The method according to claim 1, wherein before the performing the synchronous sharing operation on the picture document, the method further comprises:获取M个从终端发送的建立通讯连接请求,所述M为正整数;Obtaining M establishment communication connection requests sent by the terminal, where M is a positive integer;响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。And in response to the establishing a communication connection request, sending a setup work group instruction to the M slave terminals, where the setup work group instruction is used to instruct the M slave terminals to establish a work group.
- 根据权利要求2所述的方法,其特征在于,所述针对所述图片文档进行同步分享操作,包括:The method according to claim 2, wherein the performing a synchronous sharing operation on the picture document comprises:接收主终端发送的针对所述图片文档的打开指令;Receiving an open instruction sent by the main terminal for the picture document;响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;Responding to the opening instruction, downloading and displaying the first page of the picture document on the main terminal;将所述图片文档的第一页推送至从终端;Pushing the first page of the picture document to the slave terminal;接收主终端和/或从终端针对所述图片文档的页码加载请求;Receiving a page load request of the master terminal and/or the slave terminal for the picture document;响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。In response to the page number loading request, the page content of the picture document loading request for the page code is downloaded and displayed on the master terminal and the slave terminal.
- 根据权利要求3所述的方法,其特征在于,所述响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容之后,所述方法还包括:The method according to claim 3, wherein said method is responsive to said page number loading request, after downloading and displaying said page document on said master page and said slave terminal for said page number loading request page content Also includes:接收主终端和/或从终端针对所述图片文档的操作指令;Receiving an operation instruction of the master terminal and/or the slave terminal for the picture document;将所述操作指令转发至所述工作组的其它终端;Forwarding the operation instruction to other terminals of the work group;其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- 根据权利要求1至4任一项所述的方法,其特征在于,所述将所述文档转码为图片文档包括:The method according to any one of claims 1 to 4, wherein the transcoding the document into a picture document comprises:获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。 Acquiring the resolution of the main terminal, transcoding the document into a picture document according to the resolution of the main terminal.
- 一种文件分享装置,其特征在于,所述装置包括:A file sharing device, characterized in that the device comprises:第一获取模块,用于获取主终端上传的待分享的文档,所述文档包括N页,其中,N为正整数;a first acquiring module, configured to acquire a document to be shared uploaded by the main terminal, where the document includes N pages, where N is a positive integer;转码模块,用于将所述文档转码为图片文档,其中,所述图片文档包括N张图片,N为正整数;a transcoding module, configured to transcode the document into a picture document, where the picture document includes N pictures, where N is a positive integer;分享模块,用于针对所述图片文档进行同步分享操作。a sharing module, configured to perform a synchronous sharing operation on the image document.
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:第二获取模块,用于获取M个从终端发送的建立通讯连接请求,所述M为正整数;a second acquiring module, configured to acquire M communication connection request sent by the terminal, where the M is a positive integer;建立模块,用于响应所述建立通讯连接请求,向M个从终端发送建立工作组指令,所述建立工作组指令用于指示所述M个从终端建立工作组。And a setup module, configured to send, according to the establishing a communication connection request, an establishment work group instruction to the M slave terminals, where the establishment work group instruction is used to instruct the M slave terminals to establish a work group.
- 根据权利要求7所述的装置,其特征在于,所述分享模块包括:The device according to claim 7, wherein the sharing module comprises:第一接收单元,用于接收主终端发送的针对所述图片文档的打开指令;a first receiving unit, configured to receive an open instruction sent by the main terminal for the picture document;第一展示单元,用于响应所述打开指令,在主终端上下载并展示所述图片文档的第一页;a first display unit, configured to download and display a first page of the picture document on the main terminal in response to the opening instruction;推送单元,用于将所述图片文档的第一页推送至从终端;a pushing unit, configured to push the first page of the picture document to the slave terminal;第二接收单元,用于接收主终端和/或从终端针对所述图片文档的页码加载请求;a second receiving unit, configured to receive a page number loading request of the master terminal and/or the slave terminal for the picture document;第二展示单元,用于响应所述页码加载请求,在主终端和从终端上下载并展示所述图片文档针对所述页码加载请求的页码内容。And a second display unit, configured to download and display the page content of the picture document for the page code loading request on the master terminal and the slave terminal in response to the page number loading request.
- 根据权利要求8所述的装置,其特征在于,所述分享模块还包括:The device of claim 8, wherein the sharing module further comprises:第三接收单元,用于接收主终端和/或从终端针对所述图片文档的操作指令;a third receiving unit, configured to receive an operation instruction of the master terminal and/or the slave terminal for the picture document;转发单元,用于将所述操作指令转发至所述工作组的其它终端;a forwarding unit, configured to forward the operation instruction to another terminal of the working group;其中,所述操作指令包括针对所述图片文档的翻页指令和/或关闭指令。The operation instruction includes a page turning instruction and/or a closing instruction for the picture document.
- 根据权利要求6至9任一项所述的装置,其特征在于,Apparatus according to any one of claims 6 to 9, wherein所述转码模块,具体用于获取主终端的分辨率,根据所述主终端的分辨率将所述文档转码为图片文档。 The transcoding module is specifically configured to acquire a resolution of the main terminal, and transcode the document into a picture document according to the resolution of the main terminal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510616453.1 | 2015-09-24 | ||
CN201510616453.1A CN105357249A (en) | 2015-09-24 | 2015-09-24 | File sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017050021A1 true WO2017050021A1 (en) | 2017-03-30 |
Family
ID=55333108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/093083 WO2017050021A1 (en) | 2015-09-24 | 2016-08-03 | File sharing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105357249A (en) |
WO (1) | WO2017050021A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111723558A (en) * | 2020-07-17 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Document display method and device, electronic equipment and storage medium |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357249A (en) * | 2015-09-24 | 2016-02-24 | 广州视睿电子科技有限公司 | File sharing method and device |
CN108737482B (en) * | 2017-04-24 | 2020-11-27 | 腾讯科技(深圳)有限公司 | Document sharing method, device and system |
CN111447135B (en) * | 2017-06-07 | 2022-01-04 | 邹时月 | Information management method of chat software containing video explanation information |
CN112394857B (en) * | 2019-08-19 | 2023-10-31 | 珠海金山办公软件有限公司 | Method and device for converting format of slide PPT document and electronic equipment |
CN111225039A (en) * | 2019-12-24 | 2020-06-02 | 中移(杭州)信息技术有限公司 | Display method, electronic device, and computer-readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1508875A2 (en) * | 2003-08-20 | 2005-02-23 | Seiko Epson Corporation | Method for converting power point presentation files into compressed image files |
CN101266552A (en) * | 2008-04-07 | 2008-09-17 | 宇龙计算机通信科技(深圳)有限公司 | Method for sub computer reading host file and the communication terminal |
CN103607427A (en) * | 2013-10-30 | 2014-02-26 | 小米科技有限责任公司 | Method and device for information display |
CN104199911A (en) * | 2014-08-28 | 2014-12-10 | 天脉聚源(北京)教育科技有限公司 | Storage method and device for PPT |
US20150135081A1 (en) * | 2011-10-28 | 2015-05-14 | Microsoft Technology Licensing, Llc | Document sharing through browser |
CN104796455A (en) * | 2015-03-12 | 2015-07-22 | 安徽讯飞皆成软件技术有限公司 | Cross-platform multi-screen interacting method, device and system |
CN105357249A (en) * | 2015-09-24 | 2016-02-24 | 广州视睿电子科技有限公司 | File sharing method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661459B (en) * | 2009-10-19 | 2011-08-31 | 中国电信股份有限公司 | Method for providing network document resources, platform thereof and system thereof |
CN102572204A (en) * | 2010-12-20 | 2012-07-11 | 中国移动通信集团浙江有限公司 | Method and device for obtaining comics adaptive to terminal screen resolution |
US20130226979A1 (en) * | 2011-10-17 | 2013-08-29 | Brainshark, Inc. | Systems and methods for multi-device rendering of multimedia presentations |
CN103428382A (en) * | 2012-05-23 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Method, terminal, server and system for carrying out teleconference |
CN103516748A (en) * | 2012-06-25 | 2014-01-15 | 北京智慧风云科技有限公司 | Method and system for self-adaption file downloading processing of cloud server and cloud server |
CN104811468B (en) * | 2014-01-29 | 2019-12-10 | 北京百度网讯科技有限公司 | File processing method and device |
-
2015
- 2015-09-24 CN CN201510616453.1A patent/CN105357249A/en active Pending
-
2016
- 2016-08-03 WO PCT/CN2016/093083 patent/WO2017050021A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1508875A2 (en) * | 2003-08-20 | 2005-02-23 | Seiko Epson Corporation | Method for converting power point presentation files into compressed image files |
CN101266552A (en) * | 2008-04-07 | 2008-09-17 | 宇龙计算机通信科技(深圳)有限公司 | Method for sub computer reading host file and the communication terminal |
US20150135081A1 (en) * | 2011-10-28 | 2015-05-14 | Microsoft Technology Licensing, Llc | Document sharing through browser |
CN103607427A (en) * | 2013-10-30 | 2014-02-26 | 小米科技有限责任公司 | Method and device for information display |
CN104199911A (en) * | 2014-08-28 | 2014-12-10 | 天脉聚源(北京)教育科技有限公司 | Storage method and device for PPT |
CN104796455A (en) * | 2015-03-12 | 2015-07-22 | 安徽讯飞皆成软件技术有限公司 | Cross-platform multi-screen interacting method, device and system |
CN105357249A (en) * | 2015-09-24 | 2016-02-24 | 广州视睿电子科技有限公司 | File sharing method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111723558A (en) * | 2020-07-17 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Document display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105357249A (en) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017050021A1 (en) | File sharing method and device | |
EP2632168B1 (en) | Method for transmitting stream between electronic devices and electronic device for the method thereof | |
EP2825966B1 (en) | Communication control system and control device | |
US8970651B2 (en) | Integrating audio and video conferencing capabilities | |
JP6430646B2 (en) | Method and apparatus for outputting auxiliary content in WFD | |
EP2933982A1 (en) | Media stream transfer method and user equipment | |
CN112261467B (en) | Screen-casting content display method and device, electronic equipment and readable storage medium | |
CN107357585B (en) | Video acquisition method and device, video equipment and storage medium | |
EP2905945A1 (en) | Inter-terminal image sharing method, terminal device and communication system | |
US10897435B2 (en) | Instant messaging method and system, and electronic apparatus | |
US11483681B2 (en) | Special effect synchronization method, device, and storage medium | |
JP2016046552A (en) | Communication device and control method thereof | |
CN104394200A (en) | A method for performing simultaneous preview and display between a mobile device and a web terminal | |
EP3151574A1 (en) | System and method for maintaining connection channel in multi-device interworking service | |
CN104320491A (en) | Method for synchronous display between mobile device and web terminal | |
US10623499B2 (en) | Method and system for operating and controlling data, and user terminal | |
RU2609090C2 (en) | Systems and methods for image data sharing | |
WO2016070373A1 (en) | Method for implementing synchronous preview display between mobile terminal and web terminal | |
CN113079588A (en) | Control method, control device, control equipment and storage medium | |
US10805472B2 (en) | Terminal apparatus, information processing system, and information transmission method | |
US10122896B2 (en) | System and method of managing transmission of data between two devices | |
US20130057708A1 (en) | Real-time Wireless Image Logging Using a Standalone Digital Camera | |
EP2786550A1 (en) | Communicating media data | |
CN109116998B (en) | Electronic system capable of sharing peripheral device | |
CN108012167B (en) | Projection service and request method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16847903 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16847903 Country of ref document: EP Kind code of ref document: A1 |