Plug-and-play access method and system for distributed source storage load measurement and control equipment
Through the plug-and-play access method, distributed source load storage measurement and control equipment is identified and registered, and the data collection frequency is dynamically adjusted, which solves the problem of low equipment access efficiency in the distribution network, improves system stability and security, and realizes Intelligent management.
Patent Information
- Application Number
- CN202410644186.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-27
AI Technical Summary
The access efficiency of medium and low-voltage distribution network automation equipment in the existing distribution network is low and cannot support dense access and rapid deployment, resulting in a heavy maintenance workload.
Adopt a plug-and-play access method for distributed source load storage measurement and control equipment, identify equipment through network scanning algorithms, build equipment model matching algorithms, dynamically adjust data collection frequency, and achieve automated management and operating status optimization.
It improves equipment access efficiency, reduces maintenance workload, enhances system stability and security, realizes intelligent decision-making and dynamic adjustment, adapts to equipment status and system load changes, and continuously optimizes equipment performance and service quality.
Smart Images

Figure CN118713283A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power distribution automation, and in particular to a plug-and-play access method and system for distributed source-storage-load measurement and control equipment. Background Art
[0002] In recent years, there has been a strong demand for the construction of new energy distribution networks. On the one hand, distributed new energy, such as rooftop photovoltaics in entire counties, has grown explosively. On the other hand, the proportion of flexible loads such as distributed energy storage, building environmental loads, and electric vehicle loads on the distribution network side has increased year by year. The large-scale emergence of distributed new energy and flexible loads has put forward higher requirements for the construction of distribution networks.
[0003] The current power distribution Internet of Things has formed a "cloud-pipe-edge-end" system architecture. The "end" is the underlying terminal device of the power distribution Internet of Things. It generally includes new smart meters with broadband carrier communication capabilities and support for power frequency distortion technology, branch box distribution network monitoring terminals, low-voltage fault indicators, various types of sensor units, etc. It is responsible for the monitoring, perception, and collection functions of the power distribution Internet of Things, and responds to the execution and protection functions of the "edge" layer of the power distribution Internet of Things. The existing technology often uses manual registration and information file management to access smart terminals in substations and terminal devices such as smart meters and smart switches. This method cannot support the dense access and rapid deployment of distribution terminals and is inefficient. Summary of the invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by the present invention is to solve the problem of effectively accessing a large number of low-voltage distribution network automation equipment and reducing the maintenance workload.
[0006] To solve the above technical problems, the present invention provides the following technical solutions: A plug-and-play access method for distributed source-storage-load measurement and control equipment, comprising: identifying devices in the target network through a network scanning algorithm according to preliminary information of each distributed source-storage-load measurement and control device in the target network, and classifying the devices into known devices registered with the network and new devices not registered with the network;
[0007] Build a device model matching algorithm to match the most suitable device model to the identified new device;
[0008] Perform preset actions on new devices based on the matched device model to decide whether to register the new device to the network;
[0009] The device data collection frequency of known devices is dynamically adjusted according to the device status and device load status of the known devices to intelligently generate control instructions to achieve automated management and operation status optimization of the known devices.
[0010] As a preferred solution of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the preliminary information includes the device MAC address, device certificate or digital signature, device manufacturer and model information, firmware / software version, IP address, service port and supported protocols;
[0011] The method of identifying devices in the target network through a network scanning algorithm includes using a machine learning model to predict the active time period of each device in the network, and based on the historical activity data of the network, determining the time period when the network load is lower than a preset load threshold and the device activity is higher than a preset activity threshold as the optimal scanning period; within the optimal scanning period, starting an active network scan, using Ping scanning to actively detect active devices in the network, and recording active device information; performing a port scan on each active device to determine the open service ports, and adjusting the port scanning priority and strategy based on the network services expected by the device; performing service detection on the identified open ports, the detection is based on a general detection packet, and the detection strategy is dynamically adjusted according to the open port response; classifying and identifying the detected services, and classifying the active devices as new devices or known devices based on the results of the scan and service identification; the new device will enter the model matching process, dynamically adjust the device data collection frequency according to the device status and load of the known device, and intelligently generate control instructions based on real-time data and preset strategies.
[0012] As a preferred solution of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in the present invention, the device model matching algorithm includes the original feature vector of the new device Perform nonlinear transformation, according to the transformed vector Define dynamic information fineness adjustment function use Calculate the matching score of each pre-built device model corresponding to the new device, and select the model with the highest model matching score as the matching model;
[0013] The device model matching algorithm is expressed as,
[0014]
[0015]
[0016]
[0017] in, represents the original eigenvector, t represents the variable used in the integral transformation, represents the eigenvector obtained after nonlinear transformation and integration, v transi express The i-th element in , e represents the base of the natural logarithm, ln represents the natural logarithm function, cos(t) represents the cosine function, represents the dynamic information refinement adjustment function, i represents the index variable, j represents the index variable, S represents the model matching score, ∈ represents a constant, and w k represents the weight parameter, K represents the total number of device models considered, and n represents the original feature vector Dimension.
[0018] As a preferred solution of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the execution of the preset action on the new device includes analyzing the functional indicators of the new device, determining the comprehensive indicator score, and determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device based on the comprehensive indicator score, so as to execute the corresponding one-time adjustment strategy;
[0019] The comprehensive index score is expressed as,
[0020]
[0021] Among them, HPI represents hardware performance index, OSC represents operating system compatibility score, TDR represents specific task requirement level, IFRP represents device idle resource percentage, SR represents device operation stability score, BWU represents network bandwidth utilization, CLI represents server current load index, and α, β, and γ represent weight factors respectively.
[0022] As a preferred solution of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the determination of whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device includes when the CIS is less than a preset first threshold, judging it as a resource-abundant device, directly issuing an application, and registering the new device;
[0023] When the CIS is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, it is judged as a load balancing device, the priority and optimal time window of the task to be issued are determined based on the functional indicators of the new device, a security and compatibility check is performed before the new device is registered, and the frequency of new device information collection is adjusted according to the operating status and device load status of the new device;
[0024] When the CIS is greater than the preset second threshold, it is judged as a resource-constrained device and only security updates and necessary services are provided to it. The registration process is delayed until the device load status is reduced or the device resources are released, and a low-frequency data collection strategy is adopted.
[0025] As a preferred solution of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the decision whether to register a new device to the network includes performing a security and compatibility assessment on the new device after executing an adjustment strategy;
[0026] When the device software and hardware do not contain known security vulnerabilities and can be integrated with the existing operating system, the device with sufficient resources can be directly registered;
[0027] For load-balanced and resource-constrained devices, perform resource evaluation and determine whether the impact on device stability is within a preset threshold range. The resource evaluation includes computing resources, storage space, and network bandwidth.
[0028] If the device passes the resource assessment and the device stability impact is within the preset threshold, the device is registered;
[0029] If the device fails the resource assessment or the device stability impact is outside the preset threshold range, registration is postponed and the repair strategy is implemented until the problem is resolved and the device is registered.
[0030] As a preferred solution of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the generation of control instructions includes collecting the operation data of the equipment, network communication quality, application performance indicators, and external environmental factors after the equipment is successfully registered, and the external environmental factors include time, geographical location or peripheral equipment status;
[0031] Analyze collected data based on machine learning models to identify patterns and trends and predict potential performance bottlenecks or failure points;
[0032] Based on the analysis results of the machine learning model, evaluate the current operating status and load conditions of the equipment, and implement intelligent decision-making based on the analysis results;
[0033] The decision-making takes into account preset strategies, historical decision-making effects and real-time analysis data to formulate control instructions that are suitable for the current situation;
[0034] Introduce a dynamic adjustment mechanism to adjust data collection frequency, modify equipment configuration, and optimize resource allocation in real time according to control instructions.
[0035] Another object of the present invention is to provide a plug-and-play access system for distributed source-storage-load measurement and control equipment, which can solve the problems of low efficiency, poor compatibility and unreasonable resource allocation of traditional access methods in equipment identification, configuration and management by building an integrated and intelligent management system.
[0036] To solve the above technical problems, the present invention provides the following technical solutions: A plug-and-play access system for distributed source-storage-load measurement and control equipment, comprising: the device identification module is used to identify the devices in the target network through a network scanning algorithm according to the preliminary information of each distributed source-storage-load measurement and control equipment in the target network, and classify the devices into known devices registered with the network and new devices not registered with the network;
[0037] The model matching module is used to construct a device model matching algorithm to match the most suitable device model to the identified new device;
[0038] The device registration module is used to perform a preset action on the new device according to the matched device model to determine whether to register the new device to the network;
[0039] The dynamic management module is used to dynamically adjust the device data collection frequency of the known device according to the device status and device load status of the known device, so as to intelligently generate control instructions and realize the automatic management and operation status optimization of the known device.
[0040] As a preferred solution of the plug-and-play access system for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the preliminary information includes the device MAC address, device certificate or digital signature, device manufacturer and model information, firmware / software version, IP address, service port and supported protocols;
[0041] The method of identifying devices in the target network through a network scanning algorithm includes using a machine learning model to predict the active time period of each device in the network, and based on the historical activity data of the network, determining the time period when the network load is lower than a preset load threshold and the device activity is higher than a preset activity threshold as the optimal scanning period; within the optimal scanning period, starting an active network scan, using Ping scanning to actively detect active devices in the network, and recording active device information; performing a port scan on each active device to determine the open service ports, and adjusting the port scanning priority and strategy based on the network services expected by the device; performing service detection on the identified open ports, the detection is based on a general detection packet, and the detection strategy is dynamically adjusted according to the open port response; classifying and identifying the detected services, and classifying the active devices as new devices or known devices based on the results of the scan and service identification; the new device will enter the model matching process, dynamically adjust the device data collection frequency according to the device status and load of the known device, and intelligently generate control instructions based on real-time data and preset strategies.
[0042] As a preferred solution of the plug-and-play access system for distributed source-storage-load measurement and control equipment described in the present invention, the device model matching algorithm includes the original feature vector of the new device Perform nonlinear transformation, according to the transformed vector Define dynamic information fineness adjustment function use Calculate the matching score of each pre-built device model corresponding to the new device, and select the model with the highest model matching score as the matching model;
[0043] The device model matching algorithm is expressed as,
[0044]
[0045]
[0046]
[0047] in, represents the original eigenvector, t represents the variable used in the integral transformation, represents the eigenvector obtained after nonlinear transformation and integration, v transi express The i-th element in , e represents the base of the natural logarithm, ln represents the natural logarithm function, cos(t) represents the cosine function, represents the dynamic information refinement adjustment function, i represents the index variable, j represents the index variable, S represents the model matching score, ∈ represents a constant, and w k represents the weight parameter, K represents the total number of device models considered, and n represents the original feature vector Dimension.
[0048] As a preferred solution of the plug-and-play access system for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the execution of the preset action on the new device includes analyzing the functional indicators of the new device, determining the comprehensive indicator score, and determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device based on the comprehensive indicator score, so as to execute the corresponding one-time adjustment strategy;
[0049] The comprehensive index score is expressed as,
[0050]
[0051] Among them, HPI represents hardware performance index, OSC represents operating system compatibility score, TDR represents specific task requirement level, IFRP represents device idle resource percentage, SR represents device operation stability score, BWU represents network bandwidth utilization, CLI represents server current load index, and α, β, and γ represent weight factors respectively.
[0052] Determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device includes determining that the new device is a resource-abundant device when the CIS is less than a preset first threshold, directly issuing an application program, and registering the new device;
[0053] When the CIS is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, it is judged as a load balancing device, the priority and optimal time window of the task to be issued are determined based on the functional indicators of the new device, a security and compatibility check is performed before the new device is registered, and the frequency of new device information collection is adjusted according to the operating status and device load status of the new device;
[0054] When the CIS is greater than the preset second threshold, it is judged as a resource-constrained device and only security updates and necessary services are provided to it. The registration process is delayed until the device load status is reduced or the device resources are released, and a low-frequency data collection strategy is adopted.
[0055] As a preferred solution of the plug-and-play access system for distributed source-storage-load measurement and control equipment described in the present invention, wherein: the decision whether to register a new device to the network includes performing a security and compatibility assessment on the new device after executing an adjustment strategy;
[0056] When the device software and hardware do not contain known security vulnerabilities and can be integrated with the existing operating system, the device with sufficient resources can be directly registered;
[0057] For load-balanced and resource-constrained devices, perform resource evaluation and determine whether the impact on device stability is within a preset threshold range. The resource evaluation includes computing resources, storage space, and network bandwidth.
[0058] If the device passes the resource assessment and the device stability impact is within the preset threshold, the device is registered;
[0059] If the device fails the resource assessment or the device stability impact is outside the preset threshold range, registration is postponed and the repair strategy is implemented until the problem is resolved and the device is registered.
[0060] The generating control instruction includes collecting the operation data, network communication quality, application performance index and external environmental factors of the device after the device is successfully registered, and the external environmental factors include time, geographical location or status of surrounding devices;
[0061] Analyze collected data based on machine learning models to identify patterns and trends and predict potential performance bottlenecks or failure points;
[0062] Based on the analysis results of the machine learning model, evaluate the current operating status and load conditions of the equipment, and implement intelligent decision-making based on the analysis results;
[0063] The decision-making takes into account preset strategies, historical decision-making effects and real-time analysis data to formulate control instructions that are suitable for the current situation;
[0064] Introduce a dynamic adjustment mechanism to adjust data collection frequency, modify equipment configuration, and optimize resource allocation in real time according to control instructions.
[0065] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the plug-and-play access method for distributed source-storage-load measurement and control equipment as described above are implemented.
[0066] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the plug-and-play access method for distributed source-storage-load measurement and control equipment as described above.
[0067] Beneficial effects of the present invention: The plug-and-play access method for distributed source-storage-load measurement and control equipment provided by the present invention integrates network scanning, machine learning, dynamic information processing and intelligent decision-making technologies, thereby improving the efficiency of device access and the optimal allocation of system resources. Through automatic identification and registration, precise device model matching, and real-time status monitoring and control, not only the speed of equipment deployment is accelerated, but also the stability and security of the system are significantly enhanced. Intelligent decision-making and dynamic adjustment mechanisms can adapt to changes in equipment status and system load in a timely manner, continuously optimize equipment performance and service quality, ensure efficient management and lasting optimization of distributed systems in dynamic environments, and provide strong support for highly automated and intelligent equipment management. Plug-and-play between the energy Internet platform and the smart energy unit, and between the smart energy unit and the terminal device is realized, which reduces the difficulty of on-site construction and operation and maintenance, and generates significant economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0069] Figure 1 An overall flow chart of a plug-and-play access method for distributed source-storage-load measurement and control equipment provided by an embodiment of the present invention.
[0070] Figure 2 An overall structural diagram of a plug-and-play access system for distributed source-storage-load measurement and control equipment provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0071] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0072] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0073] Example 1
[0074] Reference Figure 1 , is an embodiment of the present invention, and provides a plug-and-play access method for distributed source-storage-load measurement and control equipment, including:
[0075] Based on the preliminary information of each distributed source, storage and load measurement and control device in the target network, the devices in the target network are identified through a network scanning algorithm, and the devices are classified into known devices that have been registered with the network and new devices that have not been registered with the network;
[0076] Build a device model matching algorithm to match the most suitable device model to the identified new device;
[0077] Perform preset actions on new devices based on the matched device model to decide whether to register the new device to the network;
[0078] The device data collection frequency of known devices is dynamically adjusted according to the device status and device load status of the known devices to intelligently generate control instructions to achieve automated management and operation status optimization of the known devices.
[0079] Dynamically adjust the frequency of equipment data collection according to equipment status and load, and intelligently generate control instructions based on real-time data and preset strategies to achieve automated management of equipment and optimization of operating status.
[0080] The preliminary information includes the device MAC address, device certificate or digital signature, device manufacturer and model information, firmware / software version, IP address, service port and supported protocols;
[0081] The method of identifying devices in the target network through a network scanning algorithm includes using a machine learning model to predict the active time period of each device in the network, and based on the historical activity data of the network, determining the time period when the network load is lower than a preset load threshold and the device activity is higher than a preset activity threshold as the optimal scanning period; within the optimal scanning period, starting an active network scan, using Ping scanning to actively detect active devices in the network, and recording active device information; performing a port scan on each active device to determine the open service ports, and adjusting the port scanning priority and strategy based on the network services expected by the device; performing service detection on the identified open ports, the detection is based on a general detection packet, and the detection strategy is dynamically adjusted according to the open port response; classifying and identifying the detected services, and classifying the active devices as new devices or known devices based on the results of the scan and service identification; the new device will enter the model matching process, dynamically adjust the device data collection frequency according to the device status and load of the known device, and intelligently generate control instructions based on real-time data and preset strategies.
[0082] Preprocessing includes data cleaning: removing invalid or erroneous data records, such as incomplete MAC addresses or unresolvable device certificates.
[0083] Encoding: Encode categorical variables such as device make and model for use in algorithms. For example, One-Hot Encoding can be used to handle this type of non-numeric data.
[0084] Normalization / Standardization: If you use a distance-based algorithm for device identification or model matching, normalize or standardize the numerical data to eliminate the impact of different dimensions.
[0085] The device model matching algorithm includes the original feature vector of the new device Perform nonlinear transformation, according to the transformed vector Define dynamic information fineness adjustment function use Calculate the matching score of each pre-built device model corresponding to the new device, and select the model with the highest model matching score as the matching model;
[0086] The device model matching algorithm is expressed as,
[0087]
[0088]
[0089]
[0090] in, represents the original eigenvector, t represents the variable used in the integral transformation, represents the eigenvector obtained after nonlinear transformation and integration, v transi express The i-th element in , e represents the base of the natural logarithm, ln represents the natural logarithm function, cos(t) represents the cosine function, represents the dynamic information refinement adjustment function, i represents the index variable, j represents the index variable, S represents the model matching score, ∈ represents a positive number, and w k represents the weight parameter, K represents the total number of device models considered, and n represents the original feature vector Dimension.
[0091] The performing of the preset action on the new device includes analyzing the functional index of the new device, determining a comprehensive index score, and determining whether the new device is a resource-abundant device, a load-balanced device, or a resource-constrained device based on the comprehensive index score, so as to perform a corresponding primary adjustment strategy;
[0092] The comprehensive index score is expressed as,
[0093]
[0094] Among them, HPI represents hardware performance index, OSC represents operating system compatibility score, TDR represents specific task requirement level, IFRP represents device idle resource percentage, SR represents device operation stability score, BWU represents network bandwidth utilization, CLI represents server current load index, and α, β, and γ represent weight factors respectively.
[0095] Determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device includes determining that the new device is a resource-abundant device when the CIS is less than a preset first threshold, directly issuing an application program, and registering the new device;
[0096] When the CIS is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, it is judged as a load balancing device, the priority and optimal time window of the task to be issued are determined based on the functional indicators of the new device, a security and compatibility check is performed before the new device is registered, and the frequency of new device information collection is adjusted according to the operating status and device load status of the new device;
[0097] When the CIS is greater than the preset second threshold, it is judged as a resource-constrained device and only security updates and necessary services are provided to it. The registration process is delayed until the device load status is reduced or the device resources are released, and a low-frequency data collection strategy is adopted.
[0098] The decision of whether to register a new device to the network includes performing a security and compatibility assessment on the new device after executing an adjustment policy;
[0099] When the device software and hardware do not contain known security vulnerabilities and can be integrated with the existing operating system, the device with sufficient resources can be directly registered;
[0100] For load-balanced and resource-constrained devices, perform resource evaluation and determine whether the impact on device stability is within a preset threshold range. The resource evaluation includes computing resources, storage space, and network bandwidth.
[0101] If the device passes the resource assessment and the device stability impact is within the preset threshold, the device is registered;
[0102] If the device fails the resource assessment or the device stability impact is outside the preset threshold range, registration is postponed and the repair strategy is implemented until the problem is resolved and the device is registered.
[0103] Executing the repair strategy includes the system first conducting detailed problem diagnosis for devices that have not passed the resource assessment or whose registered device stability impact exceeds the preset threshold range. This includes identifying specific resource shortage issues (such as insufficient computing resources, insufficient storage space, insufficient network bandwidth) or specific security vulnerabilities and compatibility issues.
[0104] To address the problem of resource shortage, take resource optimization measures, such as adjusting the resource usage of other non-critical devices to release more resources for devices to be registered; or expand resources, such as increasing server computing power, expanding storage capacity, and improving network bandwidth.
[0105] For security vulnerabilities, remedial measures should be taken immediately, such as applying security patches, updating software versions, etc. For compatibility issues, it is necessary to adjust the device configuration or update the software and hardware to ensure that it can be seamlessly integrated with the existing system.
[0106] The generating control instruction includes collecting the operation data, network communication quality, application performance index and external environmental factors of the device after the device is successfully registered, and the external environmental factors include time, geographical location or status of surrounding devices;
[0107] Analyze collected data based on machine learning models to identify patterns and trends and predict potential performance bottlenecks or failure points;
[0108] Based on the analysis results of the machine learning model, evaluate the current operating status and load conditions of the equipment, and implement intelligent decision-making based on the analysis results;
[0109] The decision-making takes into account preset strategies, historical decision-making effects and real-time analysis data to formulate control instructions that are suitable for the current situation;
[0110] Introduce a dynamic adjustment mechanism to adjust data collection frequency, modify equipment configuration, and optimize resource allocation in real time according to control instructions.
[0111] Example 2
[0112] Reference Figure 2 , which is an embodiment of the present invention, provides a plug-and-play access system for distributed source-storage-load measurement and control equipment, including:
[0113] The device identification module is used to identify the devices in the target network through a network scanning algorithm based on the preliminary information of each distributed source storage load measurement and control device in the target network, and classify the devices into known devices registered with the network and new devices not registered with the network;
[0114] The model matching module is used to construct a device model matching algorithm to match the most suitable device model to the identified new device;
[0115] The device registration module is used to perform a preset action on the new device according to the matched device model to determine whether to register the new device to the network;
[0116] The dynamic management module is used to dynamically adjust the device data collection frequency of the known device according to the device status and device load status of the known device, so as to intelligently generate control instructions and realize the automatic management and operation status optimization of the known device.
[0117] The preliminary information includes the device MAC address, device certificate or digital signature, device manufacturer and model information, firmware / software version, IP address, service port and supported protocols;
[0118] The method of identifying devices in the target network through a network scanning algorithm includes using a machine learning model to predict the active time period of each device in the network, and based on the historical activity data of the network, determining the time period when the network load is lower than a preset load threshold and the device activity is higher than a preset activity threshold as the optimal scanning period; within the optimal scanning period, starting an active network scan, using Ping scanning to actively detect active devices in the network, and recording active device information; performing a port scan on each active device to determine the open service ports, and adjusting the port scanning priority and strategy based on the network services expected by the device; performing service detection on the identified open ports, the detection is based on a general detection packet, and the detection strategy is dynamically adjusted according to the open port response; classifying and identifying the detected services, and classifying the active devices as new devices or known devices based on the results of the scan and service identification; the new device will enter the model matching process, dynamically adjust the device data collection frequency according to the device status and load of the known device, and intelligently generate control instructions based on real-time data and preset strategies.
[0119] The device model matching algorithm includes the original feature vector of the new device Perform nonlinear transformation, according to the transformed vector Define dynamic information fineness adjustment function use Calculate the matching score of each pre-built device model corresponding to the new device, and select the model with the highest model matching score as the matching model;
[0120] The device model matching algorithm is expressed as,
[0121]
[0122]
[0123]
[0124] in, represents the original eigenvector, t represents the variable used in the integral transformation, represents the eigenvector obtained after nonlinear transformation and integration, v transi express The i-th element in , e represents the base of the natural logarithm, ln represents the natural logarithm function, cos(t) represents the cosine function, represents the dynamic information refinement adjustment function, i represents the index variable, j represents the index variable, S represents the model matching score, ∈ represents a constant, and w k represents the weight parameter, K represents the total number of device models considered, and n represents the original feature vector Dimension.
[0125] The performing of the preset action on the new device includes analyzing the functional index of the new device, determining a comprehensive index score, and determining whether the new device is a resource-abundant device, a load-balanced device, or a resource-constrained device based on the comprehensive index score, so as to perform a corresponding primary adjustment strategy;
[0126] The comprehensive index score is expressed as,
[0127]
[0128] Among them, HPI represents hardware performance index, OSC represents operating system compatibility score, TDR represents specific task requirement level, IFRP represents device idle resource percentage, SR represents device operation stability score, BWU represents network bandwidth utilization, CLI represents server current load index, and α, β, and γ represent weight factors respectively.
[0129] Determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device includes determining that the new device is a resource-abundant device when the CIS is less than a preset first threshold, directly issuing an application program, and registering the new device;
[0130] When the CIS is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, it is judged as a load balancing device, the priority and optimal time window of the task to be issued are determined based on the functional indicators of the new device, a security and compatibility check is performed before the new device is registered, and the frequency of new device information collection is adjusted according to the operating status and device load status of the new device;
[0131] When the CIS is greater than the preset second threshold, it is judged as a resource-constrained device and only security updates and necessary services are provided to it. The registration process is delayed until the device load status is reduced or the device resources are released, and a low-frequency data collection strategy is adopted.
[0132] The decision of whether to register a new device to the network includes performing a security and compatibility assessment on the new device after executing an adjustment policy;
[0133] When the device software and hardware do not contain known security vulnerabilities and can be integrated with the existing operating system, the device with sufficient resources can be directly registered;
[0134] For load-balanced and resource-constrained devices, perform resource evaluation and determine whether the impact on device stability is within a preset threshold range. The resource evaluation includes computing resources, storage space, and network bandwidth.
[0135] If the device passes the resource assessment and the device stability impact is within the preset threshold, the device is registered;
[0136] If the device fails the resource assessment or the device stability impact is outside the preset threshold range, registration is postponed and the repair strategy is implemented until the problem is resolved and the device is registered.
[0137] The generating control instruction includes collecting the operation data, network communication quality, application performance index and external environmental factors of the device after the device is successfully registered, and the external environmental factors include time, geographical location or status of surrounding devices;
[0138] Analyze collected data based on machine learning models to identify patterns and trends and predict potential performance bottlenecks or failure points;
[0139] Based on the analysis results of the machine learning model, evaluate the current operating status and load conditions of the equipment, and implement intelligent decision-making based on the analysis results;
[0140] The decision-making takes into account preset strategies, historical decision-making effects and real-time analysis data to formulate control instructions that are suitable for the current situation;
[0141] Introduce a dynamic adjustment mechanism to adjust data collection frequency, modify equipment configuration, and optimize resource allocation in real time according to control instructions.
[0142] Example 3
[0143] An embodiment of the present invention is different from the first two embodiments in that:
[0144] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0145] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0146] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0147] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0148] Example 4
[0149] As an embodiment of the present invention, a plug-and-play access method for distributed source-storage-load measurement and control equipment is provided. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.
[0150] Through simulation experiments, the performance differences between the plug-and-play access method for distributed source-storage-load measurement and control equipment and the prior art A and prior art B were compared and analyzed.
[0151] The experiment aims to verify the superiority of the present invention in key indicators such as device access time, resource utilization, system stability score and data collection efficiency.
[0152] The preliminary preparation of the experiment includes setting up the experimental environment and simulating a network system containing a variety of distributed source storage and load measurement and control equipment. All equipment needs to be connected and configured through the network. Prior art A and prior art B represent the two mainstream equipment access methods in the current market.
[0153] In the detailed implementation process, the access process of the prior art A and B and the present invention is first set up, including steps such as device identification, model matching, and application program delivery. For each technology, the total time from the start of access to successful configuration (device access time) is recorded, the resource occupancy of the network and server is monitored during the access process (resource utilization), and the operating stability of the system within 24 hours after access is scored (system stability score), and finally the system's collection efficiency of the newly accessed device data within these 24 hours is evaluated (data collection efficiency).
[0154] To ensure the accuracy and fairness of the experimental results, each test was repeated three times under the same network conditions and system load, and the average value was taken as the final result to reduce the impact of accidental errors. The experimental results are shown in Table 1.
[0155] Table 1 Comparison of experimental results
[0156] Prior art A Prior Art B Embodiments of the invention Device access time (seconds) 120 100 60 Resource utilization (%) 75 80 90 System stability score (points) 8 7.5 9.5 Data collection efficiency (%) 85 88 95
[0157] In this embodiment, compared with the prior arts A and B, the present invention significantly reduces the device access time by more than half, thereby speeding up the device access speed; the resource utilization rate is improved by about 10% to 15%, indicating that the present invention more effectively utilizes network and server resources; the system stability score is improved by at least 2 points, indicating that the present invention can improve the overall stability of the system; the data collection efficiency is improved by about 7% to 10%, reflecting the advantages of the present invention in data processing and collection.
[0158] Through these data comparisons, it is clear that the present invention has significant advantages in improving device access efficiency, optimizing resource utilization, enhancing system stability, and improving data collection efficiency. These improvements not only reduce the time cost and resource consumption of device deployment and management, but also provide users with more reliable and efficient services by improving system stability and data processing efficiency.
Claims
1. A plug-and-play access method for distributed source-storage-load measurement and control equipment, characterized in that: include: Based on the preliminary information of each distributed source, storage and load measurement and control device in the target network, the devices in the target network are identified through a network scanning algorithm, and the devices are classified into known devices that have been registered with the network and new devices that have not been registered with the network; Build a device model matching algorithm to match the most suitable device model to the identified new device; Perform preset actions on new devices based on the matched device model to decide whether to register the new device to the network; The device data collection frequency of known devices is dynamically adjusted according to the device status and device load status of the known devices to intelligently generate control instructions to achieve automated management and operation status optimization of the known devices.
2. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 1, characterized in that: The preliminary information includes the device MAC address, device certificate or digital signature, device manufacturer and model information, firmware / software version, IP address, service port and supported protocols; The identifying of devices in the target network by the network scanning algorithm includes using a machine learning model to predict the active time period of each device in the network, and based on the historical activity data of the network, determining the time period when the network load is lower than a preset load threshold and the device activity is higher than a preset activity threshold as the optimal scanning time period; During the optimal scanning period, start active network scanning, use Ping scanning to actively detect active devices on the network, and record active device information; Perform port scans on each active device to determine open service ports, and adjust port scan priorities and policies based on the device's expected network services; Perform service detection on the identified open ports. The detection is based on the common detection packet and the detection strategy is dynamically adjusted according to the open port response. Classify and identify detected services, and classify active devices as new or known devices based on the results of scanning and service identification; The new equipment will enter the model matching process, dynamically adjust the equipment data collection frequency according to the equipment status and load of the known equipment, and intelligently generate control instructions based on real-time data and preset strategies.
3. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 1, characterized in that: The device model matching algorithm includes the original feature vector of the new device Perform nonlinear transformation, according to the transformed vector Define dynamic information fineness adjustment function use Calculate the matching score of each pre-built device model corresponding to the new device, and select the model with the highest model matching score as the matching model; The device model matching algorithm is expressed as, in, represents the original eigenvector, t represents the variable used in the integral transformation, represents the eigenvector obtained after nonlinear transformation and integration, v transi express The i-th element in , e represents the base of the natural logarithm, ln represents the natural logarithm function, cos(t) represents the cosine function, represents the dynamic information refinement adjustment function, i represents the index variable, j represents the index variable, S represents the model matching score, ∈ represents a constant, and w k represents the weight parameter, K represents the total number of device models considered, and n represents the original feature vector Dimension.
4. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 1, characterized in that: The performing of the preset action on the new device includes analyzing the functional index of the new device, determining a comprehensive index score, and determining whether the new device is a resource-abundant device, a load-balanced device, or a resource-constrained device based on the comprehensive index score, so as to perform a corresponding primary adjustment strategy; The comprehensive index score is expressed as, Among them, HPI represents hardware performance index, OSC represents operating system compatibility score, TDR represents specific task requirement level, IFRP represents device idle resource percentage, SR represents device operation stability score, BWU represents network bandwidth utilization, CLI represents server current load index, and α, β, and γ represent weight factors respectively.
5. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 4, characterized in that: Determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device includes determining that the new device is a resource-abundant device when the CIS is less than a preset first threshold, directly issuing an application program, and registering the new device; When the CIS is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, it is judged as a load balancing device, the priority and optimal time window of the task to be issued are determined based on the functional indicators of the new device, a security and compatibility check is performed before the new device is registered, and the frequency of new device information collection is adjusted according to the operating status and device load status of the new device; When the CIS is greater than the preset second threshold, it is judged as a resource-constrained device and only security updates and necessary services are provided to it. The registration process is delayed until the device load status is reduced or the device resources are released, and a low-frequency data collection strategy is adopted.
6. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 5, characterized in that: The decision of whether to register a new device to the network includes performing a security and compatibility assessment on the new device after executing an adjustment policy; When the device software and hardware do not contain known security vulnerabilities and can be integrated with the existing operating system, the device with sufficient resources can be directly registered; For load-balanced and resource-constrained devices, perform resource evaluation and determine whether the impact on device stability is within a preset threshold range. The resource evaluation includes computing resources, storage space, and network bandwidth. If the device passes the resource assessment and the device stability impact is within the preset threshold, the device is registered; If the device fails the resource assessment or the device stability impact is outside the preset threshold range, registration is postponed and the repair strategy is implemented until the problem is resolved and the device is registered.
7. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 1, characterized in that: The generating control instruction includes collecting the operation data, network communication quality, application performance index and external environmental factors of the device after the device is successfully registered, and the external environmental factors include time, geographical location or status of surrounding devices; Analyze collected data based on machine learning models to identify patterns and trends and predict potential performance bottlenecks or failure points; Based on the analysis results of the machine learning model, evaluate the current operating status and load conditions of the equipment, and implement intelligent decision-making based on the analysis results; The decision-making takes into account preset strategies, historical decision-making effects and real-time analysis data to formulate control instructions that are suitable for the current situation; Introduce a dynamic adjustment mechanism to adjust data collection frequency, modify equipment configuration, and optimize resource allocation in real time according to control instructions.
8. A system using the plug-and-play access method for distributed source-storage-load measurement and control equipment as claimed in any one of claims 1 to 7, characterized in that: include: Device identification module, model matching module, device registration module and dynamic management module; The device identification module is used to identify the devices in the target network through a network scanning algorithm based on the preliminary information of each distributed source storage load measurement and control device in the target network, and classify the devices into known devices registered with the network and new devices not registered with the network; The model matching module is used to construct a device model matching algorithm to match the most suitable device model to the identified new device; The device registration module is used to perform a preset action on the new device according to the matched device model to determine whether to register the new device to the network; The dynamic management module is used to dynamically adjust the device data collection frequency of the known device according to the device status and device load status of the known device, so as to intelligently generate control instructions and realize the automatic management and operation status optimization of the known device.
9. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 8, characterized in that: The preliminary information includes the device MAC address, device certificate or digital signature, device manufacturer and model information, firmware / software version, IP address, service port and supported protocols; The identifying of devices in the target network by the network scanning algorithm includes using a machine learning model to predict the active time period of each device in the network, and based on the historical activity data of the network, determining the time period when the network load is lower than a preset load threshold and the device activity is higher than a preset activity threshold as the optimal scanning time period; During the optimal scanning period, start active network scanning, use Ping scanning to actively detect active devices on the network, and record active device information; Perform port scans on each active device to determine open service ports, and adjust port scan priorities and policies based on the device's expected network services; Perform service detection on the identified open ports. The detection is based on the common detection packet and the detection strategy is dynamically adjusted according to the open port response. Classify and identify detected services, and classify active devices as new or known devices based on the results of scanning and service identification; The new equipment will enter the model matching process, dynamically adjust the equipment data collection frequency according to the equipment status and load of the known equipment, and intelligently generate control instructions based on real-time data and preset strategies.
10. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 8, characterized in that: The device model matching algorithm includes the original feature vector of the new device Perform nonlinear transformation, according to the transformed vector Define dynamic information fineness adjustment function use Calculate the matching score of each pre-built device model corresponding to the new device, and select the model with the highest model matching score as the matching model; The device model matching algorithm is expressed as, in, represents the original eigenvector, t represents the variable used in the integral transformation, represents the eigenvector obtained after nonlinear transformation and integration, v transi express The i-th element in , e represents the base of the natural logarithm, ln represents the natural logarithm function, cos(t) represents the cosine function, represents the dynamic information refinement adjustment function, i represents the index variable, j represents the index variable, S represents the model matching score, ∈ represents a constant, and w k represents the weight parameter, K represents the total number of device models considered, and n represents the original feature vector Dimension.
11. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 8, characterized in that: The performing of the preset action on the new device includes analyzing the functional index of the new device, determining a comprehensive index score, and determining whether the new device is a resource-abundant device, a load-balanced device, or a resource-constrained device based on the comprehensive index score, so as to perform a corresponding primary adjustment strategy; The comprehensive index score is expressed as, Among them, HPI represents hardware performance index, OSC represents operating system compatibility score, TDR represents specific task requirement level, IFRP represents device idle resource percentage, SR represents device operation stability score, BWU represents network bandwidth utilization, CLI represents server current load index, α, β, γ represent weight factors respectively; Determining whether the new device is a resource-abundant device, a load-balancing device, or a resource-constrained device includes determining that the new device is a resource-abundant device when the CIS is less than a preset first threshold, directly issuing an application program, and registering the new device; When the CIS is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, it is judged as a load balancing device, the priority and optimal time window of the task to be issued are determined based on the functional indicators of the new device, a security and compatibility check is performed before the new device is registered, and the frequency of new device information collection is adjusted according to the operating status and device load status of the new device; When the CIS is greater than the preset second threshold, it is judged as a resource-constrained device and only security updates and necessary services are provided to it. The registration process is delayed until the device load status is reduced or the device resources are released, and a low-frequency data collection strategy is adopted.
12. The plug-and-play access method for distributed source-storage-load measurement and control equipment according to claim 11, characterized in that: The decision of whether to register a new device to the network includes performing a security and compatibility assessment on the new device after executing an adjustment policy; When the device software and hardware do not contain known security vulnerabilities and can be integrated with the existing operating system, the device with sufficient resources can be directly registered; For load-balanced and resource-constrained devices, perform resource evaluation and determine whether the impact on device stability is within a preset threshold range. The resource evaluation includes computing resources, storage space, and network bandwidth. If the device passes the resource assessment and the device stability impact is within the preset threshold, the device is registered; If the device fails the resource assessment or the device stability impact is outside the preset threshold range, registration is postponed and the repair strategy is implemented until the problem is resolved before the device is registered; The generating control instruction includes collecting the operation data, network communication quality, application performance index and external environmental factors of the device after the device is successfully registered, and the external environmental factors include time, geographical location or status of surrounding devices; Analyze collected data based on machine learning models to identify patterns and trends and predict potential performance bottlenecks or failure points; Based on the analysis results of the machine learning model, evaluate the current operating status and load conditions of the equipment, and implement intelligent decision-making based on the analysis results; The decision-making takes into account preset strategies, historical decision-making effects and real-time analysis data to formulate control instructions that are suitable for the current situation; Introduce a dynamic adjustment mechanism to adjust data collection frequency, modify equipment configuration, and optimize resource allocation in real time according to control instructions.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in any one of claims 1 to 7 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the plug-and-play access method for distributed source-storage-load measurement and control equipment described in any one of claims 1 to 7 are implemented.
