CN116760868B - Automatic judging and detecting method and system for intelligent distribution transformer - Google Patents

Automatic judging and detecting method and system for intelligent distribution transformer Download PDF

Info

Publication number
CN116760868B
CN116760868B CN202311029419.5A CN202311029419A CN116760868B CN 116760868 B CN116760868 B CN 116760868B CN 202311029419 A CN202311029419 A CN 202311029419A CN 116760868 B CN116760868 B CN 116760868B
Authority
CN
China
Prior art keywords
detection
server
quick
data
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311029419.5A
Other languages
Chinese (zh)
Other versions
CN116760868A (en
Inventor
张思聪
戴建卓
陶加贵
何泽家
成义新
韩飞
赵恒�
陈昱彤
宋思齐
许建明
厉苗
李成钢
储昭杰
毛丹辰
杨卫星
丁一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Jiangsu Electric Power Co ltd Innovation And Innovation Center
State Grid Jiangsu Electric Power Co Ltd
Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Jiangsu Electric Power Co ltd Innovation And Innovation Center
State Grid Jiangsu Electric Power Co Ltd
Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Jiangsu Electric Power Co ltd Innovation And Innovation Center, State Grid Jiangsu Electric Power Co Ltd, Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Jiangsu Electric Power Co ltd Innovation And Innovation Center
Priority to CN202311029419.5A priority Critical patent/CN116760868B/en
Publication of CN116760868A publication Critical patent/CN116760868A/en
Application granted granted Critical
Publication of CN116760868B publication Critical patent/CN116760868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an automatic judging and detecting method and system for an intelligent distribution transformer, wherein the method comprises the following steps: the server generates a detection task according to the detection requirement and sends the detection task to the mobile terminal; after receiving and displaying the detection task, the mobile terminal sends the detection task to a quick detection device; the quick detection device executes a corresponding detection task according to the received detection task information and collects detection data, and the quick detection device sends the detection data to the server through the mobile terminal; after receiving the detection data, the server processes the detection data and automatically judges the detection result by using a preset transformer detection data model; and according to the judging result, the server automatically generates a distribution transformer detection report. The method of the invention realizes the on-line control of the whole transformer field detection process, and improves the efficiency and quality of detection work.

Description

一种智能配电变压器的自动判定检测方法及系统An automatic determination and detection method and system for intelligent distribution transformers

技术领域Technical field

本发明属于计算机技术领域,尤其涉及一种智能配电变压器的自动判定检测方法及系统。The invention belongs to the field of computer technology, and in particular relates to an automatic determination and detection method and system for intelligent distribution transformers.

背景技术Background technique

配电变压器作为电力系统中重要的设备之一,承担着电能传输和分配的任务。为确保电力系统的可靠运行,对配电变压器进行定期检测与维护是十分必要的。然而,传统的现场变压器检测方法存在诸多问题,如操作繁琐、自动化程度低、数据管理不便等。这些问题不仅影响了检测工作的效率,而且可能导致检测结果的不准确,从而影响电力系统的稳定运行。As one of the important equipment in the power system, distribution transformer is responsible for the transmission and distribution of electric energy. In order to ensure the reliable operation of the power system, regular inspection and maintenance of distribution transformers is very necessary. However, traditional on-site transformer detection methods have many problems, such as cumbersome operations, low automation, and inconvenient data management. These problems not only affect the efficiency of detection work, but may also lead to inaccurate detection results, thereby affecting the stable operation of the power system.

随着科技的发展,智能化技术在诸多领域得到了广泛应用。智能化技术可以通过自动化控制、数据分析等手段,提高生产过程中的效率与质量。在配电变压器检测领域,智能化技术的应用尤为重要。然而,当前市场上的变压器检测仪器大多无法实现自动化试验流程控制、自动生成检测报告以及检测数据对接内网,同时也无法实现盲检功能。这些问题限制了配电变压器检测业务的数字化与智能化水平的提高。With the development of science and technology, intelligent technology has been widely used in many fields. Intelligent technology can improve efficiency and quality in the production process through automated control, data analysis and other means. In the field of distribution transformer detection, the application of intelligent technology is particularly important. However, most of the transformer testing instruments currently on the market cannot realize automated test process control, automatically generate test reports, and connect test data to the intranet. They also cannot implement blind inspection functions. These problems limit the improvement of the digitalization and intelligence level of distribution transformer inspection business.

且一些移动式配电变压器检测装置可以在信息外网环境中开展设备的试验工作,但仍然存在信息安全风险。此外,现场检测人员通常需要通过移动终端接收任务,然后手动执行各项试验任务,这一过程耗时较长且易出错。在检测结束后,检测数据通常需要人工上传至质量监督平台,这一过程既不便捷,也容易导致数据的遗漏或篡改。如专利CN106597158A公开一种配电变压器综合检测装置,包含:移动装置和设置在移动装置上的检测模块、集成接线模块、集成控制器和中央控制器,检测模块通过集成接线模块接入集成控制器,实现对配电变压器的自动测试,中央控制器实现对测试数据的分析和存储。虽然可以集成控制和管理,进行统一的数据管理及诊断分析,提高变压器运行的可靠性及技术管理水平,但是其仍无法实现自动化试验流程控制、自动生成检测报告以及检测数据对接内网,同时也存在信息安全风险的问题。因此,如何将智能化技术应用于配电变压器检测,实现自动化试验流程控制、自动生成检测报告、检测数据自动和安全地归集至物资质量监督平台,并具备盲检功能,成为了亟待解决的问题。And some mobile distribution transformer detection devices can carry out equipment testing in an information external network environment, but there are still information security risks. In addition, on-site inspection personnel usually need to receive tasks through mobile terminals and then manually perform various test tasks. This process is time-consuming and error-prone. After the inspection is completed, the inspection data usually needs to be manually uploaded to the quality supervision platform. This process is not convenient and can easily lead to the omission or tampering of data. For example, patent CN106597158A discloses a comprehensive detection device for distribution transformers, which includes: a mobile device and a detection module installed on the mobile device, an integrated wiring module, an integrated controller and a central controller. The detection module is connected to the integrated controller through the integrated wiring module. , realize automatic testing of distribution transformers, and the central controller realizes the analysis and storage of test data. Although it can integrate control and management, conduct unified data management and diagnostic analysis, and improve the reliability of transformer operation and technical management level, it still cannot realize automated test process control, automatically generate test reports, and connect test data to the intranet. At the same time, it cannot There are information security risks. Therefore, how to apply intelligent technology to distribution transformer testing to achieve automated test process control, automatically generate test reports, automatically and safely collect test data to the material quality supervision platform, and have blind inspection functions has become an urgent problem to be solved question.

现有的智能化检测方法往往缺乏对信息安全性的充分考虑,可能导致检测数据泄露或篡改。因此,开发一种能够在信息外网环境中安全开展设备试验工作的移动式配电变压器智能快检装置,具备运营商的无线VPN专线接入信息内网的能力,同时依托物资质量监督平台下发检测任务并实时接收任务的能力,显得尤为重要。Existing intelligent detection methods often lack sufficient consideration of information security, which may lead to leakage or tampering of detection data. Therefore, it is necessary to develop a mobile distribution transformer intelligent quick inspection device that can safely carry out equipment testing in an information external network environment. It has the ability of the operator's wireless VPN dedicated line to access the information intranet, and at the same time relies on the material quality supervision platform. The ability to send detection tasks and receive tasks in real time is particularly important.

发明内容Contents of the invention

针对上述现有技术中存在的缺陷,本发明提供一种智能配电变压器的自动判定检测方法及系统,可以在保证检测任务数据传输安全性的同时,保证只有快检装置和服务器可以访问和读取到检测数据,满足不同设备的权限需求。In view of the defects existing in the above-mentioned prior art, the present invention provides an automatic determination and detection method and system for intelligent distribution transformers, which can ensure the safety of detection task data transmission while ensuring that only the quick inspection device and the server can access and read. Obtain detection data to meet the permission requirements of different devices.

第一方面,本发明提供一种智能配电变压器的自动判定检测方法,所述方法包括:In a first aspect, the present invention provides an automatic determination and detection method for intelligent distribution transformers. The method includes:

服务器根据检测需求生成检测任务,将检测任务发送给移动终端;The server generates detection tasks based on detection requirements and sends the detection tasks to the mobile terminal;

所述移动终端接收并显示检测任务后,以及所述移动终端将检测任务发送给快检装置;After the mobile terminal receives and displays the detection task, the mobile terminal sends the detection task to the quick inspection device;

所述快检装置根据收到的检测任务信息执行相应的检测任务,并收集检测数据;The quick inspection device performs corresponding inspection tasks according to the received inspection task information and collects inspection data;

所述快检装置使用密钥算法生成用于加密检测数据的第一共享密钥K1,并将加密后的检测数据通过移动终端发送给所述服务器;The quick inspection device uses a key algorithm to generate a first shared key K1 for encrypting the detection data, and sends the encrypted detection data to the server through the mobile terminal;

服务器接收检测数据后,使用密钥算法生成用于解密检测数据的第二共享密钥K2,并将解密后的检测数据使用预先设定的变压器检测数据模型进行检测结果的判定;After receiving the detection data, the server uses the key algorithm to generate the second shared key K2 for decrypting the detection data, and uses the decrypted detection data to determine the detection results using the preset transformer detection data model;

根据检测结果,所述服务器自动生成变压器检测报告。According to the detection results, the server automatically generates a transformer detection report.

其中,快检装置和服务器均通过Diffie-Hellman算法生成对应的第一共享密钥K1和第二共享密钥K2。Among them, both the quick inspection device and the server generate the corresponding first shared key K1 and second shared key K2 through the Diffie-Hellman algorithm.

其中,利用机器学习或深度学习方法构建变压器检测数据模型。Among them, machine learning or deep learning methods are used to build a transformer detection data model.

其中,所述移动终端显示包括任务ID、检测项目、开始时间和结束时间,用于展示检测任务的详细信息;Wherein, the mobile terminal display includes task ID, detection items, start time and end time, used to display detailed information of the detection task;

以及展示检测数据的接收情况,表明所述移动终端是否已经接收到了快检装置发送的相应检测任务的检测数据。And display the reception status of the detection data, indicating whether the mobile terminal has received the detection data of the corresponding detection task sent by the quick detection device.

其中,服务器根据检测需求生成检测任务时,还包括:Among them, when the server generates detection tasks based on detection requirements, it also includes:

服务器生成一个全局参数集合,包含多对全局参数g、p,其中每对全局参数g、p中,p是大质数,g是p的生成元,当所述服务器需要下发检测任务时,所述服务器根据执行检测任务的快检装置的ID选择一对全局参数g、p,并基于选择的一对全局参数g、p生成第一临时私钥a和对应的服务器公钥A。The server generates a global parameter set, including multiple pairs of global parameters g and p. In each pair of global parameters g and p, p is a large prime number and g is the generator of p. When the server needs to issue a detection task, the The server selects a pair of global parameters g and p based on the ID of the quick inspection device that performs the detection task, and generates the first temporary private key a and the corresponding server public key A based on the selected pair of global parameters g and p.

其中,所述服务器将检测任务信息、服务器公钥A、选定的全局参数g、p以及快检装置ID一同发送给所述移动终端;Wherein, the server sends the detection task information, server public key A, selected global parameters g, p and quick detection device ID to the mobile terminal;

所述移动终端接收到后,将检测任务信息显示给用户,并将所述检测任务信息、所述服务器公钥A、所述选定的全局参数g、p和快检装置ID一起转发给所述快检装置ID对应的快检装置。After receiving it, the mobile terminal displays the detection task information to the user, and forwards the detection task information, the server public key A, the selected global parameters g, p and the quick detection device ID to the user. The quick inspection device corresponding to the quick inspection device ID.

其中,所述快检装置基于全局参数g、p生成第二临时私钥b和对应的快检装置公钥B,根据第二临时私钥b和服务器公钥A得到第一共享密钥K1,同时根据所述检测任务执行检测,检测完成后使用第一共享密钥K1加密检测数据,将加密后的检测数据和快检装置公钥B通过所述移动终端发送至所述服务器,所述服务器接收到加密的检测数据后,通过第一临时私钥a和快检装置公钥B得到第二共享密钥K2,并使用所述第二共享密钥K2解密检测数据。Wherein, the quick inspection device generates the second temporary private key b and the corresponding quick inspection device public key B based on the global parameters g and p, and obtains the first shared key K1 based on the second temporary private key b and the server public key A, At the same time, the detection is performed according to the detection task. After the detection is completed, the detection data is encrypted using the first shared key K1, and the encrypted detection data and the public key B of the quick detection device are sent to the server through the mobile terminal. The server After receiving the encrypted detection data, the second shared key K2 is obtained through the first temporary private key a and the public key B of the rapid detection device, and the second shared key K2 is used to decrypt the detection data.

其中,所述方法还包括:Wherein, the method also includes:

使用RSA加密算法用于所述服务器和所述移动终端之间的通信安全。The RSA encryption algorithm is used for communication security between the server and the mobile terminal.

其中,所述服务器生成RSA密钥对,所述RSA密钥对包括公钥和私钥,所述服务器持有私钥用于签名检测任务,所述服务器将RSA公钥发送给所述移动终端。Wherein, the server generates an RSA key pair, the RSA key pair includes a public key and a private key, the server holds the private key for signature detection tasks, and the server sends the RSA public key to the mobile terminal .

其中,所述快检装置将使用第一共享密钥K1加密的检测数据与对应的检测任务信息组合成一个完整的数据包并发送给所述移动终端,所述移动终端将所述完整的数据包使用服务器的RSA公钥进行加密后发送给所述服务器。Wherein, the quick inspection device combines the inspection data encrypted using the first shared key K1 and the corresponding inspection task information into a complete data package and sends it to the mobile terminal, and the mobile terminal converts the complete data The packet is encrypted using the server's RSA public key and sent to the server.

第二方面,本发明提供一种智能配电变压器的自动判定检测系统,使用上述的智能配电变压器的自动判定检测方法,包括依次通信连接的服务器、移动终端、快检装置;In a second aspect, the present invention provides an automatic determination and detection system for an intelligent distribution transformer, which uses the above-mentioned automatic determination and detection method for an intelligent distribution transformer and includes a server, a mobile terminal, and a quick inspection device that are sequentially communicated and connected;

服务器用于根据检测需求生成检测任务,将检测任务通过VPN发送给移动终端,用于接收检测数据后,使用密钥算法生成用于解密检测数据的第二共享密钥K2,并将解密后的检测数据使用预先设定的变压器检测数据模型进行检测结果的判定,还用于根据检测结果,生成变压器检测报告;The server is used to generate detection tasks according to detection requirements, send the detection tasks to the mobile terminal through VPN, and after receiving the detection data, uses a key algorithm to generate a second shared key K2 for decrypting the detection data, and sends the decrypted The detection data uses the preset transformer detection data model to determine the detection results, and is also used to generate a transformer detection report based on the detection results;

移动终端用于接收并显示检测任务后,将检测任务发送给快检装置,还用于接收加密后的检测数据并发送给所述服务器;The mobile terminal is used to receive and display the detection task, send the detection task to the quick inspection device, and is also used to receive the encrypted detection data and send it to the server;

快检装置用于根据收到的检测任务,执行相应的检测任务,并收集检测数据,还用于使用密钥算法生成用于加密检测数据的第一共享密钥K1,并将加密后的检测数据发送给移动终端。The quick inspection device is used to perform corresponding inspection tasks according to the received inspection tasks and collect inspection data. It is also used to use a key algorithm to generate a first shared key K1 for encrypting the inspection data, and the encrypted inspection device The data is sent to the mobile terminal.

第三方面,本发明还提供一种计算机可读介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现上述的自动判定检测方法中的步骤。In a third aspect, the present invention also provides a computer-readable medium on which a computer program is stored, wherein the steps in the above-mentioned automatic determination and detection method are implemented when the computer program is executed by a processor.

通过本发明的方法,在保证检测任务数据传输安全性的同时,终端可以访问检测项目信息并在本地进行标记,但仍无法访问加密的检测数据。只有快检装置和服务器可以访问和读取到检测数据,从而满足不同设备的权限需求。Through the method of the present invention, while ensuring the security of detection task data transmission, the terminal can access the detection project information and mark it locally, but it still cannot access the encrypted detection data. Only the quick inspection device and server can access and read the inspection data to meet the permission requirements of different devices.

本发明移动式配电变压器的快检装置可以在信息外网环境中开展设备试验工作,并通过运营商的无线VPN专线接入信息内网。依托质量监督平台,该装置可以实时接收并执行检测任务,确保检测任务的顺利进行。在试验结束后,检测数据不会在终端显示,而是通过系统后台实时自动归集至物资质量监督平台。通过物资质量监督平台的变压器检测数据模型自动判定检测结果并智能生成配电变压器检测报告,实现了变压器现场检测全过程线上管控,提高了检测工作的效率与质量。The quick inspection device of the mobile distribution transformer of the present invention can carry out equipment testing work in an information external network environment, and access the information internal network through the operator's wireless VPN dedicated line. Relying on the quality supervision platform, the device can receive and execute inspection tasks in real time to ensure the smooth progress of the inspection tasks. After the test is completed, the test data will not be displayed on the terminal, but will be automatically collected to the material quality supervision platform in real time through the system background. Through the transformer inspection data model of the material quality supervision platform, the inspection results are automatically determined and the distribution transformer inspection report is intelligently generated, which realizes online control of the entire process of on-site inspection of transformers and improves the efficiency and quality of inspection work.

本发明的移动式配电变压器智能快检装置可以“盲检”形式,自动接收检测任务,智能化开展检测试验,并完成检测数据自动归集至物资质量监督平台。通过本发明的方法进一步加强高能效配电变压器物资到货质量管控,提升入网物资质量数据精细管理与专业应用水平,通过数据手段筑牢了入网物资质量管控业务链,大大提高配变现场检测业务数字化及智能化水平。The mobile distribution transformer intelligent quick inspection device of the present invention can automatically receive inspection tasks in the form of "blind inspection", carry out inspection tests intelligently, and complete the automatic collection of inspection data to the material quality supervision platform. The method of the present invention further strengthens the quality control of the arrival of high-energy-efficiency distribution transformer materials, improves the fine management and professional application level of network-connected material quality data, builds a solid network-connected material quality control business chain through data means, and greatly improves the distribution transformer on-site detection business. Digitalization and intelligence level.

附图说明Description of the drawings

通过参考附图阅读下文的详细描述,本公开示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本公开的若干实施方式,并且相同或对应的标号表示相同或对应的部分,其中:The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the drawings, several embodiments of the present disclosure are shown by way of illustration and not limitation, and like or corresponding reference numerals designate like or corresponding parts, wherein:

图1是示出根据本发明实施例的智能配电变压器的自动判定检测方法的流程图;Figure 1 is a flow chart illustrating an automatic determination and detection method of a smart distribution transformer according to an embodiment of the present invention;

图2是示出根据本发明实施例的服务器、终端和快检装置基于DH密钥和RSA加密通信的安全通信的流程图;Figure 2 is a flow chart illustrating secure communication based on DH keys and RSA encrypted communication between servers, terminals and quick inspection devices according to an embodiment of the present invention;

图3是示出根据本发明实施例的智能配电变压器的自动判定检测系统的示意图。FIG. 3 is a schematic diagram showing an automatic determination and detection system of an intelligent distribution transformer according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种。The terminology used in the embodiments of the present invention is only for the purpose of describing specific embodiments and is not intended to limit the present invention. As used in this embodiment and the appended claims, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. Usually contains at least two kinds.

应当理解,尽管在本发明实施例中可能采用术语第一、第二、第三等来描述……,但这些……不应限于这些术语。这些术语仅用来将……区分开。例如,在不脱离本发明实施例范围的情况下,第一……也可以被称为第二……,类似地,第二……也可以被称为第一……。It should be understood that although the terms first, second, third, etc. may be used to describe... in the embodiments of the present invention, these... should not be limited to these terms. These terms are only used to distinguish... For example, without departing from the scope of the embodiments of the present invention, the first... may also be called the second..., and similarly, the second... may also be called the first....

应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this article is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, and A and A exist simultaneously. B, there are three situations of B alone. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.

取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if" or "if" as used herein may be interpreted as "when" or "when" or "in response to determination" or "in response to detection." Similarly, depending on the context, the phrase "if determined" or "if detects (stated condition or event)" may be interpreted as "when determined" or "in response to determining" or "when (stated condition or event) is detected )” or “in response to detecting (a stated condition or event)”.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者装置中还存在另外的相同要素。It should also be noted that the terms "comprises", "comprises" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a good or apparatus including a list of elements includes not only those elements but also those not expressly listed other elements, or elements inherent to such goods or devices. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the goods or devices including the stated element.

如图1所示,本发明为实现配电变压器智能的自动判定检测过程,可以采用以下方法:As shown in Figure 1, in order to realize the intelligent automatic judgment and detection process of the distribution transformer, the present invention can adopt the following methods:

质量监督平台(服务器)根据检测需求生成检测任务,包括检测项目、测试参数等信息,检测需求表示需要对那些项目和参数进行检测或测试。服务器将检测任务通过运营商的无线VPN专线发送给移动终端。移动终端接收到检测任务后,获取检测任务信息。移动终端将检测任务发送给了移动式配电变压器智能快检装置(下称快检装置)。快检装置根据收到的检测任务信息执行相应的检测任务,并收集检测数据,该检测数据为快检装置依据检测任务进行检测后,得到的相关数据。快检装置将检测数据通过移动终端发送给服务器。服务器接收检测数据后,对检测数据进行处理,使用预先设定的变压器检测数据模型进行自动判定检测结果。根据判定结果,质量监督平台自动生成配电变压器检测报告,包括检测项目、测试参数、判定结果等信息。生成的检测报告可供相关人员进行查看、分析和决策,以实现变电变压器现场检测全过程线上管控。通过以上过程,实现了移动式配电变压器智能快检的自动判定检测过程,实现检测数据的安全传输以及检测结果的准确性。The quality supervision platform (server) generates inspection tasks based on inspection requirements, including inspection items, test parameters and other information. The inspection requirements indicate which items and parameters need to be inspected or tested. The server sends the detection task to the mobile terminal through the operator's wireless VPN dedicated line. After receiving the detection task, the mobile terminal obtains the detection task information. The mobile terminal sends the detection task to the mobile distribution transformer intelligent quick inspection device (hereinafter referred to as the quick inspection device). The quick inspection device executes the corresponding inspection task based on the received inspection task information and collects inspection data. The inspection data is the relevant data obtained after the quick inspection device performs inspection according to the inspection task. The quick inspection device sends the inspection data to the server through the mobile terminal. After receiving the detection data, the server processes the detection data and uses the preset transformer detection data model to automatically determine the detection results. Based on the judgment results, the quality supervision platform automatically generates a distribution transformer test report, including test items, test parameters, judgment results and other information. The generated inspection report can be viewed, analyzed and made by relevant personnel to achieve online control of the entire process of on-site inspection of substation transformers. Through the above process, the automatic determination and detection process of intelligent quick inspection of mobile distribution transformers is realized, and the safe transmission of detection data and the accuracy of detection results are achieved.

在某一实施例中,为了验证移动终端的合法性并确保检测数据安全传输,可为移动终端颁发数字证书,这些数字证书应由可信的证书颁发机构(CA)签发。在建立VPN连接时,通过客户端证书认证来验证移动终端的合法性。只有持有有效数字证书的移动终端才能成功建立VPN连接并传输数据。In a certain embodiment, in order to verify the legitimacy of the mobile terminal and ensure safe transmission of detection data, digital certificates can be issued for the mobile terminal, and these digital certificates should be issued by a trusted Certificate Authority (CA). When establishing a VPN connection, the legitimacy of the mobile terminal is verified through client certificate authentication. Only mobile terminals holding valid digital certificates can successfully establish VPN connections and transmit data.

在某一实施例中,利用机器学习或深度学习方法构建变压器检测数据模型。例如,可以使用支持向量机(SVM)、随机森林、神经网络等方法进行建模。在此过程中,需要对模型进行训练、验证和测试,以确保模型的准确性和稳定性。In a certain embodiment, a machine learning or deep learning method is used to construct a transformer detection data model. For example, support vector machine (SVM), random forest, neural network and other methods can be used for modeling. During this process, the model needs to be trained, verified, and tested to ensure the accuracy and stability of the model.

以随机森林模型为例对空载损耗和空载电流等特征判断变压器是否合格。Take the random forest model as an example to determine whether the transformer is qualified based on characteristics such as no-load loss and no-load current.

随机森林模型的输出是预测的分类标签(对于分类问题)或预测值(对于回归问题)。在配电变压器检测中根据空载损耗和空载电流等特征判断变压器是否合格是一个二分类问题,所以随机森林模型的输出将是一个表示分类结果的标签。这些标签编码为0和1(类别0和类别1),分别表示不合格和合格。使用随机森林模型对测试集进行预测时,它会为每个样本生成一个预测标签。例如,如果有5个测试样本,随机森林模型的输出可能如下:[0, 1, 1, 0, 1] ,这表示第一个和第四个样本被预测为不合格,而第二个、第三个和第五个样本被预测为合格。或者,随机森林模型还可以输出预测概率。例如随机森林模型可能输出以下概率:[ [0.7, 0.3], [0.4, 0.6], [0.35, 0.65], [0.8, 0.2], [0.45, 0.55] ],这表示第一个样本有70%的概率是不合格(类别0),30%的概率是合格(类别1);第二个样本有40%的概率是不合格,60%的概率是合格;以此类推。根据预测概率可以得到最终的预测标签。The output of a random forest model is a predicted classification label (for classification problems) or a predicted value (for regression problems). In the detection of distribution transformers, judging whether a transformer is qualified based on characteristics such as no-load loss and no-load current is a binary classification problem, so the output of the random forest model will be a label representing the classification result. These labels are coded as 0 and 1 (Category 0 and Category 1), indicating unqualified and qualified respectively. When you use a random forest model to make predictions on the test set, it generates a predicted label for each sample. For example, if there are 5 test samples, the output of the random forest model may be as follows: [0, 1, 1, 0, 1] , which means that the first and fourth samples are predicted to be failed, while the second, The third and fifth samples are predicted to be qualified. Alternatively, a random forest model can also output predicted probabilities. For example, the random forest model may output the following probabilities: [ [0.7, 0.3], [0.4, 0.6], [0.35, 0.65], [0.8, 0.2], [0.45, 0.55] ], which means that the first sample has 70% The probability of the second sample is unqualified (category 0), and the probability of 30% is qualified (category 1); the second sample has a 40% probability of being unqualified, and a 60% probability of being qualified; and so on. The final predicted label can be obtained based on the predicted probability.

在某一实施例中,使用Diffie-Hellman(DH)算法分别生成服务器的第二共享密钥K2和快检装置的第一共享密钥K1。具体的,In a certain embodiment, the Diffie-Hellman (DH) algorithm is used to generate the second shared key K2 of the server and the first shared key K1 of the quick inspection device respectively. specific,

如图1所示,服务器、终端和快检装置基于DH密钥的安全通信过程如下。As shown in Figure 1, the secure communication process between the server, terminal and quick inspection device based on the DH key is as follows.

步骤S1,服务器选择全局参数(g,p):服务器根据快检装置的ID动态选择一对全局参数(g,p)。Step S1, the server selects global parameters (g, p): the server dynamically selects a pair of global parameters (g, p) based on the ID of the quick inspection device.

步骤S2,服务器生成临时DH密钥:服务器生成一对临时DH公私钥(Server_DH_pub= A,Server_DH_priv = a),并计算公钥A。Step S2, the server generates a temporary DH key: the server generates a pair of temporary DH public and private keys (Server_DH_pub = A, Server_DH_priv = a), and calculates the public key A.

步骤S3,服务器发送全局参数和公钥:服务器将全局参数(g,p)、公钥A、检测任务和快检装置ID通过运营商的无线VPN专线发送到终端(外网)。Step S3, the server sends global parameters and public key: the server sends the global parameters (g, p), public key A, detection task and quick detection device ID to the terminal (external network) through the operator's wireless VPN dedicated line.

步骤S4,终端转发全局参数、公钥和检测任务:终端将收到的全局参数(g,p)、公钥A、检测任务和快检装置ID转发给快检装置。Step S4, the terminal forwards the global parameters, public key and detection task: the terminal forwards the received global parameters (g, p), public key A, detection task and quick detection device ID to the quick detection device.

步骤S5,快检装置生成临时DH密钥:快检装置接收到全局参数(g,p)后,生成一对临时DH公私钥(DH_pub = B,DH_priv = b),并计算公钥B。Step S5, the quick inspection device generates a temporary DH key: after receiving the global parameters (g, p), the quick inspection device generates a pair of temporary DH public and private keys (DH_pub = B, DH_priv = b), and calculates the public key B.

步骤S6,快检装置发送公钥B:快检装置将自己的公钥B发送给终端,终端再将公钥B转发给服务器。Step S6, the quick detection device sends public key B: the quick detection device sends its own public key B to the terminal, and the terminal forwards the public key B to the server.

步骤S7,DH密钥交换:服务器和快检装置根据DH算法进行密钥交换。服务器使用自己的Server_DH_priv(a)和快检装置的DH_pub(B)计算共享密钥K。同时,快检装置使用自己的DH_priv(b)和服务器的Server_DH_pub(A)计算共享密钥K。最终,双方得到相同的共享密钥K。Step S7, DH key exchange: The server and the quick inspection device perform key exchange according to the DH algorithm. The server uses its own Server_DH_priv(a) and the quick check device's DH_pub(B) to calculate the shared key K. At the same time, the quick inspection device uses its own DH_priv(b) and the server's Server_DH_pub(A) to calculate the shared key K. Eventually, both parties get the same shared key K.

在某一实施例中,由服务器生成检测任务和变压器检测报告,具体包括:In one embodiment, the server generates detection tasks and transformer detection reports, which specifically include:

步骤S10,服务器将检测任务通过终端发送给快检装置。In step S10, the server sends the detection task to the quick inspection device through the terminal.

步骤S11,终端在界面上显示当前检测任务的详情,以及终端转发所述检测任务给快检装置。Step S11: The terminal displays the details of the current detection task on the interface, and the terminal forwards the detection task to the quick inspection device.

步骤S12、快检装置接收并执行检测任务:快检装置收到检测任务,快检装置根据检测任务进行检测,并将数据包中的检测数据使用第一共享密钥K1进行加密,而数据包中的检测任务信息不加密,然后将数据包发送给终端。Step S12. The quick detection device receives and executes the detection task: the quick detection device receives the detection task, performs detection according to the detection task, and encrypts the detection data in the data packet using the first shared key K1, and the data packet The detection task information in is not encrypted, and then the data packet is sent to the terminal.

步骤S13、终端转发加密检测数据:终端将收到的加密的检测数据转发给服务器,同时在界面上显示当前检测任务的检测数据的接收情况。表1是示例性的终端显示的检测任务列表。Step S13, the terminal forwards the encrypted detection data: the terminal forwards the received encrypted detection data to the server, and at the same time displays the reception status of the detection data of the current detection task on the interface. Table 1 is an exemplary detection task list displayed by the terminal.

表1 终端显示的检测任务列表Table 1 Detection task list displayed on the terminal

在上述表1中,任务ID、检测项目、开始时间和结束时间,用于展示检测任务的详细信息。检测数据的接收情况,表明终端是否已经接收到了快检装置发送的相应检测任务的检测数据。In the above Table 1, the task ID, detection item, start time and end time are used to display the detailed information of the detection task. The reception status of the detection data indicates whether the terminal has received the detection data of the corresponding detection task sent by the quick detection device.

步骤S14、服务器解密检测数据:服务器使用第二共享密钥K2解密收到的加密检测数据。经过解密,服务器可以获取原始的检测数据,并根据结果生成配电变压器检测报告。Step S14, the server decrypts the detection data: the server uses the second shared key K2 to decrypt the received encrypted detection data. After decryption, the server can obtain the original detection data and generate a distribution transformer detection report based on the results.

在本发明中,使用DH算法生成的共享密钥K能够确保服务器和快检装置之间的通信安全,并简化密钥管理,提高系统的灵活性和可扩展性。In the present invention, the shared key K generated using the DH algorithm can ensure the security of communication between the server and the quick inspection device, simplify key management, and improve the flexibility and scalability of the system.

在某一实施例中,第一共享密钥K1和第二共享密钥K2的生成和交换过程包括如下步骤:In a certain embodiment, the generation and exchange process of the first shared key K1 and the second shared key K2 includes the following steps:

步骤p1,初始化阶段,服务器生成一个全局参数集合,包含多对g、p。每对g、p中,p是大质数,g是p的生成元。Step p1, initialization phase, the server generates a global parameter set, including multiple pairs of g and p. In each pair of g and p, p is a large prime number and g is the generator of p.

步骤p2,服务器生成临时密钥,当服务器需要下发检测任务时,服务器首先根据执行任务的快检装置的ID选择一对g、p。然后,服务器为每个任务生成一个第一临时私钥(a),并计算对应的服务器公钥A = g^a mod p。这里的a是服务器为每个任务随机生成的一个整数,1<a<p-1。In step p2, the server generates a temporary key. When the server needs to issue a detection task, the server first selects a pair of g and p based on the ID of the quick detection device that performs the task. Then, the server generates a first temporary private key (a) for each task and calculates the corresponding server public key A = g^a mod p. Here a is an integer randomly generated by the server for each task, 1<a<p-1.

在本实施例中,可以选择通过计算快检装置ID的哈希值模全局参数集合的大小来选择一对g、p。然后服务器为每个任务生成一个第一临时私钥(a),并计算对应的公钥A = g^a mod p。假设有一个全局参数集合,包含三对g、p:g1、p1,g2、p2,g3、p3。当收到一个快检装置ID时,例如ID="device123",首先使用一个哈希函数(如SHA-256)计算ID的哈希值。例如,计算结果为hash_value。然后将哈希值转换为一个整数。可以将hash_value看作一个大整数,或者通过某种方式从哈希值中提取一个整数,例如计算模运算。以模计算为例,用这个整数模全局参数集合的大小。全局参数g、p集合的大小为3,所以计算index = integer_value % 3。最后根据计算出的索引值index来选择一对全局参数g、p。例如如果index = 0,则选择g1、p1,如果index = 1,则选择g2、p2,如果index = 2,则选择g3、p3。这种方法使得不同的快检装置可以使用不同的全局参数g、p,从而提高加密的复杂性和安全性。In this embodiment, a pair of g and p can be selected by calculating the hash value of the quick inspection device ID modulo the size of the global parameter set. The server then generates a first temporary private key (a) for each task and calculates the corresponding public key A = g^a mod p. Suppose there is a global parameter set, including three pairs of g and p: g1, p1, g2, p2, g3, p3. When a quick check device ID is received, for example ID="device123", a hash function (such as SHA-256) is first used to calculate the hash value of the ID. For example, the calculation result is hash_value. Then convert the hash value to an integer. You can think of hash_value as a large integer, or extract an integer from the hash value in some way, such as computing modulo arithmetic. Taking modulo calculations as an example, use this integer modulo the size of the global parameter set. The size of the set of global parameters g and p is 3, so the calculation index = integer_value % 3. Finally, a pair of global parameters g and p are selected based on the calculated index value index. For example, if index = 0, select g1 and p1, if index = 1, select g2 and p2, if index = 2, select g3 and p3. This method allows different quick inspection devices to use different global parameters g and p, thereby improving the complexity and security of encryption.

步骤p3,任务下发与密钥交换,服务器将检测任务信息、服务器公钥A、选定的全局参数g、p以及快检装置ID一同发送给终端。所述移动终端接收到后,将检测任务信息显示给用户,并将所述检测任务信息、所述服务器公钥A、所述选定的全局参数g、p和一起转发给所述快检装置ID对应的快检装置。Step p3, task issuance and key exchange, the server sends the detection task information, server public key A, selected global parameters g, p and quick inspection device ID to the terminal. After receiving it, the mobile terminal displays the detection task information to the user, and forwards the detection task information, the server public key A, the selected global parameters g, p and to the quick inspection device Quick inspection device corresponding to the ID.

步骤p4,快检装置生成临时密钥,快检装置收到任务信息、服务器公钥A、选定的全局参数g、p后,为当前任务生成一个第二临时私钥(b),并计算对应的快检装置公钥B = g^bmod p,然后将快检装置公钥B发送给终端。这里的b是快检装置为当前任务随机生成的一个整数,1<b<p-1。Step p4, the quick inspection device generates a temporary key. After receiving the task information, server public key A, and selected global parameters g and p, the quick inspection device generates a second temporary private key (b) for the current task and calculates The corresponding public key B of the rapid inspection device = g^bmod p, and then the public key B of the rapid inspection device is sent to the terminal. b here is an integer randomly generated by the quick inspection device for the current task, 1<b<p-1.

步骤p5,计算第一共享密钥K1,快检装置使用服务器公钥A和自己的私钥b计算共享密钥K1= A^b mod p。同样,服务器使用快检装置公钥B和自己的第一临时私钥a计算第二共享密钥K2 = B^a mod p。Step p5, calculate the first shared key K1. The quick inspection device uses the server public key A and its own private key b to calculate the shared key K1 = A^b mod p. Similarly, the server uses the quick check device public key B and its own first temporary private key a to calculate the second shared key K2 = B^a mod p.

步骤p6,数据加密与解密,快检装置根据任务执行检测,检测完成后,使用第一共享密钥K1加密检测数据。加密后的检测数据通过终端发送至服务器,服务器接收到加密数据后,使用第二共享密钥K2解密检测数据。Step p6: Data encryption and decryption. The quick detection device performs detection according to the task. After the detection is completed, the first shared key K1 is used to encrypt the detection data. The encrypted detection data is sent to the server through the terminal. After receiving the encrypted data, the server uses the second shared key K2 to decrypt the detection data.

在上述过程中,服务器生成第一临时私钥a和对应的服务器公钥A,并将任务信息、服务器公钥A、全局参数g、p和快检装置ID发送给终端。终端将任务信息、服务器公钥A、全局参数g、p和快检装置ID转发给快检装置。快检装置生成第二临时私钥b和对应的快检装置公钥B,然后将快检装置公钥B发送给终端。终端将快检装置公钥B发送给服务器。这样,服务器和快检装置可以分别使用收到的公钥(服务器公钥A和快检装置公钥B)和自己的私钥(第一临时私钥a和第二临时私钥b)计算出相同的共享密钥K(第一共享密钥K1和第二共享密钥K2)。在这个过程中终端充当了中介的角色,但终端无法计算出共享密钥K,因为终端中没有第一临时私钥a或第二临时私钥b的信息。这确保了终端无法对检测数据进行查看和修改,保证了盲检过程中检测数据的准确和安全性。In the above process, the server generates the first temporary private key a and the corresponding server public key A, and sends the task information, server public key A, global parameters g, p and quick inspection device ID to the terminal. The terminal forwards the task information, server public key A, global parameters g, p and quick inspection device ID to the quick inspection device. The quick inspection device generates the second temporary private key b and the corresponding quick inspection device public key B, and then sends the quick inspection device public key B to the terminal. The terminal sends the public key B of the quick inspection device to the server. In this way, the server and the quick detection device can respectively use the received public key (server public key A and quick detection device public key B) and their own private keys (the first temporary private key a and the second temporary private key b) to calculate The same shared key K (first shared key K1 and second shared key K2). In this process, the terminal plays the role of an intermediary, but the terminal cannot calculate the shared key K because there is no information about the first temporary private key a or the second temporary private key b in the terminal. This ensures that the terminal cannot view and modify the detection data, ensuring the accuracy and security of the detection data during the blind inspection process.

在某一实施例中,还使用RSA加密算法用于服务器和终端之间的通信安全。In one embodiment, the RSA encryption algorithm is also used for communication security between the server and the terminal.

如图2所示,服务器、终端和快检装置基于DH密钥和RSA加密通信的安全通信过程如下。As shown in Figure 2, the secure communication process between the server, terminal and quick inspection device based on DH key and RSA encrypted communication is as follows.

步骤k1:服务器(内网)生成RSA密钥对,包括公钥和私钥。服务器持有私钥,用于签名检测任务。服务器将RSA公钥发送给终端。Step k1: The server (intranet) generates an RSA key pair, including a public key and a private key. The server holds the private key, which is used for signature detection tasks. The server sends the RSA public key to the terminal.

步骤k2:服务器选择全局参数(g,p)并生成第一临时私钥(a)以及对应的服务器公钥A,以及服务器确定检测任务。Step k2: The server selects the global parameters (g, p) and generates the first temporary private key (a) and the corresponding server public key A, and the server determines the detection task.

步骤k3:服务器使用RSA私钥对检测任务进行签名,然后将签名后的检测任务、服务器公钥A、全局参数(g,p)通过运营商的无线VPN专线发送到终端(外网)。Step k3: The server uses the RSA private key to sign the detection task, and then sends the signed detection task, server public key A, and global parameters (g, p) to the terminal (external network) through the operator's wireless VPN dedicated line.

步骤k4:终端使用服务器的RSA公钥验证检测任务的签名,并显示验证通过的检测任务信息。终端将验证通过的检测任务、服务器公钥A、全局参数(g,p)转发给快检装置。Step k4: The terminal uses the server's RSA public key to verify the signature of the detection task, and displays the detection task information that passes the verification. The terminal forwards the verified detection task, server public key A, and global parameters (g, p) to the quick inspection device.

步骤k5,快检装置接收到检测任务、服务器公钥A和全局参数(g,p),生成第二临时私钥(b)和对应的快检装置公钥B。使用服务器公钥A和第二临时私钥b计算第一共享密钥DH_Key1。In step k5, the quick inspection device receives the detection task, server public key A and global parameters (g, p), and generates the second temporary private key (b) and the corresponding quick inspection device public key B. The first shared key DH_Key1 is calculated using the server public key A and the second temporary private key b.

步骤k6,快检装置根据检测任务进行检测,并使用DH_Key1加密检测数据。In step k6, the quick detection device performs detection according to the detection task and uses DH_Key1 to encrypt the detection data.

步骤k7,快检装置将使用DH_Key1加密的检测数据与对应的检测任务信息组合成一个完整的数据包,将整个数据包发送给终端。In step k7, the quick inspection device combines the inspection data encrypted using DH_Key1 and the corresponding inspection task information into a complete data package, and sends the entire data package to the terminal.

示例性地,快检装置组合的数据包结构为:For example, the data packet structure of the quick inspection device combination is:

数据包包括数据包头、数据包体和检测数据(使用DH_Key1加密)等,其中,数据包头包括数据包类型、检测项目、快检装置信息、检测任务信息和其他属性信息(如时间戳、数据包长度等)。The data packet includes data packet header, data packet body and detection data (encrypted using DH_Key1). The data packet header includes data packet type, detection item, quick detection device information, detection task information and other attribute information (such as timestamp, data packet length, etc.).

步骤k8,终端接收到数据包后,获得加密后的DH_Key1加密检测数据和对应的检测任务信息。终端显示接收的检测任务信息情况。Step k8: After receiving the data packet, the terminal obtains the encrypted DH_Key1 encrypted detection data and corresponding detection task information. The terminal displays the received detection task information.

步骤k9:终端将数据包使用服务器的RSA公钥进行加密,然后将加密后的数据包(快检装置的原始数据包中包含DH_Key1加密后检测数据和对应的检测任务信息)发送给服务器。Step k9: The terminal encrypts the data packet using the server's RSA public key, and then sends the encrypted data packet (the original data packet of the quick detection device contains DH_Key1 encrypted detection data and corresponding detection task information) to the server.

步骤k10,服务器使用RSA私钥解密检测任务信息,获取检测任务内容。服务器使用快检装置公钥B和第一临时私钥a计算第二共享密钥DH_Key2,使用DH_Key2解密检测数据,获取原始检测数据。In step k10, the server uses the RSA private key to decrypt the detection task information and obtain the detection task content. The server uses the public key B of the quick detection device and the first temporary private key a to calculate the second shared key DH_Key2, uses DH_Key2 to decrypt the detection data, and obtains the original detection data.

在整个过程中,服务器的RSA私钥用于签名检测任务和解密从终端接收到的加密数据包;服务器的RSA公钥用于验证检测任务签名和加密发送给服务器的数据包。这样保证了移动式配电变压器智能快检全链路的安全性和保密性。Throughout the process, the server's RSA private key is used to sign detection tasks and decrypt encrypted data packets received from the terminal; the server's RSA public key is used to verify detection task signatures and encrypt data packets sent to the server. This ensures the safety and confidentiality of the entire intelligent quick inspection link of mobile distribution transformers.

通过本发明公开的上述方法,在保证检测任务数据传输安全性的同时,终端可以访问检测项目信息并在本地进行标记,但仍无法访问加密的检测数据,只有快检装置和服务器可以访问和读取到检测数据,从而满足不同设备的权限需求。Through the above method disclosed in the present invention, while ensuring the security of detection task data transmission, the terminal can access the detection item information and mark it locally, but still cannot access the encrypted detection data. Only the quick detection device and the server can access and read Obtain detection data to meet the permission requirements of different devices.

如图3所示,本发明提供一种智能配电变压器的自动判定检测系统,包括依次通信连接的服务器、移动终端、快检装置;As shown in Figure 3, the present invention provides an automatic judgment and detection system for intelligent distribution transformers, including a server, a mobile terminal, and a quick inspection device that are communicated and connected in sequence;

服务器用于根据检测需求生成检测任务,将检测任务通过VPN发送给移动终端,用于接收检测数据后,使用Diffie-Hellman算法生成用于解密检测数据的第二共享密钥K2,并将解密后的检测数据使用预先设定的变压器检测数据模型进行检测结果的判定,还用于根据检测结果,生成变压器检测报告;The server is used to generate detection tasks according to detection requirements, and sends the detection tasks to the mobile terminal through VPN. After receiving the detection data, it uses the Diffie-Hellman algorithm to generate the second shared key K2 for decrypting the detection data, and sends the decrypted The detection data uses the preset transformer detection data model to determine the detection results, and is also used to generate a transformer detection report based on the detection results;

移动终端用于接收并显示检测任务后,将检测任务发送给快检装置,还用于接收加密后的检测数据并发送给所述服务器;The mobile terminal is used to receive and display the detection task, send the detection task to the quick inspection device, and is also used to receive the encrypted detection data and send it to the server;

快检装置用于根据收到的检测任务,执行相应的检测任务,并收集检测数据,还用于使用Diffie-Hellman算法生成用于加密检测数据的第一共享密钥K1,并将加密后的检测数据发送给移动终端。The quick inspection device is used to perform corresponding inspection tasks according to the received inspection tasks and collect inspection data. It is also used to use the Diffie-Hellman algorithm to generate the first shared key K1 for encrypting the inspection data, and encrypted The detection data is sent to the mobile terminal.

本发明提供一种计算机可读介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现上述的自动判定检测方法中的步骤。The present invention provides a computer-readable medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps in the above-mentioned automatic determination and detection method are implemented.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.

以上介绍了本发明的较佳实施方式,旨在使得本发明的精神更加清楚和便于理解,并不是为了限制本发明,凡在本发明的精神和原则之内,所做的修改、替换、改进,均应包含在本发明所附的权利要求概括的保护范围之内。The above describes the preferred embodiments of the present invention, which are intended to make the spirit of the present invention clearer and easier to understand. They are not intended to limit the present invention. All modifications, substitutions, and improvements can be made within the spirit and principles of the present invention. , should be included in the scope of protection summarized by the appended claims of the present invention.

Claims (10)

1. An automatic judging and detecting method for an intelligent distribution transformer, which is characterized by comprising the following steps:
the server generates a detection task according to the detection requirement and sends the detection task to the mobile terminal;
after receiving and displaying the detection task, the mobile terminal sends the detection task to a quick detection device;
the quick detection device executes a corresponding detection task according to the received detection task and collects detection data;
the quick checking device generates a first shared key K1 for encrypting the detection data by using a key algorithm, and sends the encrypted detection data to the server through the mobile terminal;
after receiving the detection data, the server generates a second shared key K2 for decrypting the detection data by using a key algorithm, and judges the detection result of the decrypted detection data by using a preset transformer detection data model;
and generating a transformer detection report by the server according to the detection result.
2. The automatic decision detection method of an intelligent distribution transformer according to claim 1, wherein the transformer detection data model is constructed by using a machine learning or deep learning method.
3. An automatic decision detection method for an intelligent distribution transformer as recited in claim 1, wherein,
the mobile terminal displays a task ID, a detection item, a start time and an end time, and is used for displaying detailed information of the detection task;
and displaying the receiving condition of the detection data, and indicating whether the mobile terminal receives the detection data of the corresponding detection task sent by the quick detection device.
4. The automatic decision detection method of intelligent distribution transformer according to claim 1, wherein when the server generates the detection task according to the detection requirement, further comprising:
the method comprises the steps that a server generates a global parameter set which comprises a plurality of pairs of global parameters g and p, wherein p in each pair of global parameters g and p is a large prime number, g is a generator of p, when the server needs to issue a detection task, the server selects one pair of global parameters g and p according to the ID of a quick detection device executing the detection task, and generates a first temporary private key a and a corresponding server public key A based on the selected pair of global parameters g and p.
5. An automatic decision detection method for an intelligent distribution transformer as recited in claim 4, wherein,
the server sends detection task information, a server public key A, selected global parameters g and p and a quick detection device ID to the mobile terminal;
and after the mobile terminal receives the detection task information, displaying the detection task information to a user, and forwarding the detection task information, the server public key A, the selected global parameters g and p and the quick detection device ID to a quick detection device corresponding to the quick detection device ID.
6. An automatic decision detection method for an intelligent distribution transformer as recited in claim 5, wherein,
the quick checking device generates a second temporary private key B and a corresponding quick checking device public key B based on global parameters g and p, obtains a first shared key K1 according to the second temporary private key B and a server public key A, simultaneously executes detection according to the detection task, encrypts detection data by using the first shared key K1 after detection is completed, sends the encrypted detection data and the quick checking device public key B to the server through the mobile terminal, obtains a second shared key K2 by the first temporary private key a and the quick checking device public key B after the server receives the encrypted detection data, and decrypts the detection data by using the second shared key K2.
7. The automatic decision detection method of an intelligent distribution transformer according to claim 1, wherein the method further comprises:
an RSA encryption algorithm is used for communication security between the server and the mobile terminal.
8. An automatic decision detection method for an intelligent distribution transformer as recited in claim 7, wherein,
the server generates an RSA key pair, wherein the RSA key pair comprises a public key and a private key, the server holds the private key for signature detection tasks, and the server sends the RSA public key to the mobile terminal.
9. An automatic decision detection method for an intelligent distribution transformer as recited in claim 8, wherein,
the quick detection device combines the detection data encrypted by using the first shared key K1 and the corresponding detection task information into a complete data packet and sends the complete data packet to the mobile terminal, and the mobile terminal encrypts the complete data packet by using an RSA public key of a server and sends the encrypted complete data packet to the server.
10. An automatic judging and detecting system of an intelligent distribution transformer, characterized in that an automatic judging and detecting method of an intelligent distribution transformer according to any one of claims 1-9 is used, and the automatic judging and detecting system comprises a server, a mobile terminal and a quick detecting device which are connected in sequence in communication;
the server is used for generating a detection task according to the detection requirement, sending the detection task to the mobile terminal, generating a second shared key K2 for decrypting the detection data by using a key algorithm after receiving the detection data, judging a detection result of the decrypted detection data by using a preset transformer detection data model, and generating a transformer detection report according to the detection result;
the mobile terminal is used for receiving and displaying the detection task, then sending the detection task to the quick detection device, and receiving the encrypted detection data and sending the encrypted detection data to the server;
the quick detection device is used for executing corresponding detection tasks according to the received detection tasks, collecting detection data, generating a first shared key K1 for encrypting the detection data by using a key algorithm, and sending the encrypted detection data to the mobile terminal.
CN202311029419.5A 2023-08-16 2023-08-16 Automatic judging and detecting method and system for intelligent distribution transformer Active CN116760868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311029419.5A CN116760868B (en) 2023-08-16 2023-08-16 Automatic judging and detecting method and system for intelligent distribution transformer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311029419.5A CN116760868B (en) 2023-08-16 2023-08-16 Automatic judging and detecting method and system for intelligent distribution transformer

Publications (2)

Publication Number Publication Date
CN116760868A CN116760868A (en) 2023-09-15
CN116760868B true CN116760868B (en) 2023-10-20

Family

ID=87951789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311029419.5A Active CN116760868B (en) 2023-08-16 2023-08-16 Automatic judging and detecting method and system for intelligent distribution transformer

Country Status (1)

Country Link
CN (1) CN116760868B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116990625B (en) * 2023-09-27 2023-12-08 国网江苏省电力有限公司电力科学研究院 A function switching system and method for intelligent quick inspection device of distribution transformer

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597158A (en) * 2016-12-12 2017-04-26 上海欧秒电力监测设备有限公司 Distribution transformer integrated detection device
JP2017085250A (en) * 2015-10-23 2017-05-18 株式会社東芝 Plant security device and plant security system
CN110147329A (en) * 2019-05-24 2019-08-20 武汉瓯越网视有限公司 A kind of method, apparatus and terminal of dynamic detection simulator
CN111917796A (en) * 2020-08-12 2020-11-10 杨银平 Power grid equipment communication method
CN113141355A (en) * 2021-04-13 2021-07-20 长沙理工大学 Electricity consumption encrypted data anomaly detection method and system based on full homomorphism
CN114338113A (en) * 2021-12-09 2022-04-12 安天科技集团股份有限公司 Data encryption and decryption method and device, electronic equipment and storage medium
CN114630319A (en) * 2022-03-16 2022-06-14 黄文孝 Power transmission and transformation monitoring data safety management system and method for smart power grid
CN116405536A (en) * 2023-03-21 2023-07-07 奇安信网神信息技术(北京)股份有限公司 A data processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130262873A1 (en) * 2012-03-30 2013-10-03 Cgi Federal Inc. Method and system for authenticating remote users

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017085250A (en) * 2015-10-23 2017-05-18 株式会社東芝 Plant security device and plant security system
CN106597158A (en) * 2016-12-12 2017-04-26 上海欧秒电力监测设备有限公司 Distribution transformer integrated detection device
CN110147329A (en) * 2019-05-24 2019-08-20 武汉瓯越网视有限公司 A kind of method, apparatus and terminal of dynamic detection simulator
CN111917796A (en) * 2020-08-12 2020-11-10 杨银平 Power grid equipment communication method
CN113141355A (en) * 2021-04-13 2021-07-20 长沙理工大学 Electricity consumption encrypted data anomaly detection method and system based on full homomorphism
CN114338113A (en) * 2021-12-09 2022-04-12 安天科技集团股份有限公司 Data encryption and decryption method and device, electronic equipment and storage medium
CN114630319A (en) * 2022-03-16 2022-06-14 黄文孝 Power transmission and transformation monitoring data safety management system and method for smart power grid
CN116405536A (en) * 2023-03-21 2023-07-07 奇安信网神信息技术(北京)股份有限公司 A data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"光伏电站设备运维平台的设计与实现";左世强;《中国优秀硕士学位论文全文数据库(电子期刊)工程科技Ⅱ辑》;全文 *

Also Published As

Publication number Publication date
CN116760868A (en) 2023-09-15

Similar Documents

Publication Publication Date Title
CN103238295B (en) System and method for hosting encrypted monitoring data
US10608827B1 (en) Systems and methods for computer digital certificate management and analysis
CN116760868B (en) Automatic judging and detecting method and system for intelligent distribution transformer
CN113379335B (en) Method, device, electronic device and computer readable medium for sampling inspection of electric power materials
CN105590443A (en) Electrical equipment information collecting and recording mobile terminal and electrical equipment information processing system
CN114567469B (en) Application password type detection method and platform based on B/S mode
CN113518071B (en) Robot sensor information security enhancing device and method
CN118657646A (en) A distributed smart community platform based on zero-trust network and its communication method
EP4447384A1 (en) Communication monitoring method, apparatus and system
CN110232570A (en) A kind of information monitoring method and device
CN114499893B (en) Blockchain-based method and system for encryption and storage of tender documents
CN115694873A (en) Method, device and equipment for acquiring HTTPS (hypertext transfer protocol secure) plaintext data in container
CN114900365A (en) Innovative service resource data processing and secure interaction method
CN113935874A (en) District chain-based book management system for studying income
CN112073459A (en) Charging equipment intelligent control method and system based on cloud platform
CN117220992B (en) Cloud security management monitoring method and system supporting commercial cryptographic algorithm
CN115701026B (en) A test method, device and terminal for transport layer security protocol
CN116226888B (en) Power data interactive encryption method, system and equipment based on privacy protection
CN116996302A (en) Power block chain data management system
US11263063B1 (en) Methods and systems for device-specific event handler generation
CN115529184A (en) Message verification method and device, electronic equipment and storage medium
CN119299287A (en) Fault root cause positioning method and device, storage medium and electronic equipment
CN118965378A (en) A distributed power station operation data collection method and system
CN116389943A (en) Carbon asset data acquisition terminal based on blockchain technology
Dabi et al. Enabling Support for TLS and TLS Fingerprinting in Network Stack Tester

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant