Automatic station building method and terminal based on Internet of Things platform
In the integrated construction of energy storage power stations, the automated website building method of the Internet of Things platform is used, and the local area network and edge gateway are used to automatically configure the energy management system software and equipment communication parameters. This solves the problem of low website building efficiency in the traditional method and achieves efficient and accurate integrated construction process.
Patent Information
- Application Number
- CN202411008666.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-08-23
AI Technical Summary
In the integrated construction of traditional energy storage power stations, the energy management system software parameters and equipment communication parameters are complex, resulting in low efficiency and error-prone website construction, and the HTTP communication method leads to high network latency and large resource consumption.
An automated website building method based on the Internet of Things platform is adopted. By obtaining the unique identification code of the device, the local area network is used to query the local edge gateway and the Internet of Things platform to obtain website building information, realize automatic configuration and caching, and reduce human debugging errors and network access frequency.
It improves the efficiency and accuracy of integrated construction of energy storage power stations, reduces human workload and network resource consumption, and improves integration speed and system reliability.
Smart Images

Figure CN118540352A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things, and in particular to an automated website building method and terminal based on an Internet of Things platform. Background Art
[0002] Due to the rapid development of the new energy industry, the demand for energy storage power stations continues to grow. Accelerating the integrated construction of energy storage power stations will be of great significance to improving the integrated delivery efficiency of energy storage systems. The integrated construction of energy storage power stations usually requires equipment assembly, energy management system software installation, energy management system software operating parameter configuration, equipment communication parameter configuration, equipment communication testing, energy storage power station offline testing and other steps. Different projects have different project structures, integrated equipment manufacturers, and equipment models. Therefore, during the power station integration process, the energy management system software operating parameter configuration and equipment communication parameter configuration need to be reconfigured according to different equipment.
[0003] In the traditional project integration construction process, the energy management system software installation, energy management system software parameter configuration and device communication parameter configuration are usually manually installed by the integrator, and the software parameters are configured. Then the device communication parameters are configured according to the integrated sub-device information, and the software functions and device communication functions are debugged after the software is running. Due to the differences between projects, the energy management system software parameters and device communication parameters are complex and diverse. The traditional method is not only inefficient, but also prone to errors; the existing HTTP communication method transmits website construction information, the network delay is high, and frequent data requests cause increased network load and increased platform resource consumption. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide an automated website building method and terminal based on an Internet of Things platform to solve the problem of low website building efficiency.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: An automated website building method based on an Internet of Things platform comprises the following steps: S1. Obtain the unique identification code of the device to be built; S2. Query the local edge gateway whether there is site establishment information corresponding to the identification code. If yes, proceed to step S3; otherwise, proceed to step S4; S3, control the local edge gateway to push the corresponding site building information to the site end and control the site end to complete the site building; S4. Control the local edge gateway to push the identification code to the IoT platform and query whether the IoT platform has corresponding website establishment information. If so, control the IoT platform to push the corresponding website establishment information to the local edge gateway and return to step S3.
[0006] In order to solve the above technical problems, another technical solution adopted by the present invention is: An automated website building terminal based on an Internet of Things platform comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor completes the following steps when executing the computer program: S1. Obtain the unique identification code of the device to be built; S2. Query the local edge gateway whether there is site establishment information corresponding to the identification code. If yes, proceed to step S3; otherwise, proceed to step S4; S3, control the local edge gateway to push the corresponding site building information to the site end and control the site end to complete the site building; S4. Control the local edge gateway to push the identification code to the IoT platform and query whether the IoT platform has corresponding website establishment information. If so, control the IoT platform to push the corresponding website establishment information to the local edge gateway and return to step S3.
[0007] The beneficial effects of the present invention are as follows: providing an automated website construction method and terminal based on an Internet of Things platform, communicating via a local area network according to a unique identification code, accessing a local edge gateway and an Internet of Things platform (IOT) in sequence according to the communication result to obtain website construction information, managing the website construction information in a unified and efficient manner, reducing the workload of site integration construction personnel, reducing human debugging errors, and improving site integration efficiency; in addition, by caching website construction information via a local edge gateway, the frequency of accessing the IOT platform is effectively reduced, reducing the resource consumption of the IOT platform, and improving the website construction speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a flow chart of an automated website building method based on an Internet of Things platform in an embodiment of the present invention; Figure 2 This is a specific flow chart of an automated website building method based on an Internet of Things platform in an embodiment of the present invention; Figure 3 Schematic diagram of an automated website building terminal based on an Internet of Things platform in an embodiment of the present invention; Description of labels: 1. An automated website building terminal based on the Internet of Things platform; 2. Memory; 3. Processor. DETAILED DESCRIPTION
[0009] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in conjunction with the implementation modes and the accompanying drawings.
[0010] Please refer to Figure 1 , an automated website building method based on an Internet of Things platform, comprising the steps of: S1. Obtain the unique identification code of the device to be built; S2. Query the local edge gateway whether there is site establishment information corresponding to the identification code. If yes, proceed to step S3; otherwise, proceed to step S4; S3, control the local edge gateway to push the corresponding site building information to the site end and control the site end to complete the site building; S4. Control the local edge gateway to push the identification code to the IoT platform and query whether the IoT platform has corresponding website establishment information. If so, control the IoT platform to push the corresponding website establishment information to the local edge gateway and return to step S3.
[0011] From the above description, it can be seen that the beneficial effects of the present invention are: providing an automated website construction method based on the Internet of Things platform, using the local area network for communication according to the unique identification code, and according to the communication results, sequentially accessing the local edge gateway and the Internet of Things platform (IOT) to obtain website construction information, and uniformly and efficiently managing the website construction information, reducing the workload of site integration construction personnel, and reducing human debugging errors, thereby improving the integration efficiency of the site; in addition, by caching the website construction information through the local edge gateway, the frequency of accessing the IOT platform is effectively reduced, the resource consumption of the IOT platform is reduced, and the website construction speed is improved.
[0012] In an embodiment of the present invention, step S2 specifically includes the steps of: According to the identification code, the corresponding website establishment information is queried in the Sqlite database of the local edge gateway, and it is determined whether there is a matching record. If so, go to step S3; otherwise, go to step S4.
[0013] From the above description, we can know that querying the site building information in the local Sqlite database can quickly respond and improve the site building speed. At the same time, querying and processing in the local edge gateway reduces the dependence on the external network and improves the reliability and stability of the system. In addition, the IoT platform is accessed only when there is no matching record locally, saving network costs and platform resources.
[0014] In an embodiment of the present invention, step S3 specifically includes the following steps: Control the local edge gateway to push the corresponding site building information to the site end; The control site caches the site building information to the local database and starts the debugging software to complete the site building.
[0015] From the above description, it can be seen that the local edge gateway automatically pushes the site establishment information to the site end, which simplifies the process and improves the efficiency of site establishment; the site end caches the local database of site establishment information to ensure persistent storage of information and subsequent operation and maintenance of the facilities; the startup debugging software automatically completes the site establishment process, improves the accuracy and consistency of site establishment, and reduces manual debugging time; specifically, the debugging software is the debugging software related to the energy management system, which unifies the equipment-related information in the energy management system debugging software for overall coordinated configuration, thereby improving site establishment efficiency.
[0016] In an embodiment of the present invention, step S1 specifically includes the following steps: The control site generates a unique identification code for the device to be built and sends it to the local edge gateway using the MQTT protocol.
[0017] In an embodiment of the present invention, the unique identification code is an SN code; the site establishment information corresponding to the identification code is configuration information and device communication parameter information corresponding to the SN code.
[0018] From the above description, it can be seen that the use of SN code as a unique identification code has the advantages of wide application and standardization, which is convenient for system integration and expansion. The site construction information corresponding to the SN code includes configuration information and equipment communication parameter information, providing all the key data required for site construction, ensuring the accuracy and accuracy of the site construction process.
[0019] Please refer to Figure 3 , an automated website building terminal based on an Internet of Things platform, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor completes the steps in an automated website building method based on an Internet of Things platform when executing the computer program.
[0020] From the above description, it can be seen that an execution carrier of an automated site construction method based on an Internet of Things platform is provided. In the process of executing the above steps, a local area network is used for communication according to a unique identification code. According to the communication result, the local edge gateway and the Internet of Things platform (IOT) are accessed in sequence to obtain site construction information, and the site construction information is uniformly and efficiently managed, thereby reducing the workload of site integration construction personnel, reducing human debugging errors, and improving site integration efficiency. In addition, the site construction information is cached by the local edge gateway, which effectively reduces the frequency of accessing the IOT platform, reduces the resource consumption of the IOT platform, and improves the site construction speed.
[0021] The present invention provides an automated website construction method and terminal based on an Internet of Things platform, which are mainly used in the integrated construction of energy storage power stations. The following is a specific description in conjunction with an embodiment: Please refer to Figure 1 , Embodiment 1 of the present invention is: An automated website building method based on an Internet of Things platform comprises the following steps: S1. Obtain the unique identification code of the device to be built; S2. Check whether the local edge gateway has the site establishment information corresponding to the identification code. If yes, proceed to step S3; otherwise, proceed to step S4; S3, control the local edge gateway to push the corresponding site building information to the site end and control the site end to complete the site building; S4. Control the local edge gateway to push the identification code to the IoT platform and query whether the IoT platform has corresponding website establishment information. If so, control the IoT platform to push the corresponding website establishment information to the local edge gateway and return to step S3.
[0022] That is, in this embodiment, according to the unique identification code, the local area network is used for communication, and according to the communication results, the local edge gateway and the Internet of Things platform (IOT) are accessed in sequence to obtain the site construction information, and the site construction information is managed uniformly and efficiently, thereby reducing the workload of site integration construction personnel, reducing human debugging errors, and improving the integration efficiency of the site; in addition, the site construction information is cached by the local edge gateway, which effectively reduces the frequency of accessing the IOT platform, reduces the resource consumption of the IOT platform, and improves the site construction speed.
[0023] Embodiment 2 of the present invention is: Based on the first embodiment, step S1 specifically includes the following steps: The control site generates a unique identification code for the device to be built and sends it to the local edge gateway using the MQTT protocol. Preferably, the information push process in the following steps S2 to S4 is pushed using the MQTT protocol.
[0024] Specifically, step S1 also includes the steps of: after the SN code is generated, the station generates a security token for identity authentication of subsequent communications. Before each MQTT message is sent, the security token is attached, and the receiver verifies the token and then processes the message.
[0025] Step S2 specifically includes the following steps: According to the identification code, the corresponding website establishment information is queried in the Sqlite database of the local edge gateway, and it is determined whether there is a matching record. If so, go to step S3; otherwise, go to step S4.
[0026] Specifically, step S2 also includes the steps of: in the local edge gateway, using edge computing capabilities to pre-process the site building information corresponding to the SN code, such as data cleaning and format conversion. Before pushing the site building information, data compression and optimization are performed to improve transmission efficiency.
[0027] Step S3 specifically includes the following steps: Control the local edge gateway to push the corresponding site building information to the site end; The control site caches the site building information to the local database and starts the debugging software to complete the site building.
[0028] Please refer to Figure 2 , Embodiment 3 of the present invention is: The specific application of an automated site building method based on the Internet of Things platform is as follows: Step 0: Get the SN code (unique code); proceed to step 1; Step 1: The site sends the SN code to the local edge gateway using MQTT; proceed to step 2; Step 2: The local edge gateway queries the Sqlite database to see whether there is site building information corresponding to the SN code; if yes, go to step 3; if not, go to step 4; Step 3: The local edge gateway uses MQTT to push the corresponding site building information to the site end; go to step 8; Step 4: The local edge gateway sends the SN code to the IOT platform via MQTT; proceed to step 5; Step 5: The IOT platform queries the database to see whether there is configuration information and device communication parameter information corresponding to the SN code; if yes, go to step 6; if not, go to step 11; Step 6: The IOT platform pushes software configuration information and device communication parameter information to the local edge gateway via MQTT; proceed to step 7; Step 7: The local edge gateway uses MQTT to push configuration information and communication parameter information to the device, and caches the site building information to the gateway Sqlite database; proceed to step 8; Step 8: The station saves the received software configuration information and device communication parameter information to the local database; and executes step 9; Step 9: Start the site-side energy management system software; proceed to step 10; Step 10: The website is built; proceed to step 12; Step 11: Site building failed; proceed to step 12; Step 12: End.
[0029] Specifically, step 3 and step 8 are also provided with an adaptive parameter adjustment function, including the following steps: 1. Network quality monitoring: After receiving the website establishment information, the site side enables the network quality monitoring module.
[0030] This module collects parameters such as network bandwidth, delay and packet loss rate in real time.
[0031] The monitoring software analyzes the collected data in real time and calculates a comprehensive score of the current network environment.
[0032] 2. Data preprocessing: The collected network environment data is preprocessed, including data cleaning and normalization.
[0033] Data cleaning step: remove outliers and noise from the collected data to ensure data accuracy.
[0034] Data normalization step: Standardize data of different ranges to the same scale to facilitate subsequent model processing.
[0035] 3. Adaptive parameter adjustment: Input the preprocessed network environment data into the intelligent algorithm module.
[0036] Choose an appropriate machine learning model, such as a random forest model, for prediction and optimization.
[0037] The intelligent algorithm module loads the trained model and uses the monitored network environment data as input to predict the optimal site building parameters.
[0038] Based on the prediction results, the site establishment parameters are adjusted. For example, if the network quality is poor, the data transmission rate is reduced; if the network delay is high, the data packet size is reduced; if the packet loss rate is high, the number of retransmissions is increased.
[0039] 4. Parameter application: Apply the optimized website building parameters to the website management software.
[0040] The website management software executes the website building operation according to the adjusted parameters to ensure the stability and reliability of the website building process.
[0041] 5. Real-time monitoring and adjustment: During the website construction process, the network environment is continuously monitored in real time.
[0042] If a change in the network environment is detected (such as a sudden deterioration in network quality), re-execute the above steps to adjust the parameters.
[0043] Ensure the stability and reliability of the entire website building process through continuous monitoring and real-time adjustments.
[0044] Please refer to Figure 3 , Embodiment 4 of the present invention is: An automated website building terminal 1 based on an Internet of Things platform comprises a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, the steps of any one of the automated website building methods based on the Internet of Things platform in the above-mentioned embodiments one to three are completed.
[0045] In summary, the present invention provides an automated website construction method and terminal based on an Internet of Things platform. In the process of executing the above steps, according to the unique identification code, a local area network is used for communication. According to the communication results, the local edge gateway and the Internet of Things platform (IOT) are accessed in sequence to obtain website construction information, and the website construction information is uniformly and efficiently managed, thereby reducing the workload of site integration construction personnel, reducing human debugging errors, and improving the integration efficiency of the site; in addition, by caching the website construction information through the local edge gateway, the frequency of accessing the IOT platform is effectively reduced, the resource consumption of the IOT platform is reduced, and the website construction speed is improved.
[0046] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An automated website building method based on an Internet of Things platform, characterized in that: Includes steps: S1. Obtain the unique identification code of the device to be built; S2. Query the local edge gateway whether there is site establishment information corresponding to the identification code. If yes, proceed to step S3; otherwise, proceed to step S4; S3, control the local edge gateway to push the corresponding site building information to the site end and control the site end to complete the site building; S4. Control the local edge gateway to push the identification code to the IoT platform and query whether the IoT platform has corresponding website establishment information. If so, control the IoT platform to push the corresponding website establishment information to the local edge gateway and return to step S3.
2. The method for automatically building a website based on the Internet of Things platform according to claim 1, characterized in that: The step S2 specifically includes the following steps: According to the identification code, the corresponding website building information is queried in the Sqlite database of the local edge gateway, and it is determined whether there is a matching record. If so, go to step S3; otherwise, go to step S4.
3. The method for automatically building a website based on the Internet of Things platform according to claim 1, characterized in that: The step S3 specifically comprises the following steps: Control the local edge gateway to push the corresponding site building information to the site end; The control site caches the site building information to the local database and starts the debugging software to complete the site building.
4. The method for automatically building a website based on the Internet of Things platform according to claim 1, characterized in that: The step S1 specifically includes the following steps: The control site generates a unique identification code for the device to be built and sends it to the local edge gateway using the MQTT protocol.
5. An automated website building method based on an Internet of Things platform according to any one of claims 1 to 4, characterized in that: The unique identification code is the SN code; the site establishment information corresponding to the identification code is the configuration information and device communication parameter information corresponding to the SN code.
6. An automated website building terminal based on the Internet of Things platform, characterized by: The invention comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are performed: S1. Obtain the unique identification code of the device to be built; S2. Query the local edge gateway whether there is site establishment information corresponding to the identification code. If yes, proceed to step S3; otherwise, proceed to step S4; S3, control the local edge gateway to push the corresponding site building information to the site end and control the site end to complete the site building; S4. Control the local edge gateway to push the identification code to the IoT platform and query whether the IoT platform has corresponding website establishment information. If so, control the IoT platform to push the corresponding website establishment information to the local edge gateway and return to step S3.
7. The automated website building terminal based on the Internet of Things platform according to claim 6, characterized in that: The step S2 specifically includes the following steps: According to the identification code, the corresponding website establishment information is queried in the Sqlite database of the local edge gateway, and it is determined whether there is a matching record. If so, go to step S3; otherwise, go to step S4.
8. The automated website building terminal based on the Internet of Things platform according to claim 6, characterized in that: The step S3 specifically comprises the following steps: Control the local edge gateway to push the corresponding site building information to the site end; The control site caches the site building information to the local database and starts the debugging software to complete the site building.
9. The automated website building terminal based on the Internet of Things platform according to claim 6, characterized in that: The step S1 specifically includes the following steps: The control site generates a unique identification code for the device to be built and sends it to the local edge gateway using the MQTT protocol.
10. An automated website building terminal based on an Internet of Things platform according to any one of claims 6 to 9, characterized in that: The unique identification code is the SN code; the site establishment information corresponding to the identification code is the configuration information and device communication parameter information corresponding to the SN code.
Citation Information
Patent Citations
Site inspection method
CN107610267A
Data acquisition control device and method for edge end of energy storage power station
CN115967175A
Energy storage operation and maintenance system and operation and maintenance method
CN116505660A
Automatic configuration Internet of Things system based on MQTT protocol
CN116827769A
Management collaboration method of side end equipment based on Internet of Things gateway
CN117336035A
