A detection system and method compatible with multiple power consumption information collection devices
Through pattern matching and scene fusion technology, simulation detection stations are generated, detection evaluation values are calculated, abnormal equipment levels are identified, and the problems of high detection costs and poor compatibility of various power consumption information collection equipment in the existing technology are solved, and a variety of power consumption information collection equipment have been realized. Synchronous detection and performance distinction of equipment.
Patent Information
- Application Number
- CN202411254974.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-09-09
AI Technical Summary
The existing power consumption information collection equipment detection system cannot synchronize the detection of multiple different types of power consumption information collection equipment in one overall mode, resulting in high detection costs and poor compatibility, making it difficult to accurately detect and distinguish equipment with different performance intensity.
Using pattern matching filtering module, scene fusion construction module, detection site construction module and data acquisition and calculation module, by receiving detection tasks, extracting task attributes, filtering object detection modes, building basic detection scenarios, generating task detection scenarios, and in adjacent tasks Establish a two-way channel between detection scenarios, obtain comprehensive detection parameters, calculate detection evaluation values, and identify and divide abnormal equipment levels.
The synchronous performance detection of multiple power consumption information collection equipment is realized, which reduces the detection cost, improves the compatibility of the detection system, and can accurately distinguish equipment with different performance strengths.
Smart Images

Figure CN118821618B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment detection, and more specifically, to a detection system and method for equipment compatible with multiple types of electricity consumption information collection. Background Art
[0002] Electricity consumption information collection equipment includes single and three-phase meters, concentrators, special transformers, energy controllers, and integrated terminals. They have different interface structures and detection specifications. In the infrastructure construction and daily operations of the power industry, it is necessary to collect different electricity consumption information through a variety of different types of electricity consumption information collection equipment. In order to accurately understand the performance status of the electricity consumption information collection equipment and improve the accuracy of electricity consumption information collection in the power industry, it is necessary to test the performance of the electricity consumption information collection equipment.
[0003] The patent application with reference publication number CN107942283A discloses a system and method for detecting the operating status of an automatic calibration line of an electric energy meter. Under the premise of not affecting the daily production of the automatic calibration line of the electric energy meter and not changing the original hardware and software of the automatic calibration line, the system and method can simply, comprehensively and efficiently detect the full operating status of the automatic calibration line of the electric energy meter, detect abnormalities in time and give an alarm, prompt various fault phenomena of the automatic calibration line of the electric energy meter, and ensure the reliable and stable operation of the automatic calibration line of the electric energy meter, and have high practical value and application prospects;
[0004] The prior art has the following deficiencies:
[0005] The existing electricity consumption information collection equipment detection system adopts a detection method in which one detection terminal corresponds to one collection device, so that different types of electricity consumption information collection equipment require multiple detection terminals to perform separate detection one by one. This detection method will make it impossible for multiple different types of electricity consumption information collection equipment to perform synchronous overall detection in an overall detection mode, which will lead to an increase in detection costs and reduce the compatibility of the detection system, which is not conducive to accurate detection and differentiation of electricity consumption information collection equipment with different performance strengths.
[0006] In view of this, the present invention proposes a detection system and method compatible with multiple power consumption information collection devices to solve the above problems. Summary of the invention
[0007] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solutions: a detection system compatible with multiple power consumption information collection devices, applied to a device detection platform, comprising:
[0008] The pattern matching and screening module is used to receive the detection task of the power consumption information collection device, extract the task attributes from the detection task, and screen the target detection pattern from the task database;
[0009] The scene fusion construction module is used to construct the basic detection scene, mark the scene positions in the basic detection scene, and fuse the target detection mode with the scene positions to generate the task detection scene;
[0010] The detection site construction module is used to import the power consumption information collection equipment into the corresponding task detection scene, establish a two-way channel between two adjacent task detection scenes, and generate a simulation detection station;
[0011] The data acquisition and calculation module is used to obtain the comprehensive detection parameters of the power consumption information collection equipment in the simulation detection station, the comprehensive detection parameters include response feedback time, fault trigger frequency and data transmission rate, and calculate the detection evaluation value according to the comprehensive detection parameters;
[0012] The abnormality level classification module is used to identify abnormal devices after comparing the detection evaluation value with the standard evaluation value, and classify the abnormal devices into abnormal levels, including the first abnormality level and the second abnormality level.
[0013] Furthermore, the method for extracting task attributes includes:
[0014] Receive A detection tasks of power consumption information collection devices sent by the user end, and obtain A detection tasks;
[0015] Using natural language processing technology, p text parts in A detection tasks are identified one by one, and the p text parts in the same detection task are combined in sequence to generate keywords;
[0016] Compare the keywords of A detection tasks with the standard words stored in the database in turn, and record the keywords with characters that overlap with the standard words as target keywords;
[0017] The target keywords are split into fonts word by word through word segmentation technology, and the fonts that are the same as the standard characters are recorded as valid fonts;
[0018] According to the order of font splitting, valid fonts are combined in sequence to form task attributes, and A task attributes are obtained.
[0019] Furthermore, the screening method of the target detection mode includes:
[0020] Query the mode attributes of all detection modes in the task database one by one, and identify the mode fields from the mode attributes;
[0021] Compare the pattern fields with the task attributes in turn, record the pattern fields that coincide with the task attributes as the target fields, and record the detection pattern where the target fields are located as the detection pattern to be verified, and obtain s detection patterns to be verified;
[0022] The recording times of the to-be-verified detection modes with the same target field are queried one by one by using the timestamp, and the recording times are arranged in chronological order;
[0023] Eliminate the detection patterns to be verified except those whose recording time is at the first position, and record the remaining detection patterns to be verified as target detection patterns, so as to obtain A target detection patterns.
[0024] Furthermore, the marking method of the scene station includes:
[0025] Through virtual simulation technology, blank scenes with rectangular structures are planned in the equipment detection platform, and a remark box is established in the lower right corner of the blank scene;
[0026] Draw A horizontally distributed remark positions in the remark box, and import A task attributes into the A remark positions one by one to generate a basic detection scene;
[0027] Randomly mark w non-adjacent scene points in the basic detection scene, and draw w scene circles with the w scene points as the center and a preset first length as the radius;
[0028] Identify the position states of w scene circles one by one, and record the scene circles that do not have an intersection state, a tangent state, or an overlap state as scene positions;
[0029] The generation method of the task detection scenario includes:
[0030] The four boundaries of the basic detection scene are identified through computer vision technology, and lines are drawn along the four boundaries to obtain four contour lines;
[0031] Draw two diagonal lines of the four contour lines, and record the intersection of the two diagonal lines as the midpoint of the scene;
[0032] Taking the midpoint of the scene as the base point and the preset second length as the scanning radius, a scanning line is drawn to obtain a scanning line;
[0033] Rotate the scan line clockwise in the basic detection scene until the scan line scans A scene stations and then stops rotating, and the scan line scans A scene stations as target scene stations;
[0034] According to the scanning sequence of the target scene workstations, A target detection patterns are successively imported into the A target scene workstations to fuse the workstations and patterns, thereby generating A task detection scenes.
[0035] Furthermore, the method for generating the simulation detection station includes:
[0036] Draw device frames at the tail ends of A task detection scenes respectively, and mark two independent information bits in the A device frames respectively, to obtain A first information bits and A second information bits;
[0037] Fill the A detection tasks one by one into the first information bits of the device boxes on the corresponding A task detection scenes to obtain the filled A first information bits;
[0038] Fill the A power consumption information collection devices one by one into the second information bits of the device boxes on the corresponding A task detection scenes to obtain the filled A second information bits;
[0039] Binding the device frames having the filled first information bit and the second information bit to the corresponding task detection scenarios one by one to obtain the bound task detection scenarios;
[0040] The A bound task detection scenes are numbered and arranged in ascending order, and a two-way channel is established between two adjacent task detection scenes to obtain A-1 two-way channels;
[0041] The first Two-way channel with The connection points of the task detection scenes are recorded as compatible trigger points, and A-1 compatible trigger points are obtained;
[0042] Compatible trigger conditions corresponding to the compatible trigger points are sequentially configured on A-1 compatible trigger points, and after the compatible trigger conditions are matched with the compatible trigger points one by one, A simulation detection stations are obtained.
[0043] Furthermore, the method for obtaining the response feedback duration includes:
[0044] Based on A task attributes, instructions corresponding to the A task attributes are formulated respectively to obtain A task instructions;
[0045] At time T1, A task instructions are sent to the corresponding A simulation detection stations respectively, and the time when A power consumption information collection devices receive A task instructions is recorded to obtain the A instruction receiving time;
[0046] The power consumption information collection device parses the corresponding task instruction to generate an instruction field, and forwards the instruction field to the processor of the power consumption information collection device for execution of the instruction field;
[0047] Record the time when the processors of A power consumption information collection devices execute the instruction field one by one through the timestamp to obtain the A instruction execution time;
[0048] The time from the time when A instructions are received to the time when A instructions are executed is recorded as the total response time, and A total response time is obtained;
[0049] Query the inherent delay time of A power consumption information collection devices one by one through the technical parameter table, and obtain A response feedback time by subtracting the total response time of A from the corresponding inherent delay time;
[0050] The expression of response feedback duration is:
[0051] ;
[0052] In the formula, For the The response feedback time of each power consumption information collection device, For the The total response time of each power consumption information collection device, For the The inherent delay time of each power consumption information collection device.
[0053] Furthermore, the method for obtaining the fault trigger frequency includes:
[0054] During the period corresponding to the A response feedback duration, all operation logs of the A power consumption information collection device are queried through the security management system, and the security status of the operation logs is marked;
[0055] The number of operation logs whose security status is a low security status and the number of operation logs whose security status is a fault status are respectively counted, and recorded as a first fault value and a second fault value;
[0056] The first fault value and the second fault value are respectively assigned corresponding weight coefficients and then added to obtain A fault trigger values;
[0057] The expression of the fault trigger value is:
[0058] ;
[0059] In the formula, For the The fault trigger value of each power consumption information collection device, For the The first fault value of each power consumption information collection device, For the The second fault value of a power consumption information collection device, , is a weight coefficient greater than 0;
[0060] Compare A fault trigger values with the corresponding A response feedback durations one by one to obtain A fault trigger frequencies;
[0061] The expression of fault trigger frequency is:
[0062] ;
[0063] In the formula, For the The fault trigger frequency of each power consumption information collection device.
[0064] Furthermore, the method for obtaining the data transmission rate includes:
[0065] A1: At time T2, an equal amount of data to be measured is input to A power consumption information collection devices at the same time, and the transmission number is marked on the data to be measured one by one;
[0066] A2: After the preset transmission time, identify the numbers of the data output by the data transmission module one by one, record the data with the same number as the transmission number as valid data, and count the number of valid data to obtain the transmission amount value;
[0067] A3: Repeat Repeat steps A1 to A2 to obtain The transmission value;
[0068] A4: After comparing the transmission volume values with the preset transmission time in turn, we get Sub-transmission rate;
[0069] The expression of sub-transmission rate is:
[0070] ;
[0071] In the formula, For the The first power consumption information collection device The transmission rate of each sub- For the The first power consumption information collection device The transmission value, is the preset transmission duration;
[0072] A5: After removing the maximum and minimum values of the sub-transmission rate, the remaining The sub-transmission rates are accumulated and averaged to obtain A data transmission rates;
[0073] The expression for data transmission rate is:
[0074] ;
[0075] In the formula, For the The data transmission rate of each power consumption information collection device is For the The first power consumption information collection device Sub-transmission rate;
[0076] The expression for the detection evaluation value is:
[0077] ;
[0078] In the formula, For the The detection and evaluation value of each power consumption information collection device, , , is the weight coefficient.
[0079] Furthermore, the method for identifying abnormal devices includes:
[0080] Subtract the detection evaluation values of A power consumption information collection devices from the corresponding standard evaluation values to obtain A evaluation difference values;
[0081] The expression to evaluate the difference is:
[0082] ;
[0083] In the formula, For the The evaluation difference of each power consumption information collection device is For the Standard evaluation value of each electricity consumption information collection device;
[0084] when When it is less than or equal to 0, the A power consumption information collection device is identified as an abnormal device;
[0085] when When it is greater than 0, A power consumption information collection device is identified as an abnormal device, and B abnormal devices are obtained;
[0086] The classification methods of the primary abnormality level and the secondary abnormality level include:
[0087] The evaluation difference of B abnormal devices The preset evaluation level threshold Compare;
[0088] when Greater than or equal to When The abnormal devices are divided into two abnormal levels;
[0089] when Less than When The abnormal devices are divided into the first abnormal level.
[0090] A detection method for a device compatible with multiple power consumption information collection devices is applied to a device detection platform and is implemented based on a detection system compatible with multiple power consumption information collection devices, including:
[0091] S1: Receive the detection task of the power consumption information collection device, extract the task attributes from the detection task, and filter out the target detection mode from the task database;
[0092] S2: Construct a basic detection scene, mark the scene positions in the basic detection scene, and generate a task detection scene by fusing the target detection mode with the scene positions;
[0093] S3: Import the electricity consumption information collection device into the corresponding task detection scene, and establish a two-way channel between two adjacent task detection scenes to generate a simulation detection station;
[0094] S4: Obtain comprehensive detection parameters of the power consumption information collection device in the simulation detection station, the comprehensive detection parameters including response feedback time, fault trigger frequency and data transmission rate, and calculate the detection evaluation value according to the comprehensive detection parameters;
[0095] S5: After comparing the detection evaluation value with the standard evaluation value, abnormal devices are identified and classified into abnormal levels, including a primary abnormal level and a secondary abnormal level.
[0096] The technical effects and advantages of the present invention's detection system and method for compatible multiple power consumption information collection devices are as follows:
[0097] The present invention receives a detection task of an electricity consumption information collection device, extracts task attributes from the detection task, and screens out a target detection mode from a task database, constructs a basic detection scene, marks the scene station in the basic detection scene, and generates a task detection scene after fusing the target detection mode with the scene station, imports the electricity consumption information collection device into the corresponding task detection scene, establishes a two-way channel between two adjacent task detection scenes, generates a simulation detection station, obtains comprehensive detection parameters of the electricity consumption information collection device in the simulation detection station, calculates a detection evaluation value based on the comprehensive detection parameters, compares the detection evaluation value with the standard evaluation value, identifies abnormal devices, and classifies the abnormal devices into abnormal levels; compared with the prior art, the present invention collects task attributes of different electricity consumption information collection devices, and screens out the target detection mode and the scene station, so as to generate a task detection scene, imports the electricity consumption information collection device into the corresponding task detection scene, and establishes a two-way channel between two adjacent task detection scenes, generates a simulation detection station, obtains comprehensive detection parameters of the electricity consumption information collection device in the simulation detection station, and calculates a detection evaluation value based on the comprehensive detection parameters, identifies abnormal devices after comparing the detection evaluation value with the standard evaluation value ... The target detection mode that is adapted to the characteristics of the equipment can accurately match the detection object of each electricity consumption information collection device, and by building an integrated simulation detection station, it can be compatible with a variety of different types of electricity consumption information collection devices for synchronous performance detection operations. There is no need to use multiple different detection terminals to perform separate detections on different types of electricity consumption information collection devices, which achieves the effect of one detection terminal being compatible with multiple devices for simultaneous detection, thereby effectively avoiding the high cost and poor compatibility problems caused by separate detections of multiple detection terminals. By calculating the detection evaluation value through comprehensive detection parameters, the performance detection results of the electricity consumption information collection device can be accurately calculated, and a basis can be provided for distinguishing the performance strength of the subsequent electricity consumption information collection equipment, thereby achieving the effect of accurately distinguishing between electricity consumption information collection devices with different performance strengths. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] Figure 1 A schematic diagram of a detection system compatible with multiple power consumption information collection devices provided in Embodiment 1 of the present invention;
[0099] Figure 2 A flowchart of a detection method compatible with multiple power consumption information collection devices provided in Embodiment 2 of the present invention;
[0100] Figure 3 A schematic diagram of a structural diagram of an electronic device provided in Embodiment 3 of the present invention;
[0101] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0102] 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 only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0103] Example 1: Please refer to Figure 1 As shown, the present embodiment describes a detection system compatible with multiple power consumption information collection devices, which is applied to a device detection platform and includes:
[0104] The pattern matching and screening module receives the detection task of the power consumption information collection device, extracts the task attributes from the detection task, and screens the target detection pattern from the task database;
[0105] The detection task refers to the specific task requirements of the power consumption information collection device during detection, and serves as the basis for extracting subsequent task attributes. The task attribute refers to the specific representation of the included items of the detection task of the power consumption information collection device, so as to distinguish the detection tasks of different power consumption information collection devices, and serves as the basis for subsequent screening of relevant patterns from the task database;
[0106] The methods for extracting task attributes include:
[0107] Receive A detection tasks of power consumption information collection devices sent by the user end, and obtain A detection tasks;
[0108] Through natural language processing technology, p text parts in A detection tasks are identified one by one, and p text parts in the same detection task are combined in sequence to generate keywords; keywords are used to represent the text parts corresponding to the detection tasks in a real and concise manner, so that complex detection tasks can be represented in a concise and real manner;
[0109] Compare the keywords of A detection tasks with the standard words stored in the database in sequence, and record the keywords with characters that overlap with the standard words as target keywords; the standard words refer to the keywords pre-stored in the database for representing the detection tasks of various power consumption information collection devices, and serve as the basis for subsequent comparison of target keywords;
[0110] The target keywords are split into fonts word by word through word segmentation technology, and the fonts that are the same as the standard characters are recorded as valid fonts;
[0111] According to the order of font splitting, valid fonts are combined in sequence to form task attributes, and A task attributes are obtained.
[0112] The target detection mode refers to a detection mode that can match the task attributes and can detect different power consumption information collection devices, ensuring that the detection tasks of different power consumption information collection devices can be detected in a suitable detection environment and providing a basis for subsequent compatibility detection;
[0113] The screening methods for target detection mode include:
[0114] The mode attributes of all detection modes in the task database are queried one by one, and the mode fields are identified from the mode attributes; the mode attributes are used to represent the detection mode attributes stored in the task database, and the detection modes with different attributes can be accurately distinguished;
[0115] Compare the pattern fields with the task attributes in turn, record the pattern fields that coincide with the task attributes as the target fields, and record the detection pattern where the target fields are located as the detection pattern to be verified, and obtain s detection patterns to be verified;
[0116] The recording times of the to-be-verified detection modes with the same target field are queried one by one by using the timestamp, and the recording times are arranged in chronological order;
[0117] Eliminate the unverified detection patterns except those whose recording time is in the first place, and record the remaining unverified detection patterns as target detection patterns, and obtain A target detection patterns; select the earliest unverified detection pattern as the target detection pattern, which can ensure the uniqueness of the number of target detection patterns and ensure that no similar detection pattern appears before the time corresponding to the target detection pattern, thereby eliminating the interference caused by similar detection patterns;
[0118] It should be noted that, since each task attribute is unique, the target detection mode corresponding to each task attribute is also unique, so that one task attribute corresponds to one target detection mode, and each power consumption information collection device can be independently detected and processed to ensure that each power consumption information collection device will not cross-influence each other during detection.
[0119] The scene fusion construction module constructs the basic detection scene, marks the scene positions in the basic detection scene, and generates the task detection scene after fusing the target detection mode with the scene positions;
[0120] The basic detection scene refers to a scene that can summarize and display multiple different target detection modes as a whole, and provide a detection framework for the detection modes of various different power consumption information collection devices. The scene station is a component unit of the basic detection scene, and can provide an import location for the combination of target detection mode and basic detection scene;
[0121] The marking methods for scene stations include:
[0122] Through virtual simulation technology, rectangular blank scenes are planned in the equipment detection platform, and a remark box is established in the lower right corner of the blank scene; a blank scene refers to a scene without substantial content and data, and serves as the basis for subsequent scene station identification and marking. The remark box, as a carrier for interpreting the blank scene, can provide a loading position for the text of the interpretation;
[0123] Draw A horizontally distributed remark positions in the remark frame, and import A task attributes into the A remark positions one by one to generate a basic detection scenario; the remark position is a specific bearing position for text used as an explanation, and the horizontal distribution method can ensure the relative independence of each remark position;
[0124] W non-adjacent scene points are randomly marked in the basic detection scene, and w scene circles are drawn with the w scene points as the circle center and a preset first length as the radius; the preset first length is a numerical representation of the drawing radius of the scene circle to ensure that the drawn scene circle is not too large or too small, thereby facilitating subsequent analysis and comparison of the scene circles;
[0125] The position states of the w scene circles are identified one by one, and the scene circles that do not have an intersection state, a tangent state, or an overlap state are recorded as scene positions. The position state is used to represent the position arrangement of each scene circle. Different position states represent that the scene circle is in a different position arrangement structure. The position state includes but is not limited to an intersection state, a tangent state, and an overlap state.
[0126] After the scene station is acquired, the scene station can be used as an object to be fused with the target detection mode, so that the target detection mode can be matched and fused one by one in the scene station, so that the basic detection scene can form a task detection scene;
[0127] The generation method of the task detection scenario includes:
[0128] The four boundaries of the basic detection scene are identified through computer vision technology, and lines are drawn along the four boundaries to obtain four contour lines;
[0129] Draw two diagonal lines of the four contour lines, and record the intersection of the two diagonal lines as the midpoint of the scene;
[0130] A scan line is obtained by taking the midpoint of the scene as the base point and the preset second length as the scanning radius; the preset second length is used to numerically represent the length of the drawn scan line, which can ensure that the drawn scan line is not too long or too short, and facilitates the subsequent scanning line scanning operation on the scene circle;
[0131] Rotate the scan line clockwise in the basic detection scene until the scan line scans A scene stations and then stops rotating, and the scan line scans A scene stations as target scene stations;
[0132] According to the scanning order of the target scene stations, A target detection patterns are imported into A target scene stations one by one to fuse the stations and patterns, and generate A task detection scenes. Fusion refers to the process of mutual matching and integration between the target scene stations and the target detection patterns, which can ensure the corresponding matching between the target scene stations and the target detection patterns.
[0133] It should be noted that after the task detection scene is generated, the task detection scene at this time can provide a direct and accurate detection environment for the electricity consumption information collection equipment, so that each target detection mode can correspond to an independent target scene workstation, thereby ensuring the orderliness and stability of subsequent electricity consumption information collection equipment detection.
[0134] The detection site construction module imports the power consumption information collection equipment into the corresponding task detection scene, establishes a two-way channel between two adjacent task detection scenes, and generates a simulation detection station;
[0135] A simulation detection station refers to a virtual detection site including an electricity consumption information collection device and a corresponding target detection mode, which is generated by combining a task detection scene with an electricity consumption information collection device, so that multiple simulation detection stations can perform synchronous and independent detection operations on each different electricity consumption information collection device, thereby achieving an overall detection effect compatible with different electricity consumption information collection devices;
[0136] The method for generating a simulation detection station includes:
[0137] Draw device frames at the end of A task detection scenes respectively, and mark two independent information bits in the A device frames respectively, to obtain A first information bits and A second information bits; the device frame is used to represent the data of the power consumption information collection device corresponding to the task detection scene, and the information bit is the smallest unit constituting the device frame, and provides an accurate position for filling the data of the power consumption information collection device;
[0138] Fill the A detection tasks one by one into the first information bits of the device boxes on the corresponding A task detection scenes to obtain the filled A first information bits;
[0139] Fill the A power consumption information collection devices one by one into the second information bits of the device boxes on the corresponding A task detection scenes to obtain the filled A second information bits;
[0140] Binding the device frames having the filled first information bit and the second information bit to the corresponding task detection scenarios one by one to obtain the bound task detection scenarios;
[0141] A bound task detection scenarios are numbered and arranged in ascending order in the order of numbering from small to large, and a bidirectional channel is established between two adjacent task detection scenarios to obtain A-1 bidirectional channels; the bidirectional channel is a channel for realizing the interaction of detection instructions and detection data between two adjacent task detection scenarios, so that the two adjacent task detection scenarios can achieve compatible detection effects between different types of electricity consumption information collection devices;
[0142] The first Two-way channel with The connection points of the task detection scenes are recorded as compatible trigger points, and A-1 compatible trigger points are obtained; the compatible trigger point refers to the control point that can control the on-off of the bidirectional channel, realizing the flexible on-off control of the bidirectional channel;
[0143] The compatible trigger conditions corresponding to the compatible trigger points are sequentially configured on A-1 compatible trigger points, and after matching the compatible trigger conditions with the compatible trigger points one by one, A simulation detection stations are obtained. The compatible trigger condition refers to the on-off control instruction corresponding to the compatible trigger point, which can provide the basis for switching control for the on-off state of the compatible trigger point.
[0144] It should be noted that when a simulation detection station is generated, the simulation detection station can be made to correspond one-to-one with the electricity consumption information collection equipment, and provide the necessary detection environment for the electricity consumption information collection equipment, so that different electricity consumption information collection equipment can perform synchronous and compatible detection operations on the same detection platform, thereby achieving diversified compatible detection effects.
[0145] The data acquisition and calculation module obtains the comprehensive detection parameters of the power consumption information collection equipment in the simulation detection station, and calculates the detection evaluation value based on the comprehensive detection parameters;
[0146] Comprehensive test parameters refer to the data that changes when the power consumption information collection equipment is tested in the simulation test station, which can represent the performance strength of the power consumption information collection equipment during the test and serve as the data basis for the subsequent calculation of the test evaluation value;
[0147] Comprehensive detection parameters include response feedback duration, fault trigger frequency, and data transmission rate;
[0148] The response feedback time refers to the time from when the power consumption information collection device receives the task instruction in the simulation detection station to when the task instruction is executed, which can represent the feedback processing performance of the power consumption information collection device. The longer the response feedback time is, the longer the time from when the power consumption information collection device receives the task instruction in the simulation detection station to when the task instruction is executed, and the lower the performance strength of the power consumption information collection device is, and the smaller the detection evaluation value is.
[0149] Methods for obtaining response feedback duration include:
[0150] Based on A task attributes, instructions corresponding to the A task attributes are formulated respectively to obtain A task instructions;
[0151] At time T1, A task instructions are sent to the corresponding A simulation detection stations respectively, and the time when A power consumption information collection devices receive A task instructions is recorded to obtain the A instruction receiving time;
[0152] The power consumption information collection device parses the corresponding task instruction to generate an instruction field, and forwards the instruction field to the processor of the power consumption information collection device for execution of the instruction field;
[0153] Record the time when the processors of A power consumption information collection devices execute the instruction field one by one through the timestamp to obtain the A instruction execution time;
[0154] The time from the time when A instructions are received to the time when A instructions are executed is recorded as the total response time, and A total response time is obtained;
[0155] The inherent delay time of A power consumption information collection devices is queried one by one through the technical parameter table, and A response feedback time is obtained by subtracting the total response time of A and the corresponding inherent delay time; the inherent delay time refers to the delay time of the power consumption information collection device itself when processing the instruction field, and the inherent delay time is deleted as useless data to improve the accuracy of the response feedback time;
[0156] The expression of response feedback duration is:
[0157] ;
[0158] In the formula, For the The response feedback time of each power consumption information collection device, For the The total response time of each power consumption information collection device, For the The inherent delay time of each power consumption information collection device.
[0159] The fault trigger frequency refers to the number of times the power consumption information collection device has a fault phenomenon per unit time in the simulation detection station, which can be used to represent the operational stability of the power consumption information collection device. The greater the fault trigger frequency, the more times the power consumption information collection device has a fault phenomenon per unit time in the simulation detection station, the lower the performance strength of the power consumption information collection device, and the smaller the detection evaluation value;
[0160] Methods for obtaining the fault trigger frequency include:
[0161] During the period corresponding to the A response feedback duration, all operation logs of the A power consumption information collection device are queried through the security management system, and the safety status of the operation log is marked; the safety status is used to represent the real status of the operation log and facilitate the subsequent calculation of the fault trigger frequency. The safety status includes low safety status, fault status and high safety status;
[0162] The number of operation logs whose security status is a low security status and the number of operation logs whose security status is a fault status are respectively counted, and recorded as a first fault value and a second fault value;
[0163] The first fault value and the second fault value are respectively assigned corresponding weight coefficients and then added to obtain A fault trigger values;
[0164] The expression of the fault trigger value is:
[0165] ;
[0166] In the formula, For the The fault trigger value of each power consumption information collection device, For the The first fault value of each power consumption information collection device, For the The second fault value of a power consumption information collection device, , is a weight coefficient greater than 0;
[0167] in, , exemplary, is 0.43, is 57; , The purpose is to balance the proportion of the first fault value and the second fault value in the fault trigger value, so that the first fault value and the second fault value can maintain a relatively balanced influence on the size of the fault trigger value, thereby ensuring the accuracy of the fault trigger value;
[0168] Compare A fault trigger values with the corresponding A response feedback durations one by one to obtain A fault trigger frequencies;
[0169] The expression of fault trigger frequency is:
[0170] ;
[0171] In the formula, For the The fault trigger frequency of each power consumption information collection device.
[0172] The data transmission rate refers to the amount of data transmitted by the power consumption information collection device per unit time in the simulation detection station, which can be used to represent the data transmission performance of the power consumption information collection device. The greater the data transmission rate, the greater the amount of data transmitted by the power consumption information collection device per unit time in the simulation detection station, the higher the performance strength of the power consumption information collection device, and the greater the detection evaluation value;
[0173] Methods for obtaining data transmission rate include:
[0174] A1: At time T2, an equal amount of data to be measured is input to A power consumption information collection devices at the same time, and the transmission number is marked on the data to be measured one by one;
[0175] A2: After the preset transmission time, the numbers of the data output by the data transmission module are identified one by one, and the data with the same number as the transmission number is recorded as valid data, and the number of valid data is counted to obtain the transmission amount value; the preset transmission time refers to the minimum time corresponding to at least one complete transmission of the data output by the data transmission module, which can ensure that the data output by the data transmission module can maintain a complete transmission operation, so that the identification of valid data is more accurate;
[0176] A3: Repeat Repeat steps A1 to A2 to obtain The transmission value;
[0177] A4: After comparing the transmission volume values with the preset transmission time in turn, we get Sub-transmission rate;
[0178] The expression of sub-transmission rate is:
[0179] ;
[0180] In the formula, For the The first power consumption information collection device The transmission rate of each sub- For the The first power consumption information collection device The transmission value, is the preset transmission duration;
[0181] A5: After removing the maximum and minimum values of the sub-transmission rate, the remaining The sub-transmission rates are accumulated and averaged to obtain A data transmission rates;
[0182] The expression for data transmission rate is:
[0183] ;
[0184] In the formula, For the The data transmission rate of each power consumption information collection device is For the The first power consumption information collection device The sub-transmission rate.
[0185] After obtaining the response feedback duration, fault trigger frequency and data transmission rate, the test results of the performance strength of different power consumption information collection devices under the compatible detection mode can be numerically expressed to obtain the detection evaluation value;
[0186] The expression for the detection evaluation value is:
[0187] ;
[0188] In the formula, For the The detection and evaluation value of each power consumption information collection device, , , is the weight coefficient;
[0189] in, , , The setting logic is the same as above , The setting logic is consistent.
[0190] The abnormality classification module compares the detection evaluation value with the standard evaluation value, identifies the abnormal device, and classifies the abnormal device into abnormal levels;
[0191] Abnormal equipment refers to the power consumption information collection equipment that is judged to have weaker performance strength after comparing the detection evaluation value with the standard evaluation value, so that the power consumption information collection equipment can be effectively distinguished according to the strength of performance strength;
[0192] Methods for identifying abnormal devices include:
[0193] Subtract the detection evaluation values of A power consumption information collection devices from the corresponding standard evaluation values to obtain A evaluation difference values; the standard evaluation value refers to the minimum value of the detection evaluation values of A power consumption information collection devices under normal detection conditions, which can be used as a basis for identifying abnormal devices and normal devices;
[0194] The expression to evaluate the difference is:
[0195] ;
[0196] In the formula, For the The evaluation difference of each power consumption information collection device is For the Standard evaluation value of each electricity consumption information collection device;
[0197] when When it is less than or equal to 0, it means The detection evaluation value of the power consumption information collection device is greater than the corresponding standard evaluation value. If the performance strength of the first power consumption information collection device is strong, the first A power consumption information collection device is identified as an abnormal device;
[0198] when When it is greater than 0, it means The detection evaluation value of the power consumption information collection device is lower than the corresponding standard evaluation value. If the performance strength of the first power consumption information collection device is weak, A power consumption information collection device is identified as an abnormal device, and B abnormal devices are obtained.
[0199] After identifying abnormal devices, it is necessary to differentiate the specific degree of performance of abnormal devices, so as to achieve a further refinement of the differentiation effect of abnormal devices. Therefore, it is necessary to accurately divide the abnormal devices into abnormal levels, so as to facilitate the subsequent accurate screening of power consumption information collection equipment;
[0200] The abnormality level includes the first abnormality level and the second abnormality level; the abnormality degree corresponding to the first abnormality level is lower than the abnormality degree corresponding to the second abnormality level;
[0201] The classification methods of the primary abnormality level and the secondary abnormality level include:
[0202] The evaluation difference of B abnormal devices The preset evaluation level threshold Comparison; The preset assessment level threshold refers to the critical value of the assessment difference corresponding to the first-level abnormal level and the second-level abnormal level of the abnormal device, which can provide a data basis for distinguishing the first-level abnormal level and the second-level abnormal level, and ensure the accuracy of distinguishing the abnormal level of the abnormal device;
[0203] when Greater than or equal to , explain The evaluation difference of the abnormal device is greater than or equal to the preset evaluation level threshold, and the performance abnormality of the abnormal device is serious. The abnormal devices are divided into two abnormal levels;
[0204] when Less than , explain The evaluation difference of the abnormal device is less than the preset evaluation level threshold, and the performance abnormality of the abnormal device is not serious. The abnormal devices are divided into the first abnormal level.
[0205] In this embodiment, by receiving the detection task of the power consumption information collection device, extracting the task attributes from the detection task, and screening out the target detection mode from the task database, a basic detection scene is constructed, the scene station in the basic detection scene is marked, and the target detection mode is integrated with the scene station to generate a task detection scene, the power consumption information collection device is imported into the corresponding task detection scene, and a two-way channel is established between two adjacent task detection scenes to generate a simulation detection station, and the comprehensive detection parameters of the power consumption information collection device in the simulation detection station are obtained. According to the comprehensive detection parameters, the detection evaluation value is calculated, and after comparing the detection evaluation value with the standard evaluation value, the abnormal device is identified and the abnormal level is classified. Compared with the prior art, by collecting the task attributes of different power consumption information collection devices and screening out the scene stations corresponding to any task, the target detection mode is integrated with the scene stations to generate a simulation detection station, and the power consumption information collection device is imported into the corresponding task detection scene, and a two-way channel is established between two adjacent task detection scenes to generate a simulation detection station, and the power consumption information collection device is imported into the corresponding task detection scene. According to the prior art, the target detection mode is integrated with the scene station to generate a simulation detection station, and the power consumption information collection device is imported into the corresponding task detection scene, and a two-way channel is established between two adjacent task detection scenes ... the two adjacent task detection scenes to generate a simulation detection station, and the power consumption information collection device is imported into the corresponding task detection scene, and a two-way channel is established between the two adjacent task detection scenes to generate The target detection mode adapted to the service attributes can accurately match the detection object of each power consumption information collection device, and by constructing an integrated simulation detection station, it can be compatible with a variety of different types of power consumption information collection devices for synchronous performance detection operations. There is no need to use multiple different detection terminals to perform separate detections on different types of power consumption information collection devices, and the effect of one detection terminal being compatible with simultaneous detection of multiple devices is achieved, thereby effectively avoiding the high cost and poor compatibility problems caused by separate detections of multiple detection terminals. By calculating the detection evaluation value through comprehensive detection parameters, the performance detection results of the power consumption information collection device can be accurately calculated, and a basis can be provided for distinguishing the performance strength of the subsequent power consumption information collection equipment, thereby achieving the effect of accurately distinguishing power consumption information collection devices with different performance strengths.
[0206] Example 2: Please refer to Figure 2 As shown, the part not described in detail in this embodiment is described in the first embodiment, and a detection method compatible with multiple power consumption information collection devices is provided, which is applied to a device detection platform and is implemented based on a detection system compatible with multiple power consumption information collection devices, including:
[0207] S1: Receive the detection task of the power consumption information collection device, extract the task attributes from the detection task, and filter out the target detection mode from the task database;
[0208] S2: Construct a basic detection scene, mark the scene positions in the basic detection scene, and generate a task detection scene by fusing the target detection mode with the scene positions;
[0209] S3: Import the electricity consumption information collection device into the corresponding task detection scene, and establish a two-way channel between two adjacent task detection scenes to generate a simulation detection station;
[0210] S4: Obtain comprehensive detection parameters of the power consumption information collection device in the simulation detection station, the comprehensive detection parameters including response feedback time, fault trigger frequency and data transmission rate, and calculate the detection evaluation value according to the comprehensive detection parameters;
[0211] S5: After comparing the detection evaluation value with the standard evaluation value, abnormal devices are identified and classified into abnormal levels, including a primary abnormal level and a secondary abnormal level.
[0212] Example 3: Please refer to Figure 3 As shown, this embodiment discloses an electronic device, including a processor and a memory;
[0213] Wherein, the memory stores a computer program that can be called by the processor;
[0214] The processor executes the detection method for a device compatible with multiple types of electricity consumption information collection by calling the computer program stored in the memory.
[0215] Since the electronic device introduced in this embodiment is an electronic device used to implement a detection method compatible with multiple power information collection devices in Example 2 of this application, based on the detection method compatible with multiple power information collection devices introduced in the embodiment of this application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application is not described in detail here. As long as the technical personnel of this field implement the electronic device used in the detection method compatible with multiple power information collection devices in the embodiment of this application, it belongs to the scope of protection of this application.
[0216] Example 4: Please refer to Figure 4 As shown, this embodiment discloses a computer-readable storage medium on which a rewritable computer program is stored;
[0217] When the computer program is executed, the detection method for a device compatible with multiple types of electricity consumption information collection is implemented.
[0218] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A detection system compatible with multiple power consumption information collection devices, applied to equipment detection platform, It is characterized in that include: The pattern matching and screening module is used to receive the detection task of the power consumption information collection device, extract the task attributes from the detection task, and screen the target detection pattern from the task database; The scene fusion construction module is used to construct the basic detection scene, mark the scene positions in the basic detection scene, and generate the task detection scene after fusing the target detection mode with the scene positions; The marking methods for scene stations include: Through virtual simulation technology, blank scenes with rectangular structures are planned in the equipment detection platform, and a remark box is established in the lower right corner of the blank scene; Draw A horizontally distributed remark positions in the remark box, and import A task attributes into the A remark positions one by one to generate a basic detection scene; Randomly mark w non-adjacent scene points in the basic detection scene, and draw w scene circles with the w scene points as the center and a preset first length as the radius; Identify the position states of w scene circles one by one, and record the scene circles that do not have an intersection state, a tangent state, or an overlap state as scene positions; The method for generating task detection scenarios includes: The four boundaries of the basic detection scene are identified through computer vision technology, and lines are drawn along the four boundaries to obtain four contour lines; Draw two diagonal lines of the four contour lines, and record the intersection of the two diagonal lines as the midpoint of the scene; Taking the midpoint of the scene as the base point and the preset second length as the scanning radius, a scanning line is drawn to obtain a scanning line; Rotate the scan line clockwise in the basic detection scene until the scan line scans A scene stations and then stops rotating, and the scan line scans A scene stations as target scene stations; According to the scanning sequence of the target scene stations, A target detection patterns are imported into the A target scene stations one by one to fuse the stations and patterns, and generate A task detection scenes; The detection site construction module is used to import the power consumption information collection equipment into the corresponding task detection scene, establish a two-way channel between two adjacent task detection scenes, and generate a simulation detection station; The method for generating a simulation detection station includes: Draw device frames at the tail ends of A task detection scenes respectively, and mark two independent information bits in the A device frames respectively, to obtain A first information bits and A second information bits; Fill the A detection tasks one by one into the first information bits of the device boxes on the corresponding A task detection scenes to obtain the filled A first information bits; Fill the A power consumption information collection devices one by one into the second information bits of the device boxes on the corresponding A task detection scenes to obtain the filled A second information bits; Binding the device frames having the filled first information bit and the second information bit to the corresponding task detection scenarios one by one to obtain the bound task detection scenarios; The A bound task detection scenes are numbered and arranged in ascending order according to the numbering from small to large, and a two-way channel is established between two adjacent task detection scenes to obtain A two-way channels; The first Two-way channel with The connection points of the task detection scenes are recorded as compatible trigger points, and A-1 compatible trigger points are obtained; On A-1 compatible trigger points, compatible trigger conditions corresponding to the compatible trigger points are sequentially configured, and after the compatible trigger conditions are matched with the compatible trigger points one by one, A simulation detection stations are obtained; The data acquisition and calculation module is used to obtain the comprehensive detection parameters of the power consumption information collection equipment in the simulation detection station, the comprehensive detection parameters include response feedback time, fault trigger frequency and data transmission rate, and calculate the detection evaluation value according to the comprehensive detection parameters; Methods for obtaining response feedback duration include: Based on A task attributes, instructions corresponding to the A task attributes are formulated respectively to obtain A task instructions; At time T1, A task instructions are sent to the corresponding A simulation detection stations respectively, and the time when A power consumption information collection devices receive A task instructions is recorded to obtain the A instruction receiving time; The power consumption information collection device parses the corresponding task instruction to generate an instruction field, and forwards the instruction field to the processor of the power consumption information collection device for execution of the instruction field; Record the time when the processors of A power consumption information collection devices execute the instruction field one by one through the timestamp to obtain the A instruction execution time; The time from the time when A instructions are received to the time when A instructions are executed is recorded as the total response time, and A total response time is obtained; Query the inherent delay time of A power consumption information collection devices one by one through the technical parameter table, and obtain A response feedback time by subtracting the total response time of A from the corresponding inherent delay time; The expression of response feedback duration is: ; In the formula, For the The response feedback time of each power consumption information collection device, For the The total response time of each power consumption information collection device, For the The inherent delay time of each power consumption information collection device; Methods for obtaining the fault trigger frequency include: During the period corresponding to the A response feedback duration, all operation logs of the A power consumption information collection device are queried through the security management system, and the security status of the operation logs is marked; The number of operation logs whose security status is a low security status and the number of operation logs whose security status is a fault status are respectively counted, and recorded as a first fault value and a second fault value; The first fault value and the second fault value are respectively assigned corresponding weight coefficients and then added to obtain A fault trigger values; The expression of the fault trigger value is: ; In the formula, For the The fault trigger value of each power consumption information collection device, For the The first fault value of each power consumption information collection device, For the The second fault value of a power consumption information collection device, , is a weight coefficient greater than 0; Compare A fault trigger values with the corresponding A response feedback durations one by one to obtain A fault trigger frequencies; The expression of fault trigger frequency is: ; In the formula, For the The fault trigger frequency of each power consumption information collection device; The abnormality level classification module is used to identify abnormal devices after comparing the detection evaluation value with the standard evaluation value, and classify the abnormal devices into abnormal levels, including the first abnormality level and the second abnormality level.
2. According to claim 1, a detection system compatible with multiple power consumption information collection devices, It is characterized in that The method for extracting the task attributes includes: Receive A detection tasks of power consumption information collection devices sent by the user end, and obtain A detection tasks; Using natural language processing technology, p text parts in A detection tasks are identified one by one, and the p text parts in the same detection task are combined in sequence to generate keywords; Compare the keywords of A detection tasks with the standard words stored in the database in turn, and record the keywords with characters that overlap with the standard words as target keywords; The target keywords are split into fonts word by word through word segmentation technology, and the fonts that are the same as the standard characters are recorded as valid fonts; According to the order of font splitting, valid fonts are combined in sequence to form task attributes, and A task attributes are obtained.
3. According to claim 2, a detection system compatible with multiple power consumption information collection devices, It is characterized in that The screening method of the target detection mode includes: Query the mode attributes of all detection modes in the task database one by one, and identify the mode fields from the mode attributes; Compare the pattern fields with the task attributes in turn, record the pattern fields that coincide with the task attributes as the target fields, and record the detection pattern where the target fields are located as the detection pattern to be verified, and obtain s detection patterns to be verified; The recording times of the to-be-verified detection modes with the same target field are queried one by one by using the timestamp, and the recording times are arranged in chronological order; Eliminate the detection patterns to be verified except those whose recording time is at the first position, and record the remaining detection patterns to be verified as target detection patterns, so as to obtain A target detection patterns.
4. A detection system compatible with multiple power consumption information collection devices according to claim 3, It is characterized in that The method for acquiring the data transmission rate includes: A1: At time T2, an equal amount of data to be measured is input to A power consumption information collection devices at the same time, and the transmission number is marked on the data to be measured one by one; A2: After the preset transmission time, identify the numbers of the data output by the data transmission module one by one, record the data with the same number as the transmission number as valid data, and count the number of valid data to obtain the transmission amount value; A3: Repeat Repeat steps A1 to A2 to obtain The transmission value; A4: After comparing the transmission volume values with the preset transmission time in turn, we get Sub-transmission rate; The expression of sub-transmission rate is: ; In the formula, For the The first power consumption information collection device The transmission rate of each sub- For the The first power consumption information collection device The transmission value, is the preset transmission duration; A5: After removing the maximum and minimum values of the sub-transmission rate, the remaining The sub-transmission rates are accumulated and averaged to obtain A data transmission rates; The expression for data transmission rate is: ; In the formula, For the The data transmission rate of each power consumption information collection device is For the The first power consumption information collection device Sub-transmission rate; The expression for the detection evaluation value is: ; In the formula, For the The detection and evaluation value of each power consumption information collection device, , , is the weight coefficient.
5. According to claim 4, a detection system compatible with multiple power consumption information collection devices, It is characterized in that The abnormal device identification method comprises: Subtract the detection evaluation values of A power consumption information collection devices from the corresponding standard evaluation values to obtain A evaluation difference values; The expression to evaluate the difference is: ; In the formula, For the The evaluation difference of each power consumption information collection device is For the Standard evaluation value of each electricity consumption information collection device; when When it is less than or equal to 0, the A power consumption information collection device is identified as an abnormal device; when When it is greater than 0, A power consumption information collection device is identified as an abnormal device, and B abnormal devices are obtained; The classification methods of the primary abnormality level and the secondary abnormality level include: The evaluation difference of B abnormal devices The preset evaluation level threshold Compare; when Greater than or equal to When The abnormal devices are divided into two abnormal levels; when Less than When The abnormal devices are divided into the first abnormal level.
6. A detection method for a device compatible with multiple power consumption information collection devices, applied to a device detection platform, and implemented based on a detection system for a device compatible with multiple power consumption information collection devices as described in any one of claims 1 to 5. It is characterized in that include: S1: Receive the detection task of the power consumption information collection device, extract the task attributes from the detection task, and filter out the target detection mode from the task database; S2: Construct a basic detection scene, mark the scene positions in the basic detection scene, and generate a task detection scene by fusing the target detection mode with the scene positions; S3: Import the power consumption information collection device into the corresponding task detection scene, and establish a two-way channel between two adjacent task detection scenes to generate a simulation detection station; S4: Obtain comprehensive detection parameters of the power consumption information collection device in the simulation detection station, the comprehensive detection parameters including response feedback time, fault trigger frequency and data transmission rate, and calculate the detection evaluation value according to the comprehensive detection parameters; S5: After comparing the detection evaluation value with the standard evaluation value, abnormal devices are identified and classified into abnormal levels, including a primary abnormal level and a secondary abnormal level.
Citation Information
Cited By
Detection system compatible with various power utilization information acquisition devices
CN120802148A
