Lightning protection detection management method and system, electronic equipment and storage medium

By automating the generation and review of lightning protection test reports through mobile app mini-programs and web browsers, the cumbersome process of traditional lightning protection test management has been solved, improving the efficiency and accuracy of test management.

CN120996745APending Publication Date: 2025-11-21贵州省气象服务中心
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511102547.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-07
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Traditional lightning protection testing and management processes are cumbersome, inefficient, and make it difficult to efficiently record test data, write reports, and review and issue them.

Method used

The project information filling interface is displayed through a mobile terminal mini-program. Users can select a template to fill in the interface, enter the test data, and generate and review the lightning protection test report through the terminal's web browser, thus realizing automated test data recording and report issuance.

Benefits of technology

It has improved the efficiency of lightning protection testing and management, simplified the process of recording testing data and generating, reviewing and issuing reports, reduced manual intervention, and improved management efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120996745A_ABST
    Figure CN120996745A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of quality management, in particular to a lightning protection detection management method and system, electronic equipment and a storage medium. The method comprises the following steps: responding to a new detection operation through an applet in a mobile terminal used by a lightning protection detector, and displaying a project information filling interface; according to template information selected based on the project information filling interface, displaying a corresponding template filling interface; filling detection data obtained in the lightning protection detection process according to filling operation based on the template filling interface; uploading the detection data; and generating a lightning protection detection report according to the detection data through indication of a webpage browser of the terminal, and auditing, signing and issuing the lightning protection detection report. According to the method, the lightning protection detection management efficiency is improved. The invention also discloses a lightning protection detection management system, electronic equipment and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of quality management, and particularly relates to a lightning protection detection management method and system, an electronic device and a storage medium. BACKGROUND

[0002] Many buildings, gas stations, coal mines and other places are provided with lightning protection devices. In order to ensure that the performance of the lightning protection device remains normal, it is necessary to periodically detect the lightning protection device. Effective management of lightning protection detection work is conducive to ensuring the efficient and orderly development of lightning protection detection work and avoiding safety problems caused by omissions in lightning protection detection work.

[0003] In the traditional method, the lightning protection detection personnel need to manually determine which indicators need to be detected according to the detection items and experience, then detect and record each detection indicator in turn on the spot, and then return to the detection institution to write a detection report according to the recorded detection data, and then submit the detection report to the auditors for auditing, and then issue the detection report by the person in charge after the audit is passed.

[0004] Since a detection item involves a large number of detection indicators, and the detection results need to be judged according to the detection data of each detection indicator in order to write a detection report, and the detection report needs to be audited and issued by the detection institution, the whole process is very cumbersome and inefficient. SUMMARY

[0005] In order to solve the technical problem of low efficiency of lightning protection detection management, the purpose of the present application is to provide a lightning protection detection management method, system, electronic device and storage medium, and the technical solution is as follows:

[0006] In a first aspect, the present application provides a lightning protection detection management method, which is executed by a small program in a mobile terminal used by a lightning protection detection personnel; the method comprises:

[0007] In response to a new detection operation, an item information filling interface is displayed;

[0008] According to the template information selected based on the item information filling interface, a corresponding template filling interface is displayed;

[0009] According to the filling operation based on the template filling interface, the detection data obtained in the lightning protection detection process is filled in;

[0010] The detection data is uploaded; the detection data is used to instruct a lightning protection detection report to be generated according to the detection data through a web browser of a terminal, and the lightning protection detection report is audited and issued.

[0011] The lightning protection detection management method provided by the application comprises the following steps:

[0012] A target main template corresponding to a target industry selected based on the project information filling interface is determined; each main template corresponds to an industry respectively;

[0013] A plurality of first fields to be filled and a plurality of candidate detection objects under the target main template are displayed in the template filling interface; the first field to be filled is used for filling the basic information of a target detection project; each candidate detection object represents a detection object involved in the target industry corresponding to the target main template respectively;

[0014] A target sub-template corresponding to a target detection object selected from the plurality of candidate detection objects is determined, and a plurality of second fields to be filled and a plurality of candidate detection items under the target sub-template are displayed; the second field to be filled is used for filling the basic information of the target detection object; each candidate detection item corresponds to one of the items detected for the target detection object respectively;

[0015] A detection data filling form corresponding to a target detection item selected from the plurality of candidate detection items is displayed.

[0016] The lightning protection detection management method provided by the application further comprises the following steps before the step of displaying the corresponding template filling interface according to the template information selected based on the project information filling interface:

[0017] The location of a detection project filled in the project information filling interface is acquired;

[0018] The positioning position of the mobile terminal is acquired;

[0019] The location of the detection project and the positioning position of the mobile terminal are uploaded to verify the detection authenticity according to the distance between the location of the detection project and the positioning position of the mobile terminal;

[0020] If the detection authenticity verification is passed, the step of displaying the corresponding template filling interface according to the template information selected based on the project information filling interface is executed;

[0021] If the detection authenticity verification is not passed, the process is ended.

[0022] The lightning protection detection management method provided by the application further comprises the following steps after the step of displaying the corresponding template filling interface according to the template information selected based on the project information filling interface:

[0023] In the process of filling in the detection data, the positioning position of the mobile terminal is acquired every preset time length and uploaded;

[0024] In the process of uploading the detection data, the positioning position of the mobile terminal is acquired and uploaded;

[0025] The positioning position of the mobile terminal uploaded at each moment is used to generate a historical track of the whole lightning protection detection process, and the historical track is displayed in the web browser of the terminal used by the supervisor to supervise the lightning protection detection.

[0026] In a second aspect, the application provides a lightning protection detection management method, which is executed through a web browser of a terminal; the method comprises:

[0027] In the web browser of the terminal used by the lightning protection detection personnel, a report making interface is displayed;

[0028] In response to a report making operation based on the report making interface, a lightning protection detection report generated according to detection data is displayed; the detection data is filled in a template filling interface through a small program in the mobile terminal used by the lightning protection detection personnel in the process of lightning protection detection;

[0029] In the web browser of the terminal used by the first management personnel of the detection institution, a report auditing interface for the lightning protection detection report is displayed;

[0030] After triggering an auditing confirmation operation based on the report auditing interface, a report issuing interface for the lightning protection detection report that passes the auditing is displayed in the web browser of the terminal used by the second management personnel of the detection institution;

[0031] In response to a report issuing operation based on the report issuing interface, a final lightning protection detection report is issued.

[0032] According to the lightning protection detection management method provided by the application, the method further comprises:

[0033] In the web browser of the terminal used by the system management personnel, a main template management interface is displayed;

[0034] In response to a main template design operation based on the main template management interface, a plurality of first fields to be filled and a plurality of sub-templates under the main template are set; each main template corresponds to an industry; the first field to be filled is used to fill in basic information of a detection item; each sub-template corresponds to a detection object;

[0035] The sub-template management interface is displayed. In response to the sub-template design operation based on the sub-template management interface, several second fields to be filled and several detection items are set under the sub-template. The second fields to be filled are used to fill in the basic information of the detection object corresponding to the sub-template. Each detection item corresponds to one of the items to be detected for the detection object.

[0036] Display the test item management interface, and in response to the test item design operation based on the test item management interface, set the test data filling form corresponding to the test item.

[0037] According to the lightning protection detection and management method provided by the present invention, the method further includes:

[0038] Information on newly added or modified lightning protection testing personnel is obtained through the web browser of the terminal used by the third-level manager of the testing agency.

[0039] Based on the information of the lightning protection testing personnel, determine whether the lightning protection testing personnel have carried out lightning protection testing work;

[0040] If so, the information of the lightning protection testing personnel cannot be modified;

[0041] If not, the lightning protection testing personnel's information is submitted to the backend; if the backend determines that the lightning protection testing personnel has registered with any testing organization other than the testing organization currently submitting the information, the submission fails; if the backend determines that the lightning protection testing personnel has not registered with any testing organization other than the testing organization currently submitting the information, the submission succeeds.

[0042] According to the lightning protection testing and management method provided by the present invention, the step of generating the lightning protection testing report includes:

[0043] Target test data corresponding to target test indicators with set acceptable value ranges are selected from the test data;

[0044] Replace the separator characters in the target detection data with uniform characters;

[0045] The target detection data is divided into a string array according to the position of each replaced character;

[0046] Each element in the string array is determined to be within the acceptable value range corresponding to the target detection index to obtain the evaluation result;

[0047] A lightning protection test report is generated based on the test data and the evaluation results.

[0048] In a third aspect, the present application provides a lightning protection detection management system, comprising a memory and a processor; the memory is used to store executable program codes; the processor is used to call and run the executable program codes from the memory to realize the lightning protection detection management method provided by the present application.

[0049] In a fourth aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor realizes the lightning protection detection management method provided by the present application when executing the computer program.

[0050] In a fifth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program realizes the lightning protection detection management method provided by the present application when executed by a processor.

[0051] The present application has the following beneficial effects: through the small program display project information filling interface in the mobile terminal used by the lightning protection detection personnel, the corresponding template filling interface is displayed according to the template information selected based on the project information filling interface, and the detection data obtained in the lightning protection detection process is filled in according to the filling operation based on the template filling interface, so that the recording of the detection data in the lightning protection detection can be conveniently and efficiently performed, and then the detection data is uploaded, the lightning protection detection report is generated according to the detection data through the web browser of the terminal, and the lightning protection detection report is audited and issued, so that the lightning protection detection report can be efficiently generated and audited and issued, compared with the traditional method of manually recording the detection data and writing the detection report and manually submitting the detection report for auditing and issuing, the efficiency of the lightning protection detection management is improved. BRIEF DESCRIPTION OF DRAWINGS

[0052] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.

[0053] Figure 1 An application environment diagram of a lightning protection detection management method provided by an embodiment of the present application;

[0054] Figure 2 A functional module diagram of a lightning protection detection management system provided by an embodiment of the present application;

[0055] Figure 3 A technical framework diagram of a lightning protection detection management system provided by an embodiment of the present application;

[0056] Figure 4A flowchart of a lightning protection detection management method provided by an embodiment of the present application is shown in FIG. 1.

[0057] Figure 5 A flowchart of a login provided by an embodiment of the present application is shown in FIG. 2.

[0058] Figure 6 A flowchart of a lightning protection detection management method provided by an embodiment of the present application is shown in FIG. 1.

[0059] Figure 7 A flowchart of a lightning protection detection management method provided by an embodiment of the present application is shown in FIG. 1.

[0060] Figure 8 An architecture diagram of a detection template management provided by an embodiment of the present application is shown in FIG. 4.

[0061] Figure 9 A flowchart of a verification of whether a person is registered in other institutions provided by an embodiment of the present application is shown in FIG. 5.

[0062] Figure 10 A flowchart of a generation of an evaluation result according to detection data provided by an embodiment of the present application is shown in FIG. 6.

[0063] Figure 11 A structural block diagram of an electronic device provided by an embodiment of the present application is shown in FIG. 7. DETAILED DESCRIPTION

[0064] In order to further illustrate the technical means and effects taken by the present application to achieve the predetermined purposes, the following describes in detail the specific embodiments, structures, features and effects of a lightning protection detection management method, system, electronic device and storage medium according to the present application, with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.

[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs.

[0066] The specific scheme of the lightning protection detection management method, system, electronic device and storage medium provided by the present application is described in detail below with reference to the accompanying drawings.

[0067] The lightning protection detection management method provided by the present application can be applied to, for example, Figure 1In the application environment shown, mobile terminal 101 communicates with server 102 via a network, and terminal 103 also communicates with server 102 via a network. Mobile terminal 101 can respond to a new testing operation via a mini-program, displaying a project information filling interface. Based on the template information selected in the project information filling interface, it displays the corresponding template filling interface. Following the filling operation in the template filling interface, it fills in the testing data obtained during the lightning protection testing process and uploads the testing data to server 102. Server 102 can then send the testing data to terminal 103. Terminal 103 can use a web browser to instruct the generation of a lightning protection testing report based on the testing data, and to review and issue the lightning protection testing report. Mobile terminal 101 is the mobile terminal used by lightning protection testing personnel. Terminal 103 can be a terminal used by lightning protection testing personnel, management personnel of testing institutions, system administrators, or supervisors. The lightning protection testing report is generated based on the test data through a web browser on terminal 103 used by lightning protection testing personnel. The lightning protection testing report is reviewed and issued, and information management of lightning protection testing personnel and equipment is handled through a web browser on terminal 103 used by the testing organization's management personnel. User management, role management, and template design are performed on terminal 103 used by system administrators. Supervision of lightning protection testing is conducted through terminal 103 used by supervisors. Mobile terminal 101 can be a smartphone, tablet, laptop, or portable wearable device. Server 102 can be a standalone server or a server cluster consisting of multiple servers. Terminal 103 can be various personal computers, laptops, smartphones, tablets, IoT devices, or portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, or smart in-vehicle devices. Portable wearable devices can be smartwatches, smart bracelets, or head-mounted devices.

[0068] In one embodiment, the lightning protection detection and management method can be implemented through a lightning protection detection and management system, which includes a web-based platform and a mini-program platform. The web-based platform can be a B / S (Browser / Server Architecture) based system, running through a browser on a terminal. The mini-program platform does not require installation and runs directly within an app (application) with mini-program functionality. Figure 2This showcases the functional modules included in both the web and mini-program versions. The web version includes modules for system management, testing organization management, testing templates, and report management. The system management module is used for user authorization. It includes sub-modules for role management and user management. The user management sub-module manages system users, while the role management sub-module manages user roles, assigning different permissions to different roles. The testing organization management module is used for storing and managing testing organization information, including information on lightning protection testing personnel and testing equipment. It includes sub-modules for testing personnel and testing equipment. The testing personnel sub-module manages information on lightning protection testing personnel and also allows for personnel resignation. The testing equipment sub-module manages information on testing equipment and also allows for equipment deactivation and uploading of calibration reports. The testing template module manages main templates, sub-templates, and testing items. It includes sub-modules for main template management, sub-template management, and testing item management. The report management module manages lightning protection testing reports. The report management module includes sub-modules such as report creation, report review, technical review, report issuance, issued reports, and a recycle bin. Report creation generates lightning protection test reports based on the test data uploaded to the mini-program. Report review allows reviewers to view and confirm the lightning protection test reports. Technical review allows technical reviewers to further review the approved lightning protection test reports. Report issuance allows responsible personnel to issue the approved lightning protection test reports. Issued reports allow users to view historically issued lightning protection test reports. The recycle bin stores deleted lightning protection test reports and allows for permanent deletion or restoration of reports. The mini-program includes modules such as creating a new test, a test list, personal signature, and report verification. The creating a new test module is used to input basic information and test data for the test item. The test list module displays all test items the lightning protection tester participated in and allows users to select unfinished items to continue testing. The personal signature module allows the lightning protection tester to complete their handwritten signature. The report verification module is used to scan the graphic code on the lightning protection test report to view its detailed contents. The graphic code can be a QR code or a barcode, etc.

[0069] Figure 3This section showcases the technical framework of the lightning protection detection and management system. The framework includes a database, an OSS (Object Storage Service) server, microservices, a microservice gateway, and a front-end. The database stores structured data, such as detection data, organizational data, and personnel data. MySQL 8.5 can be used. The OSS server stores lightning protection detection report files and resources such as images to be filled in. Microservices include basic services and aggregated services. Basic services implement basic functionalities, while aggregated services fulfill front-end requirements. An aggregated service may contain one or more basic services. Microservices can be developed using the Golang programming language and the go-micro framework. The front-end is the user interface, including a web page and a mini-program, and can be developed using the Node.js framework based on the JavaScript programming language.

[0070] In one embodiment, such as Figure 4 As shown, a lightning protection detection and management method is provided, which is applied to... Figure 1 Taking the mobile terminal 101's mini-program as an example, the explanation includes the following steps:

[0071] Step 401: In response to the new test operation, display the project information entry interface.

[0072] The "Create New Test" operation is used to instruct the creation of a new test item. The "Item Information Filling Interface" is used to input the initial information required for creating a new test item.

[0073] In one embodiment, the initial information may include template information, testing equipment information, and the location of the testing project, etc.

[0074] In one embodiment, the main interface of the mini-program may include options for functional modules such as creating a new test, a test list, personal signature, and report verification. Lightning protection testing personnel can select the option to create a new test to trigger the new test operation.

[0075] In one embodiment, the user first logs in to the mini-program. Upon successful login, the system can respond to a new detection operation by directly displaying the project information entry interface. If the user is not logged in, the system will first display the login interface, then initiate login based on this interface. After successful login, the project information entry interface will be displayed. Figure 5As shown, the login process includes: verifying the username and password entered on the login interface; after successful verification, calling the face recognition interface for face recognition; if the face recognition is successful, the login is successful; if the face recognition fails, the login fails. The face recognition may also include liveness detection. The username and password of the lightning protection testing personnel are obtained by the administrator of the lightning protection testing organization through a web browser on the terminal. Specifically, the username and password entered on the login interface are verified; after successful verification, the name and ID number of the lightning protection testing personnel are obtained based on the username and password; and the face recognition interface is called to perform face recognition based on the name and ID number.

[0076] It is understandable that in actual lightning protection testing, the personnel actually conducting the testing in many testing organizations do not match the signatories on the lightning protection testing reports. This is especially true when unqualified personnel are tasked with conducting lightning protection testing. Due to insufficient professional competence, some potential lightning safety hazards are not detected in time, thus failing to achieve the true purpose of lightning protection testing. Therefore, lightning protection testing personnel must pass facial recognition before conducting testing to ensure that the signatory on the lightning protection testing report is the same person who actually performs the testing, thereby improving the accuracy of lightning protection testing management.

[0077] In one embodiment, testing equipment can be selected based on the project information entry interface. Testing equipment for which no calibration report has been uploaded or whose calibration report has expired may be displayed as unusable and cannot be selected. In another embodiment, the testing organization's management personnel can upload the calibration report of the testing equipment using a web browser on a terminal.

[0078] Step 402: Display the corresponding template filling interface based on the template information selected in the project information filling interface.

[0079] The template filling interface is used to fill in the detection data in the detection template.

[0080] In one embodiment, the template information can be an industry. Each master template corresponds to a specific industry. Based on the selected target industry, the target master template corresponding to that industry can be displayed in the template entry interface. For example, gas stations and buildings belong to different industries.

[0081] Step 403: Fill in the detection data obtained during the lightning protection detection process according to the filling operation based on the template filling interface.

[0082] Step 404: Upload test data; the test data is used to instruct the web browser on the terminal to generate a lightning protection test report based on the test data, as well as to review and issue the lightning protection test report.

[0083] The mobile app can upload test data to the server, which can then send the data back to the device. The device's web browser can then instruct the generation of a lightning protection test report based on the data, as well as review and issue the report.

[0084] The aforementioned lightning protection testing management method displays a project information entry interface via a mini-program on the mobile terminal used by lightning protection testing personnel. Based on the template information selected in the project information entry interface, a corresponding template entry interface is displayed. By filling in the test data obtained during the lightning protection testing process through the template entry interface, the testing data can be recorded conveniently and efficiently. Then, the test data is uploaded, and the lightning protection testing report is generated based on the test data through the terminal's web browser. The lightning protection testing report can also be reviewed and issued. This method efficiently generates, reviews, and issues lightning protection testing reports, significantly improving the efficiency of lightning protection testing management compared to the traditional method of manually recording test data, writing test reports, and manually submitting test reports for review and issuance.

[0085] In one embodiment, based on the template information selected in the project information filling interface, a corresponding template filling interface is displayed, including: determining the target main template corresponding to the target industry selected in the project information filling interface; each main template corresponds to one industry; displaying several first fields to be filled and several candidate detection objects under the target main template in the template filling interface; the first fields to be filled are used to fill in the basic information of the target detection item; each candidate detection object represents a detection object involved in the target industry corresponding to the target main template; determining the target sub-template corresponding to the target detection object selected from the several candidate detection objects, and displaying several second fields to be filled and several candidate detection items under the target sub-template; the second fields to be filled are used to fill in the basic information of the target detection object; each candidate detection item corresponds to one item detected for the target detection object; based on the target detection item selected from the several candidate detection items, displaying the fields to be filled in the detection data filling form corresponding to the target detection item.

[0086] Each main template corresponds to a specific industry, such as a gas station or a building. Each main template contains at least several fields to be filled (denoted as the first field to be filled) and several sub-templates, and may also contain several images to be filled (denoted as the first image to be filled). Each sub-template corresponds to a specific inspection object. For example, the inspection objects for the gas station industry may include oil storage tanks and gas storage tanks, meaning each oil storage tank and gas storage tank corresponds to a separate sub-template. The inspection objects for the building annual inspection industry may include each building, meaning one building corresponds to one sub-template. Each sub-template contains at least several fields to be filled (denoted as the second field to be filled) and several inspection items, and may also contain several images to be filled (denoted as the second image to be filled). Each inspection item corresponds to one specific aspect of the inspection of the inspection object. For example, inspection items may include direct lightning strike inspection, side lightning strike inspection, and grounding inspection. Each inspection item contains several inspection indicators. For example, the inspection indicators under the grounding inspection item include grounding wire specifications and grounding resistance. Each inspection item corresponds to a separate inspection data entry form. Each row in the test data entry form corresponds to a test indicator under a test item. The columns in the test data entry form correspond to the relevant information for each test indicator. For example, the columns in the test data entry form can represent the test content, standard, unit, test result, and evaluation result corresponding to the test indicator. The test data entry form includes fixed columns, input columns, and evaluation columns. The content in the fixed columns is preset. The content in the input columns needs to be entered by lightning protection testing personnel through the mini-program. The content in the evaluation columns is automatically generated by the system based on the test data. For example, the test content, standard, and unit belong to the fixed columns; the test result belongs to the input column; and the evaluation result belongs to the evaluation column. For example, if the test content is lightning arrester type, the standard is pole, strip, net, wire, or other, and the unit is none, this information is preset by the system. The test result column value is a single selection, corresponding to the "lightning arrester type" dictionary, with a default value of empty. If the acceptable value range is none, then the evaluation column does not need to be set. In this way, when the lightning arrester type is detected in the mini-program, a pop-up will appear asking the inspector to select the corresponding lightning arrester type. Regardless of the type selected, the evaluation value will be qualified (because the qualified value range is zero).

[0087] The first field to be filled in under the main template is for entering basic information about the inspection project. For example, the first field under the main template for an inspection project in the new construction industry can be used to enter the design unit and construction unit, etc. The first image to be filled in under the main template is for uploading basic images of the inspection project. The second field to be filled in under the sub-template is for entering basic information about the inspection object. For example, the sub-template for an inspection project in the building annual inspection industry, involving one of the buildings, can be used to enter the building's name and size information, etc. The second image to be filled in under the sub-template is for uploading basic images of the inspection object. For example, the second image to be filled in under the sub-template for an inspection project in the building annual inspection industry can be used to upload photos of the building, etc.

[0088] Target industry refers to the industry selected from several industries. Target master template refers to the master template corresponding to the target industry among several master templates. Candidate detection objects refer to the detection objects corresponding to the sub-templates under the target master template. Target detection objects refer to the candidate detection objects selected from several candidate detection objects. Target sub-templates refer to the sub-templates corresponding to the target detection objects. Candidate detection items refer to the detection items under the target sub-templates. Target detection items refer to the candidate detection items selected from several candidate detection items.

[0089] In the above embodiments, the template filling interface displays the target main template corresponding to the target industry selected in the project information filling interface. Then, the target detection object is selected from several candidate detection objects under the target main template, and the target detection item is selected from several candidate detection items under the target sub-template corresponding to the target detection object. The detection data filling form corresponding to the target detection item is then displayed. This achieves the templating of the detection data filling forms for each detection item of each detection object under each industry, allowing lightning protection testing personnel to conveniently select templates to fill in the detection data according to the actual testing project, thus improving the efficiency of lightning protection testing.

[0090] In one embodiment, before displaying the corresponding template filling interface based on the template information selected in the project information filling interface, the method further includes: obtaining the location of the detection project filled in based on the project information filling interface; obtaining the location of the mobile terminal; uploading the location of the detection project and the location of the mobile terminal to perform detection authenticity verification based on the distance between the location of the detection project and the location of the mobile terminal; if the detection authenticity verification passes, then displaying the corresponding template filling interface based on the template information selected in the project information filling interface; if the detection authenticity verification fails, then ending the process.

[0091] Among them, verification of the authenticity of the test refers to verifying whether the lightning protection testing personnel are actually conducting lightning protection testing at the location of the test project.

[0092] In one embodiment, the location of the detection project and the location of the mobile terminal are uploaded to the backend interface. The backend interface ReportDistanceLevel calculates the distance between the location of the detection project and the location of the mobile terminal using the ST_DISTANCE_SPHERE function in MySQL. In one embodiment, the distance between the location of the detection project and the location of the mobile terminal can be compared with a first preset threshold to verify the authenticity of the detection. If the distance is less than or equal to the first preset threshold, the authenticity verification is deemed successful, and the corresponding template filling interface is displayed based on the template information selected on the project information filling interface. If the distance is greater than the first preset threshold, the authenticity verification is deemed unsuccessful, and the process ends.

[0093] In another embodiment, such as Figure 6 As shown, if the distance is less than or equal to the first preset threshold, the authenticity verification is considered successful, and the template information selected based on the project information filling interface is executed, displaying the corresponding template filling interface. If the distance is greater than the first preset threshold and less than or equal to the second preset threshold, the authenticity verification is considered pending, and a confirmation prompt window pops up. In response to the confirmation operation in the confirmation prompt window, the template information selected based on the project information filling interface is executed, displaying the corresponding template filling interface. In response to the cancellation operation in the confirmation prompt window, the process ends. If the distance is greater than the second preset threshold, the authenticity verification is considered unsuccessful, and the process ends. The first preset threshold is less than the second preset threshold. For example, the first preset threshold can be set to 5 kilometers, and the second preset threshold can be set to 10 kilometers. It is understandable that some lightning protection testing projects are located in mountainous or remote areas with poor signal, which may lead to the inability to update the location in a timely manner. Therefore, in this embodiment, if the distance is greater than the first preset threshold and less than or equal to the second preset threshold, the authenticity verification of the test is determined to be pending. A confirmation prompt window will then pop up for the user to confirm whether to continue the process of creating a new testing project. This can avoid the problem that lightning protection testing personnel have arrived at the location of the testing project, but the mobile terminal cannot update the location in a timely manner, thus preventing the creation of a new testing project. This improves the flexibility of lightning protection testing management.

[0094] In the above embodiments, the authenticity of the detection is verified based on the distance between the location of the detection project and the location of the mobile terminal. If the authenticity verification is successful, the corresponding template filling interface is displayed based on the template information selected on the project information filling interface. If the authenticity verification fails, the process ends. This ensures that lightning protection testing personnel are actually conducting lightning protection testing at the location of the detection project, thereby improving the accuracy and quality of lightning protection testing management.

[0095] In one embodiment, after displaying the corresponding template filling interface based on the template information selected in the project information filling interface, the method further includes: during the process of filling in the test data, obtaining and uploading the location of the mobile terminal at preset intervals; obtaining and uploading the location of the mobile terminal when uploading the test data; wherein, the location of the mobile terminal uploaded at each time point is used to generate the historical trajectory of the entire lightning protection test process, and the historical trajectory is displayed in the web browser of the terminal used by the supervisor to supervise the lightning protection test.

[0096] The preset duration can be set according to actual regulatory needs. For example, the preset duration can be set to 0.5 hours. The location of the mobile terminal uploaded at each time point includes the location used for verifying the authenticity of the test, the location obtained at preset intervals during the data entry process, and the location obtained when uploading the test data. The regulatory personnel can be staff members of the meteorological bureau responsible for supervising lightning protection testing.

[0097] like Figure 6 As shown, after successful creation, the location of the test project and the location of the mobile terminal are uploaded. During the test, the location is uploaded at preset intervals, and the location is also uploaded when submitting the test data.

[0098] In one embodiment, in addition to displaying the historical trajectory in the web browser of the terminal used by the supervisor, the modification records of each time the lightning protection testing personnel modified the testing data through the mini-program can also be displayed. In one embodiment, a field named record_num can be added to the testing data table to represent the number of times the data is saved. Combined with the saved record data table tb_bus_testing_input_record, a specific modification record can be read individually.

[0099] In the above embodiments, a historical trajectory is generated based on the location of the mobile terminal uploaded during the lightning protection testing process, and displayed in the web browser of the terminal used by the supervisor. This avoids the problem of lightning protection testing personnel issuing test reports without arriving at the testing site or only staying for a short time, thus improving the accuracy and quality of lightning protection testing management.

[0100] In one embodiment, such as Figure 7 As shown, a lightning protection detection and management method is provided, which is applied to... Figure 1 Taking the web browser of terminal 103 as an example, the following steps are included:

[0101] Step 701: Display the report creation interface in the web browser of the terminal used by the lightning protection testing personnel.

[0102] The report creation interface is used to instruct users to generate lightning protection test reports based on the test data.

[0103] Step 702: In response to the report creation operation based on the report creation interface, display the lightning protection test report generated based on the test data; the test data is entered in the template filling interface through the applet on the mobile terminal used by the lightning protection test personnel during the lightning protection test.

[0104] In one embodiment, the terminal used by the lightning protection testing personnel can respond to the report creation operation based on the report creation interface, send a report creation instruction to the server, generate an evaluation result based on the test data, generate a lightning protection test report based on the test data and the evaluation result, and send the lightning protection test report to the terminal used by the lightning protection testing personnel for display.

[0105] Step 703: Display the report review interface for the lightning protection test report in the web browser of the terminal used by the primary manager of the testing agency.

[0106] In one embodiment, the first management personnel may include reviewers and technical auditors, and the review includes review and technical audit. A report review interface for the lightning protection test report is displayed in the web browser of the terminal used by the reviewers of the testing organization. After triggering a review confirmation operation based on the report review interface, a technical audit interface for the approved lightning protection test report is displayed in the web browser of the terminal used by the technical auditors of the testing organization. After triggering a technical audit confirmation operation based on the technical audit interface, a report issuance interface for the approved lightning protection test report is displayed in the web browser of the terminal used by the second management personnel of the testing organization.

[0107] Step 704: After triggering the review confirmation operation based on the report review interface, display the report issuance interface for the approved lightning protection test report in the web browser of the terminal used by the second manager of the testing agency.

[0108] The second manager can be the head of the testing organization.

[0109] Step 705: In response to the report issuance operation based on the report issuance interface, the final lightning protection test report is issued.

[0110] The aforementioned lightning protection testing management method allows testing personnel to input test data into a template interface via a mini-program on their mobile terminals during the testing process. This facilitates efficient recording of test data. The testing personnel then use their terminals to generate a lightning protection test report based on the data. Finally, the testing agency's management personnel use their terminals to review and issue the report. This efficient method significantly improves the efficiency of lightning protection testing management compared to the traditional method of manually recording test data, writing test reports, and submitting them for review and issuance.

[0111] In one embodiment, the method further includes: displaying a main template management interface in a web browser on a terminal used by a system administrator; in response to a main template design operation based on the main template management interface, setting several first fields to be filled and several sub-templates under the main template; each main template corresponds to an industry; the first fields to be filled are used to fill in the basic information of the test items; each sub-template corresponds to a test object; displaying a sub-template management interface, in response to a sub-template design operation based on the sub-template management interface, setting several second fields to be filled and several test items under the sub-template; the second fields to be filled are used to fill in the basic information of the test object corresponding to the sub-template; each test item corresponds to one of the items to be tested for the test object; displaying a test item management interface, in response to a test item design operation based on the test item management interface, setting a test data filling form corresponding to the test item.

[0112] like Figure 8 As shown, the main template management interface includes at least dynamic fields and sub-template functional modules, and may also include an animated image functional module. The dynamic field functional module defines the information for the first field to be filled in under the main template. This information can include the field name, field type, sequence number, and whether it is required. Field types include text, multiline text, single selection, multiple selection, integer, and decimal. The animated image functional module defines the information for the images to be filled in under the main template. This information includes the image name, sequence number, and whether it is required. The sub-template functional module manages the information of sub-templates under the main template.

[0113] like Figure 8As shown, the sub-template management interface includes at least dynamic fields and detection item modules, and may also include a dynamic image module. The dynamic field module defines the information for the second field to be filled in under the sub-template. This information can include the field name, field type, sequence number, and whether it is required. Field types include text, multiline text, single selection, multiple selection, integer, and decimal. The dynamic image module defines the information for the image to be filled in under the sub-template. This information includes the image name, sequence number, and whether it is required. The detection item module defines the detection items.

[0114] like Figure 8 As shown, the test item management interface includes column management and design modules. The column management module manages the column information in the test data entry form. Column information can include column type, column name, unit, whether it is required, column value type, and the corresponding data dictionary. Column types can include fixed columns, input columns, and evaluation columns. Column value types can include text, multiline text, single selection, multiple selection, integer, and decimal. The design module is used to design the test indicators under each test item.

[0115] In the above embodiments, system administrators can conveniently use the terminal's web browser to design and manage the main template, sub-templates, and test items, thereby enabling the templated filling forms for test data of various test items for various test objects under various industries. This allows lightning protection testers to conveniently select templates to fill in test data according to the actual test items, improving the efficiency of lightning protection testing.

[0116] In one embodiment, the method further includes: obtaining the information of newly added or modified lightning protection testing personnel through the web browser of the terminal used by the third-party manager of the testing organization; determining whether the lightning protection testing personnel have carried out lightning protection testing work based on the information of the lightning protection testing personnel; if so, the information of the lightning protection testing personnel cannot be modified; if not, the information of the lightning protection testing personnel is submitted to the backend; if the backend determines based on the information of the lightning protection testing personnel that the lightning protection testing personnel has registered with other testing organizations besides the testing organization currently submitting the information, the submission fails; if the backend determines based on the information of the lightning protection testing personnel that the lightning protection testing personnel has not registered with other testing organizations besides the testing organization currently submitting the information, the submission succeeds.

[0117] like Figure 9As shown, when adding or modifying the information of lightning protection testing personnel, it is determined whether the lightning protection testing personnel have carried out lightning protection testing work. If so, the information of the lightning protection testing personnel cannot be modified; if not, the information of the lightning protection testing personnel is submitted to the backend. If the backend determines that the lightning protection testing personnel has registered with other testing organizations besides the testing organization currently submitting the information, the submission fails; if the backend determines that the lightning protection testing personnel has not registered with other testing organizations besides the testing organization currently submitting the information, the submission succeeds.

[0118] It is understandable that when adding new lightning protection testing personnel, the result of judging whether the lightning protection testing personnel have carried out lightning protection testing work must be no. When modifying the information of lightning protection testing personnel, the result of judging whether the lightning protection testing personnel have carried out lightning protection testing work can be either yes or no.

[0119] In one embodiment, such as Figure 9 As shown, when adding new lightning protection testing personnel, the personnel identifier is first set to an abnormal identifier (e.g., -1), and then changed to a normal identifier upon successful submission. If the personnel identifier (ID) in the uploaded lightning protection testing personnel information is not equal to the already entered personnel identifier (used to exclude modifications to personnel information of this testing organization), the ID number in the uploaded lightning protection testing personnel information is equal to the already entered ID number, and the resignation status in the uploaded lightning protection testing personnel information is "not resigned," then it is determined that the lightning protection testing personnel has already registered with other testing organizations besides the testing organization currently submitting the information, and the submission fails.

[0120] In the above embodiments, some testing institutions, in order to save costs, purchase certificates from personnel holding lightning protection testing certificates for a very small fee to issue reports, resulting in the same certificate appearing in multiple institutions. Therefore, in the platform, the same ID number can only be employed by one testing institution. If a lightning protection testing personnel leaves, the next testing institution can only enter that personnel's information after the institution has processed their departure. When any testing institution enters personnel information, the system will perform corresponding checks, and the submission will only be successful if the testing personnel are not employed by any other testing institution. Furthermore, once a testing personnel has conducted testing work, their name and ID number cannot be permanently modified. This improves the quality of lightning protection testing management.

[0121] In one embodiment, the steps for generating a lightning protection detection report include: screening out target detection data corresponding to target detection indicators with a qualified value range from the detection data; uniformly replacing the delimiter characters in the target detection data; separating the target detection data into a string array according to the positions of the replaced characters; respectively determining whether each element in the string array is within the qualified value range corresponding to the target detection indicator to obtain an evaluation result; and generating a lightning protection detection report based on the detection data and the evaluation result.

[0122] Among them, the delimiter character is a symbol used to separate each time's detection data in the detection data. In one embodiment, the delimiter character may include spaces, slashes, commas, etc. For example: the delimiter character can be uniformly replaced with the character "@". For example: in the grounding detection of the power distribution cabinet in the fan room of a coal mine, the grounding wire specification being greater than or equal to 6 square millimeters and the grounding resistance being less than or equal to 4 ohms is qualified. Whether it is the grounding wire specification or the grounding resistance, there may be multiple detection values, and the intermediate of each detection value may be separated by a forward slash, a space, or a comma. As long as any one detection value is unqualified, the detection result of the power distribution cabinet is unqualified.

[0123] In one embodiment, the evaluation result may include qualified and unqualified. In another embodiment, the evaluation result may include qualified, unqualified, and none (that is, there is no need to evaluate qualified or unqualified).

[0124] In one embodiment, as Figure 10 shown, if each element is within the qualified value range corresponding to the target detection indicator, the evaluation result of the corresponding detection item is qualified; if at least one element is not within the qualified value range corresponding to the target detection indicator, the evaluation result of the corresponding detection item is unqualified.

[0125] In the above embodiments, it is possible to automatically determine whether the detection result is qualified according to the lightning protection detection specification, and the judgment rule can support multiple detection items and the composite judgment of multiple values in each detection item.

[0126] In one embodiment, the present invention provides a lightning protection detection management system, which includes a memory and a processor; the memory is used to store executable program codes; the processor is used to call and run the executable program codes from the memory to implement the steps in the lightning protection detection management method provided in each embodiment of the present invention.

[0127] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as Figure 11As shown, this electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a lightning protection detection and management method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.

[0128] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0129] In one embodiment, the present invention provides an electronic device including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the lightning protection detection and management method provided in various embodiments of the present invention.

[0130] In one embodiment, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the lightning protection detection and management method provided in various embodiments of the present invention.

[0131] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0132] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0133] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0134] The embodiments described above are merely examples of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application.

[0135] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0136] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

Claims

1. A lightning protection detection and management method, characterized in that, The method is executed via a mini-program on a mobile terminal used by lightning protection testing personnel; the method includes: In response to a new test operation, a project information entry interface is displayed; Based on the template information selected in the project information filling interface, the corresponding template filling interface will be displayed; According to the filling operation based on the template filling interface, fill in the detection data obtained during the lightning protection detection process; Upload the detection data; the detection data is used to instruct the web browser on the terminal to generate a lightning protection detection report based on the detection data, and to review and issue the lightning protection detection report.

2. The lightning protection detection and management method according to claim 1, characterized in that, The step of displaying the corresponding template filling interface based on the template information selected on the project information filling interface includes: Determine the target master template corresponding to the target industry selected based on the project information entry interface; each master template corresponds to one industry. The template filling interface displays several first fields to be filled and several candidate detection objects under the target main template; the first fields to be filled are used to fill in the basic information of the target detection project; each candidate detection object represents a detection object involved in the target industry corresponding to the target main template; A target sub-template corresponding to the target detection object selected from the plurality of candidate detection objects is determined, and a plurality of second fields to be filled and a plurality of candidate detection items are displayed under the target sub-template; the second fields to be filled are used to fill in the basic information of the target detection object; each candidate detection item corresponds to one item to be detected for the target detection object; Based on the target detection item selected from the candidate detection items, display the detection data entry form corresponding to the target detection item.

3. The lightning protection detection and management method according to claim 1 or 2, characterized in that, Before displaying the corresponding template filling interface based on the template information selected on the project information filling interface, the method further includes: The location of the detection project can be obtained based on the project information filling interface; Obtain the location of the mobile terminal; Upload the location of the detection project and the location of the mobile terminal to verify the authenticity of the detection based on the distance between the location of the detection project and the location of the mobile terminal; If the authenticity verification is successful, then the template information selected based on the project information filling interface will be executed, and the corresponding template filling interface will be displayed. If the authenticity verification fails, the process ends.

4. The lightning protection detection and management method according to claim 3, characterized in that, After displaying the corresponding template filling interface based on the template information selected on the project information filling interface, the method further includes: During the process of filling in the detection data, the location of the mobile terminal is obtained and uploaded at preset intervals; The location of the mobile terminal is obtained and uploaded when the detection data is uploaded; The location data of the mobile terminal uploaded at each time point is used to generate a historical trajectory of the entire lightning protection testing process, and the historical trajectory is displayed in the web browser of the terminal used by the supervisor to supervise the lightning protection testing.

5. A lightning protection detection and management method, characterized in that, The method is executed via a web browser on a terminal; the method includes: The report creation interface is displayed in the web browser of the terminal used by lightning protection testing personnel; In response to the report creation operation based on the report creation interface, a lightning protection test report generated based on the test data is displayed; the test data is entered in the template filling interface through a mini-program on the mobile terminal used by the lightning protection test personnel during the lightning protection test. The report review interface for the lightning protection test report is displayed in the web browser of the terminal used by the primary manager of the testing agency. After the review and confirmation operation is triggered based on the report review interface, the report issuance interface for the approved lightning protection test report is displayed in the web browser of the terminal used by the second manager of the testing agency. In response to the report issuance operation based on the report issuance interface, the final lightning protection test report is issued.

6. The lightning protection detection and management method according to claim 5, characterized in that, The method further includes: The main template management interface is displayed in the web browser of the terminal used by system administrators; In response to the main template design operation based on the main template management interface, several first fields to be filled and several sub-templates are set under the main template; each main template corresponds to an industry; the first fields to be filled are used to fill in the basic information of the detection project; each sub-template corresponds to a detection object. The sub-template management interface is displayed. In response to the sub-template design operation based on the sub-template management interface, several second fields to be filled and several detection items are set under the sub-template. The second fields to be filled are used to fill in the basic information of the detection object corresponding to the sub-template. Each detection item corresponds to one of the items to be detected for the detection object. Display the test item management interface, and in response to the test item design operation based on the test item management interface, set the test data filling form corresponding to the test item.

7. The lightning protection detection and management method according to claim 5, characterized in that, The method further includes: Information on newly added or modified lightning protection testing personnel is obtained through the web browser of the terminal used by the third-level manager of the testing agency. Based on the information of the lightning protection testing personnel, determine whether the lightning protection testing personnel have carried out lightning protection testing work; If so, the information of the lightning protection testing personnel cannot be modified; If not, the lightning protection testing personnel's information is submitted to the backend; if the backend determines that the lightning protection testing personnel has registered with any testing organization other than the testing organization currently submitting the information, the submission fails; if the backend determines that the lightning protection testing personnel has not registered with any testing organization other than the testing organization currently submitting the information, the submission succeeds.

8. The lightning protection detection and management method according to any one of claims 5 to 7, characterized in that, The steps for generating the lightning protection test report include: Target test data corresponding to target test indicators with set acceptable value ranges are selected from the test data; Replace the separator characters in the target detection data with uniform characters; The target detection data is divided into a string array according to the position of each replaced character; Each element in the string array is determined to be within the acceptable value range corresponding to the target detection index to obtain the evaluation result; A lightning protection test report is generated based on the test data and the evaluation results.

9. A lightning protection detection and management system, characterized in that, The system includes a memory and a processor; the memory is used to store executable program code; the processor is used to call and run the executable program code from the memory to implement the lightning protection detection and management method according to any one of claims 1 to 8.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the lightning protection detection and management method as described in any one of claims 1 to 4 or 5 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the lightning protection detection and management method as described in any one of claims 1 to 4 or 5 to 8.

Citation Information

Cited By

  • Lightning protection detection task generation method and system

    CN121542586A

  • A method and system for generating lightning protection detection tasks

    CN121542586B