An intelligent interception method for unauthorized modification of a power engineering procurement equipment list

By introducing process status identifiers and decision tree classifiers into power engineering procurement, the problem of unauthorized modification of equipment list data in a multi-source heterogeneous environment was solved, enabling intelligent interception and data recovery, and ensuring the compliance and accuracy of the procurement process.

CN123179463APending Publication Date: 2026-11-27GANSU DIANTONG POWER ENG DESIGN CONSULTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611655869.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies in power engineering procurement lack dynamic permission constraints and unauthorized modification identification mechanisms for equipment list data in multi-source heterogeneous environments. This makes it difficult to detect and intercept unauthorized modifications in a timely manner, resulting in non-compliant equipment lists and procurement accidents.

Method used

Dynamic permission constraints are established by identifying process status, the features of the operating subject and timestamp are extracted, abnormal behavior features are constructed, and a decision tree classifier is used for intelligent interception to automatically restore the data to its original state.

Benefits of technology

It enables precise identification and blocking of unauthorized modifications, ensuring the compliance, accuracy, and controllability of the equipment list, and avoiding rework and economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179463A_ABST
    Figure CN123179463A_ABST
Patent Text Reader

Abstract

The application discloses an over-authorization modification intelligent interception method for a power engineering procurement equipment list, and comprises the following steps: in response to a modification operation on the equipment list, extracting an operation subject identifier and an operation timestamp to generate a modification feature set; obtaining a link state identifier corresponding to a current business link, which contains a legal subject list and an effective operation time window; performing a first matching between the operation subject identifier and the legal subject list, and performing a second matching between the operation timestamp and the effective operation time window; if any matching fails, generating an illegal modification record; extracting an over-authorization operation frequency and a cross-link submission identifier in the illegal modification record as abnormal behavior features; inputting the abnormal behavior features into a classifier for classification processing to obtain an interception judgment result; and if the judgment result is true, performing an interception operation and restoring the data to the original value. The application realizes intelligent interception of over-authorization modification of the equipment list, and guarantees the compliance and consistency of procurement data updating.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power engineering information management technology, and in particular to an intelligent interception method for unauthorized modifications to a power engineering procurement equipment list. Background Technology

[0002] The EPC (Engineering, Procurement, and Construction) procurement phase in power engineering construction directly impacts the reliable supply of core equipment such as generator sets and transmission lines, serving as a crucial link in ensuring the safe and stable operation of the power grid. Currently, the equipment data involved in power engineering EPC procurement comes from a wide range of sources, distributed across multiple business systems of design institutes, suppliers, and supervisors. The formatting standards, field naming, and update schedules of this data from various parties often differ. When compiling this data, the procuring party must address both technical differences in data structure and misalignments in update timing. More importantly, the equipment list data undergoes multiple business stages throughout its lifecycle, including drafting, review, confirmation, and return, each corresponding to different responsible parties and varying operational permissions.

[0003] However, existing procurement management methods generally lack process tracking and stage status constraints for data modification when dealing with multiple revisions of the procurement list. This leads to a deep-seated technical dilemma: when the system cannot clearly define which business stage a piece of data is currently in, who is responsible for that stage, and what operations are allowed, it becomes difficult to determine whether a modification is legal, and it is also impossible to intercept non-compliant changes before the official version is submitted. Once an unauthorized modification occurs, the subsequent tender documents prepared based on incorrect parameters will not match the actual equipment capabilities, leading to rework or even procurement accidents, causing significant economic losses and project delays. Therefore, how to establish calculable stage status constraints for each piece of equipment list data in a procurement data environment composed of multi-source heterogeneous data, and effectively intercept unauthorized parameter modifications, has become a key technical issue to ensure the compliance and controllability of the dynamic updating process of standardized equipment lists for power engineering EPC procurement. Summary of the Invention

[0004] Therefore, the technical problem to be solved by this invention is to overcome the problem in the prior art that equipment list data in a multi-source heterogeneous environment lacks dynamic permission constraints bound to business processes and intelligent unauthorized behavior identification mechanisms, which makes it impossible for the system to effectively intercept unauthorized modifications before version submission. This invention provides an intelligent interception method for unauthorized modifications to the equipment list of power engineering procurement. It can establish dynamic permission constraints bound to business processes through process status identifiers, construct abnormal behavior characteristics based on the frequency of unauthorized operations and cross-process submission identifiers, and use a classifier to make intelligent interception decisions. When intercepted, the data is automatically restored to its original state, thereby ensuring the compliance and data consistency of the dynamic update process of the equipment list.

[0005] To address the aforementioned technical problems, this invention provides a method for intelligently intercepting unauthorized modifications to a power engineering procurement equipment list, comprising the following steps: In response to the modification operation of the power engineering procurement equipment list, the modification action data is obtained, the operation subject identifier and operation timestamp are extracted from the modification action data, and a modification feature set is generated; Obtain a pre-determined stage status identifier, which includes: a list of legitimate entities corresponding to the current business stage, and a valid operation time window corresponding to the current business stage; perform a first match between the operation entity identifier in the modification feature set and the list of legitimate entities, and perform a second match between the operation timestamp in the modification feature set and the valid operation time window; if either the first match or the second match fails, an illegal modification record is generated. Extract the frequency of unauthorized operations and the cross-stage submission identifier from the illegal modification records to generate abnormal behavior characteristics; the frequency of unauthorized operations is the total number of times the same operating entity triggers illegal modification records within a preset time window, and the cross-stage submission identifier is used to indicate whether the current modification operation crosses at least one business stage; Abnormal behavior features are input into a classifier for classification processing to obtain the interception judgment result; If the interception judgment result is true, then the modification operation will be authorized and intercepted, and the corresponding data in the device list will be restored to the original value before the modification.

[0006] In one embodiment of the present invention, performing the first matching includes: Iterate through each entity identifier in the list of legitimate entities and perform a string consistency comparison with the operation entity identifier one by one; If there is an entry in the list of legitimate entities that matches the operator's identifier, the first match is considered successful; if there is no entry in the list of legitimate entities that matches the operator's identifier, the first match is considered unsuccessful.

[0007] In one embodiment of the present invention, performing the second matching includes: Extract the operation time from the operation timestamp; Extract the start and end times of the valid operation time window; The operation time is compared with the start time and the end time respectively. If the operation time is not earlier than the start time and not later than the end time, the second match is considered successful; if the operation time is earlier than the start time or later than the end time, the second match is considered unsuccessful.

[0008] In one embodiment of the present invention, the effective operating time window is determined by the following steps: Obtain the process type identifier corresponding to the current business process. The process type identifier can include any one of the following: drafting process, review process, or confirmation process. The system matches the preset time window template library based on the stage type identifier. The time window template library stores the default start time and default end time corresponding to each stage type in advance. The time period consisting of the default start time and default end time is determined as the effective operation time window.

[0009] In one embodiment of the present invention, after generating the illegal modification record and before extracting the frequency of unauthorized operations from the illegal modification record, the method further includes: Illegal modification records are written to the audit log storage area. Each illegal modification record in the audit log storage area contains at least the operation subject identifier, operation timestamp, device list data entry identifier to which the modification operation is directed, and matching failure type identifier. The matching failure type identifier is used to distinguish between the first matching failure and the second matching failure. The frequency of unauthorized operations is calculated by counting the total number of illegal modification records written by the same operator within a preset time window from the audit log storage area.

[0010] In one embodiment of the present invention, the cross-stage submission identifier is generated through the following steps: Obtain the identifier of the first stage in the device list where the corresponding data is located before the modification operation is executed, and the identifier of the target stage corresponding to the modification operation; The first stage identifier is compared with the target stage identifier. If the first stage identifier is different from the target stage identifier, a cross-stage submission identifier with a true value is generated; if the first stage identifier is the same as the target stage identifier, a cross-stage submission identifier with a false value is generated.

[0011] In one embodiment of the present invention, the classifier is a decision tree classifier. Abnormal behavior features are input into the classifier for classification processing to obtain an interception determination result, specifically including: The decision tree classifier uses the frequency of unauthorized operations as the decision condition for the root node branch. If the frequency of unauthorized operations is greater than the first threshold, the leaf node of the decision tree classifier will directly output the interception decision result as true. If the frequency of unauthorized operations is less than or equal to the first threshold, the cross-stage submission flag is used as the branch judgment condition for the secondary node. If the cross-stage submission flag is true, the leaf node of the decision tree classifier outputs the interception judgment result as true; if the cross-stage submission flag is false, the leaf node of the decision tree classifier outputs the interception judgment result as false.

[0012] In one embodiment of the present invention, the first threshold is determined by the following steps: Obtain a sample set of historical modification records, which contains multiple modification records marked as either abnormal or normal. Extract the total number of times the same user triggers illegal modification records within a preset time window from each modification record, and construct a frequency sequence. The frequency values ​​corresponding to abnormal modification records and normal modification records in the frequency sequence are used to calculate the binary classification boundary, and the frequency value corresponding to the binary classification boundary is taken as the first threshold.

[0013] In one embodiment of the present invention, if the interception determination result is true, the corresponding data in the device list is restored to its original value before modification, specifically including: Get a historical version snapshot of the corresponding data in the device list before the modification operation was performed. The historical version snapshot contains the complete set of field values ​​of the data before the modification operation was performed. Read the complete set of field values ​​from the historical version snapshot, and replace each field value in the corresponding data in the device list with the corresponding field value in the historical version snapshot, so that the corresponding data in the device list is rolled back to the state before the modification operation was performed.

[0014] In one embodiment of the present invention, after the modification operation performs an authorization interception operation, the method further includes: Generate an interception feedback message, which includes an interception reason identifier and an operation subject identifier from the modified action data; The interception feedback message is pushed to the terminal device corresponding to the operator's identifier. The interception feedback message is used to notify the operator that the current modification operation has been intercepted and to provide the original value of the corresponding data in the device list for reference.

[0015] The technical solution of the present invention has the following advantages compared with the prior art: This invention discloses an intelligent interception method for unauthorized modifications to power engineering procurement equipment lists. By introducing process state constraints, matching the operating entity with the time window, extracting abnormal behavior features, and employing an intelligent classification and interception mechanism, this method effectively solves the technical problem of timely detection and interception of unauthorized modifications to power engineering procurement equipment lists during multiple revisions. This method can accurately identify and block non-compliant modifications and automatically restore the data to its original state, thereby ensuring the compliance, accuracy, and controllability of standardized equipment list data for power engineering EPC procurement, and avoiding rework, procurement accidents, and economic losses caused by unauthorized modifications. Attached Figure Description

[0016] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings, wherein... Figure 1 This is a schematic diagram of the overall process of the intelligent interception method for unauthorized modification of the power engineering procurement equipment list of the present invention; Figure 2 This is a schematic diagram illustrating the process for determining the effective operation time window; Figure 3This is a schematic diagram of the classification and determination process of a decision tree classifier. Detailed Implementation

[0017] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.

[0018] Reference Figure 1 As shown, this invention provides an intelligent interception method for unauthorized modifications to the equipment procurement list for power engineering: taking the modification operation as the triggering point, the method identifies and intercepts unauthorized modifications through four progressively advancing technical steps.

[0019] The first step establishes a dual-matching legality verification mechanism. When the system detects a modification operation on the device list, it first captures the operator's identifier and operation timestamp, forming a feature set describing the modification behavior. Simultaneously, the system calls the stage status identifier corresponding to the current business stage of the data, which pre-configures the list of legitimate operators and the valid operation time window for that stage. Subsequently, the system matches the operator with the list of legitimate operators and the operation timestamp with the valid operation time window. Only if the operator is in the list of legitimate operators and the operation time is within the valid window can the modification pass the initial legality verification; any failure to match triggers the generation of an illegal modification record. The technical essence of this mechanism lies in expanding the static "user-permission" binary relationship in the traditional permission model into a ternary dynamic constraint relationship of "user-stage-time," linking permission determination to the state of the business process.

[0020] In this embodiment, the first matching step is further proposed to include: traversing each entity identifier in the list of legitimate entities and comparing the string consistency with the operation entity identifier one by one; if there is an entry in the list of legitimate entities that matches the operation entity identifier, the first matching is determined to be successful; if there is no entry in the list of legitimate entities that matches the operation entity identifier, the first matching is determined to be unsuccessful.

[0021] Specifically, when the system receives a modification operation for the power engineering procurement equipment list, it extracts the identifier of the entity performing the operation from the modification action data. Simultaneously, the system has pre-acquired a list of legitimate entities corresponding to the current business process. This list contains all entities authorized to operate at this stage, such as user IDs, role IDs, and department IDs. To determine the legitimacy of the operating entity, the system checks each entity identifier in the list of legitimate entities one by one, performing a precise string-level comparison with the identifier of the entity performing the current operation. This comparison can be case-sensitive or case-insensitive, depending on the system's definition and management specifications for entity identifiers. This iterative comparison ensures that no authorized entity in the list of legitimate entities is missed, thereby improving the accuracy of the matching.

[0022] During the string consistency comparison process described above, if an entry with the exact same identifier as the current operating entity is found in the list of legitimate entities, it indicates that the operating entity is a legitimate operator in the current business process. At this point, the system will determine that the first match has passed, allowing the operation to continue with subsequent legitimacy checks. This determination mechanism ensures that only explicitly authorized entities can operate in specific business processes, effectively preventing unauthorized entities from making modifications.

[0023] Conversely, if the system fails to find any entry matching the current operating entity's identifier after traversing the entire list of legitimate entities, it means that the operating entity is not authorized to perform operations in the current business process. In this case, the system will determine that the first match has failed. The failure of the first match is a crucial condition for generating an unauthorized modification record; it directly triggers subsequent abnormal behavior analysis and potential authorization interception operations, thereby effectively preventing unauthorized modification behavior.

[0024] In this embodiment, a specific implementation method for the second matching is further proposed, including: extracting the operation time from the operation timestamp; extracting the start time and end time of the valid operation time window; comparing the operation time with the start time and end time respectively; if the operation time is not earlier than the start time and not later than the end time, the second matching is determined to be successful; if the operation time is earlier than the start time or later than the end time, the second matching is determined to be unsuccessful.

[0025] Specifically, when performing the second match, the precise operation time must first be extracted from the operation timestamp. An operation timestamp is typically a complete string or number containing both date and time, such as "2023-10-26 14:30:00". Extracting the operation time means parsing the specific time point from this complete timestamp, such as "14:30:00", or converting it to a standardized time unit (such as a Unix timestamp or milliseconds) for subsequent numerical comparisons. This step ensures the accuracy of subsequent comparisons and avoids parsing errors caused by differences in timestamp formats.

[0026] Simultaneously, it's necessary to extract the start and end times of the valid operation time window. The valid operation time window defines a period during which operations are allowed, such as from "09:00:00" to "17:00:00". Extracting the start and end times involves resolving the precise boundary time points from the definition of this time window. These times can be preset fixed times or dynamically determined according to business rules. For example, for an operation window on a workday, the start time could be 9:00 AM and the end time could be 5:00 PM.

[0027] Subsequently, the extracted operation time is compared with the start and end times of the valid operation time window. This comparison aims to determine whether the operation time falls within the preset legal time interval. Specifically, the system checks whether the operation time is later than or equal to the start time, and simultaneously checks whether the operation time is earlier than or equal to the end time. This bidirectional comparison ensures that the operation time must strictly lie within the two boundaries (inclusive) of the time window. For example, if the operation time is "14:30:00", the start time is "09:00:00", and the end time is "17:00:00", then "14:30:00" is neither earlier than "09:00:00" nor later than "17:00:00", thus satisfying the condition.

[0028] Based on the comparison results, the system will determine the second match. If the operation time meets both conditions of being "not earlier than the start time" and "not later than the end time," the second match is considered successful, indicating that the operation is legal in terms of time. Conversely, if the operation time is earlier than the start time (e.g., before the start of working hours) or later than the end time (e.g., after the end of working hours), the second match is considered unsuccessful, indicating that the operation involves unauthorized behavior in terms of time.

[0029] Reference Figure 2As shown, this application further proposes a method for determining the effective operation time window, specifically including: when the system responds to a modification operation on the power engineering procurement equipment list, it first obtains the business process information of the current modification operation and extracts the corresponding process type identifier. This process type identifier is used to clarify the current business stage of the operation; for example, it can be any one of "drafting," "review," or "confirmation." By identifying the process type, a basis can be provided for subsequently determining the specific effective operation time window for that process, ensuring that the time window setting matches the actual needs of the current business process. Based on this, the system queries a preset time window template library according to the obtained process type identifier. This time window template library pre-stores the mapping relationship between different process type identifiers and their corresponding default start and end times. For example, for the "drafting" process, the template library may define the default operation time as 9:00 AM to 5:00 PM on weekdays; for the "review" process, it may define a shorter or stricter time period. Through this matching mechanism, the system can automatically obtain a standardized time range suitable for the current business process. Subsequently, the system will match the default start time and default end time from the time window template library, forming a specific time period, and determine this as the valid operation time window for the current business process. This determined time window will be used for the subsequent second matching, that is, to determine whether the operation time in the operation timestamp falls within this allowed time range.

[0030] In some embodiments described above, a method is proposed to acquire modification action data and generate a set of modification features in response to modification operations on the power engineering procurement equipment list. This data is then matched against pre-determined stage status identifiers. If either the first or second match fails, an illegal modification record is generated. However, without systematic storage and detailed recording of these illegal modification records, the subsequent statistics on the frequency of unauthorized operations may be inaccurate, and the specific reasons for failure may be difficult to trace. This could affect the accurate extraction of abnormal behavior features and the reliability of intelligent interception.

[0031] To address this, this application further proposes that, after generating an illegal modification record but before extracting the frequency of unauthorized operations from it, the illegal modification record is written to an audit log storage area. This storage area can be configured as a persistent storage medium, such as a relational database, a non-relational database, or a distributed file system, to ensure the integrity and traceability of the illegal operation records. Each illegal modification record is stored in a structured manner in the audit log storage area. The operation subject identifier uniquely identifies the user or system performing the modification operation, the operation timestamp records the precise time the operation occurred, and the equipment list data entry identifier pointed to by the modification operation clarifies the specific data item in the equipment list that was modified, such as the equipment's unique code or material number. Furthermore, a match failure type identifier is introduced to clearly distinguish the reason for the generation of the illegal modification record, i.e., whether the operation failed due to a first match failure between the operation subject identifier and the list of legitimate subjects, or due to a second match failure between the operation timestamp and the valid operation time window. This identifier can typically be represented using an enumerated value or a predefined code to facilitate subsequent querying and analysis. Based on this, the calculation method for unauthorized operation frequency is explicitly defined as the total number of illegally modified records written by the same operator within a preset time window, calculated from the audit log storage area. This preset time window can be a fixed period or a sliding time window, and its specific settings can be adjusted according to actual business needs and risk assessment strategies. By efficiently querying the audit log storage area, for example by creating an index using the operator's identifier and operation timestamp, the required frequency data can be obtained quickly and accurately.

[0032] The second step accumulates the results of individual legality checks into quantifiable anomalous behavior characteristics. After an unauthorized modification record is generated, the system, using the same operating entity as a dimension, counts the total number of times unauthorized modification records are triggered within a preset time window, as the frequency of unauthorized operations. Simultaneously, it extracts whether the current modification operation crosses at least one business process step, as a cross-process submission identifier. These two characteristics characterize the essence of anomalous behavior from different dimensions: the frequency of unauthorized operations reflects the operating entity's compliance tendency in recent behavioral history, while the cross-process submission identifier reflects whether the current operation bypassed the normal sequence of process flows. These two characteristics complement each other, avoiding potential misjudgments that might arise from relying solely on single verification results.

[0033] In this embodiment, a step for generating a cross-stage submission identifier is further proposed, which specifically includes: obtaining the first stage identifier of the corresponding data in the device list before the modification operation is executed, and the target stage identifier corresponding to the modification operation; comparing the first stage identifier with the target stage identifier; if the first stage identifier and the target stage identifier are inconsistent, a cross-stage submission identifier with a true value is generated; if the first stage identifier and the target stage identifier are consistent, a cross-stage submission identifier with a false value is generated.

[0034] This step aims to determine whether a modification attempt attempts to cross a pre-defined business process stage by analyzing the business process status of the data before and after the modification operation, thereby generating an identifier representing this behavior. This identifier is one of the important dimensions for evaluating abnormal behavior of modification operations. Specifically, before executing any modification operation, the system first obtains the current business process status of the data to be modified in the device list, i.e., the first stage identifier. For example, the data may be in the drafting, review, or confirmation stage. At the same time, the system also obtains the business process stage to which the modification operation expects the data to be pushed, i.e., the target stage identifier. These stage identifiers are usually stored as metadata of the device list data, or can be obtained by querying the business process management system. For example, when a user modifies and submits data in the drafting stage, the first stage identifier is the drafting stage, while the target stage identifier may be the review stage. This step uses logical comparison to determine whether there is a cross-stage submission behavior. If the first stage identifier is the same as the target stage identifier, it indicates that the modification operation has not changed the business process status of the data, or has only been modified within the current stage, and the generated cross-stage submission identifier is false. Conversely, if the two are inconsistent, it means that this modification operation attempted to move data directly from one stage to another non-adjacent stage, or skipped intermediate stages. In this case, the generated cross-stage commit flag will be true. For example, if the first stage is identified as the drafting stage, while the target stage is identified as the confirmation stage, it is determined to be inconsistent, and a cross-stage commit flag with a true value will be generated.

[0035] The third step employs a classifier to intelligently determine the aforementioned abnormal behavior characteristics. The frequency of unauthorized operations and cross-stage submission identifiers are input into a trained classifier. The classifier then outputs an interception decision based on the splitting rules or classification boundaries established from the labeled abnormal and normal behaviors in the training data. The technical significance of this step lies in expanding the legality judgment from the deterministic logic of "whether a single action conforms to the rules of the current stage" to a probabilistic reasoning of "assessing risk based on a comprehensive assessment of behavioral characteristics and historical data," thus enabling the system to make intelligent decisions to detect covert unauthorized behaviors.

[0036] Reference Figure 3 As shown, in this embodiment, the classifier is set as a decision tree classifier, and its processing includes: the decision tree classifier uses the frequency of unauthorized operations as the root node branch judgment condition. If the frequency of unauthorized operations is greater than a first threshold, the leaf node of the decision tree classifier directly outputs the interception judgment result as true; if the frequency of unauthorized operations is less than or equal to the first threshold, the cross-stage submission flag is used as the secondary node branch judgment condition. If the cross-stage submission flag is true, the leaf node of the decision tree classifier outputs the interception judgment result as true; if the cross-stage submission flag is false, the leaf node of the decision tree classifier outputs the interception judgment result as false.

[0037] A decision tree classifier is essentially a rule-based tree model used to classify input data. In this implementation, it determines whether a modification operation should be blocked based on abnormal behavior characteristics (i.e., the frequency of unauthorized operations and cross-stage submission identifiers). The decision tree can be constructed by pre-setting explicit judgment logic or by learning through training on historical data.

[0038] The decision tree classifier first uses the frequency of unauthorized operations as the criterion for branching the root node. This means that the system takes the total number of times the operator triggers illegal record modifications within a preset time window as the primary criterion for judgment. Using the frequency of unauthorized operations as the root node reflects the importance attached to the risk of the operator's historical behavior, because frequent illegal operations often indicate a higher risk of unauthorized operations.

[0039] If the frequency of unauthorized operations exceeds a preset first threshold, the leaf nodes of the decision tree classifier will directly output an interception judgment result of "true". This means that once the unauthorized behavior of the operating entity reaches or exceeds the set high-risk threshold, the system will immediately determine that the modification operation is an unauthorized behavior and needs to be intercepted, without the need for other condition judgments. The determination of the first threshold can be based on historical data analysis, for example, by statistically analyzing the frequency values ​​of abnormal modification records in the historical modification record sample set and calculating the binary classification boundary, to ensure that it can effectively distinguish between normal and abnormal behavior. Specifically, the historical modification record sample set can be constructed by using audit log data accumulated during the long-term operation of the system. These audit logs record in detail every modification operation to the power engineering procurement equipment list, including the operating entity identifier, operation timestamp, modification content, and other information. Through manual expert review, business rule verification, or combined with historical event analysis, these modification records can be marked to clarify which are normal business operations and which are abnormal or unauthorized modification behaviors. For example, modification records confirmed as maliciously tampered or violating operational procedures can be marked as "abnormal"; while modifications that comply with business processes and are completed by legitimate operators within the specified time are marked as "normal". When constructing the frequency sequence, the system iterates through every record in the historical modification record sample set. For each record, it first identifies its corresponding operator identifier, then counts how many illegal modification records that operator identifier has triggered cumulatively within a preset time window (e.g., the past 24 hours, 7 days, or 30 days). Here, "illegal modification records" refer to modification attempts judged as non-compliant by the system due to an invalid operator identifier or an operation timestamp outside the valid operation time window. By performing this statistical analysis on all sample records, a series of frequency values ​​can be obtained, which together constitute the frequency sequence. For example, if an operator identifier triggers 5 illegal modifications within a preset time window, its corresponding frequency value is 5. Subsequently, to determine the first threshold, a binary classification boundary calculation needs to be performed on the frequency sequence. This calculation aims to find an optimal frequency value that effectively distinguishes the frequency values ​​corresponding to abnormal modification records from those corresponding to normal modification records. Commonly used methods for calculating the binary classification boundary include, but are not limited to: statistical analysis methods, such as determining an empirical threshold based on the mean, variance, or percentiles; or using machine learning algorithms, such as Support Vector Machines (SVM), logistic regression, and decision trees, to learn the boundary between abnormal and normal behavior by training the model. For example, a classification model can be built, using frequency as the input feature and "abnormal" or "normal" as the output label for training. Then, the boundary point that maximizes the classification accuracy or F1 score can be extracted from the model as the first threshold. This threshold represents a critical point; when the frequency of unauthorized operations by the entity exceeds this value, the probability of its behavior being judged as abnormal increases significantly.

[0040] If the frequency of unauthorized operations is less than or equal to the first threshold, meaning the operator's historical unauthorized behavior has not reached the level of direct interception, the decision tree classifier will further use the cross-stage submission identifier as a secondary node branch determination condition. At this point, the system will check whether the current modification operation involves crossing at least one business stage. Introducing the cross-stage submission identifier as an auxiliary judgment criterion aims to conduct a more detailed risk assessment. Even if the operator's historical unauthorized behavior is infrequent, if the current operation involves cross-stage submission, it may still constitute an unauthorized risk.

[0041] If the cross-stage submission flag is true, the leaf nodes of the decision tree classifier will output an interception judgment result of true. This clearly indicates that even if unauthorized operations are infrequent, if the modification operation involves submissions that cross business stages, such as submitting directly from the drafting stage to the confirmation stage and skipping the review stage, it should be considered a high-risk behavior and intercepted. This helps prevent illegal modifications made by "skipping" the normal approval process and ensures the rigor of business processes.

[0042] If the cross-stage submission flag is false, the leaf nodes of the decision tree classifier will output an interception judgment result of false. This means that when unauthorized operations are infrequent and no cross-stage submissions occur, the system determines the operation as a normal operation and does not intercept it. This ensures the smooth operation of normal business processes and avoids false interception of compliant operations.

[0043] The fourth step involves executing corresponding operations based on the classifier's judgment result. If the interception judgment result is true, the system not only rejects the modification operation but also automatically restores the corresponding data in the device list to its original value before the modification. This restoration operation ensures that even if the interception judgment is made after the modification operation has been partially written, the system can still guarantee the integrity and consistency of the data and will not introduce new data anomalies due to the interception operation itself.

[0044] This embodiment further proposes a specific implementation method for restoring the corresponding data in the device list to its original value before modification when the interception judgment result is true. This method includes obtaining a historical version snapshot of the corresponding data in the device list before the modification operation was executed. The historical version snapshot contains the complete set of field values ​​of the data before the modification operation was executed. A historical version snapshot refers to a complete copy of the data at a specific point in time, automatically or manually saved by the system before any modification operation is performed on the device list data. This snapshot records all fields of the data and their corresponding values, ensuring the integrity and traceability of the data before modification. In practical applications, this snapshot can be created and stored through database transaction logs, version control systems, or by triggering a "pre-modification trigger" before each data modification. The snapshot can be stored in a separate version history table or stored in a specific field as a serialized object (such as JSON or XML). Crucially, the snapshot must contain the complete set of field values, that is, all attributes of the data record and their state before modification.

[0045] Building upon this, the application further includes reading the complete set of field values ​​from the historical version snapshot, replacing each field value in the corresponding data in the device inventory with the corresponding field value from the historical version snapshot, thus reverting the corresponding data in the device inventory to its state before the modification operation. This step describes the specific process of data recovery. When the system needs to roll back data, it accesses the previously saved historical version snapshot. Then, the system iterates through each field of the modified data record in the current device inventory and overwrites the current value with the original value of the corresponding field in the snapshot. This can be implemented programmatically; for example, after detecting illegal modification and deciding to intercept it, the system calls a data rollback service. This service first retrieves the corresponding snapshot data from the historical version snapshot storage based on the unique identifier of the modified data. Then, the service constructs an update statement, setting the values ​​of each field in the current data record to the values ​​in the snapshot. This process ensures that the data can be accurately restored to its state before the modification operation occurred, thereby reversing all unauthorized changes.

[0046] In some of the above implementations, the system can intelligently intercept unauthorized modifications to the power engineering procurement equipment list and automatically restore the data to its original value before modification. However, if the system only performs interception and restoration operations without providing clear feedback to the operator, the operator may not understand why their operation was intercepted, nor can they promptly understand that the data has been restored to its original state. This may lead the operator to repeatedly attempt modifications or become confused about the system's behavior, thereby affecting user experience and system operational efficiency.

[0047] In response, this application further proposes that after the authorization interception operation is executed, an interception feedback message is generated. Specifically, generating an interception feedback message is a notification message proactively generated by the system after successfully intercepting an unauthorized modification operation. Its core function is to provide the subject initiating the modification operation with necessary information about the interception event, to eliminate their confusion and guide subsequent actions. This message can be a structured data packet, such as a JSON object or an XML document, containing at least two key fields: an interception reason identifier and an operation subject identifier from the modification action data. The interception reason identifier is used to indicate the specific reason for this interception, for example, it can be a predefined code or text description such as "unauthorized operation subject," "operation time window mismatch," or "cross-stage submission anomaly." These identifiers can be associated with the system's internal matching failure type identifiers (such as first matching failure, second matching failure) or abnormal behavior characteristics (such as excessive frequency of unauthorized operations, true cross-stage submission), thereby providing specific and easy-to-understand interception reasons. The operation subject identifier in the modification action data is the operator identity information extracted from the original modification request, ensuring that the feedback message can be accurately sent to the user who initiated the operation. The message generation module can dynamically assemble the interception reason identifier based on the interception judgment result output by the classifier and the specific abnormal behavior characteristics that caused the interception.

[0048] Subsequently, the interception feedback message is pushed to the terminal device corresponding to the operator's identifier, ensuring that the information reaches the target user in a timely and accurate manner. The purpose of the message push is to inform the user of the operation result and provide necessary data context. The push mechanism can be diversified, such as sending a message to the operator's IM account through an instant messaging (IM) system, popping up a notification on the user's logged-in system interface or recording it in the system message center, or sending a notification via email / SMS. The system needs to be able to query the operator's currently logged-in or frequently used terminal device information based on the operator's identifier in order to deliver the message accurately. The interception feedback message should not only indicate "the operation has been intercepted" but should also include "the original value of the corresponding data in the device list". This can be achieved by reading from a historical version snapshot and attaching the key field values ​​of the recovered data when generating the message, or by providing a link or entry point to guide the user to view the historical version or the current status of the recovered data. The message push should have a certain degree of reliability, such as a message sending failure retry mechanism and message delivery status recording, to ensure that the user can receive the key feedback.

[0049] Compared to existing technologies, the technological innovation of this solution is mainly reflected in the following aspects: Firstly, at the problem identification level, traditional permission verification methods are typically based on the binary logic of "whether the current user has the right to modify the current data," failing to consider that the legitimate operating entity and operation time window of the equipment list data are dynamically changing at different stages of the business lifecycle. In other words, the same action of "purchasing personnel modifying equipment parameters" might be a legitimate operation at the "parameters pending confirmation" stage, but an illegitimate operation at the "approved and locked" stage. Existing systems lack the technical means to incorporate "business process status" into the permission determination logic. This solution, by introducing "process status identifiers," upgrades the static permission table into a dynamic constraint bound to the business process, fundamentally changing the dimension of permission determination.

[0050] Secondly, at the feature construction level, this solution does not simply intercept errors upon verification failure, but accumulates individual verification failure records into quantifiable abnormal behavior features. The selection of the features "frequency of unauthorized operations" and "cross-stage submission identifier" has clear technical considerations: the former characterizes the behavioral pattern of the operating entity, while the latter characterizes the behavioral features of the current operation. The combined use of these two features enables the system to distinguish between "occasional compliance errors" and "systematic unauthorized behavior," avoiding false positives or false negatives that may arise from a single threshold determination.

[0051] Secondly, at the technical level, this solution introduces classifiers into the field of permission interception. Traditional permission verification relies on manually set hard rules (such as "only administrators can modify"), which are fixed once set and difficult to adapt to complex business scenarios. In contrast, classifiers can be trained based on historical data and automatically learn the distinguishing boundary between abnormal and normal behaviors, giving the interception decision a data-driven adaptive capability.

[0052] Finally, at the system integrity level, this solution constructs a complete technical closed loop of "legality verification → abnormal feature accumulation → intelligent classification and judgment → automatic data recovery". Unlike the scattered verification modules or logging functions in existing technologies, this solution organically connects each stage: the verification result provides data sources for abnormal features, the features provide input for the classifier, and the classifier's judgment triggers automatic recovery. The data flow and control flow between each stage constitute an inseparable holistic technical solution, rather than a simple superposition of multiple independent functions.

[0053] Based on the above technical solution, this method can achieve the following beneficial effects: Firstly, it achieves dynamic binding between permission constraints and business processes. By designing the "stage status identifier" as a dynamic constraint structure containing a list of legitimate entities and a valid operation time window, the equipment list data automatically adapts to different operation permissions in different business stages. This dynamic constraint requires no manual intervention; the system automatically performs the corresponding permission verification based on the current stage of the data, eliminating blind spots in permission management caused by unclear stage status.

[0054] Secondly, it improves the accuracy and intelligence of unauthorized behavior identification. By accumulating single verification failures into abnormal behavior features and incorporating them into a classifier for comprehensive judgment, the system can make interception decisions based on behavior history and a data-driven classification model, rather than relying on single rule matching or manually set fixed thresholds. This intelligent classification mechanism can effectively identify unauthorized behaviors disguised as normal operations, while reducing the probability of falsely intercepting compliant operations.

[0055] Third, it ensures data consistency during the interception process. When the classifier determines that an attempt to block is made, the system automatically restores the data to its original value before the modification while rejecting the modification. This "interception + restoration" operation prevents data inconsistencies caused by partial writes, eliminating the need for manual data repair by the database administrator and ensuring the integrity and availability of the device list after encountering unauthorized modification attempts.

[0056] Fourth, it provides technical support for compliance traceability in power engineering procurement management. The process of generating unauthorized modification records and extracting abnormal behavior characteristics is essentially a structured record of each unauthorized attempt. These records can be used for subsequent compliance audits and behavioral analysis, enabling procurement management departments to conduct targeted process optimization and personnel training based on the abnormal behavior reports automatically generated by the system, forming a virtuous cycle from technical protection to management improvement.

[0057] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.

Claims

1. A method for intelligently intercepting unauthorized modifications to a power engineering procurement equipment list, characterized in that, Includes the following steps: In response to the modification operation of the power engineering procurement equipment list, the modification action data is obtained, the operation subject identifier and operation timestamp are extracted from the modification action data, and a modification feature set is generated; Obtain a predetermined stage status identifier, which includes: a list of legitimate entities corresponding to the current business stage and a valid operation time window corresponding to the current business stage; perform a first match between the operation entity identifier in the modification feature set and the list of legitimate entities, and perform a second match between the operation timestamp in the modification feature set and the valid operation time window; if either the first match or the second match fails, an illegal modification record is generated. Extract the frequency of unauthorized operations and cross-stage submission identifiers from the illegal modification records to generate abnormal behavior characteristics; The frequency of unauthorized operations is the total number of times that the same operating entity triggers illegal modification records within a preset time window. The cross-stage submission identifier is used to indicate whether the current modification operation crosses at least one business stage. Abnormal behavior features are input into a classifier for classification processing to obtain the interception judgment result; If the interception judgment result is true, then the modification operation will be authorized and intercepted, and the corresponding data in the device list will be restored to the original value before the modification.

2. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: Performing the first match includes: Iterate through each entity identifier in the list of legitimate entities and perform a string consistency comparison with the operation entity identifier one by one; If there is an entry in the list of legitimate entities that matches the operator's identifier, the first match is considered successful; if there is no entry in the list of legitimate entities that matches the operator's identifier, the first match is considered unsuccessful.

3. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: Performing the second match includes: Extract the operation time from the operation timestamp; Extract the start and end times of the valid operation time window; The operation time is compared with the start time and the end time respectively. If the operation time is not earlier than the start time and not later than the end time, the second match is considered successful; if the operation time is earlier than the start time or later than the end time, the second match is considered unsuccessful.

4. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 3, characterized in that: The effective operation time window is determined by the following steps: Obtain the process type identifier corresponding to the current business process. The process type identifier can include any one of the following: drafting process, review process, or confirmation process. The system matches the preset time window template library based on the stage type identifier. The time window template library stores the default start time and default end time corresponding to each stage type in advance. The time period consisting of the default start time and default end time is determined as the effective operation time window.

5. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: After generating the illegal modification record but before extracting the frequency of unauthorized operations from it, the process also includes: Illegal modification records are written to the audit log storage area. Each illegal modification record in the audit log storage area contains at least the operation subject identifier, operation timestamp, device list data entry identifier to which the modification operation is directed, and matching failure type identifier. The matching failure type identifier is used to distinguish between the first matching failure and the second matching failure. The frequency of unauthorized operations is calculated by counting the total number of illegal modification records written by the same operator within a preset time window from the audit log storage area.

6. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: The cross-stage submission identifier is generated through the following steps: Obtain the identifier of the first stage in the device list where the corresponding data is located before the modification operation is executed, and the identifier of the target stage corresponding to the modification operation; Compare the first stage identifier with the target stage identifier. If the first stage identifier and the target stage identifier are inconsistent, generate a cross-stage submission identifier with a true value. If the identifier of the first stage is the same as the identifier of the target stage, a cross-stage submission identifier with a value of false is generated.

7. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: The classifier is a decision tree classifier. Abnormal behavior features are input into the classifier for classification processing to obtain the interception determination result, which specifically includes: The decision tree classifier uses the frequency of unauthorized operations as the decision condition for the root node branch. If the frequency of unauthorized operations is greater than the first threshold, the leaf node of the decision tree classifier will directly output the interception decision result as true. If the frequency of unauthorized operations is less than or equal to the first threshold, the cross-stage submission flag is used as the branch judgment condition for the secondary node. If the cross-stage submission flag is true, the leaf node of the decision tree classifier outputs the interception judgment result as true; if the cross-stage submission flag is false, the leaf node of the decision tree classifier outputs the interception judgment result as false.

8. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 7, characterized in that: The first threshold is determined through the following steps: Obtain a sample set of historical modification records, which contains multiple modification records marked as either abnormal or normal. Extract the total number of times the same user triggers illegal modification records within a preset time window from each modification record, and construct a frequency sequence. The frequency values ​​corresponding to abnormal modification records and normal modification records in the frequency sequence are used to calculate the binary classification boundary, and the frequency value corresponding to the binary classification boundary is taken as the first threshold.

9. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: If the interception determination result is true, the corresponding data in the device list will be restored to its original value before modification, specifically including: Get a historical version snapshot of the corresponding data in the device list before the modification operation was performed. The historical version snapshot contains the complete set of field values ​​of the data before the modification operation was performed. Read the complete set of field values ​​from the historical version snapshot, and replace each field value in the corresponding data in the device list with the corresponding field value in the historical version snapshot, so that the corresponding data in the device list is rolled back to the state before the modification operation was performed.

10. The intelligent interception method for unauthorized modification of the power engineering procurement equipment list according to claim 1, characterized in that: After the modification operation executes the authorization interception operation, it also includes: Generate an interception feedback message, which includes an interception reason identifier and an operation subject identifier from the modified action data; The interception feedback message is pushed to the terminal device corresponding to the operator's identifier. The interception feedback message is used to notify the operator that the current modification operation has been intercepted and to provide the original value of the corresponding data in the device list for reference.