A power system work order management method and system based on visible watermark marking
By embedding visible watermarks into power system work orders and combining them with blockchain for evidence storage, the problems of easy forgery of work orders and difficulty in tracing responsibility have been solved. This has enabled anti-counterfeiting, circulation traceability, and responsibility binding of work orders, thereby improving the security and auditability of the system.
Patent Information
- Application Number
- CN202611077115.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-20
- Publication Date
- 2026-11-24
AI Technical Summary
Power system work orders are easily forged or tampered with during the circulation process. There is a lack of effective anti-counterfeiting measures, making it impossible to trace the source and channel of information leakage. The identity of the operator is not linked to the content of the work order, and the existing watermarking technology cannot support multiple markings and full life cycle management, making it difficult to trace the responsible party.
The visible watermarking technology is used to generate a hash value watermark containing basic work order information and operator information. This watermark is embedded in the work order document and accumulated. Combined with blockchain notarization and multi-field weighted comparison, the anti-counterfeiting, circulation traceability and responsibility binding of work orders are realized.
It achieves convenient anti-counterfeiting verification and strict anti-tampering of work orders, forms irreversible operation logs, supports multiple marking and full lifecycle management, and can accurately trace the circulation path and responsible persons, reducing the risk of misjudgment.
Smart Images

Figure CN123157664A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of work order management systems, specifically relating to a power system work order management method and system based on visible watermarking. Background Technology
[0002] Power system work orders encompass various types, including maintenance work orders, operation work orders, dispatch work orders, defect work orders, and inspection work orders, each corresponding to different business processes and management requirements. From creation, approval, execution to archiving, a single work order requires circulation through multiple positions and departments, involving multiple roles such as operators, reviewers, and supervisors. Because work orders are directly related to equipment safety and personal safety, their authenticity, completeness, and traceability are crucial. Power system work order management faces the following prominent problems in practical applications: Specifically, paper work orders or simple electronic work orders are easily forged or tampered with, lacking effective anti-counterfeiting measures. In the event of a safety incident, it is difficult to confirm the authenticity and originality of the work order, and it is impossible to determine whether the work order content has been illegally modified during the circulation process. Furthermore, work order information may be illegally copied or leaked during circulation, but due to the lack of effective marking methods, it is impossible to trace the source and channel of the information leak, and it is also difficult to pinpoint the specific leak link and responsible party. Simultaneously, during the multi-stage circulation of work orders, the operator's identity information is not strongly bound to the work order content, and the operational traces at each stage cannot be effectively preserved, making it difficult to trace the specific responsible party after a problem occurs, resulting in the inability to implement safety responsibilities. In addition, the existing work order management system lacks a verification mechanism for the authenticity of work orders, making it impossible for on-site personnel to quickly determine whether work orders have been tampered with or forged. Although digital watermarking technology can embed invisible information, it requires specialized equipment or software for detection, which is not convenient for power system on-site personnel to quickly verify. Existing watermarking technologies are mostly designed for general documents, focusing on single embedding of watermarks without considering the complex workflow of power system work orders and the need for multiple markings. They lack the ability to manage the entire lifecycle of watermark information and cannot support dynamic marking and traceability of work orders from creation to archiving. Furthermore, there is a lack of strong correlation between watermark information and work order content, and the watermark itself may be transplanted or forged.
[0003] To address the aforementioned issues, this application proposes a power system work order management method and system based on visible watermarking, which enables work order anti-counterfeiting, circulation traceability, convenient verification, and accountability. Summary of the Invention
[0004] The purpose of this invention is to address the above-mentioned problems by providing a power system work order management method and system based on visible watermarks to achieve anti-counterfeiting and traceability of work orders.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: a power system work order management method based on visible watermarking, comprising: S1: In response to the creation of a work order, collect basic work order information and operator information, and perform hash calculation on the core content of the work order to generate a content hash value; S2: Generates a visible watermark containing basic work order information, operator information, operation time, and content hash value, and embeds the visible watermark into the work order document with adjustable transparency. Unlike traditional digital watermarks that require specialized tools for detection, this method embeds the hash value of the core work order content in plaintext into the visible watermark, giving the watermark both basic information readable to the naked eye and a content fingerprint for system verification. This design allows on-site staff to read basic information such as operator and time without specialized equipment, while the system can perform precise anti-tampering verification by comparing hash values, balancing the convenience of on-site verification with the rigor of anti-counterfeiting verification.
[0006] S3: In response to the workflow of a work order, it obtains the current operator information and operation time, generates a new visible watermark, and embeds it into the work order document using a cumulative embedding method that creates new layers, while retaining the existing watermark layer. In traditional watermarking schemes, the new watermark usually covers the old watermark, resulting in the loss of historical operation traces. By using the method of creating new layers and adding a new watermark while preserving the existing watermark layer, the work order document itself becomes a carrier of operation information throughout its entire lifecycle, forming an irreversible operation log at the physical level. Even if the document is illegally copied, its multi-layered watermarks can still trace the complete workflow.
[0007] S4: In response to a work order verification request, extract multi-layered watermark information from the work order document. Perform a multi-field weighted comparison between the extracted information and the system-stored work order workflow records, and output a graded verification conclusion regarding the work order's authenticity and completeness based on the comparison results. This verification method does not use a simple binary judgment of consistency / inconsistency, but instead establishes a multi-dimensional weighted scoring mechanism that comprehensively considers the matching degree of multiple fields such as work order number, operator, time, and verification code, outputting a graded conclusion, such as fully credible, basically credible, questionable, or highly suspected of being forged. This design considers the error tolerance requirements that may exist in real-world scenarios, such as OCR recognition errors and time offsets, avoiding misjudgments caused by minor deviations and improving the system's practicality and robustness.
[0008] In the aforementioned power system work order management method based on visible watermarking, the core content of the work order includes the work order number, equipment information, maintenance project, and safety measures fields. The content hash value is calculated using the SHA-256 algorithm, and the first 16 bits are truncated and embedded as a verification code in the visible watermark. The work order number, equipment information, maintenance project, and safety measures fields are selected as inputs for the hash calculation because these fields cover the core business elements of the work order: identifier (number), object (equipment), task (maintenance project), and safety (safety measures). Any tampering with these key information will affect equipment safety or personal safety. Integrating this business logic into the technical solution ensures that the hash verification trigger accurately corresponds to high-risk tampering behavior. The 256-bit output of the SHA-256 algorithm (secure hash algorithm) ensures the collision resistance of the hash value, and truncating the first 16 bits controls the length of the watermark text while maintaining sufficient distinguishability, avoiding an excessively long watermark that affects the document reading experience. During verification, if the verification code extracted from the watermark does not match the hash value recalculated based on the current core content of the work order, it indicates that the core content of the work order has been changed after the watermark was embedded. The system will then determine this as a serious anomaly and automatically trigger a lockout or warning. This mechanism establishes a cryptographic binding relationship between the work order content and the watermark marker, effectively preventing attacks that could transfer the watermark from the original document to a forged work order.
[0009] In the aforementioned power system work order management method based on visible watermarking, the cumulative embedding method specifically involves: following the chronological order of work order flow, an alternating position strategy or a partitioned management strategy is used to sequentially overlay the watermarks generated by each operation onto different areas of the work order document, forming a visual operation timeline. Each time a watermark is embedded, a new transparent layer is created in the PDF document to place the new watermark, or a new watermark shape object is inserted into the XML structure of a Word document, while the existing watermark layers or objects remain unchanged. The visual operation timeline arranges the watermarks generated by each operation in chronological order, allowing reviewers to intuitively understand the complete flow of the work order by observing the watermarks. This transforms abstract system logs into visual operation traces on the document, lowering the traceability threshold. The alternating position and partitioned management strategies solve the problem of watermark overlap affecting readability caused by multiple embeddings. The alternating position strategy distributes each layer of watermarks in different areas of the document, while the partitioned management strategy divides the document into areas for each operation, ensuring that multiple watermarks are clearly identifiable. PDF uses layer overlay technology and leverages the Optional Content Groups mechanism natively supported by PDF. Word uses XML node injection technology and directly manipulates the document structure using the OOXML open standard. Both maintain the original watermark object unchanged, ensuring an accumulation rather than replacement effect from the underlying technology.
[0010] In the aforementioned power system work order management method based on visible watermarking, multi-field weighted comparison includes: matching work order number, operator ID, operation time, operation type, department information, and content verification code field by field, and assigning preset weights to each field to calculate a comprehensive score. When the score is lower than a preset threshold, the corresponding anomaly level is output, including Level 1 severe anomaly, Level 2 warning anomaly, and Level 3 prompt anomaly, along with corresponding handling measures. Work order number and operator ID are strong identifier fields, requiring exact matching and thus assigned high weights. Operation time is allowed a certain deviation, such as within 5 seconds, and is assigned medium weight. Department information may have variations due to organizational adjustments, so fuzzy matching is used and assigned lower weights. This differentiated matching rule and weight design reflects the importance of different fields in verification decisions and is realistically reasonable. Level 1 severe anomalies correspond to indicators that affect core security, such as hash verification failure or inconsistent work order numbers, and the system automatically locks or issues an alarm. Level 2 warning anomalies correspond to indicators that may suggest violations, such as time anomalies or inconsistent watermark layers, requiring manual intervention for verification. Level 3 prompt anomalies correspond to non-critical issues such as missing fields or style deviations, and are only recorded. The tiered processing mechanism enables the system to automatically take differentiated responses based on the level of risk, balancing security and operational efficiency.
[0011] In the aforementioned power system work order management method based on visible watermarking, multi-layer watermark information is extracted from the work order document. This includes: converting the work order document into a high-resolution image; locating the watermark region through layer separation and connected component analysis; using a deep learning OCR model to perform text recognition on the located watermark region and extract the watermark text; and parsing the operation type, work order number, operator, time, department, and verification code fields from the watermark text using regular expressions, and establishing a watermark layer sequence sorted by timestamp. The advantage of uniformly converting documents to high-resolution images with a DPI ≥ 300 for processing is that this method is applicable to screenshots, scans, or photographs of various document formats, without relying on the original electronic document, meeting the actual needs of mobile verification at power sites. Layer separation utilizes the differences in color and transparency between the watermark and the main text; connected component analysis is used to identify scattered watermark text block regions. Deep learning OCR models, such as the CRNN+CTC architecture, have higher accuracy in recognizing slanted and semi-transparent text compared to traditional OCR engines, and can handle the special presentation effects of watermarks. Regular expressions can accurately extract structured field information from unstructured text output by OCR. By sorting by timestamp to create a watermark layer sequence, the workflow of work orders can be reconstructed, providing a structured data foundation for subsequent source tracing analysis.
[0012] In the aforementioned power system work order management method based on visible watermarking, the work order document format is one of PDF, Word, OFD, or image format. For PDF format, layer overlay technology is used; for Word format, XML node injection technology is used; for OFD format, object embedding technology is used; and for image format, pixel-level fusion technology is used to achieve cumulative embedding of the visible watermark. OFD is China's independent national standard for electronic document format, GB / T 33190, widely used in government and central enterprise electronic signature scenarios. The method explicitly supports OFD format object embedding technology, making it suitable for power system electronic signature work order scenarios and achieving adaptation to domestic standards. For unstructured image scenarios such as on-site photographed work orders and scanned documents, pixel-level overlay and fusion technology is used to alpha-blend the watermark image and the work order image at the pixel level, ensuring that the watermark cannot be easily cropped or removed.
[0013] The aforementioned power system work order management method based on visible watermarking further includes: storing key watermark records on a blockchain for evidence preservation, and establishing a hash chain by calculating the SHA-256 hash value for each watermark record; recording all operation audit logs of the watermark record library; and implementing a dual-person review access control policy for write operations to the watermark record library. Specifically, blockchain evidence preservation utilizes the immutability of distributed ledgers to store key watermark records (such as content, hash, and timestamp) on the chain, providing verifiable evidence to third parties; the hash chain cryptographically links each record, ensuring that modification of any record will break all subsequent hash values, allowing for rapid location of tampering; audit logs record all operational behaviors, ensuring traceability; and dual-person review access control prevents single points of violation from the management process perspective.
[0014] A power system work order management system based on visible watermarking includes: The watermark generation module is used to collect operation-related information during work order creation and circulation, and to perform hash calculations on the core content of the work order to generate a content hash value. This generates a visible watermark containing operation-related information and the content hash value. The visible watermark has configurable font, font size, color, transparency, and rotation angle styles, allowing the system to flexibly adjust the watermark presentation effect according to different work order types or different companies' visual specifications, ensuring that the watermark is eye-catching without affecting the readability of the main text.
[0015] The watermark embedding module is used to embed the generated visible watermark into the work order document in a cumulative embedding method that creates a new layer. It can overlay a new watermark while retaining the existing watermark, and supports multiple strategies such as center embedding, corner embedding, full-page tiling embedding, and alternating position embedding. Center embedding is suitable for certificate-type work orders, corner embedding is suitable for regular workflow work orders, full-page tiling embedding is suitable for high-security anti-leakage work orders, and alternating position embedding is suitable for multi-stage workflow work orders. Multiple strategies can be flexibly selected or combined according to business scenarios.
[0016] The watermark verification module is used to respond to verification requests, extract multi-layer watermark information from the work order document, perform multi-field weighted comparison with the work order flow records stored in the system, and output a hierarchical verification conclusion on the authenticity and integrity of the work order. The source tracing module is used to reconstruct the operation flow and dissemination path of work orders based on the extracted multi-layer watermark information. When information leakage occurs, it can locate the source of the leakage, determine at which stage and by which operator the document was obtained and disseminated, and generate a source tracing analysis report to provide direct evidence for security audits and accountability.
[0017] The watermark record library is used to store records of watermark generation and embedding, and uses at least one anti-tampering mechanism among blockchain notarization, hash chain verification, audit logs, and dual-person review access control to protect the records.
[0018] The watermark generation module is responsible for content production, the watermark embedding module is responsible for physical attachment, the watermark verification module is responsible for authenticity identification, the source tracing module is responsible for responsibility positioning, and the watermark record library is responsible for evidence preservation. These five modules form a complete business loop from watermark creation to verification and then to accountability.
[0019] In the aforementioned power system work order management system based on visible watermarking, the watermark verification module is specifically used to: separate and locate the watermark area from the work order document, extract the watermark text through OCR recognition, and parse out the work order number, operator ID, operation time, operation type, department information, and content verification code fields; compare each field with the system record, and calculate a comprehensive score based on preset weights; when the content verification code does not match the recalculated work order content hash value, it is directly judged as a serious anomaly and a locking operation is triggered. This reflects the design principle of prioritizing security—adopting a zero-tolerance strategy on core indicators involving content integrity, automatically executing protective operations without manual judgment or delay.
[0020] In the aforementioned power system work order management system based on visible watermarking, the watermark embedding module employs different technical approaches for different document formats: PDF and OFD are both layout-based documents, natively supporting layer / object overlay, which can be achieved by creating new transparent layers or page objects for cumulative overlay; Word is a streaming document, and its OOXML format allows the insertion of independent watermark shape nodes at the XML structure level; images are pixel matrices, and overlay can only be achieved through pixel-level alpha fusion. The watermark embedding module encapsulates these technical differences internally, providing a unified cumulative embedding interface for upper-layer business processes. Retaining all watermark layers unchanged within the document means that the document physically corresponds to a complete timeline. Even if the document is transferred multiple times, copied, or screenshotted, all operator markings will not be lost. In the event of a dispute, this timeline record can serve as technical evidence for tracing the operational behavior at each stage, greatly enhancing the security and auditability of work order management.
[0021] Compared with existing technologies, the advantages of this invention are as follows: the hash value of the core content of the work order is embedded in plaintext with a watermark, forming a cryptographic binding with the watermark to prevent content tampering and watermark migration attacks; the watermark record library adopts a multi-layered progressive protection system of blockchain notarization, hash chain verification, audit logs, and dual-person review to prevent records from being tampered with; each transfer retains the old watermark unchanged while superimposing a new watermark, forming a physically irreversible operation log; multiple watermarks are arranged in chronological order in different areas of the document, forming a visual operation timeline and lowering the traceability threshold; the source tracing module can restore the complete transfer and propagation path, accurately locating the source of leakage when information is leaked. The system assigns responsibility to specific individuals, embedding their identity and time into a watermark for each operation, enabling precise division of responsibilities and lifelong traceability. The watermark serves dual functions: providing basic information readable to the naked eye and acting as a fingerprint for system verification, eliminating the need for specialized equipment for on-site verification. It supports multiple formats, including PDF, Word, OFD, and images, adapting to the internal structure differences of each format to cover various application scenarios. A multi-field weighted scoring method is used to output tiered verification conclusions, considering error tolerance requirements such as OCR errors and time offsets to avoid misjudgments. Automatic tiered responses are implemented based on the severity of anomalies, with severe anomalies automatically locked and general anomalies requiring manual verification, balancing security and efficiency. Attached Figure Description
[0022] Figure 1 This is a diagram of the overall system architecture of the present invention; Figure 2 This is a flowchart of the watermark generation and embedding process of the present invention; Figure 3 This is a flowchart of the watermark verification and traceability process of the present invention. Detailed Implementation
[0023] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. Example 1
[0024] like Figure 1-3 As shown, this embodiment uses the complete workflow of a regular maintenance work order for the No. 3 steam turbine of a power plant as an example to illustrate the specific implementation of the present invention.
[0025] The maintenance supervisor, Zhang San, employee number OP2024001, belongs to the maintenance team of the power generation department. He logged into the work order management system, created a new maintenance work order, and filled in the core information of the work order as follows: work order number WO20240601001, work order type is regular maintenance, maintenance equipment is #3 steam turbine, maintenance items include blade crack inspection and replacement, bearing clearance adjustment, safety measures include shutdown and power outage, hanging warning signs, and obtaining a hot work permit, and the planned maintenance time is from 8:00 to 18:00 on June 1, 2024.
[0026] After Zhang San submits a work order creation request, the system watermark generation module automatically executes the following processing flow. First, it collects information, obtaining raw data such as the work order number, operator's employee number and name, operation time (June 1, 2024, 8:30:15 AM), operation type, and department information. Then, it performs content hash calculation, extracting the core fields of the work order—work order number WO20240601001, equipment information "#3 steam turbine," maintenance items "blade crack inspection and replacement, bearing clearance adjustment," and safety measures "shutdown and power outage, hanging warning signs, obtaining a hot work permit." These fields are concatenated into a string, and the hash value is calculated using the SHA-256 algorithm. The first 16 characters are then used as a content verification code embedded in the watermark. In this embodiment, the calculated verification code is assumed to be "a3f2c8e1b9d4f607". Finally, watermark text is generated according to the preset template. The watermark content is: "
Routine Maintenance
[0027] After the watermark is generated, the system's watermark embedding module detects that the work order document is in PDF format and performs the initial embedding using layer overlay technology. Specifically, the original PDF work order document is loaded, a new transparent layer is created and named with an identifier containing the operation timestamp, the layer blending mode is set to "Multiply" and the opacity is 15%, the watermark image is rendered onto this layer, and a center-aligned embedding strategy is used. After completion, the layer tree of the PDF document is updated, and the work order document with the watermark is output. Simultaneously, the watermark generation record is written to the watermark record database. The system calculates its SHA-256 hash value and adds it to the hash chain. Key records are simultaneously stored on the blockchain for evidence preservation. The write operation can only be executed after dual review and authorization.
[0028] After the maintenance work was completed, Zhang San submitted the work order for review. Reviewer Li Si (employee ID OP2024002, belonging to the Power Generation Department Technical Group) logged into the system at 18:30:45 that day to review and confirm the work order. The system then triggered the watermark generation module again, collecting the current operation information and recalculating the hash value of the work order's core content. The first 16 digits were extracted to generate a new verification code, let's say "b7e2d9f0c1a5b832". The generated watermark text includes the operation type "Review Confirmation", reviewer information, review time, and the new verification code.
[0029] The system's watermark embedding module employs a cumulative embedding strategy. First, it loads an existing watermarked PDF work order document, identifying the name of the existing watermark layer and its location (center of the page). To avoid overlap between old and new watermarks, the system uses an alternating positioning strategy, adjusting the new watermark embedding position to the upper right corner of the page. A new transparent layer is created, rotated at -30° to enhance visual differentiation, and kept at 15% opacity. The approval watermark image is then rendered on this new layer. After completion, the original watermark layers are retained, and an updated document containing both watermarks is output. The new watermark record is written to the watermark record database and linked with existing records using hash values to form a hash chain.
[0030] During the on-site execution phase, the supervisor, Wang Wu (employee ID OP2024003, belonging to the Power Generation Department Operations Team), confirmed the completion of the maintenance and signed off via mobile terminal at 20:15:30 that day. The system then triggered the generation and execution confirmation watermark again. The watermark embedding module continued to use a cumulative embedding strategy, this time employing a partitioned management strategy—pre-dividing the page into four areas: upper left, upper right, lower left, and lower right. Upon identification, the existing watermark occupied the central and upper right areas, so the system automatically embedded the third watermark in the lower left corner of the page, setting the transparency to 18% and the rotation angle to 15°. The document now contains three layers of watermarks, distributed chronologically in different areas of the document. Reviewers can visually understand the complete workflow of the work order from creation and review to execution, forming a visualized operation timeline.
[0031] Before work orders are archived, management personnel verify them. During the initial on-site inspection, management personnel visually inspect the three visible watermarks on the document, quickly reading basic information such as the operation type, operator, and operation time for each watermark to confirm the integrity of the workflow. Subsequently, an automatic verification request is submitted through the system, and the system's watermark verification module processes it according to the following steps: First, the PDF work order document is converted into a high-resolution image with a DPI of 300, and grayscale and adaptive threshold binarization are performed. Then, using the layer separation method, the watermark and the main text are separated based on their differences in color and transparency. Color threshold filtering and morphological operations (dilation, erosion) are used to remove text interference, and connected component analysis is used to locate the three watermark text block regions. Finally, a deep learning CRNN+CTC model is used to perform OCR text recognition on each watermark region, extract the watermark text, and evaluate the confidence level of the recognition results.
[0032] After watermark extraction, the system uses regular expressions to parse each field from the watermark text and establishes a watermark layer sequence sorted by timestamp. Then, it queries the watermark record database to retrieve the system's stored transfer records and performs a weighted comparison field by field. The specific comparison rules are as follows: the work order number, as a strong identifier field, uses exact matching, requiring complete consistency, and is assigned a weight of 30%; the operator's ID, also a strong identifier field, uses exact matching, requiring complete consistency, and is assigned a weight of 25%; the operation time uses range matching, allowing a deviation within 5 seconds, and is assigned a weight of 15%; the operation type uses fuzzy matching, requiring only inclusion, and is assigned a weight of 10%; department information uses fuzzy matching, requiring only keyword matching, and is assigned a weight of 10%; and the content verification code, as the core field for integrity verification, uses exact matching, requiring complete consistency, and is assigned a weight of 10%. The system compares each item according to the above rules and accumulates the scores, and finally gives a comprehensive score and classification conclusion: a score of 90 or above is judged as "completely credible", a score of 70 to 89 is judged as "basically credible, manual review is recommended", a score of 50 to 69 is judged as "questionable, possible tampering, further verification is required", and a score below 50 is judged as "highly suspected of being forged or tampered with".
[0033] Upon comparison, all fields of the three-layer watermark matched the system records, with each layer receiving a comprehensive score of 100. The system also performed anomaly detection: the time series showed monotonically increasing trends, with no time anomalies; the number of watermark layers (3) matched the system's circulation count, with no layer anomalies; the watermark style and position conformed to the configuration specifications, with no visual anomalies. The overall anomaly level was determined to be no anomaly, and the verification conclusion was "Pass (Completely Trustworthy)".
[0034] After verification, the system outputs a standardized verification report. The report's basic information shows the work order number as WO20240601001, the verification time as 9:00 AM on June 2, 2024, and the verification method as automatic verification. The verification results section shows a comprehensive score of 100 points, a verification conclusion of "passed" (fully reliable), and an anomaly level of "no anomaly." Field comparison details show that the work order number, operator ID, operation time, operation type, department information, and content verification code all match. The watermark layer information lists three layers of watermarks as follows: First layer: Creation watermark, operator Zhang San, time June 1, 2024, 8:30:15 AM; Second layer: Review watermark, operator Li Si, time June 1, 2024, 6:30:45 PM; Third layer: Execution confirmation watermark, operator Wang Wu, time June 1, 2024, 8:15:30 PM. The recommended action is: This work order's watermark verification passed and it can be archived normally.
[0035] Suppose that after a work order is archived, information is leaked, illegally photographed, and disseminated via instant messaging. Security auditors can upload the leaked work order photo to the system's source tracing module. The system performs watermark extraction, identifying three layers of watermark information from the photo, reconstructing the workflow as: creation (Zhang San) → review (Li Si) → execution confirmation (Wang Wu). Combining the audit logs in the watermark record library and the blockchain evidence records, the system determines that the watermark information in the leaked photo matches the watermark generated during Wang Wu's execution confirmation process. Based on this, the source of the leak is located as the photo taken after Wang Wu's execution confirmation, automatically generating a source tracing analysis report, providing a complete chain of evidence for security audits and accountability. Example 2
[0036] This embodiment illustrates the system's ability to adapt to various work order document formats.
[0037] When the work order document format is PDF, the watermark embedding module uses layer overlay technology. Specifically, a new transparent layer is created within the PDF document structure (utilizing the Optional Content Groups mechanism natively supported by PDF). Watermarks generated in each operation are placed in separate layers, while the original layers remain unchanged, thus achieving cumulative overlay. This method is suitable for electronic work orders and electronic signature work orders.
[0038] When the work order document format is Word, the watermark embedding module uses XML node injection technology. The specific implementation is as follows: First, the .docx file (essentially a ZIP archive) is unzipped. The document.xml file is parsed to locate the document body. A w:p-shaped paragraph node is created at the beginning of the document body, and the watermark text content and style parameters (font, color, transparency, rotation angle) are set. After updating the Content_Types.xml file, the document is repackaged. During the workflow, newly added watermark shape objects are directly inserted into the XML structure, while existing watermark objects remain unchanged. This method is suitable for work order scenarios involving office documents.
[0039] When the work order document format is OFD, the watermark embedding module uses object embedding technology. Specifically, a new watermark object node is embedded in the page description XML of the OFD document. Attributes such as the object's position, transparency, and rotation angle are set. Each watermark object is independently stored in the page description, achieving cumulative overlay. This method conforms to the national standard GB / T33190 and is suitable for electronic signature work order scenarios in power systems.
[0040] When the work order is an image of a paper emergency work order taken on-site using an explosion-proof mobile phone, the watermark embedding module employs pixel-level fusion technology. Specifically, the new watermark image and the work order image are alpha-blended and superimposed at the pixel level. The new and old watermarks are integrated into the image pixels and cannot be removed by simple cropping. This method is suitable for on-site photographed work orders and scanned documents. Example 3
[0041] During a security audit, auditors questioned a particular record in the watermark database. The system demonstrated the record's integrity through multiple layers of anti-tampering mechanisms.
[0042] First, a hash chain verification is performed: the system recalculates the SHA-256 hash value of this record and compares it one by one with the preceding hash values stored in subsequent records. The result shows that the hash chain is complete and unbroken, proving that the record has not been modified. Second, blockchain evidence verification is performed: the system queries the evidence information of this watermarked record stored on the blockchain, including the record content hash and timestamp, and finds that the on-chain evidence is completely consistent with the current record. Finally, audit log traceability is performed: the system queries all operation logs of this record to verify the operator, operation time, operation type, and data comparison before and after. The logs show only one authorized system service write operation, and no manual modification records.
[0043] Based on the above three layers of verification, it is confirmed that the watermark record is authentic, complete, and has not been tampered with. Example 4
[0044] During the workflow of a work order, the inspection item field was modified without authorization; the original "blade crack inspection and replacement" was changed to "routine inspection." When the verification personnel initiated a verification request for this work order, the system recalculated the SHA-256 hash value of the current core content of the work order, extracted the first 16 bits, and compared it with the verification code embedded in the third-layer watermark. A mismatch was found. The system immediately determined that a Level 1 serious anomaly had been triggered, locked the work order, prohibited any subsequent operations, and sent a warning notification to the security administrator.
[0045] After receiving the alert, the security administrator intervened and investigated, comparing the verification codes of each watermark layer using the source tracing module. The investigation revealed that the verification codes of the first and second watermark layers matched the hash values of the work order content at the corresponding time, while the verification code of the third watermark layer did not match the current work order content. Based on this, the tampering was determined to have occurred after the second-layer watermark was embedded (approval) and before the third-layer watermark was embedded (confirmation), precisely pinpointing the unauthorized modification after approval.
[0046] The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which this invention pertains may make various modifications or additions to the described specific embodiments or use similar methods to substitute them, without departing from the spirit of the invention or exceeding the scope defined by the appended claims.
[0047] Although this paper frequently uses terms such as watermark generation module, watermark embedding module, watermark verification module, traceability module, and watermark record library, the possibility of using other terms is not excluded. These terms are used merely for the convenience of describing and explaining the essence of this invention; interpreting them as any additional limitation would contradict the spirit of this invention.
Claims
1. A method for power system work order management based on visible watermark marking, characterized in that, include: S1: In response to the creation of a work order, collect basic work order information and operator information, and perform hash calculation on the core content of the work order to generate a content hash value; S2: Generate a visible watermark containing the basic information of the work order, operator information, operation time and the content hash value, and embed the visible watermark into the work order document with adjustable transparency; S3: In response to the workflow operation of the work order, obtain the current operator information and operation time, generate a new visible watermark, and embed it into the work order document in a cumulative embedding method of creating a new layer overlay, while retaining the existing watermark layer; S4: In response to the work order verification request, extract the multi-layer watermark information from the work order document, perform a multi-field weighted comparison between the extracted information and the work order flow record stored in the system, and output a graded verification conclusion on the authenticity and integrity of the work order based on the comparison result.
2. The method of claim 1, wherein the visible watermark is a QR code. The core content of the work order includes the work order number, equipment information, maintenance items, and safety measures fields. The hash value of the content is calculated using the SHA-256 algorithm, and the first 16 bits are extracted as a verification code and embedded in the visible watermark. During verification, if the verification code extracted from the watermark does not match the hash value recalculated based on the current core content of the work order, it is directly judged as a serious anomaly, and the work order is locked or a security warning is triggered.
3. The method of claim 1, wherein the method further comprises: The cumulative embedding method is as follows: according to the time sequence of the work order flow, an alternating position strategy or a partition management strategy is adopted to superimpose the watermarks generated by each operation onto different areas of the work order document to form a visual operation timeline; each time the watermark is embedded, a new transparent layer is created in the PDF document to place the new watermark, or a new watermark shape object is inserted into the XML structure of the Word document, while the original watermark layer or object remains unchanged.
4. The method of claim 1, wherein the method further comprises: The multi-field weighted comparison includes: matching the work order number, operator ID, operation time, operation type, department information, and content verification code field by field, and assigning preset weights to each field to calculate a comprehensive score; when the score is lower than a preset threshold, the corresponding abnormality level is output, including Level 1 serious abnormality, Level 2 warning abnormality, and Level 3 prompt abnormality, and corresponding handling measures are given.
5. The method of claim 1, wherein the method further comprises: The step of extracting multi-layer watermark information from the work order document includes: converting the work order document into a high-resolution image, locating the watermark region through layer separation and connected component analysis; using a deep learning OCR model to perform text recognition on the located watermark region and extract the watermark text; parsing the operation type, work order number, operator, time, department, and verification code fields from the watermark text using regular expressions, and establishing a watermark layer sequence sorted by timestamp.
6. The method of claim 1 to 5, wherein, The work order document is in one of the following formats: PDF, Word, OFD, or image. For PDF format, layer overlay technology is used; for Word format, XML node injection technology is used; for OFD format, object embedding technology is used; and for image format, pixel-level fusion technology is used to achieve the cumulative embedding of the visible watermark.
7. The method of claim 1, wherein, Also includes: Key watermark records are stored on the blockchain for evidence preservation, and a hash chain is established by calculating the SHA-256 hash value for each watermark record. Record all operations on the watermark database in an audit log; implement a dual-person review access control policy for write operations to the watermark database.
8. A power system work order management system based on visible watermarking, characterized by, include: The watermark generation module is used to collect operation-related information during work order creation and circulation, perform hash calculation on the core content of the work order to generate a content hash value, and generate a visible watermark containing the operation-related information and the content hash value. The visible watermark has configurable font, font size, color, transparency and rotation angle style. The watermark embedding module is used to embed the generated visible watermark into the work order document in a cumulative embedding method that creates a new layer overlay. It overlays a new watermark while retaining the existing watermark and supports multiple strategies such as center embedding, corner mark embedding, full-page tiling embedding, and alternating position embedding. The watermark verification module is used to respond to verification requests, extract multi-layer watermark information from the work order document, perform multi-field weighted comparison with the work order flow records stored in the system, and output a hierarchical verification conclusion on the authenticity and integrity of the work order. The source tracing module is used to reconstruct the operation flow path and propagation path of the work order based on the extracted multi-layer watermark information, locate the source of the information leakage when it occurs, and generate a source tracing analysis report. A watermark record library is used to store records of watermark generation and embedding, and the records are protected by at least one anti-tampering mechanism among blockchain notarization, hash chain verification, audit logs, and dual-person review access control.
9. The power system work order management system based on visible watermark marking according to claim 8, characterized in that, The watermark verification module is specifically used to: separate and locate the watermark area from the work order document, extract the watermark text through OCR recognition, and parse out the work order number, operator number, operation time, operation type, department information, and content verification code fields; The system compares each field with the system records and calculates a comprehensive score based on preset weights. When the content verification code does not match the recalculated work order content hash value, it is directly judged as a serious anomaly and a locking operation is triggered.
10. The power system work order management system based on visible watermark marking according to claim 8, characterized in that, The watermark embedding module employs different embedding techniques for different document formats: for PDF format, it achieves cumulative overlay by creating a new transparent layer; for Word format, it achieves cumulative overlay by inserting a watermark shape object in document.xml; for OFD format, it achieves cumulative overlay by embedding a watermark object in the page description; and for image format, it achieves cumulative overlay by pixel-level overlay and fusion. Each embedding retains the original watermark, forming a timeline record of multiple watermarks.
