CN117473962A - File slice annotating method, device, equipment and storage medium - Google Patents

File slice annotating method, device, equipment and storage medium Download PDF

Info

Publication number
CN117473962A
CN117473962A CN202311633630.8A CN202311633630A CN117473962A CN 117473962 A CN117473962 A CN 117473962A CN 202311633630 A CN202311633630 A CN 202311633630A CN 117473962 A CN117473962 A CN 117473962A
Authority
CN
China
Prior art keywords
annotation
target
file
slice
annotating
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.)
Pending
Application number
CN202311633630.8A
Other languages
Chinese (zh)
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311633630.8A priority Critical patent/CN117473962A/en
Publication of CN117473962A publication Critical patent/CN117473962A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a file slice annotating method, a device, equipment and a storage medium, wherein the method comprises the following steps: responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file; displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control; and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file. The technical scheme of the embodiment of the invention solves the problem that the encryption file cannot be encrypted in the prior art, and can provide the corresponding drawing board for the encryption file for the user to annotate, thereby improving the efficiency of file office and improving the experience of the file office of the user.

Description

File slice annotating method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a file slice annotating method, a device, equipment and a storage medium.
Background
In the mobile office age, many encrypted files are in demand of confidentiality and the like, and the encrypted files cannot be captured and downloaded and can only be viewed in an online preview mode. When many users preview files by using mobile phones or tablet devices, some contents need to be annotated, especially some important paragraphs related to related meeting files, and at this time, a method for annotating files at any time is particularly needed to perfect the use requirements of users.
Disclosure of Invention
The embodiment of the invention provides a file slice annotating method, a device, equipment and a storage medium, which can provide corresponding drawing boards for encrypted files for users to annotate, improve the file office efficiency and improve the experience of the user in file office.
In a first aspect, an embodiment of the present invention provides a method for annotating a file slice, where the method includes:
responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file;
displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control;
and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file.
In a second aspect, an embodiment of the present invention provides a device for annotating a slice of a file, where the device includes:
the file slice determining module is used for determining a target file slice corresponding to the target encrypted file in response to an annotation request for the target encrypted file;
the annotation drawing board display module is used for displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control;
and the file slice annotating module is used for acquiring an annotating instruction input based on the annotating drawing board, annotating the file slice according to the annotating instruction and obtaining an annotating result of the target file.
In a third aspect, an embodiment of the present invention provides a computer apparatus, including:
one or more processors;
a memory 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 filing a slice of a file as described in any of the embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the method for annotating a slice of a file according to any of the embodiments.
According to the technical scheme provided by the embodiment of the invention, the target file slice corresponding to the target encrypted file is determined by responding to the annotation request aiming at the target encrypted file; displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control; and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file. The technical scheme of the embodiment of the invention solves the problem that the encryption file cannot be encrypted in the prior art, and can provide the corresponding drawing board for the encryption file for the user to annotate, thereby improving the efficiency of file office and improving the experience of the file office of the user.
Drawings
FIG. 1 is a flowchart of a method for annotating a file slice according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for annotating file slices according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a document slice annotating device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a method for annotating a file slice according to an embodiment of the present invention, where the embodiment of the present invention is applicable to a scenario in which an encrypted file is annotated, where the method may be performed by a file slice annotating device, and the device may be implemented by software and/or hardware.
As shown in fig. 1, the file slice annotating method includes the following steps:
s110, responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file.
The target encrypted file may be a file that has been encrypted. The technical scheme of the embodiment of the invention needs to annotate the target encrypted file. Specifically, the selected file may be designated as the target encrypted file based on the file. Further, the annotation request may be a request instruction that requires annotating the target encrypted file. Specifically, a corresponding annotation request control may be set, and when the control is clicked, that is, an annotation request for the target encrypted file is received, then an annotation process for the target encrypted file is started.
Further, the target file slice may be a slice corresponding to the target encrypted file. Specifically, at least one slice may be generated for each page of content based on the file content of the target encrypted file, so as to obtain a file slice corresponding to the target encrypted file. By acquiring the target file slice, the user can conveniently annotate the file slice, the specific content of the encrypted file is displayed, the original encrypted file is not modified, and the integrity of the original data is ensured. Optionally, in order to improve the efficiency of file annotation, the uploaded target file slice may also be directly obtained, that is, the step of generating the file slice by encrypting the file is omitted.
S120, displaying the annotation drawing board corresponding to the target file slice.
The annotation drawing board can be a drawing board capable of being used for annotating the target file slice, wherein the annotation drawing board comprises at least one annotation control. Wherein, the annotation control can be used for adjusting the annotation content. Specifically, a corresponding scalable vector drawing board may be generated, and the scalable vector drawing board may be used as an annotation drawing board corresponding to the object file slice. The scalable vector graphics board may be a board generated based on scalable vector graphics technology. The scalable vector drawing board may annotate a slice page of a file on the basis of not changing the slice page.
Among them, SVG (Scalable Vector Graphic, scalable vector graphics) is a scalable vector graphic, supporting XML format to define graphics, the image does not affect its graphics quality when enlarged or resized, and SVG has compatibility, supporting most browsers. Meanwhile, the advantages of the svg of XML format definition are utilized, the same file can be supported to annotate on different devices, and the annotation track can be automatically scaled and adjusted according to the length and the width of the file, so that the annotation track seen by a user on different devices is ensured to be identical. Finally, the svg file occupies little space, which is very beneficial to quick uploading and saving.
S130, acquiring an annotation instruction input based on the annotation drawing board, and annotating the file slice according to the annotation instruction to obtain an annotation result of the target file.
The annotation instruction may be an instruction obtained on an annotation drawing board. Specifically, the annotation instructions include, but are not limited to, click, drag, slide, etc. instructions. The target file annotation result may be a result of annotating a file slice. Specifically, the document slice can be annotated according to the annotation instruction, a corresponding annotation line is generated, and the annotation line is used as an annotation result of the target document.
According to the technical scheme provided by the embodiment of the invention, the target file slice corresponding to the target encrypted file is determined by responding to the annotation request aiming at the target encrypted file; displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control; and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file. The technical scheme of the embodiment of the invention solves the problem that the encryption file cannot be encrypted in the prior art, and can provide the corresponding drawing board for the encryption file for the user to annotate, thereby improving the efficiency of file office and improving the experience of the file office of the user.
Fig. 2 is a flowchart of another method for annotating file slices, which is provided by the embodiment of the present invention, where the embodiment of the present invention is applicable to a scene of annotating an encrypted file, and on the basis of the foregoing embodiment, how to display an annotation drawing board corresponding to a target file slice is further described; and how to obtain the annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction to obtain the annotation result of the target file.
As shown in fig. 2, the file slice annotating method includes the following steps:
s210, responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file.
The target encrypted file may be a file that has been encrypted. The technical scheme of the embodiment of the invention needs to annotate the target encrypted file. Specifically, the selected file may be designated as the target encrypted file based on the file. Further, the annotation request may be a request instruction that requires annotating the target encrypted file. Specifically, a corresponding annotation request control may be set, and when the control is clicked, that is, an annotation request for the target encrypted file is received, then an annotation process for the target encrypted file is started.
Further, the target file slice may be a slice corresponding to the target encrypted file. Specifically, at least one slice may be generated for each page of content based on the file content of the target encrypted file, so as to obtain a file slice corresponding to the target encrypted file. By acquiring the target file slice, the user can conveniently annotate the file slice, the specific content of the encrypted file is displayed, the original encrypted file is not modified, and the integrity of the original data is ensured. Optionally, in order to improve the efficiency of file annotation, the uploaded target file slice may also be directly obtained, that is, the step of generating the file slice by encrypting the file is omitted.
S220, searching the page number of the target encrypted file slice, and determining a target slice page according to the page number of the target encrypted file slice.
Wherein the target slice page may be a page of the target encrypted file slice. Specifically, the number of pages of the targeted encrypted file slice may be retrieved, and thus the total number of pages of the targeted encrypted file slice may be determined, and then the page of the file slice that is ultimately presented may be determined based on the number of pages. Specifically, the file slice of each page may be regarded as a target slice page, or a part of the pages of the target encrypted file slice may be regarded as a target slice page, that is, a target encrypted file slice may be intercepted into a plurality of target slice pages. Specifically, the conversion relationship between the target encrypted file slice and the target slice page can be set.
S230, generating a corresponding scalable vector drawing board for each target slice page, and taking the scalable vector drawing board as an annotation drawing board corresponding to the target slice page.
Wherein the scalable vector graphics board may be a board generated based on scalable vector graphics technology. The scalable vector drawing board may annotate a slice page of a file on the basis of not changing the slice page. Specifically, a corresponding scalable vector drawing board may be generated for each target slice page, and the scalable vector drawing board may be used as an annotation drawing board corresponding to the target slice page. The user can annotate the slice pages on the drawing board, and the annotating content before each slice page is not interfered with each other, so that the orderly of file slice annotating is improved. Specifically, the annotation palette includes at least one annotation control. Wherein, the annotation control can be used for adjusting the annotation content.
S240, annotation attribute information is determined according to annotation operation on the scalable vector diagram interface.
The annotation attribute information may be attribute information related to an annotation line. Specifically, the annotation attribute information includes: at least one of annotation line coordinates, annotation line thickness, annotation line color, and annotation line transparency. The annotation line coordinates may be coordinate information of each annotation point in the annotation line, and specifically, the annotation line coordinates may be determined by coordinates of the position points annotated in the annotation operation. The annotation line thickness can be the thickness information of the annotation track line. Specifically, a corresponding line thickness setting control can be set in the annotation drawing board, and the annotation line thickness can be determined based on the setting operation of the control in the annotation operation. The annotation line color may be color information of the annotation track line. Specifically, a corresponding line color setting control can be set in the annotation drawing board, and the annotation line color can be determined based on the setting operation of the control in the annotation operation. The annotation line transparency may be transparency information of the annotation track line. Specifically, a corresponding line transparency setting control may be set in the annotation drawing board, and the annotation line transparency may be determined based on a setting operation of the control in the annotation operation. The annotation attribute information is determined and can be used for generating annotation lines later.
S250, generating a target annotation track according to the annotation attribute information, and taking the target annotation track as a target file annotation result.
The target annotation track may be a track of an annotation line finally determined based on an annotation operation. Specifically, the target annotation track may be further generated based on the determined annotation attribute information. When a target annotation track is generated according to the annotation attribute information, a target annotation coordinate point can be determined according to the annotation position information in the annotation attribute information; connecting each target annotation coordinate point to generate an initial annotation track; and adjusting the line appearance of the initial annotation track based on the annotation line attribute information in the annotation attribute information to obtain the target annotation track.
The annotation position information may be annotation line coordinates. The target annotation coordinate may be a location coordinate through which the annotation line passes. The initial annotation track may be a track of annotation lines determined solely by the annotation location information. Specifically, each target annotation coordinate point may be connected to generate an initial annotation track. The target file annotation result may be an annotation result for the target encrypted file. Specifically, after the target annotation track is determined, a corresponding annotation file can be generated based on the target annotation track, and the annotation file is used as a target file annotation result.
Furthermore, in order to increase the readability of the annotation line, the thickness, color, transparency and other information of the annotation line can be adjusted. The line appearance of the initial annotation line can be adjusted by determining the annotation line attribute information, so that a target batch track is obtained. Optionally, in order to increase the practicality of line appearance adjustment, the embodiment of the invention can also perform appearance adjustment on the single line or the whole line in the selected area so as to meet different annotation demands of users.
In an alternative embodiment, under the condition that the annotation line modification instruction is acquired, determining a target annotation line according to the annotation line modification instruction; and under the condition that the target attribute modification instruction is acquired, modifying the annotation attribute information of the target annotation line according to the target attribute modification instruction.
The annotation line modification instruction may be a request instruction that requires modification of an annotation line. And the target annotation line can determine the annotation line to be modified. For example, a corresponding line modification trigger control may be set, and when the control is triggered, an annotating line modification instruction is obtained. Further, the target annotation line may be determined based on a click on the annotation line or a selection operation such as line region selection.
Further target property modification instructions may be instructions for modifying annotation property information of the target annotation line. Specifically, the annotation attribute information of the target annotation line may be modified according to the target attribute modification instruction. For example, after determining the target annotation line, if the current annotation attribute information of the target annotation line is adjusted, that is, the target attribute modification instruction is obtained, and then the annotation attribute information of the target annotation line may be modified based on the adjusted data. By setting the modification function of the annotation line, a user can adjust the generated annotation line according to the needs, and the practicability of the annotation line is improved.
In an alternative embodiment, after the target file annotation result is obtained, the target annotation file address may be further determined according to the file storage address of the target encrypted file slice; and sending the target file annotation result to a preset server so that the preset server stores the target file annotation result in a target annotation file address. In addition, in addition to storing the target file batching result in the preset server, the batching result can also be stored locally, and a specific storage mode can be selected by a user.
When a user previews a file cutting chart, the user is about to generate a svg path simultaneously when drawing an annotation track through a drawing pen or a finger in an svg mode, and after the annotation is completed, the generated paths are spliced to generate the svg file, and then the svg file is uploaded to a server or stored locally. The invention innovatively utilizes the file cutting pattern to combine with the svg mode, firstly realizes that the file does not fall to the ground, only needs to provide the file cutting pattern, can finish online preview annotation, secondly has compatibility because the svg mode is defined in an XML format, can finish rendering of svg patterns on different equipment and browsers according to labels, thirdly saves space of the svg file, saves more storage space and request time of a server compared with the original mode of synthesizing the picture for multiple times, and fourthly does not influence the quality of the patterns because of the change of the size proportion of the patterns, thereby greatly improving the experience of users when annotating the patterns.
For further explanation of the technical solution of the present aspect, the following description of specific embodiments is given by way of example.
1. Firstly, acquiring a file cutting diagram to be checked and annotated, and supporting multi-page sliding preview;
2. when the page stops scrolling, a drawing board is generated based on the current visible cut graph, and a user is supported to annotate by using a pen such as m-pencils or using fingers;
3. each time the user completes a pen down-move-up series of actions, a track is displayed on the drawing board, and a svg path is generated according to the coordinates of the pen down point, the track when the pen is moved and the coordinates when the pen is lifted, similar to a label of < path d= "M153 334C153 334 151334 151334"stroke = "#000000" fill= "none" skill= "1"/>.
4. After the user completes a plurality of annotation tracks, the method of the invention can splice and assemble a plurality of < path/> labels, and finally complete the svg text similar to the one shown in the following table.
<svg width="800"height="600"xmlns="http://www.w3.org/2000/svg"version="1.1">
<g id="Layer_1">
<title>Layer 1</title>
<path fill="none"stroke="#000"id="svg_1"d="m317,211c-1,0-5.05603,0.62399 -13,2c-9.08426,1.57352 -22.21533,2.9093-35,6c-3.07373,0.74307 -4.06442,1.40707 1,2c27.82779,3.25801 80.39789,-2.45856130,5c27.35117,4.11273 33.5412,7.69344 33,9c-1.14804,2.77164-15.01822,0.56573 -44,2c-31.02649,1.53545 -78.3558,6.62021-108,15c-9.12909,2.58061 -11,4 -11,4c6,4 41.57498,13.4543581,29c25.40903,10.01901 33.82443,14.0979 35,16c0.52573,0.85065-2.87857,1.49347 -6,2c-0.98709,0.16019 -1,0 -1,1l1,1l2,1l3,0"/>
<rect fill="none"stroke="#000"x="163"y="87"width="0"height="1"id="svg_2"/>
<path opacity="0.5"d="m216,126c1,0 6,0 15,0c13,0 40.98828,2.4999473,3c35.99561,0.5623 69,0 80,0c4,0 6,0 7,0c0,0 1,0 2,0c1,0 3,05,0l1,0l0,0l0,0"id="svg_3"stroke="#000"fill="none"/>
<path opacity="0.50555"d="m207,73c3,0 11.00549,2.7914468,2c72.02084,-1.0001 146.0018,-4.8651 226,-6c63.00159,-0.89377 101,-1113,-1l1,0"id="svg_4"stroke="#000"fill="none"/>
</g>
</svg>
5. And after the text is generated, the file in the svg suffix format is regenerated, and the file is uploaded and saved through an interface provided by the server.
6. After the user finishes uploading and saving, when entering the file slicing page for the second time, the user needs to acquire the svg file from the server, and the svg file is analyzed to produce a drawing board with corresponding width and height, a drawing pen with corresponding thickness and color transparency, and finally drawing of the graph is finished according to the coordinates.
7. And finally, adding and deleting paths are carried out on the svg-based file by the user every time, so that only the svg file is dynamically modified to finish the annotation every time on the premise that the file cut diagram is kept unchanged.
The target annotation file address may be an address where the target file annotation result is stored. Specifically, the target annotation file may be stored as a word file of the target encrypted file slice. Specifically, a corresponding sub-file storage address may be generated according to the file storage address of the target encrypted file slice, and the sub-file storage address is used as the target annotation file address. Further, after determining the target annotation file address, the target file annotation result may be sent to the preset server, so that the preset server stores the target file annotation result in the target annotation file address. By determining the storage address of the annotation result according to the storage address of the file encryption slice, the encryption file slice and the storage address of the annotation result can be associated, and subsequent data management is facilitated.
According to the technical scheme provided by the embodiment of the invention, the target file slice corresponding to the target encrypted file is determined by responding to the annotation request aiming at the target encrypted file; searching the page number of the target encrypted file slice, and determining a target slice page according to the page number of the target encrypted file slice; generating a corresponding scalable vector drawing board for each target slice page, and taking the scalable vector drawing board as an annotation drawing board corresponding to the target slice page; determining annotation attribute information according to annotation operation on a scalable vector graph interface; and generating a target annotation track according to the annotation attribute information, and taking the target annotation track as a target file annotation result. The technical scheme of the embodiment of the invention solves the problem that the encryption file cannot be encrypted in the prior art, and can provide the corresponding drawing board for the encryption file for the user to annotate, thereby improving the efficiency of file office and improving the experience of the file office of the user.
Fig. 3 is a schematic structural diagram of a file slice annotating device provided by the embodiment of the present invention, where the embodiment of the present invention is applicable to a scenario of annotating an encrypted file, and the device may be implemented by software and/or hardware, and integrated into a computer device with an application development function.
As shown in fig. 3, the document slice annotating device includes: a file slice determination module 310, an annotation drawing board presentation module 320, and a file slice annotation module 330.
The file slice determining module 310 is configured to determine, in response to an annotation request for a target encrypted file, a target file slice corresponding to the target encrypted file; the annotation drawing board display module 320 is configured to display an annotation drawing board corresponding to the target file slice, where the annotation drawing board includes at least one annotation control; and the file slice annotating module 330 is configured to obtain an annotating instruction input based on the annotating drawing board, and annotate the file slice according to the annotating instruction to obtain a target file annotating result.
According to the technical scheme provided by the embodiment of the invention, the target file slice corresponding to the target encrypted file is determined by responding to the annotation request aiming at the target encrypted file; displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control; and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file. The technical scheme of the embodiment of the invention solves the problem that the encryption file cannot be encrypted in the prior art, and can provide the corresponding drawing board for the encryption file for the user to annotate, thereby improving the efficiency of file office and improving the experience of the file office of the user.
In an alternative embodiment, the annotation panel is a scalable vector graphics interface, and the file slice determination module 310 is specifically configured to: determining annotation attribute information according to annotation operation on the scalable vector graph interface; and generating a target annotation track according to the annotation attribute information, and taking the target annotation track as a target file annotation result.
In an alternative embodiment, the file slice determination module 310 includes: the annotation track generation unit is used for: determining a target annotation coordinate point according to the annotation position information in the annotation attribute information; connecting each target annotation coordinate point to generate an initial annotation track; and adjusting the line appearance of the initial annotation track based on the annotation line attribute information in the annotation attribute information to obtain the target annotation track.
In an alternative embodiment, the annotation attribute information includes: at least one of annotation line coordinates, annotation line thickness, annotation line color, and annotation line transparency.
In an alternative embodiment, the annotation board display module 320 is specifically configured to: searching the page number of the target encrypted file slice, and determining a target slice page according to the page number of the target encrypted file slice; and generating a corresponding scalable vector drawing board for each target slice page, and taking the scalable vector drawing board as an annotation drawing board corresponding to the target slice page.
In an optional embodiment, the document slice annotating device further includes: the annotating line modification module is used for: under the condition that an annotation line modification instruction is obtained, determining a target annotation line according to the annotation line modification instruction; and under the condition that a target attribute modification instruction is acquired, modifying annotation attribute information of the target annotation line according to the target attribute modification instruction.
In an optional embodiment, the document slice annotating device further includes: the annotating storage address determining module is used for: determining a target annotation file address according to the file storage address of the target encrypted file slice; and sending the target file annotation result to a preset server, so that the preset server stores the target file annotation result in the target annotation file address.
The file slice annotating device provided by the embodiment of the invention can execute the file slice annotating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention. The computer device 12 may be any terminal device with computing power and may be configured in a file slice annotating device.
As shown in FIG. 4, the computer device 12 is in the form of a general purpose computing device. Components of computer device 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.
Bus 18 may be one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 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 computer device 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. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, 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 computer device 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 computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also 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 network adapter 20. As shown in fig. 4, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with computer device 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 a program stored in the system memory 28, for example, implementing a file slice annotating method provided by the embodiment of the present invention, the method includes:
responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file;
displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control;
and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file.
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a file slice annotating method as provided by any embodiment of the present invention, comprising:
responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file;
displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control;
and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file.
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 may be, for example, but not limited to: an electrical, 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, wire, fiber optic 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 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).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
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 (10)

1. A method for annotating a slice of a document, comprising:
responding to an annotation request aiming at a target encrypted file, and determining a target file slice corresponding to the target encrypted file;
displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control;
and acquiring an annotation instruction input based on the annotation drawing board, annotating the file slice according to the annotation instruction, and obtaining an annotation result of the target file.
2. The method of claim 1, wherein the annotating the drawing board is a scalable vector graphics interface, the obtaining the annotating instruction based on the annotating drawing board input, and annotating the file slice according to the annotating instruction comprises:
determining annotation attribute information according to annotation operation on the scalable vector graph interface;
and generating a target annotation track according to the annotation attribute information, and taking the target annotation track as a target file annotation result.
3. The method according to claim 2, wherein generating a target annotation track from the annotation attribute information comprises:
determining a target annotation coordinate point according to the annotation position information in the annotation attribute information;
connecting each target annotation coordinate point to generate an initial annotation track;
and adjusting the line appearance of the initial annotation track based on the annotation line attribute information in the annotation attribute information to obtain the target annotation track.
4. The method of claim 2, wherein annotating attribute information comprises: at least one of annotation line coordinates, annotation line thickness, annotation line color, and annotation line transparency.
5. The method of claim 2, wherein the presenting the annotation palette corresponding to the slice of the target file comprises:
searching the page number of the target encrypted file slice, and determining a target slice page according to the page number of the target encrypted file slice;
and generating a corresponding scalable vector drawing board for each target slice page, and taking the scalable vector drawing board as an annotation drawing board corresponding to the target slice page.
6. A method according to claim 3, characterized in that the method further comprises:
under the condition that an annotation line modification instruction is obtained, determining a target annotation line according to the annotation line modification instruction;
and under the condition that a target attribute modification instruction is acquired, modifying annotation attribute information of the target annotation line according to the target attribute modification instruction.
7. The method according to claim 1, further comprising, after the obtaining the target file annotation result:
determining a target annotation file address according to the file storage address of the target encrypted file slice;
and sending the target file annotation result to a preset server, so that the preset server stores the target file annotation result in the target annotation file address.
8. A document slice annotating device, the device comprising:
the file slice determining module is used for determining a target file slice corresponding to the target encrypted file in response to an annotation request for the target encrypted file;
the annotation drawing board display module is used for displaying an annotation drawing board corresponding to the target file slice, wherein the annotation drawing board comprises at least one annotation control;
and the file slice annotating module is used for acquiring an annotating instruction input based on the annotating drawing board, annotating the file slice according to the annotating instruction and obtaining an annotating result of the target file.
9. A computer device, the computer device comprising:
one or more processors;
a memory 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 filing slice annotation as claimed in any of claims 1-7.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a method of annotating a file slice as claimed in any one of claims 1 to 7.
CN202311633630.8A 2023-12-01 2023-12-01 File slice annotating method, device, equipment and storage medium Pending CN117473962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311633630.8A CN117473962A (en) 2023-12-01 2023-12-01 File slice annotating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311633630.8A CN117473962A (en) 2023-12-01 2023-12-01 File slice annotating method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117473962A true CN117473962A (en) 2024-01-30

Family

ID=89625737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311633630.8A Pending CN117473962A (en) 2023-12-01 2023-12-01 File slice annotating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117473962A (en)

Similar Documents

Publication Publication Date Title
CN110520859B (en) More intelligent copy/paste
US9519414B2 (en) Smart whiteboard interactions
US9880989B1 (en) Document annotation service
US8949729B2 (en) Enhanced copy and paste between applications
US11630939B2 (en) Semantic navigation of content documents
CN110032700B (en) Information release control method and device, storage medium and electronic equipment
CN109145272B (en) Text rendering and layout method, device, equipment and storage medium
US10803236B2 (en) Information processing to generate screen based on acquired editing information
CN109885781B (en) Mixed page unified browsing method, device, equipment and storage medium
WO2019139856A1 (en) Displaying an indication of changes made to content at a source
JP2023509233A (en) In-document table browsing method, device, electronic device, and storage medium
CN111651966A (en) Data report file generation method and device and electronic equipment
US9507790B2 (en) Providing file indexes and per-file viewing modes within a file management application
CN110286971B (en) Processing method and system, medium and computing device
KR20090096698A (en) Method and system for manipulating graphical images
CN112507670A (en) Text editing method and device, electronic equipment and storage medium
CN113220381A (en) Click data display method and device
CN115640783A (en) Method, device, equipment and storage medium for document content display
US10558729B2 (en) Enhanced collection environments
US11995129B2 (en) System and method for annotating website content
CN117473962A (en) File slice annotating method, device, equipment and storage medium
CN115657903A (en) Document interaction method, device, equipment and storage medium
US20180090174A1 (en) Video generation of project revision history
CN114528509A (en) Page display processing method and device, electronic equipment and storage medium
CN109190097B (en) Method and apparatus for outputting information

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