Internet of Things equipment model self-expansion method, side equipment access method, end equipment access method, system, computer equipment and storage medium
By defining the measurement dictionary table and object model file, and using the IoT device model self-scaling method, the automatic matching and data interaction of devices is realized, which solves the problem that existing access modes are difficult to meet the access of massive equipment, realizes plug-and-play and fast access, reduces the operation and maintenance workload, and improves the perception of the operating status of the low-voltage distribution network.
Patent Information
- Application Number
- CN202411948650.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-11
AI Technical Summary
The existing access mode is difficult to meet the huge number of edge and end equipment access requirements, and the lack of a unified access process, resulting in large operation and maintenance workload of the main station, making it difficult to achieve a comprehensive perception of the operating status of the low-voltage distribution network.
By defining the measurement dictionary table and object model file, the IoT device model self-scaling method is adopted to realize automatic matching, identification and data interaction of devices, support plug-and-play, simplify the access process, and achieve fast and convenient device access through the access method of edge devices and end devices.
It improves the efficiency and accuracy of data interaction, supports the access of massive IoT devices, reduces access difficulty and cost, reduces the operation and maintenance workload of the main station, and realizes a comprehensive perception of the operating status of the low-voltage distribution network.
Smart Images

Figure CN119814552A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to an Internet of Things device model self-expansion method, edge device access method, terminal device access method, system, computer equipment and storage medium. Background Art
[0002] As the operation and control of distribution networks extend from medium voltage to low voltage, millions of medium and low voltage distribution equipment and various sensors have been connected to the system, and the number of measurement points has reached tens of millions. This trend makes it difficult for traditional access modes to effectively cope with such a huge demand for edge and terminal device access. In order to achieve a comprehensive perception of the operating status of the low-voltage distribution network, the master station system needs to access a large number of IoT devices, including edge proxy devices with data aggregation, edge computing and communication with superiors, as well as terminal devices composed of various intelligent sensor devices, so as to obtain various operating data of the low-voltage distribution network. Therefore, standardizing the unified access process of equipment and ensuring that low-voltage equipment can be plug-and-play is of great significance to greatly reduce the workload of master station operation and maintenance and to ensure the construction of the entire distribution Internet of Things. Summary of the invention
[0003] Purpose of the invention: In order to solve the problem that the existing access mode is difficult to meet the access needs of a large number of edge and terminal devices, and the problem that the existing access technology lacks a unified access process, the present invention proposes an Internet of Things device model self-expansion method, edge device access method, terminal device access method, system, computer equipment and storage medium to achieve plug-and-play of Internet of Things devices, greatly reduce the operation and maintenance workload of the distribution cloud master station, and achieve comprehensive perception of the operating status of the low-voltage distribution network.
[0004] Technical solution: A self-expansion method for an IoT device model, comprising the following steps:
[0005] Perform device feature analysis on the IoT device to obtain the device features of the IoT device;
[0006] Determine the type of IoT device based on the device characteristics of the IoT device;
[0007] According to the type of IoT device, select the corresponding object model file to obtain the corresponding IoT device model;
[0008] According to the measurement dictionary table, write the corresponding measurement information into the IoT device model to obtain the self-expanded IoT device model;
[0009] The object model file is a file that defines the type and function of the IoT device model;
[0010] The measurement dictionary table is a file that defines the measurement parameters required by the IoT device model.
[0011] Furthermore, the object model file is a file that defines the type and function of the IoT device model from three dimensions: device attributes, device services, and events; the object model file of the edge device includes: device attributes, device service types, and event attribute arrays.
[0012] Furthermore, the measurement dictionary table includes: id, code, name and note, wherein id represents the device id and code represents the device code;
[0013] When code is in the range of 1000-9999, name is the English name of the telemetry, and note is the Chinese name of the telemetry;
[0014] When code is in the range of 10000-19999, name is the English name of the remote signal, and note is the Chinese name of the remote signal;
[0015] When code is in the range of 20000-21999, name is the English name of the cumulative amount, and note is the Chinese name of the cumulative amount;
[0016] When code is in the range of 22000-23999, name is the English name of the parameter variable, and note is the Chinese name of the parameter variable.
[0017] The present invention discloses an edge device access method, comprising the following steps:
[0018] Create edge device models on the IoT management platform;
[0019] Create an edge device ledger of the edge device model on the IoT management platform;
[0020] Obtain the registration information sent by the edge device, review the sent registration information, and send a response to the edge device only when the sent registration information is consistent with the information in the edge device ledger to complete the access of the edge device;
[0021] The step of creating an edge device model on the IoT management platform includes:
[0022] When the edge device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same edge device model on the IoT management platform;
[0023] The specific operations of creating an edge device model on the power distribution cloud master station include:
[0024] The above disclosed method for self-extension of IoT device model is adopted to create an edge device model on the power distribution cloud master station.
[0025] Furthermore, the step of creating an edge device ledger of an edge device model on the IoT management platform specifically includes: when creating an edge device ledger of an edge device model on the power distribution cloud master station, the power distribution cloud master station calls an API interface of the IoT management platform to create the same edge device ledger on the IoT management platform;
[0026] The step of creating an edge device ledger of an edge device model on the power distribution cloud master station specifically includes: creating an edge device ledger of an edge device model on the power distribution cloud master station by acquiring ledger information of the created edge device model.
[0027] The present invention discloses a terminal device access method, comprising the following steps:
[0028] Create a terminal device model on the IoT management platform;
[0029] The IoT management platform obtains the APP application of the terminal device and installs the APP application of the terminal device on the corresponding edge device;
[0030] The IoT management platform obtains the end device registration message sent by the edge device, and reviews the end device registration message. Only when the review is passed, it creates the end device ledger of the end device model, and pushes the added end device information to the power distribution cloud master station for creating the end device ledger of the end device model on the power distribution cloud master station; at the same time, it responds to the end device registration success message to the edge device;
[0031] The IoT management platform obtains the collected data sent by the edge devices from the end devices, verifies the collected data, and only pushes the collected data that passes the verification to the power distribution cloud master station;
[0032] The step of creating a terminal device model on the IoT management platform includes:
[0033] When the end device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same end device model on the IoT management platform;
[0034] The specific operations of creating a terminal device model on the power distribution cloud master station include:
[0035] The above disclosed method for self-expansion of IoT device models is adopted to create a terminal device model on the power distribution cloud master station.
[0036] Furthermore, the verification of the collected data specifically includes: the IoT management platform verifies the collected data according to the IoT model file of the terminal device.
[0037] The present invention discloses a terminal device access method, comprising the following steps:
[0038] Create a terminal device model on the power distribution cloud master station, and call the API interface of the IoT management platform to create the same terminal device model on the IoT management platform;
[0039] By receiving the added terminal device information sent by the IoT management platform, the terminal device ledger of the terminal device model is created on the power distribution cloud master station;
[0040] The power distribution cloud master station receives the collected data sent from the IoT management platform and provides it to business applications for use;
[0041] The specific operations of creating a terminal device model on the power distribution cloud master station include:
[0042] The above disclosed method for self-expansion of IoT device models is adopted to create a terminal device model on the power distribution cloud master station.
[0043] The present invention discloses an edge device access system, comprising:
[0044] An edge device model creation module is used to create an edge device model on the IoT management platform;
[0045] The edge device ledger creation module is used to create an edge device ledger of the edge device model on the IoT management platform;
[0046] The edge device access module is used to obtain the registration information sent by the edge device, review the sent registration information, and send a response to the edge device only when the sent registration information is consistent with the information in the edge device ledger to complete the access of the edge device;
[0047] The step of creating an edge device model on the IoT management platform includes:
[0048] When the edge device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same edge device model on the IoT management platform;
[0049] The specific operations of creating an edge device model on the power distribution cloud master station include:
[0050] The above disclosed method for self-extension of IoT device model is adopted to create an edge device model on the power distribution cloud master station.
[0051] Furthermore, the creation of an edge device ledger of an edge device model on the IoT management platform specifically includes the following operations: when the ledger information of the created edge device model is obtained on the distribution cloud master station to create the edge device ledger, the distribution cloud master station calls the API interface of the IoT management platform to create the same edge device ledger on the IoT management platform.
[0052] The present invention discloses a terminal device access system, comprising:
[0053] The terminal device model creation module is used to create the terminal device model on the IoT management platform;
[0054] The application installation module is used to obtain the APP application of the terminal device on the IoT management platform and install the APP application of the terminal device on the corresponding edge device;
[0055] The terminal equipment account creation module is used to obtain the terminal equipment registration message sent by the edge device, review the terminal equipment registration message, and only after the review is passed, create the terminal equipment account of the terminal equipment model, and push the added terminal equipment information to the power distribution cloud master station for creating the terminal equipment account of the terminal equipment model on the power distribution cloud master station; at the same time, respond to the terminal equipment registration success message to the edge device;
[0056] The data verification module is used to obtain the collected data sent by the edge device from the end device, verify the collected data, and only push the collected data that passes the verification to the power distribution cloud master station;
[0057] The step of creating a terminal device model on the IoT management platform includes:
[0058] When the end device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same end device model on the IoT management platform;
[0059] The specific operations of creating a terminal device model on the power distribution cloud master station include:
[0060] The above disclosed method for self-expansion of IoT device models is adopted to create a terminal device model on the power distribution cloud master station.
[0061] Furthermore, the verification of the collected data specifically includes: the IoT management platform verifies the collected data according to the IoT model file of the terminal device.
[0062] The present invention discloses a terminal device access system, comprising:
[0063] The terminal device creation module is used to create a terminal device model on the power distribution cloud master station and call the API interface of the IoT management platform to create the same terminal device model on the IoT management platform;
[0064] The terminal equipment account creation module is used to receive the added terminal equipment information sent by the IoT management platform and create the terminal equipment account of the terminal equipment model on the power distribution cloud master station;
[0065] The data receiving module is used to receive the collected data sent by the IoT management platform and provide it to business applications for use;
[0066] The specific operations of creating a terminal device model on the power distribution cloud master station include:
[0067] The above disclosed method for self-expansion of IoT device models is adopted to create a terminal device model on the power distribution cloud master station.
[0068] The present invention discloses a computer device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-disclosed method for self-expansion of an Internet of Things device model are implemented.
[0069] The present invention discloses a storage medium, wherein the storage medium stores an Internet of Things device model self-expansion program, and when the Internet of Things device model self-expansion program is executed by at least one processor, the steps of the above-disclosed Internet of Things device model self-expansion method are implemented.
[0070] Beneficial effects: Compared with the existing technology, it has the following advantages:
[0071] (1) The present invention defines a measurement dictionary table and a physical model file, and realizes automatic matching, identification and data interaction of devices based on the self-extension method of the IoT device model, thereby improving the efficiency and accuracy of data interaction;
[0072] (2) The present invention realizes plug-and-play through the object model file, can support the access of massive IoT devices, greatly simplifies the access process of IoT devices, and reduces the access difficulty and cost;
[0073] (3) The present invention proposes the access of edge devices and terminal devices, realizes the fast and convenient access of devices, improves the efficiency of access of IoT devices, and provides strong support for the construction and development of smart grids. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1 This is a flow chart of a self-expansion method for an Internet of Things device model proposed by the present invention;
[0075] Figure 2 This is the access flow chart for edge devices;
[0076] Figure 3 This is the access flow chart of the terminal device;
[0077] Figure 4 Flowchart for bottom-up access of edge devices;
[0078] Figure 5 This is a top-down access flow chart for edge devices. DETAILED DESCRIPTION
[0079] The technical solution of the present invention is now further described in conjunction with the accompanying drawings and embodiments.
[0080] Embodiment 1:
[0081] This embodiment proposes a self-expansion method for an IoT device model, such as Figure 1 As shown, it mainly includes the following steps:
[0082] Perform device feature analysis on the IoT device to obtain the device features of the IoT device;
[0083] Determine the type of IoT device based on the device characteristics of the IoT device;
[0084] According to the type of IoT device, select the corresponding object model file to obtain the corresponding IoT device model;
[0085] According to the measurement dictionary table, write the corresponding measurement information into the IoT device model to obtain the self-expanded IoT device model;
[0086] The object model file is a file that defines the type and function of the IoT device model; specifically, the object model file is a file in JSON format, which defines the type and function of the IoT device model from three dimensions: device attributes, device services, and events; the object model file of the edge device includes: device attributes, device service types, and event attribute arrays; the device attributes include but are not limited to: device manufacturer name, manufacturer ID, device model, and device type. Device service types include but are not limited to: service ID, service type, options, and service attribute arrays. Event attribute arrays include but are not limited to: attribute name, data type, whether required, minimum value of 150, maximum value of 220, step size, maximum length, method, and unit.
[0087] The measurement dictionary table is a file that defines the measurement parameters required by the IoT device model. The measurement dictionary table can ensure that the connected device can match and identify the required measurement parameters, thereby achieving plug-and-play functionality. The measurement dictionary table contains: id, code, name and note, where id represents the device id and code represents the device code;
[0088] code is in the range of 1000-9999, name is the English name of the telemetry, and note is the Chinese name of the telemetry;
[0089] code is in the range of 10000-19999, name is the English name of the remote signal, and note is the Chinese name of the remote signal;
[0090] code is in the range of 20000-21999, name is the English name of the cumulative amount, and note is the Chinese name of the cumulative amount;
[0091] code is in the range of 22000-23999, name is the English name of the parameter variable, and note is the Chinese name of the parameter variable.
[0092] Table 1 Measurement dictionary table example
[0093] id code name note 1 1000 PhV_phsA Phase A voltage 2 1002 PhV_phsB Phase B voltage 3 1004 PhV_phsB Phase C voltage 4 1006 PhV_neut Zero sequence voltage
[0094] Among them, the low-voltage equipment measurement and model data are separated in the relational library, and the relational library has no measurement domain; the low-voltage equipment measurement and model data are separated in the traditional real-time library, and the real-time library has no measurement domain; the quality code domain number is the measurement domain number + 1.
[0095] This embodiment defines a measurement dictionary table and a physical model file, and implements automatic matching, identification, and data interaction of devices based on a self-extension method of an IoT device model, thereby improving the efficiency and accuracy of data interaction.
[0096] Embodiment 2:
[0097] Based on Example 1, this example proposes an edge device access method, such as Figure 2 As shown, it mainly includes the following steps:
[0098] Step 1: The plug-and-play service in the power distribution cloud master station obtains the physical model file of the edge device from the resource model library, and imports the measurement dictionary table. According to the physical model file and the measurement dictionary table of the edge device, the IoT device model self-extension method proposed in Example 1 is adopted to create a corresponding edge device model on the power distribution cloud master station;
[0099] Step 2: The plug-and-play service in the power distribution cloud master station calls the API interface of the IoT management platform to create the same edge device model on the IoT management platform. It should be noted that the same type of edge device model only needs to be created once, so as to complete the creation of the edge device model of the power distribution cloud master station and the IoT management platform;
[0100] Step 3: Submit the ledger information of the edge device to the plug-and-play service in the power distribution cloud master station by scanning the code with a handheld terminal or other methods;
[0101] Step 4: The plug-and-play service in the power distribution cloud master station creates an edge device ledger of the edge device model on the power distribution cloud master station, and synchronously calls the API interface of the IoT management platform to complete the creation of the edge device ledger of the power distribution cloud master station and the IoT management platform;
[0102] Step 5: After the device is installed on-site and powered on, the registration information is sent to the IoT management platform. The registration information includes but is not limited to the device identification, manufacturer, and device model.
[0103] Step 6: The IoT management platform reviews the registration information sent, and compares the device identification, manufacturer, device model and other information to see if they are consistent with the information in the edge device ledger. It responds only when the review is passed, completing the automatic registration and access of the edge device. After the edge device is connected, the terminal device APP needs to be installed on the edge device to realize the automatic discovery and registration of the lower-end devices of the edge device.
[0104] The resource model library proposed in this embodiment is used to store resource models of IoT devices. These resource models include device ledgers and object model files.
[0105] The plug-and-play service mentioned in this embodiment realizes the synchronization of the IoT device model between the power distribution cloud master station and the IoT management platform.
[0106] The IoT management platform mentioned in this embodiment is connected to edge, end and other IoT devices downward, and provides a unified API interface upward to realize the interaction between device models and business data.
[0107] This embodiment achieves fast and convenient access to edge devices, improves the efficiency of IoT device access, and provides strong support for the construction and development of smart grids.
[0108] Embodiment 3:
[0109] Based on Example 1, this example proposes a terminal device access method, such as Figure 3 As shown, it mainly includes the following steps:
[0110] Step 1: The plug-and-play service in the power distribution cloud master station obtains the physical model file of the end device from the resource model library, and imports the measurement dictionary table. According to the physical model file and the measurement dictionary table of the edge device, the Internet of Things device model self-extension method proposed in Example 1 is adopted to create a corresponding end device model on the power distribution cloud master station;
[0111] Step 2: The plug-and-play service in the power distribution cloud master station calls the API interface of the IoT management platform to complete the creation of the end device model of the power distribution cloud master station and the IoT management platform. The same type of end device model only needs to be created once;
[0112] Step 3: The IoT management platform downloads the APP application of the terminal device from the application store in the power distribution cloud master station;
[0113] Step 4: The IoT management platform installs the APP application of the terminal device to the edge device;
[0114] Step 5: After the end device is installed on-site and powered on, it automatically registers with the edge device through the discovery registration mechanism;
[0115] Step 6: After receiving the automatic registration information of the end device, the edge device sends the automatic registration information of the end device to the IoT management platform. The automatic registration information of the end device includes but is not limited to the device identification, manufacturer, device model, and the edge device to which it belongs;
[0116] Step 7: After receiving the automatic registration information of the end device, the IoT management platform reviews the registration information, compares the manufacturer, device model, and whether the edge device to which it belongs exists, and only creates the end device ledger of the end device model after the review is passed, and pushes the added end device information to the plug-and-play service in the power distribution cloud master station;
[0117] Step 8: The IoT management platform responds to the edge device with a successful registration message;
[0118] Step 9: After the plug-and-play service in the power distribution cloud master station receives the added end device information pushed by the IoT management platform, it creates an end device ledger of the end device model in the power distribution cloud master station;
[0119] Step 10: After receiving the successful registration response, the edge device notifies the end device to report the collected data;
[0120] Step 11: After receiving the collected data from the end device, the edge device will report the collected data to the IoT management platform through the MQTT protocol. The IoT management platform will verify the data according to the definition of the IoT model;
[0121] Step 11: The IoT management platform pushes the verified collected data to the data analysis service in the power distribution cloud master station;
[0122] Step 12: The data analysis service in the power distribution cloud master station analyzes and processes the data and makes it available to business applications, making the data collected by the terminal devices available.
[0123] The resource model library proposed in this embodiment is used to store resource models of IoT devices. These resource models include device ledgers and object model files.
[0124] The plug-and-play service mentioned in this embodiment realizes the synchronization of the IoT device model between the power distribution cloud master station and the IoT management platform.
[0125] The IoT management platform mentioned in this embodiment is connected to edge, end and other IoT devices downward, and provides a unified API interface upward to realize the interaction between device models and business data.
[0126] The data analysis service mentioned in this embodiment converts the data of the IoT management platform into information that can be recognized by the power distribution cloud master station.
[0127] This embodiment realizes fast and convenient access to end devices, improves the efficiency of IoT device access, and provides strong support for the construction and development of smart grids. The method of this embodiment enables the distribution cloud master station to access a large number of IoT devices, including edge proxy devices and various end devices. By accessing these devices, the master station can obtain various operating data of the low-voltage distribution network.
[0128] Embodiment 4:
[0129] Based on Example 2, Figure 4 The process of bottom-up access of edge devices is further explained. The main idea is to install and debug on site first, and return the installation and debugging and association results to the power distribution cloud master station through a standardized Excel spreadsheet file. The power distribution cloud master station batch imports the Excel file through the interface to complete the association. Specifically include:
[0130] Step 1: Edge device configuration:
[0131] The edge device reads the ESN code of the edge device through professional tools, configures a unified IoT platform IP address and port, and pastes the ESN code in plain text or as a QR code on the edge device panel.
[0132] Step 2: Pick up the device:
[0133] (1) Assign tasks to each work area according to the equipment installation plan. The work area compiles the installation plan according to the tasks and summarizes the information of the planned installation, including the name of the distribution transformer to be installed, the implementation time node, the PMS ID and other information, and generates an Excel table.
[0134] (2) Keep the Excel spreadsheet information reported by the work area for archiving, and fill in the ESN code, IP address and other information of the side equipment installed corresponding to the distribution transformer after installation.
[0135] (3) Collect the edge device and its corresponding SIM card, record the IP address of the SIM card and paste it on the panel of the edge device, and paste the name of the distribution transformer to be installed on the panel. Print the PMS drawing of the area to be installed and go to the designated site to prepare for the installation of the edge device.
[0136] Step 3: Implementation of the solution:
[0137] (1) Investigate the distribution transformer area. If the on-site situation is inconsistent with the PMS drawings (including inconsistent number of openings, inconsistent wiring methods, inconsistent labeling), suspend installation and commissioning, notify the work area, and implement it after the rectification is consistent. If the PMS drawings are consistent with the on-site situation, start installing the peripheral equipment.
[0138] (2) After the edge equipment is installed, fill in the ESN code, IP address, power distribution name, and distribution transformer PMS ID information of the edge equipment installed in Excel according to the standard format.
[0139] (3) According to the on-site low-voltage switches corresponding to the PMS drawings, set secondary communication numbers for the low-voltage switches one by one. After installation, clear the IP address information on the side equipment panel and keep photos of the completed on-site construction, which specifically include: side equipment (with ESN code, distribution name, distribution transformer PMS ID pasted on the panel), distribution transformer, and implementation location (such as distribution room, pole transformer, box transformer, etc.). The photos are fed back to the distribution work area through handheld terminals or other means.
[0140] (4) The distribution work area will keep the feedback Excel spreadsheet and photos for record and report them to the superior department.
[0141] Step 4: Primary and secondary association of the power distribution cloud master station:
[0142] Import the returned Excel table into the system to complete the association between the distribution transformer PMS ID and the peripheral equipment, and the association between the low-voltage switch or branch monitoring unit and the PMS.
[0143] Step 5: Power on the edge device:
[0144] (1) After the edge device is powered on, the configured IoT platform address establishes an MQTT connection with the IoT management platform and uploads detailed edge device information to complete the access of the edge device.
[0145] (2) After power is turned on, the terminal equipment such as the communication APP for measuring the low-voltage leakage protection switch will be connected to the edge equipment.
[0146] (3) The edge device generates a node ID for the end device based on established principles and uploads the information to the IoT management platform.
[0147] (4) The IoT management platform transmits the information in step (3) to the power distribution cloud master station.
[0148] (5) After receiving the information in step (4), the distribution cloud master station first establishes a secondary model of the end device and associates it with the PMS system based on the node ID of the end device.
[0149] (6) The edge device interacts locally with the concentrator and uploads the concentrator file information to the distribution cloud master station through the APP. The distribution cloud master station associates the concentrator ID with the edge device and distribution transformer PMS ID.
[0150] (7) Manual or tool verification. The distribution cloud master station compares and verifies the information of the edge devices after going online with the photos uploaded by the on-site implementation personnel, mainly comparing the related information of the edge devices.
[0151] Embodiment 4:
[0152] Based on Example 2, Figure 5 To further explain the process of connecting the edge equipment from top to bottom, the main idea is that the distribution area (or district and county company) pre-determines the matching relationship between the edge equipment to be installed and debugged and the distribution transformer according to the installation task plan, and the installation and debugging personnel carry out installation and debugging according to the predetermined association results. After verification, the primary and secondary equipment association is completed. Specifically including:
[0153] Step 1: Edge device configuration:
[0154] The edge device reads the ESN code of the edge device through professional tools, configures a unified IoT platform IP address and port, and pastes the ESN code in plain text or as a QR code on the edge device panel.
[0155] Step 2: Pick up the device:
[0156] (1) Assign tasks to each work area according to the equipment installation plan. The work area compiles an installation plan according to the tasks and summarizes the information of the planned installation, including the name of the distribution transformer to be installed, the implementation time node, and the PMS ID, and generates an Excel table.
[0157] (2) Arrange the construction according to the installation plan, obtain the SIM cards corresponding to the edge devices and terminals, record the IP addresses of the SIM cards, and stick them on the panels of the edge devices.
[0158] (3) Based on the task plan summary information in Excel in (1), the distribution work area arranges the installation and binding work of the distribution transformer and the edge equipment, forming an associated correspondence between the distribution transformer PMS ID and the edge equipment ESN code.
[0159] (4) Paste the name of the distribution transformer to be installed on the side equipment panel. Print the PMS drawing of the area to be installed and the excel sheet of the work area that has been scheduled, and go to the designated site to prepare for the installation of the side equipment.
[0160] Step 3: Primary and secondary association of the power distribution cloud master station:
[0161] Import the Excel spreadsheet planned in advance for the work area into the system, complete the association between the distribution transformer PMS ID and the peripheral equipment, and associate the low-voltage switch or branch monitoring unit with the PMS.
[0162] Step 4: Implementation of the solution:
[0163] (1) Investigate the distribution transformer area. If the on-site situation is inconsistent with the PMS drawings (including inconsistent number of openings, inconsistent wiring methods, inconsistent labeling), suspend installation and commissioning, notify the work area, and implement it after the rectification is consistent. If the PMS drawings are consistent with the on-site situation, start installing the peripheral equipment.
[0164] (2) According to the on-site low-voltage switches corresponding to the PMS drawings, set secondary communication numbers for the low-voltage switches one by one. After installation, clear the IP address information on the side equipment panel and keep photos of the completed on-site construction, which specifically include: side equipment (the panel is pasted with ESN code, distribution name, distribution transformer PMS ID), distribution transformer, implementation site (such as distribution room, pole transformer, box transformer, etc.). The photos are fed back to the distribution work area through handheld terminals or other means.
[0165] (3) The distribution area will keep photos of the on-site workers for record and submit the Excel spreadsheet to the superior department.
[0166] Step 5: Power on the edge device:
[0167] (1) After the edge device is powered on, the configured IoT platform address establishes an MQTT connection with the IoT management platform and uploads detailed edge device information to complete the access of the edge device.
[0168] (2) After power is turned on, the terminal equipment such as the communication APP for measuring the low-voltage leakage protection switch will be connected to the edge equipment.
[0169] (3) The edge device generates a node ID for the end device based on established principles and uploads the information to the IoT management platform.
[0170] (4) The IoT management platform transmits the information in step (3) to the power distribution cloud master station.
[0171] (5) After receiving the information in step (4), the distribution cloud master station first establishes a secondary model of the end device and associates it with the PMS system based on the node ID of the end device.
[0172] (6) The edge device interacts locally with the concentrator and uploads the concentrator profile information to the cloud master through the APP. The cloud master associates the concentrator ID with the edge device and distribution transformer PMS ID.
[0173] (7) Manual or tool verification. The cloud master station compares and verifies the information of the edge device after going online with the photos uploaded by the on-site implementation personnel to verify whether the primary and secondary associated information, that is, the ESN of the edge device and the PMS ID of the distribution transformer are accurate.
[0174] Embodiment 5:
[0175] Based on Example 1, this example proposes an edge device model access system, including:
[0176] The power distribution cloud master station is used to obtain the physical model file of the edge device from the resource model library using the plug-and-play service and create the corresponding edge device. The plug-and-play service calls the API interface of the IoT management platform to create the same edge device on the IoT management platform. It should be noted that the same type of edge device only needs to be created once, so as to complete the creation of the edge device of the power distribution cloud master station and the IoT management platform; obtain the ledger information of the edge device; use the plug-and-play service to create the edge device ledger on the power distribution cloud master station, and synchronously call the API interface of the IoT management platform to complete the creation of the edge device ledger of the power distribution cloud master station and the IoT management platform;
[0177] The IoT management platform is used to review the uploaded registration information and compare whether the device identification, manufacturer, device model and other information are consistent with the information in the edge device ledger. Only when the review is passed will a response be given to complete the automatic registration and access of the edge device.
[0178] The edge device is used to send registration information to the IoT management platform, which includes but is not limited to the device ID, manufacturer, and device model. After the edge device is connected, the terminal device APP needs to be installed on the edge device to realize automatic discovery and registration of the terminal devices under the edge device.
[0179] The resource model library proposed in this embodiment is used to store resource models of IoT devices. These resource models include device ledgers and object model files, where the object model file is a file in JSON format, which defines the device type and function from three dimensions: attributes, services, and events. Specifically, the object model includes: device attributes, device service types, and attribute arrays. The device attributes include, but are not limited to: device manufacturer name, manufacturer ID, device model, and device type. Device service types include, but are not limited to: service ID, service type, options, and attribute arrays. The attribute array includes, but is not limited to: attribute name, data type, whether required, minimum value of 150, maximum value of 220, step size, maximum length, method, and unit.
[0180] The plug-and-play service mentioned in this embodiment realizes the synchronization of the IoT device model between the power distribution cloud master station and the IoT management platform.
[0181] The IoT management platform mentioned in this embodiment is connected to edge, end and other IoT devices downward, and provides a unified API interface upward to realize the interaction between device models and business data.
[0182] This embodiment achieves fast and convenient access to edge devices, improves the efficiency of IoT device access, and provides strong support for the construction and development of smart grids.
[0183] Embodiment 6:
[0184] Based on Example 1, this example proposes a terminal device model access system, including:
[0185] The power distribution cloud master station is used to obtain the physical model file of the terminal device from the resource model library using the plug-and-play service, and create the corresponding terminal device on the power distribution cloud master station; and the plug-and-play service calls the API interface of the IoT management platform to complete the creation of the terminal device type of the power distribution cloud master station and the IoT management platform. The same type of terminal device only needs to be created once; and after the plug-and-play service receives the added terminal device information pushed by the IoT management platform, it creates the terminal device ledger in the power distribution cloud master station; and uses the data analysis service to parse and process the data and provide it for business applications to make the data collected by the terminal device available;
[0186] The material management platform is used to download the APP application of the terminal device from the application store in the power distribution cloud master station, and install the APP application of the terminal device on the edge device; and after receiving the automatic registration information of the terminal device, the registration information is reviewed, and the manufacturer, device model, and whether the edge device to which it belongs exist are compared. Only when the review is passed, the terminal device ledger is created, and the added terminal device information is pushed to the plug-and-play service in the power distribution cloud master station; the edge device responds to the successful registration of the terminal device; and the data is verified according to the definition of the object model; the collected data that passes the verification is pushed to the data analysis service in the power distribution cloud master station;
[0187] The edge device is used to send the automatic registration information of the end device to the IoT management platform after receiving the automatic registration information of the end device, and the automatic registration information of the end device includes but is not limited to the device identification, manufacturer, device model, and the edge device to which it belongs; and when a successful registration response is received, the end device is notified to report the collected data; after receiving the collected data of the end device, the edge device will report the collected data to the IoT management platform through the MQTT protocol;
[0188] End devices are used to automatically register with edge devices through the discovery registration mechanism;
[0189] The resource model library proposed in this embodiment is used to store resource models of IoT devices. These resource models include device ledgers and object model files, where the object model file is a file in JSON format, which defines the device type and function from three dimensions: attributes, services, and events. Specifically, the object model includes: device attributes, device service types, and event attribute arrays. The device attributes include, but are not limited to: device manufacturer name, manufacturer ID, device model, and device type. Device service types include, but are not limited to: service ID, service type, options, and service attribute arrays. The event attribute array includes, but is not limited to: attribute name, data type, whether required, minimum value of 150, maximum value of 220, step size, maximum length, method, and unit.
[0190] The plug-and-play service mentioned in this embodiment realizes the synchronization of the IoT device model between the power distribution cloud master station and the IoT management platform.
[0191] The IoT management platform mentioned in this embodiment is connected to edge, end and other IoT devices downward, and provides a unified API interface upward to realize the interaction between device models and business data.
[0192] The data analysis service mentioned in this embodiment converts the data of the IoT management platform into information that can be recognized by the power distribution cloud master station.
[0193] This embodiment realizes fast and convenient access to end devices, improves the efficiency of IoT device access, and provides strong support for the construction and development of smart grids. The method of this embodiment enables the distribution cloud master station to access a large number of IoT devices, including edge proxy devices and various end devices. By accessing these devices, the master station can obtain various operating data of the low-voltage distribution network.
[0194] Embodiment 7:
[0195] This embodiment discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps disclosed in any of the above embodiments are implemented.
[0196] Embodiment 8:
[0197] This embodiment discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps disclosed in any of the above embodiments are implemented.
[0198] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0199] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0200] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for self-expansion of an IoT device model, characterized in that: The following steps are involved: Perform device feature analysis on the IoT device to obtain the device features of the IoT device; Determine the type of IoT device based on the device characteristics of the IoT device; According to the type of IoT device, select the corresponding object model file to obtain the corresponding IoT device model; According to the measurement dictionary table, write the corresponding measurement information into the IoT device model to obtain the self-expanded IoT device model; The object model file is a file that defines the type and function of the IoT device model; The measurement dictionary table is a file that defines the measurement parameters required by the IoT device model.
2. The method for self-expanding an IoT device model according to claim 1, characterized in that: The object model file is a file that defines the type and function of the IoT device model from three dimensions: device attributes, device services, and events; The object model file of the edge device includes: device attributes, device service type and event attribute array.
3. The method for self-expansion of an IoT device model according to claim 1, characterized in that: The measurement dictionary table includes: id, code, name and note, where id represents the device id and code represents the device code; When code is in the range of 1000-9999, name is the English name of the telemetry, and note is the Chinese name of the telemetry; When code is in the range of 10000-19999, name is the English name of the remote signal, and note is the Chinese name of the remote signal; When code is in the range of 20000-21999, name is the English name of the cumulative amount, and note is the Chinese name of the cumulative amount; When code is in the range of 22000-23999, name is the English name of the parameter variable, and note is the Chinese name of the parameter variable.
4. A method for accessing an edge device, characterized in that: The following steps are involved: Create edge device models on the IoT management platform; Create an edge device ledger of the edge device model on the IoT management platform; Obtain the registration information sent by the edge device, review the sent registration information, and send a response to the edge device only when the sent registration information is consistent with the information in the edge device ledger to complete the access of the edge device; The step of creating an edge device model on the IoT management platform includes: When the edge device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same edge device model on the IoT management platform; The specific operations of creating an edge device model on the power distribution cloud master station include: An IoT device model self-expansion method as described in any one of claims 1 to 3 is adopted to create an edge device model on the power distribution cloud master station.
5. The edge device access method according to claim 4, characterized in that: The specific operation of creating the edge device ledger of the edge device model on the IoT management platform includes: when creating the edge device ledger of the edge device model on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same edge device ledger on the IoT management platform; The step of creating an edge device ledger of an edge device model on the power distribution cloud master station specifically includes: creating an edge device ledger of an edge device model on the power distribution cloud master station by acquiring ledger information of the created edge device model.
6. A terminal device access method, characterized in that: The following steps are involved: Create a terminal device model on the IoT management platform; The IoT management platform obtains the APP application of the terminal device and installs the APP application of the terminal device on the corresponding edge device; The IoT management platform obtains the end device registration message sent by the edge device, and reviews the end device registration message. Only when the review is passed, it creates the end device ledger of the end device model, and pushes the added end device information to the power distribution cloud master station for creating the end device ledger of the end device model on the power distribution cloud master station; at the same time, it responds to the end device registration success message to the edge device; The IoT management platform obtains the collected data sent by the edge devices from the end devices, verifies the collected data, and only pushes the collected data that passes the verification to the power distribution cloud master station; The step of creating a terminal device model on the IoT management platform includes: When the end device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same end device model on the IoT management platform; The specific operations of creating a terminal device model on the power distribution cloud master station include: An Internet of Things device model self-expansion method as described in any one of claims 1 to 3 is adopted to create a terminal device model on the power distribution cloud master station.
7. A terminal device access method according to claim 6, characterized in that: The verification of the collected data specifically includes: the IoT management platform verifies the collected data according to the IoT model file of the terminal device.
8. A terminal device access method, characterized in that: The following steps are involved: Create a terminal device model on the power distribution cloud master station, and call the API interface of the IoT management platform to create the same terminal device model on the IoT management platform; By receiving the added terminal device information sent by the IoT management platform, the terminal device ledger of the terminal device model is created on the power distribution cloud master station; The power distribution cloud master station receives the collected data sent from the IoT management platform and provides it to business applications for use; The specific operations of creating a terminal device model on the power distribution cloud master station include: An Internet of Things device model self-expansion method as described in any one of claims 1 to 3 is adopted to create a terminal device model on the power distribution cloud master station.
9. An edge device access system, characterized in that: include: An edge device model creation module is used to create an edge device model on the IoT management platform; The edge device ledger creation module is used to create an edge device ledger of the edge device model on the IoT management platform; The edge device access module is used to obtain the registration information sent by the edge device, review the sent registration information, and send a response to the edge device only when the sent registration information is consistent with the information in the edge device ledger to complete the access of the edge device; The step of creating an edge device model on the IoT management platform includes: When the edge device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same edge device model on the IoT management platform; The specific operations of creating an edge device model on the power distribution cloud master station include: An IoT device model self-expansion method as described in any one of claims 1 to 3 is adopted to create an edge device model on the power distribution cloud master station.
10. The edge device access system according to claim 9, characterized in that: The described operation of creating an edge device ledger of an edge device model on the IoT management platform includes: when the ledger information of the created edge device model is obtained on the distribution cloud master station to create the edge device ledger, the distribution cloud master station calls the API interface of the IoT management platform to create the same edge device ledger on the IoT management platform.
11. A terminal device access system, characterized in that: include: The terminal device model creation module is used to create the terminal device model on the IoT management platform; The application installation module is used to obtain the APP application of the terminal device on the IoT management platform and install the APP application of the terminal device on the corresponding edge device; The terminal equipment account creation module is used to obtain the terminal equipment registration message sent by the edge device, review the terminal equipment registration message, and only after the review is passed, create the terminal equipment account of the terminal equipment model, and push the added terminal equipment information to the power distribution cloud master station for creating the terminal equipment account of the terminal equipment model on the power distribution cloud master station; at the same time, respond to the terminal equipment registration success message to the edge device; The data verification module is used to obtain the collected data sent by the edge device from the end device, verify the collected data, and only push the collected data that passes the verification to the power distribution cloud master station; The step of creating a terminal device model on the IoT management platform includes: When the end device model is created on the power distribution cloud master station, the power distribution cloud master station calls the API interface of the IoT management platform to create the same end device model on the IoT management platform; The specific operations of creating a terminal device model on the power distribution cloud master station include: An Internet of Things device model self-expansion method as described in any one of claims 1 to 3 is adopted to create a terminal device model on the power distribution cloud master station.
12. A terminal device access system according to claim 11, characterized in that: The verification of the collected data specifically includes: the IoT management platform verifies the collected data according to the IoT model file of the terminal device.
13. A terminal device access system, characterized in that: include: The terminal device creation module is used to create a terminal device model on the power distribution cloud master station and call the API interface of the IoT management platform to create the same terminal device model on the IoT management platform; The terminal equipment account creation module is used to receive the added terminal equipment information sent by the IoT management platform and create the terminal equipment account of the terminal equipment model on the power distribution cloud master station; The data receiving module is used to receive the collected data sent by the IoT management platform and provide it to business applications for use; The specific operations of creating a terminal device model on the power distribution cloud master station include: An Internet of Things device model self-expansion method as described in any one of claims 1 to 3 is adopted to create a terminal device model on the power distribution cloud master station.
14. A computer device, characterized in that: 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 steps of a method for self-expansion of an Internet of Things device model as described in claims 1 to 3 are implemented.
15. A storage medium, characterized in that: The storage medium stores an Internet of Things device model self-extension program, and when the Internet of Things device model self-extension program is executed by at least one processor, the steps of an Internet of Things device model self-extension method described in claims 1 to 3 are implemented.