CN109815200B - File sharing method and device and storage medium - Google Patents

File sharing method and device and storage medium Download PDF

Info

Publication number
CN109815200B
CN109815200B CN201910030954.XA CN201910030954A CN109815200B CN 109815200 B CN109815200 B CN 109815200B CN 201910030954 A CN201910030954 A CN 201910030954A CN 109815200 B CN109815200 B CN 109815200B
Authority
CN
China
Prior art keywords
document
shared
image
file
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910030954.XA
Other languages
Chinese (zh)
Other versions
CN109815200A (en
Inventor
任旻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910030954.XA priority Critical patent/CN109815200B/en
Publication of CN109815200A publication Critical patent/CN109815200A/en
Application granted granted Critical
Publication of CN109815200B publication Critical patent/CN109815200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a file sharing method, a file sharing device and a storage medium; the method includes the steps of receiving a file sharing instruction, obtaining a plurality of files to be shared according to the file sharing instruction, when the number of the files to be shared is larger than a preset threshold value, creating an online document capable of being cooperated by multiple persons according to the files to be shared, and sharing the online document. According to the scheme, the online document capable of being cooperated by multiple persons can be created according to the file to be shared, the file capable of being cooperated by multiple persons is shared through the online document capable of being cooperated by multiple persons, the image-text document is edited through the online document by multiple persons, and the file is edited through cooperation of multiple persons, so that the file can be shared through cooperation of multiple persons.

Description

File sharing method and device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a file sharing method, apparatus, and storage medium.
Background
With the continuous development of internet technology, more and more ways for sharing files are provided, and most social application programs provide a file sharing function for enriching the interaction experience. Such as sharing pictures, sharing videos, and so forth.
At present, a file sharing mode mainly utilizes a file sharing function entry provided by a social application program, and a sharer realizes file sharing by calling the function entry.
Because the current file sharing mode cannot support multi-person collaborative uploading of the file, for example, multi-person collaborative editing of the uploaded file, and the like, the file cannot be shared by multi-person collaboration.
Disclosure of Invention
The embodiment of the application provides a file sharing method, a file sharing device and a storage medium, and can realize multi-user collaborative file sharing.
The embodiment of the application provides a file sharing method, which is suitable for sharing equipment and comprises the following steps:
receiving a file sharing instruction;
acquiring a plurality of files to be shared according to the file sharing instruction;
when the number of the files to be shared is larger than a preset threshold value, creating an online document capable of being collaborated by multiple persons according to the files to be shared;
and sharing the online document.
The embodiment of the present application further provides another file sharing method, which is applicable to shared devices, and includes:
displaying an online document sharing message;
displaying an editing interface based on the viewing operation of the user for the online document sharing message, wherein the editing interface comprises a picture and text document corresponding to the online document;
editing the image-text document based on the editing operation of the user aiming at the editing interface to obtain an edited image-text document;
and updating the online document according to the edited image-text document.
Correspondingly, this application embodiment still provides a file sharing device, is applicable to sharing equipment, includes:
the receiving module is used for receiving a file sharing instruction;
the acquisition module is used for acquiring a plurality of files to be shared according to the file sharing instruction;
the creating module is used for creating an online document capable of being cooperated by multiple persons according to the files to be shared when the number of the files to be shared is larger than a preset threshold value;
and the sharing module is used for sharing the online document.
Correspondingly, this application embodiment still provides another kind of file sharing device, is applicable to by the shared equipment, includes:
the first display module is used for displaying the online document sharing message;
the second display module is used for displaying an editing interface based on the viewing operation of a user for the online document sharing message, wherein the editing interface comprises a picture-text document corresponding to the online document;
the editing module is used for editing the image-text document based on the editing operation of the user aiming at the editing interface to obtain an edited image-text document;
and the updating module is used for updating the online document according to the edited image-text document.
Correspondingly, an embodiment of the present application further provides a storage medium, where the storage medium stores instructions, and the instructions, when executed by a processor, implement the steps of any one of the file sharing methods provided in the embodiments of the present application.
According to the method and the device, a file sharing instruction triggered by a user is received, a plurality of files to be shared are obtained according to the file sharing instruction, when the number of the files to be shared is larger than a preset threshold value, an online document capable of being cooperated by multiple persons is created according to the files to be shared, and the online document is shared. The scheme can realize the cooperative sharing of the file by multiple persons.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scene of a file sharing system according to an embodiment of the present disclosure;
fig. 2 is a first flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 3 is a second flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 4 is a third flow diagram of a file sharing method according to an embodiment of the present application;
fig. 5 is a schematic view of a session interface of a file sharing method according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a manner of selecting pictures and texts in the file sharing method according to the embodiment of the present application;
FIG. 7 is a schematic diagram of an editing page provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of another edit page provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a permission setting page provided in an embodiment of the present application;
FIG. 10 is a schematic diagram of a multi-user collaborative editing interface provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of an editing completion interface provided by an embodiment of the present application;
FIG. 12 is a schematic diagram of an add comment interface provided by an embodiment of the present application;
FIG. 13 is a schematic view of a review comment interface provided by an embodiment of the present application;
fig. 14 is a schematic diagram of a file sharing system according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a first file sharing method according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a second file sharing method according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a third file sharing method according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a network device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a file sharing method, a file sharing device and a storage medium.
The embodiment of the application provides a file sharing system, which can comprise any one of first file sharing devices suitable for sharing equipment and any one of second file sharing devices suitable for shared equipment, wherein the first file sharing devices are provided by the embodiment of the application.
The first file sharing device can be integrated in the sharing equipment for sharing files, the sharing equipment can comprise a sharing terminal and the like, the second file sharing device can be integrated in the shared equipment for receiving and allowing the files to be edited, the shared equipment can comprise the shared terminal and the like, and the terminal can be a mobile phone, a tablet computer, wearable equipment and the like.
For example, referring to fig. 1, there is provided a file sharing system including:
the system comprises a sharing terminal 20 for sharing files, a first image-text server 30, a video server 40, an online document server 50, a second image-text server 60 and a shared terminal 70 for receiving and allowing editing of files. The terminal and the server are connected through a network, and the server is also connected through a network, wherein the network includes network entities such as a router, a gateway and the like, which are not illustrated in the figure.
When a file needs to be shared, the sharing terminal 20 receives a file sharing instruction, the sharing terminal 20 obtains a plurality of files to be shared through the video server 40 and the like according to the file sharing instruction, when the number of the plurality of files to be shared is greater than a preset threshold value, the online document server 50 creates an online document which can be collaborated by multiple persons according to the plurality of files to be shared, the sharing terminal 20 shares the online document, the online document sharing message is displayed in the shared terminal 70, the shared terminal 70 displays an editing interface based on the viewing operation of a user on the online document sharing message, the first image-text server 30 and the second image-text server 60 edit the image-text document based on the editing operation of the user on the editing interface to obtain an edited image-text document, and the online document server 50 updates the online document according to the edited image-text document.
In this embodiment, a description will be given from the perspective of a first file sharing apparatus, where the first file sharing apparatus may be specifically integrated in a network device, and the network device may include a terminal and a server.
As shown in fig. 2, a file sharing method is provided, which is suitable for a sharing device, and the method may be executed by a processor of the sharing device, and the specific process may be as follows:
201. and receiving a file sharing instruction.
The file sharing instruction can be triggered in various ways, for example, the file sharing instruction can be triggered by a user operating the sharing device (for example, shaking, sliding, clicking and the like); for example, the user may shake the sharing device to trigger the file sharing instruction, specifically, the sharing device may trigger sending the file sharing instruction based on the detected shake operation, and at this time, the file sharing apparatus will receive the instruction.
For another example, the user may perform a touch operation on the display screen, and at this time, the sharing device may receive a file sharing instruction triggered by the user through touching the display screen.
In an embodiment, in a chat session scenario, a user may perform a triggering operation of a file sharing instruction for a session interface, so as to trigger the file sharing instruction, and at this time, the sharing device receives the file sharing instruction. Furthermore, in order to trigger the file sharing instruction, a file sharing interface can be arranged on the chat session interface, so that a user can trigger the file sharing instruction through the file sharing interface.
In an embodiment, a file sharing interface may be further configured on an interface such as a file editing interface.
The presentation form of the file sharing interface is various, for example, the form of an input box, an icon, a button, and the like.
For example, a "file sharing" button is set on the chat session interface, and when the user clicks the button, a file sharing instruction is triggered to be generated, and at this time, the sharing device may share a file according to the file sharing instruction.
For another example, when a file is shared through a cloud disk, a user may upload the file to be shared into the cloud disk, and perform a file sharing instruction triggering operation to generate a file sharing instruction, and at this time, the sharing device may acquire the file to be shared from the cloud disk according to the file sharing instruction, and perform file sharing.
202. And acquiring a plurality of files to be shared according to the file sharing instruction.
The files may include files in the form of text documents, words, images, video, audio, programs, and so forth. The file may include a multimedia file, which refers to a man-machine interactive information exchange and transmission medium combining two or more media, which may include characters, pictures, photos, sounds, animations and movies, and interactive functions provided by programs, etc. And the file to be shared is the file to be shared which is confirmed by the sharing equipment according to the file sharing instruction.
The method for obtaining the plurality of files to be shared according to the file sharing instruction may be various, for example, the files to be shared may be obtained from a local storage based on the file sharing instruction, or from a network side device.
For another example, in an embodiment, when the sharing device acquires a file to be shared, a file such as a video or an image that needs to be shared may be selected as the file to be shared according to the file sharing instruction. For another example, when the user is in a chat interface, file selection may be performed in a file such as an image and a video stored locally according to a file sharing instruction, so as to obtain a file to be shared.
For example, when the sharing device interface is located in the chat session interface, a "file sharing" icon may be set in the chat session interface, the user may click the sharing file icon of the session interface to send a file sharing instruction, after receiving the file sharing instruction, the sharing device may call a local album, display a file selection interface, display file icons corresponding to images, videos, and the like in the album, and the user may click the icon of the corresponding file to select the file to be shared.
203. And when the number of the files to be shared is larger than a preset threshold value, creating an online document capable of being collaborated by multiple persons according to the files to be shared.
The online document capable of being cooperated by multiple persons is an online document capable of supporting the cooperation of multiple persons, the online document capable of being cooperated by multiple persons supports multiple file types, the document can be checked and edited by opening a webpage, the document can be stored in the cloud in real time, the document can be edited by multiple persons in real time, and the authority is safe and controllable.
The preset threshold is a threshold for judging whether the number of the files to be shared meets the number threshold for sharing the files in a multi-person cooperation mode, namely judging whether an image-text editing mode is used.
When a large number of files are shared at present, sharing equipment needs to share the files one by one, and shared equipment receives a large number of new message prompts, so that harassment is generated on the shared equipment; meanwhile, due to different file transmission time, the sending sequence and the receiving sequence of the files are inconsistent, and the file sharing accuracy is influenced; as the sharing device needs to spend a certain time on sending the files, the shared device does not receive all the files to be shared at one time, and the efficiency of sharing the files is influenced; meanwhile, the text description and the like cannot be carried out on the file, so that the readability of the file is reduced; when multiple persons collaboratively share the file, the problems are more prominent, so that when the number of the shared files is very large, a user of the sharing equipment can be prompted whether to use a multi-person collaboration mode to share the file.
In practical application, when the number of the files to be shared is greater than a preset threshold, an online document capable of being collaborated by multiple persons can be created according to the files to be shared, for example, when the preset threshold is n, if the number of the files to be shared is greater than n, the sharing device can preset an area on an interface, display a rectangular frame with a preset size, and display a prompt message for using image-text editing in the rectangular frame, so that the purpose of prompting a user to use the image-text editing message is achieved, and after the user sees the prompt message, the user can determine whether to use the image-text editing.
When a user selects to use the image-text editing, an instruction for using the image-text editing can be sent, the instruction for using the image-text editing can be realized through an image-text editing interface (such as an input frame, an icon, a button and the like), the user sends the instruction for using the image-text editing by triggering the image-text editing interface, and after receiving the instruction for using the image-text editing, the sharing device can create an online document capable of being cooperated by multiple persons, so that the user can edit a file to be shared.
In an embodiment, in order to facilitate editing by a user and ensure consistency of documents edited by a sharing device and a shared device, a user-editable image-text document can be created, so that the user can edit the documents based on the image-text document. Specifically, the step of "creating an online document that can be collaborated by multiple persons according to the multiple files to be shared" may include:
creating a user editable image-text document based on the plurality of files to be shared;
and creating an online document which can be collaborated by multiple persons based on the image-text document.
The image-text document is a document edited by the sharing equipment for the first time, and the image-text document comprises a file to be shared and contents such as characters and music added by a user.
In an embodiment, in order to avoid that the file sharing efficiency is affected by too large file data volume, the file to be shared can be acquired through the address information of the file to be shared, so that the file to be shared is downloaded, watched and the like, and the file sharing efficiency is improved.
Specifically, the step "creating a user-editable teletext document based on the plurality of files to be shared" may include:
creating an initial image-text document;
acquiring address information of a file to be shared;
and writing the address information into the initial image-text document.
The initial teletext document is an unedited teletext document, and the initial teletext document may include a blank teletext document, or a content-containing teletext document, for example, a teletext document including a preset format or template, or the like.
In practical applications, for example, images or texts may be written into an initial image-text document, a video is uploaded to a video server, and then video address information is written into the initial image-text document according to a Uniform Resource Locator (URL) of the video, so as to obtain the image-text document.
In an embodiment, for example, the shared device or the sharing device may further acquire the address information of the video to be shared by clicking a link or an icon related to the video address information, and further acquire the video to be shared, and download, watch, and the like the video to be shared.
In an embodiment, for example, the shared device may further acquire the address information of the audio to be shared by clicking a link or an icon related to the audio address information, and further acquire the audio to be shared, and download, listen to, and the like the audio to be shared.
In an embodiment, because the formats of the online document and the teletext document are different, in order to successfully create the online document, the compatibility between the documents can be improved by encoding the teletext document. Specifically, the step of creating an online document that can be collaborated by multiple persons based on the teletext document may include:
creating an initial online document based on the teletext document;
coding the image-text document to obtain a coded image-text document;
and writing the coded image-text document into the initial online document.
The initial online document is an unwritten online document which can be collaborated by multiple persons. An online document server is a server that can create online documents, edit online documents, and the like.
In practical application, for example, an initial online document may be created, the image-text document is encoded to obtain an encoded image-text document, and then the encoded image-text document is sent to the online document server, so that the online document server writes the encoded image-text document into the initial online document to obtain an online document that can be collaborated by multiple people.
In an embodiment, to save resources, the teletext document may also be encoded when the initial online document creation is successful. When the initial online document creation is unsuccessful, a prompt for a corresponding sharing failure may be displayed, and so on.
In an embodiment, to save resources, an initial online document may also be created when the writing of the teletext document is successful. When the writing of the image-text document is unsuccessful, a prompt of corresponding sharing failure can be displayed, and the like.
204. Sharing the online document.
The sharing device can share the online document by sending the link of the online document. For example, the sharing device may send a link of the online document through the chat session interface to share the online document, and the shared device may obtain the online document shared by the sharing device by clicking the link of the corresponding online document.
In an embodiment, readability of the teletext document and accuracy of file sharing can be improved by editing the teletext document by a user. Specifically, the file sharing method may further include:
displaying an editing interface of the image-text document;
editing the image-text document based on the document editing operation of the user aiming at the editing interface to obtain an edited image-text document;
and updating the online document according to the edited image-text document. The editing operation may be operations such as adding a text description or background music to a file to be shared in the image-text document, and modifying a format of content in the image-text document for the user.
In practical application, for example, the image-text document can be edited based on a document editing operation of a user on the image-text document, a text description or background music and the like can be added to a file to be shared in the image-text document to obtain an edited image-text document, and then the online document is updated according to the edited image-text document, so that the content in the online document is consistent with the content in the image-text document.
In an embodiment, there may be multiple time sequences for the user to edit the teletext document and share the document, for example, the user may edit the teletext document before the sharing device shares the online document; or after the sharing device shares the online document, the image-text document can be edited, and the like.
In practical application, for example, an editing interface of a teletext document may be displayed for a user of the sharing device, so that the user can edit the teletext document, then the teletext document is edited based on a document editing operation of the user on the editing interface, a textual description or background music or the like may be added to a file to be shared in the teletext document to obtain the edited teletext document, then an online document is updated according to the edited teletext document, so that content in the online document is consistent with content in the teletext document, and finally the online document is shared, and the shared user can view content of the teletext document through a link of the online document shared by the sharing device.
In an embodiment, for example, the sharing device may further share the online document, so that a user of the shared device may view the content of the image-text document through a link of the online document shared by the sharing device, and then the sharing device may further edit the image-text document according to a document editing operation of the user to obtain an edited image-text document, and then update the online document according to the edited image-text document, so that the content in the online document is consistent with the content in the image-text document.
In an embodiment, when the online document is successfully created, displaying a graphic and text document editing interface; when the online document is not successfully created, a prompt of sharing failure can be displayed for the user.
In an embodiment, the order of the files to be shared may also be adjusted, so that the files to be shared are issued in the order desired by the user. Specifically, the step "editing the teletext document based on the document editing operation of the user on the editing interface to obtain an edited teletext document" may include:
and when the position adjusting operation of the user for the operation object is detected, adjusting the position of the file to be shared corresponding to the operation object in the image-text document according to the position adjusting operation.
The editing interface comprises an operation object corresponding to the file to be shared.
The position adjustment operation may be a preset operation of adjusting a position of the file to be shared, for example, the position adjustment operation may be a dragging operation, a sliding operation, or an operation performed through a position adjustment instruction.
In practical application, when detecting a position adjustment operation of a user for an operation object of an editing interface, the position of a file to be shared corresponding to the operation object in a graphic and text document can be adjusted according to the position adjustment operation, for example, the user can drag the file to a target area to adjust the sequence and the position of the file to be shared, so that the adjustment of the sequence of the file to be shared in the graphic and text document is realized, a large number of files can be shared according to the file sequence desired by the user in the sharing process, and the accuracy of file sharing is improved.
In an embodiment, for example, the position of the file to be shared in the image-text document may be adjusted by clicking or dragging a preset area of the editing interface, for example, a user may adjust the position of the file to be shared in the image-text document by clicking a pull-down bar or dragging a pull-down bar, and the like.
In an embodiment, for example, the position of the file to be shared in the teletext document may also be adjusted on the main page of the teletext document, for example, the user may adjust the position of the file to be shared in the teletext document by performing a dragging operation, a sliding operation, or an operation performed by a position adjustment instruction, and the like.
In an embodiment, the user can add comments to the corresponding file to be shared by adding characters, background music and the like to the file to be shared, so that the accuracy of file sharing is improved. Specifically, the step "editing the teletext document based on the document editing operation of the user on the editing interface to obtain an edited teletext document" may include:
determining target information to be added based on adding operation of a user for the information adding interface;
and updating the additional content corresponding to the file to be shared in the image-text document according to the target information.
The editing interface comprises information adding interfaces of the files to be shared, for example, each file to be shared can correspond to one information adding interface, additional contents such as text comments and the like can be added to the files to be shared by clicking the information adding interfaces, and an additional information adding interface can be arranged so that a user can conveniently add additional contents such as comments to the whole image-text document.
In practical application, target information to be added can be determined based on adding operation of a user aiming at an editing interface information adding interface, then additional content corresponding to a file to be shared in a graphic and text document is updated according to the target information, the additional content can comprise characters, pictures, expressions and the like, so that the file to be shared is explained and explained, background audio can be added to the graphic and text document, accuracy of file sharing is improved, a format of the graphic and text document can be edited, a font size, a color, a font, an alignment mode and the like of the graphic and text document can be edited, and characters and the like can be added to the graphic and text document independently. When the user edits the teletext document, the teletext document can be automatically saved.
In an embodiment, for example, an adding operation of a user for an information adding interface may be detected on a main page of the image-text document, target information to be added is determined, and then, additional content corresponding to a file to be shared in the image-text document is updated according to the target information.
In an embodiment, for example, an editing interface of the file to be shared may be displayed in a table form, a row of blank tables may be created for each file to be shared, the file to be shared is inserted into the first column, the second column is used as an information adding interface of the file to be shared, additional content may be added to the file to be shared for a user, and a blank table may be created so that the user can edit characters and the like.
In an embodiment, the user of the shared device that allows editing or viewing of the teletext document may also be determined through setting of the authority by the user of the sharing device, so that the user of the sharing device may decide the user that allows reading and editing, and an undesirable user is prevented from editing or reading the teletext document. Specifically, the step "editing the teletext document based on the document editing operation of the user on the editing interface to obtain an edited teletext document" may include:
when the triggering operation of the user for the authority setting of the editing interface is detected, displaying a document authority editing interface;
and setting the operation authority of the online document based on the authority setting operation of the user aiming at the document authority editing interface.
The operation authority can include reading authority, editing authority and the like, a user with the reading authority can read the image-text document corresponding to the online document, and a user with the editing authority can edit the image-text document corresponding to the online document.
In practical application, when a triggering operation of a user of the sharing device for setting the authority of the editing interface is detected, a document authority editing interface is displayed, and then the operation authority of the online document is set based on the authority setting operation of the user of the sharing device for the document authority editing interface, for example, when the user of the sharing device clicks an authority button in the image-text document editing interface, the document authority editing interface can be displayed, and can comprise setting of the operation authority of the online document, such as "public-anyone can view", "public-anyone can edit", "designated member can view/edit", "can only view/edit", and the like. And a designated user capable of editing the image-text document corresponding to the online document can be added.
In an embodiment, for example, the trigger operation of the user of the sharing device for setting the authority of the image-text document may be detected on the main page of the image-text document, the document authority editing interface is displayed, and then the operation authority of the online document is set based on the authority setting operation of the user of the sharing device for the document authority editing interface. In an embodiment, comments can be added to a document shared by the sharing device to express the comments of the shared device user to the document, and the sharing device
The user of the sharing device can modify the document or reply the comment according to the comment, so that the interactivity of file sharing is improved. Specifically, the file sharing method further includes:
displaying a document comment notification message;
displaying a graphic and text document corresponding to the online document based on the viewing operation of the user for the document comment notification message, wherein the graphic and text document comprises comment information;
adding reply information corresponding to the comment information in the image-text document based on reply operation of the user for the comment information;
and updating the online document according to the image-text document added with the reply information.
The document comment notification message may be a comment notification message sent to the sharing device after the shared device reviews the image-text document. The teletext document comprises comment information, which may be a textual comment to the teletext document, an added multimedia file, or an added teletext document, etc.
In practical application, a document comment notification message is displayed, a graphic document corresponding to an online document is displayed based on a viewing operation of a user of a sharing device on the document comment notification message, reply information corresponding to the comment information is added to the graphic document based on a reply operation of the user of the sharing device on the comment information, and the online document is updated according to the graphic document to which the reply information is added.
For example, after the shared device reviews the image-text document, the shared device may send a comment notification message to the sharing device, the document comment notification message may be displayed in various forms on a chat session interface of the sharing device, a user of the sharing device may view the image-text document and comments in the image-text document according to the document comment notification message, modify the image-text document according to the comments, or reply to the comments, and the like, and then update the online document with respect to the replied image-text document, so that the content of the online document is consistent with the image-text document.
In an embodiment, for example, when the sharing device is in other non-chat scenes, the comment notification message may also be directly displayed in the mobile phone message notification bar to notify the user of the sharing device that there is a comment message added in the image-text document, and so on.
Therefore, the file sharing instruction can be received, the plurality of files to be shared are obtained according to the file sharing instruction, when the number of the plurality of files to be shared is larger than the preset threshold value, the online document capable of being cooperated by multiple persons is created according to the plurality of files to be shared, and the online document is shared. According to the scheme, the image-text documents are edited, a plurality of files can be shared simultaneously, multiple reminding is not needed, harassment to other users is reduced, the sequence of the files is accurate, narration such as characters can be added to the files, the accuracy of file sharing is improved, the files can be shared in a cooperation mode through editing the image-text documents, and through comments on the image-text documents, sharing equipment can modify the image-text documents according to the comments, interactivity among users is improved, flexibility of file sharing is improved simultaneously, and the files are shared in a cooperation mode through multiple people.
In an embodiment, the description will be made from the perspective of a second file sharing apparatus, which may be specifically integrated in a network device.
As shown in fig. 3, a file sharing method is provided, which is suitable for a shared device, and the method may be executed by a processor of the shared device, where the specific process may be as follows:
301. and displaying the online document sharing message.
The online document sharing message comprises link information of an online document, and the online document is an online document shared by the sharing device.
In practical applications, for example, the sharing device shares the link of the online document in the chat session interface, and the shared device may obtain the online document in the chat session interface according to the displayed online document link or icon, etc.
In an embodiment, for example, the sharing device may also obtain the online document according to a link or an icon of the online document.
In an embodiment, for example, when the shared device is located in another interface of the non-chat session interface, the document sharing message may also be displayed in a notification bar of a mobile phone, so as to prompt a user of the shared device to share the online document and view the online document.
302. And displaying an editing interface based on the viewing operation of the user for the online document sharing message.
And the editing interface comprises a picture and text document corresponding to the online document.
In practical applications, for example, after the shared device receives the online document sharing message, the shared device may obtain an online document according to link information of the online document, decode the online document, obtain a teletext document according to the decoded content, and display an editing interface of the teletext document, so that a user of the shared device edits the teletext document on the editing interface, thereby implementing multi-user collaborative sharing of the file.
In an embodiment, for example, after receiving the online document sharing message, the sharing device may obtain an online document according to link information of the online document, decode the online document, obtain an image-text document according to the decoded content, and display an editing interface of the image-text document, so that a user of the sharing device edits the image-text document on the editing interface, thereby implementing multi-user collaborative sharing of the document.
303. And editing the image-text document based on the editing operation of the user on the editing interface to obtain the edited image-text document.
In practical application, for example, the image-text document may be edited based on an editing operation of a user on an editing interface to obtain an edited image-text document, and the user may be a user of the shared device or a user of the sharing device to edit the image-text document based on the editing operation of all users having an editing right to the image-text document.
In practical applications, editing the teletext document may include adding text annotations, background music, changing formats, adjusting the order and position of files to be shared, and the like to the teletext document.
In an embodiment, in the process of editing the teletext document by the user, the editing condition of other users on the teletext document may also be displayed, for example, a user avatar viewing the teletext document may be displayed in an upper right area of the editing interface, and authentication information of the editing user, such as a user nickname, is displayed in an area being edited by other users in the editing interface, so that the user in the editing interface can know the user viewing the teletext document, the user editing the teletext document, and the area being edited according to the displayed information, thereby improving interactivity of file sharing.
In an embodiment, after obtaining the edited teletext document, the sharing device may further share the edited teletext document again, for example, a template may be selected for the edited teletext document, and the document may be published. After the document is published, an HTML (Hyper Text Markup Language) interface is generated, and the document can be shared with other devices by sending a URL (Uniform Resource Locator) of the page.
In an embodiment, specifically, the file sharing method may further include:
obtaining comment information of a user for a file in the editing interface;
adding the comment information to the online document.
In an embodiment, for example, after obtaining the edited image-text document, the sharing device may share the document again, and may further select to start a comment function, allow the device viewing the document to add comments to the document, the text, and the like to be shared, and the shared device may obtain the edited image-text document shared again, and add comment information to the image-text document. After review, the online document may be updated according to the added review information.
304. And updating the online document according to the edited image-text document.
In practical applications, for example, the online document may be updated in real time according to the edited teletext document, so that the content of the online document is consistent with the teletext document, the device can view the content of the teletext document according to the online document, and the device can acquire the editing condition of the teletext document.
Specifically, the file sharing method may further include:
monitoring the content of the online document;
when the content of the online document is monitored to be changed, decoding the changed online document to obtain a decoded image-text document;
updating an online document corresponding to the image-text document according to the decoded image-text document;
and sharing the updated image-text document with the shared equipment.
In practical application, the sharing device and the shared device can monitor the content of the online document, when the content of the online document is monitored to be changed, the changed online document is decoded to obtain a decoded image-text document, then the online document corresponding to the image-text document is updated according to the decoded image-text document, and finally the updated image-text document is shared by the shared device.
As can be seen from the above, the online document sharing message can be displayed in the embodiment of the application, the editing interface is displayed based on the viewing operation of the user for the online document sharing message, the image-text document is edited based on the editing operation of the user for the editing interface to obtain the edited image-text document, and the online document is updated according to the edited image-text document. According to the scheme, the image-text documents are edited, a plurality of files can be shared simultaneously, multiple reminding is not needed, harassment to other users is reduced, the sequence of the files is accurate, narration such as characters can be added to the files, the accuracy of file sharing is improved, the files can be shared in a cooperation mode through editing the image-text documents, and through comments on the image-text documents, sharing equipment can modify the image-text documents according to the comments, interactivity among users is improved, flexibility of file sharing is improved simultaneously, and the files are shared in a cooperation mode through multiple people.
The method described in the above embodiments is further illustrated in detail by way of example.
Referring to fig. 1 and 14, there is provided a file sharing system including: the system comprises a sharing user 10, a sharing terminal 20 serving as a file sharing party, a first image-text server 30, a video server 40, an online document server 50, a second image-text server 60, a shared terminal 70 serving as a file receiving party and a shared user 80. Each terminal is connected with the first image-text server 30, the video server 40, the online document server 50 and the second image-text server 60 through a network; the first teletext server 30, the video server 40, the online document server 50, the second teletext server 60 are also connected via a network. The network includes network entities such as routers and gateways, which are not illustrated in the figure.
Referring to fig. 4, a specific process of the file sharing method may be as follows:
401. the sharing terminal 20 receives a file sharing instruction.
Referring to fig. 5, in practical applications, the file sharing instruction may be triggered in a variety of ways, for example, a file sharing interface may be set in the chat session interface to trigger the file sharing instruction, and the sharing user 10 may trigger the file sharing instruction through the file sharing interface, at this time, the sharing terminal 20 may receive the file sharing instruction.
402. The sharing terminal 20 obtains a plurality of files to be shared according to the file sharing instruction.
The sharing terminal 20 may obtain a plurality of files to be shared in a variety of ways, for example, the files to be shared may be obtained locally, the files to be shared may be obtained from a network device, the files to be shared may be captured and intercepted by using file processing software, or the files to be shared may be recorded by using a microphone or a camera device, and so on.
403. When the number of the plurality of files to be shared is greater than the preset threshold, the online document server 50 creates an online document that can be collaborated by multiple persons according to the plurality of files to be shared.
When the sharing terminal 20 shares a large number of files, the shared terminal 70 receives a large number of new message prompts, and thus harassment is generated on the shared terminal 70; meanwhile, due to different file transmission time, the sending sequence and the receiving sequence of the files are inconsistent, and the accuracy of file sharing is influenced; since it takes a certain time for the sharing terminal 20 to send the file, the shared terminal 70 does not receive all the files to be shared at one time; meanwhile, the file cannot be described in a literal way and the like, so that the file sharing efficiency is reduced; when multiple persons collaborate to share the file, the above problem is more prominent, so when the number of shared files is very large, the user of the sharing terminal 20 can be prompted whether to share the file in a multiple persons collaboration mode.
In practical applications, referring to fig. 6, when the number of the files to be shared is greater than a preset threshold, the online document server 50 may create an online document that is collaboratable by multiple people according to the files to be shared, for example, when the preset threshold is n pieces, if the number of the files to be shared is greater than n pieces, the sharing terminal 20 may display a rectangular frame with a preset size in a preset area on the interface, and display a prompt message edited by using a text in the rectangular frame, for example, may display "sharing a photo in a text" mode is better and is not used? When the user selects to use the image-text editing, an instruction for using the image-text editing can be sent, the instruction for using the image-text editing can be realized through an image-text editing interface (such as an input frame, an icon, a button and the like), the user sends the instruction for using the image-text editing by triggering the image-text editing interface, and after the sharing terminal 20 receives the instruction for using the image-text editing, the online document server 50 can create an online document which can be cooperated by multiple persons, so that the user can edit the file to be shared.
Specifically, the step "the online document server 50 creates an online document that can be collaborated by multiple persons from the plurality of files to be shared" may include:
the first image-text server 30 creates an image-text document which can be edited by a user based on the plurality of files to be shared;
the online document server 50 creates an online document on the basis of the teletext document, which may be collaborated by multiple persons.
The image-text document is a document edited for the first time by the sharing device, and the image-text document comprises a document to be shared and contents such as characters and music added by a user. The teletext server may comprise a first teletext server and a second teletext server, the teletext server being a server that may create, edit, encode, etc. a teletext document.
Specifically, the step "the first teletext server 30 creates a user-editable teletext document based on the plurality of files to be shared" may include:
the first teletext server 30 creates an initial teletext document;
the sharing terminal 20 obtains address information of a file to be shared;
the first teletext server 30 writes the address information to the initial teletext document.
In practical applications, the first image-text server 30 writes the address information into the initial image-text document, for example, the first image-text server 30 may write images, texts and the like into the initial image-text document, upload the video to the video server 40, and after the video server 40 successfully uploads the video, according to a Uniform Resource Locator (URL) of the video, the first image-text server 30 writes the video address information into the initial image-text document to obtain the image-text document.
Specifically, the step "the online document server 50 creates an online document on which a plurality of persons can collaborate based on the teletext document" may include:
the online document server 50 creates an initial online document based on the teletext document;
the first image-text server 30 performs encoding operation on the image-text document to obtain an encoded image-text document;
the online document server 50 writes the encoded teletext document into the initial online document.
In practical applications, for example, when the writing of the teletext document is successful, the online document server 50 may create an initial online document, and when the creation of the initial online document is successful, the first teletext server 30 may perform an encoding operation on the teletext document to obtain an encoded teletext document, and then send the encoded teletext document to the online document server, so that the online document server 50 writes the encoded teletext document into the initial online document to obtain an online document that can be collaborated by multiple persons.
In one embodiment, for example, the encoding may be performed in xml (extensible Markup Language) format to facilitate human reading and machine operation. By means of direct storage of the rich text format, the word size, the font, the color, the alignment mode and the like can be directly stored in the online document, so that the operation is convenient. By adopting a structured coding mode, the position of the content edited by the user is easily corresponding to the position of the coded content, and only partial modification is needed during storage, and all coding and all storage are not needed. For example, if the user edits the text corresponding to the first picture, the content of the < text > tag in the first < section > only needs to be updated.
404. The sharing terminal 20 shares the online document.
For example, the sharing terminal 20 may implement sharing of the online document by sending a link of the online document in the chat session interface.
Specifically, the step "the sharing terminal 20 shares the online document" may include:
the sharing terminal 20 displays an editing interface of the image-text document;
the first image-text server 30 edits the image-text document based on the document editing operation of the user aiming at the editing interface to obtain an edited image-text document;
the online document server 50 updates the online document according to the edited teletext document.
In practical applications, please refer to fig. 7, for example, when the online document is created successfully, the sharing terminal 20 may display an editing interface of the teletext document for the sharing user, so that the user edits the teletext document, then the sharing terminal 20 edits the teletext document based on a document editing operation of the user on the editing interface, may add a textual description or background music to a file to be shared in the teletext document to obtain an edited teletext document, then the online document server 50 updates the online document according to the edited teletext document, so that the content in the online document is consistent with the content in the teletext document, and finally the sharing terminal 20 shares the online document to implement sharing of the document, and the shared user may view the content of the teletext document through a link of the online document shared by the sharing terminal 20.
Specifically, the step "the first teletext server 30 edits the teletext document based on the document editing operation of the user on the editing interface to obtain an edited teletext document" may include:
when detecting the position adjustment operation of the user for the operation object, the first image-text server 30 adjusts the position of the file to be shared corresponding to the operation object in the image-text document according to the position adjustment operation.
The editing interface comprises an operation object corresponding to the multimedia to be shared.
In practical application, please refer to fig. 8, for example, when detecting a position adjustment operation of a user for an operation object, the first image-text server 30 adjusts a position of a file to be shared corresponding to the operation object in an image-text document according to the position adjustment operation, for example, the user may drag the file to a target area to adjust a sequence and a position of the file to be shared, so as to adjust the sequence of the file to be shared in the image-text document, so that a file sequence desired by the user is maintained in a process of sharing a large number of files, and thus accuracy of file sharing is improved.
Specifically, the step "the first teletext server 30 edits the teletext document based on the document editing operation of the user on the editing interface to obtain an edited teletext document" may include:
the first image-text server 30 determines target information to be added based on an adding operation of a user for the information adding interface;
and the first image-text server 30 updates the additional content corresponding to the file to be shared in the image-text document according to the target information.
In practical application, the first image-text server 30 may determine target information to be added based on an adding operation of a user for an information adding interface, and then update additional content corresponding to a file to be shared in an image-text document according to the target information, where the additional content may include characters, pictures, expressions, and the like, so as to interpret and explain the file to be shared, add background audio to the image-text document, improve accuracy of file sharing, edit format of the image-text document, edit font size, color, font, alignment mode, and the like, and add characters and the like separately. When the user edits the image-text document, the image-text document can be automatically stored.
In an embodiment, for example, the first image-text server 30 may also display an editing interface of the file to be shared in a form of a table, create a row of blank tables for each file to be shared, insert the file to be shared into the first column, use the second column as an information adding interface of the file to be shared, provide the user with additional content to the file to be shared, and create a blank table so that the user can edit the characters and the like.
Specifically, the step "the first teletext server 30 edits the teletext document based on the document editing operation of the user on the editing interface to obtain an edited teletext document" may include:
when detecting the triggering operation of the user for the authority setting of the editing interface, the first image-text server 30 displays the document authority editing interface;
based on the authority setting operation of the user for the document authority editing interface, the first image-text server 30 sets the operation authority of the online document.
In practical applications, referring to fig. 9, when a trigger operation of a user for setting the authority of the editing interface is detected, the first image-text server 30 displays a document authority editing interface, and then sets the operation authority of the online document based on the user's authority setting operation for the document authority editing interface, for example, when the user clicks an "authority" button in the editing interface, the sharing terminal 20 may display a document authority editing interface, which may include setting of the operation authority of the online document, such as "open-anyone can view", "open-anyone can edit", "designated member can view/edit", "can view/edit only by itself", and so on. Editable designated members may also be added.
In an embodiment, specifically, the file sharing method further includes:
the sharing terminal 20 displays the document comment notification message;
based on the viewing operation of the user for the document comment notification message, the sharing terminal 20 displays a graphic document corresponding to the online document, where the graphic document includes comment information;
based on the reply operation of the user for the comment information, the first image-text server 30 adds reply information corresponding to the comment information in the image-text document;
the online document server 50 updates the online document according to the teletext document to which the reply information is added.
In practical application, please refer to fig. 13, the sharing terminal 20 displays a document comment notification message, based on a viewing operation of a user on the document comment notification message, the sharing terminal 20 displays a text-text document corresponding to the online document, based on a reply operation of the user on the comment message, the first text-text server 30 adds reply information corresponding to the comment message to the text-text document, and the online document server 50 updates the online document according to the text-text document to which the reply information is added.
For example, after the shared terminal 70 reviews the image-text document, the shared terminal 70 may send a comment notification message to the sharing terminal 20, the document comment notification message may be displayed in various forms on a session interface of the sharing terminal 20, a user of the sharing terminal 20 may view the image-text document and comments in the image-text document according to the document comment notification message, modify the image-text document according to the comments or reply to the comments, and then update the online document with respect to the replied image-text document, so that the content of the online document is consistent with the image-text document.
In an embodiment, the sharing terminal 20 shares the online document, for example, the sharing terminal 20 may select to publish the teletext document, that is, generate a webpage according to content in the teletext document, and publish the webpage to the internet. For example, an html (hypertext Markup Language) file may be generated by encoding a graphic document in an xml format, and then different CSS (Cascading Style Sheets) files may be matched according to a template selected by a user to present different visual effects.
405. The shared terminal 70 displays the online document sharing message.
In practical applications, for example, the sharing terminal 20 shares a link of an online document in a chat session interface, and the shared terminal 70 may display an online document sharing message in the session interface, and may also obtain the online document according to the link of the online document.
In an embodiment, for example, the sharing terminal 20 may also obtain the online document according to the link of the online document.
406. The shared terminal 70 displays an editing interface based on the user's viewing operation for the online document sharing message.
In practical applications, for example, after the shared terminal 70 receives the online document sharing message, the online document may be obtained according to the link information of the online document, the online document is decoded, the teletext document is obtained according to the decoded content, and the editing interface of the teletext document is displayed, so that a user of the shared terminal edits the teletext document on the editing interface, thereby implementing multi-user collaborative sharing of the document.
In an embodiment, for example, after receiving the online document sharing message, the sharing terminal 20 may obtain an online document according to link information of the online document, decode the online document, obtain an image-text document according to the decoded content, and display an editing interface of the image-text document, so that a user of the sharing terminal edits the image-text document on the editing interface, thereby implementing multi-user collaborative sharing of the document.
407. The first image-text server 30 and the second image-text server 60 edit the image-text document based on the editing operation of the user on the editing interface to obtain the edited image-text document.
In practical applications, for example, the first teletext server 30 and the second teletext server 60 may edit the teletext document based on an editing operation of a user on an editing interface to obtain an edited teletext document, where the user may be a user of a shared terminal or a user of a sharing terminal, and edit the teletext document based on an editing operation of all users who have an editing right to edit the teletext document.
In practical applications, editing the teletext document may include adding text annotations, background music, changing formats, adjusting order and position, etc. to the teletext document.
In an embodiment, please refer to fig. 10, in the process of editing the teletext document by the user, the terminal interface may further display the editing condition of the teletext document by other users, for example, a user avatar viewing the teletext document may be displayed in an upper right area of the editing interface, and authentication information of the editing user, such as a nickname, is displayed in the area being edited by other users in the editing interface, so that the user in the editing interface may know the user viewing the teletext document, the user editing the teletext document, and the editing area according to the displayed information, thereby improving interactivity of file sharing.
In an embodiment, referring to fig. 11, after obtaining the edited teletext document, the sharing terminal 20 may further share the edited teletext document again, for example, a template may be selected for the edited teletext document, and the document is published. After the document is published, an HTML (Hyper Text Markup Language) interface is generated, and the document can be shared with other terminals for viewing by sending a URL (Uniform Resource Locator) of the page.
In an embodiment, specifically, the file sharing method may further include:
the second image-text server 60 acquires comment information of the user for the file in the editing interface;
the online document server 50 adds the comment information to the online document.
In an embodiment, referring to fig. 12, for example, after obtaining the edited image-text document, the sharing terminal 20 may share the document again, and may also select to start a comment function, allow the terminal viewing the document to add comments to the document, which is to be shared, and the text document, and the shared terminal 70 may obtain the edited image-text document which is shared again, and add comment information to the image-text document, for example, after obtaining the image-text document, the shared terminal 70 selects a section of text, a comment may be added, and the comment content may default to "this is an annotation". After review, the online document may be updated according to the added review information.
408. The online document server 50 updates the online document according to the edited teletext document.
In practical applications, for example, the online document server 50 may update the online document in real time according to the edited teletext document, so that the content of the online document is consistent with the teletext document, the device can view the content of the teletext document according to the online document, and the terminal can obtain the editing condition of the teletext document.
Specifically, the file sharing method may further include:
the second teletext server 60 monitors the content of the online document;
when the content of the online document is monitored to be changed, the second image-text server 60 decodes the changed online document to obtain a decoded image-text document;
the online document server 50 updates the online document corresponding to the image-text document according to the decoded image-text document;
the second teletext server 60 shares the updated teletext document to the shared device.
In practical application, the second image-text server 60 may monitor the content of the online document, when it is monitored that the content of the online document changes, the second image-text server 60 decodes the changed online document to obtain a decoded image-text document, then the online document server 50 updates the image-text document corresponding to the online document according to the decoded image-text document, and finally the second image-text server 60 shares the updated image-text document with the shared device.
In an embodiment, the first image-text server 30 may also monitor the content of the online document, when it is monitored that the content of the online document changes, the first image-text server 30 decodes the changed online document to obtain a decoded image-text document, then the online document server 50 updates the image-text document corresponding to the online document according to the decoded image-text document, and finally the first image-text server 30 shares the updated image-text document with the sharing device.
As can be seen from the above, in the embodiment of the application, a file sharing instruction may be received by the sharing terminal 20, the sharing terminal 20 obtains a plurality of files to be shared according to the file sharing instruction, when the number of the plurality of files to be shared is greater than a preset threshold, the online document server 50 creates an online document which can be collaborated by multiple persons according to the plurality of files to be shared, the sharing terminal 20 shares the online document, the shared terminal 70 displays an online document sharing message, the shared terminal 70 displays an editing interface based on a viewing operation of a user on the online document sharing message, the first image-text server 30 and the second image-text server 60 edit the image-text document based on an editing operation of the user on the editing interface to obtain an edited image-text document, and the online document server 50 updates the online document according to the edited image-text document. According to the scheme, the image-text documents are edited, the simultaneous sharing of the multiple files can be achieved, multiple reminding is not needed, harassment to other users is reduced, the sequence of the files is accurate, narration such as adding characters to the multiple files is achieved, the accuracy of file sharing is improved, the image-text documents can be edited, the files can be cooperatively shared through multiple terminals, the image-text documents can be modified according to comments through the comments on the image-text documents, interactivity among the users is improved, the flexibility of file sharing is improved simultaneously, and the files are cooperatively shared through multiple people.
In order to better implement the method, an embodiment of the present application further provides a file sharing apparatus, where the file sharing apparatus may be suitable for a sharing device, as shown in fig. 15, the file sharing apparatus may include: the receiving module 151, the obtaining module 152, the creating module 153, and the sharing module 154 are as follows:
a receiving module 151, configured to receive a file sharing instruction;
an obtaining module 152, configured to obtain a plurality of files to be shared according to the file sharing instruction;
the creating module 153 is configured to create an online document capable of being collaborated by multiple persons according to the multiple files to be shared when the number of the multiple files to be shared is greater than a preset threshold;
a sharing module 154, configured to share the online document.
In an embodiment, referring to fig. 16, the creating module 153 may include:
the image-text document creating submodule 1531 is configured to create an image-text document editable by a user based on the multiple files to be shared;
an online document creating sub-module 1532 for creating an online document that can be collaborated by multiple persons based on the teletext document.
In an embodiment, the teletext document creation sub-module 1531 may be further configured to:
creating an initial image-text document according to the files to be shared;
acquiring address information of a file to be shared;
and writing the address information into the initial image-text document.
In an embodiment, the online document creation sub-module 1632 may be further specifically configured to:
creating an initial online document based on the teletext document;
coding the image-text document to obtain a coded image-text document;
and writing the coded image-text document into the initial online document.
In one embodiment, the sharing module 154 may include:
the editing interface display submodule 1541 is used for displaying an editing interface of the image-text document;
the editing submodule 1542 is configured to edit the image-text document based on a document editing operation of a user on the editing interface, so as to obtain an edited image-text document;
and the updating submodule 1543 is configured to update the online document according to the edited image-text document.
In an embodiment, the editing sub-module 1542 may further specifically be configured to:
and when the position adjusting operation of the user for the operation object is detected, adjusting the position of the file to be shared corresponding to the operation object in the image-text document according to the position adjusting operation.
In an embodiment, the editing sub-module 1542 may further specifically be configured to:
determining target information to be added based on adding operation of a user for the information adding interface;
and updating the additional content corresponding to the file to be shared in the image-text document according to the target information.
In an embodiment, the editing sub-module 1542 may further specifically be configured to:
when the triggering operation of the user for the authority setting of the editing interface is detected, displaying a document authority editing interface;
and setting the operation authority of the online document based on the authority setting operation of the user aiming at the document authority editing interface.
The steps performed by the above units may refer to the description of the above method embodiments.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
The file sharing apparatus may be specifically integrated into a network device, and the network device may include a terminal, a server, and the like.
As can be seen from the above, in the embodiment of the application, the receiving module 151 may receive a file sharing instruction, the obtaining module 152 may obtain a plurality of files to be shared according to the file sharing instruction, when the number of the plurality of files to be shared is greater than a preset threshold, the creating module 153 may create an online document that can be collaborated by multiple persons according to the plurality of files to be shared, and share the online document by the sharing module 154. According to the scheme, the image-text documents are edited, a plurality of files can be shared simultaneously, multiple reminding is not needed, disturbance to other users is reduced, the sequence of the files is accurate, narration such as characters can be added to the files, the accuracy of file sharing is improved, the image-text documents can be further edited, the files can be shared in cooperation through a plurality of devices, the image-text documents can be modified through comments on the image-text documents, interactivity among the users is improved, and the flexibility of file sharing is improved.
In order to better implement the above method, an embodiment of the present application further provides another file sharing apparatus, where the file sharing apparatus may be suitable for a shared device, as shown in fig. 17, the file sharing apparatus may include: the first display module 171, the second display module 172, the editing module 173, and the updating module 174 are as follows:
a first display module 171, configured to display the online document sharing message;
the second display module 172 is configured to display an editing interface based on a viewing operation of a user for the online document sharing message, where the editing interface includes a text-text document corresponding to the online document;
the editing module 173 is configured to edit the image-text document based on an editing operation of the user on the editing interface to obtain an edited image-text document;
and an updating module 174, configured to update the online document according to the edited image-text document.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
The file sharing apparatus may be specifically integrated into a network device, and the network device may include a terminal, a server, and the like.
As can be seen from the above, in the embodiment of the present application, the online document sharing message may be displayed through the first display module 171, the editing interface may be displayed through the second display module 172 based on the viewing operation of the user on the online document sharing message, the image-text document may be edited through the editing module 173 based on the editing operation of the user on the editing interface to obtain an edited image-text document, and the online document may be updated through the updating module 174 according to the edited image-text document. According to the scheme, the image-text documents are edited, a plurality of files can be shared simultaneously, multiple reminding is not needed, harassment to other users is reduced, the sequence of the files is accurate, the accuracy of file sharing can be improved by adding characters and the like to the files, the image-text documents can be edited, the files can be shared in cooperation by a plurality of devices, the image-text documents can be modified by the sharing devices according to comments, interactivity among users is improved, and the flexibility of file sharing is improved simultaneously.
Referring to fig. 18, an embodiment of the present application provides a network device 180, which may include a sharing device and a shared device. Network device 180 may include components such as a processor 181 of one or more processing cores, memory 182 of one or more computer-readable storage media, Radio Frequency (RF) circuitry 183, a power supply 184, an input unit 185, and a display unit 186. Those skilled in the art will appreciate that the network device configuration shown in fig. 18 does not constitute a limitation of network devices and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 181 is a control center of the network device, connects various parts of the entire network device using various interfaces and lines, and performs various functions of the network device and processes data by operating or executing software programs and/or modules stored in the memory 182 and calling data stored in the memory 182, thereby performing overall monitoring of the network device. Optionally, processor 181 may include one or more processing cores; preferably, the processor 181 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 181.
The memory 182 may be used to store software programs and modules, and the processor 181 executes various functional applications and data processing by operating the software programs and modules stored in the memory 182.
The RF circuit 183 may be configured to receive and transmit signals during the process of transmitting and receiving information, and in particular, receive downlink information of a base station and then send the received downlink information to the one or more processors 181 for processing; in addition, data relating to uplink is transmitted to the base station.
The network device also includes a power supply 184 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 181 via a power management system to manage charging, discharging, and power consumption via the power management system. The power source 184 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The network device may further include an input unit 185, and the input unit 185 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input in relation to user settings and function control.
The network device may also include a display unit 186, which display unit 186 may be used to display information input by or provided to the user as well as various graphical user interfaces of the network device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 188 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Specifically, in this embodiment, the processor 181 in the network device loads the executable file corresponding to the process of one or more application programs into the memory 182 according to the following instructions, and the processor 181 runs the application programs stored in the memory 182, so as to implement various functions as follows:
receiving a file sharing instruction;
acquiring a plurality of files to be shared according to the file sharing instruction;
when the number of the files to be shared is larger than a preset threshold value, creating an online document capable of being collaborated by multiple persons according to the files to be shared;
and sharing the online document.
Specifically, in this embodiment, the processor 181 in the network device loads the executable file corresponding to the process of one or more application programs into the memory 182 according to the following instructions, and the processor 181 runs the application programs stored in the memory 182, so as to implement various functions as follows:
displaying an online document sharing message;
displaying an editing interface based on the viewing operation of the user for the online document sharing message, wherein the editing interface comprises a picture and text document corresponding to the online document;
editing the image-text document based on the editing operation of the user aiming at the editing interface to obtain an edited image-text document;
and updating the online document according to the edited image-text document.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the device and the system for sharing the file provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A file sharing method is applicable to a sharing device and comprises the following steps:
receiving a file sharing instruction;
acquiring a plurality of files to be shared according to the file sharing instruction;
when the number of the files to be shared is larger than a preset threshold value, acquiring description contents added by a user for the files to be shared;
creating an editable image-text document of a user according to the plurality of files to be shared and the description content of the files to be shared;
creating an online document which can be collaborated by multiple persons based on the image-text document;
and sharing the online document so as to share the file to be shared and the description content of the file to be shared.
2. The file sharing method according to claim 1, wherein creating a user-editable image-text document according to the plurality of files to be shared and the description content of the files to be shared comprises:
creating an initial image-text document;
acquiring address information of a file to be shared;
and writing the address information into the initial image-text document to obtain the image-text document editable by the user.
3. The file sharing method according to claim 1, wherein creating an online document that can be collaborated by multiple persons based on the teletext document comprises:
creating an initial online document based on the teletext document;
coding the image-text document to obtain a coded image-text document;
and writing the coded image-text document into the initial online document.
4. The file sharing method according to claim 1, further comprising:
displaying an editing interface of the image-text document;
editing the image-text document based on the document editing operation of the user aiming at the editing interface to obtain an edited image-text document;
and updating the online document according to the edited image-text document.
5. The file sharing method according to claim 4, wherein the editing interface includes an operation object corresponding to the file to be shared;
editing the image-text document based on the document editing operation of the user aiming at the editing interface to obtain an edited image-text document, wherein the method comprises the following steps:
and when the position adjusting operation of the user for the operation object is detected, adjusting the position of the file to be shared corresponding to the operation object in the image-text document according to the position adjusting operation.
6. The file sharing method according to claim 4, wherein the editing interface includes an information adding interface of the file to be shared;
editing the image-text document based on the document editing operation of the user aiming at the editing interface to obtain an edited image-text document, wherein the method comprises the following steps:
determining target information to be added based on adding operation of a user for the information adding interface;
and updating the additional content corresponding to the file to be shared in the image-text document according to the target information.
7. The file sharing method according to claim 4, wherein editing the teletext document based on a document editing operation of a user on the editing interface to obtain an edited teletext document comprises:
when the triggering operation of the user for the authority setting of the editing interface is detected, displaying a document authority editing interface;
and setting the operation authority of the online document based on the authority setting operation of the user aiming at the document authority editing interface.
8. The method of file sharing according to claim 1, further comprising:
displaying a document comment notification message;
displaying a graphic and text document corresponding to the online document based on the viewing operation of the user for the document comment notification message, wherein the graphic and text document comprises comment information;
adding reply information corresponding to the comment information in the image-text document based on reply operation of the user for the comment information;
and updating the online document according to the image-text document added with the reply information.
9. A file sharing method is applicable to shared equipment and comprises the following steps:
displaying an online document sharing message;
displaying an editing interface based on the viewing operation of the user for the online document sharing message, wherein the editing interface comprises a picture and text document corresponding to the online document;
editing the file in the image-text document and the description content of the file based on the editing operation of the user on the editing interface to obtain an edited image-text document;
and updating the online document according to the edited image-text document.
10. The method of file sharing according to claim 9, further comprising:
obtaining comment information of a user for a file in the editing interface;
adding the comment information to the online document.
11. A file sharing apparatus is applicable to a sharing device, and includes:
the receiving module is used for receiving a file sharing instruction;
the acquisition module is used for acquiring a plurality of files to be shared according to the file sharing instruction;
the creating module is used for acquiring the description contents added by the user for the files to be shared when the number of the files to be shared is larger than a preset threshold value; creating an editable image-text document of a user according to the plurality of files to be shared and the description content of the files to be shared;
creating an online document which can be collaborated by multiple persons based on the image-text document;
and the sharing module is used for sharing the online document so as to share the file to be shared and the description content of the file to be shared.
12. A file sharing apparatus adapted to be shared by devices, comprising:
the first display module is used for displaying the online document sharing message;
the second display module is used for displaying an editing interface based on the viewing operation of a user for the online document sharing message, wherein the editing interface comprises a picture-text document corresponding to the online document;
the editing module is used for editing the file in the image-text document and the description content of the file based on the editing operation of a user on the editing interface to obtain an edited image-text document;
and the updating module is used for updating the online document according to the edited image-text document.
13. A storage medium storing instructions which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 8.
14. A sharing device comprising a memory and a processor, the memory storing instructions, the processor loading the instructions to perform the steps of the method of any of claims 1-8.
15. A shared device comprising a memory and a processor, the memory storing instructions, the processor loading the instructions to perform the steps of the method of any of claims 9-10.
CN201910030954.XA 2019-01-14 2019-01-14 File sharing method and device and storage medium Active CN109815200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910030954.XA CN109815200B (en) 2019-01-14 2019-01-14 File sharing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910030954.XA CN109815200B (en) 2019-01-14 2019-01-14 File sharing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN109815200A CN109815200A (en) 2019-05-28
CN109815200B true CN109815200B (en) 2021-05-07

Family

ID=66603358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910030954.XA Active CN109815200B (en) 2019-01-14 2019-01-14 File sharing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN109815200B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213367B (en) * 2019-05-31 2023-11-28 北京字节跳动网络技术有限公司 Interactive information notification method, device, equipment and computer readable storage medium
CN112241865A (en) * 2019-07-16 2021-01-19 腾讯科技(深圳)有限公司 Method and related device for document cooperative processing
CN112543210B (en) * 2019-09-20 2023-05-26 珠海金山办公软件有限公司 Document sharing method, device, terminal, sharing server and storage medium
CN112800002A (en) * 2019-11-14 2021-05-14 腾讯科技(深圳)有限公司 Method and device for creating online collaboration document, storage medium and electronic device
CN111212300B (en) * 2020-01-09 2022-10-04 北京字节跳动网络技术有限公司 Online document processing method and device, electronic equipment and storage medium
CN111327589B (en) * 2020-01-19 2021-09-10 腾讯科技(深圳)有限公司 Resource sharing method and device, computer readable storage medium and computer equipment
CN111309218A (en) * 2020-02-11 2020-06-19 维沃移动通信有限公司 Information display method and device and electronic equipment
CN111679881B (en) * 2020-06-09 2022-03-15 腾讯科技(深圳)有限公司 File processing method and device, computer equipment and storage medium
CN111833917A (en) * 2020-06-30 2020-10-27 北京印象笔记科技有限公司 Information interaction method, readable storage medium and electronic device
CN111831944B (en) * 2020-07-09 2021-09-28 腾讯科技(深圳)有限公司 Multimedia processing method, device, client, server and storage medium
CN114564922A (en) * 2020-09-28 2022-05-31 腾讯科技(深圳)有限公司 Document editing method and device, computer equipment and storage medium
CN112419448A (en) * 2020-11-17 2021-02-26 北京字跳网络技术有限公司 Method, device and system for changing graph and electronic equipment
CN113204528A (en) * 2021-03-29 2021-08-03 北京意匠文枢科技有限公司 Method and device for sharing document
CN113472776B (en) * 2021-06-30 2022-12-27 亿图软件(湖南)有限公司 Multi-user real-time cooperation method and system
CN113868201B (en) * 2021-12-02 2022-03-15 天津联想协同科技有限公司 Method, device and storage medium for sharing file by cooperation of multiple persons
CN116820635A (en) * 2022-03-22 2023-09-29 北京字跳网络技术有限公司 Document block sharing method, device, system and storage medium
CN114928583A (en) * 2022-04-13 2022-08-19 广西宏廷智能科技有限公司 Data information communication method and system
CN114841127B (en) * 2022-06-29 2022-09-23 天津联想协同科技有限公司 Layer stacking method and device based on streaming electronic collaboration document

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787443A (en) * 2005-12-02 2006-06-14 无锡永中科技有限公司 Method for realizing file coordination processing
CN102325169A (en) * 2011-08-22 2012-01-18 盛乐信息技术(上海)有限公司 Network file system supporting sharing and cooperation and method thereof
CN105760408A (en) * 2014-12-19 2016-07-13 华为终端(东莞)有限公司 Picture sharing method and apparatus and terminal device
CN106657348A (en) * 2016-12-28 2017-05-10 深圳市明源软件股份有限公司 File cooperative processing method and system based on two-dimensional bar code
CN106815316A (en) * 2016-12-23 2017-06-09 北京奇虎科技有限公司 Method, device and mobile terminal that content of pages is shared
CN106897937A (en) * 2017-02-15 2017-06-27 北京小米移动软件有限公司 A kind of method and apparatus for showing social sharing information
CN108259320A (en) * 2018-01-11 2018-07-06 上海展扬通信技术有限公司 The method, apparatus and readable storage medium storing program for executing that picture is shared

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4756914B2 (en) * 2005-05-30 2011-08-24 キヤノン株式会社 Remote cooperative work support system and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787443A (en) * 2005-12-02 2006-06-14 无锡永中科技有限公司 Method for realizing file coordination processing
CN102325169A (en) * 2011-08-22 2012-01-18 盛乐信息技术(上海)有限公司 Network file system supporting sharing and cooperation and method thereof
CN105760408A (en) * 2014-12-19 2016-07-13 华为终端(东莞)有限公司 Picture sharing method and apparatus and terminal device
CN106815316A (en) * 2016-12-23 2017-06-09 北京奇虎科技有限公司 Method, device and mobile terminal that content of pages is shared
CN106657348A (en) * 2016-12-28 2017-05-10 深圳市明源软件股份有限公司 File cooperative processing method and system based on two-dimensional bar code
CN106897937A (en) * 2017-02-15 2017-06-27 北京小米移动软件有限公司 A kind of method and apparatus for showing social sharing information
CN108259320A (en) * 2018-01-11 2018-07-06 上海展扬通信技术有限公司 The method, apparatus and readable storage medium storing program for executing that picture is shared

Also Published As

Publication number Publication date
CN109815200A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109815200B (en) File sharing method and device and storage medium
US20200162413A1 (en) Low-friction, instant, private, personalized video sharing widget
JP6961994B2 (en) Systems and methods for message management and document generation on devices, message management programs, mobile devices
JP6961993B2 (en) Systems and methods for message management and document generation on devices, message management programs, mobile devices
EP2439692A1 (en) Platform enabling web-based interpersonal communication within shared digital media
CN106610826B (en) Method and device for manufacturing online scene application
US20140006921A1 (en) Annotating digital documents using temporal and positional modes
CN113157157B (en) Live broadcast-based interactive image management method, device, equipment and storage medium
US11778462B2 (en) Live greetings
WO2005040957A2 (en) Multi-media presentation editor for a small-display communication terminal or computing device
CN111343074B (en) Video processing method, device and equipment and storage medium
CN104718558A (en) System and method for hosting and sharing a live event
CN107113467A (en) User terminal apparatus, system and its control method
CN112329403A (en) Live broadcast document processing method and device
CN113055750A (en) Live broadcast method, device, terminal and storage medium
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN116263914A (en) Document processing method and related product
CN112235603B (en) Video distribution system, method, computing device, user equipment and video playing method
CN113642290A (en) Text typesetting method and device, electronic equipment and storage medium
US8683608B2 (en) Communication method, display apparatus, moderator terminal apparatus, user terminal apparatus, and multi-user communication system including the same
CN111309211A (en) Picture processing method and device and storage medium
CN115174509A (en) Information processing method, device, equipment and medium
CN115600980A (en) Method and device for sending message, electronic equipment and storage medium
CN113902835A (en) Image processing method, image processing device, electronic equipment and storage medium
KR20110035789A (en) Method of providing video message making service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant