Automatic updating method, device and equipment for machine account data of power distribution equipment and medium
Through sensors, the physical location and configuration information of the distribution equipment are collected in real time, update instructions are generated and the ledger database is automatically updated, which solves the problem of data lag in traditional inspection methods, and realizes the real-time accuracy of the distribution equipment ledger data and efficient management of the power system.
Patent Information
- Application Number
- CN202510984400.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2025-08-12
AI Technical Summary
Traditional power distribution equipment inspection methods rely on manual verification or fixed-cycle data synchronization, making it difficult to adapt to frequent changes in equipment configuration and dynamic adjustment of physical location, resulting in lag in ledger data and reduced accuracy, affecting the efficiency and reliability of power system operation and management.
Through sensors, the physical location and actual configuration of the power distribution equipment are collected in real time, update instructions are generated and sent to the control terminal, and the ledger database is automatically updated, and offset trend analysis is performed in combination with the weighted average algorithm and sliding window method to generate offset warnings and component change strategies to ensure real-time accuracy and timeliness of data.
It realizes automatic update of the ledger data of the distribution equipment, improves the data update efficiency, ensures the real-time accuracy of the ledger data, and the operation and management efficiency and reliability of the power system, and reduces the workload of manual operation.
Smart Images

Figure CN120470014A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and medium for automatically updating distribution equipment ledger data. Background Art
[0002] Equipment inspection and asset management are important research directions in the field of industrial informatization. The core lies in ensuring the real-time consistency between the operating status of on-site equipment and management data, which is directly related to the improvement of production safety and operational efficiency. With the widespread application of intelligent manufacturing and Internet of Things technologies, inspection methods based on spatiotemporal trajectories have gradually become a new trend in equipment management.
[0003] Traditional inspection methods rely on manual verification or fixed-cycle data synchronization, which makes it difficult to adapt to the actual needs of frequent changes in equipment configuration and dynamic adjustment of physical location. They also lack flexibility in data collection and processing. In the face of insufficient dynamism in difference identification and change confirmation, they are prone to misjudgment or omission, resulting in delayed ledger data and reduced accuracy. The efficiency of updating ledger data is poor, affecting the efficiency and reliability of power system operation and management. Summary of the Invention
[0004] An embodiment of the present invention provides a method for automatically updating ledger data of power distribution equipment, which can realize automatic updating of ledger information, reduce the workload of manual operations, improve data updating efficiency, and ensure the real-time accuracy of ledger data.
[0005] In a first aspect, an embodiment of the present invention provides a method for automatically updating distribution equipment ledger data, comprising: Obtaining the physical location and actual configuration of the power distribution equipment collected by sensors in real time; wherein the actual configuration includes the configuration of the main control component and the configuration of the auxiliary components; When the physical location and the actual configuration change, an update instruction is generated; wherein the update instruction includes the device number and change record of the power distribution device; The update instruction is sent to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the device number.
[0006] Furthermore, the method further comprises: Obtaining a reference position of the power distribution equipment, and calculating offset data based on the reference position and the physical position; wherein the offset data includes an offset amount and an offset direction; Using a sliding window method, the offset data within a preset time period is counted to obtain a dynamic offset sequence; A weighted average algorithm is used to perform weighted calculation on the dynamic offset sequence to obtain an offset trend of the power distribution equipment, and an offset warning is performed based on the offset trend.
[0007] Furthermore, the weighted calculation of the dynamic offset sequence using a weighted average algorithm includes: Assigning weights to different offset data in the dynamic offset sequence according to a preset weighting rule; wherein the weighting rule is that the offset data closer to the current time point has a higher weight; A weighted average calculation is performed on the offset data in the dynamic offset sequence according to the weight.
[0008] Furthermore, performing a deviation warning according to the deviation trend includes: comparing the deviation trend with a preset deviation trend threshold; When the deviation trend is greater than the deviation trend threshold, deviation warning information is generated.
[0009] Furthermore, the method further comprises: Obtain the latest configuration information of the power distribution equipment in the ledger database; wherein the latest configuration information includes the latest main control component configuration and the latest auxiliary component configuration; When a configuration difference between the main control component configuration and the latest main control component configuration is detected, determining whether the auxiliary component configuration is changed synchronously with the main control component configuration; When any subsidiary component has not been changed synchronously, all component combinations that have not been changed synchronously are added to the unsynchronized change sequence; wherein the component combination includes the main control component and the corresponding subsidiary components that have not been changed synchronously; The unsynchronized change sequence is pushed to the control terminal, so that the control terminal generates a component change policy.
[0010] Furthermore, the method further comprises: When all the subsidiary components have been synchronously changed, obtaining the main control component change time of the main control component and the subsidiary component change time of each subsidiary component; The time difference between the change time of the main control component and the change time of each of the subsidiary components is calculated, and when the time difference is greater than a preset time difference threshold, the corresponding subsidiary component is marked as change delayed.
[0011] Furthermore, the update instruction also includes a priority, and the priority includes urgent and non-urgent. Then, the method further includes: When receiving a plurality of update instructions, checking whether the data in each update instruction is complete, and eliminating the update instructions with incomplete data; From the remaining update instructions, the update instructions with the urgent priority are preferentially selected and sent to the control terminal.
[0012] In a second aspect, an embodiment of the present invention provides a device for automatically updating distribution equipment ledger data, comprising: A data acquisition module is used to obtain the physical location and actual configuration of the power distribution equipment collected by sensors in real time; wherein the actual configuration includes the configuration of the main control component and the configuration of the auxiliary components; An instruction generation module, configured to generate an update instruction when the physical location and the actual configuration change; wherein the update instruction includes the device number and change record of the power distribution device; The data update module is used to send the update instruction to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the device number.
[0013] In a third aspect, an embodiment of the present invention provides an electronic device, including: Memory for storing computer programs; a processor for executing the computer program; Wherein, when the processor executes the computer program, the method for automatically updating the distribution equipment inventory data as described in any one of the first aspects above is implemented.
[0014] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method for automatically updating the inventory data of distribution equipment as described in any one of the first aspects above is implemented.
[0015] Compared with the prior art, the embodiment of the present invention provides a method for automatically updating the ledger data of distribution equipment, which has the following beneficial effects: obtaining the physical location and actual configuration of the distribution equipment collected by sensors in real time; wherein, the actual configuration includes the main control component configuration and the auxiliary component configuration; when the physical location and the actual configuration change, generating an update instruction; wherein, the update instruction includes the equipment number and change record of the distribution equipment; sending the update instruction to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the equipment number; the present invention can timely discover equipment changes and transmit the change information to the control terminal in the form of update instructions, thereby ensuring the accuracy and timeliness of the ledger data, realizing automatic real-time update of equipment change information in the ledger database, and improving the efficiency and reliability of power system operation management. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical features of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 This is a flow chart of an embodiment of a method for automatically updating distribution equipment ledger data provided by the present invention; Figure 2 This is a structural diagram of an embodiment of a device for automatically updating distribution equipment ledger data provided by the present invention; Figure 3 It is a structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0019] It should be noted that although the device schematics illustrate functional module divisions and the flowcharts illustrate logical sequences, in certain circumstances, the steps shown or described may be performed in a sequence that differs from the module divisions in the device or the sequence in the flowcharts. The terms "first," "second," and so on, in the specification, claims, and drawings, are used to distinguish similar items and are not necessarily used to describe a specific sequence or precedence.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention pertains. The terms used herein are for the purpose of describing embodiments of the present invention only and are not intended to limit the present invention.
[0021] In the first aspect, the embodiment of the present invention provides a method for automatically updating the ledger data of a power distribution device, see Figure 1 , which is a flow chart of an embodiment of automatic update of distribution equipment ledger data provided by the present invention.
[0022] like Figure 1 As shown, the method includes the following steps: S1: Acquire the physical location and actual configuration of the power distribution equipment collected by sensors in real time; wherein the actual configuration includes the configuration of the main control component and the configuration of the auxiliary components; S2: When the physical location and the actual configuration change, generate an update instruction; wherein the update instruction includes the device number and change record of the power distribution device; S3: Send the update instruction to the control terminal, so that the control terminal updates the change record to the ledger database corresponding to the device number.
[0023] In specific implementation, through sensors equipped with power distribution equipment, the physical location information and actual configuration details of the equipment are obtained in real time. The physical location information clarifies the specific spatial coordinates of the equipment in the power system, and the actual configuration covers the main control component configuration (such as controller model, parameter settings, etc.) and auxiliary component configuration (such as sensor type, communication module specifications, etc.).
[0024] Continuously monitor the physical location and actual configuration information of the power distribution equipment. Once a change is detected, such as firmware upgrade from version 1.0 to version 1.1, port change from 502 to 503, etc., the system automatically generates an update instruction based on the change. The update instruction can include the device number and change record. The device number is used to uniquely identify a specific power distribution equipment. The change record records the physical location and actual configuration information before and after the change, as well as the change time and other records in detail.
[0025] The generated update instruction is sent to the control terminal. After receiving the update instruction, the control terminal finds the corresponding ledger database according to the device number and updates the change record to the database to ensure that the ledger data is consistent with the actual device status.
[0026] It is understandable that before sending the instruction to the control terminal, it is necessary to check the online status of the control terminal. When the control terminal is online, the update instruction is pushed immediately. When the control terminal is offline, the push instruction is cached and automatically triggered after the terminal comes online. When the control terminal is busy, the push is delayed and the wait state is switched to online before retrying. The status check avoids push failure and improves the reliability of data update. After the control terminal updates the change record to the corresponding ledger database, the update time is returned to the distribution equipment to confirm that the update is complete.
[0027] To sum up, the present invention obtains the physical location and actual configuration of the distribution equipment collected by the sensor in real time; wherein, the actual configuration includes the main control component configuration and the auxiliary component configuration; when the physical location and the actual configuration change, an update instruction is generated; wherein, the update instruction includes the equipment number and change record of the distribution equipment; the update instruction is sent to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the equipment number; the present invention can timely discover equipment changes and pass the change information to the control terminal in the form of update instructions, thereby ensuring the accuracy and timeliness of the ledger data, and realizing automatic real-time update of equipment change information in the ledger database, reducing the workload of manual operations, improving data update efficiency, and providing accurate data basis for operation management, maintenance scheduling, etc. of the power system, thereby improving the efficiency and reliability of operation management of the power system.
[0028] In an optional embodiment, the method further includes: Obtaining a reference position of the power distribution equipment, and calculating offset data based on the reference position and the physical position; wherein the offset data includes an offset amount and an offset direction; Using a sliding window method, the offset data within a preset time period is counted to obtain a dynamic offset sequence; A weighted average algorithm is used to perform weighted calculation on the dynamic offset sequence to obtain an offset trend of the power distribution equipment, and an offset warning is performed based on the offset trend.
[0029] Specifically, the reference position of the power distribution equipment is obtained. The reference position can be the initial position when the equipment is installed or the calibrated standard position. According to the difference between the reference position and the actual physical position, the offset data is calculated, including the offset amount and the offset direction. The offset amount reflects the movement distance of the equipment relative to the reference position, and the offset direction indicates the direction of movement of the equipment.
[0030] It should be noted that an offset threshold is set in advance. When the offset exceeds the threshold, the distribution equipment is marked as having an offset abnormality. However, the static threshold is difficult to cope with the situation where the equipment offset gradually increases over time. If the offset continues to approach the threshold, the static threshold will frequently trigger abnormal alarms, making it difficult for operation and maintenance personnel to distinguish between real risks and normal fluctuations. At this time, it is necessary to dynamically adjust the upper limit of the threshold to adapt to the changes, so that the upper limit of the threshold is closer to actual needs and reduce misjudgments. The linear interpolation method is used to predict the reasonable threshold for the next stage based on historical offset data, which can avoid frequent abnormal alarms caused by the continuous growth of the offset.
[0031] The sliding window method is a commonly used data processing technology. It performs statistical analysis on the data in the window by sliding a fixed-size window on the time series. In this embodiment, the sliding window method is used to count the offset data in a preset time period to obtain a dynamic offset sequence. For example, the window size is set to 5 inspections, and the offset data sequence is 10 meters, 11 meters, 12 meters, 13 meters, and 14 meters. In this process, the sliding window moves one step each time and calculates the data in the window. For example, the data in the window for the first time is 10 meters, 11 meters, 12 meters, 14 meters, and 17 meters. The calculated trend shows that the offset gradually increases, and the dynamic offset sequence is +1 meter, +1 meter, +2 meters, and +3 meters.
[0032] A weighted average algorithm is used to perform weighted calculation on the dynamic offset sequence to obtain the offset trend of the distribution equipment. The distribution of weights can be determined according to the distance in time. For example, a higher weight can be given to recent data points to reflect the latest offset of the equipment. Based on the calculated offset trend, an offset warning can be issued. When the offset trend exceeds a certain threshold, the system can issue an early warning signal to remind managers to take timely measures. The offset warning mechanism can help managers better understand the offset of the equipment and formulate corresponding maintenance and management strategies.
[0033] In an optional implementation, the weighted calculation of the dynamic offset sequence using a weighted average algorithm includes: Assigning weights to different offset data in the dynamic offset sequence according to a preset weighting rule; wherein the weighting rule is that the offset data closer to the current time point has a higher weight; A weighted average calculation is performed on the offset data in the dynamic offset sequence according to the weight.
[0034] Specifically, as time goes by, the timeliness and relevance of data will change. Recent data can better reflect the current status and trend, while early data may be affected by various factors and have a weaker correlation with the current situation. Therefore, when performing weighted calculations on dynamic offset sequences, a weighting rule is adopted in which the offset data closer to the current time point has a higher weight. After assigning different weights to the offset data at different time points, a weighted average calculation is performed to obtain a value that better reflects the overall trend, which can better determine the direction of position change.
[0035] In an optional implementation, performing a deviation warning according to the deviation trend includes: comparing the deviation trend with a preset deviation trend threshold; When the deviation trend is greater than the deviation trend threshold, deviation warning information is generated.
[0036] Specifically, an offset trend threshold is pre-set according to the actual situation and safety requirements of the distribution equipment. The offset trend threshold represents the maximum offset trend of the distribution equipment under normal operating conditions. The calculated offset trend is compared with the offset trend threshold. If the offset trend is less than or equal to the threshold, it means that the operating status of the distribution equipment is within the normal range and no offset warning is required. If the offset trend is greater than the threshold, it means that the operating status of the distribution equipment may be abnormal and an offset warning information needs to be generated. The purpose of generating the offset warning information is to promptly notify relevant personnel to take measures. When generating the offset warning information, some key information needs to be included, such as the name, location, offset trend value, warning time, etc. of the distribution equipment, which can help relevant personnel quickly understand the severity and specific circumstances of the problem to avoid failures or accidents of the distribution equipment.
[0037] In an optional embodiment, the method further includes: Obtain the latest configuration information of the power distribution equipment in the ledger database; wherein the latest configuration information includes the latest main control component configuration and the latest auxiliary component configuration; When a configuration difference between the main control component configuration and the latest main control component configuration is detected, determining whether the auxiliary component configuration is changed synchronously with the main control component configuration; When any subsidiary component has not been changed synchronously, all component combinations that have not been changed synchronously are added to the unsynchronized change sequence; wherein the component combination includes the main control component and the corresponding subsidiary components that have not been changed synchronously; The unsynchronized change sequence is pushed to the control terminal, so that the control terminal generates a component change policy.
[0038] Specifically, the most recently recorded configuration information is obtained from the ledger records of the power distribution equipment, including the latest configuration information of the main control component and the latest configuration information of the auxiliary component. It can be understood that the configuration information of the auxiliary component should match the main control component. For example, after the main control component is upgraded from version 2.0 to version 3.0, the auxiliary component still remains in the configuration that matches version 2.0. Due to inconsistent configuration, there may be compatibility issues, resulting in abnormal operation of the equipment, or the main control component adjusts the communication parameters, but the auxiliary component is not configured accordingly, which may cause communication failure.
[0039] Compare the current main control component configuration with the latest main control component configuration obtained to determine whether the main control component has changed. When it is detected that there is a difference between the main control component configuration and the latest main control component configuration, that is, a change has occurred, further determine whether the auxiliary component configuration has been synchronized with the main control component to ensure that the configuration of the auxiliary component is consistent with that of the main control component. If any auxiliary component has not been changed synchronously, all component combinations that have not been changed synchronously are added to the unsynchronized change sequence. The component combination includes the main control component and several corresponding auxiliary components that have not been changed synchronously. The unsynchronized change sequence is pushed to the control terminal. The control terminal generates a component change strategy based on the unsynchronized change sequence to guide the operation and maintenance personnel to perform corresponding configuration change operations, which can ensure that the configuration of all components remains consistent and improve the stability and reliability of the equipment.
[0040] In an optional embodiment, the method further includes: When all the subsidiary components have been synchronously changed, obtaining the main control component change time of the main control component and the subsidiary component change time of each subsidiary component; The time difference between the change time of the main control component and the change time of each of the subsidiary components is calculated, and when the time difference is greater than a preset time difference threshold, the corresponding subsidiary component is marked as change delayed.
[0041] Specifically, when all subsidiary components have been changed synchronously, for each subsidiary component, the time difference between its change timestamp and the change timestamp of the main control component is calculated. According to the equipment operation requirements and industry experience, a reasonable time difference threshold is pre-set. When the time difference is greater than the time difference threshold, the corresponding subsidiary component is marked as a change delay, and the specific time difference value of the delay is recorded for subsequent analysis of the cause of the delay. For example, the time difference threshold is set to 24 hours. Within 24 hours after component A is changed, component B should complete the change. If component B is not changed within 24 hours, the change time of component B is recorded. Through the change time series of all components, the cause of the component change delay is traced. For example, by analyzing the change time series, it is found that the reason for the delay in component B change is the delayed delivery of accessories by the upstream supplier. This tracing can refine the source of the problem and improve the efficiency of investigation.
[0042] It can be understood that a clustering algorithm is used to group the change data of multiple devices. For example, there are 10 power distribution devices, of which the time difference of component changes of 8 devices is less than or equal to the time difference threshold. In this case, the 8 devices are grouped into one group. There are 2 devices whose time difference of component changes is greater than the time difference threshold and a change delay occurs, and they are placed in another group. This grouping can intuitively reflect the difference in changes and is helpful for batch management of equipment.
[0043] In an optional implementation manner, the update instruction further includes a priority, and the priority includes urgent and non-urgent. Then, the method further includes: When receiving a plurality of update instructions, checking whether the data in each update instruction is complete, and eliminating the update instructions with incomplete data; From the remaining update instructions, the update instructions with the urgent priority are preferentially selected and sent to the control terminal.
[0044] Specifically, when multiple update instructions are received at the same time, it is necessary to perform an integrity check on the data in each update instruction. The check content includes whether the device number is valid, whether the change record is complete and clear, etc. For update instructions with incomplete data, they will be eliminated and sent again after the data is supplemented to be complete. This ensures that the update instructions entering the subsequent processing flow have a reliable data basis to avoid ledger update errors or anomalies caused by incomplete data.
[0045] Among the remaining update instructions, according to the preset priority rules, the priorities include urgent and non-urgent, and more levels can be set according to actual conditions. Update instructions with urgent priority are given priority to be sent to the control terminal. Emergency update instructions are usually used for equipment changes that have a significant impact on the safety and reliability of power system operation, such as replacement of main control component failures, etc., to ensure that emergency changes can be updated to the ledger database in a timely manner so that relevant personnel can respond quickly and ensure the stable operation of the power system.
[0046] In the second aspect, the embodiment of the present invention provides a device for automatically updating the ledger data of a power distribution equipment, see Figure 2 , which is a structural diagram of an embodiment of a device for automatically updating inventory data of power distribution equipment provided by the present invention.
[0047] like Figure 2 As shown, the device includes: The data acquisition module 21 is used to obtain the physical location and actual configuration of the power distribution equipment collected by the sensor in real time; wherein the actual configuration includes the configuration of the main control component and the configuration of the auxiliary components; An instruction generation module 22 is configured to generate an update instruction when the physical location and the actual configuration change; wherein the update instruction includes the device number and change record of the power distribution device; The data updating module 23 is used to send the update instruction to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the device number.
[0048] In an optional embodiment, the device further includes a deviation warning module, which is used to: Obtaining a reference position of the power distribution equipment, and calculating offset data based on the reference position and the physical position; wherein the offset data includes an offset amount and an offset direction; Using a sliding window method, the offset data within a preset time period is counted to obtain a dynamic offset sequence; A weighted average algorithm is used to perform weighted calculation on the dynamic offset sequence to obtain an offset trend of the power distribution equipment, and an offset warning is performed based on the offset trend.
[0049] In an optional implementation, the deviation warning module is further configured to: Assigning weights to different offset data in the dynamic offset sequence according to a preset weighting rule; wherein the weighting rule is that the offset data closer to the current time point has a higher weight; A weighted average calculation is performed on the offset data in the dynamic offset sequence according to the weight.
[0050] In an optional implementation, the deviation warning module is further configured to: comparing the deviation trend with a preset deviation trend threshold; When the deviation trend is greater than the deviation trend threshold, deviation warning information is generated.
[0051] In an optional embodiment, the device further includes a synchronization change checking module, configured to: Obtain the latest configuration information of the power distribution equipment in the ledger database; wherein the latest configuration information includes the latest main control component configuration and the latest auxiliary component configuration; When a configuration difference between the main control component configuration and the latest main control component configuration is detected, determining whether the auxiliary component configuration is changed synchronously with the main control component configuration; When any subsidiary component has not been changed synchronously, all component combinations that have not been changed synchronously are added to the unsynchronized change sequence; wherein the component combination includes the main control component and the corresponding subsidiary components that have not been changed synchronously; The unsynchronized change sequence is pushed to the control terminal, so that the control terminal generates a component change policy.
[0052] In an optional implementation, the synchronization change checking module is further configured to: When all the subsidiary components have been synchronously changed, obtaining the main control component change time of the main control component and the subsidiary component change time of each subsidiary component; The time difference between the change time of the main control component and the change time of each of the subsidiary components is calculated, and when the time difference is greater than a preset time difference threshold, the corresponding subsidiary component is marked as change delayed.
[0053] In an optional implementation, the update instruction further includes a priority, and the priority includes urgent and non-urgent. Then, the apparatus further includes an instruction sending module, which is configured to: When receiving a plurality of update instructions, checking whether the data in each update instruction is complete, and eliminating the update instructions with incomplete data; From the remaining update instructions, the update instructions with the urgent priority are preferentially selected and sent to the control terminal.
[0054] In a third aspect, an embodiment of the present invention provides an electronic device, see Figure 3 , which is a structural diagram of an electronic device provided by an embodiment of the present invention.
[0055] like Figure 3 As shown, the device includes: Memory 31, for storing computer programs; a processor 32, configured to execute the computer program; Wherein, when the processor 32 executes the computer program, the method for automatically updating the distribution equipment ledger data as described in any of the above embodiments is implemented.
[0056] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 31 and executed by the processor 32 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0057] The processor 32 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0058] The memory 31 can be used to store the computer programs and / or modules. The processor 32 implements the various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory 31 and accessing the data stored in the memory 31. The memory 31 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as sound playback or image playback); the data storage area may store data generated based on the use of the mobile phone (such as audio data and a phone book). Furthermore, the memory 31 may include high-speed random access memory (RAM) and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0059] It should be noted that the above electronic devices include, but are not limited to, processors and memories. Those skilled in the art will understand that Figure 3 The structural diagram is merely an example of the electronic device described above and does not limit the electronic device. The electronic device may include more components than shown in the figure, or may combine certain components, or may include different components.
[0060] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method for automatically updating the inventory data of distribution equipment described in any of the above embodiments is implemented.
[0061] It should be understood that the present invention can implement all or part of the processes in the above-mentioned method for automatically updating the inventory data of power distribution equipment, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned method for automatically updating the inventory data of power distribution equipment. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0062] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. It should be pointed out that for those skilled in the art, several equivalent obvious variations and / or equivalent replacements can be made without departing from the technical principles of the present invention. These obvious variations and / or equivalent replacements should also be regarded as the scope of protection of the present invention.
Claims
1. A method for automatically updating distribution equipment ledger data, characterized in that: include: Obtaining the physical location and actual configuration of the power distribution equipment collected by sensors in real time; wherein the actual configuration includes the configuration of the main control component and the configuration of the auxiliary components; When the physical location and the actual configuration change, generate an update instruction; wherein the update instruction includes the device number and change record of the power distribution device; The update instruction is sent to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the device number.
2. The method for automatically updating distribution equipment ledger data according to claim 1, characterized in that: The method further comprises: Obtaining a reference position of the power distribution equipment, and calculating offset data based on the reference position and the physical position; wherein the offset data includes an offset amount and an offset direction; Using a sliding window method, the offset data within a preset time period is counted to obtain a dynamic offset sequence; A weighted average algorithm is used to perform weighted calculation on the dynamic offset sequence to obtain an offset trend of the power distribution equipment, and an offset warning is performed based on the offset trend.
3. The method for automatically updating the distribution equipment ledger data according to claim 2, characterized in that: The adopting a weighted average algorithm to perform weighted calculation on the dynamic offset sequence includes: Assigning weights to different offset data in the dynamic offset sequence according to a preset weighting rule; wherein the weighting rule is that the offset data closer to the current time point has a higher weight; A weighted average calculation is performed on the offset data in the dynamic offset sequence according to the weight.
4. The method for automatically updating distribution equipment ledger data according to claim 2, characterized in that: The performing of a deviation warning according to the deviation trend includes: comparing the deviation trend with a preset deviation trend threshold; When the deviation trend is greater than the deviation trend threshold, deviation warning information is generated.
5. The method for automatically updating distribution equipment ledger data according to claim 1, wherein: The method further comprises: Obtain the latest configuration information of the power distribution equipment in the ledger database; wherein the latest configuration information includes the latest main control component configuration and the latest auxiliary component configuration; When a configuration difference between the main control component configuration and the latest main control component configuration is detected, determining whether the auxiliary component configuration is changed synchronously with the main control component configuration; When any subsidiary component has not been changed synchronously, all component combinations that have not been changed synchronously are added to the unsynchronized change sequence; wherein the component combination includes the main control component and the corresponding subsidiary components that have not been changed synchronously; The unsynchronized change sequence is pushed to the control terminal, so that the control terminal generates a component change policy.
6. The method for automatically updating the distribution equipment ledger data according to claim 5, characterized in that: The method further comprises: When all the subsidiary components have been synchronously changed, obtaining the main control component change time of the main control component and the subsidiary component change time of each subsidiary component; The time difference between the change time of the main control component and the change time of each of the subsidiary components is calculated, and when the time difference is greater than a preset time difference threshold, the corresponding subsidiary component is marked as change delayed.
7. The method for automatically updating distribution equipment ledger data according to claim 1, wherein: The update instruction also includes a priority, and the priority includes urgent and non-urgent. Then, the method further includes: When receiving a plurality of update instructions, checking whether the data in each update instruction is complete, and eliminating the update instructions with incomplete data; From the remaining update instructions, the update instructions with the urgent priority are preferentially selected and sent to the control terminal.
8. A device for automatically updating the ledger data of power distribution equipment, characterized in that: include: A data acquisition module is used to obtain the physical location and actual configuration of the power distribution equipment collected by sensors in real time; wherein the actual configuration includes the configuration of the main control component and the configuration of the auxiliary components; An instruction generation module, configured to generate an update instruction when the physical location and the actual configuration change; wherein the update instruction includes the device number and change record of the power distribution device; The data update module is used to send the update instruction to the control terminal so that the control terminal updates the change record to the ledger database corresponding to the device number.
9. An electronic device, characterized in that: include: memory for storing computer programs; a processor for executing the computer program; Wherein, when the processor executes the computer program, the method for automatically updating the distribution equipment inventory data as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the method for automatically updating the distribution equipment inventory data according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Mining equipment management method, device and system based on Internet of Things
CN111160804A
Accessory standing book synchronous processing method and device
CN116415894A
Wind turbine generator safety monitoring method and system based on Beidou positioning
CN117167215A
Thermal power plant inspection and defect elimination method based on working equipment ledger
CN118886574A
Database system for triggering event notifications based on updates to database records
US9690820B1