CN116011410A - Method, device, network disk and storage medium for realizing document call content - Google Patents
Method, device, network disk and storage medium for realizing document call content Download PDFInfo
- Publication number
- CN116011410A CN116011410A CN202310301530.9A CN202310301530A CN116011410A CN 116011410 A CN116011410 A CN 116011410A CN 202310301530 A CN202310301530 A CN 202310301530A CN 116011410 A CN116011410 A CN 116011410A
- Authority
- CN
- China
- Prior art keywords
- document
- content
- paragraph
- network disk
- call
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000000763 evoking effect Effects 0.000 claims abstract description 56
- 238000002372 labelling Methods 0.000 claims description 9
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a method, a device, a network disk and a storage medium for realizing document calling content, wherein the method comprises the following steps: receiving operation information of the evoked content; providing a call collaborator and other web document content selection options according to the call content operation; determining to call other web document selections when operation information of switching call collaborators and call other web document content selection options is received; receiving a selection operation of selecting other network disk documents, and displaying the content of the network disk documents; receiving a reference content selection operation from the content of the network disk document, writing the reference content into the document, and writing attribute information of the reference content into corresponding document metadata. The complex operation of the common use of a plurality of tools and the cooperation of users can be avoided, and the efficiency of the network disk document cooperation is greatly improved.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and apparatus for implementing document calling content, a network, and a storage medium.
Background
The network disk is an online storage service promoted by an internet company. The network disk system machine room divides a certain disk space for users, provides functions of file management such as storage, access, backup, sharing and the like of files for the users free or at a charge, and has advanced disaster recovery backup all over the world. The user can regard the network disk as a hard disk or a U disk which is placed on the network, and can manage and edit files in the network disk by connecting to the Internet at home, in a unit or elsewhere. Is not required to be carried about and is not afraid of losing.
Documents in the network disk can support collaboration, and not only comprises a multi-person collaboration function, but also comprises a collaboration function among multiple documents. In the traditional mode, a creator of a document is required to inform a collaborator to edit the collaborative document through an instant chat tool, and related information of other related documents in a network disk involved in the collaborative document is notified together. After receiving the message, the collaborators need to manually search other related documents and then collaboratively edit the collaborative documents. Other tools are needed, and related documents are needed to be searched in the network disk, so that the efficiency of network disk document collaboration is reduced.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a network disk device and a storage medium for realizing document calling content, which are used for solving the technical problems of more operation and lower efficiency in the network disk document collaboration process in the prior art.
In a first aspect, an embodiment of the present invention provides a method for implementing document evoked content, including:
receiving operation information of the evoked content;
providing a call collaborator and other web document content selection options according to the call content operation;
determining to call other web document selections when operation information of switching call collaborators and call other web document content selection options is received;
receiving a selection operation of selecting other network disk documents, and displaying the content of the network disk documents;
receiving a reference content selection operation from the content of the network disk document, writing the reference content into the document, and writing attribute information of the reference content into corresponding document metadata.
In a second aspect, an embodiment of the present invention further provides an apparatus for implementing document call content, including:
the receiving module is used for receiving the operation information of the evoked content;
the providing module is used for providing a call partner and call other web document content selection options according to the operation of call content;
The determining module is used for determining to call other network disk document selections when receiving operation information of switching to call the collaborators and call other network disk document content selection options;
the display module is used for receiving the selection operation of selecting other network disk documents and displaying the content of the network disk documents;
and the writing module is used for receiving a reference content selection operation from the contents of the network disk document, writing the reference content into the document, and writing the attribute information of the reference content into the corresponding document metadata.
In a third aspect, an embodiment of the present invention further provides a network disk, where the network disk includes:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of implementing document recall content as provided in any one of the embodiments described above.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, are configured to perform any of the methods of implementing document recall content provided by the embodiments described above.
The method, the device, the network disk and the storage medium for realizing the content calling of the document provided by the embodiment of the invention receive the operation information of the content calling; providing a call collaborator and other web document content selection options according to the call content operation; determining to call other web document selections when operation information of switching call collaborators and call other web document content selection options is received; receiving a selection operation of selecting other network disk documents, and displaying the content of the network disk documents; receiving a reference content selection operation from the content of the network disk document, writing the reference content into the document, and writing attribute information of the reference content into corresponding document metadata. The method can facilitate the setting of corresponding evoked operations in the document by a collaborative document creator or an editor, the corresponding evoked contents of the document with the evoked operations can be determined according to the evoked operations, and the metadata of the collaborative document can be changed according to the evoked contents, so that when other personnel operate the collaborative document, the collaborative document can load the corresponding evoked contents. The complex operation of the common use of a plurality of tools and the cooperation of users is avoided, and the efficiency of the network disk document cooperation is greatly improved.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of a method for realizing document evoked content according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for realizing document evoked content according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a method for realizing document evoked content according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a method for realizing document evoked content according to a fourth embodiment of the present invention;
FIG. 5 is a schematic diagram of a device for realizing document evoked content in accordance with a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a net tray according to a sixth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a method for implementing document evoked content according to an embodiment of the present invention, where the method is applicable to a case where evoked content is implemented on a collaboration document in a network disk, and the method may be implemented by an implementation document evoked content device and may be integrated in a network disk system server, and specifically includes the following steps:
In this embodiment, the web pad may support collaborative editing, in which a creator or a collaborative editor of a document edits the document at a client or a web page, and in an interface for editing the document, an operation for evoking content is performed using a keyboard or a mouse. The corresponding evoked content operations may be generated into corresponding operation information and transmitted to the web pad.
In this embodiment, the @ character may be used as an operation for calling content, and after receiving the @ character input operation information, a content selection option may be given, so that the creator or the co-editor may conveniently select whether to call the collaborator or call other web document content at the time according to the content selection option. Illustratively, the form of the content selection option may be a form of a drop-down check box. Optionally, the role of calling the collaborator is to inform a specific web-disk user to pay attention to the paragraph content after the @ character in the current web-disk document; arousing other web document content may then reference all or part of the content of the other web document to the current web document.
For example, the creator or co-editor of the document may toggle the call collaborator and call other web document content selection options using the Tab key, and after completing the toggle action, may determine to call other web document selections. Further, the corresponding selection options may be determined according to the number of switching operations. When the option of the collaborator is determined to be aroused, the network disk system can prompt the system through the information in the system according to the selected collaborator, send out corresponding prompts when the collaborator logs in, and delete the prompts after the collaborator completes the editing operation of the document.
And 140, receiving a selection operation for selecting other network disk documents, and displaying the content of the network disk documents.
After the user selects to call up other web documents, the name or ID of the other web document may be entered after the @ symbol, and the web system opens the document according to the entered name or ID of the web document and displays the web document.
Optionally, the receiving a reference content selection operation from the content of the web document may include: receiving an operation of dropping reference content from the web disk document; or receiving an operation referencing the web document. The user who evokes the operation can select a corresponding paragraph part in the displayed web document by using a peripheral device such as a mouse or the like, or directly select a document file under the storage path folder of the web. Or to distinguish from other operations, the operation of selecting the reference content can also be realized by being matched with other functional keys. And determining the selected reference content according to the received operation. The selected reference content can be written into a document for receiving the operation of calling the content in the network disk, and concretely, the selected reference content can be written into a document position corresponding to the input indicator of the document.
The document in which the evoked content of the document exists is a special document, so that the selected content attribute information needs to be written into the corresponding document metadata, and for example, the evoked content attribute can be additionally added to the metadata of the document, and the attribute information of the quoted content needs to be written into the corresponding document metadata. The method is convenient for smoothly loading the evoked content when the document is previewed and edited in the later period, and realizes the same preview experience as the normal web document.
The embodiment of the invention receives the operation information of the evoked content; providing a call collaborator and other web document content selection options according to the call content operation; determining to call other web document selections when operation information of switching call collaborators and call other web document content selection options is received; receiving a selection operation of selecting other network disk documents, and displaying the content of the network disk documents; receiving a reference content selection operation from the content of the network disk document, writing the reference content into the document, and writing attribute information of the reference content into corresponding document metadata. The method can facilitate the setting of corresponding evoked operations in the document by a collaborative document creator or an editor, the corresponding evoked contents of the document with the evoked operations can be determined according to the evoked operations, and the metadata of the collaborative document can be changed according to the evoked contents, so that when other personnel operate the collaborative document, the collaborative document can load the corresponding evoked contents. The complex operation of the common use of a plurality of tools and the cooperation of users is avoided, and the efficiency of the network disk document cooperation is greatly improved.
Example two
Fig. 2 is a flowchart of a method for implementing document evoked content according to a second embodiment of the present invention. The present embodiment is optimized based on the above embodiment, in this embodiment, the reference content is written into the document, and the attribute information of the reference content is written into the corresponding document metadata, which is specifically optimized as follows: when receiving the operation of the paragraph reference content from the network disk document, judging whether the size of the paragraph reference content is smaller than a first size threshold value, inserting a first paragraph reference identifier into the editing document when the size of the paragraph reference content is smaller than the first size threshold value, writing the paragraph reference content after the first paragraph reference identifier, and writing the association relation between the first paragraph reference identifier and the paragraph reference content and the network disk document information of the paragraph reference content into metadata of the editing document; and when the size of the web disc is larger than the first size threshold, inserting a second paragraph reference identifier into the editing document, determining a file ID of the web disc document, a file block corresponding to paragraph reference content and an offset, and writing the association relationship between the second paragraph reference identifier and the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset, and the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset into metadata of the editing document.
Correspondingly, the method for realizing the document calling content provided by the embodiment specifically comprises the following steps:
at step 210, operational information is received that evokes the content.
Typically, reference content may be written into a reference document. So as to facilitate the preview of the user. However, this approach inevitably increases the storage burden. I.e. repeated content may be stored repeatedly a number of times. Therefore, in this embodiment, firstly, the storage space occupied by the reference content is judged, and when the storage space is smaller than the preset size threshold, the reference content can be written into the document content. Optionally, a first paragraph reference identifier may be provided in the document, which is used for describing that the reference content exists later, and the association relationship between the first paragraph reference identifier and the paragraph reference content is written into metadata, so that when the document is previewed, the paragraph reference content may be marked or specially displayed to represent that the paragraph content is the content referencing other network disk documents. And the source of the paragraph reference content, namely the related information of the corresponding network disk document, is written into metadata, so that a user can conveniently check the detailed information of the reference content.
And 260, inserting a second paragraph reference identifier into the editing document when the size of the second paragraph reference identifier is larger than the first size threshold, determining the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset, and writing the association relationship between the second paragraph reference identifier and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset, and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset into metadata of the editing document.
When the reference content is larger than the first size threshold, the reference content can be interpreted as occupying larger storage space, and the paragraph reference content is inconvenient to directly write into the document. Therefore, in this embodiment, this case may be marked with the second paragraph reference identifier, and the association relationship between the reference identifier and the file ID of the web disc document, the file block corresponding to the paragraph reference content, and the offset, and the file ID of the web disc document, the file block corresponding to the paragraph reference content, and the offset are written into the metadata of the editing document. When the document is previewed and loaded, the storage address of the reference content can be read from the metadata for loading according to the direction of the second identifier, so that the storage space occupied by the reference content can be effectively reduced.
The embodiment writes the reference content into the document and writes the attribute information of the reference content into the corresponding document metadata, and is specifically optimized as follows: when receiving the operation of the paragraph reference content from the network disk document, judging whether the size of the paragraph reference content is smaller than a first size threshold value, inserting a first paragraph reference identifier into the editing document when the size of the paragraph reference content is smaller than the first size threshold value, writing the paragraph reference content after the first paragraph reference identifier, and writing the association relation between the first paragraph reference identifier and the paragraph reference content and the network disk document information of the paragraph reference content into metadata of the editing document; and when the size of the web disc reference identifier is larger than the first size threshold value, inserting a second paragraph reference identifier into the editing document, determining the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset, and writing the association relation between the reference identifier and the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset, the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset into metadata of the editing document. The method can effectively reduce the storage space occupied by the reference content and simultaneously facilitate the rapid loading of the reference content needing preview.
In a preferred implementation manner of this embodiment, the cited content may be written into the document, and the attribute information of the cited content may be written into corresponding document metadata, which is specifically optimized as follows: and when receiving the operation of referencing the network disk document, inserting a full text reference identifier into the editing document, and writing the file ID, the corresponding file block and the corresponding relation between the full text reference identifier and the network disk document into metadata of the editing document. When the full text content is not referenced, the size of the document which is referenced in full text is not considered, the specific corresponding file blocks are directly associated, and because the whole file blocks are loaded without addressing, the loading speed is not different from that of normal loading, and therefore, the method can avoid the situation that the referenced content is repeatedly stored and occupies a storage space while the preview loading speed is not influenced.
Example III
Fig. 3 is a flowchart of a method for implementing document evoked content according to a third embodiment of the present invention. The present embodiment is optimized based on the above embodiment, and in this embodiment, the method may further include the following steps: receiving a viewing request for viewing the edited document; inquiring a reference identifier in the editing document, and acquiring network disk document information of paragraph reference content according to the association relation between the first paragraph reference identifier and the paragraph reference content when the first paragraph reference identifier is the first paragraph reference identifier; and loading the network disk document information of the paragraph reference content into the viewing attribute of the first paragraph reference identifier as the labeling attribute.
Correspondingly, the method for realizing the document calling content provided by the embodiment specifically comprises the following steps:
in step 310, operation information is received that evokes the content.
The user may access the web page at a client or web page and issue a request to view the edited document by clicking or other operation.
And 370, inquiring a reference identifier in the edited document, and acquiring network disk document information of paragraph reference content according to the association relation between the first paragraph reference identifier and the paragraph reference content when the first paragraph reference identifier is the first paragraph reference identifier.
Upon receiving the view request, information referencing the web disc document from which the content originated is obtained by querying whether a reference identifier exists in the edited document and determining whether it is the first identifier.
The user may be interested in the source of the referenced content and other detailed information when viewing the document, so in this embodiment, the web disc document information of the paragraph referenced content may be loaded as a labeling attribute into the viewing attribute of the first paragraph reference identifier. The user may determine that reference content is present by the first paragraph reference identifier and may obtain detailed information of the referenced web disc document by clicking on the first paragraph reference identifier.
The embodiment adds the following steps: receiving a viewing request for viewing the edited document; inquiring a reference identifier in the editing document, and acquiring network disk document information of paragraph reference content according to the association relation between the first paragraph reference identifier and the paragraph reference content when the first paragraph reference identifier is the first paragraph reference identifier; and loading the network disk document information of the paragraph reference content into the viewing attribute of the first paragraph reference identifier as the labeling attribute. The user can conveniently check the detailed information of the referenced web disc document by referring to the identifier for the first paragraph when the preview is loaded. And improving the efficiency of previewing the citation document.
In a preferred implementation of this embodiment, the method may further include the following steps: when the second paragraph reference identifier is the second paragraph reference identifier, acquiring a file block corresponding to the reference content in metadata according to the association relationship between the second paragraph reference identifier and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset; reading the content of the file block corresponding to the reference content, and loading the content into the reference area corresponding to the second paragraph reference identifier; acquiring the attribute of the network disk document according to the file ID of the network disk document; and loading the attribute of the network disk document as a labeling attribute into the viewing attribute of the second paragraph reference identifier. And when the second paragraph reference identifier is determined, searching the actual storage address of the reference content for loading according to the association relationship among the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset recorded in the metadata. The preview loading of the reference content can be completed quickly while the storage space is reduced, and the user can conveniently and quickly view the detailed information of the web disc document of the referenced document by loading the attribute of the web disc document as the annotation attribute into the viewing attribute of the second paragraph reference identifier.
Example IV
Fig. 4 is a flowchart of a method for implementing document evoked content according to a fourth embodiment of the present invention. The present embodiment is optimized based on the above embodiment, and in this embodiment, the method may further include the following steps: acquiring preview authority of a requestor corresponding to a viewing request on the network disk document; correspondingly, the content of the file block corresponding to the read reference content is loaded into the reference area corresponding to the second paragraph reference identifier, and is specifically optimized as follows: and when the requester does not have the preview authority for the network disk document, loading preset authority reminding content into the reference area corresponding to the second paragraph reference identifier.
Correspondingly, the method for realizing the document calling content provided by the embodiment specifically comprises the following steps:
in step 410, operation information is received that evokes the content.
In general, documents in a network disk are provided with different rights for different users so as to prevent the situation that sensitive information leaks out. However, since the reference content belongs to the web disk document authority management of the reference, when the referenced document has viewing authority for accessing the reference document and does not have viewing authority for the referenced document, a divulgence situation easily occurs. Therefore, in the present embodiment, it is necessary to acquire whether or not the reference document has the corresponding right to the referenced document.
And 470, when the second paragraph reference identifier is the second paragraph reference identifier, acquiring the file block corresponding to the reference content in the metadata according to the association relationship between the second paragraph reference identifier and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset.
And step 480, loading preset permission reminding contents into the reference area corresponding to the second paragraph reference identifier when the requester does not have the preview permission on the network disk document.
If the first identifier is the first identifier, the content of the description reference is limited, so that the current viewer can be considered to have viewing rights to a few contents of the referenced document. If the identifier is referenced for the second paragraph, it may be stated that the referenced content is more, and therefore, it is desirable to determine whether the current viewer has viewing rights to the referenced document. When the user does not have the viewing rights, the preset rights reminding content can be loaded into the reference area corresponding to the second paragraph reference identifier, so that the user is prompted to have no rights for viewing the reference content currently.
The embodiment adds the following steps: acquiring preview authority of a requestor corresponding to a viewing request on the network disk document; correspondingly, the content of the file block corresponding to the read reference content is loaded into the reference area corresponding to the second paragraph reference identifier, and is specifically optimized as follows: and when the requester does not have the preview authority for the network disk document, loading preset authority reminding content into the reference area corresponding to the second paragraph reference identifier. The risk of leakage of the content of the cited document can be effectively avoided.
In a preferred implementation manner of this embodiment, the preview authority of the requestor corresponding to the obtaining the viewing request on the web document may be specifically optimized as follows: acquiring the number of character bits between the calling collaborator identifier and the second paragraph reference identifier; when the number of the character bits is smaller than the number of the preset concerned character bits, judging whether the requester corresponds to the collaborator identification; and if the requester does not have the preview authority for the network disk document, adjusting the requester to have the preview authority for the network disk document. Since the evoked content also includes the evoked collaborator, if the evoked content is evoked after the evoked by the collaborator, then the content in other web documents is evoked, it can be stated that the content of the quoted part is the content that needs the important attention of the collaborator, therefore, in this embodiment, by examining the number of character bits between the evoked collaborator identification and the second paragraph reference identifier, it is determined whether the content of the quoted part is the part that needs the important attention of the collaborator, and it is determined whether the current visitor is the evoked collaborator, if it is the evoked collaborator, the referred web document can be temporarily authorized for the collaborator. So that the evoked collaborators can smoothly browse to the relevant content of the cited document.
Example five
Fig. 5 is a schematic structural diagram of a device for realizing document evoked content, which is provided in a fifth embodiment of the present invention, and as shown in fig. 5, the device includes:
a receiving module 510 for receiving operation information of the evoked content;
a providing module 520 for providing a call partner and call other web document content selection options according to the operation of call content;
a determining module 530 for determining to call other web document selections when operation information for switching to call a collaborator and call other web document content selection options is received;
the display module 540 is configured to receive a selection operation for selecting other network disk documents, and display content of the network disk documents;
a writing module 550, configured to receive a reference content selection operation from the content of the network disk document, write the reference content into the document, and write attribute information of the reference content into corresponding document metadata.
The device for realizing document evoked content provided by the embodiment receives the operation information of the evoked content; providing a call collaborator and other web document content selection options according to the call content operation; determining to call other web document selections when operation information of switching call collaborators and call other web document content selection options is received; receiving a selection operation of selecting other network disk documents, and displaying the content of the network disk documents; receiving a reference content selection operation from the content of the network disk document, writing the reference content into the document, and writing attribute information of the reference content into corresponding document metadata. The method can facilitate the setting of corresponding evoked operations in the document by a collaborative document creator or an editor, the corresponding evoked contents of the document with the evoked operations can be determined according to the evoked operations, and the metadata of the collaborative document can be changed according to the evoked contents, so that when other personnel operate the collaborative document, the collaborative document can load the corresponding evoked contents. The complex operation of the common use of a plurality of tools and the cooperation of users is avoided, and the efficiency of the network disk document cooperation is greatly improved.
On the basis of the above embodiments, the display module includes:
a receiving unit for receiving an operation of dropping the reference content from the web document; or (b)
An operation referencing the web disk document is received.
On the basis of the above embodiments, the writing module includes:
a first writing unit, configured to determine, when an operation of receiving paragraph reference content from the web disc document is received, whether a size of the paragraph reference content is smaller than a first size threshold, insert a first paragraph reference identifier in the editing document when the size is smaller than the first size threshold, write the paragraph reference content after the first paragraph reference identifier, and write association relation between the first paragraph reference identifier and the paragraph reference content and web disc document information of the paragraph reference content into metadata of the editing document;
and the second writing unit is used for inserting a second paragraph reference identifier into the editing document when the second paragraph reference identifier is larger than the first size threshold value, determining the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset, and writing the association relation between the second paragraph reference identifier and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset, and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset into metadata of the editing document.
On the basis of the above embodiments, the writing module further includes:
and a third writing unit, configured to insert a full text reference identifier in the edited document when receiving an operation of referencing the network disk document, and write the file ID of the network disk document, the corresponding file block, and the corresponding relationship between the full text reference identifier and the network disk document into metadata of the edited document.
On the basis of the above embodiments, the device further includes:
a viewing request receiving module for receiving a viewing request for viewing the edited document;
the information acquisition module is used for inquiring the reference identifier in the editing document, and acquiring network disk document information of paragraph reference content according to the association relationship between the first paragraph reference identifier and the paragraph reference content when the first paragraph reference identifier is the first paragraph reference identifier;
and the first loading module is used for loading the network disk document information of the paragraph reference content into the viewing attribute of the first paragraph reference identifier as the labeling attribute.
On the basis of the above embodiments, the device further includes:
the second conversion module is used for acquiring the file block corresponding to the reference content in the metadata according to the association relationship between the second paragraph reference identifier and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset when the second paragraph reference identifier is the second paragraph reference identifier;
The content reading module is used for reading the content of the file block corresponding to the reference content and loading the content into the reference area corresponding to the second paragraph reference identifier;
the attribute acquisition module is used for acquiring the attribute of the network disk document according to the file ID of the network disk document;
and the second loading module is used for loading the attribute of the web disc document as a labeling attribute into the viewing attribute of the second paragraph reference identifier.
On the basis of the above embodiments, the device further includes:
the preview authority acquisition module is used for acquiring the preview authority of a requester corresponding to the viewing request on the network disk document;
correspondingly, the second loading module comprises:
and the reminding loading unit is used for loading preset permission reminding contents into the reference area corresponding to the second paragraph reference identifier when the requester does not have the preview permission on the network disk document.
On the basis of the above embodiments, the preview authority acquisition module includes:
a character bit number acquisition unit for acquiring the number of character bits between the calling collaborator identifier and the second paragraph reference identifier;
the judging unit is used for judging whether the requester corresponds to the collaborator identifier or not when the number of the character bits is smaller than the preset attention character bit number;
And the adjusting unit is used for adjusting that the requester has preview authority on the network disk document if the requester does not have preview authority on the network disk document when the requester corresponds.
The device for realizing the document call content provided by the embodiment of the invention can execute the method for realizing the document call content provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 6 is a schematic structural diagram of a mesh disc according to a sixth embodiment of the present invention. Fig. 6 shows a block diagram of an exemplary network disk 12 suitable for use in implementing embodiments of the present invention. The net tray 12 shown in fig. 6 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 6, the network disk 12 is embodied in the form of a general purpose computing device. Components of the net tray 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
The network disk 12 typically includes a variety of computer system readable media. Such media can be any available media that can be accessed by the network disk 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The network disk 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in fig. 6, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The network disk 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the network disk 12, and/or any devices (e.g., network card, modem, etc.) that enable the network disk 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the network disk 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown, network adapter 20 communicates with other modules of network disk 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the network disk 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the method of implementing document recall content provided by the embodiment of the present invention.
Example seven
The seventh embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method of implementing document recall content as provided in any of the above embodiments.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (11)
1. A method for implementing document recall content, comprising:
receiving operation information of the evoked content;
providing a call collaborator and other web document content selection options according to the call content operation;
determining to call other web document selections when operation information of switching call collaborators and call other web document content selection options is received;
receiving a selection operation of selecting other network disk documents, and displaying the content of the network disk documents;
receiving a reference content selection operation from the content of the network disk document, writing the reference content into the document, and writing attribute information of the reference content into corresponding document metadata.
2. The method of claim 1, wherein the receiving a reference content selection operation from the content of the web document comprises:
receiving an operation of dropping reference content from the web disk document; or (b)
An operation referencing the web disk document is received.
3. The method of claim 2, wherein writing the reference content into the document and writing the attribute information of the reference content into the corresponding document metadata comprises:
when receiving the operation of the paragraph reference content from the network disk document, judging whether the size of the paragraph reference content is smaller than a first size threshold value, inserting a first paragraph reference identifier into the editing document when the size of the paragraph reference content is smaller than the first size threshold value, writing the paragraph reference content after the first paragraph reference identifier, and writing the association relation between the first paragraph reference identifier and the paragraph reference content and the network disk document information of the paragraph reference content into metadata of the editing document;
and when the size of the web disc is larger than the first size threshold, inserting a second paragraph reference identifier into the editing document, determining a file ID of the web disc document, a file block corresponding to paragraph reference content and an offset, and writing the association relationship between the second paragraph reference identifier and the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset, and the file ID of the web disc document, the file block corresponding to the paragraph reference content and the offset into metadata of the editing document.
4. The method of claim 2, wherein writing the reference content into the document and writing the attribute information of the reference content into the corresponding document metadata comprises:
and when receiving the operation of referencing the network disk document, inserting a full text reference identifier into the editing document, and writing the file ID, the corresponding file block and the corresponding relation between the full text reference identifier and the network disk document into metadata of the editing document.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
receiving a viewing request for viewing the edited document;
inquiring a reference identifier in the editing document, and acquiring network disk document information of paragraph reference content according to the association relation between the first paragraph reference identifier and the paragraph reference content when the first paragraph reference identifier is the first paragraph reference identifier;
and loading the network disk document information of the paragraph reference content into the viewing attribute of the first paragraph reference identifier as the labeling attribute.
6. The method of claim 5, wherein the method further comprises:
when the reference identifier is the second paragraph reference identifier, acquiring a file block corresponding to the reference content in metadata according to the association relationship between the reference identifier and the file ID of the network disk document, the file block corresponding to the paragraph reference content and the offset;
Reading the content of the file block corresponding to the reference content, and loading the content into the reference area corresponding to the second paragraph reference identifier;
acquiring the attribute of the network disk document according to the file ID of the network disk document;
and loading the attribute of the network disk document as a labeling attribute into the viewing attribute of the second paragraph reference identifier.
7. The method of claim 6, wherein the method further comprises:
acquiring preview authority of a requestor corresponding to a viewing request on the network disk document;
correspondingly, the reading the content of the file block corresponding to the reference content and loading the content into the reference area corresponding to the second paragraph reference identifier includes:
and when the requester does not have the preview authority for the network disk document, loading preset authority reminding content into the reference area corresponding to the second paragraph reference identifier.
8. The method of claim 7, wherein the obtaining the preview authority of the requestor corresponding to the view request for the web document comprises:
acquiring the number of character bits between the calling collaborator identifier and the second paragraph reference identifier;
when the number of the character bits is smaller than the number of the preset concerned character bits, judging whether the requester corresponds to the collaborator identification;
And if the requester does not have the preview authority for the network disk document, adjusting the requester to have the preview authority for the network disk document.
9. An apparatus for realizing document evoked content, comprising:
the receiving module is used for receiving the operation information of the evoked content;
the providing module is used for providing a call partner and call other web document content selection options according to the operation of call content;
the determining module is used for determining to call other network disk document selections when receiving operation information of switching to call the collaborators and call other network disk document content selection options;
the display module is used for receiving the selection operation of selecting other network disk documents and displaying the content of the network disk documents;
and the writing module is used for receiving a reference content selection operation from the contents of the network disk document, writing the reference content into the document, and writing the attribute information of the reference content into the corresponding document metadata.
10. A net tray, the net tray comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of implementing document recall content of any one of claims 1-8.
11. A storage medium containing computer executable instructions which, when executed by a computer processor, are for implementing the document recall content method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310301530.9A CN116011410B (en) | 2023-03-27 | 2023-03-27 | Method, device, network disk and storage medium for realizing document call content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310301530.9A CN116011410B (en) | 2023-03-27 | 2023-03-27 | Method, device, network disk and storage medium for realizing document call content |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116011410A true CN116011410A (en) | 2023-04-25 |
CN116011410B CN116011410B (en) | 2023-08-11 |
Family
ID=86021344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310301530.9A Active CN116011410B (en) | 2023-03-27 | 2023-03-27 | Method, device, network disk and storage medium for realizing document call content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116011410B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120233205A1 (en) * | 2008-03-07 | 2012-09-13 | Inware, Llc | System and method for document management |
US20130018848A1 (en) * | 2011-07-15 | 2013-01-17 | International Business Machines Corporation | Determining and presenting provenance and lineage for content in a content management system |
CN103597474A (en) * | 2011-03-11 | 2014-02-19 | 谷歌公司 | Efficient indexing and searching of access control listed documents |
CN112528595A (en) * | 2020-12-15 | 2021-03-19 | 北京字跳网络技术有限公司 | Document processing method and device and electronic equipment |
CN113961971A (en) * | 2021-12-23 | 2022-01-21 | 天津联想协同科技有限公司 | Method and device for reminding setting of file authority of network disk, network disk and storage medium |
CN114329367A (en) * | 2022-03-14 | 2022-04-12 | 天津联想协同科技有限公司 | Network disk file tracing method and device, network disk and storage medium |
CN114416670A (en) * | 2022-04-01 | 2022-04-29 | 天津联想协同科技有限公司 | Index creating method and device suitable for network disk document, network disk and storage medium |
CN114979125A (en) * | 2022-08-02 | 2022-08-30 | 天津联想协同科技有限公司 | Method, device, terminal and storage medium for rapidly uploading files to network disk |
CN114997116A (en) * | 2021-03-01 | 2022-09-02 | 北京字跳网络技术有限公司 | Document editing method, device, equipment and storage medium |
CN115146598A (en) * | 2022-09-06 | 2022-10-04 | 天津联想协同科技有限公司 | File collaborative editing method and device, network disk and storage medium |
CN115169324A (en) * | 2022-09-06 | 2022-10-11 | 天津联想协同科技有限公司 | Network disk-based key information reminding method and device, network disk and storage medium |
CN115238314A (en) * | 2022-09-22 | 2022-10-25 | 天津联想协同科技有限公司 | Network disk file display method and device, network disk and storage medium |
CN115544257A (en) * | 2022-11-25 | 2022-12-30 | 天津联想协同科技有限公司 | Method and device for rapidly classifying network disk documents, network disk and storage medium |
-
2023
- 2023-03-27 CN CN202310301530.9A patent/CN116011410B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120233205A1 (en) * | 2008-03-07 | 2012-09-13 | Inware, Llc | System and method for document management |
CN103597474A (en) * | 2011-03-11 | 2014-02-19 | 谷歌公司 | Efficient indexing and searching of access control listed documents |
US20130018848A1 (en) * | 2011-07-15 | 2013-01-17 | International Business Machines Corporation | Determining and presenting provenance and lineage for content in a content management system |
CN112528595A (en) * | 2020-12-15 | 2021-03-19 | 北京字跳网络技术有限公司 | Document processing method and device and electronic equipment |
CN114997116A (en) * | 2021-03-01 | 2022-09-02 | 北京字跳网络技术有限公司 | Document editing method, device, equipment and storage medium |
CN113961971A (en) * | 2021-12-23 | 2022-01-21 | 天津联想协同科技有限公司 | Method and device for reminding setting of file authority of network disk, network disk and storage medium |
CN114329367A (en) * | 2022-03-14 | 2022-04-12 | 天津联想协同科技有限公司 | Network disk file tracing method and device, network disk and storage medium |
CN114416670A (en) * | 2022-04-01 | 2022-04-29 | 天津联想协同科技有限公司 | Index creating method and device suitable for network disk document, network disk and storage medium |
CN114979125A (en) * | 2022-08-02 | 2022-08-30 | 天津联想协同科技有限公司 | Method, device, terminal and storage medium for rapidly uploading files to network disk |
CN115146598A (en) * | 2022-09-06 | 2022-10-04 | 天津联想协同科技有限公司 | File collaborative editing method and device, network disk and storage medium |
CN115169324A (en) * | 2022-09-06 | 2022-10-11 | 天津联想协同科技有限公司 | Network disk-based key information reminding method and device, network disk and storage medium |
CN115238314A (en) * | 2022-09-22 | 2022-10-25 | 天津联想协同科技有限公司 | Network disk file display method and device, network disk and storage medium |
CN115544257A (en) * | 2022-11-25 | 2022-12-30 | 天津联想协同科技有限公司 | Method and device for rapidly classifying network disk documents, network disk and storage medium |
Non-Patent Citations (2)
Title |
---|
李殿伟;范运东;: "基于IBE机制的云文档安全存储管理系统设计与实现", 信息网络安全, no. 12 * |
高瑜蔚;侯霞;: "文档协同处理系统的设计与实现", 北京信息科技大学学报(自然科学版), no. 01 * |
Also Published As
Publication number | Publication date |
---|---|
CN116011410B (en) | 2023-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11416676B2 (en) | Using text messages to interact with spreadsheets | |
US9092173B1 (en) | Reviewing and editing word processing documents | |
US8533238B2 (en) | Sharing information about a document across a private computer network | |
CN114416667B (en) | Method and device for rapidly sharing network disk file, network disk and storage medium | |
US10650085B2 (en) | Providing interactive preview of content within communication | |
US20240004917A1 (en) | Data processing method and device, terminal, and storage medium | |
US9400770B2 (en) | Multi-view graphical user interface for editing a base document with highlighting feature | |
US20130174002A1 (en) | Database Field Extraction for Contextual Collaboration | |
CN114997114A (en) | Document updating method, device, equipment and medium | |
US11907264B2 (en) | Data processing method, data querying method, and server device | |
US8418051B1 (en) | Reviewing and editing word processing documents | |
US20240163236A1 (en) | Information processing method and apparatus, and electronic device and storage medium | |
US20190058756A1 (en) | Method, Terminal, and System for Sending Office Document | |
US8296647B1 (en) | Reviewing and editing word processing documents | |
CN116011410B (en) | Method, device, network disk and storage medium for realizing document call content | |
CN115408358B (en) | Network disk online file management method and device, network disk and storage medium | |
CN114942912B (en) | Network disk file collection method and device, network disk and storage medium | |
CN115248803B (en) | Collection method and device suitable for network disk file, network disk and storage medium | |
CN116010356B (en) | Method, device, network disk and storage medium for quickly previewing file through label | |
CN115859909B (en) | Collaborative document annotation display method, collaborative document annotation display device, server and storage medium | |
CN115422131B (en) | Business audit knowledge base retrieval method, device, equipment and computer readable medium | |
CN112163128A (en) | Mail retrieval method, device, equipment and storage medium | |
US20200301911A1 (en) | Electronic chronology | |
CN115134322A (en) | File secure transmission method and device based on cloud mobile phone, cloud mobile phone platform and storage medium | |
CN117149703A (en) | File processing method and system |
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 |