CN113595240A - Power data detection method, device, equipment and storage medium - Google Patents

Power data detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN113595240A
CN113595240A CN202110684563.7A CN202110684563A CN113595240A CN 113595240 A CN113595240 A CN 113595240A CN 202110684563 A CN202110684563 A CN 202110684563A CN 113595240 A CN113595240 A CN 113595240A
Authority
CN
China
Prior art keywords
data
abnormal
power data
transmission
power
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.)
Granted
Application number
CN202110684563.7A
Other languages
Chinese (zh)
Other versions
CN113595240B (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.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau 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 Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202110684563.7A priority Critical patent/CN113595240B/en
Publication of CN113595240A publication Critical patent/CN113595240A/en
Application granted granted Critical
Publication of CN113595240B publication Critical patent/CN113595240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00002Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by monitoring
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00016Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using a wired telecommunication network or a data transmission bus
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00022Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using wireless data transmission
    • H02J13/00026Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using wireless data transmission involving a local wireless network, e.g. Wi-Fi, ZigBee or Bluetooth
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00028Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment involving the use of Internet protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application relates to a detection method, a device, equipment and a computer readable storage medium of power data, wherein the method comprises the following steps: the method comprises the steps that power data access equipment receives a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data; then, carrying out anomaly detection on the electric power data according to the characteristic information of the electric power data and an anomaly data characteristic library; because the abnormal data feature library comprises the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the service type of the electric power data, the abnormal detection can be performed on a plurality of feature information of the electric power data at one time according to the abnormal data feature library, the detection accuracy is improved, meanwhile, the detection method is simple, and the efficiency of the electric power data abnormal detection can be improved.

Description

Power data detection method, device, equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for detecting power data.
Background
The electric power equipment can generate electric power data of different service types in the operation process, and the electric power data access equipment (such as a server and terminal equipment) performs services such as electric power scheduling, electric power consumption information analysis, electric power statistics, electric power payment, electric power equipment operation monitoring and the like according to the electric power data, so whether the electric power data can be used as reliable data support for business operation of the electric power data access equipment is important for normal operation of an electric power system, and meanwhile, normal electricity utilization of residents can be influenced. A need arises to detect the power data before the power data access device performs a corresponding business operation based on the power data transmitted by the power device.
Disclosure of Invention
The application provides a method, a device and equipment for detecting power data and a computer readable storage medium, which can be used for rapidly detecting whether the power data sent by the power data are abnormal or not, so that the efficiency of detecting the abnormality of the power data is improved, and meanwhile, the operation safety of a power system is guaranteed.
A first aspect of the present application provides a method for detecting power data, the method including:
receiving a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
performing anomaly detection on the electric power data according to the characteristic information of the electric power data and an anomaly data characteristic library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
In one embodiment, the performing abnormality detection on the power data according to the feature information of the power data and the abnormality data feature library includes:
determining a target service type corresponding to the characteristic information of the power data; the characteristic information of the power data generated by the power equipment under the target service type comprises characteristic information;
determining an abnormal data volume, an abnormal transmission time period, abnormal region information, abnormal transmission bytes and an abnormal transmission protocol corresponding to the target service type according to the abnormal data feature library;
and carrying out abnormity detection on the electric power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the electric power data corresponding to the target service type.
In one embodiment, the performing anomaly detection on the power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the power data corresponding to the target service type includes:
matching the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type with the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data correspondingly to obtain a matching result;
and carrying out abnormity detection on the power data according to the matching result.
In one embodiment, the performing anomaly detection on the power data according to the matching result includes:
if at least one of the data volume, the transmission time, the region information, the transmission bytes and the transmission protocol of the electric power data is matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission bytes and the abnormal transmission protocol, the electric power data is determined to be abnormal;
and if each item of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data is not matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission, determining that the power data is normal.
In one embodiment, the method further includes:
and sending an acquisition instruction to the power equipment according to the service requirement, wherein the acquisition instruction instructs the power equipment to send the target data packet.
In one embodiment, the data packet further includes: and collecting an instruction.
In one embodiment, the method further comprises:
under the condition that the power data are determined to be abnormal according to the transmission time and the abnormal transmission time period of the power data, judging whether a data packet comprises a target acquisition instruction or not;
if the data packet comprises a target acquisition instruction, determining that the power data is normal;
and if the data packet does not comprise the target acquisition instruction, determining that the power data is abnormal.
In one embodiment, the method further includes:
and sending a data transmission adjustment strategy to the electric power equipment according to the abnormal detection result, wherein the data transmission adjustment strategy is used for reducing the abnormal detection rate of the transmission electric power data of the electric power equipment.
In one embodiment, the method further includes:
if the power data are determined to be normal according to the characteristic information of the power data and the abnormal data characteristic library, generating a random sequence;
encrypting the target power data according to the random sequence to obtain encrypted power data, and generating a target block according to the encrypted power data;
and checking the target block according to a preset verification protocol, if the target block passes the check, adding the target block into the block chain, and using the preset verification protocol to check whether the data format of the encrypted power data meets the requirement of the set data format.
A second aspect of the present application provides a detection apparatus of power data, the apparatus including:
the receiving module is used for receiving a data packet sent by the power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
the detection module is used for carrying out abnormity detection on the electric power data according to the characteristic information of the electric power data and the abnormal data characteristic library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
A third aspect of the application provides a detection device of power data comprising a memory, a processor and a transceiver, the memory storing a computer program,
the transceiver is used for receiving a data packet sent by the power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
the processor is used for carrying out abnormity detection on the electric power data according to the characteristic information of the electric power data and the abnormal data characteristic library when executing the computer program; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of detecting power data of any one of the above.
The application provides a detection method, a device, equipment and a computer readable storage medium of power data, wherein the method comprises the following steps: the method comprises the steps that power data access equipment receives a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data; then, carrying out anomaly detection on the electric power data according to the characteristic information of the electric power data and an anomaly data characteristic library; because the abnormal data feature library comprises the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the service type of the electric power data, the abnormal detection can be performed on a plurality of feature information of the electric power data at one time according to the abnormal data feature library, the detection accuracy is improved, meanwhile, the detection method is simple, and the efficiency of the electric power data abnormal detection can be improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a method for detecting power data;
FIG. 2 is a flow diagram illustrating a method for detecting power data according to one embodiment;
FIG. 3 is a flow chart illustrating a method for detecting power data according to another embodiment;
FIG. 4 is a flow chart illustrating a method for detecting power data according to another embodiment;
FIG. 5 is a flow chart illustrating a method for detecting power data according to another embodiment;
FIG. 6 is a flow chart illustrating a method for detecting power data according to another embodiment;
FIG. 7 is a block diagram showing the structure of a power data detection device according to an embodiment;
fig. 8 is a schematic structural diagram of a power data access device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for detecting power data provided by the embodiment of the application can be applied to the application environment shown in fig. 1, in which the power data access device 102 communicates with the power device 101 through a network. The power device 101 may acquire target power data according to an acquisition instruction of the power data access device 102, generate a data packet according to the target power data, and send the data packet to the power data access device 102, where the power data access device 102 stores an abnormal data feature library, and the abnormal data feature library includes an abnormal data volume, an abnormal transmission time period, abnormal region information, an abnormal transmission byte, and an abnormal transmission protocol, so that the power data access device 102 may perform abnormality detection on a plurality of feature information of the power data at one time according to the abnormal data feature library, thereby improving efficiency of detecting abnormality of the power data. The power data access device 102 may be a server or a terminal device, and when the power data access device 102 is a terminal device, it may be a laptop computer or a desktop computer; when the power data access device 102 is a server, it may be of various types, such as, but not limited to, a node device of a content distribution network, a storage server of a distributed storage system, a cloud database server, a cloud computing server, a cloud management server, an interaction server, a storage server, a database server, a proxy server, or the like. In some embodiments, each server may include hardware, software, or embedded logic components or a combination of two or more such components for performing the appropriate functions supported or implemented by the server. For example, a server, such as a blade server, a cloud server, etc., or a server group consisting of a plurality of servers, may include one or more of the above types of servers, etc.
The network can be a wireless network or a wired network, and can be a local area network or a wide area network.
The system illustrated in FIG. 1 is illustrative only and is not intended to limit the invention, its application, or uses in any way. For example, although fig. 1 shows only one power data access device 102 and one power device 101, it is not meant to limit the respective numbers, and multiple servers 101 and/or multiple terminal devices 102 may be included in the system. Wherein, the plurality of power devices 101 may interact with only one power data access device 102.
The electric power equipment can generate electric power data of different service types in the operation process, and the electric power data access equipment (such as a server and terminal equipment) performs services such as electric power scheduling, electric power consumption information analysis, electric power statistics, electric power payment, electric power equipment operation monitoring and the like according to the electric power data, so whether the electric power data can be used as reliable data support for business operation of the electric power data access equipment is important for normal operation of an electric power system, and meanwhile, normal electricity utilization of residents can be influenced. A need arises to detect the power data before the power data access device performs a corresponding business operation based on the power data transmitted by the power device.
The following describes in detail the technical solutions of the embodiments of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In one embodiment, as shown in fig. 2, a method for detecting power data is provided, which is described by taking the method as an example applied to the power data access device in fig. 1, and includes the following steps:
fig. 2 is a schematic flow chart of a dynamic password generation method provided in an embodiment of the present application, and is described by taking an example in which the method is applied to the server in fig. 1, where the method includes the following steps:
step S202, receiving a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data.
The power equipment includes the power equipment itself and control equipment for controlling the power equipment, such as a transformer, a sensor, a switch cabinet, a control cubicle and the like. The power data includes, for example, power consumption data of 2021 year 5 month in cell a, data of an abnormal condition of a transformer on the line B, data of the number of times of closing operations of a knife switch on the line C, and the like. The data amount of the power data represents the byte number of the power data, for example, the data amount of the power data is 7 bytes; the transmission time of the power data represents the time when the power equipment sends the data packet to the power data access equipment or the time when the power data access equipment receives the data packet sent by the power equipment, for example, the transmission time of the power data is 14: 20; the region information of the power data represents the source of the power data, i.e. from which IP address, from which area, from which cell, etc., the region information of the power data is, for example, a long-distance district; the transmission byte of the power data represents a data size of the power data, for example, 1 bit; the transmission protocol of the power data characterizes the communication protocol of the power data, for example, the transmission protocol of the power data is a TCP/IP protocol.
Illustratively, the power device sends 14:20 to the power data access device power usage data for 5 months of 2021 in a cell, which has 8 bytes, a size of 8 bits, and a transmission protocol of NetBEUI. A data packet is generated according to the power consumption data and the characteristic information of the power consumption data, and the data amount (8 bytes), the transmission time (14:20), the region information (a cell), the transmission byte (8 bits) and the transmission protocol (NetBEUI) of the power consumption data are included in the data packet.
Step S204, carrying out abnormity detection on the electric power data according to the characteristic information of the electric power data and an abnormal data characteristic library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
The abnormal data feature library includes feature information of a plurality of different abnormal data corresponding to different service types, that is, an abnormal data amount, an abnormal transmission time period, abnormal region information, an abnormal transmission byte and an abnormal transmission protocol corresponding to the service type. The abnormal data amount represents that the byte number of the electric power data exceeds the byte number of transmission data specified by the service type corresponding to the electric power data, or the byte number of the electric power data is smaller than the byte number of the transmission data specified by the service type corresponding to the electric power data; the abnormal transmission time period represents that the transmission time of the electric power data is not in the electric power data transmission time period specified by the corresponding service type, for example, the transmission time period specified by the monitoring service is 20:00-22:00, and if the electric power equipment is not in the time period of 20:00-22:00, the electric power data required by the monitoring service is transmitted to the electric power data access equipment, the electric power data is judged to be abnormal data; the source of the abnormal region information representation power data is not transmitted from a specified region or an IP address and the like; the abnormal transmission byte represents that the size of the electric power data exceeds the size of transmission data specified by the service type corresponding to the electric power data, or the byte number of the electric power data is smaller than the size of the transmission data specified by the service type corresponding to the electric power data; the abnormal transmission protocol represents that the transmission protocol specified by the service type corresponding to the power data is a TCP/IP protocol, but the transmission protocol of the power data is NetBEUI, which indicates that the power data is not transmitted through a preset communication channel, and then the power data is considered as abnormal data.
Illustratively, if the power equipment transmits monitoring data to the power data access equipment at 14:20, the power data is determined to be abnormal data according to the characteristic information of the transmission time of the power data and the abnormal transmission time period (24:00-19:00) corresponding to the service type corresponding to the power equipment in the abnormal data characteristic library, wherein the transmission time of the power data is 14:20, and the abnormal transmission time period (24:00-19:00) corresponding to the service type corresponding to the power equipment is within.
The application provides a detection method of power data, which comprises the following steps: the method comprises the steps that power data access equipment receives a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data; then, carrying out anomaly detection on the electric power data according to the characteristic information of the electric power data and an anomaly data characteristic library; because the abnormal data feature library comprises the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the service type of the electric power data, the abnormal detection can be carried out on a plurality of feature information of the electric power data at one time through a simple judgment process, and the efficiency of detecting the abnormal electric power data is improved.
In an embodiment, as shown in fig. 3, this embodiment is an optional embodiment of a method for performing anomaly detection on power data according to feature information of the power data and an anomaly data feature library, where the method includes:
step S302, determining a target service type corresponding to the characteristic information of the power data; the characteristic information of the power data generated by the power equipment under the target service type comprises characteristic information.
The service type of the power data may include: monitoring service types such as service, control service and operation service; the monitoring service represents that the power data is used for monitoring the running conditions of the power equipment, external equipment of the power equipment and the like by the power data access equipment; the control business representation electric power data access equipment controls electric power equipment, external equipment of the electric power equipment and the like according to the electric power data; the operation business represents that the power data is generated after the power access equipment operates the power equipment, the external equipment of the power equipment and the like; the service type of the power data may be other types, which is not limited in this application. Different service types represent different functions of the power data access device. Therefore, the power data required by different service types are different, and the characteristic information of different power data is also different. The data packet sent by the power equipment also comprises the service type information of the power data, and after the power data access equipment receives the data packet sent by the power equipment, the data packet is analyzed to obtain the target service type information of the power data. The abnormal data feature library is divided according to the service type of the power data, so that the service type of the feature information of the power data is determined, the corresponding abnormal feature information can be quickly searched from the abnormal data feature library, and subsequent judgment is facilitated.
According to the detection method of the electric power data, the target service type of the electric power data can be determined according to the data packet sent by the electric power data, the determination method is simple, a complex judgment process is not needed, corresponding abnormal feature information can be quickly searched from the abnormal data feature library according to the target service type, and abnormal detection of the electric power data is improved.
Step S304, determining abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission byte and abnormal transmission protocol corresponding to the target service type according to the abnormal data feature library.
According to the service type information included in the pass data packet, the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type can be determined from the abnormal data feature library. The method and the device have the advantages that the targeted comparison is carried out, so that the abnormity detection of the power data is more accurate.
According to the detection method of the power data, the corresponding abnormal feature information can be quickly found from the abnormal data feature library through the determined target service type, and reliable data support is provided for subsequent power data abnormal detection.
Step S306, carrying out abnormity detection on the electric power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the electric power data corresponding to the target service type.
The detection of whether the electric power data is abnormal is detected based on an abnormal data feature library, wherein feature information of all abnormal data corresponding to the service type of the electric power data is stored in the abnormal data feature library, any feature information of the electric power data can be compared with the corresponding abnormal feature information, and if the comparison result is the same, the electric power data is determined to be abnormal data; no comparison of other characteristic information may be performed. Or simultaneously comparing all the characteristic information of the electric power data with the corresponding abnormal characteristic information, and determining that the electric power data is abnormal data as long as one comparison result is the same. The transmission time of the electric power data is matched with the corresponding abnormal transmission time period, if the transmission time of the electric power data is not matched with the abnormal transmission time period, the electric power data is determined to be normal data, then the data volume is compared, and if the data volume of the electric power data is different from the corresponding abnormal data volume, the electric power data is determined to be normal data; and comparing the region information, the transmission protocol and the transmission byte, comparing one by one according to a preset comparison sequence, and if the comparison in one step is the same or the matching is successful, determining that the electric power data is abnormal electric power data. The method for performing anomaly detection on the power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the power data corresponding to the target service type also has other optional methods, which are not limited in the present application.
According to the detection method of the electric power data, the abnormal characteristic information corresponding to the service type of the electric power data in the abnormal data characteristic database is compared or matched with the characteristic information in the electric power data, whether the electric power data are abnormal or not is judged according to the comparison result or the matching result, the judgment mode is simple, and the abnormal detection of the electric power data is more accurate based on the data support of the abnormal data characteristic database.
In an embodiment, as shown in fig. 4, this embodiment is an optional embodiment of a method for performing anomaly detection on power data according to an abnormal data volume, an abnormal transmission time period, abnormal region information, an abnormal transmission byte, an abnormal transmission protocol, and feature information of the power data corresponding to a target service type, where the method includes:
step S402, matching the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type with the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the electric power data to obtain a matching result.
Wherein, the data volume of the power data can be matched with the abnormal data volume; matching the transmission time of the power data with the abnormal transmission time period; matching the region information of the power data with the abnormal region information; matching the transmission byte of the power data with the abnormal transmission byte; and matching the transmission protocol of the power data with the abnormal transmission protocol. A plurality of matching results are obtained.
According to the electric power data detection method, the characteristic information of the electric power data and the corresponding abnormal characteristic information can be matched one by one, so that the detection process is more specific, and whether the electric power data is abnormal or not is judged from different layers, so that the detection result is more accurate.
And S404, performing abnormity detection on the power data according to the matching result. If at least one of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data is successfully matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol, executing step S406; if each item of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data fails to be matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission, executing step S408;
in step S406, it is determined that the power data is abnormal.
In step S408, it is determined that the power data is normal.
Wherein, after the above matching process, 5 matching results are obtained, which may be, for example: the data volume of the power data does not match the abnormal data volume; the transmission time of the power data does not match the abnormal transmission time period; matching the region information of the power data with the abnormal region information; the transmission byte of the power data is matched with the abnormal transmission byte; the transmission protocol of the power data is matched with the abnormal transmission protocol. And 3 of the 5 matching results are shown, that is, the results of successful matching indicate that the power data and the abnormal power data have common characteristic information, so that the power data can be determined to be the abnormal power data. If the 5 matching results are: the data volume of the electric power data fails to be matched with the abnormal data volume; the transmission time of the power data fails to match with the abnormal transmission time period; the matching of the region information of the power data and the abnormal region information fails; the transmission byte of the power data is not matched with the abnormal transmission byte; the transmission protocol of the power data does not match the abnormal transmission protocol. And judging that the power data is abnormal if the power data and the abnormal power data do not have common characteristic information. It should be noted that, as long as one matching result is a successful matching, it is determined that the power data is abnormal; only when the matching result is a matching failure, the power data can be determined to be normal.
According to the detection method of the power data, whether the power data are abnormal or not is judged according to the matching result of the plurality of characteristic information, whether the power data are abnormal or not is detected from multiple angles, and therefore the abnormal detection of the power data is closer to reality.
In one embodiment, the present embodiment is an optional method step of the power data access device before receiving a data packet sent by the power device, where the method step includes:
and sending an acquisition instruction to the power equipment according to the service requirement, wherein the acquisition instruction instructs the power equipment to send the target data packet.
Among other things, the power data access device may perform, for example: the power equipment operation condition monitoring system comprises different services such as power equipment operation condition monitoring, power equipment control, power scheduling, power consumption information analysis, power statistics, power payment and the like, wherein power data required by each service type are different, so that the power data access equipment can purposefully send acquisition instructions to the ground power equipment according to actual service requirements, and the power equipment acquires target power data according to the acquisition instructions and sends the target power data to the power data access equipment. The transmission of the power data is more flexible, the power data is not limited to be transmitted unilaterally, and the situation that the power access equipment needs certain power data at present but the power data does not reach the transmission time period is avoided. Thereby, the effective utilization rate of the power data is improved.
In one embodiment, the data packet further comprises: and collecting an instruction.
When the power equipment transmits a data packet to the power data access equipment, the data packet may further include a collection instruction sent by the power data access equipment to the power equipment, the collection instruction may be displayed to the power data access equipment, and whether the data packet sent by the power equipment at present is data sent according to the requirement of the power data access equipment or not may be included in the data packet. The condition that the data packet abnormity detection is inaccurate can be avoided.
In an embodiment, as shown in fig. 5, the present embodiment is an embodiment of an optional detection method for detecting whether power data is abnormal, where the method includes:
step S502, judging whether the data packet comprises a target acquisition instruction or not under the condition that the power data is determined to be abnormal according to the transmission time of the power data and the abnormal transmission time period; if the data packet includes a target acquisition instruction, executing step S504; if the data packet does not include the target collection instruction, step S506 is executed:
in step S504, it is determined that the power data is normal.
In step S506, it is determined that the power data is abnormal.
Among them, there may be a case where: the power equipment sends data of abnormal conditions of the transformer on the B line to the power data access equipment in a 12:40 mode, for monitoring business, the power data access equipment specifies a sending time period of 24:00-4:00, then the power equipment sends the power data in a 12:40 mode, and the power data access equipment determines the power data to be abnormal power data. However, if the power equipment needs data of abnormal conditions of the transformer on the B line in 12:30 minutes, the data is used for analyzing the operation condition of the transformer and sending a collection instruction for collecting the data of the abnormal conditions of the transformer on the B line to the power equipment. Then, the power device sends the power data to the power data access device in the non-transmission time period according to the acquisition instruction of the power data access device, and if the power data is judged to be abnormal or not according to the transmission time of the power data, the power data is inaccurate. Therefore, the power data is further detected for abnormality according to special conditions, and the detection result can be more accurate.
The data packet sent by the power equipment may include
In an embodiment, the present embodiment is an optional embodiment of a method after detecting the power data abnormality, where the method includes:
and sending a data transmission adjustment strategy to the electric power equipment according to the abnormal detection result, wherein the data transmission adjustment strategy is used for reducing the abnormal detection rate of the transmission electric power data of the electric power equipment.
When the power data access device determines that the power data sent by the power device is abnormal power data, an error message may be returned to the power device, the reason for the error is described, and the power device is notified to perform adjustment, so that similar situations may occur again. For example, it may be an error message that returns that power data was not transmitted in this period. The adjustment policy carried by the message may be: the type of power data is uniformly transmitted in a 24:00 to 4:00 time period. The power equipment is prevented from transmitting the power data in the non-transmission time period when no power data access equipment sends no acquisition instruction. The probability that the power data transmitted by the power equipment is determined to be abnormal data can be reduced, and the effective utilization rate of the transmission channel is improved.
In one embodiment, as shown in fig. 6, this embodiment is an optional method embodiment after determining that the power data is normal, where the method includes:
step S602, if it is determined that the power data is normal according to the feature information of the power data and the abnormal data feature library, a random sequence is generated.
After determining that the power data transmitted by the power equipment is normal power data, the power data access equipment needs to store the power data. When the power data are stored, a device which can be a random sequence generator generates a random sequence for the power data to be stored, wherein each power data to be stored corresponds to a unique random sequence, and the safety of the power data storage can be guaranteed.
Step S604, encrypting the target power data according to the random sequence to obtain encrypted power data, and generating a target block according to the encrypted power data.
The random sequence and the power data may be subjected to exclusive or processing, that is, a decimal system is converted into a binary system, the same is 0, and the different is 1. After the random sequence and the to-be-stored power data are subjected to exclusive-or calculation, the power data are encrypted, and therefore, in order to facilitate subsequent searching of the power data, one encrypted power data is divided into one block, and each time the power equipment generates one power data, the power data are encrypted first and then divided into blocks and stored in a block chain of the power equipment. The encrypted power data is divided into the blocks, so that the encrypted power data can be conveniently stored in the block chain, the power data can be stored in the form of the block chain, and the block chain storage has non-tamper property, so that the safety of the power data can be guaranteed, and the condition that an illegal user randomly tampers the power data is avoided.
Step S606, the target block is verified according to a preset verification protocol, and if the verification passes, the target block is added into the block chain, where the preset verification protocol is used to verify whether the data format of the encrypted power data meets the requirement of the set data format.
The verification protocol is used for verifying the data format of the encrypted power data, and the encrypted power data can be added into the block chain only after the verification is passed. The verification method may be that the power device sets a storage rule of the block chain in advance, where the storage rule is, for example, what format the data should be stored in, what input and output the data are, what structure the data are, whether the carried digital signature is a digital signature that can be decrypted by the block chain, or the like. When receiving encrypted power data to be stored, verifying the encrypted power data according to a preset storage rule, or chaining the encrypted power data when the encrypted power data meets at least one rule, and storing the power data in a block chain.
According to the detection method of the power data, when the power data access equipment determines that the power data transmitted by the power equipment are normal data, the power data are stored in the block chain based on the block chain technology, and the safety of the power data is guaranteed.
In one embodiment, as shown in fig. 7, there is provided a power data detection apparatus, including: a receiving module 701 and a detecting module 702, wherein:
the receiving module 701 is configured to receive a data packet sent by a power device, where the data packet includes power data and characteristic information of the power data, and the characteristic information of the power data includes at least one of a data amount, a transmission time, region information, a transmission byte, and a transmission protocol of the power data;
a detection module 702, configured to perform anomaly detection on the power data according to the feature information of the power data and an anomaly data feature library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
In one embodiment, the detection module 702 includes a determination unit and a detection unit,
the determining unit is used for determining a target service type corresponding to the characteristic information of the power data; the characteristic information of the power data generated by the power equipment under the target service type comprises characteristic information; determining abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols corresponding to the target service type according to the abnormal data feature library;
and the detection unit is used for carrying out abnormity detection on the electric power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the electric power data corresponding to the target service type.
In one embodiment, the detection unit is further configured to match the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type with the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data, so as to obtain a matching result; and carrying out abnormity detection on the power data according to the matching result.
In one embodiment, the determining unit is configured to determine that the power data is abnormal if at least one of a data amount, a transmission time, region information, a transmission byte, and a transmission protocol of the power data matches and coincides with an abnormal data amount, an abnormal transmission time period, abnormal region information, an abnormal transmission byte, and an abnormal transmission protocol; and under the condition that each item of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data is not matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission, determining that the power data is normal.
In an embodiment, the system further includes a sending module, where the sending module is configured to send an acquisition instruction to the power device according to the service requirement, and the acquisition instruction instructs the power device to send the target data packet.
In one embodiment, the data packet further comprises: and collecting an instruction.
In one embodiment, the determining unit is configured to determine whether the data packet includes a target collection instruction or not when the power data is determined to be abnormal according to the feature information of the power data and the abnormal data feature library; determining that the power data is normal under the condition that the data packet comprises a target acquisition instruction; and determining that the power data is abnormal under the condition that the data packet does not comprise the target acquisition instruction.
In one embodiment, the sending module is further configured to send a data transmission adjustment policy to the electrical device according to a result of the anomaly detection, where the data transmission adjustment policy is used to reduce an anomaly detection rate of the electrical device for transmitting the electrical data.
In one embodiment, the device further comprises a generation module and a verification module, wherein the generation module is used for generating a random sequence under the condition that the power data is determined to be normal according to the characteristic information of the power data and the abnormal data characteristic library; encrypting the target power data according to the random sequence to obtain encrypted power data, and generating a target block according to the encrypted power data;
and the verification module is used for verifying the target block according to a preset verification protocol, if the target block passes the verification, the target block is added into the block chain, and the preset verification protocol is used for verifying whether the data format of the encrypted power data meets the requirement of the set data format.
For specific limitations of the power data detection device, reference may be made to the above limitations of the power data detection method, which are not described herein again. The modules in the above-mentioned detection device for power data may be implemented wholly or partially by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a power data access device is provided, taking the power data access as a server as an example, and the internal structure diagram of the power data access device can be as shown in fig. 8. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store power data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of detecting power data.
In one embodiment, there is provided a detection device for power data comprising a memory, a processor and a transceiver, the memory storing a computer program,
the transceiver is used for receiving a data packet sent by the power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
the processor is used for carrying out abnormity detection on the electric power data according to the characteristic information of the electric power data and the abnormal data characteristic library when executing the computer program; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a target service type corresponding to the characteristic information of the power data; the characteristic information of the power data generated by the power equipment under the target service type comprises characteristic information;
determining an abnormal data volume, an abnormal transmission time period, abnormal region information, abnormal transmission bytes and an abnormal transmission protocol corresponding to the target service type according to the abnormal data feature library;
and carrying out abnormity detection on the electric power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the electric power data corresponding to the target service type.
In one embodiment, the processor, when executing the computer program, further performs the steps of: matching the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type with the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data correspondingly to obtain a matching result;
and carrying out abnormity detection on the power data according to the matching result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining that the power data is abnormal under the condition that at least one of the data volume, the transmission time, the region information, the transmission bytes and the transmission protocol of the power data is matched and consistent with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission bytes and the abnormal transmission protocol;
and under the condition that each item of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data is not matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission, determining that the power data is normal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and sending an acquisition instruction to the power equipment according to the service requirement, wherein the acquisition instruction instructs the power equipment to send the target data packet.
In one embodiment, the data packet further comprises: and collecting an instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
under the condition that the power data are determined to be abnormal according to the characteristic information of the power data and the abnormal data characteristic library, judging whether the data packet comprises a target acquisition instruction or not; determining that the power data is normal under the condition that the data packet comprises a target acquisition instruction; and determining that the power data is abnormal under the condition that the data packet does not comprise the target acquisition instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and sending a data transmission adjustment strategy to the electric power equipment according to the abnormal detection result, wherein the data transmission adjustment strategy is used for reducing the abnormal detection rate of the transmission electric power data of the electric power equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: generating a random sequence under the condition that the power data are determined to be normal according to the feature information of the power data and the abnormal data feature library;
encrypting the target power data according to the random sequence to obtain encrypted power data, and generating a target block according to the encrypted power data;
and checking the target block according to a preset verification protocol, if the target block passes the check, adding the target block into the block chain, and using the preset verification protocol to check whether the data format of the encrypted power data meets the requirement of the set data format.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
performing anomaly detection on the electric power data according to the characteristic information of the electric power data and an anomaly data characteristic library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a target service type corresponding to the characteristic information of the power data; the characteristic information of the power data generated by the power equipment under the target service type comprises characteristic information;
determining an abnormal data volume, an abnormal transmission time period, abnormal region information, abnormal transmission bytes and an abnormal transmission protocol corresponding to the target service type according to the abnormal data feature library;
and carrying out abnormity detection on the electric power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the electric power data corresponding to the target service type.
In one embodiment, the computer program when executed by the processor further performs the steps of:
matching the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type with the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data correspondingly to obtain a matching result;
and carrying out abnormity detection on the power data according to the matching result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining that the power data is abnormal under the condition that at least one of the data volume, the transmission time, the region information, the transmission bytes and the transmission protocol of the power data is matched and consistent with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission bytes and the abnormal transmission protocol;
and under the condition that each item of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the power data is not matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission, determining that the power data is normal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and sending an acquisition instruction to the power equipment according to the service requirement, wherein the acquisition instruction instructs the power equipment to send the target data packet.
In one embodiment, the data packet further comprises: and collecting an instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
under the condition that the power data are determined to be abnormal according to the characteristic information of the power data and the abnormal data characteristic library, judging whether the data packet comprises a target acquisition instruction or not; determining that the power data is normal under the condition that the data packet comprises a target acquisition instruction; and determining that the power data is abnormal under the condition that the data packet does not comprise the target acquisition instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and sending a data transmission adjustment strategy to the electric power equipment according to the abnormal detection result, wherein the data transmission adjustment strategy is used for reducing the abnormal detection rate of the transmission electric power data of the electric power equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
generating a random sequence under the condition that the power data are determined to be normal according to the feature information of the power data and the abnormal data feature library;
encrypting the target power data according to the random sequence to obtain encrypted power data, and generating a target block according to the encrypted power data;
and checking the target block according to a preset verification protocol, if the target block passes the check, adding the target block into the block chain, and using the preset verification protocol to check whether the data format of the encrypted power data meets the requirement of the set data format.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by controlling related hardware through computer program instructions, the computer program can be stored in a non-volatile computer readable storage medium, and the computer program can include the processes of the embodiments of the methods described above when executed. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. 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), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for detecting power data, the method comprising:
receiving a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
performing anomaly detection on the electric power data according to the characteristic information of the electric power data and an anomaly data characteristic library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
2. The method of claim 1, wherein the performing anomaly detection on the power data according to the characteristic information of the power data and an anomaly data characteristic library comprises:
determining a target service type corresponding to the characteristic information of the electric power data; the characteristic information of the power data generated by the power equipment under the target service type comprises the characteristic information;
determining an abnormal data volume, an abnormal transmission time period, abnormal region information, an abnormal transmission byte and an abnormal transmission protocol corresponding to the target service type according to the abnormal data feature library;
and carrying out abnormity detection on the electric power data according to the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte, the abnormal transmission protocol and the characteristic information of the electric power data corresponding to the target service type.
3. The method according to claim 2, wherein the performing the anomaly detection on the power data according to the anomaly data volume, the anomaly transmission time period, the anomaly region information, the anomaly transmission byte, the anomaly transmission protocol and the characteristic information of the power data corresponding to the target service type comprises:
matching the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission protocol corresponding to the target service type with the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the electric power data to obtain a matching result;
and carrying out abnormity detection on the power data according to the matching result.
4. The method of claim 2, wherein the performing anomaly detection on the power data according to the matching result comprises:
if at least one of the data volume, the transmission time, the region information, the transmission bytes and the transmission protocol of the electric power data is matched with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission bytes and the abnormal transmission protocol, the electric power data is determined to be abnormal;
and if each item of the data volume, the transmission time, the region information, the transmission byte and the transmission protocol of the electric power data is not matched and consistent with the abnormal data volume, the abnormal transmission time period, the abnormal region information, the abnormal transmission byte and the abnormal transmission, determining that the electric power data is normal.
5. The method of claim 1, further comprising:
and sending a collection instruction to the power equipment according to the service requirement, wherein the collection instruction instructs the power equipment to send a target data packet.
6. The method of claim 5, wherein the data packet further comprises: and collecting an instruction.
7. The method of claim 6, further comprising:
under the condition that the power data are determined to be abnormal according to the transmission time of the power data and the abnormal transmission time period, judging whether the data packet comprises a target acquisition instruction or not;
if the data packet comprises the target acquisition instruction, determining that the power data are normal;
and if the data packet does not comprise the target acquisition instruction, determining that the power data is abnormal.
8. The method of claim 1, further comprising:
and sending a data transmission adjustment strategy to the electric power equipment according to the result of the abnormity detection, wherein the data transmission adjustment strategy is used for reducing the abnormity detection rate of the transmission electric power data of the electric power equipment.
9. The method of claim 1, further comprising:
if the power data are determined to be normal according to the feature information of the power data and the abnormal data feature library, generating a random sequence;
encrypting the target power data according to the random sequence to obtain encrypted power data, and generating a target block according to the encrypted power data;
and checking the target block according to a preset verification protocol, and if the target block passes the check, adding the target block into a block chain, wherein the preset verification protocol is used for checking whether the data format of the encrypted power data meets the requirement of a set data format.
10. An apparatus for detecting power data, the apparatus comprising:
the receiving module is used for receiving a data packet sent by power equipment, wherein the data packet comprises power data and characteristic information of the power data, and the characteristic information of the power data comprises at least one of data volume, transmission time, region information, transmission bytes and a transmission protocol of the power data;
the detection module is used for carrying out abnormity detection on the electric power data according to the characteristic information of the electric power data and an abnormity data characteristic library; the abnormal database characteristics comprise abnormal data volume, abnormal transmission time period, abnormal region information, abnormal transmission bytes and abnormal transmission protocols.
CN202110684563.7A 2021-06-21 2021-06-21 Method, device, equipment and storage medium for detecting electric power data Active CN113595240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110684563.7A CN113595240B (en) 2021-06-21 2021-06-21 Method, device, equipment and storage medium for detecting electric power data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110684563.7A CN113595240B (en) 2021-06-21 2021-06-21 Method, device, equipment and storage medium for detecting electric power data

Publications (2)

Publication Number Publication Date
CN113595240A true CN113595240A (en) 2021-11-02
CN113595240B CN113595240B (en) 2024-01-19

Family

ID=78244037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110684563.7A Active CN113595240B (en) 2021-06-21 2021-06-21 Method, device, equipment and storage medium for detecting electric power data

Country Status (1)

Country Link
CN (1) CN113595240B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571977A (en) * 2016-10-24 2017-04-19 腾讯科技(深圳)有限公司 Data transmission method and device
US20190097463A1 (en) * 2017-09-28 2019-03-28 Toyota Jidosha Kabushiki Kaisha Wireless power transfer system, wireless power transmitting device, and wireless power receiving device
CN110826740A (en) * 2019-12-03 2020-02-21 杭州绿安智能电网技术有限公司 Power grid line equipment fault detection and analysis system
CN111199018A (en) * 2019-12-27 2020-05-26 东软集团股份有限公司 Abnormal data detection method and device, storage medium and electronic equipment
CN112019574A (en) * 2020-10-22 2020-12-01 腾讯科技(深圳)有限公司 Abnormal network data detection method and device, computer equipment and storage medium
CN112084056A (en) * 2020-08-25 2020-12-15 腾讯科技(深圳)有限公司 Abnormality detection method, apparatus, device and storage medium
WO2021003968A1 (en) * 2019-07-09 2021-01-14 深圳壹账通智能科技有限公司 Data checking method and apparatus, and computer device and storage medium
CN112541102A (en) * 2020-12-11 2021-03-23 深圳供电局有限公司 Abnormal data filtering method, device, equipment and storage medium
CN112800231A (en) * 2021-03-31 2021-05-14 南方电网数字电网研究院有限公司 Power data verification method and device, computer equipment and storage medium
WO2021104270A1 (en) * 2019-11-26 2021-06-03 中兴通讯股份有限公司 Configuration anomaly detection method, server and storage medium
CN112990699A (en) * 2021-03-12 2021-06-18 深圳供电局有限公司 Power data processing method and device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571977A (en) * 2016-10-24 2017-04-19 腾讯科技(深圳)有限公司 Data transmission method and device
US20190097463A1 (en) * 2017-09-28 2019-03-28 Toyota Jidosha Kabushiki Kaisha Wireless power transfer system, wireless power transmitting device, and wireless power receiving device
WO2021003968A1 (en) * 2019-07-09 2021-01-14 深圳壹账通智能科技有限公司 Data checking method and apparatus, and computer device and storage medium
WO2021104270A1 (en) * 2019-11-26 2021-06-03 中兴通讯股份有限公司 Configuration anomaly detection method, server and storage medium
CN110826740A (en) * 2019-12-03 2020-02-21 杭州绿安智能电网技术有限公司 Power grid line equipment fault detection and analysis system
CN111199018A (en) * 2019-12-27 2020-05-26 东软集团股份有限公司 Abnormal data detection method and device, storage medium and electronic equipment
CN112084056A (en) * 2020-08-25 2020-12-15 腾讯科技(深圳)有限公司 Abnormality detection method, apparatus, device and storage medium
CN112019574A (en) * 2020-10-22 2020-12-01 腾讯科技(深圳)有限公司 Abnormal network data detection method and device, computer equipment and storage medium
CN112541102A (en) * 2020-12-11 2021-03-23 深圳供电局有限公司 Abnormal data filtering method, device, equipment and storage medium
CN112990699A (en) * 2021-03-12 2021-06-18 深圳供电局有限公司 Power data processing method and device, computer equipment and storage medium
CN112800231A (en) * 2021-03-31 2021-05-14 南方电网数字电网研究院有限公司 Power data verification method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴迪: "基于用电信息采集数据的用电异常检测方法研究", 《中国优秀硕士学位论文全文数据库工程科技II期》, no. 6, pages 3 - 8 *

Also Published As

Publication number Publication date
CN113595240B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
CN108347361B (en) Application program testing method and device, computer equipment and storage medium
CN110276198B (en) Embedded variable granularity control flow verification method and system based on probability prediction
US9081969B2 (en) Apparatus and method for remotely deleting critical information
CN111970236B (en) Cross-network data transmission method and device
CN111614548A (en) Message pushing method and device, computer equipment and storage medium
CN113507691B (en) Information pushing system and method based on power distribution network cross-region service
CN111367923A (en) Data processing method, data processing device, node equipment and storage medium
CN111294359B (en) Pressure testing method, pressure testing device, computer equipment and storage medium
CN111193730B (en) IoT trusted scene construction method and device
CN117640150A (en) Terminal authentication method, carbon emission supervision integrated platform and terminal authentication device
CN112713996A (en) Fault verification method based on block chain, server and terminal
CN113595240B (en) Method, device, equipment and storage medium for detecting electric power data
CN115589298A (en) Method, device, system, equipment and medium for verifying information of block chain
CN112422516B (en) Trusted connection method and device based on power edge calculation and computer equipment
CN111552949B (en) Encryption method and device for Internet of things equipment and electronic equipment
CN114499880A (en) Method and device for transmitting operation and maintenance data of gas turbine
CN113572599B (en) Power data transmission method, data source equipment and data access equipment
CN110769010B (en) Data management authority processing method and device and computer equipment
CN112995111B (en) Block chain-based Internet of things security detection method, equipment, system and medium
CN114244566A (en) Illegal external connection detection method and device based on IP address and computer equipment
CN113076531A (en) Identity authentication method and device, computer equipment and storage medium
CN111971677A (en) Tamper-resistant data encoding for mobile devices
CN112579335B (en) Intelligent equipment fault processing method, device, equipment and storage medium
Barbareschi et al. Enforcing Mutual Authentication and Confidentiality in Wireless Sensor Networks Using Physically Unclonable Functions: A Case Study
CN113489675B (en) Method, device, equipment and storage medium for detecting intrusion of power terminal

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