Fast docking method and system for power monitoring equipment based on edge computing gateway

By automatically analyzing and storing the communication protocol and parameter information of the docking device, the problem of the edge computing gateway requiring modification of code when docking new devices is solved, and the docking efficiency is improved.

CN119094636BActive Publication Date: 2025-04-15LEYCEE INTELLIGENT TECH (SHANGHAI) CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411507722.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-04-15
Estimated Expiration
2044-10-28

AI Technical Summary

Technical Problem

When the edge computing gateway connects to new security-aware devices, the operator needs to modify the communication protocol code, resulting in an increase in development time and a decrease in docking efficiency.

Method used

By obtaining the docking device information and port number, creating docking device node information, analyzing and determining the communication protocol and parameter information, and combining it in the docking device node to automatically select communication protocols and configuration parameters.

Benefits of technology

Reduces the development time of modifying code and improves the docking efficiency between edge computing gateways and new security-aware devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094636B_ABST
    Figure CN119094636B_ABST
Patent Text Reader

Abstract

The present invention relates to a fast docking method and system for power monitoring equipment based on an edge computing gateway, and to the technical field of power monitoring equipment. The method includes: docking a docking device that needs to be docked at the current time with an edge computing gateway and obtaining docking device information and a docking port number; creating docking device node information based on the docking device information; determining docking communication protocol information according to the docking device information analysis; determining docking parameter information according to the docking device information, the docking port number and the docking communication protocol information analysis; combining the docking communication protocol information with the docking parameter information and storing them in the docking device node information for docking communication. The present invention has the effect of improving the docking efficiency between the edge computing gateway and the new security perception device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power monitoring equipment, and in particular to a method and system for quickly docking power monitoring equipment based on an edge computing gateway. Background Art

[0002] Power monitoring equipment refers to equipment that can measure and analyze parameters such as voltage, current, power, frequency, etc. in the power grid, and provide functions such as data communication, alarm, data storage and analysis, so as to monitor and manage the power system in real time. Power monitoring equipment is widely used in substations, distribution stations, industrial parks and other scenarios.

[0003] In the process of using power monitoring equipment to monitor and manage the power system in real time, it is generally necessary to connect the security sensing devices corresponding to various parameters through the edge computing gateway to receive the detected parameters and process them. When the edge computing gateway is connected to a new security sensing device, the operator needs to modify the communication protocol code and test the link according to the new security sensing device, so as to facilitate the subsequent real-time monitoring of the power system.

[0004] When the edge computing gateway is connected to a new security sensing device, the operator needs to modify the communication protocol code according to the new security sensing device before the connection can be carried out, which increases the development time and reduces the connection efficiency. Summary of the invention

[0005] In order to improve the docking efficiency between the edge computing gateway and the new security perception device, the present invention provides a method and system for quickly docking an electric power monitoring device based on the edge computing gateway.

[0006] In a first aspect, the present invention provides a method for quickly connecting a power monitoring device based on an edge computing gateway, which adopts the following technical solution:

[0007] A rapid docking method for power monitoring equipment based on edge computing gateway, comprising:

[0008] Connect the device that needs to be connected at the current time to the edge computing gateway and obtain the connection device information and connection port number;

[0009] Create docking device node information based on docking device information;

[0010] Determine the docking communication protocol information based on the docking device information analysis;

[0011] Analyze and determine the docking parameter information based on the docking device information, docking port number and docking communication protocol information;

[0012] The docking communication protocol information and the docking parameter information are combined and stored in the docking device node information to perform docking communication.

[0013] Optionally, the method for determining the connection communication protocol information includes:

[0014] Get the information of the communication devices that have communicated at the current time;

[0015] Retrieving communication equipment type information based on communication equipment information;

[0016] Retrieving docking device type information based on docking device information;

[0017] Determine whether the communication device type information includes the docking device type information;

[0018] If yes, the communication device type information that is consistent with the docking device type information is used as the docking consistent type information;

[0019] Retrieving the same type of communication protocol information based on the docking same type information, and using the same type of communication protocol information as the docking communication protocol information;

[0020] If not, the communication protocol information of different types is determined according to the communication device type information and the docking device type information, and the communication protocol information of different types is used as the docking communication protocol information.

[0021] Optionally, the method for determining different types of communication protocol information includes:

[0022] Retrieve original communication protocol information based on communication device type information;

[0023] According to the correspondence between the original communication protocol information and the preset original communication compatibility type information, the original communication compatibility type information corresponding to the original communication protocol information is determined;

[0024] Determine whether the original communication compatibility type information is consistent with the docking device type information;

[0025] If yes, the original communication compatibility type information corresponding to the docking device type information is used as compatible same type information, and the original communication protocol information corresponding to the compatible same type information is used as different type communication protocol information;

[0026] If not, then determining the initial communication protocol information corresponding to the docking device type information according to the correspondence between the docking device type information and the preset initial communication protocol information;

[0027] Retrieve the location point of the docking device based on the docking device information;

[0028] Get the gateway location of the edge computing gateway;

[0029] The initial communication protocol information is selected according to the docking device location point and the gateway location point to determine the selected communication protocol information, and the selected communication protocol information is used as the communication protocol information for distinguishing types.

[0030] Optionally, the method for determining the selected communication protocol information includes:

[0031] Calculate the distance between the docking device location point and the gateway location point and use it as the docking distance value;

[0032] According to the correspondence between the initial communication protocol information and the preset initial protocol reference distance interval, the initial protocol reference distance interval corresponding to the initial communication protocol information is determined;

[0033] Selecting the initial communication protocol information corresponding to the docking distance value falling into the initial protocol reference distance interval as the distance selection protocol information;

[0034] Retrieve the distance selection protocol value based on the distance selection protocol information;

[0035] Determine whether the value of the distance selection protocol is only one;

[0036] If yes, the distance selection protocol information is used as the selected communication protocol information;

[0037] If not, retrieve the required usage information based on the docking device type information;

[0038] The required usage protocol information is determined based on the required usage information and the distance selection protocol information analysis, and the required usage protocol information is used as the selected communication protocol information.

[0039] Optionally, a method for determining the required usage protocol information includes:

[0040] Retrieving a data rate demand value based on the demand usage information;

[0041] According to the correspondence between the docking distance value and the preset data rate distance impact value, a data rate distance impact value corresponding to the docking distance value is determined;

[0042] According to the correspondence between the distance selection protocol information and the preset rate reference value, the rate reference value corresponding to the distance selection protocol information is determined;

[0043] Calculate the sum of the data rate distance impact value and the rate reference value and use it as the distance selection protocol rate adjustment value;

[0044] Calculate the difference between the distance selection protocol rate adjustment value and the data rate requirement value and use it as the data rate deviation value;

[0045] The data rate deviation values ​​are sorted from large to small, and the distance selection protocol information corresponding to the data rate deviation value ranked first is used as the rate selection protocol information, and the rate selection protocol information is used as the demand use protocol information.

[0046] Optionally, the method further includes a step after using the rate selection protocol information as the demand use protocol information, which is as follows:

[0047] Retrieving the security requirement value based on the required usage information;

[0048] According to the correspondence between the rate selection protocol information and the preset rate selection protocol security reference value, the rate selection protocol security reference value corresponding to the rate selection protocol information is determined;

[0049] Determine whether the rate selection protocol security reference value is greater than the security requirement value;

[0050] If yes, continue to output the required usage agreement information;

[0051] If not, then according to the correspondence between the distance selection protocol information and the preset distance selection protocol security reference value, determine the distance selection protocol security reference value corresponding to the distance selection protocol information;

[0052] Calculate the difference between the security requirement value and the distance selection protocol security reference value and use it as the security deviation value;

[0053] The security selection protocol information is determined based on the security deviation value and the distance selection protocol information analysis, and the security selection protocol information is used to replace the demand use protocol information to form new demand use protocol information.

[0054] Optionally, the method for determining the security selection protocol information includes:

[0055] According to the corresponding relationship between the security deviation value and the preset security deviation impact value, the security deviation impact value corresponding to the security deviation value is determined;

[0056] According to the correspondence between the data rate deviation value and the preset data rate deviation impact value, a data rate deviation impact value corresponding to the data rate deviation value is determined;

[0057] Calculate the sum of the security deviation impact value and the data rate deviation impact value and use it as the comprehensive impact value;

[0058] The comprehensive impact values ​​are sorted from small to large, and the distance selection protocol information corresponding to the first-ranked comprehensive impact value is used as the comprehensive selection protocol information, and the comprehensive selection protocol information is used as the security selection protocol information.

[0059] Optionally, the method for determining the connection parameter information includes:

[0060] Determine whether the connection communication protocol information is the same type of communication protocol information;

[0061] If yes, then retrieve the consistent type parameter information based on the docking communication protocol information;

[0062] According to the correspondence between the docking device information and the preset device additional parameter information, the device additional parameter information corresponding to the docking device information is determined;

[0063] Adjust the consistent type parameter information based on the device additional parameter information and combine it with the docking port number to form consistent type adjustment parameter information, and use the consistent type adjustment parameter information as the docking parameter information;

[0064] If not, retrieve the device benchmark parameter information based on the docking device information;

[0065] The newly added parameter information of the device is determined based on the device baseline parameter information and the docking port number, and the newly added parameter information of the device is used as the docking parameter information.

[0066] Optionally, a method for determining the newly added parameter information of the device includes:

[0067] Retrieving device benchmark parameter type information and device benchmark parameter values ​​based on the device benchmark parameter information;

[0068] According to the correspondence between the interconnection communication protocol information and the preset protocol impact type information, the protocol impact type information corresponding to the interconnection communication protocol information is determined;

[0069] Determine whether the protocol impact type information is consistent with the device baseline parameter type information;

[0070] If yes, the protocol impact type information that is consistent with the device baseline parameter type information is taken as parameter consistent type information;

[0071] According to the correspondence between the parameter consistency category information and the preset consistency category influence value, the consistency category influence value corresponding to the parameter consistency category information is determined;

[0072] Calculate the sum of the equipment baseline parameter value and the consistent type impact value and use it as the equipment adjustment parameter value;

[0073] The device adjustment parameter value is combined with the docking port number to form device adjustment parameter information, and the device comprehensive parameter information is used as the device newly added parameter information;

[0074] If not, the device baseline parameter value is combined with the docking port number to form device comprehensive parameter information, and the device comprehensive parameter information is used as the device newly added parameter information.

[0075] In a second aspect, the present invention provides a rapid docking system for power monitoring equipment based on an edge computing gateway, which adopts the following technical solution:

[0076] A rapid docking system for power monitoring equipment based on edge computing gateway, comprising:

[0077] The acquisition module is used to obtain the docking device information, docking port number, communication device information and gateway location point;

[0078] A memory, used to store a program of a method for quickly docking an electric power monitoring device based on an edge computing gateway as described in the first aspect;

[0079] The processor loads and executes the program in the memory and implements the rapid docking method of the power monitoring device based on the edge computing gateway as described in the first aspect.

[0080] In summary, the present invention includes at least one of the following beneficial technical effects:

[0081] 1. By obtaining the docking device information and the docking port number, and creating the docking device node information according to the docking device information, and then analyzing and determining the docking communication protocol information and the docking parameter information respectively, and then combining and storing them in the docking device node information for docking communication, the communication protocol is automatically selected and the parameters are configured after the new docking device is docked with the edge computing gateway, which reduces the development time of modifying the code, thereby improving the docking efficiency between the edge computing gateway and the new security perception device;

[0082] 2. Acquire the communication device information and retrieve the communication device type information, retrieve the docking device type information through the docking device information, and then judge whether the communication device type information contains the docking device type information. If it contains, define the docking consistent type information and retrieve the consistent type communication protocol information as the docking communication protocol information. If it does not contain, analyze the communication device type information and the docking device type information to determine the different type communication protocol information and use it as the docking communication protocol information, thereby improving the accuracy of the acquired docking communication protocol information;

[0083] 3. Retrieve the original communication protocol information through the communication device type information and query to determine the original communication compatibility type information, and then judge whether the original communication compatibility type information is consistent with the docking device type information. If it exists, define compatible information of the same type, and use the original communication protocol information corresponding to the compatible information of the same type as the communication protocol information of the different types. If it does not exist, determine the initial communication protocol information through the docking device type information query, retrieve the docking device location point through the docking device information, and obtain the gateway location point, and then select the initial communication protocol information through the docking device location point and the gateway location point to determine the selected communication protocol information and use it as the communication protocol information of the different types, thereby improving the accuracy of the acquired communication protocol information of the different types. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 It is a flow chart of a method for rapid docking of power monitoring equipment based on an edge computing gateway according to an embodiment of the present application;

[0085] Figure 2 is a flow chart of a method for determining docking communication protocol information according to an embodiment of the present application;

[0086] Figure 3 is a flow chart of a method for determining different types of communication protocol information according to an embodiment of the present application;

[0087] Figure 4 is a flow chart of a method for determining selected communication protocol information according to an embodiment of the present application;

[0088] Figure 5 is a flow chart of a method for determining demand usage protocol information according to an embodiment of the present application;

[0089] Figure 6 It is a method flow chart of an embodiment of the present application, which is located after the rate selection protocol information is used as the demand use protocol information. DETAILED DESCRIPTION

[0090] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0091] A fast docking method for power monitoring equipment based on edge computing gateway, which obtains docking equipment information, docking port number, communication equipment information and gateway location point, and comprehensively selects docking communication protocol information according to communication equipment information and compatible types, docking distances and security required by docking equipment, and then analyzes and determines docking parameter information and combines it with the docking communication protocol information and stores it in the docking equipment node information for docking communication, so that after the new docking equipment is docked with the edge computing gateway, the communication protocol is automatically selected and the parameters are configured, which reduces the development time of code modification, thereby improving the docking efficiency between the edge computing gateway and the new security perception device.

[0092] Reference Figure 1 The embodiment of the present invention discloses a rapid docking method of a power monitoring device based on an edge computing gateway, which includes:

[0093] Step S100: docking the docking device that needs to be docked at the current time with the edge computing gateway and obtaining the docking device information and docking port number.

[0094] Among them, the docking device information refers to the type, location and other related information of the docking device that needs to be docked with the edge computing gateway at the current time. The docking port number refers to the number corresponding to the port connected to the docking device. The docking port number and the docking device information are obtained by querying after connecting to the docking device information.

[0095] Step S200: creating docking device node information based on the docking device information.

[0096] Among them, the docking device node information refers to the node information used to store the docking information related to the docking device that is docked with the edge computing gateway. The docking device node information is created through the docking device information to facilitate subsequent use.

[0097] Step S300: analyzing and determining the docking communication protocol information according to the docking device information.

[0098] Among them, the docking communication protocol information refers to the protocol information used when the docking device communicates with the edge computing gateway. By analyzing the docking device information, the docking communication protocol information is determined to facilitate subsequent use.

[0099] Step S400: analyzing and determining docking parameter information according to docking device information, docking port number and docking communication protocol information.

[0100] Among them, the docking parameter information refers to the parameter information required for the docking device to communicate with the edge computing gateway. The docking parameter information is determined by analyzing the docking device information, docking port number and docking communication protocol information, which is convenient for subsequent use.

[0101] Step S500: Combine the docking communication protocol information and the docking parameter information and store them in the docking device node information to perform docking communication.

[0102] Among them, by combining the docking communication protocol information with the docking parameter information and storing them in the docking device node information, it is convenient for the new docking device to automatically select the communication protocol and configure parameters for docking communication after docking with the edge computing gateway, thereby reducing the development time for code modification and improving the docking efficiency between the edge computing gateway and the new security perception device.

[0103] exist Figure 1 In step S300, in order to further ensure the rationality of the docking communication protocol information, it is necessary to further analyze and calculate the docking communication protocol information. Figure 2 The steps shown are explained in detail.

[0104] Reference Figure 2 , the method for determining the docking communication protocol information includes the following steps:

[0105] Step S310: Obtain information about the communication devices that are communicating at the current time.

[0106] Among them, the communication device information refers to the type, location and other related information of the communication device that has communicated with the edge computing gateway at the current time. The communication device information is obtained by querying after connecting with the communication device.

[0107] Step S320: Retrieve communication device type information based on the communication device information.

[0108] The communication equipment information includes communication equipment category information, which refers to information on the category of the communication equipment. The communication equipment category information is retrieved through the communication equipment information to facilitate subsequent use.

[0109] Step S330: Retrieve docking device type information based on the docking device information.

[0110] The docking device information includes the docking device type information, and the docking device type information refers to the type information of the docking device. The docking device type information is retrieved through the docking device information to facilitate subsequent use.

[0111] Step S340: Determine whether the communication device type information includes the docking device type information. If yes, execute step S350; if no, execute step S370.

[0112] The communication protocol corresponding to the communication device can be adopted by judging whether the communication device type information includes the docking device type information.

[0113] Step S350: The communication device type information that is consistent with the docking device type information is used as the docking consistent type information.

[0114] Among them, when the communication device type information includes the docking device type information, it means that the communication protocol corresponding to the communication device can be used at this time, so the docking consistent type information is defined to facilitate subsequent use.

[0115] Step S360: Retrieve consistent type communication protocol information based on the docking consistent type information, and use the consistent type communication protocol information as the docking communication protocol information.

[0116] Among them, consistent type communication protocol information refers to the communication protocol information adopted by the communication device consistent with the docking device. The consistent type communication protocol information is queried and retrieved by docking consistent type information, and the consistent type communication protocol information is used as the docking communication protocol information, thereby improving the accuracy of the obtained docking communication protocol information.

[0117] The current mainstream protocols include ModbusTCP, ModbusRTU, IEC61850, IEC104, DL / T698.45, LoRaWAN, etc. When the communication device has communicated with the edge computing gateway, the edge computing gateway has stored the communication protocol required by the communication device for subsequent use.

[0118] Step S370: determining the communication protocol information of different types according to the communication device type information and the docking device type information, and using the communication protocol information of different types as the docking communication protocol information.

[0119] Among them, the communication protocol information for distinguishing types refers to the communication protocol information that the docking device needs to adopt when there is no consistent type. By analyzing the communication device type information and the docking device type information, the communication protocol information for distinguishing types is determined and used as the docking communication protocol information, thereby improving the accuracy of the obtained docking communication protocol information.

[0120] exist Figure 2 In step S370, in order to further ensure the rationality of the communication protocol information of different types, it is necessary to further analyze and calculate the communication protocol information of different types. Figure 3 The steps shown are explained in detail.

[0121] Reference Figure 3 , the method for determining different types of communication protocol information includes the following steps:

[0122] Step S371: Retrieve original communication protocol information based on the communication device type information.

[0123] The original communication protocol information refers to the communication protocol information used by the type of communication device at the current time. The original communication protocol information is queried and retrieved through the communication device type information to facilitate subsequent use.

[0124] Step S372: determining the original communication compatibility type information corresponding to the original communication protocol information according to the corresponding relationship between the original communication protocol information and the preset original communication compatibility type information.

[0125] The original communication compatibility type information refers to the device type information corresponding to the communication protocol used by the type of communication device at the current time. The original communication compatibility type information is obtained by querying from a database storing the original communication protocol information and the original communication compatibility type information. The database is obtained by querying the communication protocol related website. The original communication compatibility type information is determined by querying the original communication protocol information to facilitate subsequent use.

[0126] Step S373: Determine whether the original communication compatible type information is consistent with the docking device type information. If yes, execute step S374; if no, execute step S375.

[0127] Here, it is determined whether the original communication compatibility type information is consistent with the docking device type information, thereby determining whether the communication protocol used at the current time is compatible with the type of the docking device.

[0128] Step S374: the original communication compatibility type information corresponding to the docking device type information is used as compatible same type information, and the original communication protocol information corresponding to the compatible same type information is used as distinguished type communication protocol information.

[0129] Among them, when the original communication compatibility type information is consistent with the docking device type information, it means that the communication protocol used at the current time is compatible with the type of the docking device. Therefore, the compatible same type information is defined, and the original communication protocol information corresponding to the compatible same type information is used as the distinguished type communication protocol information, thereby improving the accuracy of the obtained distinguished type communication protocol information.

[0130] Step S375: determining the initial communication protocol information corresponding to the docking device type information according to the corresponding relationship between the docking device type information and the preset initial communication protocol information.

[0131] The initial communication protocol information refers to the initial information corresponding to the different types of communication protocols that can be used by the type of docking device. The initial communication protocol information is obtained by querying from a database storing the docking device type information and the initial communication protocol information. The database is obtained by querying websites related to the docking device type. When the original communication compatible type information does not exist and is consistent with the docking device type information, it means that the communication protocol used at the current time is not compatible with the type of docking device. Therefore, the initial communication protocol information is determined by querying the docking device type information to facilitate subsequent use.

[0132] Step S376: Retrieve the docking device location point based on the docking device information.

[0133] The docking device information includes the docking device location point, which refers to the location point where the docking device is located. The docking device location point is retrieved through the docking device information to facilitate subsequent use.

[0134] Step S377: Obtain the gateway location point where the edge computing gateway is located.

[0135] Among them, the gateway location point refers to the location point of the edge computing gateway. The gateway location point can be obtained after pre-input by the operator, and the gateway location point can also be detected and obtained by a location detection device preset on the edge computing gateway.

[0136] Step S378: The initial communication protocol information is selected according to the docking device location point and the gateway location point to determine the selected communication protocol information, and the selected communication protocol information is used as the communication protocol information for distinguishing the types.

[0137] Among them, the selected communication protocol information refers to the communication protocol information after the initial communication protocol is selected. The initial communication protocol information is selected by connecting the device location point and the gateway location point, so as to determine the selected communication protocol information and use it as the communication protocol information for distinguishing types, thereby improving the accuracy of the obtained communication protocol information for distinguishing types.

[0138] exist Figure 3 In step S378, in order to further ensure the rationality of the selected communication protocol information, it is necessary to further analyze and calculate the selected communication protocol information. Figure 4 The steps shown are explained in detail.

[0139] Reference Figure 4 , the method for determining the communication protocol information includes the following steps:

[0140] Step S3781: Calculate the distance between the docking device location point and the gateway location point and use it as the docking distance value.

[0141] The docking distance value refers to the distance between the docking device and the edge computing gateway. The distance between the docking device location point and the gateway location point is calculated and used as the docking distance value for convenience in subsequent use.

[0142] Step S3782: Determine the initial protocol reference distance interval corresponding to the initial communication protocol information according to the corresponding relationship between the initial communication protocol information and the preset initial protocol reference distance interval.

[0143] The initial protocol reference distance interval refers to the reference distance interval that can be used in the initial different communication protocols. The initial protocol reference distance interval is obtained by querying from a database storing the initial communication protocol information and the initial protocol reference distance interval. The database is obtained by querying from the relevant website of the communication protocol. The initial protocol reference distance interval is determined by querying the initial communication protocol information to facilitate subsequent use.

[0144] Step S3783: Select the initial communication protocol information corresponding to when the docking distance value falls into the initial protocol reference distance interval and use it as the distance selection protocol information.

[0145] Among them, the distance selection protocol information refers to the communication protocol information selected to meet the distance requirements. The initial communication protocol information corresponding to the docking distance value falling into the initial protocol benchmark distance interval is selected and used as the distance selection protocol information to facilitate subsequent use.

[0146] Step S3784: Retrieve the distance selection protocol value based on the distance selection protocol information.

[0147] The value of the distance selection protocol refers to the value corresponding to the communication protocol selected to meet the distance requirement. By counting the distance selection protocol information and retrieving the value of the distance selection protocol, subsequent use is facilitated.

[0148] Step S3785: Determine whether the distance selection protocol value is only one. If yes, execute step S3786; if no, execute step S3787.

[0149] Among them, by judging whether the distance selection protocol value is only one, it is judged whether the distance selection protocol information can be used directly.

[0150] Step S3786: Use the distance selection protocol information as the selected communication protocol information.

[0151] Among them, when the value of the distance selection protocol is only one, it means that the distance selection protocol information can be used directly at this time, so the distance selection protocol information is used as the selected communication protocol information, thereby improving the accuracy of the obtained selected communication protocol information.

[0152] Step S3787: Retrieve the required usage information based on the docking device type information.

[0153] Among them, the demand usage information refers to the requirement information that the type of docking device needs to meet when docking and using. When the distance selection protocol value is not only one, it means that the distance selection protocol information cannot be used directly at this time. Therefore, the demand usage information is queried and retrieved through the docking device type information to facilitate subsequent use.

[0154] Step S3788: Analyze and determine the required usage protocol information based on the required usage information and the distance selected protocol information, and use the required usage protocol information as the selected communication protocol information.

[0155] Among them, the required usage protocol information refers to the communication protocol information selected according to the needs of the docking device type during docking. The required usage protocol information is determined by analyzing the required usage information and the distance selected protocol information, and used as the selected communication protocol information, thereby improving the accuracy of the obtained selected communication protocol information.

[0156] exist Figure 4 In step S3788, in order to further ensure the rationality of the demand use agreement information, it is necessary to further analyze and calculate the demand use agreement information. Figure 5 The steps shown are explained in detail.

[0157] Reference Figure 5 , the method for determining the required usage protocol information includes the following steps:

[0158] Step S37881: Retrieve the data rate requirement value based on the required usage information.

[0159] Among them, the demand usage information includes the data rate demand value, which refers to the minimum value that the data rate needs to reach when the docking device is docked and used. The data rate demand value is retrieved through the demand usage information to facilitate subsequent use.

[0160] Step S37882: Determine the data rate distance impact value corresponding to the docking distance value according to the correspondence between the docking distance value and the preset data rate distance impact value.

[0161] The data rate distance impact value refers to the impact degree value when the docking distance affects the data rate. The data rate distance impact value is obtained by querying from a database storing docking distance values ​​and data rate distance impact values. The database is obtained and stored after the test. The data rate distance impact value is determined by querying the docking distance value to facilitate subsequent use.

[0162] Step S37883: Determine the rate reference value corresponding to the distance selection protocol information based on the correspondence between the distance selection protocol information and the preset rate reference value.

[0163] The rate reference value refers to the minimum value that the data rate can reach when using the communication protocol selected based on the distance. The rate reference value is obtained by querying from a database storing the distance selection protocol information and the rate reference value. The database is obtained by querying the relevant website of the communication protocol. The rate reference value is determined by querying the distance selection protocol information to facilitate subsequent use.

[0164] Step S37884: Calculate the sum of the data rate distance impact value and the rate reference value and use it as the distance selection protocol rate adjustment value.

[0165] Among them, the distance selection protocol rate adjustment value refers to the adjustment value corresponding to the data rate affected by the distance. The sum of the data rate distance impact value and the rate reference value is calculated and used as the distance selection protocol rate adjustment value for convenience in subsequent use.

[0166] Step S37885: Calculate the difference between the distance selection protocol rate adjustment value and the data rate requirement value and use it as the data rate deviation value.

[0167] Among them, the data rate deviation value refers to the deviation value when there is a deviation in the data rate. The difference between the distance selection protocol rate adjustment value and the data rate requirement value is calculated and used as the data rate deviation value for subsequent use.

[0168] Step S37886: Sort the data rate deviation values ​​from large to small, and use the distance selection protocol information corresponding to the data rate deviation value ranked first as the rate selection protocol information, and use the rate selection protocol information as the demand use protocol information.

[0169] Among them, the rate selection protocol information refers to the communication protocol information selected according to the data rate. The data rate deviation values ​​are sorted from large to small, and the distance selection protocol information corresponding to the first-ranked data rate deviation value is used as the rate selection protocol information, and the rate selection protocol information is used as the demand usage protocol information, thereby improving the accuracy of the acquired demand usage protocol information.

[0170] exist Figure 5 After step S37886, in order to further ensure the rationality of the demand use agreement information, it is necessary to further analyze and calculate the demand use agreement information. Figure 6 The steps shown are explained in detail.

[0171] Reference Figure 6 The steps after using the rate selection protocol information as the demand use protocol information include the following steps:

[0172] Step S378861: Retrieve the security requirement value based on the required usage information.

[0173] Among them, the demand usage information includes the security requirement value. The security requirement value refers to the minimum value that needs to be achieved for security when the docking device is used. The security requirement value is retrieved through the demand usage information to facilitate subsequent use.

[0174] Step S378862: Determine the rate selection protocol security reference value corresponding to the rate selection protocol information according to the correspondence between the rate selection protocol information and the preset rate selection protocol security reference value.

[0175] The rate selection protocol security reference value refers to the reference value that can be achieved in the communication protocol based on the rate selection. The rate selection protocol security reference value is obtained by querying from a database storing rate selection protocol information and rate selection protocol security reference values, and the database is obtained by querying the communication protocol related website. The rate selection protocol security reference value is determined by querying the rate selection protocol information to facilitate subsequent use.

[0176] Step S378863: Determine whether the rate selection protocol security reference value is greater than the security requirement value. If yes, execute step S378864; if no, execute step S378865.

[0177] Among them, by judging whether the security reference value of the rate selection protocol is greater than the security requirement value, it is judged whether the communication protocol selected according to the rate can meet the security requirement.

[0178] Step S378864: Continue to output the required usage agreement information.

[0179] Among them, when the rate selection protocol security reference value is greater than the security requirement value, it means that the communication protocol selected according to the rate at this time can meet the security requirements, so the required use protocol information continues to be output.

[0180] Step S378865: Determine the distance selection protocol security reference value corresponding to the distance selection protocol information according to the correspondence between the distance selection protocol information and the preset distance selection protocol security reference value.

[0181] Among them, the distance selection protocol security benchmark value refers to the benchmark value that can be achieved in the communication protocol selected based on the distance. The distance selection protocol security benchmark value is obtained by querying from a database that stores distance selection protocol information and distance selection protocol security benchmark values, and the database is obtained by querying the communication protocol related website. When the speed selection protocol security benchmark value is not greater than the security requirement value, it means that the communication protocol selected based on the speed cannot meet the security requirements at this time. Therefore, the distance selection protocol security benchmark value is determined by querying the distance selection protocol information to facilitate subsequent use.

[0182] Step S378866: Calculate the difference between the security requirement value and the distance selection protocol security reference value and use it as the security deviation value.

[0183] Among them, the security deviation value refers to the deviation value when there is a deviation in security. The difference between the security requirement value and the security reference value of the distance selection protocol is calculated and used as the security deviation value to facilitate subsequent use.

[0184] Step S378867: Determine the security selection protocol information based on the security deviation value and the distance selection protocol information analysis, and replace the demand use protocol information with the security selection protocol information to form new demand use protocol information.

[0185] Among them, security selection protocol information refers to communication protocol information selected based on security. By analyzing the security deviation value and distance selection protocol information, the security selection protocol information is determined and the demand use protocol information is replaced to form new demand use protocol information, thereby improving the accuracy of the acquired demand use protocol information.

[0186] exist Figure 6 In step S378867 shown, in order to further ensure the rationality of the security selection protocol information, it is necessary to perform further separate analysis and calculation on the security selection protocol information, which is specifically described in detail through the following steps.

[0187] The method for determining the security selection protocol information includes the following steps:

[0188] Step S3788671: Determine the security deviation impact value corresponding to the security deviation value according to the corresponding relationship between the security deviation value and the preset security deviation impact value.

[0189] The safety deviation impact value refers to the impact value generated when there is a safety deviation. The safety deviation impact value is obtained by querying from a database storing safety deviation values ​​and safety deviation impact values. The database is obtained and stored through experiments. The safety deviation impact value is determined by querying the safety deviation value to facilitate subsequent use.

[0190] Step S3788672: Determine the data rate deviation impact value corresponding to the data rate deviation value according to the correspondence between the data rate deviation value and the preset data rate deviation impact value.

[0191] The data rate deviation impact value refers to the impact value generated when the data rate has a deviation, and the data rate deviation impact value is obtained by querying from a database storing data rate deviation values ​​and data rate deviation impact values, and the database is obtained and stored through experiments. The data rate deviation impact value is determined by querying the data rate deviation value, which is convenient for subsequent use.

[0192] Step S3788673: Calculate the sum of the security deviation impact value and the data rate deviation impact value and use it as the comprehensive impact value.

[0193] Among them, the comprehensive impact value refers to the comprehensive impact degree value caused by the security deviation and the data rate deviation. The sum of the security deviation impact value and the data rate deviation impact value is calculated and used as the comprehensive impact value to facilitate subsequent use.

[0194] Step S3788674: Sort from small to large based on the comprehensive impact value, and use the distance selection protocol information corresponding to the first-ranked comprehensive impact value as the comprehensive selection protocol information, and use the comprehensive selection protocol information as the security selection protocol information.

[0195] Among them, the comprehensive selected protocol information refers to the communication protocol information comprehensively selected based on security and data rate. The comprehensive impact values ​​are sorted from small to large, and the distance selection protocol information corresponding to the first-ranked comprehensive impact value is used as the comprehensive selected protocol information, and the comprehensive selected protocol information is used as the security selected protocol information, thereby improving the accuracy of the obtained security selected protocol information.

[0196] exist Figure 1 In step S500 shown, in order to further ensure the rationality of the docking parameter information, it is necessary to perform further separate analysis and calculation on the docking parameter information, which is specifically described in detail through the following steps.

[0197] The method for determining the connection parameter information includes the following steps:

[0198] Step S510: Determine whether the connection communication protocol information is the same type of communication protocol information. If yes, execute step S520; if no, execute step S550.

[0199] Wherein, by judging whether the docking communication protocol information is the same type of communication protocol information, it is judged whether the configuration parameters of the docking device need to be regenerated.

[0200] Step S520: Retrieve consistent type parameter information based on the docking communication protocol information.

[0201] Among them, consistent type parameter information refers to the parameter information required when the docking device and the communication device are of the same type, and the docking communication protocol information includes consistent type parameter information. When the docking communication protocol information is consistent type communication protocol information, it means that the configuration parameters of the docking device do not need to be regenerated at this time, so the consistent type parameter information is retrieved through the docking communication protocol information for subsequent use. Consistent type parameter information includes universal parameters such as baud rate, IP address, port number, connection timeout, etc.

[0202] Step S530: determining the device additional parameter information corresponding to the docking device information according to the correspondence between the docking device information and the preset device additional parameter information.

[0203] Among them, the device additional parameter information refers to the parameter information that needs to be additionally configured for the docking device. The device additional parameter information is obtained by querying from a database storing docking device information and device additional parameter information, and the database is obtained by querying the docking device related website. The device additional parameter information is determined by querying the docking device information to facilitate subsequent use. The device additional parameter information includes parameters related to the docking device alone, such as name, attribute, type, address, multiplication coefficient, precision, description, etc.

[0204] Step S540: adjusting the consistent type parameter information based on the device additional parameter information and combining it with the docking port number to form consistent type adjustment parameter information, and using the consistent type adjustment parameter information as the docking parameter information.

[0205] Among them, the consistent type parameter information is adjusted by the device additional parameter information to modify the parameters corresponding to the consistent type to be consistent with the docking device and combined, and then combined with the docking port number to form consistent type adjustment parameter information, and the consistent type adjustment parameter information is used as the docking parameter information, thereby improving the accuracy of the obtained docking parameter information.

[0206] Step S550: Retrieve device benchmark parameter information based on the docking device information.

[0207] Among them, the device baseline parameter information refers to the baseline parameter information corresponding to the docking device when it needs to be configured. When the docking communication protocol information is not the same type of communication protocol information, it means that the configuration parameters of the docking device may need to be regenerated at this time. Therefore, the device baseline parameter information is queried and retrieved through the docking device information to facilitate subsequent use.

[0208] Step S560: Analyze and determine the device's newly added parameter information based on the device's baseline parameter information and the docking port number, and use the device's newly added parameter information as the docking parameter information.

[0209] Among them, the newly added parameter information of the device refers to the parameter information newly added based on the docking device. By analyzing the device baseline parameter information and the docking port number, the newly added parameter information of the device is determined and used as the docking parameter information to facilitate subsequent use.

[0210] In step S560, in order to further ensure the rationality of the newly added parameter information of the device, it is necessary to perform further separate analysis and calculation on the newly added parameter information of the device, which is specifically described in detail through the following steps.

[0211] The method for determining the newly added parameter information of the device includes the following steps:

[0212] Step S561: Retrieve device benchmark parameter type information and device benchmark parameter value based on the device benchmark parameter information.

[0213] Among them, the equipment benchmark parameter information includes equipment benchmark parameter type information and equipment benchmark parameter value. The equipment benchmark parameter type information refers to the type information of the benchmark parameter when the docking device needs to be configured. The equipment benchmark parameter value refers to the parameter value corresponding to the benchmark parameter when the docking device needs to be configured. The equipment benchmark parameter type information and the equipment benchmark parameter value are retrieved through the equipment benchmark parameter information to facilitate subsequent use.

[0214] Step S562: Determine the protocol impact type information corresponding to the interconnection communication protocol information according to the correspondence between the interconnection communication protocol information and the preset protocol impact type information.

[0215] The protocol impact type information refers to the parameter type information that the communication protocol will affect the parameter configuration. The protocol impact type information is obtained by querying from a database storing the docking communication protocol information and the protocol impact type information. The database is obtained by querying the communication protocol related website. The protocol impact type information is determined by querying the docking communication protocol information to facilitate subsequent use.

[0216] Step S563: Determine whether the protocol impact type information is consistent with the device reference parameter type information. If yes, execute step S564; if no, execute step S568.

[0217] Among them, by judging whether the protocol impact type information and the device benchmark parameter type information are consistent, it is judged whether the benchmark parameters to be configured of the docking device are affected by the communication protocol.

[0218] Step S564: The protocol impact type information that is consistent with the device reference parameter type information is taken as parameter consistent type information.

[0219] Among them, parameter consistency type information refers to parameter type information affected by the communication protocol. When the protocol impact type information is consistent with the device baseline parameter type information, it means that the baseline parameters of the docking device that need to be configured at this time are affected by the communication protocol. Therefore, the protocol impact type information that is consistent with the device baseline parameter type information is used as parameter consistency type information to facilitate subsequent use.

[0220] Step S565: Determine the consistent category influence value corresponding to the parameter consistent category information according to the correspondence between the parameter consistent category information and the preset consistent category influence value.

[0221] The consistent type impact value refers to the impact degree value when the consistent type has an impact, and the consistent type impact value is obtained by querying from a database storing parameter consistent type information and consistent type impact values, and the database is obtained and stored through experiments. The consistent type impact value is determined by querying the parameter consistent type information to facilitate subsequent use.

[0222] Step S566: Calculate the sum of the equipment reference parameter value and the consistent category impact value and use it as the equipment adjustment parameter value.

[0223] The equipment adjustment parameter value refers to the adjustment value after the parameter is adjusted. The sum of the equipment benchmark parameter value and the consistent category impact value is calculated and used as the equipment adjustment parameter value for subsequent use.

[0224] Step S567: Combine the device adjustment parameter value with the docking port number to form device adjustment parameter information, and use the device comprehensive parameter information as the device newly added parameter information.

[0225] Among them, the device adjustment parameter information refers to the adjustment parameter information after adjustment when the docking device needs to be configured. The device adjustment parameter information is formed by combining the device adjustment parameter value with the docking port number and used as the device new parameter information, thereby improving the accuracy of the acquired device new parameter information.

[0226] Step S568: Combine the device baseline parameter value with the docking port number to form device comprehensive parameter information, and use the device comprehensive parameter information as the device newly added parameter information.

[0227] Among them, the device comprehensive parameter information refers to the comprehensive parameter information when the docking device needs to be configured. When the protocol impact type information is inconsistent with the device baseline parameter type information, it means that the baseline parameters when the docking device needs to be configured at this time are not affected by the communication protocol. Therefore, the device baseline parameter value is directly combined with the docking port number to form the device comprehensive parameter information and used as the device's new parameter information, thereby improving the accuracy of the acquired device's new parameter information.

[0228] Based on the same inventive concept, an embodiment of the present invention provides a rapid docking system for power monitoring equipment based on an edge computing gateway, including:

[0229] The acquisition module is used to obtain the docking device information, docking port number, communication device information and gateway location point;

[0230] Memory, used to store Figures 1 to 6 A program for a rapid docking method of an electric power monitoring device based on an edge computing gateway as described in any one of the above;

[0231] The processor loads and executes the program in the memory and implements Figures 1 to 6 A rapid docking method for power monitoring equipment based on edge computing gateway as described in any one of the above.

[0232] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0233] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A rapid docking method for power monitoring equipment based on edge computing gateway, characterized in that: include: Connect the device that needs to be connected at the current time to the edge computing gateway and obtain the connection device information and connection port number; Create docking device node information based on docking device information; Determine the docking communication protocol information based on the docking device information analysis; Analyze and determine the docking parameter information based on the docking device information, docking port number and docking communication protocol information; combining the docking communication protocol information with the docking parameter information and storing them in the docking device node information for docking communication; The method for determining the docking communication protocol information includes: Get the information of the communication devices that have communicated at the current time; Retrieving communication equipment type information based on communication equipment information; Retrieving docking device type information based on docking device information; Determine whether the communication device type information includes the docking device type information; If yes, the communication device type information that is consistent with the docking device type information is used as the docking consistent type information; Retrieving the same type of communication protocol information based on the docking same type information, and using the same type of communication protocol information as the docking communication protocol information; If not, determine the communication protocol information of different types according to the communication device type information and the docking device type information, and use the communication protocol information of different types as the docking communication protocol information; Methods for determining different types of communication protocol information include: Retrieve original communication protocol information based on communication device type information; According to the correspondence between the original communication protocol information and the preset original communication compatibility type information, the original communication compatibility type information corresponding to the original communication protocol information is determined; Determine whether the original communication compatibility type information is consistent with the docking device type information; If yes, the original communication compatibility type information corresponding to the docking device type information is used as compatible same type information, and the original communication protocol information corresponding to the compatible same type information is used as different type communication protocol information; If not, then determining the initial communication protocol information corresponding to the docking device type information according to the correspondence between the docking device type information and the preset initial communication protocol information; Retrieve the location point of the docking device based on the docking device information; Get the gateway location of the edge computing gateway; The initial communication protocol information is selected according to the docking device location point and the gateway location point to determine the selected communication protocol information, and the selected communication protocol information is used as the communication protocol information for distinguishing types.

2. The rapid docking method of power monitoring equipment based on edge computing gateway according to claim 1 is characterized in that: The method for determining the selected communication protocol information includes: Calculate the distance between the docking device location point and the gateway location point and use it as the docking distance value; According to the correspondence between the initial communication protocol information and the preset initial protocol reference distance interval, the initial protocol reference distance interval corresponding to the initial communication protocol information is determined; Selecting the initial communication protocol information corresponding to the docking distance value falling into the initial protocol reference distance interval as the distance selection protocol information; Retrieve the distance selection protocol value based on the distance selection protocol information; Determine whether the value of the distance selection protocol is only one; If yes, the distance selection protocol information is used as the selected communication protocol information; If not, retrieve the required usage information based on the docking device type information; The required usage protocol information is determined based on the required usage information and the distance selection protocol information analysis, and the required usage protocol information is used as the selected communication protocol information.

3. The rapid docking method of power monitoring equipment based on edge computing gateway according to claim 2 is characterized in that: Methods for determining the required usage agreement information include: Retrieving a data rate demand value based on the demand usage information; According to the correspondence between the docking distance value and the preset data rate distance impact value, a data rate distance impact value corresponding to the docking distance value is determined; According to the correspondence between the distance selection protocol information and the preset rate reference value, the rate reference value corresponding to the distance selection protocol information is determined; Calculate the sum of the data rate distance impact value and the rate reference value and use it as the distance selection protocol rate adjustment value; Calculate the difference between the distance selection protocol rate adjustment value and the data rate requirement value and use it as the data rate deviation value; The data rate deviation values ​​are sorted from large to small, and the distance selection protocol information corresponding to the data rate deviation value ranked first is used as the rate selection protocol information, and the rate selection protocol information is used as the demand use protocol information.

4. The rapid docking method of power monitoring equipment based on edge computing gateway according to claim 3 is characterized in that: The method further includes the following steps after using the rate selection protocol information as the demand use protocol information: Retrieving the security requirement value based on the required usage information; According to the correspondence between the rate selection protocol information and the preset rate selection protocol security reference value, a rate selection protocol security reference value corresponding to the rate selection protocol information is determined; Determine whether the rate selection protocol security reference value is greater than the security requirement value; If yes, continue to output the required usage agreement information; If not, then according to the correspondence between the distance selection protocol information and the preset distance selection protocol security reference value, determine the distance selection protocol security reference value corresponding to the distance selection protocol information; Calculate the difference between the security requirement value and the distance selection protocol security reference value and use it as the security deviation value; The security selection protocol information is determined based on the security deviation value and the distance selection protocol information analysis, and the security selection protocol information is used to replace the demand use protocol information to form new demand use protocol information.

5. The rapid docking method of power monitoring equipment based on edge computing gateway according to claim 4 is characterized in that: The method for determining the security selection protocol information includes: According to the corresponding relationship between the security deviation value and the preset security deviation impact value, the security deviation impact value corresponding to the security deviation value is determined; According to the correspondence between the data rate deviation value and the preset data rate deviation impact value, a data rate deviation impact value corresponding to the data rate deviation value is determined; Calculate the sum of the security deviation impact value and the data rate deviation impact value and use it as the comprehensive impact value; The comprehensive impact values ​​are sorted from small to large, and the distance selection protocol information corresponding to the first-ranked comprehensive impact value is used as the comprehensive selection protocol information, and the comprehensive selection protocol information is used as the security selection protocol information.

6. The rapid docking method of power monitoring equipment based on edge computing gateway according to claim 1 is characterized in that: The method for determining the connection parameter information includes: Determine whether the connection communication protocol information is the same type of communication protocol information; If yes, then retrieve the consistent type parameter information based on the docking communication protocol information; According to the correspondence between the docking device information and the preset device additional parameter information, the device additional parameter information corresponding to the docking device information is determined; Adjust the consistent type parameter information based on the device additional parameter information and combine it with the docking port number to form consistent type adjustment parameter information, and use the consistent type adjustment parameter information as the docking parameter information; If not, retrieve the device benchmark parameter information based on the docking device information; The newly added parameter information of the device is determined based on the device baseline parameter information and the docking port number, and the newly added parameter information of the device is used as the docking parameter information.

7. The rapid docking method of power monitoring equipment based on edge computing gateway according to claim 6 is characterized in that: Methods for determining the newly added parameter information of the device include: Retrieving device benchmark parameter type information and device benchmark parameter values ​​based on the device benchmark parameter information; According to the correspondence between the interconnection communication protocol information and the preset protocol impact type information, the protocol impact type information corresponding to the interconnection communication protocol information is determined; Determine whether the protocol impact type information is consistent with the device baseline parameter type information; If yes, the protocol impact type information that is consistent with the device baseline parameter type information is taken as parameter consistent type information; According to the correspondence between the parameter consistency category information and the preset consistency category influence value, the consistency category influence value corresponding to the parameter consistency category information is determined; Calculate the sum of the equipment baseline parameter value and the consistent type impact value and use it as the equipment adjustment parameter value; Combine the device adjustment parameter value with the docking port number to form device adjustment parameter information, and use the device comprehensive parameter information as the device newly added parameter information; If not, the device baseline parameter value is combined with the docking port number to form device comprehensive parameter information, and the device comprehensive parameter information is used as the device newly added parameter information.

8. A rapid docking system for power monitoring equipment based on edge computing gateway, characterized in that: include: The acquisition module is used to obtain the docking device information, docking port number, communication device information and gateway location point; Memory, used to store programs; A processor loads and executes a program in a memory and implements a fast docking method for an edge computing gateway-based power monitoring device as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Equipment access method and device based on intelligent gateway, equipment and storage medium

    CN114157536A