Communication method, cloud master station, local gateway, system and medium based on DL-T860 model
By adopting a communication method based on the DL-T860 model between the in-situ gateway and the cloud master station, a unified station-wide system configuration model is established, which solves the problems of low data transmission efficiency and high cost in the existing technology, and realizes efficient and low traffic data transmission.
Patent Information
- Application Number
- CN202211212291.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-09-30
AI Technical Summary
The prior art lacks communication methods suitable for in-place gateways and remote cloud master stations, resulting in low data transmission efficiency and high cost.
Using the communication method based on the DL-T860 model, a unified whole-site system configuration model is established between the cloud master station and the in-place gateway to achieve efficient data transmission and low traffic. The method includes receiving the initial data file of the in-place gateway, filtering and complying with the preset model, monitoring file attribute changes in real time, interrupting communication connections and changing the data file.
It realizes efficient data transmission between the on-site gateway and the cloud master station, reduces the traffic and cost of data transmission, and achieves the goal of plug-and-play and unified model.
Smart Images

Figure CN115473888B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method, a cloud master station, an on-site gateway, a system and a medium based on a DL-T860 model. The present application relates to the field of communication technology, and in particular to a communication method, a system, a device and a medium based on a DL-T860 model. Background Art
[0002] New energy industrial parks have emerged based on the dual-carbon background. In addition to the construction of photovoltaic, wind power, energy storage and other infrastructure, local gateways and remote cloud master stations represent the intelligence of new energy industrial parks. Limited by geographical location and network conditions, the communication between the local gateway and the remote cloud master station is basically 4G and 5G. MQTT (Message Queuing Telemetry Transport) is a message protocol based on the publish / subscribe paradigm under the ISO standard (ISO / IEC PRF 20922). It works on the TCP / IP protocol family and is a publish / subscribe message protocol designed for remote devices with low hardware performance and poor network conditions. The MQTT protocol is lightweight, simple, open and easy to implement, which makes it very suitable for communication between local gateways and remote cloud masters.
[0003] The information transmission between the local gateway and the remote cloud master station needs to have a format agreement so that the transmitting and receiving ends can maintain the consistency of data information, and due to wireless transmission, the transmission process requires low traffic and high efficiency. However, there is currently a lack of a communication model suitable for the local gateway and the remote cloud master station. Summary of the invention
[0004] The embodiments of the present application provide a communication method, system, device and medium cloud master station and local gateway, system and medium based on the DL-T860 model to solve the technical problem of the current lack of a communication method suitable for local gateway and remote cloud master station.
[0005] On the one hand, an embodiment of the present application provides a communication method based on the DL-T860 model, which is applied to a cloud master station, and the method includes:
[0006] Receiving an initial data file of the local gateway, filtering the data file to obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model presets file attributes; wherein the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the size of the data, and the timestamp of the data;
[0007] monitoring the file attributes in real time or at regular intervals, and interrupting the communication connection with the local gateway when one of the file attributes changes;
[0008] Based on the changes in the file attributes, the data file uploaded by the local gateway is changed in real time.
[0009] In one implementation of the present application, before receiving the initial data file of the local gateway, the method further includes:
[0010] Determine that the local gateway has been connected to various sub-devices; wherein the sub-devices include: an energy storage battery management system, a photovoltaic energy storage inverter, and an electric meter;
[0011] If the various sub-devices have been successfully connected, configure the wireless network card and import the whole station system configuration file;
[0012] Receiving a registration request instruction sent by the local gateway;
[0013] Based on the registration request instruction, determine whether the local gateway is registering for the first time, and if it is the first time registration, return a registration success message;
[0014] Based on the registration success message, a communication connection with the local gateway is established.
[0015] In one implementation of the present application, the determining whether the local gateway is registering for the first time based on the registration request instruction specifically includes:
[0016] Parsing the device ID field carried in the registration request instruction;
[0017] Traversing the device ID field in the storage unit, if the device ID field does not exist, it proves that the current local gateway is not registered in the cloud master station;
[0018] Execute the registration operation, store the device ID field into the storage unit, and send a response message of successful registration to the current local gateway.
[0019] In one implementation of the present application, the real-time modification of the data file uploaded by the local gateway specifically includes:
[0020] Determining that a whole-station system configuration file model of the local gateway has changed, and interrupting the communication connection with the local gateway;
[0021] Receiving a message of the change of the whole-station system configuration file model sent by the local gateway, and sending a general call command to summon the whole-station system configuration file of the local gateway;
[0022] Receiving the latest version of the whole-station system configuration file sent by the local gateway based on the general call command, and generating the latest version of the whole-station system configuration file model according to the latest version of the whole-station system configuration file;
[0023] Based on the latest version of the whole-station system configuration file model, a communication connection with the local gateway is established again, and data uploaded by the local gateway according to the latest version of the whole-station system configuration file model is received.
[0024] The embodiment of the present application provides a communication method based on the DL-T860 model, which is applied to a local gateway. The method includes:
[0025] Sending an initial data file to the cloud master station; wherein the initial data file is filtered at the cloud master station to obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model presets file attributes; the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the data size, and the timestamp of the data;
[0026] Real-time or scheduled monitoring of the communication connection status with the cloud master station;
[0027] After the connection state is disconnected, the latest version of the whole station system configuration file is sent to the cloud master station.
[0028] In one implementation of the present application, after the real-time or periodic monitoring of the communication connection status with the cloud master station, the method further includes:
[0029] By generating the latest version of the whole-station system configuration file model based on the latest version of the whole-station system configuration file, a communication connection with the cloud master station is established again, and data is uploaded according to the latest version of the whole-station system configuration file model.
[0030] An embodiment of the present application provides a cloud master station, the cloud master station comprising:
[0031] A file receiving module is used to receive an initial data file of the local gateway, filter the data file, and obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model is set with file attributes; wherein the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the size of the data, and the timestamp of the data;
[0032] An attribute monitoring module, used for monitoring the attributes of the file in real time or at a fixed time, and interrupting the communication connection with the local gateway when one of the attributes of the file changes;
[0033] The data change module is used to change the data file uploaded by the local gateway in real time based on the change of the file attributes.
[0034] An embodiment of the present application provides an on-site gateway, the on-site gateway comprising:
[0035] A data sending module is used to send an initial data file to the cloud master station; wherein the initial data file is filtered at the cloud master station to obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model presets file attributes; the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the data size, and the timestamp of the data;
[0036] The communication status monitoring module is used to monitor the communication connection status with the cloud master station in real time or at regular intervals.
[0037] An embodiment of the present application provides a communication system, including a cloud master station and an on-site gateway.
[0038] An embodiment of the present application provides a computer storage medium, on which a computer program is stored, and the computer program executes the aforementioned communication method when running.
[0039] The communication method, system, device and medium based on the DL-T860 model provided in the embodiment of the present application, through the calling command, calls the full-station system configuration model of the local gateway, so that the local gateway and the cloud master station have a unified model, and there is a basis for subsequent data transmission and data analysis. This registration and calling method can be used directly in the cloud master station, without the need for operation and maintenance personnel to perform any operations at the remote master station, achieving the goal of plug-and-play. And it can filter out unnecessary data, greatly improving the efficiency of data transmission. The embodiment of the present application performs data transmission between the local gateway and the cloud master station by presetting the full-station system configuration model, achieving high-efficiency and low-traffic transmission, and saving data transmission costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0041] Figure 1 A flow chart of a communication method based on the DL-T860 model performed by a cloud master station provided in an embodiment of the present application;
[0042] Figure 2 A flow chart of a communication method based on the DL-T860 model performed by an on-site gateway provided in an embodiment of the present application;
[0043] Figure 3 A cloud master station system structure diagram provided for an embodiment of the present application;
[0044] Figure 4 A schematic diagram of an on-site gateway provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0046] The embodiments of the present application provide a communication method, system, device and medium based on the DL-T860 model to solve the current technical problem of lack of a communication method suitable for an on-site gateway and a remote cloud master station.
[0047] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0048] Figure 1 A flow chart of a communication method based on the DL-T860 model implemented by a cloud master station according to an embodiment of the present application. Figure 1 As shown, the method mainly comprises the following steps:
[0049] Step 101: Receive an initial data file from a local gateway, filter the initial data file, and obtain a data file that conforms to a preset DL-T860 model.
[0050] In the embodiment of the present application, after the local gateway is powered on, if it is to communicate with the remote cloud master station, it is necessary to send a registration request instruction to register the device in the remote cloud master station before communication permission can be obtained.
[0051] In one embodiment of the present application, before sending a registration request instruction to the remote cloud master station, the local gateway must first confirm that all its subordinate sub-devices are connected, including but not limited to: energy storage battery management system, photovoltaic energy storage inverter, and electricity meter. After confirming that all sub-devices are connected, import the whole station system configuration file.
[0052] If the sub-devices of the local gateway are already connected, continue to configure the wireless network card. The wireless network card here can be a 4G network card, a 5G network card, or an adapter network card for other wireless transmission networks.
[0053] In the embodiment of the present application, after receiving the registration request instruction sent by the local gateway, the remote cloud master station first determines the legality of the registration request instruction, and ignores the instruction if it is illegal to prevent hacker attacks. If it is legal, proceed to the next step.
[0054] The cloud master searches the internal storage unit according to the ID field carried in the registration request instruction to see if it already exists. If the ID field already exists in the cloud master, it proves that the local gateway currently requesting registration has been registered with the cloud master before, and there is no need to register again. The cloud master sends a response message containing a registration failure error code to the local gateway.
[0055] If the cloud master does not search the ID field in the internal storage unit, it proves that the local gateway has not been registered with the cloud master before. Next, the cloud master will perform the registration operation, store the ID field in the cloud master's storage unit, and send a successful registration response message to the local gateway.
[0056] In the embodiment of the present application, after the wireless network card is configured, the local gateway establishes an MQTT communication connection with the remote cloud master. After receiving the response message of successful registration sent by the cloud master, the local gateway continues to send an MQTT connection request instruction to the cloud master, and the cloud master returns an MQTT connection request confirmation, and the MQTT communication connection is formally established.
[0057] In an embodiment of the present application, after establishing a communication connection with the local gateway based on the successful registration message, the cloud master station receives the data files uploaded by the local gateway based on a preset time period. The cloud master station filters the data files uploaded by the local gateway based on the full-station system configuration file model, obtains data files that conform to the full-station system configuration file model, and stores and backs up the data files that conform to the full-station system configuration file model. Filter out data that does not conform to the full-station system configuration file model. File attributes are preset in the preset DL-T860 model; wherein the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the size of the data, and the timestamp of the data.
[0058] In the embodiment of the present application, the local gateway sends data files to the cloud master station based on the established MQTT communication connection. Specifically, the data files are uploaded through the full-station system configuration file model. The cloud master station sends the full-station system configuration file model to the local gateway, and the local gateway can preliminarily upload files for the channel based on the model.
[0059] It should be noted that the local gateway and cloud master station in the embodiment of the present application are used in the new energy industrial park, and the whole station system configuration file model is specifically a model that implements the DL-T860 power industry standard.
[0060] Step 102: Monitor file attributes in real time or periodically. If one of the file attributes changes, interrupt the communication connection with the local gateway.
[0061] In the embodiment of the present application, the cloud master station will also monitor the changes of the model in real time. If the configuration file model of the entire station system changes after a period of time, the MQTT communication connection with the local gateway will be interrupted. Because the model changes at this time, the transmitted data will also change accordingly, and it cannot meet the needs, and the transmission needs to be stopped immediately. Specifically, changes in the file attributes of the data uploaded by the local gateway, such as changes in the data set name, data size, data timestamp, etc., will cause the model to change.
[0062] Step 103: based on the change of the file attributes, the data file uploaded by the local gateway is changed in real time.
[0063] In an embodiment of the present application, the cloud master sends a message of the change of the whole station system configuration file model to the local gateway, and then sends a general call command to summon the whole station system configuration file of the local gateway. In response to the general call command, the cloud master receives the latest version of the whole station system configuration file sent by the local gateway. The cloud master receives the latest version of the whole station system configuration file and generates the latest version of the whole station system configuration file model. Then, the MQTT communication connection is re-established according to the latest version of the model to receive the file of the local gateway.
[0064] Figure 2 A flow chart of a communication method based on the DL-T860 model performed by a local gateway provided in an embodiment of the present application, Figure 2 In the method, the method mainly comprises the following steps:
[0065] Step 201: Send an initial data file to the cloud master station; wherein the initial data file is filtered at the cloud master station to obtain a data file that conforms to a preset DL-T860 model.
[0066] In the embodiment of the present application, after the local gateway is powered on, if it is to communicate with the remote cloud master station, it is necessary to send a registration request instruction to register the device in the remote cloud master station before communication permission can be obtained.
[0067] In one embodiment of the present application, before sending a registration request instruction to the remote cloud master station, the local gateway must first confirm that all its subordinate sub-devices are connected, including but not limited to: energy storage battery management system, photovoltaic energy storage inverter, and electricity meter. After confirming that all sub-devices are connected, import the whole station system configuration file.
[0068] If the sub-devices of the local gateway are already connected, continue to configure the wireless network card. The wireless network card here can be a 4G network card, a 5G network card, or an adapter network card for other wireless transmission networks.
[0069] In the embodiment of the present application, after the local gateway sends a registration request instruction to the remote cloud master station, the legality of the registration request instruction is first judged. If it is illegal, the instruction is ignored to prevent hacker attacks. If it is legal, the next step is performed. The cloud master station traverses the ID field of the registration request instruction. If it cannot be found, it proves that it has not been registered, and returns a response message of successful registration.
[0070] In an embodiment of the present application, the local gateway receives a response message of successful registration, and then after configuring the wireless network card, the local gateway continues to send an MQTT connection request instruction to the cloud master station after receiving the response message of successful registration sent by the cloud master station. The cloud master station returns an MQTT connection request confirmation, and the MQTT communication connection is formally established.
[0071] In an embodiment of the present application, after establishing a communication connection with the cloud master station based on the successful registration message, the local gateway uploads data files based on a preset time period. The local gateway filters the data files uploaded by the local gateway based on the full-station system configuration file model to obtain data files that conform to the full-station system configuration file model, and filters out data that does not conform to the full-station system configuration file model. File attributes are preset in the preset DL-T860 model; wherein the file attributes include: the names of each sub-device of the local gateway, the name of the data set, the size of the data, and the timestamp of the data.
[0072] In the embodiment of the present application, the local gateway sends data files to the cloud master station based on the established MQTT communication connection. Specifically, the data files are uploaded through the full-station system configuration file model. The cloud master station sends the full-station system configuration file model to the local gateway, and the local gateway can preliminarily upload files for the channel based on the model.
[0073] Step 202: monitor the file attributes in real time or periodically, and interrupt the communication connection with the cloud master station when one of the file attributes changes.
[0074] In the embodiment of the present application, the system will also monitor the changes of the model in real time. If the configuration file model of the entire station system changes after a period of time, the local gateway will interrupt the MQTT communication connection with the cloud master station. Because the model changes at this time, the transmitted data will also change accordingly, and it cannot meet the needs, and the transmission needs to be stopped immediately. Specifically, changes in the file attributes of the data uploaded by the local gateway, such as changes in the data set name, data size, data timestamp, etc., will cause the model to change.
[0075] Step 203: Based on the change of the file attributes, the data file uploaded to the cloud host station is changed in real time.
[0076] The local gateway receives the message of the change of the whole station system configuration file model sent by the cloud master station, and sends a general call command to summon the whole station system configuration file of the local gateway. In response to the general call command, the local gateway sends the latest version of the whole station system configuration file to the cloud master station. The cloud master station receives the latest version of the whole station system configuration file and generates the latest version of the whole station system configuration file model. Then, the MQTT communication connection is re-established according to the latest version of the model, and files are continuously uploaded to the cloud master station.
[0077] The communication method based on the DL-T860 model provided in the embodiment of the present application uses a summon command to summon the full-station system configuration model of the local gateway, so that the local gateway and the cloud master station have a unified model, and subsequent data transmission and data analysis have a basis. This registration and summoning method can be used directly in the cloud master station without the need for operation and maintenance personnel to perform any operations at the remote master station, achieving the goal of plug-and-play. And it can filter out unnecessary data, greatly improving the efficiency of data transmission. The embodiment of the present application performs data transmission between the local gateway and the cloud master station by presetting the full-station system configuration model, achieving high-efficiency and low-traffic transmission, and saving data transmission costs.
[0078] The above is a communication method based on the DL-T860 model provided in the embodiment of the present application. Based on the same inventive concept, the embodiment of the present application also provides a cloud master station, such as Figure 3 As shown, Figure 3 A cloud master station system structure diagram provided in an embodiment of the present application, in Figure 3 In the embodiment, the cloud master station includes:
[0079] The instruction receiving module 301 is used for the cloud master station to receive the registration request instruction sent by the local gateway;
[0080] The initial registration determination module 302 is used to determine whether the local gateway is registering for the first time based on the registration request instruction, and if it is the initial registration, return a registration success message;
[0081] The communication module 303 is used to establish a communication connection with the local gateway based on the registration success message;
[0082] The model data change module 304 is used for the cloud master station to receive the data uploaded by the local gateway according to the preset DL-T860 model, monitor the changes of the preset DL-T860 model, and change the data file uploaded by the local gateway in real time according to the changes of the preset DL-T860 model.
[0083] The embodiment of the present application provides a communication system between an on-site gateway and a cloud master station. Through a summon command, the full-station system configuration model of the on-site gateway is summoned, so that the on-site gateway and the cloud master station have a unified model, and subsequent data transmission and data analysis have a basis. This registration and summoning method can be used directly in the cloud master station without the need for operation and maintenance personnel to perform any operations at the remote master station, achieving the goal of plug-and-play. And it can filter out unnecessary data, greatly improving the efficiency of data transmission. The embodiment of the present application performs data transmission between the on-site gateway and the cloud master station by presetting the full-station system configuration model, achieving high-efficiency and low-traffic transmission, and saving data transmission costs.
[0084] Based on the same inventive concept, the embodiment of the present application also provides a local gateway, Figure 4 A schematic diagram of an on-site gateway provided in an embodiment of the present application, such as Figure 4 As shown, the device mainly includes:
[0085] The data sending module 401 is used to send an initial data file to the cloud master station; wherein the initial data file is filtered at the cloud master station to obtain a data file that conforms to a preset DL-T860 model, and the preset DL-T860 model has preset file attributes; the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the data size, and the timestamp of the data;
[0086] The communication status monitoring module 402 is used to monitor the communication connection status with the cloud master station in real time or at regular intervals.
[0087] Based on the same inventive concept, an embodiment of the present application also provides a communication system, including a cloud master station and an on-site gateway.
[0088] In addition, an embodiment of the present application further provides a computer storage medium storing a computer program, wherein the computer program executes any of the aforementioned communication methods when running. The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0089] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0091] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0092] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0093] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0094] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A communication method based on the DL-T860 model, characterized in that: Applied to a cloud master station, the method includes: Receiving an initial data file of the local gateway, filtering the initial data file to obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model presets file attributes; wherein the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the size of the data, and the timestamp of the data; monitoring the file attributes in real time or at regular intervals, and interrupting the communication connection with the local gateway when one of the file attributes changes; Based on the change of the file attributes, the data file uploaded by the local gateway is changed in real time; the real-time change of the data file uploaded by the local gateway specifically includes: determining that the whole-station system configuration file model of the local gateway has changed, and interrupting the communication connection with the local gateway; wherein the whole-station system configuration file model is generated based on the DL-T860 power industry standard; receiving the message of the change of the whole-station system configuration file model sent by the local gateway, and sending a general call command to summon the whole-station system configuration file of the local gateway; receiving the latest version of the whole-station system configuration file sent by the local gateway based on the general call command, and generating the latest version of the whole-station system configuration file model according to the latest version of the whole-station system configuration file; based on the latest version of the whole-station system configuration file model, re-establishing the communication connection with the local gateway, and receiving the data uploaded by the local gateway according to the latest version of the whole-station system configuration file model; wherein the cloud master station sends the whole-station system configuration file model to the local gateway device, and the local gateway device uploads the data file for the channel according to the model; when the whole-station system configuration file model changes, the transmitted data will also change accordingly.
2. The communication method based on the DL-T860 model according to claim 1, characterized in that: Before receiving the initial data file of the local gateway, the method further includes: Determine that the local gateway has been connected to various sub-devices; wherein the sub-devices include: an energy storage battery management system, a photovoltaic energy storage inverter, and an electric meter; If the various sub-devices have been successfully connected, configure the wireless network card and import the whole station system configuration file; Receiving a registration request instruction sent by the local gateway; Based on the registration request instruction, determine whether the local gateway is registering for the first time, and if it is the first time registration, return a registration success message; Based on the registration success message, a communication connection with the local gateway is established.
3. The communication method based on the DL-T860 model according to claim 2, characterized in that: The determining, based on the registration request instruction, whether the local gateway is registering for the first time specifically includes: Parsing the device ID field carried in the registration request instruction; Traversing the device ID field in the storage unit, if the device ID field does not exist, it proves that the current local gateway is not registered in the cloud master station; Execute the registration operation, store the device ID field into the storage unit, and send a response message of successful registration to the current local gateway.
4. A communication method based on the DL-T860 model, characterized in that: Applied to an on-site gateway, the method comprises: Sending an initial data file to the cloud master station; wherein the initial data file is filtered at the cloud master station to obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model presets file attributes; the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the data size, and the timestamp of the data; Real-time or scheduled monitoring of the communication connection status with the cloud master station; After the connection state is disconnected, the latest version of the whole station system configuration file is sent to the cloud master station; sending the latest version of the whole station system configuration file to the cloud master station specifically includes: the cloud master station determines that the whole station system configuration file model of the local gateway has changed, and interrupts the communication connection with the local gateway; wherein the whole station system configuration file model is generated based on the DL-T860 power industry standard; the cloud master station receives the message of the change of the whole station system configuration file model sent by the local gateway, and sends a general call command to summon the whole station system configuration file of the local gateway; the cloud master station receives the latest version of the whole station system configuration file sent by the local gateway based on the general call command, and generates the latest version of the whole station system configuration file model according to the latest version of the whole station system configuration file; the cloud master station re-establishes a communication connection with the local gateway based on the latest version of the whole station system configuration file model, and receives the data uploaded by the local gateway according to the latest version of the whole station system configuration file model; wherein the cloud master station sends the whole station system configuration file model to the local gateway device, and the local gateway device uploads the data file for the channel according to the model; when the whole station system configuration file model changes, the transmitted data will also change accordingly.
5. The communication method based on the DL-T860 model according to claim 4, characterized in that: After the real-time or periodic monitoring of the communication connection status with the cloud master station, the method further includes: By generating the latest version of the whole-station system configuration file model based on the latest version of the whole-station system configuration file, a communication connection with the cloud master station is established again, and data is uploaded according to the latest version of the whole-station system configuration file model.
6. A cloud master station, characterized in that: The cloud master station includes: A file receiving module, used for receiving an initial data file of the local gateway, filtering the initial data file to obtain a data file conforming to a preset DL-T860 model, wherein the preset DL-T860 model is provided with file attributes; wherein the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the size of the data, and the timestamp of the data; An attribute monitoring module, used for monitoring the attributes of the file in real time or at a fixed time, and interrupting the communication connection with the local gateway when one of the attributes of the file changes; A data change module is used to change the data file uploaded by the local gateway in real time based on the change of the file attribute; the real-time change of the data file uploaded by the local gateway specifically includes: determining that the whole station system configuration file model of the local gateway has changed, and interrupting the communication connection with the local gateway; wherein the whole station system configuration file model is generated based on the DL-T860 power industry standard; receiving the message of the change of the whole station system configuration file model sent by the local gateway, and sending a general call command to summon the whole station system configuration file of the local gateway; receiving the latest version of the whole station system configuration file sent by the local gateway based on the general call command, and generating the latest version of the whole station system configuration file model according to the latest version of the whole station system configuration file; based on the latest version of the whole station system configuration file model, re-establishing the communication connection with the local gateway, and receiving the data uploaded by the local gateway according to the latest version of the whole station system configuration file model; wherein the cloud master station sends the whole station system configuration file model to the local gateway device, and the local gateway device uploads the data file for the channel according to the model; when the whole station system configuration file model changes, the transmitted data will also change accordingly.
7. A local gateway, characterized in that: The local gateway comprises: A data sending module is used to send an initial data file to the cloud master station; wherein the initial data file is filtered at the cloud master station to obtain a data file that conforms to a preset DL-T860 model, wherein the preset DL-T860 model presets file attributes; the file attributes include: the name of each sub-device of the local gateway, the name of the data set, the data size, and the timestamp of the data; The communication status monitoring module is used to monitor the communication connection status with the cloud master station in real time or at a scheduled time, and send the latest version of the whole station system configuration file to the cloud master station after the connection status is disconnected; sending the latest version of the whole station system configuration file to the cloud master station specifically includes: the cloud master station determines that the whole station system configuration file model of the local gateway has changed, and interrupts the communication connection with the local gateway; wherein the whole station system configuration file model is generated based on the DL-T860 power industry standard; the cloud master station receives the message of the whole station system configuration file model change sent by the local gateway, and sends a general call command to summon the whole station system configuration file of the local gateway ; The cloud master station receives the latest version of the whole station system configuration file sent by the local gateway based on the general call command, and generates the latest version of the whole station system configuration file model according to the latest version of the whole station system configuration file; the cloud master station re-establishes a communication connection with the local gateway based on the latest version of the whole station system configuration file model, and receives the data uploaded by the local gateway according to the latest version of the whole station system configuration file model; wherein, the cloud master station sends the whole station system configuration file model to the local gateway device, and the local gateway device uploads the data file for the channel according to the model; when the whole station system configuration file model changes, the transmitted data will also change accordingly.
8. A communication system, characterized in that: It includes the cloud master station described in claim 6 and the on-site gateway described in claim 7.
9. A computer storage medium, characterized in that The computer storage medium stores a computer program, and the computer program executes the communication method according to any one of claims 1 to 5 when running.
Citation Information
Patent Citations
Low-voltage power distribution network data automatic access method, device and system
CN111525698A