A method and system for visualizing integrated wiring information
The method enhances the accuracy of integrated wiring information visualization by analyzing power data sequences to detect and mark abnormal points, addressing noise interference and improving fault detection in smart home systems.
Patent Information
- Application Number
- CN202411141616.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-08-20
AI Technical Summary
Existing methods for visualizing integrated wiring information in smart homes fail to accurately obtain line abnormality data, leading to potential noise data interference and errors in the visualization results.
A method for visualizing integrated wiring information that involves obtaining power data sequences, determining abnormal significance and demand intensity of power data points, expanding reference data segments, and marking abnormal data points based on significant values compared to a threshold, using a system with a processor and memory to execute the method.
Improves the accuracy of integrated wiring information visualization by reducing noise data impact and enhancing the detection of abnormal data points, allowing timely and accurate fault location.
Smart Images

Figure CN118656765B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for visualizing integrated wiring information. Background Art
[0002] With the continuous development and growth of the smart home market, the visualization of integrated wiring information has become an indispensable part of the smart home control system. It comprehensively collects relevant information of the home circuit integrated wiring system, including cable length, location, connection points, etc., and organizes and standardizes the collected data so that operation and maintenance managers can quickly grasp the overall layout of the wiring system. When a line fails, the operation and maintenance personnel can quickly locate the node fault point.
[0003] The patent application document with publication number CN117155760A discloses a method for visual management of integrated wiring. The method obtains line QR code information, obtains wiring data according to the line QR code information, obtains line abnormality data based on the wiring data, inputs the line abnormality data into a preset line fault database, obtains line fault information and line fault feature data, and generates a line fault report based on the line fault feature data; visualizes the line fault report and transmits it to a management terminal.
[0004] The above-mentioned existing scheme obtains line fault reports through line abnormality data, which can realize visual management of integrated wiring. However, it does not record how to obtain line abnormality data, and there may be noise data interference when collecting line data through collection equipment. There may be noise data in the obtained line data abnormal data, resulting in errors in the final visualized integrated wiring information results.
[0005] Based on this, how to obtain line abnormality data to improve the accuracy of visualization of integrated wiring information is a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention
[0006] In order to solve the technical problem of how to obtain line abnormality data to improve the accuracy of integrated wiring information visualization, the present invention provides an integrated wiring information visualization method and system.
[0007] In a first aspect, the present invention provides a method for visualizing integrated wiring information, which adopts the following technical solution:
[0008] A method for visualizing integrated wiring information, comprising the steps of:
[0009] A power data sequence at a line node is obtained, wherein the power data sequence includes a plurality of power data points; a sample data segment of each of the power data points is preset, a difference between the power data point and the mean of the corresponding sample data segment is obtained, and the abnormal significance of the power data point is determined, wherein the abnormal significance is positively correlated with the absolute value of the difference; the difference between the abnormal significance of the power data point and each power data point in the corresponding sample data segment is obtained, and the demand intensity of the power data point for the reference data segment under the initial scale is determined, wherein the demand intensity is negatively correlated with the absolute value of the difference of the abnormal significance; the length of the reference data segment of the power data point is determined, and the length of the reference data segment is positively correlated with the demand intensity of the power data point; with the power data point as the center, the two sides of the power data point are expanded outward to obtain the reference data segment of the power data point, and the significant value of the power data point is determined, wherein the significant value is positively correlated with the demand intensity of the power data point in the reference data segment corresponding to the power data point; the abnormal data point at the line node is obtained and marked by comparing the significant value with the preset threshold value, so as to realize the visualization of the integrated wiring information.
[0010] The present invention obtains the demand intensity for the reference data segment by analyzing the changes of each power data point at the line node in its sample data segment, thereby obtaining the length of the reference data segment at the initial scale, and obtains the abnormal situation based on the characteristic changes in the reference data segment, and can accurately obtain the abnormal data points at the line node, thereby improving the accuracy of visualization of the integrated wiring information.
[0011] According to a method for visualizing integrated wiring information provided by the present invention, the determining of the abnormal significance of the power data point comprises: acquiring current data points corresponding to each power data point in the sample data segment to form a current data segment;
[0012] ;
[0013] In the formula, Indicates The anomaly significance of the power data points, Indicates The power value of the power data point, Indicates The mean of the sample data segment with power data points, Indicates The Pearson correlation coefficient between the sample data segment of each power data point and the corresponding current data segment, Indicates removal of The Pearson correlation coefficient between the sample data segment and the corresponding current data segment after the power data point and the corresponding current data point, represents the normalization function, Represents an exponential function with base e.
[0014] The present invention takes into account the accuracy of visualization of wiring information obtained by mixing abnormal data and noise data. The present invention further combines current data that is correlated with power data to reduce the impact of noise data on significant values, thereby effectively improving the accuracy of visualization of integrated wiring information.
[0015] According to a method for visualizing integrated wiring information provided by the present invention, the demand intensity of the power data point for the reference data segment at the initial scale satisfies the relationship:
[0016] ;
[0017] In the formula, Indicates The demand intensity of each power data point on the reference data segment at the initial scale, Indicates The anomaly significance of the power data points, Indicates The abnormal significance of the i-th power data point in the sample data segment of power data points, Indicates The number of power data points in a sample data segment with power data points, Indicates The number of extreme points in the sample data segment of power data points, Indicates The information entropy value of the power value in the sample data segment of power data points is Represents the normalization function.
[0018] The present invention provides an accurate calculation formula for the demand intensity of a power data point for a reference data segment at an initial scale, based on which the length of the reference data segment of the power data point at the initial scale can be accurately obtained later.
[0019] According to a method for visualizing integrated wiring information provided by the present invention, the determination of the length of the reference data segment of the power data point includes: a preset interval of demand intensity and a corresponding length of the reference data segment; by obtaining the interval where the demand intensity of the power data point is located, determining the length of the reference data segment corresponding to the interval where the power data point is located.
[0020] According to a method for visualizing integrated wiring information provided by the present invention, the determining of the significant value of the power data point includes: expanding both sides of the reference data segment outward by presetting the expansion step between scales to obtain the reference data segments of the power data point at different scales; determining the stable value of the power data point at different scales, the stable value is positively correlated with the demand intensity of the power data point in the reference data segment corresponding to the power data point; determining the reference value of the power data point at different scales, the reference value is positively correlated with the stable value of the power data point; and taking the average of the reference values of the power data points at all scales as the significant value of the power data point.
[0021] The present invention also takes into account the randomness of changes in data features in reference data segments at a single scale. Therefore, by combining and analyzing the data features of power data points in reference data segments at different scales, the significant values of power data points are obtained, which can effectively improve the accuracy of abnormal data points obtained based on this.
[0022] According to a method for visualizing integrated wiring information provided by the present invention, the reference values of the power data points at different scales satisfy the relationship:
[0023] ;
[0024] In the formula, Indicates The reference value of each power data point at the corresponding scale, Indicates The number of power data points in the reference data segment at the corresponding scale, Indicates The stable value of a power data point at the corresponding scale, Indicates In the reference data segment of the power data points, except The power data points outside The stable value of each power data point.
[0025] According to a method for visualizing integrated wiring information provided by the present invention, the abnormal data points at the line nodes are obtained and marked by comparing the significant value with the preset threshold, including: taking the power data points whose significant values are less than or equal to the preset threshold as normal data points; taking the power data points whose significant values are greater than the preset threshold as abnormal data points, and marking them.
[0026] The present invention takes into account that the emergence of abnormal data points may pose a safety hazard, and therefore performs visualization processing by marking the abnormal data points so that operation and maintenance personnel can obtain and process the abnormal data points in a timely and accurate manner.
[0027] In a second aspect, the present invention provides a comprehensive wiring information visualization system, which adopts the following technical solution:
[0028] A system for visualizing integrated wiring information comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned method for visualizing integrated wiring information is implemented.
[0029] By adopting the above technical solution, the above-mentioned integrated wiring information visualization method is generated into a computer program and stored in a memory to be loaded and executed by a processor, so that a terminal device is manufactured according to the memory and the processor for easy use.
[0030] The present invention has the following technical effects:
[0031] Based on the above scheme, the present invention obtains the demand intensity for the reference data segment by analyzing the changes of each power data point at the line node in its sample data segment, thereby obtaining the length of the reference data segment at the initial scale, and obtains the abnormal situation based on the characteristic changes in the reference data segment; at the same time, the present invention further combines the current data that is correlated with the power data to reduce the impact of noise data on the significant value, thereby effectively improving the accuracy of the visualization of the integrated wiring information; in addition, the present invention also effectively avoids the impact of the randomness of the data characteristic changes in the reference data segment at a single scale on the visualization result by combining the analysis of the data characteristics of the power data points in the reference data segments at different scales, thereby further improving the accuracy of the visualization of the integrated wiring information. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.
[0033] Figure 1 A schematic flow chart of a method for visualizing integrated wiring information provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0035] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.
[0036] It should be noted that when abnormal data appears at the line node, it is necessary to obtain the abnormal data points of the circuit parameters in a timely manner and visually mark them before feeding back to users and operation and maintenance personnel. The power data at the line node can reflect the line energy consumption in different devices or areas. Therefore, by monitoring the changes in the power data at the line node, the abnormal data points can be obtained, and the abnormal changes in the integrated wiring information in the area can be obtained, so that the operation and maintenance personnel can locate the faulty node in a timely manner.
[0037] Based on this, the embodiment of the present invention discloses a method for visualizing integrated wiring information. Figure 1 As shown, Figure 1 A schematic flow chart of a method for visualizing integrated wiring information provided by an embodiment of the present invention includes the following steps S1 to S5:
[0038] S1: Obtain a power data sequence at a line node, preset a sample data segment for each power data point, obtain the difference between the power data point and the mean of the corresponding sample data segment, and determine the abnormal significance of the power data point.
[0039] The power data sequence includes multiple power data points.
[0040] It should be noted that power data can reflect the line energy consumption in different devices or areas. Therefore, the significant value of the power data point can be obtained by analyzing the data feature changes of the power data point and its reference data segment, and then the abnormal situation of the power data point can be obtained by comparing the significant value with the threshold. However, different power data points may represent different change patterns due to different node positions. When analyzing their data features, the length of the reference data segment required may also be different, and there may be noise data when collecting power data at line nodes, resulting in errors in the data features of the obtained power data points.
[0041] Based on this, an embodiment of the present invention initializes a sample data segment of the same length for each power data point, analyzes the abnormal significance of the power data point in its sample data segment, and combines the current data that has a positive correlation with the power data to reduce the impact of noise data, so that the demand intensity for the reference data segment can be obtained based on the accurate data characteristics of the power data point.
[0042] For example, the line nodes may be electronic devices, for example, a smart home control system may use a smart refrigerator as a node, a smart air conditioner as a node, etc.; the control system may also divide the lines in the control area by wiring information to obtain various line nodes, for example, a line with a length of 5 meters is a node, etc. The line nodes may be specifically set according to actual needs, and the embodiments of the present invention do not impose too many restrictions on this.
[0043] Among them, a power quality analyzer can be used to collect power data of line nodes; a current sensor can be used to collect current data, which can be set according to actual needs. In order to facilitate subsequent data processing, the same sampling time corresponds to one power data point and one current data point.
[0044] For example, the sample data segment of the power data point includes the power data point itself. When obtaining the sample data segment of the power data point, the length of the sample data segment can be preset, specifically including the following two possible implementation methods:
[0045] In one possible implementation, a number of other power data points can be equally acquired on both sides of the power data point with the current power data point as the center, and together with the current power data point, they constitute the sample data segment of the current power data point; during the acquisition process, if the number of power data points on one side is insufficient, they can be supplemented on the other side.
[0046] In this implementation, the sample data segment of the power data point obtained includes the power data points on both sides of the power data point, so that the changes before and after the power data point can be fully reflected.
[0047] In another possible implementation, the current power data point may be used as the end of the sample data segment, and several other power data points may be sequentially acquired from the historical data. The power data points in the historical data and the current power data point together constitute the sample data segment of the current power data point.
[0048] In this implementation, the sample data segment of the power data point obtained only includes the historical data of the power data point. The sample data segment obtained in this way only needs to pay attention to the changes in the historical data, and does not need to wait for subsequent data. It has higher real-time performance and can obtain the changes in the power data point in time.
[0049] The above-mentioned method of obtaining the sample data segments of the power data points can be specifically set according to actual needs, and the embodiment of the present invention does not impose too many restrictions on this.
[0050] After obtaining the sample data segments of each power data point based on the above method, the data feature changes of the power data point in the sample data segment can be analyzed to obtain the abnormal significance of the power data point. Considering that there may be noise data interference in the power data, the noise data is mixed with the abnormal data, which affects the accuracy of the abnormal results of the power data points finally obtained. According to Ohm's law, there is a good positive correlation between the power data and the current data. Therefore, the abnormal data and noise data in the power data can be distinguished by the correlation between the two.
[0051] By way of example, in an embodiment of the present invention, when determining the abnormal significance of a power data point, current data points corresponding to each power data point in a sample data segment may be obtained to form a current data segment; wherein the abnormal significance of a power data point is positively correlated with the absolute value of the difference between the power data point and the mean of the corresponding sample data segment.
[0052] The specific formula for determining the abnormal significance of a power data point is as follows:
[0053] ;
[0054] In the formula, Indicates The anomaly significance of the power data points, Indicates The power value of the power data point, Indicates The mean power value of the sample data segment with power data points, Indicates The Pearson correlation coefficient between the sample data segment of each power data point and the corresponding current data segment, Indicates removal of The Pearson correlation coefficient between the sample data segment and the corresponding current data segment after the power data point and the corresponding current data point, represents the normalization function, Represents an exponential function with base e.
[0055] In the above formula, Indicates The difference between the power value of the power data point and the mean power value of its sample data segment. The larger the value, the greater the difference between the power value of the power data point and the mean power value of its sample data segment. The greater the deviation between a power data point and the average level of its sample data segment, the higher the abnormal significance of the power data point.
[0056] Indicates removal of The difference in Pearson correlation coefficient between the sample data segments before and after the power data point and the corresponding current data point is greater, indicating that the removal of the After the power data points and the corresponding current data points, the stronger the correlation between the remaining sample data segments and the corresponding current data segments, the The greater the possibility that a power data point belongs to noise data, the smaller the possibility that it belongs to abnormal data, and the smaller the corresponding abnormal significance.
[0057] Based on the above method, the abnormal significance of the power data point at the line node can be obtained, and based on the abnormal significance of the power data point, the demand intensity of the power data point for the reference data segment can be obtained:
[0058] S2: Obtain the difference between the power data point and the abnormal significance of each power data point in the corresponding sample data segment, and determine the demand intensity of the power data point for the reference data segment at the initial scale.
[0059] It should be noted that when analyzing the changes of power data points in the reference data segment at a single scale, the changes of frequency data in the selected reference data segment will be random and accidental, and the significant value of the power data point obtained based on this may have errors. Therefore, the length of the reference data segment of the frequency data point at different scales can be obtained, and combined with the changes of the frequency data point in the reference data segment at different scales, the accuracy of the significant value of the power data point can be effectively improved.
[0060] For example, when determining the length of the reference data segment of the frequency data point at different scales, the demand intensity of the power data point for the reference data segment at the initial scale can be determined first, thereby obtaining the length of the reference data segment of the power data point at the initial scale; on this basis, the reference data segment at the initial scale is expanded to obtain the length of the reference data segment of the power data point at other scales.
[0061] For example, in an embodiment of the present invention, the demand intensity of the power data point for the reference data segment at the initial scale is negatively correlated with the absolute value of the difference between the power data point and the abnormal significance of each power data point in the corresponding sample data segment; the demand intensity of the power data point for the reference data segment at the initial scale is determined, specifically referring to the following formula:
[0062] ;
[0063] In the formula, Indicates The demand intensity of each power data point on the reference data segment at the initial scale, Indicates The anomaly significance of the power data points, Indicates The abnormal significance of the i-th power data point in the sample data segment of power data points, Indicates The number of power data points in a sample data segment with power data points, Indicates The number of extreme points in the sample data segment of power data points, Indicates The information entropy value of the power value in the sample data segment of power data points is represents the normalization function, Represents the absolute value symbol.
[0064] In the above formula, Indicates The sum of the difference values of the abnormal significance of the power data point and the abnormal significance of each power data point in the sample data segment. The larger the value, the greater the abnormal significance of the first power data point. The power data point is more abnormal than other power data points in the sample data segment, that is, fewer power data points are needed to form the first The reference data segment of the power data point can capture the characteristic changes of the power data point more sensitively. Too many power data points in the reference data segment may cause The data features of the power data points are over-smoothed, causing errors.
[0065] The number of extreme points in the sample data segment of the power data point It can reflect the intensity of data changes in the sample data segment. The larger the value, the more intense the data changes in the sample data segment of the power data point and the greater the degree of discreteness.
[0066] The information entropy value of the power value in the sample data segment of the power data point can reflect the complexity of the data in the sample data segment. The larger the value is, the stronger the data change in the sample data segment of the power data point is, the higher the credibility is, and the corresponding discreteness is also higher.
[0067] Finally, the normalization function is used to normalize the numerical value of the demand intensity of the power data point for the reference data segment at the initial scale to the interval [0, 1], so that the length of the reference data segment corresponding to the power data point at different scales can be obtained later.
[0068] S3: Determine the length of the reference data segment of the power data point.
[0069] It should be noted that, since the variation characteristics of each power data point may be different, the intensity of its demand for the reference data segment may also be different; and the acquisition frequency at different line nodes may vary with the importance of the line, so the length of the power data sequence collected may also be different. Based on this, the present invention obtains the length of the reference data segment corresponding to the power data point at the initial scale by presetting the variation interval of the demand intensity and the length of the corresponding reference data segment.
[0070] By way of example, in an embodiment of the present invention, when determining the length of a reference data segment of a power data point, an interval of demand intensity and a corresponding length of the reference data segment may be preset; and by obtaining the interval in which the demand intensity of the power data point is located, the length of the reference data segment of the power data point is determined, wherein the length of the reference data segment is positively correlated with the demand intensity of the power data point.
[0071] For example, the interval of demand intensity can be preset with an interval of 0.1, and the intervals are [0, 0.1], (0.1, 0.2], (0.2, 0.3], (0.3, 0.4], (0.4, 0.5], (0.5, 0.6], (0.6, 0.7], (0.7, 0.8], (0.8, 0.9], (0.9, 1.0] respectively; the length of the corresponding reference data segment can be preset with 13 power data points as the starting point and 4 power data points as the interval, and the length of the reference data segment corresponding to each interval is 13, 17, 21, 25, 29, 33, 37, 41, 45, 49 respectively. If the value obtained based on the calculation formula of the demand intensity of the reference data segment of the power data point at the initial scale is 0.24, then the length of the reference data segment corresponding to the power data point at the initial scale is 21.
[0072] The interval of the required intensity and the length interval of the reference data segment can be set according to actual needs, and the embodiment of the present invention does not impose too many restrictions on this.
[0073] S4: Taking the power data point as the center, expanding both sides of the power data point outward to obtain a reference data segment of the power data point, and determining a significant value of the power data point.
[0074] It should be noted that, based on the above steps, the length of the reference data segment corresponding to the power data point at the initial scale can be obtained. On this basis, the reference data segment corresponding to the power data point at the initial scale is further expanded outward on both sides to obtain the length of the reference data segment corresponding to the power data point at other scales, and the change characteristics of the power data point in the reference data segment corresponding to different scales are analyzed to obtain the significant value; wherein, the significant value is positively correlated with the demand intensity of the power data point in the reference data segment corresponding to the power data point.
[0075] The number of scales for analyzing power data points can be set according to actual needs.
[0076] For example, in an embodiment of the present invention, when determining a significant value of a power data point, the following steps S401 to S403 are included:
[0077] S401: Expand both sides of the reference data segment outwards by presetting the inter-scale expansion step length to obtain reference data segments of power data points at different scales.
[0078] Preferably, the inter-scale expansion step length may be 20. The inter-scale expansion step length may be set according to actual needs.
[0079] For example, when the reference data segment is expanded outward on both sides by presetting the expansion step between scales to obtain the reference data segments of the power data points at different scales, the reference data segment can be expanded outward on one side by half of the expansion step between scales, and the sum of the reference data segment and the expansion step can be used as the length of the reference data segment at the new scale.
[0080] Take an example to illustrate the length of the reference data segment obtained by expansion at other scales: if the length of the reference data segment corresponding to the power data point at the initial scale is 21, the expansion step between scales is 20, and the number of scales is 3, then the length of the reference data segment at the second scale is 41, and the length of the reference data segment at the third scale is 61.
[0081] During the expansion process, if the number of power data points on one side is insufficient, it can be supplemented on the other side; if the number of power data points on both sides is insufficient, it is necessary to readjust the length of the reference data segment corresponding to the initial scale and the expansion step between scales.
[0082] After obtaining the reference data segments of the power data points at different scales based on the above steps, the stable values of the power data points in the reference data segments at different scales can be analyzed, and the reference values of the power data points at each scale can be obtained based on the stable values.
[0083] S402: Determine stable values of power data points at different scales, where the stable values are positively correlated with the demand intensity of the power data points in the reference data segment corresponding to the power data points; determine reference values of the power data points at different scales, where the reference values are positively correlated with the stable values of the power data points.
[0084] For example, in an embodiment of the present invention, when determining the stable value of a power data point at different scales, the average of the demand intensities of all power data points in the reference data segment corresponding to the power data point may be used as the stable value of the power data point at the scale.
[0085] For example, in the embodiment of the present invention, the reference values of power data points at different scales may be determined by referring to the following formula:
[0086] ;
[0087] In the formula, Indicates The reference value of each power data point at the corresponding scale, Indicates The number of power data points in the reference data segment at the corresponding scale, Indicates The stable value of a power data point at the corresponding scale, Indicates In the reference data segment of the power data points, except The power data points outside The stable value of each power data point.
[0088] S403: taking the mean of the reference values of the power data points at all scales as the significant value of the power data points.
[0089] Based on the above steps and combining the changes of power data points at multiple scales in the reference data segment, the randomness of power data changes in the reference data at a single scale can be avoided, thereby effectively improving the accuracy of the significant value of the obtained power data point.
[0090] S5: By comparing the significant value with the preset threshold, the abnormal data points at the line nodes are obtained and marked to realize the visualization of the integrated wiring information.
[0091] It should be noted that by calculating the comparison result between the significant value of each power data point at the line node and the preset threshold, the abnormal data points in the power data sequence can be obtained. In order to facilitate user viewing and subsequent operation and maintenance personnel to handle the anomalies in a timely and accurate manner, the abnormal data points can be visually marked.
[0092] Preferably, the preset threshold may be 0.8; the threshold may be specifically set according to actual needs.
[0093] For example, in the embodiment of the present invention, when abnormal data points at line nodes are obtained and marked by comparing the significant value with the preset threshold, the following two possible situations are included:
[0094] In one possible case, the significant value of the power data point is less than or equal to a preset threshold; in this case, the power data point is a normal data point.
[0095] In another possible case, the significance value of the power data point is greater than a preset threshold; in this case, the power data point is an abnormal data point, and the abnormal data point is marked.
[0096] Considering that there may be safety risks at abnormal data points, the abnormal data points can be processed.
[0097] For example, if the power data point is an abnormal data point, an early warning prompt can be issued through the terminal to reduce the risk.
[0098] It can be seen that in an embodiment of the present invention, when realizing the visualization of integrated wiring information, a power data sequence at a line node can be obtained, and the power data sequence includes multiple power data points; a sample data segment of each power data point is preset, and the difference between the power data point and the mean of the corresponding sample data segment is obtained to determine the abnormal significance of the power data point, and the abnormal significance is positively correlated with the absolute value of the difference; the difference between the abnormal significance of the power data point and each power data point in the corresponding sample data segment is obtained to determine the demand intensity of the power data point for the reference data segment at the initial scale, and the demand intensity is negatively correlated with the absolute value of the difference in abnormal significance; the length of the reference data segment of the power data point is determined, and the length of the reference data segment is positively correlated with the demand intensity of the power data point; with the power data point as the center, the two sides of the power data point are expanded outward to obtain the reference data segment of the power data point, and the significant value of the power data point is determined, and the significant value is positively correlated with the demand intensity of the power data point in the reference data segment corresponding to the power data point; through the comparison result of the significant value with the preset threshold, the abnormal data point at the line node is obtained and marked to realize the visualization of integrated wiring information.
[0099] In this way, the present invention obtains the demand intensity for the reference data segment by analyzing the changes of each power data point at the line node in its sample data segment, thereby obtaining the length of the reference data segment at the initial scale, and obtaining the abnormal situation based on the characteristic changes in the reference data segment; at the same time, taking into account that the mixing of abnormal data and noise data affects the accuracy of the visualization results, the present invention further combines the current data that is correlated with the power data to reduce the impact of noise data on the significant value, thereby effectively improving the accuracy of the visualization of the integrated wiring information; in addition, the present invention also takes into account the randomness of the data characteristic changes in the reference data segment at a single scale, and therefore further improves the accuracy of the visualization of the integrated wiring information by combining and analyzing the data characteristics of the power data points in the reference data segments at different scales.
[0100] An embodiment of the present invention further discloses a system for visualizing integrated wiring information, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an integrated wiring information visualization method according to the present invention is implemented.
[0101] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0102] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM, a dynamic random access memory DRAM, a static random access memory SRAM, an enhanced dynamic random access memory EDRAM, a high bandwidth memory HBM, a hybrid memory cube HMC, etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device.
[0103] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
[0104] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for visualizing integrated wiring information, characterized in that: include: Acquire a power data sequence at a line node, wherein the power data sequence includes a plurality of power data points; Presetting a sample data segment for each of the power data points, obtaining a difference between the power data point and a mean value of the corresponding sample data segment, and determining the abnormal significance of the power data point, wherein the abnormal significance is positively correlated with the absolute value of the difference, and determining the abnormal significance of the power data point includes: Acquire current data points corresponding to each power data point in the sample data segment to form a current data segment; ; In the formula, Indicates The anomaly significance of the power data points, Indicates The power value of the power data point, Indicates The mean of the sample data segment with power data points, Indicates The Pearson correlation coefficient between the sample data segment of each power data point and the corresponding current data segment, Indicates removal of The Pearson correlation coefficient between the sample data segment and the corresponding current data segment after the power data point and the corresponding current data point, represents the normalization function, represents an exponential function with base e; Obtaining a difference between the power data point and each power data point in the corresponding sample data segment, and determining the demand intensity of the power data point for the reference data segment at the initial scale, wherein the demand intensity is negatively correlated with the absolute value of the difference between the power data point and the corresponding sample data segment; Determine the length of the reference data segment of the power data point, the length of the reference data segment is positively correlated with the demand intensity of the power data point; take the power data point as the center, expand outward on both sides of the power data point to obtain the reference data segment of the power data point, and determine the significant value of the power data point, the significant value is positively correlated with the demand intensity of the power data point in the reference data segment corresponding to the power data point; By comparing the significant value with the preset threshold, the abnormal data points at the line nodes are obtained and marked to realize the visualization of the integrated wiring information.
2. A method for visualizing integrated wiring information according to claim 1, characterized in that: The demand intensity of the power data point for the reference data segment at the initial scale satisfies the relationship: ; In the formula, Indicates The demand intensity of each power data point on the reference data segment at the initial scale, Indicates The anomaly significance of the power data points, Indicates The abnormal significance of the i-th power data point in the sample data segment of power data points, Indicates The number of power data points in a sample data segment with power data points, Indicates The number of extreme points in the sample data segment of power data points, Indicates The information entropy value of the power value in the sample data segment of power data points is Represents the normalization function.
3. A method for visualizing integrated wiring information according to claim 1, characterized in that: The determining the length of the reference data segment of the power data point comprises: Preset demand intensity intervals and corresponding reference data segment lengths; By acquiring the interval where the demand intensity of the power data point is located, the length of the reference data segment corresponding to the interval where the power data point is located is determined.
4. A method for visualizing integrated wiring information according to claim 1, characterized in that: Determining the significant value of the power data point includes: Expanding both sides of the reference data segment outward by presetting the inter-scale expansion step length to obtain reference data segments of the power data point at different scales; determining a stable value of the power data point at different scales, wherein the stable value is positively correlated with the demand intensity of the power data point in the reference data segment corresponding to the power data point; Determining reference values of the power data points at different scales, wherein the reference values are positively correlated with stable values of the power data points; The mean of the reference values of the power data points at all scales is taken as the significant value of the power data point.
5. A method for visualizing integrated wiring information according to claim 4, characterized in that: The reference values of the power data points at different scales satisfy the relationship: ; In the formula, Indicates The reference value of each power data point at the corresponding scale, Indicates The number of power data points in the reference data segment at the corresponding scale, Indicates The stable value of a power data point at the corresponding scale, Indicates In the reference data segment of the power data points, except The power data points outside The stable value of each power data point.
6. A method for visualizing integrated wiring information according to claim 1, characterized in that: The step of obtaining and marking abnormal data points at the line nodes based on the comparison result between the significant value and the preset threshold value includes: The power data points whose significant values are less than or equal to the preset threshold are regarded as normal data points; The power data points whose significant values are greater than a preset threshold are regarded as abnormal data points and marked.
7. A comprehensive wiring information visualization system, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a method for visualizing integrated wiring information according to any one of claims 1 to 6 is implemented.
