CN115357943B - Method and device for downloading protected document and storage medium - Google Patents

Method and device for downloading protected document and storage medium Download PDF

Info

Publication number
CN115357943B
CN115357943B CN202211298917.5A CN202211298917A CN115357943B CN 115357943 B CN115357943 B CN 115357943B CN 202211298917 A CN202211298917 A CN 202211298917A CN 115357943 B CN115357943 B CN 115357943B
Authority
CN
China
Prior art keywords
document
authority
protected
region
downloading
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
CN202211298917.5A
Other languages
Chinese (zh)
Other versions
CN115357943A (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.)
Tianjin Lenovo Collaboration Technology Inc
Original Assignee
Tianjin Lenovo Collaboration Technology Inc
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 Tianjin Lenovo Collaboration Technology Inc filed Critical Tianjin Lenovo Collaboration Technology Inc
Priority to CN202211298917.5A priority Critical patent/CN115357943B/en
Publication of CN115357943A publication Critical patent/CN115357943A/en
Application granted granted Critical
Publication of CN115357943B publication Critical patent/CN115357943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Document Processing Apparatus (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a method, a device and a storage medium for downloading a protected document, wherein the method comprises the following steps: receiving a downloading request of a system document, and judging whether the system document is a protection document according to the downloading request; when the file is a protected file, checking that a user initiating a downloading request has partial editing authority on the protected file; when partial editing rights exist, a downloading template is generated for the protection document; acquiring a region-authority model of the user in the protected document; acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document; and directing the downloading request to the security document so that the user downloads the security document. Under the condition that an editor can conveniently process the protected document off the disk, sensitive information can be prevented from leaking, and the data safety of the protected document is ensured.

Description

Method and device for downloading protected document and storage medium
Technical Field
The present invention relates to the field of online document technologies, and in particular, to a method and an apparatus for downloading a protected document, and a storage medium.
Background
At present, an online document can support an online document collaborative editing function, that is, a plurality of users are supported to edit the same document online together, and the work efficiency can be effectively improved by utilizing the collaborative editing function. Meanwhile, in order to ensure that important information in the online document is not leaked, data needing to be protected can be set for each editor of the online document in a data protection authority mode. These data that need to be protected are typically not visible to the editor.
In the process of implementing the invention, the inventor finds the following technical problems: collaborative editors often wish to edit online documents in an off-disk environment, often requiring that the online document be downloaded before editing the downloaded document locally. However, this approach is not feasible for online documents that set data protection rights, because once out of the online document system environment, the data protection rights automatically fail, resulting in sensitive data leakage.
Disclosure of Invention
The embodiment of the invention provides a method and a device for downloading a protected document and a storage medium, which are used for solving the technical problem that sensitive data generated after an online document with data protection authority is downloaded and off-disk in the prior art is leaked.
In a first aspect, an embodiment of the present invention provides a method for downloading a protected document, including:
receiving a downloading request of a system document, and judging whether the system document is a protection document according to the downloading request;
when the file is a protected file, checking that a user initiating a downloading request has partial editing authority on the protected file;
when partial editing rights exist, a downloading template is generated for the protection document;
acquiring a region-authority model of the user in the protected document;
acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document;
and directing the downloading request to the security document so that the user downloads the security document.
In a second aspect, an embodiment of the present invention further provides a device for downloading a protected document, including:
the receiving module is used for receiving a downloading request of a system document and judging whether the system document is a protection document or not according to the downloading request;
the checking module is used for checking that a user initiating a downloading request has partial editing authority on the protected document when the document is protected;
the generating module is used for generating a downloading template for the protected document when partial editing rights exist;
the acquisition module is used for acquiring a region-authority model of the user in the protected document;
the embedding module is used for acquiring corresponding authorized content according to the region-authority model and embedding the authorized content into a download template to generate a security document;
and the directing module is used for directing the downloading request to the security document so as to enable the user to download the security document.
In a third aspect,
embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the method for downloading a protected document as provided in the above embodiments.
According to the method, the device and the storage medium for downloading the protection document, provided by the embodiment of the invention, whether the system document is the protection document is judged according to a downloading request of the system document by receiving the downloading request; when the file is a protected file, checking that a user initiating a downloading request has partial editing authority on the protected file; when partial editing rights exist, a downloading template is generated for the protection document; acquiring a region-authority model of the user in the protected document; acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document; and directing the downloading request to the security document so that the user downloads the security document. The copy of the protected document style can be realized by utilizing the download template, the regional content with the authority of the user is obtained through the regional-authority model of the user, and the regional content is embedded into the download template to generate the safe document for the user to download. The editor may download to the secure document consistent with the actual editing of the online document and may view and edit the secure document in an off-disk environment. By processing the sensitive information of the protected document during downloading, the sensitive information can be prevented from leaking under the condition that an editor can conveniently process the protected document from a disk, and the data security of the protected document is ensured.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 is a flowchart illustrating a method for downloading a protected document according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for downloading a protected document according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a downloading method for protecting a document according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a downloading apparatus for protecting a document according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for downloading a protected document according to an embodiment of the present invention, where the embodiment is applicable to a case of downloading an online document with data protection rights, and the method may be executed by a downloading device for protecting a document, and may be integrated in a network disk, and specifically includes the following steps:
step 110, receiving a downloading request of a system document, and judging whether the system document is a protected document according to the downloading request.
The user can initiate a download request of a specific document in the online document system by operation, the network disk receives the download request, and determines the file ID of the downloaded document and the user ID initiating the download request according to the download request. And determining whether the document is a protected document by searching the metadata of the document according to the corresponding document ID. The protected document is a special document format, is mainly applied to a multi-person collaborative editing scene, and is characterized in that the protected document is invisible to each editor except for a content part with a right. By using the mode, the data safety can be protected as much as possible under the scene of realizing the simultaneous collaborative editing of a plurality of persons.
In step 120, when the document is protected, it is checked that the user initiating the download request has a partial editing right to the protected document.
When the system document is determined to be a protected document, firstly, whether the user has a partial editing right to the protected document is judged according to the user ID of the downloading request, and the partial editing right can be that the user has an editing right to partial content in the protected document. And if the partial editing authority is not provided, directly refusing the downloading request.
And step 130, when the protected document has partial editing rights, generating a download template for the protected document.
Since the protected document has content for protecting the downloading user, the protected document cannot be directly provided for the user to download. In this embodiment, a download template may be generated for the protected document, and the download template retains elements such as the style and page layout of the protected document. Such as font, font size, segment spacing, etc., and retains the corresponding subject name and part of the outline and directory contents. The specific paragraph or cell style is also preserved and correspondingly marked. Such as: paragraph numbers or cell locations, etc. Illustratively, the generating a download template for the protected document may include: analyzing the structure of the protection document; acquiring the style and page layout of each element in the structure; and generating a downloading template according to the style and the page layout of each element. The protected document is divided into a plurality of elements according to the structure, wherein the elements can comprise: in the case of a text editing type document, the elements may be chapters, paragraphs, or a sentence. The granularity of the elements can be set automatically according to actual conditions or manually by a user. The style and corresponding page layout of each element is then read. And then generates a corresponding download template.
Step 140, obtaining the region-authority model of the user in the protected document.
In this embodiment, a region-right model may be set for the protected document, where the region-right model is used to indicate which regions in the protected document have rights by editors, and since the rights of each editor are different and the corresponding editing regions are also different, the region-right model of each editor is also different. Alternatively, the region-rights model may be a tree structure. The general node is a title and a directory, then each child node is a chapter, and the grandchild node is a paragraph. By utilizing the tree structure, the corresponding authority area can be quickly found. Illustratively, the region-rights model in the protection document may be generated by: inquiring metadata of the protected document to obtain the minimum authority element unit of the user in the protected document; and generating a tree region-authority model according to the minimum authority element unit and the structure of the protection document. The minimum authority element unit may be a minimum region range corresponding to the authorization, and may be a cell, or a row, a sentence, or a paragraph. The corresponding region-authority model can be generated quickly by the method.
And 150, acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document.
And determining the result of the corresponding region according to the traversal region-authority model, acquiring the contents in the region, embedding the contents into the download template, reserving the region contents with the authority of the current user in the download template, and transferring the download template to generate the security document. By using the tree region-authority model, the region with the authority can be conveniently and quickly positioned. Meanwhile, compared with the whole document, the region with the authority is relatively less, so that the safety document can be generated quickly in the mode.
Step 160, the download request is directed to the security document, so that the user downloads the security document.
The security document may be a document that masks off the content of the area that the user does not have rights to download, and after the security document is generated, a download request may be directed to the security document. The user can download the security document, and can conveniently edit the protection document under the condition that the user leaves the disk.
The embodiment of the invention receives a downloading request of a system document, and judges whether the system document is a protection document according to the downloading request; when the document is protected, checking that a user initiating a downloading request has partial editing right on the protected document; when partial editing rights exist, a downloading template is generated for the protection document; acquiring a region-authority model of the user in the protected document; acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document; and directing the downloading request to the security document so that the user downloads the security document. The copy of the protected document style can be realized by utilizing the download template, the regional content with the authority of the user is obtained through the regional-authority model of the user, and the regional content is embedded into the download template to generate the safe document for the user to download. The editor may download to the secure document consistent with the actual editing of the online document and may view and edit the secure document in an off-disk environment. By processing the sensitive information of the protected document during downloading, the sensitive information can be prevented from leaking under the condition that an editor is convenient to leave the protected document, and the data security of the protected document is ensured.
Example two
Fig. 2 is a flowchart illustrating a method for downloading a protected document according to a second embodiment of the present invention. In this embodiment, the generating of the region-right model according to the minimum right element unit and the structure of the protected document is specifically optimized as follows: judging whether each authority element is in a collaborative editing state at present; and copying the authority elements in the collaborative editing state, adjusting the copied authority elements as new areas, and inheriting the original authority.
Correspondingly, the method for downloading the protected document provided by the embodiment specifically includes:
step 210, receiving a downloading request of a system document, and judging whether the system document is a protected document according to the downloading request.
In step 220, when the document is protected, it is checked that the user initiating the download request has a partial editing right to the protected document.
Step 230, when partial editing rights exist, a download template is generated for the protected document.
And 240, inquiring the metadata of the protected document to obtain the minimum authority element unit of the user in the protected document.
Step 250, judging whether each authority element is in a collaborative editing state currently.
Since the protection document supports a plurality of editors to edit simultaneously, it is possible that a plurality of editors have editing rights to the same editing area. Therefore, when a download request is made, it is necessary to determine whether each corresponding right element and right area are in a collaborative editing state. For example, whether the editing area of the active editor is the same as the authority element can be judged by checking whether the active editor exists in the protected document currently, and if the active editor exists in the protected document currently, the authority element is determined to be in a collaborative editing state currently.
And step 260, copying the authority elements in the collaborative editing state, adjusting the copied authority elements as new areas, and inheriting the original authority.
The downloaded online file should keep more information as much as possible, and if the rights element is currently in the collaborative editing state, the editing content of other editors should be kept as much as possible. Therefore, in the present embodiment, one rights element is additionally copied and the original rights are integrated. By the method, the downloaded online document can keep the authority, and simultaneously, the editing contents of other editors are also stored, so that the downloading user can conveniently and fully refer to the editing contents of other editors.
And 270, acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document.
Step 280, directing the download request to the security document so that the user downloads the security document.
In this embodiment, a region-rights model is generated according to the minimum rights element unit and the structure of the protected document, and is specifically optimized as follows: judging whether each authority element is in a collaborative editing state at present; and copying the authority elements in the collaborative editing state, adjusting the copied authority elements as new areas, and inheriting the original authority. When the authority area in the online document is edited by other editors, the editing contents of other editors are reserved, so that the downloading of the writing contents of other editors by a user is facilitated, and the working efficiency is improved.
EXAMPLE III
Fig. 3 is a flowchart illustrating a downloading method of a protected document according to a third embodiment of the present invention. In this embodiment, the method may further include the following steps: and recording the association relation between the security document and the region-authority model. Receiving the uploaded security document, and determining a region-authority model and a corresponding protection document according to the association relation; acquiring a modified region according to the region-authority model; and writing the corresponding content of the modified area into the protection document.
Correspondingly, the method for downloading the protected document provided by the embodiment specifically includes:
step 310, receiving a downloading request of a system document, and judging whether the system document is a protected document according to the downloading request.
In step 320, when the document is protected, it is checked that the user initiating the download request has a partial editing right to the protected document.
And step 330, generating a download template for the protected document when the protected document has partial editing rights.
Step 340, obtaining the region-authority model of the user in the protected document.
And 350, acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document.
And step 360, recording the association relationship between the security document and the region-authority model.
The security document may be a copy of the online document, and thus, in the system, the relationship between the security document and the online document needs to be recorded. Since the region-authority model expresses the relation of downloading the user-online document, the safety document and the region-authority model are recorded, so that the later period tracing is facilitated,
Step 370, the download request is directed to the security document, so that the user downloads the security document.
Step 380, receiving the uploaded security document, and determining the region-authority model and the corresponding protection document according to the incidence relation.
The downloader may perform off-disk editing on the secure document and, after the off-disk editing is completed, re-upload the secure document to the online document system. The corresponding region-authority model and the corresponding protection document can be determined according to the incidence relation recorded in the previous steps.
Step 390, obtaining the modified region according to the region-right model.
And determining the region which can be edited by the downloader by using the region-authority model, and determining the region modified by the downloader according to the content change of the editing region.
Step 3100, writing the modified corresponding content of the region into the protection document.
And reading corresponding content from the modified area in the security document, and correspondingly writing the corresponding content into a protection document in the online document system. The merging of the security document and the protection document can be automatically realized. Therefore, the downloading user does not need to manually upload the edited content to the protected document or generate a plurality of versions of content.
For example, the writing the modified corresponding content of the area into the protection document may include: judging whether the modified area has cooperative writing content; and when the collaborative write-in content exists, generating a composite reference area according to the area-authority model, and writing the modified content corresponding to the area into the composite reference area of the protected document. If the downloaded security document includes contents written by other editors in the editing area, the copied right elements are added in the area-right model when the security document is generated. Therefore, in this embodiment, a composite reference region is generated using a region-authority model, the composite reference region including: the editing area of the original other editors and the editing area used by the downloader. By the method, the edited contents of a plurality of editors can be embodied in the protected document, so that the edition can be determined and approved finally.
The present embodiment adds the following steps: the following steps are added: and recording the association relation between the security document and the region-authority model. Receiving the uploaded security document, and determining a region-authority model and a corresponding protection document according to the association relation; acquiring a modified region according to the region-authority model; and writing the corresponding content of the modified area into the protection document. The method and the device have the advantages that according to the safety document uploaded by the downloader, the content edited by the downloader from the disk is automatically integrated into the protection document, so that the downloading user does not need to manually upload the edited content into the protection document, and does not need to generate a plurality of versions of content. The working efficiency of using the protected document to edit from the disk is further improved.
Example four
Fig. 4 is a schematic structural diagram of a downloading apparatus for protecting a document according to a fourth embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
a receiving module 410, configured to receive a download request of a system document, and determine whether the system document is a protected document according to the download request;
a checking module 420, configured to check that, when a document is protected, a user who initiates a download request has a partial editing right on the protected document;
the generating module 430 is configured to generate a download template for the protected document when the protected document has a partial editing right;
an obtaining module 440, configured to obtain a region-rights model of the user in the protected document;
the embedding module 450 is configured to obtain corresponding authorized content according to the region-right model, and embed the authorized content into a download template to generate a security document;
a directing module 460, configured to direct the download request to the security document, so that the user downloads the security document.
The download device for protecting the document provided by the embodiment receives a download request of a system document, and judges whether the system document is a protected document according to the download request; when the file is a protected file, checking that a user initiating a downloading request has partial editing authority on the protected file; when partial editing rights exist, a downloading template is generated for the protection document; acquiring a region-authority model of the user in the protected document; acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document; and directing the downloading request to the security document so that the user downloads the security document. The copy of the protected document style can be realized by utilizing the download template, the regional content with the authority of the user is obtained through the regional-authority model of the user, and the regional content is embedded into the download template to generate the safe document for the user to download. The editor may download to the secure document consistent with the actual editing of the online document and may view and edit the secure document in an off-disk environment. By processing the sensitive information of the protected document during downloading, the sensitive information can be prevented from leaking under the condition that an editor can conveniently process the protected document from a disk, and the data security of the protected document is ensured.
On the basis of the foregoing embodiments, the generating module includes:
the analysis unit is used for analyzing the structure of the protection document;
the acquisition unit is used for acquiring the style and the page layout of each element in the structure;
and the generating unit is used for generating a downloading template according to the style and the page layout of each element.
On the basis of the foregoing embodiments, the obtaining module includes:
the query unit is used for querying the metadata of the protected document and acquiring the minimum authority element unit of the user in the protected document;
and the generating unit is used for generating a region-authority model according to the minimum authority element unit and the structure of the protection document.
On the basis of the foregoing embodiments, the generating unit is configured to:
judging whether each authority element is in a collaborative editing state at present;
and copying the authority elements in the collaborative editing state, adjusting the copied authority elements as new areas, and inheriting the original authority.
On the basis of the above embodiments, the apparatus further includes:
and the recording module is used for recording the association relationship between the security document and the region-authority model.
On the basis of the above embodiments, the apparatus further includes:
the receiving module is used for receiving the uploaded security documents and determining a region-authority model and corresponding protection documents according to the incidence relation;
the region acquisition module is used for acquiring the modified region according to the region-authority model;
and the writing module is used for writing the modified corresponding content of the area into the protected document.
On the basis of the foregoing embodiments, the writing module includes:
a judging unit, configured to judge whether the modified area has cooperative write content;
and the writing unit is used for generating a composite reference area according to the area-authority model when the collaborative writing content exists, and writing the modified content corresponding to the area into the composite reference area of the protected document.
The download device of the protected document provided by the embodiment of the invention can execute the download method of the protected document provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform any of the methods for downloading a protected document as provided in any of the above embodiments.
Computer storage media for embodiments of the present 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method for downloading a protected document, comprising:
receiving a downloading request of a system document, and judging whether the system document is a protected document according to the downloading request;
when the document is protected, checking that a user initiating a downloading request has partial editing right on the protected document;
when partial editing rights exist, a downloading template is generated for the protection document;
acquiring a region-authority model of the user in the protected document;
acquiring corresponding authorized content according to the region-authority model, and embedding the authorized content into a download template to generate a security document;
directing the download request to the security document so that the user downloads the security document;
the obtaining of the region-right model of the user in the protected document includes:
inquiring metadata of the protected document to obtain the minimum authority element unit of the user in the protected document;
generating a region-authority model according to the minimum authority element unit and the structure of the protection document;
the generating a region-rights model according to the minimum rights element unit and the structure of the protected document includes:
judging whether each authority element is in a collaborative editing state at present;
and copying the authority elements in the collaborative editing state, adjusting the copied authority elements as new areas, and inheriting the original authority.
2. The method of claim 1, wherein generating a download template for the protected document comprises:
analyzing the structure of the protection document;
acquiring the style and page layout of each element in the structure;
and generating a downloading template according to the style and the page layout of each element.
3. The method of claim 1, further comprising:
and recording the association relation between the security document and the region-authority model.
4. The method of claim 1, further comprising:
receiving the uploaded security document, and determining a region-authority model and a corresponding protection document according to the association relation;
acquiring a modified region according to the region-authority model;
and writing the corresponding content of the modified area into the protection document.
5. The method according to claim 4, wherein the writing the modified region corresponding content into the protection document comprises:
judging whether the modified area has cooperative writing content;
and when the collaborative write-in content exists, generating a composite reference area according to the area-authority model, and writing the modified content corresponding to the area into the composite reference area of the protected document.
6. A download apparatus for securing a document, comprising:
the receiving module is used for receiving a downloading request of a system document and judging whether the system document is a protection document or not according to the downloading request;
the checking module is used for checking that a user initiating a downloading request has partial editing authority on the protected document when the document is protected;
the generating module is used for generating a downloading template for the protected document when partial editing rights exist;
the acquisition module is used for acquiring a region-authority model of the user in the protected document;
the embedding module is used for acquiring corresponding authorized content according to the region-authority model and embedding the authorized content into a download template to generate a security document;
the directing module is used for directing the downloading request to the security document so as to enable the user to download the security document;
the acquisition module comprises:
the query unit is used for querying the metadata of the protected document and acquiring the minimum authority element unit of the user in the protected document;
a generating unit configured to generate a region-rights model from the minimum rights element unit and a structure of the protected document;
the generation unit is used for:
judging whether each authority element is in a collaborative editing state at present;
and copying the authority elements in the collaborative editing state, adjusting the copied authority elements as new areas, and inheriting the original authority.
7. The apparatus of claim 6, wherein the generating module comprises:
the analysis unit is used for analyzing the structure of the protection document;
the acquisition unit is used for acquiring the style and the page layout of each element in the structure;
and the generating unit is used for generating a downloading template according to the style and the page layout of each element.
8. A storage medium containing computer-executable instructions for performing the method of downloading a protected document according to any one of claims 1 to 5 when executed by a computer processor.
CN202211298917.5A 2022-10-24 2022-10-24 Method and device for downloading protected document and storage medium Active CN115357943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211298917.5A CN115357943B (en) 2022-10-24 2022-10-24 Method and device for downloading protected document and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211298917.5A CN115357943B (en) 2022-10-24 2022-10-24 Method and device for downloading protected document and storage medium

Publications (2)

Publication Number Publication Date
CN115357943A CN115357943A (en) 2022-11-18
CN115357943B true CN115357943B (en) 2023-03-24

Family

ID=84008312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211298917.5A Active CN115357943B (en) 2022-10-24 2022-10-24 Method and device for downloading protected document and storage medium

Country Status (1)

Country Link
CN (1) CN115357943B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132457B (en) * 2023-04-04 2023-07-04 北京祥云天地科技有限公司 Cloud document processing method, device and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751526A (en) * 2008-12-19 2010-06-23 鸿富锦精密工业(深圳)有限公司 E-document protection system and method therefor
CN110008740A (en) * 2019-03-05 2019-07-12 天津字节跳动科技有限公司 A kind of processing method of document access authority, device, medium and electronic equipment
CN110442851A (en) * 2019-07-23 2019-11-12 南京国睿信维软件有限公司 The method of power editor is independently limited based on the document automated modular of Office Word and multiple terminals

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413570A (en) * 2019-06-25 2019-11-05 大唐软件技术股份有限公司 A kind of document index and search method and its device
CN112580311A (en) * 2021-01-21 2021-03-30 中国传媒大学 Multi-level online rich text editing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751526A (en) * 2008-12-19 2010-06-23 鸿富锦精密工业(深圳)有限公司 E-document protection system and method therefor
CN110008740A (en) * 2019-03-05 2019-07-12 天津字节跳动科技有限公司 A kind of processing method of document access authority, device, medium and electronic equipment
CN110442851A (en) * 2019-07-23 2019-11-12 南京国睿信维软件有限公司 The method of power editor is independently limited based on the document automated modular of Office Word and multiple terminals

Also Published As

Publication number Publication date
CN115357943A (en) 2022-11-18

Similar Documents

Publication Publication Date Title
US11714666B2 (en) Extensible template pipeline for web applications
US7769787B2 (en) Method and system for maintaining originality-related information about elements in an editable object
US11061991B2 (en) Secure document sharing
KR101608099B1 (en) Simultaneous collaborative review of a document
US8196029B1 (en) System and method for enabling simultaneous multi-user electronic document editing
US7424669B2 (en) Automatic bibliographical information within electronic documents
US8782431B2 (en) Digital data authentication and security system
US7734914B1 (en) System and method for allowing applications to securely access files
US20080028442A1 (en) Copy-paste trust system
US20090259731A1 (en) Inserting a multimedia file through a web-based desktop productivity application
CN115357943B (en) Method and device for downloading protected document and storage medium
US20090125445A1 (en) System and method for capturing and certifying digital content pedigree
JP2007257629A (en) System and method for merging sub-document into collaboratively authored master document
US8881307B2 (en) Electronic file security management platform
JP4928677B2 (en) How to limit the use of digital content
CN114329366B (en) Network disk file control method and device, network disk and storage medium
US11030345B2 (en) Sharing regulated content stored on non-regulated storage platforms
CN113946873A (en) Off-disk file tracing method and device, terminal and storage medium
TW201514727A (en) File processing system and method
US20200145386A1 (en) Methods and systems for securing organizational assets in a shared computing environment
CN116305275A (en) Local file management method and device, storage medium and electronic equipment
Woods et al. Redacting private and sensitive information in born-digital collections
Reid Factors that may prevent meaningful digital legacy
JP6360763B2 (en) Information processing apparatus and information processing method
CN107479899B (en) File processing method and device, storage medium and processor

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