CN113794282A - Data processing method and device based on intelligent gateway and computer equipment - Google Patents

Data processing method and device based on intelligent gateway and computer equipment Download PDF

Info

Publication number
CN113794282A
CN113794282A CN202111085051.5A CN202111085051A CN113794282A CN 113794282 A CN113794282 A CN 113794282A CN 202111085051 A CN202111085051 A CN 202111085051A CN 113794282 A CN113794282 A CN 113794282A
Authority
CN
China
Prior art keywords
monitoring
service
terminal
data
instruction
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.)
Pending
Application number
CN202111085051.5A
Other languages
Chinese (zh)
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.)
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202111085051.5A priority Critical patent/CN113794282A/en
Publication of CN113794282A publication Critical patent/CN113794282A/en
Pending legal-status Critical Current

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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a data processing method based on an intelligent gateway, which comprises the following steps: acquiring terminal model files corresponding to a plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types; according to each terminal model file, creating a terminal object corresponding to each monitoring terminal in the intelligent gateway; responding to a monitoring instruction aiming at the power grid equipment, traversing the model files corresponding to the terminal objects, and generating a plurality of service scheduling instructions according to the terminal model files; and sending the service scheduling instruction to a plurality of monitoring terminals, and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction. The data corresponding to a plurality of monitoring terminals can be managed and applied in a unified way in the intelligent gateway, so that the occurrence of data islands is avoided, and the data use efficiency of the monitoring data is improved.

Description

Data processing method and device based on intelligent gateway and computer equipment
Technical Field
The present application relates to the field of power grid technologies, and in particular, to a data processing method and apparatus based on an intelligent gateway, a computer device, and a storage medium.
Background
With the increasing development of power technology and the perfection of power grids, the number of power grid equipment is increased sharply, and the types of equipment are also increased continuously. In the traditional technology, a plurality of monitoring terminals such as sensors for monitoring power grid equipment exist in a power grid, and in the monitoring process, sensing data acquired by each monitoring terminal cannot directly perform data interaction with a superior server, so that a data isolated island is formed among the monitoring terminals, and the data use efficiency is greatly reduced.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a data processing method, an apparatus, a computer device and a storage medium based on an intelligent gateway.
A data processing method based on an intelligent gateway is applied to the intelligent gateway, and the method comprises the following steps:
acquiring terminal model files corresponding to a plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
according to each terminal model file, creating a terminal object corresponding to each monitoring terminal in the intelligent gateway;
responding to a monitoring instruction aiming at the power grid equipment, traversing the model files corresponding to the terminal objects, and generating a plurality of service scheduling instructions according to the terminal model files;
and sending the service scheduling instruction to a plurality of monitoring terminals, and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
In one embodiment, the generating a plurality of service scheduling instructions according to the terminal model file includes:
determining the type of the service to be scheduled currently for each monitoring terminal, and determining service description information corresponding to the service type according to the terminal model file; the service description information comprises an instruction format and an instruction parameter corresponding to the service type;
and generating a corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal.
In one embodiment, the determining the type of service to be currently scheduled includes:
acquiring current time, and if the current time is matched with preset monitoring data acquisition time, determining the type of the current service to be scheduled as a data acquisition service;
the generating of the corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal includes:
and generating a corresponding data acquisition instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal data acquisition service.
In one embodiment, the determining, for each monitoring terminal, a service type to be currently scheduled includes:
when the monitoring terminal is a circuit breaker, acquiring an A-phase voltage acquired by the circuit breaker;
and when the A-phase voltage is in voltage loss, determining that the current service type to be scheduled of the circuit breaker is the circuit breaker opening service.
In one embodiment, the receiving service response data returned by each monitoring terminal for the service scheduling instruction includes:
receiving monitoring data returned by each monitoring terminal aiming at the data acquisition instruction;
further comprising:
acquiring a pre-configured data output format;
and according to the data output format, carrying out format conversion on the monitoring data to obtain target monitoring data, and storing the target monitoring data in a preset database.
In one embodiment, the sending the service scheduling instruction to the plurality of monitoring terminals further includes:
aiming at each monitoring terminal, determining a communication protocol type corresponding to the monitoring terminal according to a terminal model file corresponding to the monitoring terminal;
and converting the service scheduling instruction corresponding to each monitoring terminal into a data packet with a data format matched with the communication protocol type of the monitoring terminal, and sending the data packet to the monitoring terminal.
In one embodiment, the obtaining a terminal model file corresponding to each of the plurality of monitoring terminals includes:
acquiring device attribute information, service types and service description information corresponding to the service types, which correspond to a plurality of monitoring terminals respectively;
and aiming at each monitoring terminal, generating a corresponding terminal model file by adopting the equipment attribute information, the service type and the service description information corresponding to the monitoring terminal.
A data processing device based on an intelligent gateway is applied to the intelligent gateway, and the device comprises:
the file acquisition module is used for acquiring terminal model files corresponding to the plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
a terminal object creating module, configured to create, in the intelligent gateway, a terminal object corresponding to each monitoring terminal according to each terminal model file;
the monitoring instruction response module is used for responding to a monitoring instruction for the power grid equipment, traversing the model files corresponding to the terminal objects and generating a plurality of service scheduling instructions according to the terminal model files;
and the service response data collection module is used for sending the service scheduling instruction to a plurality of monitoring terminals and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method as claimed in any one of the above when the computer program is executed.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of the preceding claims.
The data processing method, the device, the computer equipment and the storage medium based on the intelligent gateway acquire the terminal model files corresponding to the monitoring terminals respectively, create the terminal objects corresponding to the monitoring terminals in the intelligent gateway according to the terminal model files, traverse the model files corresponding to the terminal objects in response to the monitoring instructions aiming at the power grid equipment, generate a plurality of service scheduling instructions according to the terminal model files, send the service scheduling instructions to the monitoring terminals, and further receive the service response data returned by the monitoring terminals aiming at the service scheduling instructions.
Drawings
FIG. 1 is a diagram illustrating an exemplary data processing method based on an intelligent gateway;
FIG. 2 is a schematic flow chart illustrating a method for processing data based on an intelligent gateway in one embodiment;
FIG. 3 is a diagram illustrating a structure of service description information in one embodiment;
FIG. 4 is a block diagram of an intelligent gateway based data processing apparatus according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an 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 data processing method based on the intelligent gateway can be applied to the application environment shown in fig. 1. In the application environment, the intelligent gateway 101 and the monitoring terminal 102 may be included, where the intelligent gateway 101 may be implemented by an independent server or a server cluster composed of a plurality of servers; the monitoring terminal 102 is a plurality of monitoring terminals, and the corresponding types of the plurality of monitoring terminals may be different.
In an embodiment, as shown in fig. 2, a data processing method based on an intelligent gateway is provided, which is described by taking the method as an example for being applied to the intelligent gateway in fig. 1, and may include the following steps:
step 201, obtaining a terminal model file corresponding to each of a plurality of monitoring terminals.
As an example, the monitoring terminal may be configured to obtain monitoring data corresponding to a power grid device in a power grid, and the monitoring terminal may perform information acquisition on a device operating state of the power grid device or an environment where the device is located according to a preset time interval to obtain the monitoring data. For example, the monitoring terminal may be a sensor; or, the terminal may be a terminal in communication connection with the sensor, and the terminal may receive the sensing data reported by the sensor, and perform preliminary processing on the sensing data to obtain monitoring data. Wherein, the sensor can include: the device comprises a voltage sensor, a current sensor, a camera device, a microclimate sensor, a tower inclination sensor, a tension sensor, an inclination angle sensor, a wire clamp temperature measuring sensor, a wire galloping sensor, an intelligent spacer, an infrared sensor and a displacement monitoring device; wherein, the microclimate sensor can comprise a humidity sensor and a wind speed sensor. The monitoring data may include voltage data, current data, image data, microclimate data, inclination angle data, tension data, temperature data, and the like.
The terminal model file may be a file for describing a type of the monitoring terminal device and a device service capability, and the terminal model file may store service description information corresponding to a service type and a service type provided by a corresponding monitoring terminal.
In specific implementation, for different monitoring terminals, a terminal model file corresponding to each monitoring terminal may be generated, and then the intelligent gateway may obtain the terminal model file corresponding to each monitoring terminal in advance before starting to monitor the power grid equipment in the power grid.
Step 202, according to each terminal model file, creating a terminal object corresponding to each monitoring terminal in the intelligent gateway.
After obtaining each terminal model file, a terminal object corresponding to each monitoring terminal may be created in the intelligent gateway according to each terminal model file. Specifically, the terminal object may be an example corresponding to the monitoring terminal in the intelligent gateway, and the terminal object may characterize the monitoring terminal through corresponding data, such as parameters, device attributes, and other information. The intelligent gateway can improve the data acquisition efficiency of the monitoring terminals by creating the terminal objects corresponding to the monitoring terminals.
Step 203, responding to the monitoring instruction for the power grid equipment, traversing the model files corresponding to the terminal objects, and generating a plurality of service scheduling instructions according to the terminal model files.
After the creation of each terminal, the monitoring of the grid device by the plurality of monitoring terminals may be started. When monitoring the intelligent gateway through a plurality of monitoring terminals, the user can send a monitoring instruction to a plurality of monitoring terminals through the function that a key triggered, for example, after clicking a preset button at the power grid control center, the power grid control center can send the monitoring instruction to a plurality of monitoring terminals simultaneously, and the monitoring terminal is triggered to acquire monitoring data corresponding to the power grid equipment.
The intelligent gateway can monitor a monitoring instruction sent by a user, and after the monitoring instruction is detected, the intelligent gateway can sequentially traverse the model files corresponding to the plurality of currently created terminal objects in response to the monitoring instruction, and respectively generate service scheduling instructions for different monitoring terminals according to the plurality of model files.
And 204, sending the service scheduling instruction to a plurality of monitoring terminals, and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
After generating the plurality of service scheduling instructions, the monitoring terminal may send the corresponding service scheduling instructions to the plurality of monitoring terminals, respectively. After receiving the service scheduling instruction, the monitoring terminal may run the corresponding service according to the service scheduling instruction and obtain the corresponding service response data, for example, when the service scheduling instruction is a data acquisition service, the monitoring terminal may use the acquired monitoring data as the service response data and send the service response data to the intelligent gateway.
The intelligent gateway can receive the service response data corresponding to the plurality of monitoring terminals by sending the corresponding service scheduling instructions to the plurality of monitoring terminals, and further can store the obtained plurality of service response data in the intelligent gateway, so that the service response data corresponding to the plurality of monitoring terminals can be fused in the intelligent gateway. In an example, the intelligent gateway and the monitoring terminals can communicate through an MQTT (message queue telemetry transport) protocol, network traffic can be reduced due to the characteristics of small transmission, low overhead and minimized protocol exchange, and the communication efficiency between the intelligent gateway and the monitoring terminals can be effectively improved through the protocol aiming at frequent communication between the intelligent gateway and the monitoring terminals.
In this embodiment, terminal model files corresponding to a plurality of monitoring terminals are obtained, a terminal object corresponding to each monitoring terminal is created in an intelligent gateway according to each terminal model file, a monitoring instruction for a power grid device is responded, the model files corresponding to each terminal object are traversed, a plurality of service scheduling instructions are generated according to the terminal model files, the service scheduling instructions are sent to the plurality of monitoring terminals, and then service response data returned by each monitoring terminal for the service scheduling instructions can be received.
In an embodiment, the generating a plurality of service scheduling instructions according to the terminal model file may include the following steps:
determining the type of the service to be scheduled currently for each monitoring terminal, and determining service description information corresponding to the service type according to the terminal model file; and generating a corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal.
The service description information may include an instruction format and an instruction parameter corresponding to the service type.
In a specific implementation, after the monitoring instruction is detected, for each monitoring terminal, a service type to be currently scheduled may be determined. Specifically, each monitoring terminal can provide various different services, such as a monitoring data acquisition service, a material information service and a terminal early warning service, wherein the material information service can acquire state information of the monitoring terminal to periodically determine whether the monitoring terminal normally operates, and the terminal early warning service can automatically send warning information to the intelligent gateway when the monitoring terminal finds abnormal information. For example, in each terminal model file, the device information and the provided service corresponding to the temperature and humidity sensor, the infrared sensor, the wind speed sensor, the point-type temperature measuring device, the partial discharge tester, and the displacement monitoring may be recorded in a manner shown in the following table, where the device type, manufacturer, model, and service type corresponding to each device may be recorded:
Figure BDA0003265224060000071
Figure BDA0003265224060000081
after determining the service type to be scheduled, service description information corresponding to the service type to be scheduled may be determined according to a terminal model file, as shown in fig. 3, which is a structural example of the service description information in the terminal model file, in the structural example, one device may provide a plurality of services such as service 1, service 2 … …, service n, and the like, each service may be scheduled by a corresponding command and parameter, and under each service, device attribute information for describing a current state of the monitoring terminal may also be included. After determining the service description information corresponding to the service type, the intelligent gateway may generate a corresponding service instruction according to the instruction format and the instruction parameter in the service description information.
In this embodiment, for each monitoring terminal, after querying the terminal model file, the corresponding service scheduling instruction may be generated according to the corresponding instruction format and instruction parameter, so that a plurality of different monitoring terminals may be scheduled in a unified manner, and service response data corresponding to the plurality of monitoring terminals may be obtained.
In one embodiment, the determining the type of service to be currently scheduled may include the following steps:
acquiring current time, and if the current time is matched with preset monitoring data acquisition time, determining the type of the current service to be scheduled as a data acquisition service;
in specific implementation, the intelligent gateway can acquire monitoring data acquired by each monitoring terminal at regular time. Specifically, the intelligent gateway may determine the current time, and if the single-sign time matches the preset monitoring data acquisition time, it may be determined that the service type to be currently scheduled of each monitoring terminal at least includes the data acquisition service.
The generating a corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal may include the following steps:
and generating a corresponding data acquisition instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal data acquisition service.
In a specific implementation, different monitoring terminals need to be scheduled according to different instruction formats and instruction parameters when providing data acquisition services. When it is determined that the service type to be scheduled of each monitoring terminal includes the data acquisition service, a corresponding data acquisition instruction can be generated according to the instruction format and the instruction parameter corresponding to the data acquisition service of each monitoring terminal, and the corresponding data acquisition instruction is issued to each monitoring terminal, so that the monitoring data returned by each monitoring terminal can be acquired.
In this embodiment, the current time may be obtained, and if the current time matches the preset monitoring data acquisition time, the type of the service to be currently scheduled is determined to be the data acquisition service, and then, a corresponding data acquisition instruction may be generated according to an instruction format and an instruction parameter corresponding to the data acquisition service of each monitoring terminal, and the monitoring data acquired by each monitoring terminal is collected in the intelligent gateway.
In an embodiment, the determining, for each monitoring terminal, a type of service to be currently scheduled may include the following steps:
when the monitoring terminal is a circuit breaker, acquiring an A-phase voltage acquired by the circuit breaker; and when the A-phase voltage is in voltage loss, determining that the current service type to be scheduled of the circuit breaker is the circuit breaker opening service.
In practical application, when the monitoring terminal is a circuit breaker, the intelligent gateway can acquire the A-phase voltage acquired by the circuit breaker and judge whether the current A-phase voltage is in voltage loss or not according to the A-phase voltage. If the A-phase voltage is detected to be out of voltage, the current service type to be scheduled of the breaker can be determined to be breaker opening service, a corresponding service scheduling instruction is generated, and breaker opening is controlled.
In this embodiment, when the monitoring terminal is a circuit breaker, the a-phase voltage acquired by the circuit breaker can be acquired; when the voltage of the A-phase voltage is lost, the current service type to be scheduled of the breaker is determined to be the breaker opening service, and the breaker opening can be controlled in time when the voltage of the A-phase voltage is lost.
In one embodiment, the receiving the service response data returned by each monitoring terminal for the service scheduling instruction may include:
and receiving monitoring data returned by each monitoring terminal aiming at the data acquisition instruction.
Specifically, when the service type scheduled by the intelligent gateway is data acquisition service, the intelligent gateway may send a data acquisition instruction, and may further receive monitoring data returned by each monitoring terminal for the instruction.
The method may further comprise the steps of:
acquiring a pre-configured data output format; and according to the data output format, carrying out format conversion on the monitoring data to obtain target monitoring data, and storing the target monitoring data in a preset database.
As an example, the data output format may be a data format applied when the monitoring data is used by a user.
In practical application, because different monitoring terminals correspond to different terminal configurations or different manufacturers, and the data formats used by the different monitoring terminals are different, if monitoring data returned by the monitoring terminals are received, a preconfigured data output format can be obtained, and then after a plurality of monitoring data are obtained, format conversion is performed on the monitoring data according to the data output format to obtain target monitoring data, and the target monitoring data are stored in a preset database.
In this embodiment, format conversion may be performed on the monitoring data according to the data output format to obtain target monitoring data, and the target monitoring data is stored in the preset database, so that format conversion can be performed in advance before the user calls the monitoring data, and the use efficiency of the user in subsequently using different monitoring data is improved.
In an embodiment, the terminal model file may further include a communication protocol type corresponding to the monitoring terminal, and the sending the service scheduling instruction to the plurality of monitoring terminals may include the following steps:
aiming at each monitoring terminal, determining a communication protocol type corresponding to the monitoring terminal according to a terminal model file corresponding to the monitoring terminal; and converting the service scheduling instruction corresponding to each monitoring terminal into a data packet with a data format matched with the communication protocol type of the monitoring terminal, and sending the data packet to the monitoring terminal.
In particular implementations, a plurality of different types of monitoring terminals may use different communication protocols, for example, the communication protocols used by the plurality of monitoring terminals may include Modbus-RTU, Modbus-TCP, DL/T645, IEC60870-5-101, IEC60870-5-104 protocols.
Due to the fact that the data transmission modes corresponding to different communication protocols are different, for each monitoring terminal, the intelligent gateway can determine the communication protocol type corresponding to the monitoring terminal according to the terminal model file corresponding to the monitoring terminal, and then the communication protocol adopted by each monitoring terminal can be obtained. After the communication protocol corresponding to each monitoring terminal is determined, the service scheduling instruction corresponding to each monitoring terminal can be converted into a data packet with a data format matched with the communication protocol type of the monitoring terminal, and the data packet is sent to the monitoring terminal.
In this embodiment, the service scheduling instruction corresponding to each monitoring terminal is converted into a data packet with a data format matched with the communication protocol type of the monitoring terminal, and the data packet is sent to the corresponding monitoring terminal, so that normal communication and service scheduling between the intelligent gateway and a plurality of monitoring terminals of different types can be ensured.
In an embodiment, the obtaining of the terminal model file corresponding to each of the plurality of monitoring terminals may include the following steps:
acquiring device attribute information, service types and service description information corresponding to the service types, which correspond to a plurality of monitoring terminals respectively; and aiming at each monitoring terminal, generating a corresponding terminal model file by adopting the equipment attribute information, the service type and the service description information corresponding to the monitoring terminal.
In practical application, the intelligent gateway may obtain device attribute information, service types, and service description information corresponding to the service types, which correspond to the multiple monitoring terminals, and for each monitoring terminal, the intelligent gateway may generate a corresponding terminal model file by using the device attribute information, the service types, and the service description information corresponding to the monitoring terminal. In an example, the user may add a terminal model file in the intelligent gateway, or modify the terminal model file in the intelligent gateway, so as to quickly change the manner of scheduling the service by the intelligent gateway.
In this embodiment, for each monitoring terminal, a corresponding terminal model file is generated by using the device attribute information, the service type, and the service description information corresponding to the monitoring terminal, so that a basis can be provided for subsequently acquiring service response data of different monitoring terminals.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 4, there is provided an intelligent gateway-based data processing apparatus, which can be applied to an intelligent gateway, the apparatus including:
a file obtaining module 401, configured to obtain terminal model files corresponding to multiple monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
a terminal object creating module 402, configured to create, in the intelligent gateway, a terminal object corresponding to each monitoring terminal according to each terminal model file;
a monitoring instruction response module 403, configured to traverse model files corresponding to each terminal object in response to a monitoring instruction for the power grid device, and generate a plurality of service scheduling instructions according to the terminal model files;
a service response data collecting module 404, configured to send the service scheduling instruction to multiple monitoring terminals, and receive service response data returned by each monitoring terminal for the service scheduling instruction.
In one embodiment, the monitoring instruction response module 403 includes:
the service description information acquisition submodule is used for determining the type of the service to be scheduled currently aiming at each monitoring terminal and determining the service description information corresponding to the service type according to the terminal model file; the service description information comprises an instruction format and an instruction parameter corresponding to the service type;
and the service scheduling instruction generating submodule is used for generating a corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal.
In one embodiment, the service description information obtaining sub-module includes:
the matching unit is used for acquiring the current time, and if the current time is matched with the preset monitoring data acquisition time, determining the type of the service to be scheduled currently as a data acquisition service;
the service scheduling instruction generating submodule comprises:
and the data acquisition instruction generating unit is used for generating corresponding data acquisition instructions according to the instruction format and the instruction parameters corresponding to the data acquisition service of each monitoring terminal.
In one embodiment, the service description information obtaining sub-module includes:
the monitoring terminal comprises an A-phase voltage acquisition unit, a B-phase voltage acquisition unit and a C-phase voltage acquisition unit, wherein the A-phase voltage acquisition unit is used for acquiring the A-phase voltage acquired by the breaker when the monitoring terminal is the breaker;
and the switching-off service scheduling unit is used for determining the current service type to be scheduled of the circuit breaker as the switching-off service of the circuit breaker when the A-phase voltage is out of voltage.
In one embodiment, the service response data collection module 404 includes:
the monitoring data receiving submodule is used for receiving the monitoring data returned by each monitoring terminal aiming at the data acquisition instruction;
further comprising:
the output format determining module is used for acquiring a pre-configured data output format;
and the storage module is used for carrying out format conversion on the monitoring data according to the data output format to obtain target monitoring data and storing the target monitoring data into a preset database.
In an embodiment, the terminal model file further includes a communication protocol type corresponding to the monitoring terminal, and the service response data collecting module 404 includes:
the protocol type determining submodule is used for determining a communication protocol type corresponding to each monitoring terminal according to the terminal model file corresponding to the monitoring terminal;
and the data packet generation submodule is used for converting the service scheduling instruction corresponding to each monitoring terminal into a data packet with a data format matched with the communication protocol type of the monitoring terminal and sending the data packet to the monitoring terminal.
In one embodiment, the file obtaining module 401 includes:
the information reading submodule is used for acquiring the equipment attribute information and the service type which correspond to the multiple monitoring terminals respectively and the service description information which corresponds to the service type;
and the file generation submodule is used for generating a corresponding terminal model file by adopting the equipment attribute information, the service type and the service description information corresponding to each monitoring terminal.
For specific limitations of an intelligent gateway-based data processing apparatus, reference may be made to the above limitations of an intelligent gateway-based data processing method, which are not described herein again. The modules in the intelligent gateway-based data processing device can be wholly or partially implemented 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 computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. 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 for storing monitoring data, such as sensing data, collected by the monitoring terminal. 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 for data processing based on an intelligent gateway.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring terminal model files corresponding to a plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
according to each terminal model file, creating a terminal object corresponding to each monitoring terminal in the intelligent gateway;
responding to a monitoring instruction aiming at the power grid equipment, traversing the model files corresponding to the terminal objects, and generating a plurality of service scheduling instructions according to the terminal model files;
and sending the service scheduling instruction to a plurality of monitoring terminals, and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
In one embodiment, the steps in the other embodiments described above are also implemented when the computer program is executed by a processor.
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:
acquiring terminal model files corresponding to a plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
according to each terminal model file, creating a terminal object corresponding to each monitoring terminal in the intelligent gateway;
responding to a monitoring instruction aiming at the power grid equipment, traversing the model files corresponding to the terminal objects, and generating a plurality of service scheduling instructions according to the terminal model files;
and sending the service scheduling instruction to a plurality of monitoring terminals, and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
In one embodiment, the computer program when executed by the processor also performs the steps in the other embodiments described above.
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 hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. 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-mentioned embodiments 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 data processing method based on an intelligent gateway is applied to the intelligent gateway, and the method comprises the following steps:
acquiring terminal model files corresponding to a plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
according to each terminal model file, creating a terminal object corresponding to each monitoring terminal in the intelligent gateway;
responding to a monitoring instruction aiming at the power grid equipment, traversing the model files corresponding to the terminal objects, and generating a plurality of service scheduling instructions according to the terminal model files;
and sending the service scheduling instruction to a plurality of monitoring terminals, and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
2. The method of claim 1, wherein generating a plurality of service scheduling instructions according to the terminal model file comprises:
determining the type of the service to be scheduled currently for each monitoring terminal, and determining service description information corresponding to the service type according to the terminal model file; the service description information comprises an instruction format and an instruction parameter corresponding to the service type;
and generating a corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal.
3. The method of claim 2, wherein the determining the type of service currently to be scheduled comprises:
acquiring current time, and if the current time is matched with preset monitoring data acquisition time, determining the type of the current service to be scheduled as a data acquisition service;
the generating of the corresponding service scheduling instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal includes:
and generating a corresponding data acquisition instruction according to the instruction format and the instruction parameter corresponding to each monitoring terminal data acquisition service.
4. The method according to claim 2, wherein the determining, for each monitoring terminal, a type of service currently to be scheduled comprises:
when the monitoring terminal is a circuit breaker, acquiring an A-phase voltage acquired by the circuit breaker;
and when the A-phase voltage is in voltage loss, determining that the current service type to be scheduled of the circuit breaker is the circuit breaker opening service.
5. The method according to claim 3, wherein the receiving service response data returned by each monitoring terminal for the service scheduling instruction comprises:
receiving monitoring data returned by each monitoring terminal aiming at the data acquisition instruction;
further comprising:
acquiring a pre-configured data output format;
and according to the data output format, carrying out format conversion on the monitoring data to obtain target monitoring data, and storing the target monitoring data in a preset database.
6. The method according to claim 1, wherein the terminal model file further includes a communication protocol type corresponding to the monitoring terminal, and the sending the service scheduling instruction to the plurality of monitoring terminals includes:
aiming at each monitoring terminal, determining a communication protocol type corresponding to the monitoring terminal according to a terminal model file corresponding to the monitoring terminal;
and converting the service scheduling instruction corresponding to each monitoring terminal into a data packet with a data format matched with the communication protocol type of the monitoring terminal, and sending the data packet to the monitoring terminal.
7. The method according to claim 1, wherein the obtaining a terminal model file corresponding to each of the plurality of monitoring terminals comprises:
acquiring device attribute information, service types and service description information corresponding to the service types, which correspond to a plurality of monitoring terminals respectively;
and aiming at each monitoring terminal, generating a corresponding terminal model file by adopting the equipment attribute information, the service type and the service description information corresponding to the monitoring terminal.
8. A data processing device based on an intelligent gateway is applied to the intelligent gateway, and the device comprises:
the file acquisition module is used for acquiring terminal model files corresponding to the plurality of monitoring terminals; the monitoring terminal is used for acquiring monitoring data corresponding to power grid equipment in a power grid, and the terminal model file stores service types provided by the corresponding monitoring terminal and service description information corresponding to the service types;
a terminal object creating module, configured to create, in the intelligent gateway, a terminal object corresponding to each monitoring terminal according to each terminal model file;
the monitoring instruction response module is used for responding to a monitoring instruction for the power grid equipment, traversing the model files corresponding to the terminal objects and generating a plurality of service scheduling instructions according to the terminal model files;
and the service response data collection module is used for sending the service scheduling instruction to a plurality of monitoring terminals and receiving service response data returned by each monitoring terminal aiming at the service scheduling instruction.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202111085051.5A 2021-09-16 2021-09-16 Data processing method and device based on intelligent gateway and computer equipment Pending CN113794282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111085051.5A CN113794282A (en) 2021-09-16 2021-09-16 Data processing method and device based on intelligent gateway and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111085051.5A CN113794282A (en) 2021-09-16 2021-09-16 Data processing method and device based on intelligent gateway and computer equipment

Publications (1)

Publication Number Publication Date
CN113794282A true CN113794282A (en) 2021-12-14

Family

ID=79183687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111085051.5A Pending CN113794282A (en) 2021-09-16 2021-09-16 Data processing method and device based on intelligent gateway and computer equipment

Country Status (1)

Country Link
CN (1) CN113794282A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361323A (en) * 2022-08-17 2022-11-18 深圳供电局有限公司 Intelligent gateway intercommunication interconnection test system
CN115932378A (en) * 2022-11-15 2023-04-07 南方电网数字电网研究院有限公司 Non-invasive voltage measurement method and device based on intelligent insulator
CN115932378B (en) * 2022-11-15 2024-06-04 南方电网数字电网研究院有限公司 Non-invasive voltage measurement method and device based on intelligent insulator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361323A (en) * 2022-08-17 2022-11-18 深圳供电局有限公司 Intelligent gateway intercommunication interconnection test system
CN115932378A (en) * 2022-11-15 2023-04-07 南方电网数字电网研究院有限公司 Non-invasive voltage measurement method and device based on intelligent insulator
CN115932378B (en) * 2022-11-15 2024-06-04 南方电网数字电网研究院有限公司 Non-invasive voltage measurement method and device based on intelligent insulator

Similar Documents

Publication Publication Date Title
CN108471366A (en) A kind of stereoscopic monitoring system of facing cloud native applications
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN109271363B (en) File storage method and device
CN111835562B (en) Log uploading method, log inquiring method and system
CN113810492B (en) Data point table generation method and device based on intelligent gateway and computer equipment
CN112306026A (en) Equipment production line scheduling method based on smart park and cloud computing server
CN110659109A (en) Openstack cluster virtual machine monitoring system and method
CN112486915B (en) Data storage method and device
CN112600924B (en) IoT terminal data storage system, method, computer device and storage medium
CN111064591B (en) Data aggregation method, device, equipment, storage medium and system
CN113794282A (en) Data processing method and device based on intelligent gateway and computer equipment
CN110831050B (en) Sensor node control method and system
CN112702219B (en) Internet of things network monitoring method, device, equipment and storage medium
CN113328927B (en) Industrial Internet of things gateway with calculation, storage and network exchange functions
CN112333758B (en) Stability monitoring management method, system and application of television gateway system
CN116642218B (en) Remote automatic centralized monitoring method and system for heat supply network
CN112820092B (en) Method for collecting electricity consumption data, terminal equipment and storage medium
CN113660286A (en) Communication protocol fusion method combined with Kalman filtering data fusion and related equipment
CN112749142B (en) Handle management method and system
CN113592114A (en) User fault reporting research and judgment method and device in power grid, computer equipment and storage medium
CN109787225B (en) Distribution network model derivation method, device, equipment and storage medium
CN113784306B (en) Sensing data acquisition method, sensing data acquisition device, computer equipment and storage medium
CN114257977A (en) Sensing data transmission method and device, computer equipment and storage medium
CN114884844B (en) Flow recording method and system
CN115051992B (en) Equipment polling method, device, electronic equipment and storage medium

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
CB03 Change of inventor or designer information

Inventor after: Plutonium star

Inventor after: Zhu Yiwei

Inventor after: Chen Wenrui

Inventor after: Zou Qingnian

Inventor after: Zhou Qi

Inventor after: Chen Yongtao

Inventor after: Zhang Haichuan

Inventor after: Wang Li

Inventor after: Wang Long

Inventor after: Zhong Xinhui

Inventor before: Wang Li

Inventor before: Wang Long

Inventor before: Zhong Xinhui

Inventor before: Zhu Yiwei

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20220516

Address after: 510620, No. two, No. 2, Tianhe South Road, Guangzhou, Guangdong, Tianhe District

Applicant after: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.

Address before: Room 86, room 406, No.1, Yichuang street, Zhongxin Guangzhou Knowledge City, Huangpu District, Guangzhou City, Guangdong Province

Applicant before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

TA01 Transfer of patent application right