CN114257977A - Sensing data transmission method and device, computer equipment and storage medium - Google Patents

Sensing data transmission method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114257977A
CN114257977A CN202111307171.5A CN202111307171A CN114257977A CN 114257977 A CN114257977 A CN 114257977A CN 202111307171 A CN202111307171 A CN 202111307171A CN 114257977 A CN114257977 A CN 114257977A
Authority
CN
China
Prior art keywords
data
sensing data
sensing
monitoring terminal
target
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
CN202111307171.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.)
China Southern Power Grid Digital Grid Technology Guangdong 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 CN202111307171.5A priority Critical patent/CN114257977A/en
Publication of CN114257977A publication Critical patent/CN114257977A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a sensing data transmission method, which comprises the following steps: when first sensing data collected by a plurality of monitoring terminals are received, acquiring a data format mapping relation corresponding to each monitoring terminal; converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway; storing a plurality of second sensing data, and converting the data format of the target second sensing data into a first data format corresponding to a target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data; and sending the converted target second sensing data to the target monitoring terminal.

Description

Sensing data transmission method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of power grid technologies, and in particular, to a method and an apparatus for transmitting sensor data, 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 conventional technology, a plurality of monitoring terminals for monitoring power grid equipment in real time exist in a power grid, for example, sensors, and due to differences of manufacturers or equipment models, a plurality of monitoring terminals also adopt different data transmission standards, for example, different monitoring terminals respectively adopt different data formats to describe data of the same type, so that the monitoring data among the monitoring terminals are difficult to interact, a data island is formed, and the data use efficiency is reduced.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for transmitting sensor data, a computer device, and a storage medium.
A transmission method of sensing data is applied to micro-applications in an intelligent gateway, and the method comprises the following steps:
when first sensing data collected by a plurality of monitoring terminals are received, acquiring a data format mapping relation corresponding to each monitoring terminal; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
storing a plurality of second sensing data, and converting the data format of the target second sensing data into a first data format corresponding to a target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data;
and sending the converted target second sensing data to the target monitoring terminal.
In one embodiment, the storing the plurality of second sensing data includes:
acquiring data classification standards corresponding to a plurality of second sensing data;
classifying the plurality of second sensing data according to the data classification standard to obtain a plurality of data categories;
and carrying out deduplication processing on the plurality of second sensing data under the same data category, and storing the plurality of deduplicated data categories.
In one embodiment, the storing the deduplicated plurality of data categories includes:
determining a target interface used for storing sensing data in the intelligent gateway;
and calling the target interface, and storing the multiple data types after the duplication removal into a database of the intelligent gateway.
In one embodiment, the determining a target interface for storing sensing data in the intelligent gateway includes:
acquiring a plurality of candidate interfaces used for storing sensing data in the intelligent gateway; the candidate interfaces are respectively used for storing frozen data and real-time data;
and when the second sensing data is real-time data, determining the candidate interface for storing the real-time data as a target interface.
In one embodiment, before the converting, by using the data format mapping relationship, each piece of first sensing data into second sensing data having a second data format, the method further includes:
for each monitoring terminal, judging whether a first data format corresponding to the monitoring terminal is matched with a second data format;
if yes, determining the first sensing data as second sensing data;
and if not, executing the step of converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation.
In one embodiment, the storing the plurality of second sensing data includes:
determining a terminal identifier corresponding to each monitoring terminal, and associating each second sensing data with the terminal identifier corresponding to the monitoring terminal;
and storing the plurality of associated second sensing data and terminal identifications into a database of the intelligent gateway.
In one embodiment, the method further comprises the following steps:
acquiring equipment attribute information and a first data format corresponding to each monitoring terminal, and sending the equipment attribute information and the first data format to an intelligent gateway so as to trigger the intelligent gateway to register the monitoring terminals based on the equipment attribute information and the first data format;
and receiving the terminal identification distributed by the intelligent gateway aiming at the registered monitoring terminal to obtain the terminal identification corresponding to each monitoring terminal.
A transmission apparatus for sensing data, which is applied to a micro application in an intelligent gateway, the apparatus comprising:
the mapping relation obtaining module is used for obtaining a data format mapping relation corresponding to each monitoring terminal when first sensing data collected by a plurality of monitoring terminals are received; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
the format conversion module is used for converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
the storage module is used for storing a plurality of second sensing data and converting the data format of the target second sensing data into a first data format corresponding to the target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data;
and the data sending module is used for sending the converted target second sensing data to the target monitoring terminal.
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 method, the device, the computer equipment and the storage medium for transmitting the sensing data have the advantages that when the micro application in the intelligent gateway receives the first sensing data acquired by a plurality of monitoring terminals, the data format mapping relation corresponding to each monitoring terminal can be obtained, the data format mapping relation is adopted to convert each first sensing data into the second sensing data with the second data format, a plurality of second sensing data are obtained and stored, further, when a data acquisition request aiming at the target second sensing data of the target monitoring terminal is received, the data format of the target second sensing data is converted into the first data format corresponding to the target monitoring terminal, the converted target second sensing data is sent to the target monitoring terminal, the sensing data from different monitoring terminals can be acquired and the sensing data are exchanged among the monitoring terminals, and the phenomenon that the sensing data acquired by different monitoring terminals form data islands is avoided, and the data interaction between the monitoring terminals is promoted, and the data use efficiency is effectively improved.
Drawings
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for transmitting sensor data;
FIG. 2 is a schematic flow chart illustrating a method for transmitting sensor data according to an embodiment;
FIG. 3 is a block diagram of a device for transmitting sensor data according to an embodiment;
FIG. 4 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 sensing data transmission method provided by the application can be applied to the application environment shown in fig. 1. In the application environment, the system can comprise an intelligent gateway 101 and a monitoring terminal 102, wherein the intelligent gateway 101 can be implemented by an independent server or a server cluster consisting of a plurality of servers, a pre-developed micro application 103 is configured in the intelligent gateway, and the micro application 103 can communicate with the monitoring terminal 102; 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 method for transmitting sensing data is provided, which is described by taking as an example that the method is applied to a pre-configured micro application in an intelligent gateway in fig. 1, and includes the following steps:
step 201, when first sensing data collected by a plurality of monitoring terminals is received, acquiring a data format mapping relation corresponding to each monitoring terminal.
As an example, the monitoring terminal may be configured to monitor the power grid device and obtain corresponding first sensing data, and specifically, the monitoring terminal may monitor an operation state of the power grid device and obtain the corresponding first sensing data based on the operation state corresponding to the power grid device. In one 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 sensory data may include voltage data, current data, image data, microclimate data, inclination angle data, tension data, temperature data, and the like.
The first sensing data collected by each monitoring terminal respectively corresponds to different first data formats, and specifically, the data formats used by the plurality of monitoring terminals are different due to differences in models or manufacturers of the plurality of monitoring terminals, so that the first sensing data collected by each monitoring terminal can respectively correspond to different first data formats, and the first data format can be an original data format used by the monitoring terminal.
In practical application, the intelligent gateway can be communicated with a plurality of monitoring terminals and acquires first sensing data currently acquired by each monitoring terminal. Because the data formats adopted by each monitoring terminal are different, when the first data format needs to be converted into the specified data format, the corresponding data format mapping relations are different, and therefore, after the plurality of first sensing data are obtained, the data format mapping relation corresponding to each monitoring terminal in the plurality of monitoring terminals can be obtained.
Step 202, converting each first sensing data into second sensing data with a second data format by using the data format mapping relationship to obtain a plurality of second sensing data.
The second data format may be a standard data format preset in the intelligent gateway, and each type of sensing data may have a corresponding second data format.
After the data format mapping relationship is obtained, for each first sensing data, the data format mapping relationship corresponding to the first sensing data may be adopted to convert the first sensing data into second sensing data with a second data format, and a plurality of second sensing data may be obtained by performing format conversion on a plurality of first sensing data. By converting the first sensing data into the second sensing data, the private protocol of the monitoring terminal can be mapped to a data standard preset in the intelligent gateway.
Step 203, storing a plurality of second sensing data, and converting the data format of the target second sensing data into the first data format corresponding to the target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data.
As an example, the target monitoring terminal may be a monitoring terminal that sends a data acquisition request.
After obtaining the plurality of second sensing data, the micro-application may store the current plurality of sensing data. The monitoring terminal can acquire first sensing data acquired by other monitoring terminals while uploading the first sensing data.
Specifically, the monitoring terminal may send a data acquisition request for the target second sensing data to the micro application in the intelligent gateway, and when receiving the data acquisition request, the micro application may determine the monitoring terminal that sent the data acquisition request as the target monitoring terminal, determine a data format mapping relationship corresponding to the target monitoring terminal, further call a data interface preset in the intelligent gateway, acquire the target second sensing data, and convert the data format of the target second sensing data into the first data format corresponding to the target monitoring terminal.
Step 204, the converted target second sensing data is sent to the target monitoring terminal.
After the format conversion is performed on the target second sensing data, the converted target second sensing data may be sent to the target monitoring terminal.
In this embodiment, the micro application in the intelligent gateway may obtain a data format mapping relationship corresponding to each monitoring terminal when receiving first sensing data acquired by a plurality of monitoring terminals, convert each first sensing data into second sensing data having a second data format by using the data format mapping relationship, obtain and store a plurality of second sensing data, further convert the data format of the target second sensing data into the first data format corresponding to the target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data, send the converted target second sensing data to the target monitoring terminal, can acquire sensing data from different monitoring terminals and exchange the sensing data among the monitoring terminals, thereby avoiding that the sensing data acquired by different monitoring terminals form isolated islands, and the data interaction between the monitoring terminals is promoted, and the data use efficiency is effectively improved.
In one embodiment, the storing the plurality of second sensing data includes:
acquiring data classification standards corresponding to a plurality of second sensing data; classifying the plurality of second sensing data according to the data classification standard to obtain a plurality of data categories; and carrying out deduplication processing on the plurality of second sensing data under the same data category, and storing the plurality of deduplicated data categories.
As an example, the data classification criteria may include classification by acquisition time, classification by type of sensing data corresponding to the second sensing data, classification by type of monitored grid equipment, and classification by area of the corresponding grid equipment. For example, when classified by sensing data type, the currently received plurality of second sensing data for describing the voltage, current and microclimate information of the power grid equipment may be classified into second sensing data corresponding to the voltage, second sensing data corresponding to the current and sensing data corresponding to the microclimate.
In practical application, after the plurality of second sensing data are acquired, the data classification standard preset for the plurality of second sensing data may be acquired, and the plurality of second sensing data are classified according to the data classification standard to obtain a plurality of data categories. According to the multiple second sensing data under the same data category, the multiple second sensing data under the data category can be subjected to duplicate removal processing, data redundancy is avoided, the multiple data categories after duplicate removal can be stored, and the multiple second sensing data can be stored in a classified mode.
In this embodiment, by obtaining the data classification standard corresponding to the plurality of second sensing data, classifying the plurality of second sensing data according to the data classification standard to obtain a plurality of data categories, performing deduplication processing on the plurality of second sensing data under the same data category, and storing the plurality of data categories after deduplication, classification storage of the second sensing data in the intelligent gateway is realized, and data redundancy can be avoided while summarizing the plurality of second sensing data to facilitate data processing.
In one embodiment, the storing the deduplicated plurality of data categories may include the steps of:
determining a target interface used for storing sensing data in the intelligent gateway; and calling the target interface, and storing the multiple data types after the duplication removal into a database of the intelligent gateway.
In a specific implementation, different data interfaces, such as a model interaction processing interface, an equipment interaction processing interface, a data interaction processing interface, a parameter interaction processing interface, and the like, may be respectively set in the intelligent gateway in advance for different data processing tasks, so as to assist the intelligent gateway in classifying and processing different storage requirements.
After the second sensing data under the same data category is deduplicated, the micro application may determine a target interface for storing the sensing data from a plurality of interfaces provided by the intelligent gateway, and may further call the target interface, and store the deduplicated plurality of data categories in a database of the intelligent gateway based on a data processing specification corresponding to the target interface, for example, a request in a specified format may be generated according to the target interface and sent to a data processing center of the intelligent gateway, and when the intelligent gateway responds to the request, the micro application may store the plurality of data categories in the database.
In this embodiment, the micro application determines a target interface used for storing sensing data in the intelligent gateway, calls the target interface, and stores the multiple data types after duplication removal in the database of the intelligent gateway, so that data interaction and butt joint among the intelligent gateway, the micro application and the monitoring terminal can be quickly realized by calling the corresponding interface on the basis of keeping the original configuration of the intelligent gateway, and the data processing efficiency is improved.
In one embodiment, the determining a target interface for storing sensing data in the intelligent gateway may include the following steps:
acquiring a plurality of candidate interfaces used for storing sensing data in the intelligent gateway; and when the second sensing data is real-time data, determining the candidate interface for storing the real-time data as a target interface.
As an example, the plurality of candidate interfaces are respectively used for storing frozen data and real-time data, wherein the frozen data can be historical data, and the real-time data can be data collected in real time. For example, the interface of the type of "data active reporting" may be further divided into four different types of candidate interfaces, namely "real-time data writing", "real-time data writing response", "frozen data writing", and "frozen data writing response".
In a specific implementation, when the micro application intends to store the sensing data, a plurality of candidate interfaces for storing the frozen data and the real-time data in the intelligent gateway can be determined, and whether the second sensing data in each data category is the real-time data or not is identified. When the second sensing data is real-time data, the candidate interface for storing the real-time data can be determined as a target interface, and then the second sensing data in the category can be stored in the intelligent gateway based on the data processing specification corresponding to the interface for storing the real data.
In this embodiment, a plurality of candidate interfaces for storing the sensing data in the intelligent gateway may be obtained, and when the second sensing data is the real-time data, the candidate interface for storing the real-time data is determined as the target interface, so that the matched interface can be determined quickly, and the data processing efficiency is improved.
In an embodiment, before the converting, by using the data format mapping relationship, each of the first sensing data into the second sensing data having the second data format, the method may further include the following steps:
for each monitoring terminal, judging whether a first data format corresponding to the monitoring terminal is matched with a second data format; if yes, determining the first sensing data as second sensing data; and if not, executing the step of converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation.
In a specific implementation, due to differences between manufacturers or terminal models corresponding to each monitoring terminal, a data format used by the monitoring terminal may not match a standard data format preset in an intelligent gateway, or may not match the standard data format, for example, a monitoring terminal produced by a part of manufacturers has been preset to perform data description according to a second data format.
Based on this, for each monitoring terminal, it may be determined whether the first data format corresponding to the monitoring terminal matches the second data format, for example, whether the first data format of the monitoring terminal is the same as the second data format, and if so, the first sensing data may be directly determined as the second sensing data. If not, the step of converting each first sensing data into second sensing data with a second data format by adopting a data format mapping relation can be further executed.
In this embodiment, by determining whether the first data format corresponding to the monitoring terminal is matched with the second data format, the first sensing data can be directly determined as the second sensing data when the first data format is matched with the second data format, so that the acquisition efficiency of the second sensing data is improved.
In one embodiment, the storing the plurality of second sensing data may include:
determining a terminal identifier corresponding to each monitoring terminal, and associating each second sensing data with the terminal identifier corresponding to the monitoring terminal; and storing the plurality of associated second sensing data and terminal identifications into a database of the intelligent gateway.
In practical application, each monitoring terminal can be preconfigured with a terminal identifier of an object, after a plurality of second sensing data corresponding to the monitoring terminal are obtained, the terminal identifier corresponding to each monitoring terminal can be determined, each second sensing data can be associated with the terminal identifier corresponding to the monitoring terminal, and the associated plurality of second sensing data and the associated terminal identifiers are stored in a database of the intelligent gateway together, so that the second sensing data corresponding to the specified monitoring terminal can be quickly retrieved from the database in the subsequent process of obtaining the second sensing data corresponding to the specified monitoring terminal.
In one embodiment, the method may further comprise the steps of:
acquiring equipment attribute information and a first data format corresponding to each monitoring terminal, and sending the equipment attribute information and the first data format to an intelligent gateway so as to trigger the intelligent gateway to register the monitoring terminals based on the equipment attribute information and the first data format; and receiving the terminal identification distributed by the intelligent gateway aiming at the registered monitoring terminal to obtain the terminal identification corresponding to each monitoring terminal.
As an example, the device attribute information may be information characterizing the monitoring terminal, such as a device manufacturer, a device model, a device operating parameter, and the like. In another example, the micro-application may also obtain the type of service provided by the monitoring terminal.
In practical application, the micro application may send an equipment information acquisition request to the multiple monitoring terminals, and in response to the equipment information acquisition request, the monitoring terminals may return the corresponding equipment attribute information and the first data format to the micro application, so that the micro application may obtain the equipment attribute information and the first data format corresponding to the multiple monitoring terminals, and send the equipment attribute information and the first data format to a data processing center of the intelligent gateway, for example, a preset model interaction interface may be called, and the intelligent gateway may be triggered to allocate a terminal identifier. After receiving the device attribute information and the first data format, the intelligent gateway may register each monitoring terminal based on the device attribute information and the first data format, and allocate a corresponding terminal identifier to the registered monitoring terminal.
After the terminal identifiers are distributed, the intelligent gateway can return the terminal identifiers corresponding to the monitoring terminals to the micro-applications, and then the micro-applications can obtain the terminal identifiers corresponding to the monitoring terminals.
In this embodiment, the micro application sends the device attribute information and the first data format to the intelligent gateway, triggers the intelligent gateway to register the monitoring terminals based on the device attribute information and the first data format, and then can receive the terminal identifiers allocated by the intelligent gateway to the registered monitoring terminals, so as to obtain the terminal identifiers corresponding to the monitoring terminals, and provide a basis for the subsequent associated storage of the second sensing data and the terminal identifiers.
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. 3, there is provided a sensing data transmission apparatus for a micro application in an intelligent gateway, the apparatus including:
the mapping relationship obtaining module 301 is configured to obtain a data format mapping relationship corresponding to each monitoring terminal when first sensing data collected by a plurality of monitoring terminals is received; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
a format conversion module 302, configured to convert each first sensing data into second sensing data having a second data format by using the data format mapping relationship, so as to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
the storage module 303 is configured to store a plurality of second sensing data, and when a data acquisition request of a target monitoring terminal for the target second sensing data is received, convert a data format of the target second sensing data into a first data format corresponding to the target monitoring terminal;
a data sending module 304, configured to send the converted target second sensing data to the target monitoring terminal.
In one embodiment, the storage module 303 includes:
the classification standard determining submodule is used for acquiring data classification standards corresponding to the plurality of second sensing data;
the classification submodule is used for classifying the second sensing data according to the data classification standard to obtain a plurality of data categories;
and the duplication removing sub-module is used for carrying out duplication removing processing on the plurality of second sensing data under the same data type and storing the plurality of data types after duplication removing.
In one embodiment, the deduplication sub-module comprises:
the target interface determining unit is used for determining a target interface which is used for storing the sensing data in the intelligent gateway;
and the target interface calling unit is used for calling the target interface and storing the multiple data types after the duplication removal into a database of the intelligent gateway.
In one embodiment, the target interface determining unit includes:
the candidate interface determining subunit is used for acquiring a plurality of candidate interfaces used for storing sensing data in the intelligent gateway; the candidate interfaces are respectively used for storing frozen data and real-time data;
and the target interface screening subunit is used for determining the candidate interface for storing the real-time data as the target interface when the second sensing data is the real-time data.
In one embodiment, the apparatus further comprises:
the judging module is used for judging whether a first data format corresponding to each monitoring terminal is matched with a second data format or not; if yes, calling a second sensing data determination module, and if not, calling a format conversion module 302;
and the second sensing data determination module is used for determining the first sensing data as second sensing data.
In one embodiment, the storage module 303 includes:
the association submodule is used for determining a terminal identifier corresponding to each monitoring terminal and associating each second sensing data with the terminal identifier corresponding to the monitoring terminal;
and the associated data storage submodule is used for storing the associated second sensing data and the terminal identification into a database of the intelligent gateway.
In one embodiment, the apparatus further comprises:
the registration module is used for acquiring the equipment attribute information and the first data format corresponding to each monitoring terminal and sending the equipment attribute information and the first data format to the intelligent gateway so as to trigger the intelligent gateway to register the monitoring terminals based on the equipment attribute information and the first data format;
and the identification distribution module is used for receiving the terminal identification distributed by the intelligent gateway aiming at the registered monitoring terminals to obtain the terminal identification corresponding to each monitoring terminal.
For the specific definition of the transmission device of the sensing data, reference may be made to the above definition of the transmission method of the sensing data, and details are not repeated here. The modules in the above-mentioned transmission device for sensing data 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. 4. 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 the sensing 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 transmitting sensed data.
Those skilled in the art will appreciate that the architecture shown in fig. 4 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:
when first sensing data collected by a plurality of monitoring terminals are received, acquiring a data format mapping relation corresponding to each monitoring terminal; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
storing a plurality of second sensing data, and converting the data format of the target second sensing data into a first data format corresponding to a target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data;
and sending the converted target second sensing data to the target monitoring terminal.
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:
when first sensing data collected by a plurality of monitoring terminals are received, acquiring a data format mapping relation corresponding to each monitoring terminal; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
storing a plurality of second sensing data, and converting the data format of the target second sensing data into a first data format corresponding to a target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data;
and sending the converted target second sensing data to the target monitoring terminal.
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 method for transmitting sensor data, wherein the method is applied to a micro application in an intelligent gateway, the method comprising:
when first sensing data collected by a plurality of monitoring terminals are received, acquiring a data format mapping relation corresponding to each monitoring terminal; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
storing a plurality of second sensing data, and converting the data format of the target second sensing data into a first data format corresponding to a target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data;
and sending the converted target second sensing data to the target monitoring terminal.
2. The method of claim 1, wherein storing the plurality of second sensory data comprises:
acquiring data classification standards corresponding to a plurality of second sensing data;
classifying the plurality of second sensing data according to the data classification standard to obtain a plurality of data categories;
and carrying out deduplication processing on the plurality of second sensing data under the same data category, and storing the plurality of deduplicated data categories.
3. The method of claim 2, wherein storing the deduplicated plurality of data categories comprises:
determining a target interface used for storing sensing data in the intelligent gateway;
and calling the target interface, and storing the multiple data types after the duplication removal into a database of the intelligent gateway.
4. The method of claim 3, wherein determining the target interface for storing the sensing data in the intelligent gateway comprises:
acquiring a plurality of candidate interfaces used for storing sensing data in the intelligent gateway; the candidate interfaces are respectively used for storing frozen data and real-time data;
and when the second sensing data is real-time data, determining the candidate interface for storing the real-time data as a target interface.
5. The method according to claim 1, further comprising, before said converting each first sensing data into a second sensing data having a second data format using said data format mapping relationship:
for each monitoring terminal, judging whether a first data format corresponding to the monitoring terminal is matched with a second data format;
if yes, determining the first sensing data as second sensing data;
and if not, executing the step of converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation.
6. The method of claim 1, wherein storing the plurality of second sensory data comprises:
determining a terminal identifier corresponding to each monitoring terminal, and associating each second sensing data with the terminal identifier corresponding to the monitoring terminal;
and storing the plurality of associated second sensing data and terminal identifications into a database of the intelligent gateway.
7. The method of claim 6, further comprising:
acquiring equipment attribute information and a first data format corresponding to each monitoring terminal, and sending the equipment attribute information and the first data format to an intelligent gateway so as to trigger the intelligent gateway to register the monitoring terminals based on the equipment attribute information and the first data format;
and receiving the terminal identification distributed by the intelligent gateway aiming at the registered monitoring terminal to obtain the terminal identification corresponding to each monitoring terminal.
8. A device for transmitting sensor data, the device being adapted for micro-applications in an intelligent gateway, the device comprising:
the mapping relation obtaining module is used for obtaining a data format mapping relation corresponding to each monitoring terminal when first sensing data collected by a plurality of monitoring terminals are received; the monitoring terminals are used for monitoring the power grid equipment and acquiring corresponding first sensing data, and the first sensing data acquired by each monitoring terminal correspond to different first data formats respectively;
the format conversion module is used for converting each first sensing data into second sensing data with a second data format by adopting the data format mapping relation to obtain a plurality of second sensing data; the second data format is a standard data format preset in the intelligent gateway;
the storage module is used for storing a plurality of second sensing data and converting the data format of the target second sensing data into a first data format corresponding to the target monitoring terminal when receiving a data acquisition request of the target monitoring terminal for the target second sensing data;
and the data sending module is used for sending the converted target second sensing data to the target monitoring terminal.
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.
CN202111307171.5A 2021-11-05 2021-11-05 Sensing data transmission method and device, computer equipment and storage medium Pending CN114257977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111307171.5A CN114257977A (en) 2021-11-05 2021-11-05 Sensing data transmission method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111307171.5A CN114257977A (en) 2021-11-05 2021-11-05 Sensing data transmission method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114257977A true CN114257977A (en) 2022-03-29

Family

ID=80790538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111307171.5A Pending CN114257977A (en) 2021-11-05 2021-11-05 Sensing data transmission method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114257977A (en)

Similar Documents

Publication Publication Date Title
CN110445637B (en) Event monitoring method, system, computer device and storage medium
CN111208748B (en) Linkage control method and system based on Internet of things and computer equipment
CN112114533A (en) Internet of things data processing method and device, computer equipment and storage medium
CN111414416A (en) Data processing method, device, equipment and storage medium
CN106502874A (en) A kind of call chain tracking
CN103297306B (en) A kind of agriculture Internet of things system
WO2021114816A1 (en) Method and device for message processing based on robot operating system, and computer device
CN113285926B (en) Honey pot trapping method and device for power monitoring system and computer equipment
CN112347105B (en) General data service platform based on resource tree
CN114980302A (en) Equipment access method, equipment management method, system and computer equipment
CN113810492A (en) Data point table generation method and device based on intelligent gateway and computer equipment
CN110248156B (en) Video analysis method, platform equipment, intelligent camera and intelligent monitoring system
CN113794282A (en) Data processing method and device based on intelligent gateway and computer equipment
CN109218131B (en) Network monitoring method and device, computer equipment and storage medium
CN114138501A (en) Processing method and device for edge intelligent service for field safety monitoring
CN114257977A (en) Sensing data transmission method and device, computer equipment and storage medium
JP6566070B1 (en) Flow management server, flow management system, flow management method, and flow management program
CN112039936A (en) Data transmission method, first data processing equipment and monitoring system
CN103634148A (en) Method, server and system for configuring sensor
CN113784235B (en) Cable current-carrying capacity monitoring system, method, device, gateway equipment and storage medium
CN114243914B (en) Power monitoring system
CN114115008A (en) 5G network-based power equipment operation data transmission method and system
CN111522642A (en) Method for acquiring state monitoring data of wind turbine generator, query method and electronic equipment
CN114782445B (en) Object defect detection method and device, computer equipment and storage medium
CN113784306B (en) Sensing data acquisition method, sensing data acquisition device, computer 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
TA01 Transfer of patent application right

Effective date of registration: 20230410

Address after: Full Floor 14, Unit 3, Building 2, No. 11, Middle Spectra Road, Huangpu District, Guangzhou, Guangdong 510700

Applicant after: China Southern Power Grid Digital Grid Technology (Guangdong) 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