Hybrid cloud power data acquisition and online monitoring early warning method and device

By establishing a GRPC server system in the public cloud and building a secure tunnel in the enterprise's intranet, it solves the problem that small and medium-sized enterprises find it difficult for power data collection, storage, query and monitoring warning on the external network, and realizes the secure transmission and query of data, enhancing the enterprise's sense of data security.

CN119853945APending Publication Date: 2025-04-18安徽遥迈智能科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411713711.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

Due to the lack of fixed public IP addresses and domain names, and professional network security equipment and information personnel, it is difficult for small and medium-sized enterprises to collect, store, query and monitor and early warning of power data in the external network.

Method used

Establish a GRPC server system in the public cloud, build a secure tunnel with the client GRPC module of the enterprise intranet, collect power data through gateways and sensors, process and analyze, store it in the enterprise intranet, and provide data query API interface and early warning module to realize external network query and early warning notification of power data.

Benefits of technology

It ensures the confidentiality and integrity of data transmission, ensures the security of users' data assets, enhances the sense of security and trust of enterprises in data, realizes external network inquiry and early warning notification of power data of small and medium-sized enterprises, and meets their actual needs.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a hybrid cloud power data acquisition and on-line monitoring early warning method and device, relates to the technical field of cloud computing, and aims to solve the problem that current small and medium-sized enterprises have no fixed public network IP addresses and domain names, lack professional network security equipment and informatization personnel, and are inconvenient to use. The method comprises the following steps: request receiving: deploying a GRPC server module at a public cloud end for receiving a request of a client end and returning a response; the client GRPC module is used for sending a request to the GRPC server module and receiving a response of the GRPC server module; the method can be widely applied to small and medium-sized enterprises, the problems of data storage and network security of the small and medium-sized enterprises are solved, and the working efficiency and security are improved. Meanwhile, the system has the advantages of being easy to expand and maintain, and can be flexibly customized and upgraded according to the requirements of enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and more specifically, to a hybrid cloud power data collection and online monitoring and early warning method and device. Background Art

[0002] In the current cloud computing and edge computing fields, small and medium-sized enterprises are often faced with data storage and network security issues. Due to the lack of fixed public IP addresses and domain names, professional network security equipment and information personnel, it is difficult for these enterprises to collect, store, query and monitor and warn power data on the external network. Traditional cloud services cannot meet the actual needs of these enterprises. In view of this, we propose a hybrid cloud power data collection and online monitoring and warning method and device. Summary of the invention

[0003] The purpose of the present invention is to provide a hybrid cloud power data collection and online monitoring and early warning method and device to solve the technical problem that small and medium-sized enterprises currently have difficulty in realizing power data collection, storage, query and monitoring and early warning on the external network due to the lack of fixed public IP addresses and domain names, professional network security equipment and information personnel.

[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a hybrid cloud power data collection and online monitoring and early warning method, comprising the following steps:

[0005] S1, request reception;

[0006] Deploy the GRPC server module on the public cloud to receive client requests and return responses;

[0007] S2, request to send;

[0008] The client GRPC module is used to send requests to the GRPC server module and receive its responses;

[0009] S3, data query request is sent;

[0010] The GRPC server module communicates with the client GRPC module to build a secure and reliable data tunnel, and sends data query requests to the GRPC server, so as to push the power data in the enterprise intranet to the mobile terminal and PC terminal of the external network user through a dedicated secure tunnel;

[0011] S4, data collection;

[0012] The power data collected from the enterprise is collected through gateways and sensors and used to collect power data from the enterprise intranet;

[0013] S5. Data processing;

[0014] Process and analyze the collected power data, and convert the format of the processed data;

[0015] S6. Data storage;

[0016] By selecting storage devices that suit the needs of the enterprise, the processed power data is stored in the enterprise intranet, and a data storage directory structure is established. Then, data is backed up regularly to ensure data security and reliability;

[0017] S7, data query;

[0018] Provides a data query API interface, which is used to query the power data stored in the enterprise intranet through the enterprise extranet by connecting to the GRPC server module;

[0019] S8, power data early warning;

[0020] Provides a data query API interface, which is connected to the GRPC server module to send warning information to users when the power data exceeds the preset threshold.

[0021] The present invention establishes a GRPC server system on the public cloud and builds a secure tunnel with the client GRPC module of the enterprise intranet, thereby ensuring the confidentiality and integrity of data transmission, adopting advanced encryption algorithms and security protocols to prevent data from being stolen or tampered with during transmission, and ensuring the security of users' data assets. The power data is stored in the enterprise intranet, ensuring that the ownership of the data is clear. The enterprise has full control over its own data and does not need to worry about the data being abused or leaked by a third party, thereby enhancing the enterprise's sense of security and trust in the data. The present invention is particularly suitable for these small and medium-sized enterprises. It does not need to rent a public network address and domain name to realize external network query of power data and receive early warning information, which effectively meets the actual needs of small and medium-sized enterprises for power data storage, query and monitoring and early warning.

[0022] Preferably, the S1 request receiving further comprises the following steps:

[0023] S101. Public cloud service selection;

[0024] Conduct comprehensive research and evaluation on numerous public cloud service providers on the market, taking into account their server hardware configuration, network bandwidth, geographical distribution of data centers, security protection system, and after-sales service quality, to ensure that the servers can run stably and provide users with reliable services;

[0025] S102, GRPC server construction;

[0026] Build a GRPC server environment on the public cloud. According to the expected number of users, data traffic, and business growth trends, rationally plan the resource allocation of the server, adjust the server's memory size, number of CPU cores, and storage capacity parameters to ensure that a large number of requests can be processed quickly under high concurrency. At the same time, optimize network settings and use load balancing technology to evenly distribute requests to different server nodes to improve the overall performance and stability of the system.

[0027] S103, safety protection mechanism;

[0028] Deploy multi-layer firewalls to strictly screen and filter network traffic entering the server, prevent unauthorized access and malicious attacks, install intrusion detection systems and intrusion prevention systems, monitor the server's network activities in real time, promptly detect and prevent potential security threats, use encryption algorithms to encrypt and store server data to ensure data confidentiality and integrity, regularly scan and repair security vulnerabilities, and promptly update server security patches to maintain system security.

[0029] Preferably, the S2 request sending further includes the following steps:

[0030] S201, client GRPC module development;

[0031] For mobile devices, develop client applications suitable for their operating systems, fully consider the screen size, operation mode and performance characteristics of the mobile phone, and optimize the user interface and interactive experience;

[0032] Develop desktop applications for PC devices to provide richer functions and a more user-friendly interface. At the same time, ensure data synchronization and compatibility between different client devices, so that users can access power data on different devices at any time.

[0033] S202, communication performance optimization;

[0034] Use data compression technology to compress the transmitted data, reduce the amount of data, increase the transmission speed, optimize the network communication protocol, select TCP / IP or UDP as the transport layer protocol, adjust and optimize according to the actual situation, set a reasonable timeout time and retry mechanism, and automatically retry the connection when a network failure occurs to ensure the reliability of data transmission;

[0035] S203, data encryption;

[0036] The communication data is encrypted using a combination of symmetric and asymmetric encryption algorithms. When establishing a connection, key exchange and identity authentication are performed to ensure that the identities of both communicating parties are authentic and reliable. The transmitted data is digitally signed to prevent data from being tampered with or forged. The encryption keys are updated regularly to improve the security of the system.

[0037] Preferably, the step S3, sending a data query request, further comprises the following steps:

[0038] S301, Enterprise user client interface design;

[0039] The simple and clear layout and intuitive icons allow users to quickly find the functions they need and provide personalized setting options. Users can customize the interface display and notification methods according to their needs, optimize the operation process, reduce the user's operation steps, and improve work efficiency.

[0040] S302, request parameter verification and encryption;

[0041] Verify the validity of the query parameters entered by the user, check the format, range and validity of the parameters, and give an error prompt in time if the parameters are illegal to guide the user to enter the parameters correctly. Encrypt the request data and use encryption algorithms to ensure the security of the data during transmission.

[0042] S303, secure tunnel construction;

[0043] Choose SSL / TLS or IPSEC as the encryption protocol to establish a secure data transmission channel. During the tunnel establishment process, identity authentication and key exchange are performed to ensure the authenticity of the identities of both parties in the communication, and to encrypt and decrypt the transmitted data to prevent the data from being stolen or tampered with.

[0044] S304, intranet power data compression transmission;

[0045] A data compression algorithm is used to compress power data to reduce the amount of data and increase the transmission speed. The data is decompressed at the receiving end to restore the original data. At the same time, the compression and decompression process is optimized to reduce the occupation of system resources.

[0046] Preferably, the S4 data collection further comprises the following steps:

[0047] S401, equipment selection;

[0048] Select power sensors and gateway devices based on the size, type and monitoring requirements of the company's power system;

[0049] S402, equipment installation;

[0050] Install and configure sensors and gateways, perform parameter configuration and calibration, set sensor measurement parameters and gateway communication parameters according to actual conditions, and perform testing and verification;

[0051] S403, collection frequency setting;

[0052] According to the enterprise's real-time demand for power data, the data collection frequency can be set reasonably. For key equipment and important parameters, the collection frequency can be increased to ensure that changes in the power system can be monitored in time. For general equipment and parameters, the collection frequency can be appropriately reduced to reduce the occupation of system resources.

[0053] Preferably, the S5 data processing further comprises the following steps:

[0054] S501, data preprocessing;

[0055] Clean the collected power data to remove noise and outliers. Use data filtering technology to remove noise interference in power data. Use statistical analysis and anomaly detection algorithms to identify and remove outliers to ensure data accuracy and reliability.

[0056] S502. Data Analysis

[0057] Extract key features and trends, use data analysis algorithms to conduct in-depth analysis of power data, extract key features and trend information, and provide data support for corporate decision-making;

[0058] S503, data conversion;

[0059] The processed data is formatted for storage and query, and the processed power data is converted into a suitable format according to the requirements of data storage and query.

[0060] Preferably, the S6 data storage further comprises the following steps:

[0061] S601, storage method;

[0062] Use hard disk arrays, network storage devices or cloud storage services with redundant storage technology to store processed power data in the enterprise intranet to ensure data security and reliability;

[0063] S602, data storage directory is established;

[0064] Classify and store power data by time, equipment type, and parameter type, and create indexes and metadata to facilitate quick query and retrieval of data;

[0065] S603, data backup;

[0066] Develop a data backup strategy and back up stored data regularly. You can choose local backup, offsite backup, or cloud backup to ensure that data can be restored in a timely manner in the event of data loss or damage.

[0067] Preferably, the S7 data query further comprises the following steps:

[0068] S701, API interface design;

[0069] According to the user's query needs, a concise and clear API interface is designed to facilitate users to perform data query operations, and a variety of query parameters and filtering conditions are provided, so that users can perform flexible queries according to their needs;

[0070] S702, optimizing query algorithm;

[0071] Adopt query algorithms to quickly retrieve stored data, and use indexing technology and distributed query technology to improve query speed and performance;

[0072] S703, query result cache;

[0073] Cache the query results. When the user performs the same query again, the results can be obtained directly from the cache, reducing the time overhead of repeated queries. The cache is updated regularly to ensure the accuracy of the query results.

[0074] Preferably, the S8 power data early warning also includes the following steps:

[0075] S801, setting of power data warning threshold;

[0076] According to the characteristics of the enterprise's power system and safety requirements, set a reasonable warning threshold. The warning threshold can be determined through the analysis of historical data and expert experience to ensure that potential safety hazards can be discovered in a timely manner;

[0077] S802, real-time monitoring of power data;

[0078] Real-time monitoring technology is used to monitor power data in real time. When the data exceeds the warning threshold, the warning mechanism is triggered immediately and warning information is sent to users. Warning notifications can be made via SMS, email, or mobile phone push.

[0079] A hybrid cloud power data collection and online monitoring and early warning device, comprising a GRPC server module for receiving a request from a client and returning a response, a client GRPC module for sending a request to the GRPC server module, an enterprise user client for sending a data query request to the GRPC server, a data collection module for collecting power data from an enterprise intranet, a data processing module for processing power data, a data storage module for storing power data, a data query module for querying stored power data, and an early warning module for sending early warning information to a user;

[0080] The GRPC server module is electrically connected to the client GRPC module and the enterprise user client, and the data acquisition module, the data processing module, the data storage module and the data query module are connected in sequence, and the data query module and the early warning module are both connected to the GRPC server module through an API interface.

[0081] Compared with the prior art, the present invention has the following beneficial effects:

[0082] 1. The present invention establishes a GRPC server system on the public cloud and builds a secure tunnel with the client GRPC module of the enterprise intranet, thereby ensuring the confidentiality and integrity of data transmission, adopting advanced encryption algorithms and security protocols to prevent data from being stolen or tampered with during transmission, and ensuring the security of users' data assets. Power data is stored in the enterprise intranet, ensuring that the ownership of the data is clear. The enterprise has full control over its own data and does not need to worry about the data being abused or leaked by a third party, thereby enhancing the enterprise's sense of security and trust in the data. It is particularly suitable for these small and medium-sized enterprises. It does not need to rent a public network address and domain name to realize external network query of power data and receive early warning information, effectively meeting the actual needs of small and medium-sized enterprises for power data storage, query and monitoring and early warning.

[0083] 2. The present invention also enables enterprise users to conveniently query power data and receive warning information on the enterprise extranet through mobile phones, PCs and other devices through the setting of the early warning module, without being limited to the enterprise intranet environment, which greatly improves work efficiency. Whether in the office, on a business trip or at home, you can always grasp the dynamics of the enterprise's power data, and send early warning information to users in time when the power data exceeds the preset threshold, so that the enterprise can take quick measures to avoid potential power safety accidents, thereby improving the safety of the enterprise.

[0084] 3. The present invention also adopts modular design and advanced technical architecture, so that maintenance personnel can quickly locate and solve problems, reducing maintenance costs and time. At the same time, regular security vulnerability scanning and repair, data backup and other measures ensure the stable operation of the system and the security of data. It has good scalability and can be flexibly customized and upgraded according to the development and demand changes of the enterprise. Whether it is increasing data collection points, improving data processing capabilities or expanding storage capacity, it can be achieved relatively easily. DETAILED DESCRIPTION

[0085] Embodiment 1:

[0086] The present invention relates to a hybrid cloud power data collection and online monitoring and early warning method, comprising the following steps:

[0087] S1, request reception;

[0088] Deploy the GRPC server module on the public cloud to receive client requests and return responses;

[0089] S101. Public cloud service selection;

[0090] Conduct comprehensive research and evaluation on numerous public cloud service providers on the market, taking into account their server hardware configuration, network bandwidth, geographical distribution of data centers, security protection system, and after-sales service quality, to ensure that the servers can run stably and provide users with reliable services;

[0091] S102, GRPC server construction;

[0092] Build a GRPC server environment on the public cloud. According to the expected number of users, data traffic, and business growth trends, rationally plan the resource allocation of the server, adjust the server's memory size, number of CPU cores, and storage capacity parameters to ensure that a large number of requests can be processed quickly under high concurrency. At the same time, optimize network settings and use load balancing technology to evenly distribute requests to different server nodes to improve the overall performance and stability of the system.

[0093] S103, safety protection mechanism;

[0094] Deploy multi-layer firewalls to strictly screen and filter the network traffic entering the server to prevent unauthorized access and malicious attacks; install intrusion detection systems and intrusion prevention systems to monitor the server's network activities in real time to promptly detect and prevent potential security threats; use encryption algorithms to encrypt and store server data to ensure data confidentiality and integrity; regularly scan and repair security vulnerabilities; and promptly update server security patches to maintain system security;

[0095] S2, request to send;

[0096] The client GRPC module is used to send requests to the GRPC server module and receive its responses;

[0097] S201, client GRPC module development;

[0098] For mobile devices, develop client applications suitable for their operating systems, fully consider the screen size, operation mode and performance characteristics of the mobile phone, and optimize the user interface and interactive experience;

[0099] Develop desktop applications for PC devices to provide richer functions and a more user-friendly interface. At the same time, ensure data synchronization and compatibility between different client devices, so that users can access power data on different devices at any time.

[0100] S202, communication performance optimization;

[0101] Use data compression technology to compress the transmitted data, reduce the amount of data, increase the transmission speed, optimize the network communication protocol, select TCP / IP or UDP as the transport layer protocol, adjust and optimize according to the actual situation, set a reasonable timeout time and retry mechanism, and automatically retry the connection when a network failure occurs to ensure the reliability of data transmission;

[0102] S203, data encryption;

[0103] Use a combination of symmetric and asymmetric encryption algorithms to encrypt communication data. When establishing a connection, perform key exchange and identity authentication to ensure that the identities of both parties in the communication are authentic and reliable. Digitally sign the transmitted data to prevent data from being tampered with or forged. Update encryption keys regularly to improve system security.

[0104] S3, data query request is sent;

[0105] The GRPC server module communicates with the client GRPC module to build a secure and reliable data tunnel, and sends data query requests to the GRPC server, so as to push the power data in the enterprise intranet to the mobile terminal and PC terminal of the external network user through a dedicated secure tunnel;

[0106] S301, Enterprise user client interface design;

[0107] The simple and clear layout and intuitive icons allow users to quickly find the functions they need and provide personalized setting options. Users can customize the interface display and notification methods according to their needs, optimize the operation process, reduce the user's operation steps, and improve work efficiency.

[0108] S302, request parameter verification and encryption;

[0109] Verify the validity of the query parameters entered by the user, check the format, range and validity of the parameters, and give an error prompt in time if the parameters are illegal to guide the user to enter the parameters correctly. Encrypt the request data and use encryption algorithms to ensure the security of the data during transmission.

[0110] S303, secure tunnel construction;

[0111] Choose SSL / TLS or IPSEC as the encryption protocol to establish a secure data transmission channel. During the tunnel establishment process, identity authentication and key exchange are performed to ensure the authenticity of the identities of both parties in the communication, and to encrypt and decrypt the transmitted data to prevent the data from being stolen or tampered with.

[0112] S304, intranet power data compression transmission;

[0113] Adopt data compression algorithm to compress power data, reduce data volume, improve transmission speed, decompress data at the receiving end, restore original data, and optimize compression and decompression process to reduce system resource usage;

[0114] S4, data collection;

[0115] The power data collected from the enterprise is collected through gateways and sensors and used to collect power data from the enterprise intranet;

[0116] S401, equipment selection;

[0117] Select power sensors and gateway devices based on the size, type and monitoring requirements of the company's power system;

[0118] S402, equipment installation;

[0119] Install and configure sensors and gateways, perform parameter configuration and calibration, set sensor measurement parameters and gateway communication parameters according to actual conditions, and perform testing and verification;

[0120] S403, collection frequency setting;

[0121] According to the enterprise's real-time demand for power data, the data collection frequency can be reasonably set. For key equipment and important parameters, the collection frequency can be increased to ensure that changes in the power system can be monitored in a timely manner. For general equipment and parameters, the collection frequency can be appropriately reduced to reduce the occupation of system resources;

[0122] S5. Data processing;

[0123] Process and analyze the collected power data, and convert the format of the processed data;

[0124] S501, data preprocessing;

[0125] Clean the collected power data to remove noise and outliers. Use data filtering technology to remove noise interference in power data. Use statistical analysis and anomaly detection algorithms to identify and remove outliers to ensure data accuracy and reliability.

[0126] S502. Data Analysis

[0127] Extract key features and trends, use data analysis algorithms to conduct in-depth analysis of power data, extract key features and trend information, and provide data support for corporate decision-making;

[0128] S503, data conversion;

[0129] The processed data is formatted for storage and query, and the processed power data is converted into a suitable format according to the requirements of data storage and query.

[0130] S6. Data storage;

[0131] By selecting storage devices that suit the needs of the enterprise, the processed power data is stored in the enterprise intranet, and a data storage directory structure is established. Then, data is backed up regularly to ensure data security and reliability;

[0132] S601, storage method;

[0133] Use hard disk arrays, network storage devices or cloud storage services with redundant storage technology to store processed power data in the enterprise intranet to ensure data security and reliability;

[0134] S602, data storage directory is established;

[0135] Classify and store power data by time, equipment type, and parameter type, and create indexes and metadata to facilitate quick query and retrieval of data;

[0136] S603, data backup;

[0137] Develop a data backup strategy and regularly back up stored data. You can choose local backup, offsite backup, or cloud backup to ensure that data can be restored in a timely manner in the event of data loss or damage;

[0138] S7, data query;

[0139] Provides a data query API interface, which is used to query the power data stored in the enterprise intranet in the enterprise extranet by connecting to the GRPC server module;

[0140] S701, API interface design;

[0141] According to the user's query needs, a concise and clear API interface is designed to facilitate users to perform data query operations, and a variety of query parameters and filtering conditions are provided, so that users can perform flexible queries according to their needs;

[0142] S702, optimizing query algorithm;

[0143] Adopt query algorithms to quickly retrieve stored data, and use indexing technology and distributed query technology to improve query speed and performance;

[0144] S703, query result cache;

[0145] Cache query results. When users perform the same query again, they can directly obtain the results from the cache, reducing the time overhead of repeated queries. Regularly update the cache to ensure the accuracy of query results.

[0146] S8, power data early warning;

[0147] Provides a data query API interface, which is used to send warning information to users when power data exceeds the preset threshold by connecting to the GRPC server module;

[0148] S801, setting of power data warning threshold;

[0149] According to the characteristics of the enterprise's power system and safety requirements, set a reasonable warning threshold. The warning threshold can be determined through the analysis of historical data and expert experience to ensure that potential safety hazards can be discovered in a timely manner;

[0150] S802, real-time monitoring of power data;

[0151] Real-time monitoring technology is used to monitor power data in real time. When the data exceeds the warning threshold, the warning mechanism is triggered immediately and warning information is sent to users. Warning notifications can be made via SMS, email, or mobile phone push.

[0152] The present invention establishes a GRPC server system on the public cloud and builds a secure tunnel with the client GRPC module of the enterprise intranet, thereby ensuring the confidentiality and integrity of data transmission, adopting advanced encryption algorithms and security protocols to prevent data from being stolen or tampered with during transmission, and ensuring the security of users' data assets. The power data is stored in the enterprise intranet, ensuring that the ownership of the data is clear. The enterprise has full control over its own data and does not need to worry about the data being abused or leaked by a third party, thereby enhancing the enterprise's sense of security and trust in the data. The present invention is particularly suitable for these small and medium-sized enterprises. It does not need to rent a public network address and domain name to realize external network query of power data and receive early warning information, which effectively meets the actual needs of small and medium-sized enterprises for power data storage, query and monitoring and early warning.

[0153] Embodiment 2:

[0154] As another embodiment of the present invention, a hybrid cloud power data acquisition and online monitoring and early warning device includes a GRPC server module for receiving client requests and returning responses, a client GRPC module for sending requests to the GRPC server module, an enterprise user client for sending data query requests to the GRPC server, a data acquisition module for collecting power data from an enterprise intranet, a data processing module for processing power data, a data storage module for storing power data, a data query module for querying stored power data, and an early warning module for sending early warning information to users. The GRPC server module is electrically connected to the client GRPC module and the enterprise user client, and the data acquisition module, the data processing module, the data storage module and the data query module are connected in sequence, and the data query module and the early warning module are both connected to the GRPC server module through an API interface.

[0155] The present invention also enables enterprise users to conveniently query power data and receive warning information on the enterprise extranet through mobile phones, PCs and other devices through the setting of the early warning module, without being limited to the enterprise intranet environment, which greatly improves work efficiency. Whether in the office, on a business trip or at home, you can always grasp the dynamics of the enterprise's power data, and send early warning information to users in time when the power data exceeds the preset threshold, so that the enterprise can quickly take measures to avoid potential power safety accidents, thereby improving the safety of the enterprise.

[0156] As another embodiment of the present invention, a small and medium-sized enterprise user accesses GRPC on a client of an external network.

[0157] There is no need to rent a public network address and domain name when using the server module.

[0158] As another embodiment of the present invention, the data query module allows the user to query the power data in the intranet through the enterprise extranet with the help of the client GRPC module installed in the intranet.

[0159] As another embodiment of the present invention, the device is suitable for small and medium-sized enterprises that do not have a fixed public IP address and domain name.

[0160] By adopting modular design and advanced technical architecture, maintenance personnel can quickly locate and solve problems, reducing maintenance costs and time. At the same time, regular security vulnerability scanning and repair, data backup and other measures ensure the stable operation of the system and the security of data. It has good scalability and can be flexibly customized and upgraded according to the development and changes in business needs. Whether it is increasing data collection points, improving data processing capabilities or expanding storage capacity, it can be achieved relatively easily.

[0161] The embodiments of the present invention disclose preferred embodiments, but are not limited thereto. A person skilled in the art can easily understand the spirit of the present invention based on the above embodiments and make different extensions and changes. However, as long as they do not deviate from the spirit of the present invention, they are all within the protection scope of the present invention.

Claims

1. A hybrid cloud power data collection and online monitoring and early warning method, characterized in that: The following steps are involved: S1, request reception; Deploy the GRPC server module on the public cloud to receive client requests and return responses; S2, request to send; The client GRPC module is used to send requests to the GRPC server module and receive its responses; S3, data query request is sent; The GRPC server module communicates with the client GRPC module to build a secure and reliable data tunnel, and sends data query requests to the GRPC server, so as to push the power data in the enterprise intranet to the mobile terminal and PC terminal of the external network user through a dedicated secure tunnel; S4, data collection; The power data collected from the enterprise is collected through gateways and sensors and used to collect power data from the enterprise intranet; S5. Data processing; Process and analyze the collected power data, and convert the format of the processed data; S6. Data storage; By selecting storage devices that suit the needs of the enterprise, the processed power data is stored in the enterprise intranet, and a data storage directory structure is established. Then, data is backed up regularly to ensure data security and reliability; S7, data query; Provides a data query API interface, which is used to query the power data stored in the enterprise intranet in the enterprise extranet by connecting to the GRPC server module; S8, power data early warning; Provides a data query API interface, which is connected to the GRPC server module to send warning information to users when the power data exceeds the preset threshold.

2. A hybrid cloud power data collection and online monitoring and early warning method according to claim 1, characterized in that: The S1 request receiving further comprises the following steps: S101. Public cloud service selection; Conduct comprehensive research and evaluation on numerous public cloud service providers on the market, taking into account their server hardware configuration, network bandwidth, geographical distribution of data centers, security protection system, and after-sales service quality, to ensure that the servers can run stably and provide users with reliable services; S102, GRPC server construction; Build a GRPC server environment on the public cloud. According to the expected number of users, data traffic, and business growth trends, rationally plan the resource allocation of the server, adjust the server's memory size, number of CPU cores, and storage capacity parameters to ensure that a large number of requests can be processed quickly under high concurrency. At the same time, optimize network settings and use load balancing technology to evenly distribute requests to different server nodes to improve the overall performance and stability of the system. S103, safety protection mechanism; Deploy multi-layer firewalls to strictly screen and filter network traffic entering the server, prevent unauthorized access and malicious attacks, install intrusion detection systems and intrusion prevention systems, monitor the server's network activities in real time, promptly detect and prevent potential security threats, use encryption algorithms to encrypt and store server data to ensure data confidentiality and integrity, regularly scan and repair security vulnerabilities, and promptly update server security patches to maintain system security.

3. A hybrid cloud power data acquisition and online monitoring and early warning method according to claim 2, characterized in that: The S2 request sending further comprises the following steps: S201, client GRPC module development; For mobile devices, develop client applications suitable for their operating systems, fully consider the screen size, operation mode and performance characteristics of the mobile phone, and optimize the user interface and interactive experience; Develop desktop applications for PC devices to provide richer functions and a more user-friendly interface. At the same time, ensure data synchronization and compatibility between different client devices, so that users can access power data on different devices at any time. S202, communication performance optimization; Use data compression technology to compress the transmitted data, reduce the amount of data, increase the transmission speed, optimize the network communication protocol, select TCP / IP or UDP as the transport layer protocol, adjust and optimize according to the actual situation, set a reasonable timeout time and retry mechanism, and automatically retry the connection when a network failure occurs to ensure the reliability of data transmission; S203, data encryption; The communication data is encrypted using a combination of symmetric and asymmetric encryption algorithms. When establishing a connection, key exchange and identity authentication are performed to ensure that the identities of both communicating parties are authentic and reliable. The transmitted data is digitally signed to prevent data from being tampered with or forged. The encryption keys are updated regularly to improve the security of the system.

4. A hybrid cloud power data collection and online monitoring and early warning method according to claim 3, characterized in that: The step S3, sending the data query request, also includes the following steps: S301, Enterprise user client interface design; The simple and clear layout and intuitive icons allow users to quickly find the functions they need and provide personalized setting options. Users can customize the interface display and notification methods according to their needs, optimize the operation process, reduce the user's operation steps, and improve work efficiency. S302, request parameter verification and encryption; Verify the validity of the query parameters entered by the user, check the format, range and validity of the parameters, and give an error prompt in time if the parameters are illegal to guide the user to enter the parameters correctly. Encrypt the request data and use encryption algorithms to ensure the security of the data during transmission. S303, secure tunnel construction; Choose SSL / TLS or IPSEC as the encryption protocol to establish a secure data transmission channel. During the tunnel establishment process, identity authentication and key exchange are performed to ensure the authenticity of the identities of both parties in the communication, and to encrypt and decrypt the transmitted data to prevent the data from being stolen or tampered with. S304, intranet power data compression transmission; A data compression algorithm is used to compress power data to reduce the amount of data and increase the transmission speed. The data is decompressed at the receiving end to restore the original data. At the same time, the compression and decompression process is optimized to reduce the occupation of system resources.

5. A hybrid cloud power data collection and online monitoring and early warning method according to claim 4, characterized in that: The S4 data collection also includes the following steps: S401, equipment selection; Select power sensors and gateway devices based on the size, type and monitoring requirements of the company's power system; S402, equipment installation; Install and configure sensors and gateways, perform parameter configuration and calibration, set sensor measurement parameters and gateway communication parameters according to actual conditions, and perform testing and verification; S403, collection frequency setting; According to the enterprise's real-time demand for power data, the data collection frequency can be set reasonably. For key equipment and important parameters, the collection frequency can be increased to ensure that changes in the power system can be monitored in time. For general equipment and parameters, the collection frequency can be appropriately reduced to reduce the occupation of system resources.

6. A hybrid cloud power data collection and online monitoring and early warning method according to claim 5, characterized in that: The S5 data processing further comprises the following steps: S501, data preprocessing; Clean the collected power data to remove noise and outliers. Use data filtering technology to remove noise interference in power data. Use statistical analysis and anomaly detection algorithms to identify and remove outliers to ensure data accuracy and reliability. S502. Data Analysis Extract key features and trends, use data analysis algorithms to conduct in-depth analysis of power data, extract key features and trend information, and provide data support for corporate decision-making; S503, data conversion; The processed data is formatted for storage and query, and the processed power data is converted into a suitable format according to the requirements of data storage and query.

7. A hybrid cloud power data collection and online monitoring and early warning method according to claim 6, characterized in that: The S6 data storage further comprises the following steps: S601, storage method; Use hard disk arrays, network storage devices or cloud storage services with redundant storage technology to store processed power data in the enterprise intranet to ensure data security and reliability; S602, data storage directory is established; Classify and store power data by time, equipment type, and parameter type, and create indexes and metadata to facilitate quick query and retrieval of data; S603, data backup; Develop a data backup strategy and back up stored data regularly. You can choose local backup, offsite backup, or cloud backup to ensure that data can be restored in a timely manner in the event of data loss or damage.

8. A hybrid cloud power data collection and online monitoring and early warning method according to claim 7, characterized in that: The S7 data query further comprises the following steps: S701, API interface design; According to the user's query needs, a concise and clear API interface is designed to facilitate users to perform data query operations, and a variety of query parameters and filtering conditions are provided, so that users can perform flexible queries according to their needs; S702, optimizing query algorithm; Adopt query algorithms to quickly retrieve stored data, and use indexing technology and distributed query technology to improve query speed and performance; S703, query result cache; Cache the query results. When the user performs the same query again, the results can be obtained directly from the cache, reducing the time overhead of repeated queries. The cache is updated regularly to ensure the accuracy of the query results.

9. A hybrid cloud power data collection and online monitoring and early warning method according to claim 8, characterized in that: The S8 power data early warning also includes the following steps: S801, setting of power data warning threshold; According to the characteristics of the enterprise's power system and safety requirements, set a reasonable warning threshold. The warning threshold can be determined through the analysis of historical data and expert experience to ensure that potential safety hazards can be discovered in a timely manner; S802, real-time monitoring of power data; Real-time monitoring technology is used to monitor power data in real time. When the data exceeds the warning threshold, the warning mechanism is triggered immediately and warning information is sent to users. Warning notifications can be made via SMS, email, or mobile phone push.

10. A hybrid cloud power data collection and online monitoring and early warning device, according to the hybrid cloud power data collection and online monitoring and early warning method of claim 9, characterized in that: It includes a GRPC server module for receiving client requests and returning responses, a client GRPC module for sending requests to the GRPC server module, an enterprise user client for sending data query requests to the GRPC server, a data acquisition module for collecting power data from the enterprise intranet, a data processing module for processing power data, a data storage module for storing power data, a data query module for querying stored power data, and an early warning module for sending early warning information to users; The GRPC server module is electrically connected to the client GRPC module and the enterprise user client, and the data acquisition module, the data processing module, the data storage module and the data query module are connected in sequence, and the data query module and the early warning module are both connected to the GRPC server module through an API interface.

Citation Information

Patent Citations

  • Node access method, device and apparatus and computer readable storage medium

    CN112165532A

  • Hybrid cloud private deployment data acquisition method, electronic equipment and storage medium

    CN113938282A

  • Hybrid cloud-based power data management method and system

    CN116662837A

  • Monitoring method and device based on cloud data

    CN117978635A

  • Method and system for safely accessing database

    CN118555104A