Method, device and equipment for stability evaluation and storage medium
By connecting devices to the IoT platform, collecting and clustering their status information, and using the stability evaluation model to evaluate the stability of the IoT platform, the problem of insufficient response of the IoT platform in a dynamic environment is solved, and more accurate results are achieved. Stability assessment and risk monitoring.
Patent Information
- Application Number
- CN202410925797.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-15
AI Technical Summary
The IoT platform fails to respond adequately when faced with dynamic environments, cannot effectively predict and respond to security threats in a timely manner, and lacks macro analysis and real-time monitoring of the entire system, resulting in security management challenges.
By sending requests to devices connected to the IoT platform, the device status information is determined, including online and offline frequency, clustering operations are performed to determine the device group status information, and the trained stability evaluation model is used to determine the device group status based on the device group status. Information determines the stability score and status of the IoT platform.
It achieves a higher accuracy and applicability stability assessment of the Internet of Things platform, can more comprehensively understand the operating status and risks of the system, improves the overall perception of system stability, and promptly discovers potential faults or safety hazards in advance. Take action.
Smart Images

Figure CN118779802A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of information technology, and more particularly to methods, devices, apparatuses, and computer-readable storage media for stability assessment. Background Art
[0002] With the rapid development of Internet of Things (IoT) technology, the number and types of devices connected to the IoT platform are increasing, covering a wide range of application scenarios from home smart devices to industrial automation systems. Security management of IoT devices is also one of the key issues that need to be solved urgently.
[0003] In related technologies, the heterogeneity and dynamic environment of IoT systems pose huge challenges to security management. IoT platforms are not responsive enough to environmental changes and are unable to effectively predict and respond to security threats in a timely manner. In addition, related technologies are unable to provide macro analysis and real-time monitoring of the operating status of the entire IoT platform.
[0004] Therefore, a method with higher accuracy and applicability is needed to evaluate the stability of IoT platforms. Summary of the invention
[0005] In a first aspect of the present disclosure, a method for stability assessment is provided. The method includes: sending a request to a device connected to an Internet of Things platform to determine device status information, the device status information at least including the online frequency and / or offline frequency of at least one device connected to the Internet of Things platform; performing a clustering operation on the device status information based on the online frequency and / or offline frequency of each device to determine device group status information; using a trained stability assessment model, based on the device group status information, determining the stability score of the Internet of Things platform; and determining the stability status of the Internet of Things platform based on the stability score of the Internet of Things platform.
[0006] In a second aspect of the present disclosure, a device for stability evaluation is provided. The device includes: a sending module configured to send a request to a device connected to an Internet of Things platform to determine device status information, wherein the device status information includes at least the online frequency and / or offline frequency of at least one device connected to the Internet of Things platform; a determining module configured to perform a clustering operation on the device status information based on the online frequency and / or offline frequency of each device to determine the device group status information; a stability evaluation module configured to determine the stability score of the Internet of Things platform based on the device group status information using a trained stability evaluation model; and a stability evaluation module further configured to determine the stability status of the Internet of Things platform based on the stability score of the Internet of Things platform.
[0007] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0008] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0009] In a fifth aspect of the present disclosure, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer executable instructions, which when executed by a device cause the device to perform the method according to the first aspect of the present disclosure.
[0010] It should be understood that the content described in this content section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0012] Figure 1A A schematic diagram showing the structure of a system of some embodiments of the present disclosure;
[0013] Figure 1B A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0014] Figure 2 A flowchart showing a process of stability assessment according to some embodiments of the present disclosure;
[0015] Figure 3A A schematic diagram showing a stability evaluation process according to some embodiments of the present disclosure;
[0016] Figure 3B A schematic diagram showing device group status information of some embodiments of the present disclosure;
[0017] Figure 3C A schematic diagram showing a process of determining a stability score according to some embodiments of the present disclosure;
[0018] Figure 3DA schematic diagram showing a process of training a stability assessment model according to some embodiments of the present disclosure;
[0019] Figure 3E A schematic diagram of first device group status information of some embodiments of the present disclosure is shown;
[0020] Figure 3F A schematic diagram showing the structure of a neural network model of some embodiments of the present disclosure;
[0021] Figure 3G A schematic diagram showing a stability evaluation process according to some embodiments of the present disclosure;
[0022] Figure 4 A block diagram showing an apparatus for stability assessment according to some embodiments of the present disclosure; and
[0023] Figure 5 A block diagram of an electronic device capable of implementing one or more embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0024] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0025] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0026] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0027] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0028] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0029] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0030] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0031] As briefly mentioned above, with the rapid development of IoT technology, the number and types of connected devices are increasing, and these devices can be sensors, smart home devices, industrial control equipment, etc. These devices are connected to the IoT platform through wireless networks or other communication technologies to exchange data and share information, forming a complex network system.
[0032] Figure 1A Schematic diagram showing the structure of the system 10 of some embodiments of the present disclosure. Figure 1A As shown, in system 10, the Internet of Things platform 11 serves as a central system responsible for managing, monitoring and coordinating the work of a large number of access devices. It provides functions such as device access, data processing, storage and application support, and is a core component of the Internet of Things system. Various Internet of Things devices (collectively or individually referred to as devices 120) are accessed through the Internet of Things platform 11. Among them, the connection methods of device 120 are mainly divided into directly connected devices and non-directly connected devices. Directly connected devices refer to devices that can be directly connected to the Internet of Things platform 11. These devices usually have independent network connection functions and can communicate directly with the platform via wired or wireless means. For example, device 120-2 and gateway device 120-1 are also directly connected devices. Non-directly connected devices refer to devices that cannot be directly connected to the Internet of Things platform 11, but need to communicate with the platform through an intermediary device (such as gateway device 120-1). These devices usually rely on other devices in the local network for data transmission.
[0033] As the number and types of devices connected to the IoT platform increase, security management of IoT devices has become a key issue that needs to be addressed urgently.
[0034] In related technologies, IoT security strategies usually rely on security event reports from individual devices. IoT platforms rely on early warning event reports from each device. Each device scans and identifies its own security risks, and proactively reports early warning events to the IoT system when risks are detected. After receiving the early warning events, the IoT system processes the security events reported by each device one by one. This approach has the following significant shortcomings:
[0035] Limited early warning capability: Current security alarm strategies are mainly based on device dimensions, usually relying on device reports to provide limited early warning information. This passive early warning method means that it is impossible to fully understand the security status of the entire IoT system, especially in a dynamic environment, where the device networking status may be affected by a variety of factors, resulting in untimely early warnings.
[0036] Lack of overall analysis capabilities: The early warning trend of a single device cannot reflect the operating status of the entire system. The existing IoT device security strategy lacks an overall analysis of the device group, so it is impossible to effectively analyze and evaluate the stability trend of the IoT platform from a macro perspective. In the face of complex challenges such as IoT heterogeneity, resource constraints, and dynamic environments, relying solely on early warnings from a single device is not enough.
[0037] Therefore, in order to fully perceive and evaluate the stability of the IoT platform and promptly warn of abnormal conditions that occur in the IoT platform, a more accurate and efficient solution for stability assessment is needed, which can enable the IoT platform to actively conduct risk inquiry statistics based on the device group dimension and make a more accurate assessment of the stability of the system.
[0038] In an embodiment of the present disclosure, a scheme for stability evaluation is provided. According to an embodiment of the present disclosure, a request is sent to a device connected to an Internet of Things platform to determine device status information, the device status information at least including the online frequency and / or offline frequency of at least one device connected to the Internet of Things platform; based on the online frequency and / or offline frequency of each device, a clustering operation is performed on the device status information to determine the device group status information; using a trained stability evaluation model, based on the device group status information, the stability score of the Internet of Things platform is determined; and based on the stability score of the Internet of Things platform, the stability status of the Internet of Things platform is determined.
[0039] Therefore, by actively querying the status information of each device in the IoT platform and combining machine learning models and deep learning technology, the stability of the IoT platform can be evaluated more comprehensively and accurately. In addition, by expanding the stability evaluation of the IoT platform from the single device dimension to the device group dimension, the operating status and risks of the entire system can be more comprehensively understood, and the overall perception of system stability can be improved.
[0040] Figure 1BA schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In environment 100, an electronic device 110 is connected to and communicates with an Internet of Things device (collectively or individually referred to as device 120). The device 120 may include a directly connected device that is directly connected to the electronic device 110 by wire or wireless means and / or a non-directly connected device that requires an intermediary device (such as a gateway device) to communicate or transmit data with the electronic device. In some embodiments, the electronic device 110 may send a request to the device 120 connected to the Internet of Things platform to determine device status information. Based on the device status information of each device 120, the electronic device 110 can determine the stability state 130 of the Internet of Things platform.
[0041] In the environment 100, the electronic device 110 can be any type of device with computing capabilities, including a terminal device or a server device. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like.
[0042] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and does not imply any limitation on the scope of the present disclosure.
[0043] Figure 2 A flowchart of a stability evaluation process 200 according to some embodiments of the present disclosure is shown. The process 200 may be implemented in the environment 100, for example, the process 200 may be implemented at the electronic device 110. Hereinafter, for ease of discussion, the process 200 will be described with reference to FIG. 1.
[0044] In block 210 , the electronic device 110 sends a request to the device 120 connected to the IoT platform to determine device status information.
[0045] In some embodiments, the electronic device 110 can actively send a request to the device 120 connected to the Internet of Things platform to obtain the device status information of each device. The device status information includes at least the online frequency and / or offline frequency of at least one device connected to the Internet of Things platform. High frequency of online and offline may indicate that the device or network is unstable, and there may be hardware problems, network problems or software failures, and the frequent online and offline of multiple devices may indicate that there are system-level problems in the entire Internet of Things platform, such as network congestion, insufficient platform processing capacity, etc. Therefore, the online frequency and / or offline frequency of the device can be used as an evaluation indicator of the stability of the Internet of Things platform, indicating potential device or system failures.
[0046] In some embodiments, the device status information may also include, for example, device response time: the interval between each time the device goes online or offline; device data transmission volume: the amount of data sent and received by the device in a specific time period, etc. In other embodiments, the device status information may also include more, less or different other information.
[0047] In some embodiments, the electronic device 110 may send a request to at least one device connected to the IoT platform based on a predetermined time interval.
[0048] In some embodiments, the electronic device 110 receives response information to the request from at least one device, and the response information includes at least device status information.
[0049] As an example, the electronic device 110 can set a regular communication cycle, communicate with each directly connected device in the devices connected to the IoT platform through wireless LAN, Bluetooth, Ethernet, cellular network and other communication protocols, and actively send a status request. After receiving the status request, the directly connected device returns the current device status information. After receiving the response information of the device, the electronic device 110 collects and stores this information for analysis and stability evaluation.
[0050] As another example, non-directly connected devices such as sensors cannot communicate directly with the electronic device 110 and need to communicate through a gateway device. The electronic device 110 can first establish regular communication with the gateway device. After the electronic device 110 sends a request to the gateway device, the gateway device collects the device status information of the non-directly connected devices connected to it according to the request. For example, the non-directly connected device can communicate with the gateway device through a low-power wireless communication protocol (such as Zigbee, Z-Wave, LoRa), and the gateway device then sends the device status information to the electronic device 110.
[0051] In the disclosed embodiment, by actively initiating a request for device status information, the electronic device 110 can collect the device's operating status and potential risk information in a timely manner, rather than relying solely on the device to actively report problems. Therefore, the electronic device 110 can evaluate the stability of the Internet of Things platform based on the device status information of each device, thereby discovering and identifying potential faults or safety hazards earlier and taking measures to deal with them in advance.
[0052] Continue to refer Figure 2 In block 220 , the electronic device 110 performs a clustering operation on the device status information based on the online frequency and / or offline frequency of each device to determine the device group status information.
[0053] In some embodiments, after the electronic device 110 obtains the device status information of each device, it can cluster based on the online frequency and / or offline frequency of each device to obtain the status information of the entire device group dimension. The status information of the device group dimension can reflect the operation status of the entire Internet of Things platform, making the stability assessment more comprehensive and accurate.
[0054] Figure 3A FIG. 3 is a schematic diagram of a stability evaluation process 300A according to some embodiments of the present disclosure. The process 300A may be implemented at the electronic device 110 .
[0055] In block 310 , the electronic device 110 determines device status information of each device, and the electronic device 110 may cluster the devices based on the online frequency and / or offline frequency of each device, thereby obtaining device group status information.
[0056] As an example, the electronic device 110 may obtain the device D in the IoT platform. i In a period of time T p =|t end -t start The frequency of going online or offline in the device status information in | is recorded as
[0057]
[0058] in, It is in T p The number of times the device goes online or offline within a time period.
[0059] There are n devices connected to the IoT platform. All devices are p In statistics, According to the number of times the device goes online or offline Clustering, set t0 to represent the system internal time T p The number of devices that have been online or offline 0 times, t10 represents the internal time T of the system p The number of devices that have been online or offline for more than 10 times, and the other times are similar, and so on. The device group status information of the entire device group dimension can be expressed as: Figure 3B FIG. 3 is a schematic diagram showing device group status information 310 according to some embodiments of the present disclosure. Figure 3B As shown, the device group status information 311 , 312 , and 313 are respectively clustered results based on the online frequency and / or offline frequency of each device in three different IoT platforms.
[0060] In some embodiments, the characteristic of stable system operation can be understood as most devices in the IoT platform remain online throughout the entire time period without going online or offline, indicating that the system is stable and reliable. It is acceptable for a device to go online or offline once in a while, but frequent online or offline indicates system instability. Therefore, as the number of online or offline times increases, the number of devices should be significantly reduced. That is, the number of devices at time T p The number of devices with 0 online or offline times is the largest (that is, the number of devices that have not been online or offline is the largest). p The number of devices with an online or offline count of 1 is also relatively large, but it is not directly related to or has no obvious dependency with the number of devices with a count of 0. As the number of online or offline times increases, the number of devices gradually decreases.
[0061] Continue to refer Figure 3A , at block 320 , the electronic device may determine a stability score of the IoT platform based on the device status information.
[0062] At block 321 , the electronic device 110 may determine a stability score of the IoT platform based on a stability evaluation function.
[0063] Figure 3C A schematic diagram of a process 321 for determining a stability score according to some embodiments of the present disclosure is shown. The process 321 may be implemented at the electronic device 110.
[0064] In block 3211 , the electronic device 110 may perform a clustering operation on the device status information to obtain device group status information.
[0065] In block 3212 , the electronic device 110 may construct a stability evaluation function based on the device group status information obtained through clustering.
[0066] In block 3213, the electronic device 110 may determine the stability score of the IoT platform based on the stability evaluation function. For example, the stability score F may be calculated as follows: score:
[0067]
[0068] Among them, t i is time T p The number of devices with the number of online and offline times i.
[0069] Continue to refer Figure 2 In block 230 , the electronic device 110 uses the trained stability assessment model to determine a stability score of the IoT platform based on the device group status information.
[0070] In some embodiments, although the electronic device 110 can calculate the stability score of the Internet of Things platform by constructing the evaluation function as described above, this evaluation method has very high requirements on the stability of the system, that is, it has low tolerance for the stability of the system. For example, it is normal for some devices to occasionally go online and offline during actual operation, but this simple evaluation function may be too sensitive to these normal fluctuations, resulting in inaccurate evaluation results. Therefore, in order to improve the applicability and accuracy of the stability evaluation of the Internet of Things platform, a trained stability evaluation model can be used based on deep learning technology to tolerate reasonable fluctuations in actual scenarios and improve the accuracy of the evaluation.
[0071] In some embodiments, the electronic device 110 performs a feature extraction operation on the device group state information.
[0072] In some embodiments, after the electronic device 110 obtains the device group status information of the device group dimension through a clustering operation, it can pre-process the device group status information and extract features related to describing the stability of the Internet of Things platform.
[0073] In some embodiments, the electronic device 110 inputs the result of feature extraction into a stability evaluation model to obtain a stability score of the IoT platform.
[0074] In the disclosed embodiment, the electronic device 110 can fully understand the status information of the device group dimension in the IoT platform through clustering and feature extraction, so as to more accurately evaluate the stability of the entire IoT platform. And the stability score of the IoT platform is obtained through the stability evaluation model, so that the evaluation has a strong generalization ability, can adapt to changes and fluctuations in various actual scenarios, and improve the accuracy of the stability evaluation.
[0075] Continue to refer Figure 3A , at block 322 , the electronic device 110 may determine a stability score of the IoT platform based on the stability assessment model.
[0076] Figure 3DA schematic diagram of a process 322A for training a stability assessment model according to some embodiments of the present disclosure is shown. The process 322A may be implemented at the electronic device 110 .
[0077] In block 3221 , the electronic device 110 uses a predetermined algorithm to randomly generate first device group status information when the stability status of the IoT platform is a stable state.
[0078] In some embodiments, the electronic device 110 generates device group state information in an ideal state by predetermined randomness. The device group state information in the ideal state represents the behavior and characteristics of the device group in the Internet of Things platform when the stability state of the Internet of Things platform is a stable state.
[0079] As an example, the electronic device 110 may randomly generate the first device group status information in the following manner:
[0080]
[0081] where t i is the number of devices that go online or offline i times within a certain period of time. t0 can be a random number from [0,100]. Based on t0, t1 can be obtained, that is, t1 = t0 + random (-30, 3). Then, based on t1, t2 can be obtained. When t i When t is less than 0, i =0, and so on to obtain the randomly generated first device group status information At this time, the obtained It can be considered to be close to the ideal state. Figure 3E FIG. 1 shows a schematic diagram of first device group status information in some embodiments of the present disclosure. Figure 3E As shown, at this time When i≤1, the value is large and meets the ideal state; when i≥2, the value gradually decreases and tends to 0.
[0082] In some embodiments, the electronic device 110 uses the first device group status information as a training set to train the stability assessment model.
[0083] In the disclosed embodiment, the first device group state information reflects the operating state of the device under the most ideal conditions, which is more stable and consistent than the real data set. The electronic device 110 uses the randomly generated device group state information under the ideal state as the training set to train the model, which can ensure that the data learned by the model during training is of high quality, so as to reduce the risk of overfitting of the model during the training process, thereby helping to improve the prediction accuracy of the model.
[0084] In block 3222 , the electronic device 110 extracts features of the first device group status information using a self-supervised neural network model.
[0085] In some embodiments, the electronic device 110 inputs the first device group state information into a self-supervised neural network model to learn the characteristics when the Internet of Things platform is in a stable state.
[0086] In box 3223, the electronic device 110 trains a stability assessment model based on the extracted features.
[0087] As an example, the electronic device 110 uses the randomly generated ideal device group status information as a positive sample of the autoencoder AutoEncoder to extract information. Figure 3F A schematic diagram showing the structure of a neural network model of some embodiments of the present disclosure is shown. Figure 3F As shown, the neural network structure used includes a decoder and an encoder structure. Encoder: Converts input data X into an implicit representation z. Decoder: Reconstructs input data Y from the implicit representation z. The formulas are shown in (4) and (5):
[0088] Z=W1X+b1 (4)
[0089] Y=W2X+b2 (5)
[0090] Among them, W1 and W2 refer to the weight matrices of the encoder and decoder respectively, and b1 and b2 are the bias vectors b∈R of the encoder and decoder respectively. n .
[0091] In order to reduce the gap between the model input and output so that the output of the stability evaluation model can learn the information of the positive samples of the training set to the maximum extent, the electronic device 110 can use a mean square error loss (MSE loss) as a loss function to adjust the model parameters.
[0092] As another example, the electronic device 110 may further optimize the model in the following manner:
[0093]
[0094] Wherein, formula (6) represents the optimization of model parameters to minimize the stability score F corresponding to the state information of the first device group. score Minimizing the stability score means that the system should be as close to the ideal stability as possible in actual operation. In other words, the stability score F of the IoT platform corresponding to the status information of the first device group is score The closer the values at different time points are to the minimum value, the better the effect of the stability assessment model is.
[0095] In the disclosed embodiment, the electronic device 110 uses the self-supervised neural network model to train the first device group state information as a training set, and effectively extracts and learns the feature information in the data set through the structure of the encoder and decoder. This feature learning capability enables the stability assessment model to extract key stability assessment parameters from complex input data, thereby improving the accuracy and reliability of stability assessment.
[0096] Return to reference Figure 2 , in block 240 , the electronic device 110 determines the stability status of the IoT platform based on the stability score of the IoT platform.
[0097] In some embodiments, the electronic device 110 can convert the device group status information of the IoT platform into a specific stability score through the stability evaluation model, and evaluate the stability status of the IoT platform through this quantitative score, thereby providing a clear information basis for early warning decisions of IoT devices.
[0098] Figure 3G FIG. 3 is a schematic diagram of a stability evaluation process 300B according to some embodiments of the present disclosure. The process 300B may be implemented at the electronic device 110 .
[0099] At block 330 , the electronic device 110 determines a stability status of the IoT platform based on the stability score of the IoT platform.
[0100] In some embodiments, if the stability score of the IoT platform is greater than or equal to the stability threshold, the electronic device 110 determines that the stability state of the IoT platform is a stable state.
[0101] In some embodiments, if the stability score of the IoT platform is less than the stability threshold, the electronic device 110 determines that the stability state of the IoT platform is an abnormal state.
[0102] In some embodiments, if the stability score is greater than or equal to a preset stability threshold, the electronic device 110 can confirm that the IoT platform is in a stable state. If the stability score is less than the stability threshold, the electronic device 110 can confirm that the IoT platform is in an abnormal state.
[0103] In some embodiments, in order to further improve the accuracy of the assessment, the electronic device 110 may also regard the situation where the stability score of the IoT platform is equal to the stability threshold as a neutral or borderline state. Furthermore, the electronic device 110 may introduce and add other device status information as monitoring indicators, such as device response time, device data transmission volume, etc. to distinguish the state near the threshold. This may include more detailed data analysis or training of machine learning models to more accurately assess the stability state of the IoT platform.
[0104] In the disclosed embodiment, by periodically calculating the stability score of the IoT platform and determining the stability status of the IoT platform based on the stability score, it is possible to actively monitor the operating status of the device group in the IoT platform, rather than passively waiting for the device to report a problem, thereby timely discovering potential risks and avoiding losses caused by system failures.
[0105] Continue to refer Figure 3G In block 340, the electronic device 110 determines whether the stability state of the IoT platform is a stable state. If it is determined that the stability state of the IoT platform is a stable state, block 350 is executed. In block 350, each device in the IoT platform continues to operate normally, and the electronic device 110 can periodically evaluate the stability of the IoT platform.
[0106] If it is determined that the stability state of the Internet of Things platform is an abnormal state, then execute block 360. In block 360, the electronic device 110 performs an early warning operation to prompt that there is a device with abnormal connection in the Internet of Things platform.
[0107] In the disclosed embodiment, when the stability state of the IoT platform is determined to be abnormal, an early warning operation is performed, which can not only improve the response speed of equipment failures and reduce system losses, but also improve the maintenance efficiency and resource allocation optimization of the IoT system, and improve user satisfaction. This process provides strong support for the management and maintenance of the IoT platform, and ensures the stability and reliability of the IoT platform.
[0108] Figure 4 A block diagram of an apparatus 400 for stability assessment according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or include the electronic device 110.
[0109] The device 400 includes a sending module 410, which is configured to send a request to a device connected to the Internet of Things platform to determine device status information, wherein the device status information at least includes the online frequency and / or offline frequency of at least one device connected to the Internet of Things platform; a determination module 420, which is configured to perform a clustering operation on the device status information based on the online frequency and / or offline frequency of each device to determine device group status information; a stability evaluation module 430, which is configured to use a trained stability evaluation model to determine the stability score of the Internet of Things platform based on the device group status information; and the stability evaluation module 430 is also configured to determine the stability status of the Internet of Things platform based on the stability score of the Internet of Things platform.
[0110] In some embodiments, the sending module 410 is further configured to send a request to at least one device connected to the Internet of Things platform based on a predetermined time interval; and receive response information to the request from the at least one device, the response information including at least device status information.
[0111] In some embodiments, the stability assessment module 430 is further configured to perform a feature extraction operation on the device group status information; and input the result of the feature extraction into the stability assessment model to obtain a stability score of the Internet of Things platform.
[0112] In some embodiments, the device 400 includes a model training module 440, which is configured to use a predetermined algorithm to randomly generate first device group status information when the stability state of the Internet of Things platform is a stable state; and use the first device group status information as a training set to train the stability assessment model.
[0113] In some embodiments, the model training module 440 is further configured to extract features of the first device group status information using a self-supervised neural network model; and train a stability assessment model based on the extracted features.
[0114] In some embodiments, the stability assessment module 430 is further configured to determine that the stability state of the Internet of Things platform is a stable state if the stability score of the Internet of Things platform is greater than or equal to the stability threshold; and to determine that the stability state of the Internet of Things platform is an abnormal state if the stability score of the Internet of Things platform is less than the stability threshold.
[0115] In some embodiments, the apparatus 400 includes an early warning module 450 configured to execute an early warning operation to prompt the presence of abnormally connected devices in the IoT platform if the stability state of the IoT platform is determined to be an abnormal state.
[0116] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0117] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
[0118] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0119] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any available media accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.
[0120] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0121] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0122] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0123] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0124] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0125] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0126] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0127] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0128] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.
Claims
1. A method for stability assessment, comprising: Sending a request to a device connected to the Internet of Things platform to determine device status information, where the device status information includes at least an online frequency and / or an offline frequency of at least one device connected to the Internet of Things platform; Based on the online frequency and / or offline frequency of each device, performing a clustering operation on the device status information to determine device group status information; Determining a stability score of the IoT platform based on the device group status information using the trained stability assessment model; as well as Based on the stability score of the Internet of Things platform, a stability status of the Internet of Things platform is determined.
2. The method according to claim 1, wherein sending a request message to a device connected to the IoT platform to determine the device status information comprises: Sending the request to at least one device connected to the Internet of Things platform based on a predetermined time interval; as well as Response information to the request is received from the at least one device, where the response information includes at least the device status information.
3. The method according to claim 1 , wherein determining the stability score of the IoT platform based on the device group status information using a trained stability assessment model comprises: performing a feature extraction operation on the device group state information; as well as The feature extraction result is input into the stability evaluation model to obtain the stability score of the Internet of Things platform.
4. The method according to claim 1, wherein the stability assessment model is trained by: Randomly generating first device group state information when the stability state of the Internet of Things platform is a stable state using a predetermined algorithm; The stability evaluation model is trained using the first device group status information as a training set.
5. The method according to claim 4, wherein using the first device group status information as a training set to train the stability assessment model comprises: extracting features of the first device group status information using a self-supervised neural network model; as well as The stability assessment model is trained based on the extracted features.
6. The method according to claim 1, wherein determining the stability status of the IoT platform based on the stability score of the IoT platform comprises: If the stability score of the Internet of Things platform is greater than or equal to the stability threshold, determining that the stability state of the Internet of Things platform is a stable state; as well as If the stability score of the Internet of Things platform is less than the stability threshold, it is determined that the stability state of the Internet of Things platform is an abnormal state.
7. The method according to claim 1, further comprising: If it is determined that the stability state of the Internet of Things platform is an abnormal state, an early warning operation is performed to prompt that there is a device with abnormal connection in the Internet of Things platform.
8. A device for stability assessment, comprising: a sending module configured to send a request to a device connected to the Internet of Things platform to determine device status information, wherein the device status information includes at least an online frequency and / or an offline frequency of at least one device connected to the Internet of Things platform; a determination module configured to perform a clustering operation on the device status information based on the online frequency and / or offline frequency of each device to determine device group status information; a stability evaluation module configured to determine a stability score of the IoT platform based on the device group status information using a trained stability evaluation model; as well as The stability evaluation module is further configured to determine the stability status of the Internet of Things platform based on the stability score of the Internet of Things platform.
9. An electronic device comprising: at least one processing unit; as well as At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 7 when executed by the at least one processing unit.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 7.
11. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Automatic evaluation method and system for Internet of Things platform, and storage medium
CN111106969A
Operation and maintenance data distribution method and device based on Internet of Things, equipment and medium
CN116881744A
Electrical Internet of Things safety early warning method based on edge calculation
CN117411810A
Internet of Things terminal state monitoring method and system, electronic equipment and storage medium
CN117714333A
Learning stable representations of devices for clustering-based device classification systems
US20200336397A1
