Data processing method and device for electric power audit data and computer equipment
By displaying the filling screen of the power audit project and user permission management, multiple user accounts are allowed to edit data in parallel, solving the problem of low efficiency in power audit data processing and achieving efficient data processing and collaborative work.
Patent Information
- Application Number
- CN202411165607.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-03
AI Technical Summary
The processing efficiency of power audit data is low. When auditors fill in and report data, they have problems such as irregular filling, large tasks and low efficiency, which affects the control of audit projects and rectification work.
Provide a data processing method, by displaying the filling screen of the power audit project, allowing multiple user accounts to edit data from different editing portals at the same time, determine the target user account according to user permissions, realize parallel processing and collaborative editing of data, and push supervision information to Improve efficiency.
It improves the efficiency of power audit data processing, solves the permission conflict problem during multi-user editing, improves the smoothness of collaborative work, and enables complex audit tasks to be completed efficiently with multi-person collaboration.
Smart Images

Figure CN119067602A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data processing technology, and in particular to a data processing method, device and computer equipment for power audit data. Background Art
[0002] With the rapid development of the power industry, power auditing has become an important means of supervision and management in the power system. The audit department of the power industry carries out various audit projects and rectification work on audit findings every year. The audit data of the power industry are all managed offline. Auditors fill out and report forms regularly. There are problems such as non-standard filling, large reporting tasks, and low efficiency, which are not conducive to the control of audit projects and audit rectification work. With the development of data processing technology, auditors can now fill out electronic audit forms and report them online, but this method has a slow data processing efficiency for power audit data. Summary of the invention
[0003] Based on this, it is necessary to provide a data processing method, device, computer equipment, computer-readable storage medium and computer program product for power audit data that can improve the data processing efficiency of power audit data in response to the above technical problems.
[0004] In a first aspect, the present application provides a data processing method for power audit data, comprising:
[0005] Displaying a power audit data reporting screen corresponding to a power audit project; the power audit data reporting screen includes editing entries for a plurality of power audit data in the power audit project; the plurality of power audit data are audit data corresponding to a plurality of project indicator parameters in the power audit project;
[0006] In the case of detecting trigger operations of multiple user accounts for different editing entries, respectively responding to the trigger operations of the multiple user accounts for different editing entries, and performing editing operations on the power audit data corresponding to the different editing entries according to the editing contents matched by each of the trigger operations;
[0007] In response to a trigger operation of any of the user accounts on any of the editing entries, if a trigger operation of another of the user accounts on any of the editing entries is detected, the target user account is determined based on the user permissions of any of the user accounts and the other user account, and in response to the trigger operation of the target user account on any of the editing entries, an editing operation is performed on the power audit data corresponding to any of the editing entries based on the editing content matched by the trigger operation.
[0008] In one embodiment, the method further comprises:
[0009] Determine the time point for pushing the supervision information according to the time difference between the reporting deadline of the power audit project and the current date; the supervision information is used to urge the editing operation of the power audit data of the power audit project;
[0010] According to the time point, the supervision information is pushed to the user account associated with the power audit project.
[0011] In one embodiment, determining the target user account according to the user rights of any one of the user accounts and another of the user accounts includes:
[0012] If the user rights of any one of the user accounts and the other one of the user accounts are the same, determining that any one of the user accounts and the other one of the user accounts are both the target user accounts;
[0013] After determining the target user account, the method further includes:
[0014] Displaying a chat panel in the power audit data filling screen; the chat panel is used to provide a collaborative editing channel for the power audit data for any one of the user accounts and another of the user accounts;
[0015] The chat data input by any one of the user accounts and another of the user accounts are displayed in the chat panel; the chat data is used to indicate the editing content that generates the trigger operation match.
[0016] In one embodiment, determining the target user account according to the user rights of any one of the user accounts and another of the user accounts includes:
[0017] If the user rights of any one of the user accounts and the other one of the user accounts are the same, determining that any one of the user accounts and the other one of the user accounts are both the target user accounts;
[0018] The editing operation on the power audit data corresponding to any of the editing entries according to the editing content matched by the trigger operation includes:
[0019] Determining semantic differences between edited content matched by a triggering operation of any one of the user accounts and edited content matched by a triggering operation of another of the user accounts;
[0020] If the semantic difference indicates that there is a conflict between the edited contents, the conflict information is pushed, and the power audit data corresponding to any of the edited entries is edited according to the latest historical version of the power audit data corresponding to any of the edited entries; the conflict information is used to indicate that each of the edited contents does not meet the merge condition;
[0021] If the semantic difference indicates that there is no conflict between the edit contents, it is determined that the edit contents meet the merging condition, and an editing operation is performed on the power audit data corresponding to any edit entry according to the merged edit contents.
[0022] In one embodiment, before the triggering operations of the multiple user accounts for different editing entries are respectively responded to, the method further includes:
[0023] For a trigger operation of any user account among the multiple user accounts for any of the different editing entries, detecting a user account associated with the latest historical version of the power audit data corresponding to any of the different editing entries;
[0024] If the user authority of any of the user accounts is higher than or equal to the user authority of the user account associated with the latest historical version, the step of responding to the triggering operations of the multiple user accounts for different editing entrances respectively is performed.
[0025] In one embodiment, the method further comprises:
[0026] Determine a chart type that matches the project indicator parameters according to the project indicator parameters corresponding to the plurality of power audit data in the power audit project;
[0027] According to the chart type, a data view corresponding to the multiple power audit data is displayed.
[0028] In a second aspect, the present application also provides a data processing device for power audit data, comprising:
[0029] A display module is used to display a power audit data reporting screen corresponding to a power audit project; the power audit data reporting screen includes editing entries for multiple power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project;
[0030] A response module, configured to, when trigger operations of multiple user accounts for different editing entries are detected, respectively respond to the trigger operations of the multiple user accounts for different editing entries, and perform editing operations on the power audit data corresponding to the different editing entries according to the editing contents matched by each of the trigger operations;
[0031] The response module is also used to, in response to a trigger operation of any of the user accounts on any of the editing entries, if a trigger operation of another user account on any of the editing entries is detected, determine the target user account based on user permissions of any of the user accounts and the other user account, and in response to the trigger operation of the target user account on any of the editing entries, perform an editing operation on the power audit data corresponding to any of the editing entries based on the editing content matched by the trigger operation.
[0032] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0033] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0034] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.
[0035] The above-mentioned data processing method, device, computer equipment, computer-readable storage medium and computer program product for power audit data display a power audit data reporting screen corresponding to the power audit project, wherein the power audit data reporting screen includes multiple editing entries of power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project; in the case of detecting trigger operations of multiple user accounts on different editing entries, respectively responding to the trigger operations of multiple user accounts on different editing entries, and performing editing operations on the power audit data corresponding to the different editing entries according to the editing content matched by each trigger operation; in the case of responding to the trigger operation of any user account on any editing entry, if the trigger operation of another user account on any editing entry is detected, the target user account is determined according to the user permissions of any user account and the other user account, and in response to the trigger operation of the target user account on any editing entry, the power audit data corresponding to any editing entry is edited according to the editing content matched by the trigger operation. By centrally displaying the audit data corresponding to multiple indicator parameters of the power audit project in the reporting screen, users can intuitively view and manage the audit data of different projects. Users can quickly find the audit data entry that needs to be edited, and users are supported to process multiple data points in the same interface, thereby improving the efficiency of power audit data processing; allowing multiple user accounts to operate on different editing entries at the same time, realizing parallel processing of data editing, greatly improving the efficiency of power audit data processing; through the user authority management mechanism, the authority conflict problem when multiple users edit the same audit data at the same time is solved. By determining the target user account, the system can automatically coordinate the editing operations between multiple users, thereby improving the smoothness of collaborative work, so that complex audit tasks can be efficiently completed with the collaboration of multiple people, thereby improving the data processing efficiency of power audit data. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 An application environment diagram of a data processing method for power audit data in an embodiment;
[0038] Figure 2 A flowchart of a data processing method for power audit data in an embodiment;
[0039] Figure 3 It is a flowchart of another data processing method for power audit data in one embodiment;
[0040] Figure 4 is a structural block diagram of a data processing device for power audit data in one embodiment;
[0041] Figure 5 The figure is a diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The data processing method for power audit data provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 displays the power audit data filling screen corresponding to the power audit project; the power audit data filling screen includes multiple editing entries of the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project; when the terminal 102 detects the triggering operation of multiple user accounts for different editing entries, it responds to the triggering operation of multiple user accounts for different editing entries respectively, and performs editing operations on the power audit data corresponding to different editing entries according to the editing content matched by each triggering operation; when the terminal 102 responds to the triggering operation of any user account for any editing entry, if the triggering operation of another user account for any editing entry is detected, the target user account is determined according to the user rights of any user account and the other user account, and the power audit data corresponding to any editing entry is edited according to the editing content matched by the triggering operation in response to the triggering operation of the target user account for any editing entry. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0044] In an exemplary embodiment, Figure 2 As shown, a data processing method for power audit data is provided, and the method is applied to Figure 1 The terminal 102 in FIG. 1 is used as an example to illustrate, including:
[0045] Step S202, displaying the power audit data reporting screen corresponding to the power audit project.
[0046] The power audit data filling screen includes editing entries for multiple power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project.
[0047] The terminal can provide users with a visual interface through the power audit system for displaying the audit data filling page related to a specific power audit project, that is, the power audit data filling screen.
[0048] Electricity audit projects may include progress audit projects, power quality audit projects, energy efficiency audits, equipment safety audits and other projects. Different electricity audit projects may correspond to different electricity audit data reporting screens.
[0049] The multiple electronic audit data are audit data corresponding to multiple project indicator parameters. Taking the electric power audit project as a progress audit project as an example, the project indicator parameters may include the amount involved in the problems found in the audit project, the number of management opinions put forward, the number of risk warning functions put forward, etc.
[0050] The editing portal can be an interface element for users to interact with the power audit data of specific project indicator parameters in the power audit data filling interface. The editing portal is used to allow users to enter, modify or update power audit data. Through these editing portals, users can easily operate the power audit data to ensure the accuracy and completeness of the data during the audit process.
[0051] Optionally, the editing entry can be a text box (a single-line or multi-line input box where users can directly type data), a drop-down menu (a menu that expands when clicked, showing optional preset values, and users can select one of the options), a check box (a small square box that users can click to check or uncheck), a radio button (a group of circular buttons, users can select one of them), a date selector (an input box with a calendar function, users can select a date from the calendar), a numeric adjuster (an input box containing up and down arrows, users can increase or decrease the value by clicking the arrows), a file upload control (a file selection button, users can select and upload files from the local computer), without specific limitations. These editing entry forms can meet the entry requirements of various power audit data, ensuring user convenience during operation and accuracy of data processing.
[0052] Step S204, when trigger operations of multiple user accounts on different editing entries are detected, respectively respond to the trigger operations of multiple user accounts on different editing entries, and perform editing operations on the power audit data corresponding to the different editing entries according to the editing content matched by each trigger operation.
[0053] Among them, the trigger operation for the editing entrance can be the specific operation performed by the user account when interacting with the editing entrance (such as a text box, drop-down menu, check box, etc.), such as clicking on the editing entrance, entering data in the editing entrance, modifying existing data, selecting from the options in the editing entrance, submitting the data in the editing entrance, etc.
[0054] Among them, the editing content matched by the trigger operation may refer to the specific data or content recognized and processed by the terminal when the user performs the trigger operation, and the editing content may include the actual data entered, modified or selected by the user in the editing entry.
[0055] In a specific implementation, the terminal performs editing operations on the power audit data corresponding to different editing entries according to the editing contents matched by each trigger operation. The terminal may first obtain the editing contents matched by the trigger operation, such as text data, numerical values, option selections, files, and other contents input or modified by the user through the editing entry; verify and check the editing contents to ensure that their format and content meet the requirements and avoid data errors or non-compliance. By fixing the filling method and format content, the standardized filling of audit data is promoted. For example, the user enters "500kWh" in the power consumption input box. The terminal can capture this value as the editing content, and then verify whether 500kWh is within a reasonable power consumption range and check whether its format is correct; if the verification is passed, the power audit data corresponding to the editing entry can be edited according to the modified content. For example, assuming that one of the power audit data is the number of management opinions proposed, the editing content includes the user entering 50 in the input box, and the terminal can update the power audit data to 50; the editing content includes the user changing the data content of the input box from 50 to 40, and the terminal can update the power audit data to 40; the editing content includes the user selecting 40 in the drop-down menu, and the terminal can update the power audit data to 40.
[0056] Exemplarily, user account A is responsible for filling in electricity audit data a, user account B is responsible for filling in electricity audit data b, and user account C is responsible for filling in electricity audit data c. The data processing method of electricity audit data of this scheme can process multiple electricity audit data at the same time, thereby improving processing efficiency.
[0057] The above solution allows multiple user accounts to operate different editing entrances at the same time, realizing parallel processing of data editing and greatly improving the efficiency of data processing. By responding independently to each trigger operation, it can ensure that the operations of different users on different data entrances do not interfere with each other, avoiding the data conflict problems that may occur in traditional multi-person collaborative work. Users can edit and update audit data related to them in real time to ensure the timeliness and effectiveness of audit data, which is particularly suitable for large-scale, multi-dimensional power audit projects.
[0058] Step S206, in response to a trigger operation of any user account on any editing entry, if a trigger operation of another user account on any editing entry is detected, the target user account is determined based on the user permissions of any user account and the other user account, and in response to the trigger operation of the target user account on any editing entry, an editing operation is performed on the power audit data corresponding to any editing entry according to the editing content matched by the trigger operation.
[0059] For example, when any user account A is filling in electricity audit data a, another user account B also wants to fill in electricity audit data a. If the terminal simultaneously detects that multiple user accounts want to edit the same electricity audit data, the target user account can be determined based on the user permissions of user account A and user account B.
[0060] The target user account may be a user account with the highest user authority between any user account and another user account.
[0061] After the terminal determines the target user account between any user account and another user account, it may allow the target user account to trigger operations on any editing entry, and reject other user accounts that are not confirmed as the target user account to trigger operations on the same editing entry.
[0062] Through the user authority management mechanism, the data conflict problem when multiple users edit the same audit data at the same time is solved. By determining the target user account, the system can automatically coordinate the editing operations among multiple users, improve the smoothness of collaborative work, and enable complex audit tasks to be completed efficiently through the collaboration of multiple people.
[0063] In the above-mentioned data processing method for power audit data, an power audit data filling screen corresponding to the power audit project is displayed, wherein the power audit data filling screen includes multiple editing entries of power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project; in the case of detecting trigger operations of multiple user accounts on different editing entries, respectively responding to the trigger operations of multiple user accounts on different editing entries, and performing editing operations on the power audit data corresponding to different editing entries according to the editing content matched by each trigger operation; in the case of responding to the trigger operation of any user account on any editing entry, if the trigger operation of another user account on any editing entry is detected, the target user account is determined according to the user permissions of any user account and the other user account, and in response to the trigger operation of the target user account on any editing entry, the power audit data corresponding to any editing entry is edited according to the editing content matched by the trigger operation. By centrally displaying the audit data corresponding to multiple indicator parameters of the power audit project in the reporting screen, users can intuitively view and manage the audit data of different projects. Users can quickly find the audit data entry that needs to be edited, and users are supported to process multiple data points in the same interface, thereby improving the efficiency of power audit data processing; allowing multiple user accounts to operate on different editing entries at the same time, realizing parallel processing of data editing, greatly improving the efficiency of power audit data processing; through the user authority management mechanism, the authority conflict problem when multiple users edit the same audit data at the same time is solved. By determining the target user account, the system can automatically coordinate the editing operations between multiple users, thereby improving the smoothness of collaborative work, so that complex audit tasks can be efficiently completed with the collaboration of multiple people, thereby improving the data processing efficiency of power audit data.
[0064] In an exemplary embodiment, it also includes: determining the time point for pushing the supervision information based on the time difference between the reporting deadline of the power audit project and the current date; the supervision information is used to urge the editing operation of the power audit data of the power audit project; and pushing the supervision information to the user account associated with the power audit project according to the time point.
[0065] The reporting deadline is the latest period for submitting the power audit data of the power audit project, and the current date is the current period. According to the time difference between the two, the time point for pushing the supervision information can be determined, and according to the time point, the supervision information is pushed to the user account responsible for filling in the power audit data of the power audit project. For example, if the time difference between the two reaches 2 weeks, the supervision information can be pushed once; if the time difference between the two reaches 1 week, the supervision information can be pushed again.
[0066] By pushing supervision information, audit work can be avoided from being overdue or missed, and the time point of pushing can be flexibly determined based on the time difference between the reporting deadline and the current date, which can improve the timeliness of power audit data processing.
[0067] In one of the embodiments, the terminal can archive and record multiple collaboratively edited power audit data, thereby avoiding duplicate data collection and loss of work records.
[0068] In an exemplary embodiment, a target user account is determined based on user permissions of any user account and another user account, including: if the user permissions of any user account and another user account are the same, then any user account and another user account are determined to be target user accounts; after determining the target user account, it also includes: displaying a chat panel in the power audit data filling screen; the chat panel is used to provide a collaborative editing channel for power audit data for any user account and another user account; displaying chat data entered by any user account and another user account in the chat panel; the chat data is used to indicate the editing content that generates a trigger operation match.
[0069] In a specific implementation, if multiple user accounts attempt to edit the same power audit data, who can perform the final editing operation will be determined based on the permissions of the multiple user accounts. If the permissions of multiple user accounts are the same, multiple user accounts can become target user accounts.
[0070] If the number of target user accounts is at least two, a chat panel can be displayed in the power audit data filling screen. By integrating the chat function in the power audit system, when multiple target user accounts edit the power audit data of the same editing entry, a communication and coordination channel can be conveniently provided for multiple target user accounts, which can avoid data conflicts and improve the efficiency of power audit data processing. At the same time, displaying chat data in the chat panel can be to display the communication records between target user accounts. These records can help explain the respective editing intentions and reasons for editing, and thus serve as the basis for generating editing content.
[0071] In an exemplary embodiment, a target user account is determined based on user permissions of any user account and another user account, including: if the user permissions of any user account and another user account are the same, then it is determined that any user account and another user account are both target user accounts; based on the editing content matched by the trigger operation, an editing operation is performed on the power audit data corresponding to any editing entry, including: determining the semantic difference between the editing content matched by the trigger operation of any user account and the editing content matched by the trigger operation of another user account; if the semantic difference indicates that there is a conflict between the editing contents, the conflict information is pushed, and the editing operation is performed on the power audit data corresponding to any editing entry based on the latest historical version of the power audit data corresponding to any editing entry; the conflict information is used to indicate that the editing contents do not meet the merge condition; if the semantic difference indicates that there is no conflict between the editing contents, then it is determined that the editing contents meet the merge condition, and based on the merged editing contents, an editing operation is performed on the power audit data corresponding to any editing entry.
[0072] If the number of target user accounts is at least two, the semantic difference between the editing content matched by the trigger operation of any user account and the editing content matched by the trigger operation of another user account can be determined. If the semantic difference is large, it is considered that there is a conflict; if the semantic difference is small, it is considered that there is no conflict.
[0073] Semantic differences can refer to differences between the actual contents of texts. For example, for numerical power audit data, if one edited content is "40" and the other is "50", the values are different, which is considered to be a conflict between the edited contents. For text-based power audit data, if one edited content is "on" and the other is "off", which is different in meaning or logic, it is considered to be a conflict. If the meanings of the two edited contents are the same, but there are only slight differences in the way they are expressed, such as one edited content is "in compliance with the standards" and the other is "meets the standards", it can be considered that there is no conflict.
[0074] If there is a conflict between the various edited contents, the conflict information can be pushed to the target user account. The conflict information can be a warning message that reminds the user that the power audit contents edited at the same time cannot be directly merged, and a conflict needs further coordination. At the same time, the power audit data corresponding to the edit entry is edited according to the latest historical version of the power audit data corresponding to the edit entry. The latest historical version can be the version of the power audit data last saved or submitted recorded in the system. This version is the latest and verified reliable data, which can be used as a reference or recovery point in the event of a conflict, thereby improving the accuracy of power audit data processing and reducing data anomalies.
[0075] If the semantic difference indicates that there is no conflict between the edit contents, it is determined that the edit contents meet the merging condition. The merging condition can be a merging rule formulated based on the similarity or consistency between the edit contents. The edit contents are then merged to obtain the merged edit contents.
[0076] In a specific implementation, the merging condition may be met by semantic consistency, for example, if the various edit contents are not contradictory in semantics, or express the same or similar meanings, and there are no key differences, then it can be considered that the merging condition is met. For example, if one edit content is "equipment allowed to be normal" and the other edit content is "equipment allowed to be good", then the edit content obtained by merging the two can be "equipment allowed to be normal"; for example, if one edit content is "20000" and the other edit content is "20000.5", if the difference between the two is within the preset allowable range, then it can be considered that the two values are not in conflict, then the edit content obtained by merging the two can be "20000". Alternatively, the various edit contents may involve multiple selections in the check box, and the options selected by different edit contents can coexist and are not contradictory, then it can be considered that the merging condition is met, for example, if one edit content is "safety inspection passed" and the other edit content is "equipment maintenance completed", and there is no conflict between these options, then they can be merged to obtain the merged edit contents, and according to the merged edit contents, the power audit data corresponding to the edit entry is edited.
[0077] Through the above scheme, the editing operations of multiple users on the same power audit data can be effectively managed to ensure the consistency and accuracy of the power audit data. At the same time, it provides users with a way to resolve data conflicts, which can improve the efficiency of collaborative editing of power audit data and avoid data errors or conflicts.
[0078] In an exemplary embodiment, before responding to trigger operations of multiple user accounts for different editing entries respectively, it also includes: for a trigger operation of any user account among the multiple user accounts for any different editing entry, detecting the user account associated with the latest historical version of the power audit data corresponding to any of the same editing entries; if the user authority of any user account is higher than or equal to the user authority of the user account associated with the latest historical version, executing the steps of responding to trigger operations of multiple user accounts for different editing entries respectively.
[0079] Before a user account triggers an edit entry of power audit data, the system first detects the user account associated with the latest historical version of the data. This step is to determine who was the last user to modify the data and the user's permission level. For example, if the power audit data was last modified by user C, the terminal will record and associate user C's account information and permission level. The terminal compares the permissions of the user account currently attempting to perform the edit operation with the permissions of the user account associated with the latest historical version. If the permissions of the current user are higher than or equal to the permissions of the user associated with the latest historical version, the system will allow the user to continue the edit operation. For example, if user A who is currently trying to edit has administrator permissions, and user C who last modified the data has only ordinary user permissions, the system will allow user A to continue editing. Therefore, the terminal makes a decision based on the results of the permission comparison. If the permissions of the current user are higher than or equal to the permissions of the user associated with the historical version, the system will execute the next steps to respond to the triggering operations of multiple user accounts on different edit entries. If the permissions of the current user are lower than the permissions of the user associated with the historical version, the system may reject or restrict the user's edit operation to avoid unnecessary data editing with low user permissions covering high user permissions. For example, user B attempts to modify data, but his permissions are lower than those of user C (the user associated with the historical version). Therefore, the terminal may block user B's editing request or prompt user B that the data requires higher permissions to edit.
[0080] The above scheme controls the editing of power audit data by multiple users through permission management. In particular, when it comes to data previously edited by a user with higher permissions, the system uses a permission comparison mechanism to decide whether to allow the current user to operate. This mechanism ensures the security and consistency of data, prevents low-privilege users from improperly overwriting the modifications of high-privilege users, and thus maintains the integrity and reliability of power audit data.
[0081] In an exemplary embodiment, it also includes: determining a chart type that matches the project indicator parameters according to project indicator parameters corresponding to multiple power audit data in the power audit project; and displaying a data view corresponding to the multiple power audit data according to the chart type.
[0082] By identifying the project indicator parameters corresponding to the power audit data, automatically selecting the appropriate chart type, and displaying the corresponding data view solution, it helps users understand and analyze the power audit data more intuitively, and improves the effect of data display and the efficiency of information transmission through charts and visualization methods.
[0083] Project indicator parameters may include numerical data, time series data, categorical data, etc. The system will select the corresponding chart type according to the nature of these parameters, such as bar charts, line charts, pie charts, etc. For example, if the power audit data includes a time series data such as "amount involved in monthly problems", a line chart can be selected to show the changing trend of the data.
[0084] After determining the appropriate chart type, the corresponding data view can be generated according to the chart type and displayed in the user interface. Data view refers to the display of power audit data in the form of charts or graphs, so that users can intuitively understand the distribution, trend and relationship of the data. For example, a line chart of "monthly problem amount involved" can be generated and displayed in the data analysis interface, so that users can intuitively view the changes in power audit data in different months.
[0085] For example, the data view can be a Gantt view, which shows auditors the time span of multiple tasks in parallel in an intuitive form, can compare the audit project status of each unit horizontally, and analyze the problems existing in the audit work of each bureau; the Kanban view can move task cards at will and adjust the production status; the calendar view allows auditors to manage tasks in a more refined time dimension.
[0086] Through the above scheme, the appropriate chart type can be automatically selected and generated according to the characteristics of the power audit data in the power audit project, helping users to better understand and analyze the data. Different chart types can intuitively display different aspects of the data, such as trends, comparisons, distributions, etc., thus providing strong support for power audit work.
[0087] In an exemplary embodiment, Figure 3 As shown in FIG. 1 , another data processing method for power audit data is provided, and the method is applied to Figure 1 The following is an example of a terminal in the example, including:
[0088] Step S302, displaying the power audit data reporting screen corresponding to the power audit project.
[0089] Among them, the power audit data filling screen includes editing entries for multiple power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project.
[0090] Step S304, when trigger operations of multiple user accounts on different editing entries are detected, respectively respond to the trigger operations of multiple user accounts on different editing entries, and perform editing operations on the power audit data corresponding to different editing entries according to the editing content matched by each trigger operation.
[0091] In one of the embodiments, before responding to the trigger operations of multiple user accounts for different editing entries respectively, it also includes: for the trigger operation of any user account among the multiple user accounts for any different editing entry, detecting the user account associated with the latest historical version of the power audit data corresponding to any different editing entry; if the user authority of any user account is higher than or equal to the user authority of the user account associated with the latest historical version, executing the steps of responding to the trigger operations of multiple user accounts for different editing entries respectively.
[0092] Step S306, in response to a trigger operation of any user account on any editing entry, if a trigger operation of another user account on any editing entry is detected, then if the user permissions of any user account and the other user account are the same, it is determined that any user account and the other user account are both target user accounts.
[0093] Step S308, displaying a chat panel in the power audit data reporting screen.
[0094] The chat panel is used to provide a collaborative editing channel for power audit data between any user account and another user account.
[0095] Step S310, displaying chat data input by any user account and another user account in the chat panel.
[0096] Chat data is used to indicate the edited content that generated the trigger action match.
[0097] Step S312, in response to the trigger operation of the target user account on any editing entry, determining the semantic difference between the editing content matched by the trigger operation of any user account and the editing content matched by the trigger operation of another user account.
[0098] Step S314, determining whether the semantic difference indicates a conflict between the edited contents, if so, executing step S316; if not, executing step S318.
[0099] Step S316: Push the conflict information, and perform editing operation on the power audit data corresponding to any editing entry according to the latest historical version of the power audit data corresponding to any editing entry.
[0100] Conflict information indicates individual edits that are not eligible for merging.
[0101] Step S318, determining whether each edit content meets the merging condition, and performing an editing operation on the power audit data corresponding to any edit entry according to each merged edit content.
[0102] Step S320, determining the time point for pushing the supervision information according to the time difference between the reporting deadline of the power audit project and the current date.
[0103] Supervision information is used to urge editing operations on power audit data of power audit projects.
[0104] Step S322: Push supervision information to user accounts associated with the power audit project according to the time points.
[0105] Step S324, determining a chart type that matches the project indicator parameters according to the project indicator parameters corresponding to the plurality of power audit data in the power audit project.
[0106] Step S326, displaying data views corresponding to multiple power audit data according to the chart type.
[0107] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a data processing method for power audit data mentioned above, which will not be repeated here.
[0108] Through the above method, multiple people can work in parallel, which improves the work efficiency of audit management and control. By pushing supervision messages, omissions and practical problems will not occur, and automatic message notification can be achieved. In the past, audit data was scattered in various tables, which was not convenient for analysis. Through the above method, power audit data submitted through different channels can be automatically summarized, and through multi-dimensional data views, it can help auditors better grasp the progress management of audit projects and better formulate the next step of audit work; it provides communication and sharing of audit data, and smoothly realizes real-time online collaboration among multiple people, allowing the audit team to communicate on issues during the implementation of audit projects and the rectification of audit project problems.
[0109] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0110] Based on the same inventive concept, the embodiment of the present application also provides a data processing device for power audit data for implementing the data processing method for power audit data involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more data processing device embodiments for power audit data provided below can refer to the limitations of the data processing method for power audit data above, and will not be repeated here.
[0111] In an exemplary embodiment, Figure 4 As shown, a data processing device for power audit data is provided, comprising:
[0112] Display module 410 is used to display the power audit data filling screen corresponding to the power audit project; the power audit data filling screen includes editing entries for multiple power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project.
[0113] The response module 420 is used to respond to the trigger operations of multiple user accounts on different editing entries respectively when trigger operations of multiple user accounts on different editing entries are detected, and perform editing operations on the power audit data corresponding to the different editing entries according to the editing content matched by each of the trigger operations.
[0114] The response module 420 is also used to, in response to a trigger operation of any of the user accounts on any of the editing entries, if a trigger operation of another user account on any of the editing entries is detected, determine the target user account based on the user permissions of any of the user accounts and the other user account, and in response to the trigger operation of the target user account on any of the editing entries, perform an editing operation on the power audit data corresponding to any of the editing entries according to the editing content matched by the trigger operation.
[0115] In one of the embodiments, the response module 420 is also used to determine that any one of the user accounts and the other user account are the target user accounts if the user permissions of any one of the user accounts and the other user account are the same; the display module 410 is also used to display a chat panel in the power audit data filling screen; the chat panel is used to provide a collaborative editing channel for the power audit data for any one of the user accounts and the other user account; the chat data input by any one of the user accounts and the other user account are displayed in the chat panel; the chat data is used to indicate the generation of editing content that matches the trigger operation.
[0116] In one of the embodiments, the response module 420 is also used to determine that any one of the user accounts and the other user account are both the target user accounts if the user permissions of any one of the user accounts are the same; determine the semantic difference between the editing content that matches the trigger operation of any one of the user accounts and the editing content that matches the trigger operation of the other user account; if the semantic difference indicates that there is a conflict between each of the editing contents, push the conflict information, and perform an editing operation on the power audit data corresponding to any of the editing entries according to the latest historical version of the power audit data corresponding to any of the editing entries; the conflict information is used to indicate that each of the editing contents does not meet the merging condition; if the semantic difference indicates that there is no conflict between each of the editing contents, determine that each of the editing contents meets the merging condition, and perform an editing operation on the power audit data corresponding to any of the editing entries according to each of the merged editing contents.
[0117] In one embodiment, the response module 420 is further configured to detect a user account associated with the latest historical version of the power audit data corresponding to any of the different editing entries for a trigger operation of any of the multiple user accounts for any of the different editing entries;
[0118] If the user authority of any of the user accounts is higher than or equal to the user authority of the user account associated with the latest historical version, the step of responding to the triggering operations of the multiple user accounts for different editing entrances respectively is performed.
[0119] In one of the embodiments, the display module 410 is also used to determine a chart type that matches the project indicator parameters according to project indicator parameters corresponding to multiple power audit data in the power audit project; and display a data view corresponding to the multiple power audit data according to the chart type.
[0120] Each module in the above-mentioned data processing device for power audit data can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0121] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a data processing method for power audit data is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0122] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0123] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above embodiment when executing the computer program.
[0124] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above embodiment are implemented.
[0125] In one embodiment, a computer program product is provided, comprising a computer program, which implements the steps of the above embodiments when executed by a processor.
[0126] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0127] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0129] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data processing method for power audit data, characterized in that: The method comprises: Displaying an electric power audit data reporting screen corresponding to an electric power audit project; the electric power audit data reporting screen includes editing entries for multiple electric power audit data in the electric power audit project; the multiple electric power audit data are audit data corresponding to multiple project indicator parameters in the electric power audit project; In the case of detecting trigger operations of multiple user accounts for different editing entries, respectively responding to the trigger operations of the multiple user accounts for different editing entries, and performing editing operations on the power audit data corresponding to the different editing entries according to the editing contents matched by each of the trigger operations; In response to a trigger operation of any of the user accounts on any of the editing entries, if a trigger operation of another of the user accounts on any of the editing entries is detected, the target user account is determined based on the user permissions of any of the user accounts and the other user account, and in response to the trigger operation of the target user account on any of the editing entries, an editing operation is performed on the power audit data corresponding to any of the editing entries based on the editing content matched by the trigger operation.
2. The method according to claim 1, characterized in that The method further comprises: Determine the time point for pushing the supervision information according to the time difference between the reporting deadline of the power audit project and the current date; the supervision information is used to urge the editing operation of the power audit data of the power audit project; According to the time point, the supervision information is pushed to the user account associated with the power audit project.
3. The method according to claim 1, characterized in that The determining the target user account according to any one of the user accounts and the user rights of another of the user accounts includes: If the user rights of any one of the user accounts and the other one of the user accounts are the same, determining that any one of the user accounts and the other one of the user accounts are both the target user accounts; After determining the target user account, the method further includes: Displaying a chat panel in the power audit data filling screen; the chat panel is used to provide a collaborative editing channel for the power audit data for any one of the user accounts and another of the user accounts; The chat data input by any one of the user accounts and another of the user accounts are displayed in the chat panel; the chat data is used to indicate the editing content that generates the trigger operation match.
4. The method according to claim 1, characterized in that The determining the target user account according to any one of the user accounts and the user rights of another of the user accounts includes: If the user rights of any one of the user accounts and the other one of the user accounts are the same, determining that any one of the user accounts and the other one of the user accounts are both the target user accounts; The editing operation on the power audit data corresponding to any of the editing entries according to the editing content matched by the trigger operation includes: Determining semantic differences between edited content matched by a triggering operation of any one of the user accounts and edited content matched by a triggering operation of another of the user accounts; If the semantic difference indicates that there is a conflict between the edited contents, the conflict information is pushed, and the power audit data corresponding to any of the edited entries is edited according to the latest historical version of the power audit data corresponding to any of the edited entries; the conflict information is used to indicate that each of the edited contents does not meet the merging condition; If the semantic difference indicates that there is no conflict between the edit contents, it is determined that the edit contents meet the merging condition, and an editing operation is performed on the power audit data corresponding to any edit entry according to the merged edit contents.
5. The method according to claim 1, characterized in that Before the triggering operations of the multiple user accounts for different editing entries are respectively responded to, the method further includes: For a trigger operation of any user account among the multiple user accounts for any of the different editing entries, detecting a user account associated with the latest historical version of the power audit data corresponding to any of the different editing entries; If the user authority of any of the user accounts is higher than or equal to the user authority of the user account associated with the latest historical version, the step of responding to the triggering operations of the multiple user accounts for different editing entrances respectively is performed.
6. The method according to claim 1, characterized in that The method further comprises: According to the project indicator parameters corresponding to the plurality of power audit data in the power audit project, determining the chart type matching the project indicator parameters; According to the chart type, a data view corresponding to the multiple power audit data is displayed.
7. A data processing device for power audit data, characterized in that: The device comprises: A display module is used to display a power audit data reporting screen corresponding to a power audit project; the power audit data reporting screen includes editing entries for multiple power audit data in the power audit project; the multiple power audit data are audit data corresponding to multiple project indicator parameters in the power audit project; A response module, configured to, when trigger operations of multiple user accounts for different editing entries are detected, respectively respond to the trigger operations of the multiple user accounts for different editing entries, and perform editing operations on the power audit data corresponding to the different editing entries according to the editing contents matched by each of the trigger operations; The response module is also used to, in response to a trigger operation of any of the user accounts on any of the editing entries, if a trigger operation of another user account on any of the editing entries is detected, determine the target user account based on user permissions of any of the user accounts and the other user account, and in response to the trigger operation of the target user account on any of the editing entries, perform an editing operation on the power audit data corresponding to any of the editing entries based on the editing content matched by the trigger operation.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Manufacturing enterprise quality file element dynamic merging and splitting method and system
CN120297240A
A method and system for dynamically merging and splitting quality document elements of manufacturing enterprises
CN120297240B
