Metering terminal detection method and device, terminal equipment and storage medium
By comparing terminal parameters and function support information with standard information, identifying and rechecking abnormal items, the problems of low detection efficiency and high error rate of metrology automation terminals are solved, and intelligent and automated terminal function detection is realized, which improves detection efficiency and accuracy sex.
Patent Information
- Application Number
- CN202411260867.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-12
AI Technical Summary
Measuring automation terminal inspection personnel face problems of inefficiency and high error rate, resulting in low functional detection and maintenance efficiency.
By obtaining the terminal's detection plan, comparing the terminal parameter and function support information with standard parameter and function support information, identifying abnormal items, and performing a preset number of rechecks to determine the terminal's abnormal items.
The intelligent and automated function detection of the metrology automation terminal has been realized, which has reduced the working pressure of the inspectors and improved the detection efficiency and accuracy.
Smart Images

Figure CN118938114A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy metering equipment detection, and in particular to a metering terminal detection method, device, terminal equipment and storage medium. Background Art
[0002] The metering automation terminal is an important metering device for realizing remote and automatic collection of power data of public and private transformer users. When the background needs the on-site power consumption situation, it can analyze it one by one and transmit it back to the metering master station.
[0003] With the advancement of power system reform, the construction of my country's smart grid is gradually developing in the direction of gridding and digitization. In order to ensure the accuracy and timeliness of user electricity consumption data collection and electricity fee calculation, power supply companies continue to promote the use of metering automation terminal equipment, which has led to a sharp increase in the number of terminals. At the same time, due to the many types of terminals, the manufacturers, models and reference standards of various types of terminals are different, and there are many testing items, which also leads to huge pressure on the work of metering and testing personnel at metering automation terminals. In addition, manual testing by metering and testing personnel is inefficient and has a high error rate under the background of a sharp increase in the number of terminals. Therefore, how to innovate the management mode of metering automation terminals and make the functional detection and maintenance of metering automation terminals more intelligent is a problem that power supply companies urgently need to solve. Summary of the invention
[0004] The present invention provides a metering terminal detection method, device, terminal equipment and storage medium to solve the technical problems of low efficiency and high error rate in manual detection of metering terminals.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a metering terminal detection method, including:
[0006] Obtaining a detection plan for the terminal to be detected; wherein the detection plan includes items to be detected;
[0007] According to the detection plan, the terminal to be detected is detected to obtain terminal parameters or function support information corresponding to the item to be detected;
[0008] When the terminal parameters are obtained, the terminal parameters are compared with the specified standard terminal parameters to determine whether the terminal parameters are abnormal;
[0009] When the function support information is obtained, the function support information is compared with the specified standard function support information to determine whether the function support information is abnormal;
[0010] If at least one terminal parameter or function support information is abnormal, the to-be-tested item corresponding to the abnormal terminal parameter or function support information is used as a re-test item, and the re-test item is re-tested a preset number of times;
[0011] If the results of the re-tests performed a preset number of times are all abnormal, then the re-tested item of the terminal to be detected is determined to be an abnormal item.
[0012] As a preferred solution, before obtaining the detection plan of the terminal to be detected, the following is also included:
[0013] Obtain terminal file information of the terminal to be detected;
[0014] According to the terminal file information of the terminal to be detected, matching the items to be detected corresponding to the terminal to be detected;
[0015] Determine a test plan corresponding to the terminal to be tested based on all the items to be tested of the terminal to be tested.
[0016] As a preferred solution, the terminal profile information includes but is not limited to: terminal manufacturer, terminal type and terminal software version;
[0017] The matching of the items to be detected corresponding to the terminal to be detected according to the terminal profile information of the terminal to be detected includes:
[0018] According to the terminal manufacturer and terminal type of the terminal to be detected, matching the terminal function standard template corresponding to the terminal to be detected; wherein the terminal function standard template refers to the technical parameters and performance indicators of the function items formulated according to different terminal manufacturers and terminal types;
[0019] According to the terminal software version of the terminal to be detected, match the terminal software version standard template corresponding to the terminal to be detected; wherein the terminal software version standard template refers to the standard requirements formulated according to different versions of the terminal software and its corresponding version information and update records;
[0020] According to the terminal function standard template and the terminal software version standard template of the terminal to be detected, the to-be-detected item corresponding to the to-be-detected terminal is determined.
[0021] As a preferred solution, the terminal function standard template includes: the name of the function item, function description, technical parameters, performance requirements and detection methods;
[0022] Among them, the functional items include but are not limited to: software function detection items, communication interface detection items, power outage meter reading detection items, overvoltage detection items, LCD screen detection items, wheel display detection items, current imbalance detection items, terminal clock detection items, metering transformer multiplier detection items and electricity meter rate detection items.
[0023] As a preferred solution, the terminal software version standard template includes: software version number, function list, performance indicators, security requirements and update records.
[0024] As a preferred solution, the terminal parameters include but are not limited to: communication parameters, data acquisition parameters, control parameters, time parameters and security parameters;
[0025] Among them, the communication parameters include: communication address, communication baud rate and communication protocol; the data acquisition parameters include: acquisition period, acquisition data type and acquisition accuracy; the control parameters include: the state of the remote control switch and the execution conditions of the remote control command; the time parameters include: the current time of the terminal clock, time zone settings and daylight saving time settings; the security parameters include: terminal access rights, encryption keys and authentication methods.
[0026] As a preferred solution, the function support information includes but is not limited to: function list, function status, function performance and error log;
[0027] Among them, the function list includes all function information currently supported by the terminal; the function status includes: activation status information and operation status information; the function performance includes function performance indicator information; the error log includes function abnormality information.
[0028] On the basis of the above-mentioned embodiment, another embodiment of the present invention provides a metering terminal detection device, including: a detection plan acquisition module, a detection plan execution module, a re-inspection module and a detection result generation module;
[0029] The detection plan acquisition module is used to obtain a detection plan for the terminal to be detected; wherein the detection plan includes items to be detected;
[0030] The detection plan execution module is used to detect the terminal to be detected according to the detection plan, and obtain terminal parameters or function support information corresponding to the items to be detected; when the terminal parameters are obtained, the terminal parameters are compared with the specified standard terminal parameters to determine whether the terminal parameters are abnormal; when the function support information is obtained, the function support information is compared with the specified standard function support information to determine whether the function support information is abnormal;
[0031] The reconstruction module is used to, when at least one terminal parameter or function support information is abnormal, use the to-be-detected item corresponding to the abnormal terminal parameter or function support information as a re-inspection item, and re-detect the re-inspection item a preset number of times;
[0032] The detection result generating module is used to determine that the re-checked item of the terminal to be detected is an abnormal item when the detection results of the preset number of re-checks are all abnormal.
[0033] Based on the above embodiments, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the metering terminal detection method described in the above invention embodiment is implemented.
[0034] Based on the above embodiments, another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the metering terminal detection method described in the above invention embodiment.
[0035] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0036] The present invention obtains a detection plan for the terminal to be detected; according to the detection plan, the terminal to be detected is detected to obtain the terminal parameters or function support information corresponding to the items to be detected; when the terminal parameters are obtained, the terminal parameters are compared with the specified standard terminal parameters to determine whether the terminal parameters are abnormal; when the function support information is obtained, the function support information is compared with the specified standard function support information to determine whether the function support information is abnormal; if at least one terminal parameter or function support information is abnormal, the items to be detected corresponding to the abnormal terminal parameters or function support information are used as re-inspection items, and the re-inspection items are re-inspected for a preset number of times; if the results of the re-inspection for the preset number of times are all abnormal, the re-inspection items of the terminal to be detected are determined to be abnormal items. The present invention realizes intelligent and automated remote functional detection of metering automation terminals, reduces the work pressure of metering detection personnel, and improves the efficiency of metering terminal function detection. In addition, the present invention also performs a preset number of reconstruction operations on the abnormal results of the initial detection, thereby improving the accuracy of the metering terminal function detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of a metering terminal detection method provided by an embodiment of the present invention;
[0038] Figure 2 It is a structural schematic diagram of a metering terminal detection device provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0041] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0042] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0043] Embodiment 1
[0044] Please refer to Figure 1 , is a flow chart of a metering terminal detection method provided by an embodiment of the present invention, including:
[0045] S1. Obtain a detection plan for the terminal to be detected; wherein the detection plan includes items to be detected.
[0046] It should be noted that the terminal test plan contains several items to be tested, recording the test plan number, test date, test plan name, test plan content and test terminal number of the items to be tested. The test plan content includes software function test items, software version test items, communication interface test items, power outage meter reading test items, overvoltage test items, LCD screen test items, wheel display test items, current imbalance test items, terminal clock test items, metering mutual inductance multiplier test items and meter rate test items.
[0047] In step S1, the detection plan of the terminal to be detected is obtained, and all the above information can be obtained.
[0048] In a preferred embodiment, before obtaining the detection plan of the terminal to be detected, the method further includes:
[0049] Obtain terminal file information of the terminal to be detected;
[0050] According to the terminal file information of the terminal to be detected, matching the items to be detected corresponding to the terminal to be detected;
[0051] Determine a test plan corresponding to the terminal to be tested based on all the items to be tested of the terminal to be tested.
[0052] It should be noted that due to the differences in terminal types, manufacturers and software versions, their functional characteristics and performance requirements are also different. It is necessary to formulate different testing plans for different terminals to ensure the effectiveness and accuracy of the testing.
[0053] In this embodiment, before obtaining the detection plan of the terminal to be detected, the detection plan of the terminal to be detected must be formulated. The terminal file information of the terminal to be detected is obtained, and the terminal-related information can be known according to the terminal file information, and further, the items that need to be detected of the terminal can be clarified, so as to match the items to be detected corresponding to the terminal to be detected, and finally determine the corresponding detection plan according to all the items to be detected of the terminal to be detected.
[0054] It should also be noted that the test plan determined based on the items to be tested contains relevant information of all items to be tested. It is also possible to manually determine the test date, test location, test method, test tools, personnel division and other information of the test plan based on the actual situation and on the basis of the existing test plan. At the same time, the predicted number of repeated tests can be set to improve the reliability of the results.
[0055] In a preferred embodiment, the terminal profile information includes but is not limited to: terminal manufacturer, terminal type and terminal software version;
[0056] The matching of the items to be detected corresponding to the terminal to be detected according to the terminal profile information of the terminal to be detected includes:
[0057] According to the terminal manufacturer and terminal type of the terminal to be detected, matching the terminal function standard template corresponding to the terminal to be detected; wherein the terminal function standard template refers to the technical parameters and performance indicators of the function items formulated according to different terminal manufacturers and terminal types;
[0058] According to the terminal software version of the terminal to be detected, match the terminal software version standard template corresponding to the terminal to be detected; wherein the terminal software version standard template refers to the standard requirements formulated according to different versions of the terminal software and its corresponding version information and update records;
[0059] According to the terminal function standard template and the terminal software version standard template of the terminal to be detected, the to-be-detected item corresponding to the to-be-detected terminal is determined.
[0060] It should be noted that the terminal archive information includes multiple data items of the terminal, including the terminal manufacturer, terminal type and terminal software version, as well as the terminal number, terminal name, terminal level, terminal production date, terminal installation date, terminal validity period and terminal description. The terminal archive information can be used to associate the terminal function standard template with the terminal software version standard template, and can realize the maintenance of the association relationship between the terminal function standard template and the terminal software version standard template, and support the maintenance of different terminal manufacturers, different terminal types and different terminal software versions and standard templates.
[0061] The terminal function standard template refers to the functional requirements and standards formulated according to different terminal manufacturers and terminal types. The terminal function standard template contains the various functions that the terminal should have and their corresponding technical parameters and performance indicators. Through the terminal function standard template, it can be ensured that the terminals produced by different manufacturers meet the unified standards and requirements in terms of function, thereby ensuring the normal operation of the power system and the accuracy of the data.
[0062] The terminal software version standard template is the standard and requirements for different versions of terminal software. The terminal software version standard template contains the requirements for the functions, performance, security, etc. that the terminal software should have, as well as the corresponding version information and update records. The upgrade and update of the terminal software are based on unified standards and requirements, thus avoiding software version confusion and compatibility issues.
[0063] The terminal profile information includes multiple data items of the terminal, among which the data items used to associate the terminal function standard template with the terminal software standard template mainly include:
[0064] (1) Terminal number: Each terminal has a unique number used to identify and distinguish different terminals;
[0065] (2) Terminal software version: It is best to record the software version currently used by the terminal.
[0066] In the system, the corresponding terminal function standard template and terminal software version standard template can be automatically retrieved from the database or standard template library according to the terminal number and terminal software version information, and they can be associated. In this way, when executing the inspection plan, the system can judge whether the terminal function and software version meet the requirements according to the associated standard template.
[0067] In this embodiment, according to the terminal manufacturer and terminal type recorded in the terminal file information of the terminal to be detected, the corresponding terminal function standard template is queried and matched; according to the terminal software version recorded in the terminal file information of the terminal to be detected, the corresponding terminal software version standard template is queried and matched. Then, according to the matched terminal function standard template and terminal software version standard template, the to-be-detected item corresponding to the to-be-detected terminal is determined.
[0068] In a preferred embodiment, the terminal function standard template includes: the name of the function item, function description, technical parameters, performance requirements and detection methods;
[0069] Among them, the functional items include but are not limited to: software function detection items, communication interface detection items, power outage meter reading detection items, overvoltage detection items, LCD screen detection items, wheel display detection items, current imbalance detection items, terminal clock detection items, metering transformer multiplier detection items and electricity meter rate detection items.
[0070] It should be noted that the terminal function standard template contains several data items for describing what functions the terminal needs to implement, and each data item records the name, function description, technical parameters, performance requirements and detection methods of the function item.
[0071] In this embodiment, after the terminal to be detected matches the corresponding terminal function standard template, the items to be detected for each function item in the terminal function standard template are determined. The items to be detected for the function items in the terminal function standard template include relevant information of the function items, i.e., the name, function description, technical parameters, performance requirements and detection methods of the function items.
[0072] In a preferred embodiment, the terminal software version standard template includes: software version number, function list, performance index, security requirements and update record.
[0073] It should be noted that the terminal software version standard template contains information used to describe the functions, performance and security requirements of the terminal software, and records the software version number, function list, performance indicators, security requirements and update records of the software.
[0074] In this embodiment, after the terminal to be detected matches the corresponding terminal software version standard template, the items to be detected for the software version of the terminal to be detected are determined according to the information in the terminal software version standard template. The items to be detected for the software version include the function list, performance indicators, security requirements and update records that the software version needs to implement.
[0075] S2. According to the detection plan, the terminal to be detected is detected to obtain terminal parameters or function support information corresponding to the item to be detected.
[0076] It should be noted that when testing the terminal to be tested according to the test plan, the functional items of the terminal to be tested are tested according to the items to be tested for the terminal functional items; the functions, indicators, security requirements and update records of the software version are tested according to the items to be tested for the software version.
[0077] In step S2, according to the plan to be tested for the functional items in the test plan, the corresponding terminal parameters are obtained; according to the plan to be tested for the software version in the test plan, the functional support information corresponding to the terminal software is obtained.
[0078] In a preferred embodiment, the terminal parameters include but are not limited to: communication parameters, data acquisition parameters, control parameters, time parameters and security parameters;
[0079] Among them, the communication parameters include: communication address, communication baud rate and communication protocol; the data acquisition parameters include: acquisition period, acquisition data type and acquisition accuracy; the control parameters include: the state of the remote control switch and the execution conditions of the remote control command; the time parameters include: the current time of the terminal clock, time zone settings and daylight saving time settings; the security parameters include: terminal access rights, encryption keys and authentication methods.
[0080] In this embodiment, terminal parameters include but are not limited to:
[0081] (1) Communication parameters: such as communication address, communication baud rate, communication protocol, etc., used to establish and maintain the communication connection between the terminal and the metering master station;
[0082] (2) Data collection parameters: such as collection period, collection data type (such as voltage, current, active power, reactive power, etc.), collection accuracy, etc., which are used to guide the terminal on how to collect and process electric energy data;
[0083] (3) Control parameters: such as the status of the remote control switch, the execution conditions of the remote control command, etc., which are used to guide the terminal on how to respond when receiving the control command from the metering master station;
[0084] (4) Time parameters: such as the current time of the terminal clock, time zone setting, daylight saving time setting, etc., used to ensure the time synchronization and accuracy of the terminal;
[0085] (5) Security parameters: such as terminal access rights, encryption keys, authentication methods, etc., used to ensure the security of terminal data transmission and access.
[0086] In a preferred embodiment, the function support information includes but is not limited to: function list, function status, function performance and error log;
[0087] Among them, the function list includes all function information currently supported by the terminal; the function status includes: activation status information and operation status information; the function performance includes function performance indicator information; the error log includes function abnormality information.
[0088] In this embodiment, the function support information includes but is not limited to:
[0089] (1) Function list: lists all functions currently supported by the terminal, such as data collection, data transmission, remote control, event recording, etc.
[0090] (2) Functional status: indicates whether each function is currently in normal working condition, such as whether it is enabled or abnormal;
[0091] (3) Functional performance: describes the performance indicators of each function, such as the real-time performance of data acquisition, the reliability of data transmission, the response speed of remote control, etc.;
[0092] (4) Error log: records any errors or abnormal conditions that occur during the execution of a terminal function, to facilitate subsequent problem analysis and processing.
[0093] S3. When terminal parameters are obtained, the terminal parameters are compared with specified standard terminal parameters to determine whether the terminal parameters are abnormal; when function support information is obtained, the function support information is compared with specified standard function support information to determine whether the function support information is abnormal.
[0094] It should be noted that the specified standard terminal parameters are determined by the corresponding terminal function standard template; the specified function support information is determined by the corresponding terminal software version standard template.
[0095] In step S3, when the terminal parameters are obtained, the obtained terminal parameters are compared with the standard terminal parameters in the corresponding terminal function standard template to determine whether the terminal parameters are abnormal; when the function support information is obtained, the obtained function support information is compared with the standard function support information in the corresponding terminal software version standard template to determine whether the function support information is abnormal.
[0096] S4. If at least one terminal parameter or function support information is abnormal, the to-be-tested item corresponding to the abnormal terminal parameter or function support information is used as a re-tested item, and the re-tested item is re-tested a preset number of times.
[0097] In step S4, when it is detected that the terminal parameters or the function support information are abnormal, the abnormal items to be detected are used as re-test items, and the re-test items are re-tested a preset number of times.
[0098] S5. If the results of the re-tests performed a preset number of times are all abnormal, determining that the re-tested item of the terminal to be tested is an abnormal item.
[0099] In step S5, if the result of each re-test is abnormal, the re-tested item is determined to be an abnormal item.
[0100] It should be noted that after the abnormal items are determined, the corresponding terminal to be detected is the abnormal terminal. After the abnormal items are determined, this embodiment can also perform abnormal analysis and processing on the abnormal terminal, including:
[0101] 1. Preliminary analysis of abnormal terminals:
[0102] (1) Abnormality rate calculation: Based on the collected data, calculate the proportion of terminals with abnormal functions in each test, that is, the number of terminals with abnormal functions divided by the number of test terminals. This can help us gain a preliminary understanding of the prevalence of abnormal functions;
[0103] (2) Abnormal trend analysis: By comparing the data of multiple tests, analyze the changing trend of the number of terminals with abnormal functions. If the abnormal rate continues to rise, it may indicate the existence of systemic problems or potential risks, which require further investigation;
[0104] 2. Analysis of abnormal terminal distribution:
[0105] (1) Regional distribution analysis: Based on the geographical location information of the terminals, the terminals with abnormal functions are classified by region. By comparing the number of abnormal terminals in different regions, the areas with more abnormalities can be found, so as to conduct targeted investigation and processing in the future.
[0106] (2) Type distribution analysis: Classify terminals according to their types (such as smart meters, data collection terminals, etc.) and analyze the functional anomalies of different types of terminals. This helps to discover inherent defects or design problems that may exist in certain types of terminals.
[0107] (3) Manufacturer distribution analysis: Classify terminals with functional abnormalities according to manufacturers and analyze the abnormality rates of terminals from different manufacturers. This helps identify manufacturers that may have quality problems or technical defects, providing a reference for subsequent procurement and selection;
[0108] 3. Abnormal site determination and cause analysis:
[0109] (1) Identification of abnormal sites: Based on the analysis results of regional distribution, type distribution and manufacturer distribution, identify sites with relatively concentrated functional abnormalities. These sites should be the focus of subsequent investigation and treatment;
[0110] (2) Cause analysis: Conduct detailed on-site investigation and analysis of identified abnormal sites. Possible causes include terminal hardware failure, software defects, communication problems, environmental factors (such as electromagnetic interference, temperature and humidity, etc.), and human operational errors. Strive to find out the specific cause of the functional abnormality by collecting on-site data, checking terminal logs, and communicating with relevant personnel;
[0111] 4. Processing and feedback:
[0112] (1) Exception handling: Based on the results of cause analysis, formulate corresponding handling measures, including replacing the faulty terminal, upgrading the software version, optimizing communication parameters, improving the operating environment, etc. At the same time, a problem tracking mechanism should be established to ensure that the handling measures are effectively implemented;
[0113] (2) Feedback and Improvement: Feedback the processing results and cause analysis to relevant departments and personnel for further improvement and optimization. At the same time, based on the experience and lessons learned from this analysis, improve the function detection plan and technical means to enhance the reliability and stability of terminal functions.
[0114] Through the above technical solutions, the distribution of terminals with abnormal functions can be effectively analyzed, abnormal sites can be identified, and the specific causes of abnormal functions can be found. This will provide strong support for subsequent maintenance and tracing, and help improve the stability and reliability of the power system.
[0115] Perform fault analysis on the abnormal terminal site to determine the cause of the fault.
[0116] Among them, common terminal failures include: terminal offline, terminal communication failure with the metering master station, terminal clock abnormality, and terminal collection data abnormality.
[0117] The causes of these failures are:
[0118] (1) Lightning strike, terminal offline: internal short circuit, internal open circuit, trip coil malfunction, module failure, black screen, terminal component failure, terminal secondary circuit wiring error;
[0119] (2) Communication failure: 485 communication port failure, 485 wiring polarity reverse connection, terminal communication module failure;
[0120] (3) Clock abnormality: terminal clock software failure, battery failure;
[0121] (4) Abnormal data collection: incorrect terminal parameter settings and incorrect terminal secondary circuit wiring.
[0122] Finally, after completing the terminal detection analysis, an analysis report for each detection plan is generated with the detection plan as the basic unit; a detection report for each terminal is generated with the terminal as the basic unit.
[0123] Through the analysis report, the metrology and testing personnel can intuitively understand the overall terminal function testing status of each terminal function remote testing plan. Through the function test report, they can intuitively understand the terminal function testing status of each terminal individually, so as to facilitate the subsequent maintenance and repair as well as traceability tracking. Since there is no need for manual statistics, the work pressure of metrology and testing personnel is greatly reduced.
[0124] Embodiment 2
[0125] Please refer to Figure 2 , is a structural diagram of a metering terminal detection device provided by another embodiment of the present invention, comprising: a detection plan acquisition module, a detection plan execution module, a re-inspection module and a detection result generation module;
[0126] The detection plan acquisition module is used to obtain a detection plan for the terminal to be detected; wherein the detection plan includes items to be detected;
[0127] The detection plan execution module is used to detect the terminal to be detected according to the detection plan, and obtain terminal parameters or function support information corresponding to the items to be detected; when the terminal parameters are obtained, the terminal parameters are compared with the specified standard terminal parameters to determine whether the terminal parameters are abnormal; when the function support information is obtained, the function support information is compared with the specified standard function support information to determine whether the function support information is abnormal;
[0128] The reconstruction module is used to, when at least one terminal parameter or function support information is abnormal, use the to-be-detected item corresponding to the abnormal terminal parameter or function support information as a re-inspection item, and re-detect the re-inspection item a preset number of times;
[0129] The detection result generating module is used to determine that the re-checked item of the terminal to be detected is an abnormal item when the detection results of the preset number of re-checks are all abnormal.
[0130] Embodiment 3
[0131] Accordingly, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the metering terminal detection method described in the above-mentioned embodiment of the invention is implemented.
[0132] Embodiment 4
[0133] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the metering terminal detection method described in the above-mentioned embodiment of the invention.
[0134] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0135] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0136] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0137] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and various interfaces and lines are used to connect various parts of the entire device.
[0138] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Fl ash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0139] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each method embodiment described above can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-On l yMemory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0140] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A metering terminal detection method, characterized in that: include: Obtaining a detection plan for the terminal to be detected; wherein the detection plan includes items to be detected; According to the detection plan, the terminal to be detected is detected to obtain terminal parameters or function support information corresponding to the item to be detected; When the terminal parameters are obtained, the terminal parameters are compared with the specified standard terminal parameters to determine whether the terminal parameters are abnormal; When the function support information is obtained, the function support information is compared with the specified standard function support information to determine whether the function support information is abnormal; If at least one terminal parameter or function support information is abnormal, the to-be-tested item corresponding to the abnormal terminal parameter or function support information is used as a re-test item, and the re-test item is re-tested a preset number of times; If the results of the re-tests performed a preset number of times are all abnormal, then the re-tested item of the terminal to be detected is determined to be an abnormal item.
2. The metering terminal detection method according to claim 1, characterized in that: Before obtaining the test plan for the terminal to be tested, it also includes: Obtain terminal file information of the terminal to be detected; According to the terminal file information of the terminal to be detected, matching the items to be detected corresponding to the terminal to be detected; Determine a test plan corresponding to the terminal to be tested based on all the items to be tested of the terminal to be tested.
3. The metering terminal detection method according to claim 2, characterized in that: The terminal profile information includes but is not limited to: terminal manufacturer, terminal type and terminal software version; The matching of the items to be detected corresponding to the terminal to be detected according to the terminal profile information of the terminal to be detected includes: According to the terminal manufacturer and terminal type of the terminal to be detected, matching the terminal function standard template corresponding to the terminal to be detected; wherein the terminal function standard template refers to the technical parameters and performance indicators of the function items formulated according to different terminal manufacturers and terminal types; According to the terminal software version of the terminal to be detected, match the terminal software version standard template corresponding to the terminal to be detected; wherein the terminal software version standard template refers to the standard requirements formulated according to different versions of the terminal software and its corresponding version information and update records; According to the terminal function standard template and the terminal software version standard template of the terminal to be detected, the to-be-detected item corresponding to the to-be-detected terminal is determined.
4. The metering terminal detection method according to claim 3, characterized in that: The terminal function standard template includes: the name of the function item, function description, technical parameters, performance requirements and detection methods; Among them, the functional items include but are not limited to: software function detection items, communication interface detection items, power outage meter reading detection items, overvoltage detection items, LCD screen detection items, wheel display detection items, current imbalance detection items, terminal clock detection items, metering transformer multiplier detection items and electricity meter rate detection items.
5. The metering terminal detection method according to claim 3, characterized in that: The terminal software version standard template includes: software version number, function list, performance indicators, security requirements and update records.
6. The metering terminal detection method according to claim 1, characterized in that: The terminal parameters include but are not limited to: communication parameters, data acquisition parameters, control parameters, time parameters and security parameters; Among them, the communication parameters include: communication address, communication baud rate and communication protocol; the data acquisition parameters include: acquisition period, acquisition data type and acquisition accuracy; the control parameters include: the state of the remote control switch and the execution conditions of the remote control command; the time parameters include: the current time of the terminal clock, time zone settings and daylight saving time settings; the security parameters include: terminal access rights, encryption keys and authentication methods.
7. The metering terminal detection method according to claim 1, characterized in that: The function support information includes but is not limited to: function list, function status, function performance and error log; Among them, the function list includes all function information currently supported by the terminal; the function status includes: activation status information and operation status information; the function performance includes function performance indicator information; the error log includes function abnormality information.
8. A metering terminal detection device, characterized in that: include: Test plan acquisition module, test plan execution module, retest module and test result generation module; The detection plan acquisition module is used to obtain a detection plan for the terminal to be detected; wherein the detection plan includes items to be detected; The detection plan execution module is used to detect the terminal to be detected according to the detection plan, and obtain terminal parameters or function support information corresponding to the items to be detected; when the terminal parameters are obtained, the terminal parameters are compared with the specified standard terminal parameters to determine whether the terminal parameters are abnormal; when the function support information is obtained, the function support information is compared with the specified standard function support information to determine whether the function support information is abnormal; The reconstruction module is used to, when at least one terminal parameter or function support information is abnormal, use the to-be-detected item corresponding to the abnormal terminal parameter or function support information as a re-inspection item, and re-detect the re-inspection item a preset number of times; The detection result generating module is used to determine that the re-checked item of the terminal to be detected is an abnormal item when the detection results of the preset number of re-checks are all abnormal.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the metering terminal detection method according to any one of claims 1 to 7 is implemented.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the metering terminal detection method according to any one of claims 1 to 7.
Citation Information
Cited By
Electric energy metering fault detection method and device, terminal equipment and storage medium
CN119667589A
