CN-121997359-A - Document distribution method, document distribution device, computer device, and readable storage medium
Abstract
The application relates to a document distribution method, a document distribution device, a computer device and a readable storage medium. The method comprises the steps of obtaining a pre-built initial document reading application, embedding a portable document format document to be distributed and an identification association rule of the portable document format document into the initial document reading application to obtain an intermediate document reading application, configuring a security access policy of the portable document format document in the intermediate document reading application to obtain a target document reading application, packaging the target document reading application into an executable file and forwarding the executable file to target equipment, enabling the target equipment to run the target document reading application based on the executable file, positioning the portable document format document based on the identification association rule through the target document reading application, and calling the portable document format document and displaying based on the security access policy. By adopting the method, the document distribution safety can be improved.
Inventors
- SHEN JIANENG
- YE JINYU
- LU HONGXING
Assignees
- 苏州纵苇科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260129
Claims (10)
- 1. A document distribution method, the method comprising: Acquiring a pre-constructed initial document reading application; Embedding a portable document format document to be distributed and an identification association rule of the portable document format document into the initial document reading application to obtain an intermediate document reading application; configuring a security access strategy of the portable document format document in the intermediate document reading application to obtain a target document reading application; And packaging the target document reading application into an executable file and forwarding the executable file to target equipment, so that the target equipment runs the target document reading application based on the executable file, positions the portable document format document based on the identification association rule through the target document reading application, and calls and displays the portable document format document based on the security access policy.
- 2. The method of claim 1, wherein configuring the security access policy of the portable document format document in the intermediate document reading application to obtain a target document reading application comprises: And configuring a security access policy of the portable document format document in a rear-end control layer of the intermediate document reading application to obtain a target document reading application, wherein the target device is used for temporarily loading the portable document format document into a memory and displaying the portable document format document through the target document reading application, clearing the memory after the display of the portable document format document is finished, and intercepting a document content extraction request in the process of displaying the portable document format document.
- 3. The method of claim 2, wherein the target device is further configured to intercept, by the target document reading application, a write request directed to a temporary file directory for the memory, and/or intercept a memory dump attack.
- 4. The method of claim 1, wherein the packaging the target document reading application as an executable file and forwarding to a target device to cause the target device to run the target document reading application based on the executable file comprises: packaging the target document reading application into an executable file, and generating an integrity check value of the target document reading application based on a preset algorithm; And forwarding the executable file and the integrity check value to target equipment, so that the target equipment generates a real-time check value of the target document reading application based on the executable file and the preset algorithm, and running the target document reading application based on the executable file under the condition that the real-time check value is consistent with the integrity check value in comparison.
- 5. The method of claim 1, wherein prior to said obtaining a pre-built initial document reading application comprises: integrating a document rendering component to form a front-end display layer, wherein the document rendering component supports page rendering of a portable document format document under different operating system environments; and constructing an initial document reading application based on the front-end display layer.
- 6. The method of claim 1, wherein embedding the portable document format document to be distributed and the identification association rule of the portable document format document into the initial document reading application to obtain an intermediate document reading application comprises: Converting a portable document format document to be distributed into binary data, and creating an access identifier corresponding to the binary data; Embedding the binary data into the initial document reading application, and recording the association relation between the access identifier and the binary data in a resource mapping table of the initial document reading application to obtain an intermediate document reading application.
- 7. The method of claim 1, wherein the portable document format document contains magnetically driven system related content.
- 8. A document dispensing apparatus, the apparatus comprising: The application acquisition module is used for acquiring a pre-constructed initial document reading application; The document embedding module is used for embedding the portable document format document to be distributed and the identification association rule of the portable document format document into the initial document reading application to obtain an intermediate document reading application; the policy configuration module is used for configuring the security access policy of the portable document format document in the intermediate document reading application to obtain a target document reading application; And the document distribution module is used for packaging the target document reading application into an executable file and forwarding the executable file to target equipment, so that the target equipment runs the target document reading application based on the executable file, positions the portable document format document based on the identification association rule through the target document reading application, and calls the portable document format document based on the security access policy and displays the portable document format document.
- 9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
- 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
Description
Document distribution method, document distribution device, computer device, and readable storage medium Technical Field The present application relates to the field of information security technology, and in particular, to a document distribution method, apparatus, computer device, computer readable storage medium, and computer program product. Background In the fields of software, industrial equipment, consumer electronics, etc., manufacturers need to provide technical documents, product description or help manuals in PDF format to users to guide the use or transfer of technical details. The magnetic drive system is used as high-precision control equipment, the technical document of the magnetic drive system relates to secret contents such as core algorithms, component tolerances and the like, and the safety distribution requirement is obvious. The existing document distribution mode has the main problems that when PDF documents are directly downloaded, the documents are easy to copy, forward or falsify, the running of equipment, technical leakage or production safety risks can be possibly caused, on-line reading based on a cloud platform depends on a network, the cloud platform is difficult to adapt to unstable network environments such as industrial workshops, outdoor operation and the like, content can still be leaked in a screenshot mode, a printing mode and the like, the encrypted PDF documents are required to be input by users, the efficient operation of on-site operation and maintenance personnel is not facilitated, and the passwords are easy to leak or be cracked in the transmission. Disclosure of Invention In view of the foregoing, it is desirable to provide a document distribution method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve document distribution security. In a first aspect, the present application provides a document distribution method, including: Acquiring a pre-constructed initial document reading application; Embedding a portable document format document to be distributed and an identification association rule of the portable document format document into the initial document reading application to obtain an intermediate document reading application; configuring a security access strategy of the portable document format document in the intermediate document reading application to obtain a target document reading application; And packaging the target document reading application into an executable file and forwarding the executable file to target equipment, so that the target equipment runs the target document reading application based on the executable file, positions the portable document format document based on the identification association rule through the target document reading application, and calls and displays the portable document format document based on the security access policy. In one embodiment, the configuring the security access policy of the portable document format document in the intermediate document reading application, and obtaining the target document reading application includes: And configuring a security access policy of the portable document format document in a rear-end control layer of the intermediate document reading application to obtain a target document reading application, wherein the target device is used for temporarily loading the portable document format document into a memory and displaying the portable document format document through the target document reading application, clearing the memory after the display of the portable document format document is finished, and intercepting a document content extraction request in the process of displaying the portable document format document. In one embodiment, the target device is further configured to intercept, by the target document reading application, a write request directed to a temporary file directory for the memory, and/or intercept a memory dump attack. In one embodiment, the packaging the target document reading application into an executable file and forwarding the executable file to a target device, so that the target device runs the target document reading application based on the executable file, including: packaging the target document reading application into an executable file, and generating an integrity check value of the target document reading application based on a preset algorithm; And forwarding the executable file and the integrity check value to target equipment, so that the target equipment generates a real-time check value of the target document reading application based on the executable file and the preset algorithm, and running the target document reading application based on the executable file under the condition that the real-time check value is consistent with the integrity check value in comparison. In one embodiment, before the obtaining the pre-built initial document reading application, the me