A power distribution station sensing system based on Hongmeng system

By adopting the distributed technology of Hongmeng system in the distribution station perception system, equipment self-discovery and self-organizing network are realized, which solves the problems of many types of equipment and complex protocols, improves the reliability and security of the system, and reduces the development time. and operation and maintenance costs.

CN118301190BActive Publication Date: 2024-09-20NANJING ZHENGTU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410468036.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-09-20
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

The existing distribution station building sensing system has many types of terminal equipment and complex and inconsistent protocols, which results in a lot of preparation work for on-site debugging, long networking time, and difficulty in finding communication problems, which limits the promotion of the technology. The communication security between them is insufficient.

Method used

Adopt a power distribution station perception system based on Hongmeng system, realize self-discovery, self-organizing network and collaborative work of equipment through distributed soft bus technology, distributed scheduling technology and distributed calling technology, combined with high-performance gateway machines and sensors , camera, achieving the characteristics of plug-and-play, low power consumption, low latency, high performance, high security and high reliability.

Benefits of technology

It solves the problems of equipment self-organizing network and communication security, improves the reliability, security and implementation efficiency of the distribution station sensing system, and reduces development and operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118301190B
    Figure CN118301190B
Patent Text Reader

Abstract

The present invention discloses a distribution station room perception system based on Hongmeng system, which includes a gateway machine D, several sensors A, several controllers B, several cameras C and a PC E; the gateway machine D, sensor A and controller B form a wireless network through a RoLa module, the gateway machine D, camera C and PC E form a wired network through Ethernet, and the wireless network and the wired network are bridged by the gateway machine to form a station-side local communication network of the perception system; each device is installed with Hongmeng system, and through the distributed soft bus technology, distributed scheduling technology and distributed calling technology of Hongmeng system, self-discovery, self-organizing networking, seamless connection and collaborative work of devices in the perception system are realized, so that the perception system has the characteristics of plug-and-play, low power consumption, low latency, high performance, high security and high reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a distribution station sensing system based on Hongmeng system, which belongs to the application technology of electric power Internet of Things. Background Art

[0002] With the rapid development of economy and electric power industry, the number of power facilities and distribution stations closely related to people's work and life is increasing, which has brought great convenience to people's electricity use. Since power distribution equipment is extremely important for people's stable power use, operation and maintenance personnel need to perform regular maintenance, but there are many distribution stations, many types of distribution equipment and complex structures, which are prone to inadequate maintenance, easily leading to power outages, personal accidents and property losses. Therefore, in recent years, there have been perception systems for distribution station environment monitoring and control and equipment online monitoring based on cloud-pipe-edge-end Internet of Things technology. However, in the specific implementation process, due to the large number of terminal equipment, complex and non-uniform protocols, it will lead to a lot of on-site debugging preparation work, long networking time, and difficulty in finding communication problems, which limits the promotion of this technology. Summary of the invention

[0003] Purpose of the invention: In order to overcome the shortcomings of the prior art, the present invention provides a distribution station room perception system based on the Hongmeng system. Through the distributed soft bus technology, distributed scheduling technology and distributed calling technology of the Hongmeng system, the self-discovery, self-organizing network, seamless connection and collaborative work of the devices in the perception system are realized. It has the characteristics of plug-and-play, low power consumption, low latency, high performance, high security and high reliability, and can ensure the security of communication between the gateway and each device.

[0004] Technical solution: To achieve the above purpose, the technical solution adopted by the present invention is:

[0005] A distribution station perception system based on Hongmeng system, the perception system includes a gateway machine D, several sensors A, several controllers B, several cameras C and a PC E; the gateway machine D, sensor A and controller B form a wireless network through RoLa modules, the gateway machine D, camera C and PC E form a wired network through Ethernet, and the wireless network and the wired network are bridged by the gateway machine to form a station-side local communication network of the perception system; each device is installed with Hongmeng system (HarmonyOS system), and through the distributed soft bus technology, distributed scheduling technology and distributed calling technology of Hongmeng system, the self-discovery, self-networking, seamless connection and collaborative work of the devices in the perception system are realized, so that the perception system has the characteristics of plug-and-play, low power consumption, low latency, high performance, high security and high reliability.

[0006] Specifically, the CPU of the gateway machine D is an 8-core processor with a main frequency of not less than 2.4 GHz, and is equipped with an NPU with 8T computing power, 4G memory and 2T storage capacity to meet the data access and data processing of multiple sensors, controllers, cameras and other devices, meet the data interaction with the cloud platform, and meet the implementation of local video AI algorithms; the gateway machine D has at least RoLa wireless communication interface, Ethernet communication interface and RS485 communication interface to realize data interaction with each communication interface device.

[0007] Specifically, the gateway machine D adopts a technically controllable domestic distributed Hongmeng system suitable for the Internet of Things. The kernel subsystem adopts the Linux system to quickly adapt to currently mature applications, including video AI applications, control applications, event applications, configuration applications and edge framework applications; the video AI application realizes artificial intelligence functions including personnel behavior recognition, personnel safety recognition and equipment safety recognition based on the video data collected by the camera C; the control application uses the set control logic to control the temperature, humidity and water level of the air-conditioning controller, fan controller and water pump controller according to the environmental data including temperature, humidity and water level collected by the sensor A, so as to ensure the safe operating environment of the distribution station; the event application generates an alarm event when the collected data of the sensor A exceeds the limit and the abnormal result recognized by the video AI application; the configuration application performs parameter configuration on the gateway machine D, sensor A, controller B and camera C; the edge framework application is used to realize data interaction with the cloud platform; the control application of the gateway machine D includes temperature and humidity value update function, air-conditioning switch status update function and air-conditioning parameter update function, and the configuration application of the gateway machine D includes configuration table acquisition function and configuration table modification function.

[0008] Specifically, the sensor A is a temperature and humidity sensor, an SF6 gas sensor, a water level sensor or a partial discharge sensor, and the controller B is an air conditioning controller, a fan controller or a water pump controller; all sensors A and controller B adopt a technically controllable domestic distributed Hongmeng system suitable for the Internet of Things, and the kernel subsystem adopts a LiteOS system suitable for lightweight devices. Sensors A and controllers B selectively configure acquisition applications, control applications, event applications, configuration applications and display applications according to functional needs; the acquisition application is used to realize corresponding data acquisition; the control application performs corresponding operation control according to the logical requirements of the gateway machine D; the event application generates alarm events for collected data exceeding the limit and control abnormalities; the configuration application is used to realize parameter configuration including communication parameters and alarm parameters; the display application is used to realize visual display of data acquisition or function control, which is convenient for local viewing; the control application of the controller B includes air conditioning on / off function and air conditioning parameter modification function.

[0009] Specifically, the sensor A is a temperature and humidity sensor, and its data collection and transmission process includes the following steps:

[0010] A1: The sampling timer triggers the LiteOS system to run. The sampling time interval of the sampling timer is set by the configuration application of sensor A and is modified by gateway D or PC E through distributed soft bus technology and distributed call technology; go to step A2;

[0011] A2: The LiteOS system exits the sleep state and starts executing the sampling application of sensor A; then proceeds to step A3;

[0012] A3: The sampling application of sensor A reads the temperature and humidity values ​​of the temperature and humidity sensor chip, makes a reasonable judgment and smoothes the sampled data, generates a temperature and humidity update instruction, and realizes local viewing through the display application of sensor A; at the same time, sensor A compares the temperature and humidity values ​​with the alarm threshold value. If the data exceeds the alarm threshold value, the event application of sensor A generates an alarm event; then proceeds to step A4;

[0013] A4: Sensor A compares the temperature value and humidity value with the data update threshold value: if the update threshold requirement is met, proceed to step A6; otherwise, proceed to step A5;

[0014] A5: Sensor A determines whether the update time interval has been reached: if so, proceed to step A6; otherwise, proceed to step A7;

[0015] A6: Sensor A calls the temperature and humidity value update function of gateway D in a distributed manner, that is, the Hongmeng system sends the temperature and humidity value update instruction to gateway D through the distributed bus technology; at the same time, after receiving the temperature and humidity value update instruction, gateway D runs the temperature and humidity value update function and stores the latest temperature and humidity values ​​of sensor A into the real-time database of gateway D; proceed to step A7;

[0016] A7: The LiteOS system enters sleep mode to reduce energy consumption for the battery-powered sensor A and wait for the next sampling time.

[0017] Specifically, the controller B is an air conditioner controller, and its data collection, control and transmission process includes the following steps:

[0018] B1: The sampling timer triggers the LiteOS system to run. The sampling time interval of the sampling timer is set by the configuration application of the controller B and is modified by the gateway D or the PC E through the distributed soft bus technology and the distributed call technology; go to step B2;

[0019] B2: The acquisition application of controller B reads the temperature and humidity values ​​of the temperature and humidity sensor chip, and performs rationality judgment and smoothing on the sampled data to generate a temperature and humidity update instruction; at the same time, controller B compares the temperature and humidity values ​​with the alarm threshold. If the data exceeds the alarm threshold, the event application of controller B generates an alarm event; then proceed to step B3;

[0020] B3: Controller B compares the temperature value and the humidity value to update the threshold value: if the update condition is met, it goes to step B5; otherwise, it goes to step B4;

[0021] B4: Controller B determines whether the update time interval has been reached: if reached, proceed to step B5; otherwise, proceed to step B6;

[0022] B5: Controller B calls the temperature and humidity value update function of gateway D in a distributed manner, that is, the Hongmeng system sends the temperature and humidity value update instruction to gateway D through the distributed bus technology; after receiving the temperature and humidity value update instruction, gateway D runs the temperature and humidity value update function and stores the latest temperature and humidity values ​​of controller B in the real-time database of gateway D; proceed to step B6;

[0023] B6: Monitor whether the gateway machine D receives the air conditioner on / off command from the cloud platform or the local machine: if received, proceed to step B7; otherwise, proceed to step B8;

[0024] B7: Gateway D calls the air conditioner on / off function of controller B in a distributed manner, i.e., sends the air conditioner on / off instruction to controller B through the Hongmeng system distributed bus technology; after receiving the air conditioner on / off instruction, controller B runs the air conditioner on / off function, updates the air conditioner on / off status, and generates an air conditioner on / off status update instruction; then proceeds to step B8;

[0025] B8: Controller B calls the air conditioner on / off status update function of gateway D in a distributed manner, that is, the Hongmeng system sends the air conditioner on / off status update instruction to gateway D through the distributed bus technology; after receiving the air conditioner on / off status update instruction, gateway D runs the air conditioner on / off status update function and stores the latest air conditioner on / off status of controller B into the real-time database of gateway D; proceed to step B9;

[0026] B9: Monitor whether the gateway machine D receives the air conditioning parameter modification instruction from the cloud platform or the local: if it does, proceed to step B10; otherwise, the process ends;

[0027] B10: Gateway machine D calls the air conditioning parameter modification function of controller B in a distributed manner, i.e., sends the air conditioning parameter modification instruction to controller B through the Hongmeng system distributed bus technology; after receiving the air conditioning parameter modification instruction, controller B runs the air conditioning parameter modification function and generates an air conditioning parameter update instruction; then proceeds to step B11;

[0028] B11: Controller B calls the air-conditioning parameter update function of gateway D in a distributed manner. That is, the Hongmeng system sends the air-conditioning parameter update instruction to gateway D through distributed bus technology. After receiving the air-conditioning parameter update instruction, gateway D runs the air-conditioning parameter update function and stores the latest air-conditioning parameters of controller B into the real-time database of gateway D. The process ends.

[0029] Specifically, the camera C adopts a technically controllable domestically produced distributed Hongmeng system suitable for the Internet of Things. The kernel subsystem adopts the Linux system to quickly adapt to currently mature applications. The applications include acquisition applications, control applications, event applications, and configuration applications. The acquisition application is used to realize the acquisition, processing and output of video data; the control application controls the pan-tilt movement according to the real-time instructions or configuration parameters of the gateway machine D; the event application generates alarm events for various abnormal conditions; the configuration application is used to realize parameter configuration including preset positions and bit streams; the control application of the camera C includes video transmission functions and video control functions.

[0030] Specifically, the data collection, control and transmission process of the camera C includes the following steps:

[0031] C1: The sampling application of camera C collects video data in real time; proceed to step C2;

[0032] C2: Monitor whether the gateway machine D receives the video acquisition instruction from the cloud platform or the local: if it does, go to step C3; otherwise, go to step C4;

[0033] C3: Gateway machine D calls the video transmission function of camera C in a distributed manner, i.e., sends the video acquisition instruction to camera C through the distributed bus technology of the Hongmeng system; after receiving the video acquisition instruction, camera C runs the video transmission function, processes the video data according to the preset video parameters, and outputs the video data; then proceeds to step C4;

[0034] C4: Monitor whether the gateway machine D receives the video control command from the cloud platform or the local: if it does, go to step C5; otherwise, the process ends;

[0035] C5: Gateway machine D calls the video control function of camera C in a distributed manner, that is, sends the video control instruction to camera C through the Hongmeng system distributed bus technology; after receiving the video control instruction, camera C runs the video control function to control the movement of the pan / tilt head or modify the configuration parameters; and ends the process.

[0036] Specifically, the PC E adopts a technically controllable domestically produced distributed Hongmeng system suitable for the Internet of Things. The kernel subsystem adopts the Linux system to quickly adapt to currently mature applications. The applications include display applications, control applications, event applications, and configuration applications. The display application is used to display relevant data of each device; the control application is used to implement operational control of the controller B and the camera C; the event application is used to obtain alarm events of each device; the configuration application is used to read, modify and distribute configuration parameters of each device.

[0037] Specifically, the gateway configuration process of the PC E includes the following steps:

[0038] E1: PC E generates a configuration table to obtain instructions by configuring the application program; proceed to step E2;

[0039] E2: PC E calls the configuration table acquisition function of gateway D in a distributed manner, i.e., sends the configuration table acquisition instruction to gateway D through the Hongmeng system distributed bus technology; after receiving the configuration table acquisition instruction, gateway D runs the configuration table acquisition function and uploads the configuration table information of gateway D to PC E; then proceeds to step E3;

[0040] E3: Display the configuration table information of gateway D through the display application of PC E; go to step E4;

[0041] E4: Modify the configuration table information of the gateway D through the configuration application of the PC E, and generate a configuration table modification instruction; proceed to step E5;

[0042] E5: PC E calls the configuration table modification function of gateway D in a distributed manner, that is, sends the configuration table modification instruction and the modified gateway D configuration table information to gateway D through the Hongmeng system distributed bus technology; gateway D runs the configuration table modification function according to the received or local configuration table modification instruction and the modified gateway D configuration table information, and updates the gateway D configuration table.

[0043] Beneficial effects: The distribution station perception system based on the Hongmeng system provided by the present invention applies the Hongmeng system to perform software design of gateway machines and various devices in the distribution station perception system, realizes self-discovery, self-networking, seamless connection and collaborative work of equipment in the perception system, and has the characteristics of plug-and-play, low power consumption, low latency, high performance, high security and high reliability. It well solves the problems of the current distribution station perception system in the implementation process, such as a lot of on-site debugging preparation work, long networking time, and difficulty in finding communication problems due to the large variety of terminal devices, complex and non-uniform protocols. At the same time, it also solves the security problem of communication between gateway machines and terminal devices, improves the reliability, security and implementation efficiency of the distribution station perception system, and reduces the development cost and operation and maintenance cost of the perception system. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of the communication architecture of the system of the present invention;

[0045] Figure 2 A schematic diagram of the application configuration of each device in the system of the present invention;

[0046] Figure 3 This is a schematic diagram of the data acquisition process of sensor A in the present invention;

[0047] Figure 4 Schematic diagram of the control flow of controller B in the present invention;

[0048] Figure 5 It is a video acquisition flow chart of camera C in the present invention;

[0049] Figure 6 It is a schematic diagram of the configuration flow of the PC E in the present invention. DETAILED DESCRIPTION

[0050] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0051] like Figure 1The figure shows a system communication architecture diagram of a distribution station perception system based on the Hongmeng system. The perception system adopts a simple configuration, including a gateway machine D, a temperature and humidity sensor A, an air-conditioning controller B, a camera C and a PC E; the gateway machine D, the temperature and humidity sensor A and the air-conditioning controller B form a wireless network through the RoLa module, the gateway machine D, the camera C and the PC E form a wired network through Ethernet, and the wireless network and the wired network are bridged through the gateway machine to form a local area communication network of the perception system station.

[0052] like Figure 2 The figure shows the application configuration diagram of the above-mentioned Hongmeng system-based power distribution station perception system. Each device is installed with the HarmonyOS system, and the distributed soft bus of the HarmonyOS system is used as the communication base to achieve interconnection and intercommunication. The distributed scheduling technology and distributed calling technology of the HarmonyOS system are used to realize the self-discovery, self-networking, seamless connection and collaborative work of the devices in the perception system, so that the perception system has the characteristics of plug-and-play, low power consumption, low latency, high performance, high security and high reliability. The CPU of the gateway machine D is an 8-core processor with a main frequency of not less than 2.4GHz, equipped with an NPU with 8T computing power, 4G memory and 2T storage capacity to meet the data access and data processing of multiple sensors, controllers, cameras and other devices, meet the data interaction with the cloud platform, and meet the realization of local video AI algorithms; the gateway machine D has at least RoLa wireless communication interface, Ethernet communication interface and RS485 communication interface to realize data interaction with various communication interface devices.

[0053] The gateway machine D adopts a domestic distributed HarmonyOS system that is technically controllable and suitable for the Internet of Things. The kernel subsystem adopts the Linux system to quickly adapt to the current mature applications, such as Figure 2As shown, the application includes video AI.hap, control.hap, event.hap, configuration.hap and edge framework.hap; the video AI.hap realizes artificial intelligence functions including personnel behavior recognition, personnel safety recognition and equipment safety recognition according to the video data collected by camera C; the control.hap uses the set control logic to control the temperature, humidity and water level of the air-conditioning controller, fan controller and water pump controller according to the environmental data including temperature, humidity and water level collected by sensor A, so as to ensure the safe operation environment of the power distribution station; the event.hap generates an alarm event when the collected data of sensor A exceeds the limit and the abnormal result recognized by the video AI.hap; the configuration.hap performs parameter configuration on the gateway D, sensor A, controller B and camera C; the edge framework.hap is used to realize data interaction with the cloud platform; the control.hap of the gateway D contains temperature and humidity value update function, air conditioner on / off state update function and air conditioner parameter update function, and the configuration.hap of the gateway D contains configuration table acquisition function and configuration table modification function.

[0054] The temperature and humidity sensor A and the air conditioning controller B adopt the domestic distributed HarmonyOS system which is technology-controllable and suitable for the Internet of Things, and the kernel subsystem adopts the LiteOS system suitable for lightweight devices, such as Figure 2 As shown, the application programs configured in the temperature and humidity sensor A include acquisition.hap, event.hap, configuration.hap and display.hap, and the application programs configured in the air-conditioning controller B include acquisition.hap, control.hap, event.hap and configuration.hap; the acquisition.hap is used to realize the corresponding data acquisition; the control.hap performs the corresponding operation control according to the logic requirements of the gateway machine D; the event.hap generates an alarm event when the collected data exceeds the limit or the control is abnormal; the configuration.hap is used to realize parameter configuration including communication parameters and alarm parameters; the display.hap is used to realize the visual display of data acquisition or function control, which is convenient for local viewing; the control.hap of the air-conditioning controller B contains the air-conditioning on / off function and the air-conditioning parameter modification function.

[0055] The camera C uses a domestic distributed HarmonyOS system that is technically controllable and suitable for the Internet of Things. The kernel subsystem uses the Linux system to quickly adapt to current mature applications, such as Figure 2As shown, the application includes acquisition.hap, control.hap, event.hap and configuration.hap; the acquisition.hap is used to realize the acquisition, processing and output of video data; the control.hap controls the movement of the pan-tilt head according to the real-time instructions or configuration parameters of the gateway machine D; the event.hap generates alarm events for various abnormal conditions; the configuration.hap is used to realize parameter configuration including preset positions and bit streams; the control.hap of the camera C contains video transmission functions and video control functions.

[0056] The PC E adopts a domestic distributed HarmonyOS system that is technically controllable and suitable for the Internet of Things. The kernel subsystem adopts the Linux system to quickly adapt to the current mature applications, such as Figure 2 As shown, the application includes display.hap, control.hap, event.hap and configuration.hap; the display.hap is used to realize the display of relevant data of various devices; the control.hap is used to realize the operation control of controller B and camera C; the event.hap is used to obtain the alarm events of various devices; the configuration.hap is used to read, modify and send the configuration parameters of various devices.

[0057] like Figure 3 As shown, the data collection and transmission process of the temperature and humidity sensor A is mainly used to realize the collection, processing and transmission of ambient temperature and humidity to the storage function of the gateway machine, including the following steps:

[0058] A1: The sampling timer triggers the LiteOS system to run. The sampling time interval of the sampling timer is set by the configuration application of sensor A and is modified by gateway D or PC E through distributed soft bus technology and distributed call technology; go to step A2;

[0059] A2: The LiteOS system exits the sleep state and starts executing the sampling application of sensor A; then proceeds to step A3;

[0060] A3: The sampling application of sensor A reads the temperature and humidity values ​​of the temperature and humidity sensor chip, makes a reasonable judgment and smoothes the sampled data, generates a temperature and humidity update instruction, and realizes local viewing through the display application of sensor A; at the same time, sensor A compares the temperature and humidity values ​​with the alarm threshold value. If the data exceeds the alarm threshold value, the event application of sensor A generates an alarm event; then proceeds to step A4;

[0061] A4: Sensor A compares the temperature value and humidity value with the data update threshold value: if the update threshold requirement is met, proceed to step A6; otherwise, proceed to step A5;

[0062] A5: Sensor A determines whether the update time interval has been reached: if so, proceed to step A6; otherwise, proceed to step A7;

[0063] A6: Sensor A calls the temperature and humidity value update function of gateway D in a distributed manner, that is, the Hongmeng system sends the temperature and humidity value update instruction to gateway D through the distributed bus technology; at the same time, after receiving the temperature and humidity value update instruction, gateway D runs the temperature and humidity value update function and stores the latest temperature and humidity values ​​of sensor A into the real-time database of gateway D; proceed to step A7;

[0064] A7: The LiteOS system enters sleep mode to reduce energy consumption for the battery-powered sensor A and wait for the next sampling time.

[0065] like Figure 4 As shown, the data collection, control and transmission process of the controller B is mainly used to realize the collection, processing and transmission of ambient temperature and humidity to the storage function of the gateway machine, control the power on and off of the air conditioner and the parameter adjustment function, including the following steps:

[0066] B1: The sampling timer triggers the LiteOS system to run. The sampling time interval of the sampling timer is set by the configuration application of the controller B and is modified by the gateway D or the PC E through the distributed soft bus technology and the distributed call technology; go to step B2;

[0067] B2: The acquisition application of controller B reads the temperature and humidity values ​​of the temperature and humidity sensor chip, and performs rationality judgment and smoothing on the sampled data to generate a temperature and humidity update instruction; at the same time, controller B compares the temperature and humidity values ​​with the alarm threshold. If the data exceeds the alarm threshold, the event application of controller B generates an alarm event; then proceed to step B3;

[0068] B3: Controller B compares the temperature value and the humidity value to update the threshold value: if the update condition is met, it goes to step B5; otherwise, it goes to step B4;

[0069] B4: Controller B determines whether the update time interval has been reached: if reached, proceed to step B5; otherwise, proceed to step B6;

[0070] B5: Controller B calls the temperature and humidity value update function of gateway D in a distributed manner, that is, the Hongmeng system sends the temperature and humidity value update instruction to gateway D through the distributed bus technology; after receiving the temperature and humidity value update instruction, gateway D runs the temperature and humidity value update function and stores the latest temperature and humidity values ​​of controller B in the real-time database of gateway D; proceed to step B6;

[0071] B6: Monitor whether the gateway machine D receives the air conditioner on / off command from the cloud platform or the local machine: if received, proceed to step B7; otherwise, proceed to step B8;

[0072] B7: Gateway D calls the air conditioner on / off function of controller B in a distributed manner, i.e., sends the air conditioner on / off instruction to controller B through the Hongmeng system distributed bus technology; after receiving the air conditioner on / off instruction, controller B runs the air conditioner on / off function, updates the air conditioner on / off status, and generates an air conditioner on / off status update instruction; then proceeds to step B8;

[0073] B8: Controller B calls the air conditioner on / off status update function of gateway D in a distributed manner, that is, the Hongmeng system sends the air conditioner on / off status update instruction to gateway D through the distributed bus technology; after receiving the air conditioner on / off status update instruction, gateway D runs the air conditioner on / off status update function and stores the latest air conditioner on / off status of controller B into the real-time database of gateway D; proceed to step B9;

[0074] B9: Monitor whether the gateway machine D receives the air conditioning parameter modification instruction from the cloud platform or the local: if it does, proceed to step B10; otherwise, the process ends;

[0075] B10: Gateway machine D calls the air conditioning parameter modification function of controller B in a distributed manner, i.e., sends the air conditioning parameter modification instruction to controller B through the Hongmeng system distributed bus technology; after receiving the air conditioning parameter modification instruction, controller B runs the air conditioning parameter modification function and generates an air conditioning parameter update instruction; then proceeds to step B11;

[0076] B11: Controller B calls the air-conditioning parameter update function of gateway D in a distributed manner. That is, the Hongmeng system sends the air-conditioning parameter update instruction to gateway D through distributed bus technology. After receiving the air-conditioning parameter update instruction, gateway D runs the air-conditioning parameter update function and stores the latest air-conditioning parameters of controller B into the real-time database of gateway D. The process ends.

[0077] like Figure 5 As shown, the data acquisition, control and transmission process of the camera C is mainly used to realize the acquisition, processing and output of video data, as well as the control of the pan / tilt motion and the setting of various parameters such as preset position and bit stream, and includes the following steps:

[0078] C1: The sampling application of camera C collects video data in real time; proceed to step C2;

[0079] C2: Monitor whether the gateway machine D receives the video acquisition instruction from the cloud platform or the local: if it does, go to step C3; otherwise, go to step C4;

[0080] C3: Gateway machine D calls the video transmission function of camera C in a distributed manner, i.e., sends the video acquisition instruction to camera C through the distributed bus technology of the Hongmeng system; after receiving the video acquisition instruction, camera C runs the video transmission function, processes the video data according to the preset video parameters, and outputs the video data; then proceeds to step C4;

[0081] C4: Monitor whether the gateway machine D receives the video control command from the cloud platform or the local: if it does, go to step C5; otherwise, the process ends;

[0082] C5: Gateway machine D calls the video control function of camera C in a distributed manner, that is, sends the video control instruction to camera C through the Hongmeng system distributed bus technology; after receiving the video control instruction, camera C runs the video control function to control the movement of the pan / tilt head or modify the configuration parameters; and ends the process.

[0083] like Figure 6 As shown, the gateway configuration process of the PC E is mainly used to read, modify and send the configuration parameters of the gateway, including the following steps:

[0084] E1: PC E generates a configuration table to obtain instructions by configuring the application program; proceed to step E2;

[0085] E2: PC E calls the configuration table acquisition function of gateway D in a distributed manner, i.e., sends the configuration table acquisition instruction to gateway D through the Hongmeng system distributed bus technology; after receiving the configuration table acquisition instruction, gateway D runs the configuration table acquisition function and uploads the configuration table information of gateway D to PC E; then proceeds to step E3;

[0086] E3: Display the configuration table information of gateway D through the display application of PC E; go to step E4;

[0087] E4: Modify the configuration table information of the gateway D through the configuration application of the PC E, and generate a configuration table modification instruction; proceed to step E5;

[0088] E5: PC E calls the configuration table modification function of gateway D in a distributed manner, that is, sends the configuration table modification instruction and the modified gateway D configuration table information to gateway D through the Hongmeng system distributed bus technology; gateway D runs the configuration table modification function according to the received or local configuration table modification instruction and the modified gateway D configuration table information, and updates the gateway D configuration table.

[0089] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the above embodiments do not limit the present invention in any form, and any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.

Claims

1. A power distribution station perception system based on Hongmeng system, which includes a gateway D, a sensor A, a controller B, a camera C and a PC E; characterized in that: Gateway D, sensor A and controller B form a wireless network through the RoLa module, gateway D, camera C and PC E form a wired network through Ethernet, and the wireless network and the wired network are bridged by the gateway to form a local communication network of the perception system station. Each device is installed with Hongmeng system, and the distributed soft bus technology, distributed scheduling technology and distributed calling technology of Hongmeng system are used to realize self-discovery, self-organizing network, seamless connection and collaborative work of devices in the perception system. The sensor A is a temperature and humidity sensor, an SF6 gas sensor, a water level sensor or a partial discharge sensor, and the controller B is an air conditioning controller, a fan controller or a water pump controller; all sensors A and controller B use a distributed Hongmeng system, and the kernel subsystem uses a LiteOS system. Sensors A and controllers B selectively configure acquisition applications, control applications, event applications, configuration applications and display applications according to functional requirements; the acquisition application is used to realize corresponding data acquisition; the control application performs corresponding operation control according to the logical requirements of the gateway machine D; the event application generates alarm events for collected data exceeding the limit and control abnormalities; the configuration application is used to realize parameter configuration including communication parameters and alarm parameters; the display application is used to realize visual display of data acquisition or function control; the control application of the controller B includes an air conditioning on / off function and an air conditioning parameter modification function; The controller B is an air conditioning controller, and its data collection, control and transmission process includes the following steps: B1: The sampling timer triggers the LiteOS system to run. The sampling time interval of the sampling timer is set by the configuration application of the controller B and is modified by the gateway D or the PC E through the distributed soft bus technology and the distributed call technology; go to step B2; B2: The acquisition application of controller B reads the temperature and humidity values ​​of the temperature and humidity sensor chip, makes a rationality judgment and smoothes the sampled data, and generates a temperature and humidity update instruction; at the same time, controller B compares the temperature and humidity values ​​with the alarm threshold. If the data exceeds the alarm threshold, the event application of controller B generates an alarm event; Go to step B3; B3: Controller B compares the temperature value and the humidity value to update the threshold value: if the update condition is met, it goes to step B5; otherwise, it goes to step B4; B4: Controller B determines whether the update time interval has been reached: if reached, proceed to step B5; otherwise, proceed to step B6; B5: Controller B calls the temperature and humidity value update function of gateway D in a distributed manner, that is, the Hongmeng system sends the temperature and humidity value update instruction to gateway D through distributed bus technology; After receiving the temperature and humidity value update instruction, the gateway D runs the temperature and humidity value update function to store the latest temperature and humidity values ​​of the controller B into the real-time database of the gateway D; then proceeds to step B6; B6: Monitor whether the gateway machine D receives the air conditioner on / off command from the cloud platform or the local machine: if received, proceed to step B7; otherwise, proceed to step B8; B7: Gateway D calls the air conditioner on / off function of controller B in a distributed manner, i.e., sends the air conditioner on / off instruction to controller B through the Hongmeng system distributed bus technology; after receiving the air conditioner on / off instruction, controller B runs the air conditioner on / off function, updates the air conditioner on / off status, and generates an air conditioner on / off status update instruction; then proceeds to step B8; B8: Controller B calls the air conditioner on / off status update function of gateway D in a distributed manner, that is, the Hongmeng system sends the air conditioner on / off status update instruction to gateway D through the distributed bus technology; after receiving the air conditioner on / off status update instruction, gateway D runs the air conditioner on / off status update function and stores the latest air conditioner on / off status of controller B into the real-time database of gateway D; proceed to step B9; B9: Monitor whether the gateway machine D receives the air conditioning parameter modification instruction from the cloud platform or the local: if it does, proceed to step B10; otherwise, the process ends; B10: Gateway machine D calls the air conditioning parameter modification function of controller B in a distributed manner, i.e., sends the air conditioning parameter modification instruction to controller B through the Hongmeng system distributed bus technology; after receiving the air conditioning parameter modification instruction, controller B runs the air conditioning parameter modification function and generates an air conditioning parameter update instruction; then proceeds to step B11; B11: Controller B calls the air-conditioning parameter update function of gateway D in a distributed manner. That is, the Hongmeng system sends the air-conditioning parameter update instruction to gateway D through distributed bus technology. After receiving the air-conditioning parameter update instruction, gateway D runs the air-conditioning parameter update function and stores the latest air-conditioning parameters of controller B into the real-time database of gateway D. The process ends.

2. According to the Hongmeng system-based power distribution station sensing system according to claim 1, it is characterized by: The CPU of the gateway machine D is an 8-core processor with a main frequency of not less than 2.4 GHz, equipped with an NPU with 8T computing power, 4G memory and 2T storage capacity. The gateway machine D has at least a RoLa wireless communication interface, an Ethernet communication interface and an RS485 communication interface.

3. According to the Hongmeng system-based power distribution station sensing system of claim 1, it is characterized by: The gateway machine D adopts the distributed Hongmeng system, and the kernel subsystem adopts the Linux system adaptation application, and the application includes a video AI application, a control application, an event application, a configuration application and an edge framework application; the video AI application realizes artificial intelligence functions including personnel behavior recognition, personnel safety recognition, and equipment safety recognition based on the video data collected by the camera C; the control application uses the set control logic to control the temperature, humidity and water level of the air-conditioning controller, fan controller, and water pump controller according to the environmental data including temperature, humidity, and water level collected by the sensor A, so as to ensure the safe operating environment of the distribution station; the event application generates an alarm event when the collected data of the sensor A exceeds the limit and the abnormal result recognized by the video AI application; the configuration application performs parameter configuration for the gateway machine D, sensor A, controller B and camera C; the edge framework application is used to realize data interaction with the cloud platform; the control application of the gateway machine D includes temperature and humidity value update function, air conditioning switch status update function and air conditioning parameter update function, and the configuration application of the gateway machine D includes configuration table acquisition function and configuration table modification function.

4. The power distribution station sensing system based on Hongmeng system according to claim 1 is characterized in that: The sensor A is a temperature and humidity sensor, and its data collection and transmission process includes the following steps: A1: The sampling timer triggers the LiteOS system to run. The sampling time interval of the sampling timer is set by the configuration application of sensor A and is modified by gateway D or PC E through distributed soft bus technology and distributed call technology; go to step A2; A2: The LiteOS system exits the sleep state and starts executing the sampling application of sensor A; then proceeds to step A3; A3: The sampling application of sensor A reads the temperature and humidity values ​​of the temperature and humidity sensor chip, makes a reasonable judgment and smoothes the sampled data, generates temperature and humidity update instructions, and realizes local viewing through the display application of sensor A; at the same time, sensor A compares the temperature and humidity values ​​with the alarm threshold. If the data exceeds the alarm threshold, the event application of sensor A generates an alarm event; Go to step A4; A4: Sensor A compares the temperature value and humidity value with the data update threshold value: if the update threshold requirement is met, proceed to step A6; otherwise, proceed to step A5; A5: Sensor A determines whether the update time interval has been reached: if so, proceed to step A6; otherwise, proceed to step A7; A6: Sensor A calls the temperature and humidity value update function of gateway D in a distributed manner, that is, the Hongmeng system sends the temperature and humidity value update instruction to gateway D through the distributed bus technology; at the same time, after receiving the temperature and humidity value update instruction, gateway D runs the temperature and humidity value update function and stores the latest temperature and humidity values ​​of sensor A into the real-time database of gateway D; proceed to step A7; A7: The LiteOS system enters sleep mode and waits for the next sampling time.

5. According to the Hongmeng system-based power distribution station sensing system of claim 1, it is characterized by: The camera C adopts the distributed Hongmeng system, and the kernel subsystem adopts the Linux system adaptation application, which includes an acquisition application, a control application, an event application and a configuration application; the acquisition application is used to realize the acquisition, processing and output of video data; the control application controls the pan-tilt movement according to the real-time instructions or configuration parameters of the gateway machine D; the event application generates alarm events for various abnormal conditions; the configuration application is used to realize parameter configuration including preset positions and bit streams; the control application of the camera C includes video transmission functions and video control functions.

6. The power distribution station sensing system based on Hongmeng system according to claim 5 is characterized by: The data collection, control and transmission process of the camera C includes the following steps: C1: The sampling application of camera C collects video data in real time; proceed to step C2; C2: Monitor whether the gateway machine D receives the video acquisition instruction from the cloud platform or the local: if it does, go to step C3; otherwise, go to step C4; C3: Gateway machine D calls the video transmission function of camera C in a distributed manner, that is, sends the video acquisition instruction to camera C through the Hongmeng system distributed bus technology; after receiving the video acquisition instruction, camera C runs the video transmission function, processes the video data according to the preset video parameters, and outputs the video data; Go to step C4; C4: Monitor whether the gateway machine D receives the video control command from the cloud platform or the local: if it does, go to step C5; otherwise, the process ends; C5: Gateway machine D calls the video control function of camera C in a distributed manner, that is, sends the video control instruction to camera C through the Hongmeng system distributed bus technology; after receiving the video control instruction, camera C runs the video control function to control the movement of the pan / tilt head or modify the configuration parameters; and ends the process.

7. The power distribution station sensing system based on Hongmeng system according to claim 1 is characterized in that: The PC E adopts the distributed Hongmeng system, and the kernel subsystem adopts the Linux system adaptation application, which includes a display application, a control application, an event application, and a configuration application; the display application is used to realize the display of relevant data of each device; The control application is used to realize the operation control of the controller B and the camera C; the event application is used to obtain the alarm events of each device; The configuration application is used to read, modify and send configuration parameters of each device.

8. The power distribution station sensing system based on Hongmeng system according to claim 1 is characterized by: The gateway configuration process of the PC E includes the following steps: E1: PC E generates a configuration table to obtain instructions by configuring the application program; proceed to step E2; E2: PC E calls the configuration table acquisition function of gateway D in a distributed manner, i.e., sends the configuration table acquisition instruction to gateway D through the Hongmeng system distributed bus technology; after receiving the configuration table acquisition instruction, gateway D runs the configuration table acquisition function and uploads the configuration table information of gateway D to PC E; then proceeds to step E3; E3: Display the configuration table information of gateway D through the display application of PC E; go to step E4; E4: Modify the configuration table information of the gateway D through the configuration application of the PC E, and generate a configuration table modification instruction; proceed to step E5; E5: PC E calls the configuration table modification function of gateway D in a distributed manner, that is, sends the configuration table modification instruction and the modified configuration table information of gateway D to gateway D through the Hongmeng system distributed bus technology; The gateway machine D runs the configuration table modification function according to the received or local configuration table modification instruction and the modified gateway machine D configuration table information to update the gateway machine D configuration table.