Device interaction method and system for an Internet of Things cloud platform

The IoT cloud platform method optimizes device interaction by automating registration, securing data transmission, and using retransmission algorithms to enhance efficiency and reduce congestion, addressing inefficiencies in traditional methods.

CN118660067BActive Publication Date: 2025-07-15SHENZHEN NANE TECH CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411030996.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2025-07-15
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

Traditional device interaction methods are difficult to deal with large-scale device connections and complex network topology, resulting in data transmission delays and resource waste, affecting the efficiency of device interaction.

Method used

Device registration, two-way authentication, data scanning and optimization algorithms are carried out through the IoT cloud platform to build device wildcards to improve transmission efficiency.

Benefits of technology

It realizes automatic identification and management of equipment, improves networking speed and stability, enhances system security and data transmission efficiency, and reduces network congestion and resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660067B_ABST
    Figure CN118660067B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of the Internet of Things, and proposes a device interaction method and system for an Internet of Things cloud platform. The method includes: first, receiving and verifying a device registration request, generating a device registration table and a device identifier, constructing a network authentication protocol and performing two-way authentication to establish a two-way channel, scanning and analyzing the channel data in real time, obtaining device monitoring parameters, and performing parameter optimization through a retransmission optimization algorithm. After monitoring the data status and identifying the data transmission frequency band, calculating a data transmission index and constructing a device wildcard based on this to perform platform interaction processing, and finally generating a device interaction report. The present invention can improve the transmission efficiency of device interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of the Internet of Things, and particularly to a device interaction method and system for an Internet of Things cloud platform. Background Art

[0002] In the field of the Internet of Things, the Internet of Things cloud platform plays a key role in connecting and managing devices, collecting data, and enabling interaction between devices. The effectiveness of the device interaction method is crucial for improving the operation efficiency of the Internet of Things system, optimizing device management, and data transmission.

[0003] Traditional device interaction methods often rely on simple point-to-point communication or a centralized server architecture. This approach may be difficult to handle the problems of large-scale device connections and complex network topologies, resulting in data transmission delays and resource waste, thus affecting the data transmission efficiency of device interaction. Therefore, a device interaction method for an Internet of Things cloud platform is needed to improve the transmission efficiency of device interaction. Summary of the Invention

[0004] The present invention provides a device interaction method and system for an Internet of Things cloud platform, and its main purpose is to improve the transmission efficiency of device interaction.

[0005] Obtain an access device, identify a device registration request in the access device, send the device registration request to a preset Internet of Things cloud platform, and then use a verification unit in the Internet of Things cloud platform to verify the device registration request to obtain verification data;

[0006] Based on the verification data, generate a device registration table corresponding to the access device. Based on the device registration table, assign a device identifier to the access device. Based on the device identifier, use a protocol unit in the Internet of Things cloud platform to generate a network authentication protocol corresponding to the access device. Based on the network authentication protocol, perform two-way authentication on the access device to obtain a device two-way channel;

[0007] Identify channel data in the device two-way channel, perform a security scan on the channel data to obtain scan data, upload the scan data to the Internet of Things cloud platform, and then use an instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device to achieve real-time monitoring of the access device and obtain device monitoring parameters;

[0008] Use a preset retransmission optimization algorithm to optimize the device monitoring parameters to obtain optimized parameters, continuously monitor the data status corresponding to the optimized parameters, based on the data status, identify the data transmission frequency band corresponding to the access device, and based on the data transmission frequency band, calculate the transmission index of the data in the access device;

[0009] Based on the transmission index, construct the device wildcard corresponding to the access device, and based on the device wildcard, perform device interaction processing on the Internet of Things cloud platform to obtain the device interaction report corresponding to the access device.

[0010] Optionally, the generating the device registration table corresponding to the access device based on the verification data includes:

[0011] Convert the format of the verification data to obtain uniformly formatted data;

[0012] Identify the verification factors corresponding to the uniformly formatted data;

[0013] Based on the verification factors, perform data integration on the uniformly formatted data to obtain integrated data;

[0014] Query the device registration sequence corresponding to the integrated data;

[0015] Based on the device registration sequence, generate the device registration table corresponding to the access device.

[0016] Optionally, the allocating a device identifier to the access device based on the device registration table includes:

[0017] Read the registered data in the device registration table;

[0018] Perform data screening on the registered data to obtain screened data;

[0019] Determine the data uniqueness corresponding to the screened data;

[0020] Based on the data uniqueness, allocate a device identifier to the access device.

[0021] Optionally, the performing two-way authentication on the access device based on the network authentication protocol to obtain a device two-way channel includes:

[0022] Determine the time protocol window corresponding to the network authentication protocol;

[0023] Identify the window public key in the time protocol window;

[0024] Based on the window public key, generate a shared key corresponding to the access device;

[0025] Based on the shared key, perform two-way authentication on the access device to obtain a device two-way channel.

[0026] Optionally, the performing a security scan on the channel data to obtain scan data includes:

[0027] Identify the original data corresponding to the channel data;

[0028] Interpolate the original data to obtain interpolated data;

[0029] Query for potential security vulnerabilities in the interpolated data;

[0030] Based on the potential security vulnerabilities, conduct a security scan on the potential security threats to obtain scan data.

[0031] Optionally, the parameter optimization of the device monitoring parameters using a preset retransmission optimization algorithm to obtain optimized parameters includes:

[0032] Calculate the optimized value corresponding to the device monitoring parameter using the following formula:

[0033] ;

[0034] Where, represents the optimized value corresponding to the device monitoring parameter, is the number of samples, representing the total number of data points available for optimization, represents the sample index corresponding to the device monitoring parameter, represents the th observed value of the device monitoring parameter, refers to the mean parameter, representing the expected value of the device monitoring parameter, refers to the variance parameter, representing the degree of dispersion of the device monitoring parameter, is the standardized residual, used to measure the degree to which each observed value deviates from the mean, is the regularization parameter corresponding to the device monitoring parameter;

[0035] Based on the optimized value, conduct parameter optimization on the device monitoring parameter to obtain optimized parameters.

[0036] Optionally, the identification of the data transmission frequency band corresponding to the access device based on the data status includes:

[0037] Based on the data status, determine the real-time network data in the access device;

[0038] Perform sliding segmentation on the real-time network data to obtain segmented data;

[0039] Query the data quality corresponding to the segmented data;

[0040] Conduct balanced frequency band analysis on the data quality to obtain frequency band parameters;

[0041] Based on the frequency band parameters, calculate the frequency band coefficient corresponding to the access data;

[0042] Based on the frequency band coefficient, identify the data transmission frequency band corresponding to the access device.

[0043] Optionally, calculating the transmission index of the data in the access device based on the data transmission frequency band includes:

[0044] Calculate the transmission index of the data in the access device using the following formula:

[0045] ;

[0046] where represents the transmission index of the data in the access device, represents the data rate, that is, the amount of data successfully transmitted by the data in the access device per unit time, represents the channel capacity, that is, the maximum amount of data that can be transmitted theoretically by the data in the access device within a specific frequency band, represents the data transmission frequency band.

[0047] Optionally, constructing the device wildcard corresponding to the access device based on the transmission index includes:

[0048] Determine the transmission channel corresponding to the transmission index, and identify the channel characteristics in the transmission channel;

[0049] Based on the channel characteristics, configure the port options corresponding to the access device;

[0050] Query the wildcard parameters corresponding to the port options;

[0051] Based on the wildcard parameters, construct the device wildcard corresponding to the access device.

[0052] To solve the above problems, the present invention also provides a device interaction system for an Internet of Things cloud platform, and the system includes:

[0053] A data verification module, configured to obtain an access device, identify a device registration request in the access device, after sending the device registration request to a preset Internet of Things cloud platform, use a verification unit in the Internet of Things cloud platform to perform request verification on the device registration request, and obtain verification data;

[0054] A two-way channel module, configured to generate a device registration table corresponding to the access device based on the verification data, allocate a device identifier to the access device based on the device registration table, generate a network authentication protocol corresponding to the access device using a protocol unit in the Internet of Things cloud platform based on the device identifier, and perform two-way authentication on the access device based on the network authentication protocol to obtain a device two-way channel;

[0055] The real-time monitoring module is used to identify the channel data in the two-way channel of the device, perform a security scan on the channel data to obtain scan data, upload the scan data to the Internet of Things cloud platform, and then use the instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device to achieve real-time monitoring of the access device and obtain device monitoring parameters;

[0056] The exponential calculation module is used to optimize the device monitoring parameters by using a preset retransmission optimization algorithm to obtain optimized parameters, monitor the data status corresponding to the optimized parameters in real time, identify the data transmission frequency band corresponding to the access device based on the data status, and calculate the transmission index of the data in the access device based on the data transmission frequency band;

[0057] The report generation module is used to construct a device wildcard corresponding to the access device based on the transmission index, and perform device interaction processing of the Internet of Things cloud platform based on the device wildcard to obtain a device interaction report corresponding to the access device.

[0058] First of all, the present invention can realize the automatic identification and registration of devices by obtaining access devices and identifying the device registration requests in the access devices, simplifies the process of device access, improves the networking speed and stability of devices, and at the same time facilitates the management and maintenance of devices. At the same time, the present invention generates a device registration table corresponding to the access device based on the verification data, which can effectively organize, manage and monitor various devices on the cloud platform, improve the efficiency of device management, and ensure that only authorized devices can access and use the resources within the platform, thereby enhancing the security and stability of the Internet of Things system. The present invention realizes a key step in data transmission optimization and security monitoring by identifying the channel data in the two-way channel of the device, which allows the Internet of Things cloud platform to parse and classify the communication content between devices in real time, thereby improving the efficiency and accuracy of data processing and analysis, helping to detect abnormal behaviors in a timely manner and take corresponding measures. The present invention can significantly improve the data transmission efficiency, system stability and scalability by optimizing the device monitoring parameters by using a preset retransmission optimization algorithm to obtain optimized parameters. By intelligently adjusting the data transmission strategy, the optimized parameters can effectively reduce network congestion and resource waste, and ensure the efficient and reliable transmission of data between devices. Further, the present invention constructs a device wildcard corresponding to the access device based on the transmission index, which can select the best communication method and frequency band according to the transmission characteristics and requirements of different devices, thereby reducing signal interference and congestion and improving the pertinence and efficiency of data transmission. Therefore, a device interaction method and system for an Internet of Things cloud platform proposed by the present invention can improve the transmission efficiency of device interaction. Description of the Drawings

[0059] Figure 1A schematic flowchart of a device interaction method for an Internet of Things cloud platform provided by an embodiment of the present invention;

[0060] Figure 2 A schematic diagram of modules of a device interaction system for an Internet of Things cloud platform provided by an embodiment of the present invention.

[0061] The realization, functional characteristics, and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed Embodiments

[0062] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0063] An embodiment of the present application provides a device interaction method for an Internet of Things cloud platform. The execution subject of the device interaction method for the Internet of Things cloud platform includes, but is not limited to, at least one of electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the device interaction method for the Internet of Things cloud platform can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server, or a cloud server cluster, etc. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0064] Referring to Figure 1 As shown, it is a schematic flowchart of a device interaction method for an Internet of Things cloud platform provided by an embodiment of the present invention. In this embodiment, the device interaction method for the Internet of Things cloud platform includes:

[0065] S1. Obtain an access device, identify a device registration request in the access device, send the device registration request to a preset Internet of Things cloud platform, and then use a verification unit in the Internet of Things cloud platform to perform request verification on the device registration request to obtain verification data.

[0066] By obtaining an access device and identifying a device registration request in the access device, the present invention can achieve automatic identification and registration of devices, simplify the process of device access, improve the networking speed and stability of devices, and at the same time facilitate the management and maintenance of devices.

[0067] Among them, the access device refers to any physical or virtual device that can be connected to the Internet of Things cloud platform and perform data exchange, such as sensors, smart home devices, industrial devices, etc.; the device registration request refers to a set of information or signals sent by the access device when requesting to join the Internet of Things cloud platform. This set of information or signals includes the device's identity information, function description, security credentials, etc. Optionally, the device registration request in the access device can be obtained by means of a parser, such as tools like Scrapy, Selenium, etc.

[0068] Furthermore, by sending the device registration request to a preset Internet of Things cloud platform, the present invention can simplify the process of new devices joining the network, enabling the devices to be quickly identified and managed, and at the same time helping to ensure the security and permission control of the devices.

[0069] Among them, the preset Internet of Things cloud platform refers to a comprehensive cloud computing platform that integrates device management, data processing, data analysis, security guarantee, and service provision. It can provide cloud storage, computing, network, and software services for various devices and applications, helping to quickly build and deploy Internet of Things solutions in the future. Optionally, sending the device registration request to the preset Internet of Things cloud platform can be achieved by means of an API call tool, such as tools like RESTful API, SOAP API, etc.

[0070] Furthermore, by using the verification unit in the Internet of Things cloud platform to verify the device registration request and obtain verification data, it helps to protect the cloud platform and devices from unauthorized access, and also ensures that only devices that meet specific standards and requirements can successfully register, thereby improving the security and reliability of the entire Internet of Things system.

[0071] Among them, the verification unit refers to a component or module responsible for verifying the device registration request. The main functions of the verification unit include: identity verification, permission verification, security verification, device information verification, etc.; the verification data refers to the results or information generated by the verification unit after performing the verification process. These data usually include device information such as device ID, device type, security certificate, access permission, etc. Optionally, verifying the device registration request can be achieved by using the verification unit in the Internet of Things cloud platform.

[0072] S2. Based on the verification data, generate a device registration form corresponding to the access device. Based on the device registration form, assign a device identifier to the access device. Based on the device identifier, use the protocol unit in the Internet of Things cloud platform to generate a network authentication protocol corresponding to the access device. Based on the network authentication protocol, perform two-way authentication on the access device to obtain a device two-way channel.

[0073] Based on the verification data, the present invention generates a device registration table corresponding to the access device, which can effectively organize, manage, and monitor various devices on the cloud platform, improve the efficiency of device management, and ensure that only authorized devices can access and use the resources within the platform, thereby enhancing the security and stability of the Internet of Things system.

[0074] Among them, the device registration table refers to a table or file generated according to the device registration sequence, which records the detailed information and attributes corresponding to each access device.

[0075] As an embodiment of the present invention, generating the device registration table corresponding to the access device based on the verification data includes: converting the format of the verification data to obtain uniformly formatted data; identifying the verification factors corresponding to the uniformly formatted data; integrating the uniformly formatted data based on the verification factors to obtain integrated data; querying the device registration sequence corresponding to the integrated data; and generating the device registration table corresponding to the access device based on the device registration sequence.

[0076] Among them, the uniformly formatted data refers to the data obtained by converting the verification data into a unified format, such as JSON-formatted verification data; the verification factors refer to the key information or features used to identify and verify devices in the uniformly formatted data; the integrated data refers to a data set obtained by summarizing and organizing the uniformly formatted data based on the verification factors; and the device registration sequence refers to the registration order or list of devices formed according to specific identifiers or attributes in the integrated data.

[0077] Furthermore, the conversion of the format of the verification data can be achieved through the json library in Python; the identification of the verification factors corresponding to the uniformly formatted data can be achieved through data mining methods; the integration of the uniformly formatted data can be achieved through ETL tools, such as Extract, Transform, Load, etc.; the query of the device registration sequence corresponding to the integrated data can be achieved through SDK tools, such as AWSSDK, Google Cloud SDK, etc.; and the generation of the device registration table corresponding to the access device can be achieved through script programming tools, such as Python, JAVA, etc.

[0078] Based on the device registration table, the present invention assigns device identifiers to the access devices, which can improve the efficiency of device management, ensure that each device has a unique identifier, and contribute to simplifying device tracking and network fault troubleshooting.

[0079] Wherein, the device identifier refers to an identification code or number used to uniquely identify and recognize a specific access device.

[0080] As an embodiment of the present invention, allocating a device identifier to the access device based on the device registry includes: reading the registered data in the device registry; performing data screening on the registered data to obtain screened data; determining the data uniqueness corresponding to the screened data; and allocating a device identifier to the access device based on the data uniqueness.

[0081] Wherein, the registered data refers to the device information or attributes already recorded in the device registry; the screened data refers to the data that meets specific conditions or requirements after screening and extraction; and the data uniqueness refers to having a unique identifier or feature that can ensure the distinguishability between different devices.

[0082] Further, the reading of the registered data in the device registry can be achieved through query language tools such as SQL, API, etc.; the data screening of the registered data can be achieved through machine learning models such as decision trees, random forests, etc.; the determination of the data uniqueness corresponding to the screened data can be achieved through a hash algorithm such as calculating the hash value of the data using a hash function and then comparing the hash values to determine the data uniqueness; and the allocation of a device identifier to the access device can be achieved through a UUID generation algorithm or a Snowflake algorithm.

[0083] Based on the device identifier, the present invention uses the protocol unit in the Internet of Things cloud platform to generate a network authentication protocol corresponding to the access device, ensuring the security of communication between devices, enhancing the robustness and scalability of the network, and at the same time simplifying the device authentication process.

[0084] Wherein, the protocol unit refers to the basic unit used to process data transmission and security in the field of the Internet of Things. The main functions of the protocol unit include: authentication, key management, security negotiation, etc.; the network authentication protocol refers to a protocol that stipulates the mutual authentication and establishment of a secure connection between a device and a network. Optionally, the generation of the network authentication protocol corresponding to the access device can be achieved by using the protocol unit in the Internet of Things cloud platform.

[0085] Further, based on the network authentication protocol, the present invention performs two-way authentication on the access device to obtain a device two-way channel, which can establish a stable and reliable secure channel, ensuring the authenticity of the device identity and the confidentiality of communication data. This not only enhances the security of the Internet of Things system but also lays a foundation for efficient data transmission and device management.

[0086] Among them, the device two-way channel refers to a secure communication channel established between the device and the cloud platform after two-way authentication.

[0087] As an embodiment of the present invention, the two-way authentication of the access device based on the network authentication protocol to obtain a device two-way channel includes: determining a time protocol window corresponding to the network authentication protocol; identifying a window public key in the time protocol window; generating a shared key corresponding to the access device based on the window public key; and performing two-way authentication on the access device based on the shared key to obtain a device two-way channel.

[0088] Among them, the time protocol window refers to a predefined period of time in the Internet of Things cloud platform for managing device authentication requests; the window public key refers to a public key for key exchange published by the Internet of Things cloud platform within a specific time window; and the shared key refers to a secret key generated by the device private key and the cloud platform public key for protecting the communication security between devices.

[0089] Further, the determination of the time protocol window corresponding to the network authentication protocol can be achieved through a time synchronization technical method. For example, the Network Time Protocol (NTP) can be used to achieve precise time synchronization; the identification of the window public key in the time protocol window can be achieved through a public key distribution mechanism. For example, the Public Key Infrastructure (PKI) can be used to distribute and manage public keys; the generation of the shared key corresponding to the access device can be achieved through a key exchange protocol. For example, Diffie-Hellman key exchange, etc.; the two-way authentication of the access device can be achieved through digital signature and signature verification methods. For example, during the two-way authentication process, the device first generates a random number, called a challenge number. Then, the device uses its private key to sign this challenge number and its own identity information (such as device ID) to form a challenge-response message. The device sends this message to the cloud platform. The cloud platform uses the public key of the device to verify the correctness of the signature. If the verification passes, the cloud platform generates a confirmation message containing a random number and a timestamp, encrypts it using the shared key, and sends it to the device. After receiving the encrypted message, the device decrypts it with its private key and then verifies the timestamp and content therein.

[0090] S3. Identify the channel data in the device two-way channel, perform a security scan on the channel data to obtain scan data, upload the scan data to the Internet of Things cloud platform, and then use the instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device to achieve real-time monitoring of the access device and obtain device monitoring parameters.

[0091] Identifying the channel data in the two-way channels of the device is a key step in achieving optimized data transmission and security monitoring. It allows the Internet of Things cloud platform to parse and classify the communication content between devices in real time, thereby improving the efficiency and accuracy of data processing and analysis, and helping to detect abnormal behaviors in a timely manner and take corresponding measures.

[0092] Among them, the channel data refers to all data transmitted through the device two-way channels, and these data include: device status information, sensor readings, control instructions, configuration file updates, and data exchanges of applications, etc. Optionally, identifying the channel data in the device two-way channels can be achieved through protocol parsers, such as: MQTT, CoAP and other parsers.

[0093] Furthermore, by performing a security scan on the channel data to obtain scan data, it helps to detect and prevent potential security threats in a timely manner, such as malware, data leakage, unauthorized access, etc., and at the same time provides an important basis for continuous security improvement.

[0094] Among them, the scan data refers to the result data obtained after a security scan, which contains information further analyzed and processed based on the original data and interpolated data, and the format and content of the scan data can vary according to specific security requirements and scan targets.

[0095] As an embodiment of the present invention, performing a security scan on the channel data to obtain scan data includes: identifying the original data corresponding to the channel data; performing data interpolation on the original data to obtain interpolated data; querying for potential security vulnerabilities in the interpolated data; and based on the potential security vulnerabilities, performing a security scan on the potential security threats to obtain scan data.

[0096] Among them, the original data refers to the data directly obtained from the device two-way channels, which contains detailed information of the device, user behavior data, or environmental parameters, etc.; the interpolated data refers to the data obtained by interpolating and filling the missing values in the original data; the potential security vulnerabilities refer to the weaknesses or defects that may exist in the system, network, or device but have not been exploited or exposed yet.

[0097] Further, the original data corresponding to the identified channel data can be obtained through a network protocol analyzer. For example, Wireshark can capture and decode network data packets to display the original data; the data interpolation for the original data can be obtained through interpolation tools such as Excel, R, Python, etc.; the query for potential security vulnerabilities in the interpolated data can be obtained through vulnerability scanning tools such as Nessus, OpenVAS, etc.; the security scanning for the potential security threats can be obtained through security scanning methods such as regular scanning, on-demand scanning, passive scanning, etc.

[0098] After uploading the scanned data to the Internet of Things cloud platform, the present invention uses the instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device, thereby realizing real-time monitoring of the access device and obtaining device monitoring parameters, which helps to protect sensitive data from damage, optimize resource utilization, make more informed decisions, reduce unnecessary resource waste, and can access the device monitoring parameters anytime and anywhere, improving the flexibility and efficiency of management.

[0099] Among them, the instruction unit refers to a component or system on the Internet of Things cloud platform responsible for sending and executing control commands; the device monitoring parameters refer to the key indicators collected from the access device in the Internet of Things environment and used to measure the performance and health status of the device. Optionally, the real-time monitoring of the access device can be obtained by using the instruction unit in the Internet of Things cloud platform to send a monitoring instruction.

[0100] S4. Use a preset retransmission optimization algorithm to optimize the device monitoring parameters to obtain optimized parameters, monitor the data status corresponding to the optimized parameters in real time, identify the data transmission frequency band corresponding to the access device based on the data status, and calculate the transmission index of the data in the access device based on the data transmission frequency band.

[0101] By using a preset retransmission optimization algorithm to optimize the device monitoring parameters to obtain optimized parameters, the present invention can significantly improve the data transmission efficiency, system stability and scalability. By intelligently adjusting the data transmission strategy, the optimized parameters can effectively reduce network congestion and resource waste, ensuring the efficient and reliable transmission of data between devices.

[0102] Among them, the preset retransmission optimization algorithm refers to a set of methods or strategies preset and implemented in the Internet of Things system to improve the data retransmission efficiency and reduce data transmission errors; the optimized parameters refer to the key variables obtained by adjusting and optimizing the existing parameters during device monitoring and data transmission.

[0103] As an embodiment of the present invention, parameter optimization of the device monitoring parameters using a preset retransmission optimization algorithm to obtain optimized parameters includes:

[0104] Calculating the optimization value corresponding to the device monitoring parameter using the following formula:

[0105] ;

[0106] where, represents the optimization value corresponding to the device monitoring parameter, is the number of samples, indicating the total number of data points available for optimization, represents the sample index corresponding to the device monitoring parameter, represents the th observed value of the device monitoring parameter, refers to the mean parameter, indicating the expected value of the device monitoring parameter, refers to the variance parameter, indicating the degree of dispersion of the device monitoring parameter, is the standardized residual, used to measure the degree to which each observed value deviates from the mean, is the regularization parameter corresponding to the device monitoring parameter.

[0107] Based on the optimization value, parameter optimization of the device monitoring parameter is performed to obtain optimized parameters.

[0108] Furthermore, real-time monitoring of the data status corresponding to the optimized parameters can immediately detect anomalies, predict trends, and quickly respond to potential problems, thereby significantly improving the stability, efficiency, and reliability of the system.

[0109] Among them, the data status refers to real-time data directly related to system performance, operating conditions, and business metrics. Optionally, real-time monitoring of the data status corresponding to the optimized parameters can be achieved through time series analysis models, such as ARIMA, LSTM, etc. models.

[0110] Furthermore, based on the data status, the present invention can identify the data transmission frequency band corresponding to the access device, which can greatly improve the efficiency, stability, and capacity of the network. It can dynamically allocate appropriate frequency bands for different devices, which can reduce signal interference, optimize bandwidth utilization, and ensure the smooth operation of key devices.

[0111] Among them, the data transmission frequency band refers to the optimal data transmission frequency range determined according to frequency band parameters.

[0112] As an embodiment of the present invention, the identification of the data transmission frequency band corresponding to the access device based on the data status includes: determining the real-time network data in the access device based on the data status; performing sliding segmentation on the real-time network data to obtain segmented data; querying the data quality corresponding to the segmented data; performing balanced frequency band analysis on the data quality to obtain frequency band parameters; calculating the frequency band coefficient corresponding to the access data based on the frequency band parameters; and identifying the data transmission frequency band corresponding to the access device based on the frequency band coefficient.

[0113] Among them, the real-time network data refers to the network data collected in real time from the access device, including device status, sensor data, etc.; the segmented data refers to the data obtained by dividing the real-time network data at a certain time interval or data volume; the data quality refers to the quality indicators of the segmented data, such as data integrity, accuracy, timeliness, etc.; the frequency band coefficient is a key indicator used to measure the impact of the frequency band on data transmission quality and performance; the frequency band parameters refer to the parameters obtained by performing balanced frequency band analysis based on the data quality, such as frequency, bandwidth, signal strength, etc.

[0114] Further, the determination of the real-time network data in the access device can be achieved through various acquisition tools, such as sensors, gateways, etc.; the sliding segmentation of the real-time network data can be achieved through the sliding window technique, such as: the sliding window technique can be used to set a fixed time window size, update the window every once in a while, and analyze the data within the window as a new data segment; the query of the data quality corresponding to the segmented data can be achieved through data verification methods, such as: data verification is used to compare each segmented data with the expected data set to evaluate its data quality; the balanced frequency band analysis of the data quality can be achieved through spectrum analysis methods, such as: methods such as the discrete Fourier transform (DFT) can be used to convert the segmented data from the time domain to the frequency domain, and then a spectrum allocation algorithm is used to determine the optimal data transmission frequency band; the calculation of the frequency band coefficient corresponding to the access data can be achieved through the following calculation formula; the identification of the data transmission frequency band corresponding to the access device can be achieved through various algorithms, such as: optimization algorithms such as the greedy algorithm or genetic algorithm can be used to automatically search for and determine the optimal data transmission frequency band.

[0115] Further, the present invention calculates the transmission index of the data in the access device based on the data transmission frequency band, which helps to identify the most suitable frequency band for the current data transmission, avoid problems such as signal interference and congestion, ensure that the data can be transmitted in a stable and efficient state, and thus improve the performance of the entire Internet of Things system.

[0116] Among them, the transmission index refers to a value comprehensively evaluated based on various performance indicators during the data transmission process, which is used to measure the stability and efficiency of data transmission.

[0117] As an embodiment of the present invention, calculating the transmission index of the data in the access device based on the data transmission frequency band includes:

[0118] Calculating the transmission index of the data in the access device by using the following formula:

[0119] ;

[0120] Wherein, represents the transmission index of the data in the access device, represents the data rate, that is, the amount of data successfully transmitted by the data in the access device per unit time, represents the channel capacity, that is, the maximum amount of data that can be transmitted theoretically by the data in the access device within a specific frequency band, represents the data transmission frequency band.

[0121] S5. Based on the transmission index, construct the device wildcard corresponding to the access device, and based on the device wildcard, perform the device interaction processing of the Internet of Things cloud platform to obtain the device interaction report corresponding to the access device.

[0122] Based on the transmission index, the present invention constructs the device wildcard corresponding to the access device, which can select the best communication method and frequency band according to the transmission characteristics and requirements of different devices, thereby reducing signal interference and congestion and improving the pertinence and efficiency of data transmission.

[0123] Among them, the device wildcard refers to a combination of network configuration parameters for a specific access device, such as transmission protocols, port options, quality of service (QoS) parameters, etc.

[0124] As an embodiment of the present invention, constructing the device wildcard corresponding to the access device based on the transmission index includes: determining the transmission channel corresponding to the transmission index; identifying the channel characteristics in the transmission channel; configuring the port options corresponding to the access device based on the channel characteristics; querying the wildcard parameters corresponding to the port options; and constructing the device wildcard corresponding to the access device based on the wildcard parameters.

[0125] Among them, the transmission channel refers to the frequency range and physical channel used by the access device for data transmission; the channel characteristics refer to various attributes related to the channel, such as signal strength, noise level, frequency offset, etc.; the port options refer to the network parameters used to configure the access device, such as TCP / UDP ports, IP addresses, VLAN tags, etc.; the wildcard parameters refer to the network configuration parameters related to specific port options, such as transmission protocol, buffer size, timeout setting, etc.

[0126] Furthermore, the determination of the transmission channel corresponding to the transmission index can be obtained through machine learning models, such as neural networks, support vector machines, decision trees, etc.; the identification of the channel characteristics in the transmission channel can be obtained through signal processing techniques, such as autocorrelation function, power spectral density estimation, multipath fading analysis, etc.; the configuration of the port options corresponding to the access device can be obtained through optimization algorithms, such as genetic algorithms, greedy algorithms, etc.; the query of the wildcard parameters corresponding to the port options can be obtained through a configuration file parsing tool, such as querying the wildcard parameters in a table using Structured Query Language (SQL); the construction of the device wildcard corresponding to the access device can be obtained through a structured data encapsulation tool, such as tools like JSON, XML, etc.

[0127] Based on the device wildcard, the present invention performs the device interaction processing of the Internet of Things cloud platform to obtain the device interaction report corresponding to the access device, which can ensure the efficient and secure transmission of data between each access device, and at the same time enhance the flexibility and scalability of the system.

[0128] Among them, the device interaction report refers to a comprehensive document that records all the interaction activities completed between the Internet of Things cloud platform and the access device after performing the device interaction processing based on the device wildcard. The report content usually includes: the number of devices processed, the type and quantity of requests, the status and latency of responses, the amount of data transmitted, the occurrence and handling results of errors and exceptions, as well as relevant statistical and analysis charts, etc. Optionally, the execution of the device interaction processing of the Internet of Things cloud platform can be obtained through network simulation tools, such as tools like Wireshark, NetSim, etc.

[0129] First, by obtaining the access device and identifying the device registration request in the access device, the present invention can achieve automatic identification and registration of devices, simplify the device access process, improve the networking speed and stability of devices, and facilitate device management and maintenance. At the same time, based on the verification data, the present invention generates a device registry corresponding to the access device, which can effectively organize, manage, and monitor various devices on the cloud platform, improve the efficiency of device management, and ensure that only authorized devices can access and use the resources within the platform, thereby enhancing the security and stability of the Internet of Things system. By identifying the channel data in the device two-way channel, the present invention is a key step in realizing data transmission optimization and security monitoring, which allows the Internet of Things cloud platform to parse and classify the communication content between devices in real time, thereby improving the efficiency and accuracy of data processing and analysis, helping to detect abnormal behaviors in a timely manner and take corresponding measures. By using a preset retransmission optimization algorithm to optimize the device monitoring parameters and obtain optimized parameters, the present invention can significantly improve the data transmission efficiency, system stability, and scalability. By intelligently adjusting the data transmission strategy, the optimized parameters can effectively reduce network congestion and resource waste, ensuring efficient and reliable data transmission between devices. Further, based on the transmission index, the present invention constructs a device wildcard corresponding to the access device, which can select the best communication method and frequency band according to the transmission characteristics and requirements of different devices, thereby reducing signal interference and congestion and improving the pertinence and efficiency of data transmission. Therefore, a device interaction method and system for an Internet of Things cloud platform proposed by the present invention can improve the transmission efficiency of device interaction.

[0130] As Figure 2 shown, it is a functional module diagram of a device interaction system for an Internet of Things cloud platform provided by an embodiment of the present invention.

[0131] The device interaction system 200 for an Internet of Things cloud platform according to the present invention can be installed in an electronic device. According to the functions achieved, the device interaction system 200 for an Internet of Things cloud platform can include a data verification module 201, a two-way channel module 202, a real-time monitoring module 203, an index generation module 204, and a report generation module 205. The modules in the present invention can also be referred to as units, which refer to a series of computer program segments that can be executed by the processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.

[0132] In this embodiment, the functions of each module / unit are as follows:

[0133] The data verification module 201 is configured to obtain an access device, identify a device registration request in the access device, send the device registration request to a preset Internet of Things cloud platform, and then use a verification unit in the Internet of Things cloud platform to perform request verification on the device registration request to obtain verification data;

[0134] The two-way channel module 202 is configured to generate a device registration table corresponding to the access device based on the verification data, allocate a device identifier to the access device based on the device registration table, generate a network authentication protocol corresponding to the access device using a protocol unit in the Internet of Things cloud platform based on the device identifier, and perform two-way authentication on the access device based on the network authentication protocol to obtain a device two-way channel;

[0135] The real-time monitoring module 203 is configured to identify channel data in the device two-way channel, perform security scanning on the channel data to obtain scanning data, upload the scanning data to the Internet of Things cloud platform, and then use an instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device to implement real-time monitoring of the access device to obtain device monitoring parameters;

[0136] The exponential calculation module 204 is configured to optimize the device monitoring parameters using a preset retransmission optimization algorithm to obtain optimized parameters, real-time monitor the data status corresponding to the optimized parameters, identify the data transmission frequency band corresponding to the access device based on the data status, and calculate the transmission index of the data in the access device based on the data transmission frequency band;

[0137] The report generation module 205 is configured to construct a device wildcard corresponding to the access device based on the transmission index, and perform device interaction processing of the Internet of Things cloud platform based on the device wildcard to obtain a device interaction report corresponding to the access device.

[0138] Specifically, each module in the device interaction system 200 of the Internet of Things cloud platform in the embodiment of the present invention uses the same technical means as the device interaction method of the Internet of Things cloud platform described in the accompanying drawings when in use, and can produce the same technical effects, which will not be elaborated here.

[0139] The above are only specific embodiments of the present invention, which enable those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A device interaction method for an Internet of Things cloud platform, characterized in that, The method includes: Obtain an access device, identify a device registration request in the access device, after sending the device registration request to a preset Internet of Things cloud platform, use a verification unit in the Internet of Things cloud platform to perform request verification on the device registration request to obtain verification data; Based on the verification data, generate a device registration table corresponding to the access device, based on the device registration table, allocate a device identifier to the access device, based on the device identifier, use a protocol unit in the Internet of Things cloud platform to generate a network authentication protocol corresponding to the access device, and based on the network authentication protocol, perform two-way authentication on the access device to obtain a device two-way channel; Identify channel data in the device two-way channel, perform security scanning on the channel data to obtain scanning data, after uploading the scanning data to the Internet of Things cloud platform, use an instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device, and then realize real-time monitoring of the access device to obtain device monitoring parameters; Use a preset retransmission optimization algorithm to optimize the device monitoring parameters to obtain optimized parameters, where the using a preset retransmission optimization algorithm to optimize the device monitoring parameters to obtain optimized parameters includes: Use the following formula to calculate an optimized value corresponding to the device monitoring parameters: ; Among them, represents the optimized value corresponding to the device monitoring parameter, is the number of samples, indicating the total number of data points available for optimization, represents the sample index corresponding to the device monitoring parameter, represents the th observed value of the device monitoring parameter, refers to the mean parameter, indicating the expected value of the device monitoring parameter, refers to the variance parameter, indicating the degree of dispersion of the device monitoring parameter, is the standardized residual, used to measure the degree to which each observed value deviates from the mean, is the regularization parameter corresponding to the device monitoring parameter; Based on the optimized value, optimize the device monitoring parameters to obtain optimized parameters, and real-time monitor the data status corresponding to the optimized parameters. Among them, the real-time monitoring of the data status corresponding to the optimized parameters can be achieved through a time series analysis model, including: ARIMA, LSTM model. Based on the data status, identify the data transmission frequency band corresponding to the access device, and based on the data transmission frequency band, calculate the transmission index of the data in the access device. Among them, the calculating the transmission index of the data in the access device based on the data transmission frequency band includes: Use the following formula to calculate the transmission index of the data in the access device: ; Among them, represents the transmission index of data in the access device, represents the data rate, that is, the amount of data successfully transmitted by the data in the access device per unit time, represents the channel capacity, that is, the maximum amount of data that can be theoretically transmitted by the data in the access device within a specific frequency band, represents the data transmission frequency band; Based on the transmission index, construct a device wildcard corresponding to the access device. Among them, the constructing a device wildcard corresponding to the access device based on the transmission index includes: Determine the transmission channel corresponding to the transmission index, and identify the channel characteristics in the transmission channel; Based on the channel characteristics, configure the port options corresponding to the access device; Query the wildcard parameters corresponding to the port options. Among them, the querying the wildcard parameters corresponding to the port options can be achieved through a configuration file parsing tool, including: using structured query language to query the wildcard parameters in a table; Based on the wildcard parameters, construct a device wildcard corresponding to the access device, and based on the device wildcard, perform device interaction processing on the Internet of Things cloud platform. Among them, the performing device interaction processing on the Internet of Things cloud platform can be achieved through a network simulation tool, including: Wireshark, NetSim tool, to obtain a device interaction report corresponding to the access device.

2. The device interaction method of an Internet of Things cloud platform according to claim 1, characterized in that, Generating a device registry corresponding to the access device based on the verification data includes: Converting the format of the verification data to obtain uniformly formatted data; Identifying the verification factors corresponding to the uniformly formatted data; Integrating the uniformly formatted data based on the verification factors to obtain integrated data; Querying the device registration sequence corresponding to the integrated data; Generating a device registry corresponding to the access device based on the device registration sequence.

3. The device interaction method of an Internet of Things cloud platform according to claim 1, characterized in that Allocating a device identifier to the access device based on the device registry includes: Reading the registered data in the device registry; Filtering the registered data to obtain filtered data; Determining the data uniqueness corresponding to the filtered data; Allocating a device identifier to the access device based on the data uniqueness.

4. The device interaction method of an Internet of Things cloud platform according to claim 1, characterized in that Performing two-way authentication on the access device based on the network authentication protocol to obtain a device two-way channel includes: Determining the time protocol window corresponding to the network authentication protocol; Identifying the window public key in the time protocol window; Generating a shared key corresponding to the access device based on the window public key; Performing two-way authentication on the access device based on the shared key to obtain a device two-way channel.

5. The device interaction method of an Internet of Things cloud platform according to claim 1, characterized in that Performing a security scan on the channel data to obtain scan data includes: Identifying the original data corresponding to the channel data; Interpolating the original data to obtain interpolated data; Querying for potential security vulnerabilities in the interpolated data; Performing a security scan on the potential security threats based on the potential security vulnerabilities to obtain scan data.

6. The device interaction method of an Internet of Things cloud platform according to claim 1, characterized in that, Identifying the data transmission frequency band corresponding to the access device based on the data status includes: Determining the real-time network data in the access device based on the data status; Performing sliding segmentation on the real-time network data to obtain segmented data; Querying the data quality corresponding to the segmented data; Performing balanced frequency band analysis on the data quality to obtain frequency band parameters; Calculating the frequency band coefficient corresponding to the access data based on the frequency band parameters; Identifying the data transmission frequency band corresponding to the access device based on the frequency band coefficient.

7. An equipment interaction system for an Internet of Things cloud platform, characterized in that, A system for implementing a device interaction method of an Internet of Things cloud platform according to any one of claims 1-6, the system includes: A data verification module for obtaining an access device, identifying a device registration request in the access device, sending the device registration request to a preset Internet of Things cloud platform, and then using a verification unit in the Internet of Things cloud platform to perform request verification on the device registration request to obtain verification data; A two-way channel module for generating a device registry corresponding to the access device based on the verification data, allocating a device identifier to the access device based on the device registry, generating a network authentication protocol corresponding to the access device using a protocol unit in the Internet of Things cloud platform based on the device identifier, and performing two-way authentication on the access device based on the network authentication protocol to obtain a device two-way channel; A real-time monitoring module, which is used to identify the channel data in the two-way channel of the device, perform a security scan on the channel data to obtain scan data, upload the scan data to the Internet of Things cloud platform, and then use the instruction unit in the Internet of Things cloud platform to send a monitoring instruction to the access device, so as to realize real-time monitoring of the access device and obtain device monitoring parameters; An index calculation module, which is used to optimize the device monitoring parameters by using a preset retransmission optimization algorithm to obtain optimized parameters. Among them, the process of optimizing the device monitoring parameters by using the preset retransmission optimization algorithm to obtain optimized parameters includes: Calculating the optimization value corresponding to the device monitoring parameter by using the following formula: ; Among them, represents the optimized value corresponding to the device monitoring parameter, is the number of samples, indicating the total number of data points available for optimization, represents the sample index corresponding to the device monitoring parameter, represents the observed value of the th device monitoring parameter, refers to the mean parameter, indicating the expected value of the device monitoring parameter, refers to the variance parameter, indicating the degree of dispersion of the device monitoring parameter, is the standardized residual, used to measure the degree to which each observed value deviates from the mean, is the regularization parameter corresponding to the device monitoring parameter; Based on the optimization value, optimizing the device monitoring parameters to obtain optimized parameters, and real-time monitoring the data status corresponding to the optimized parameters. Among them, the real-time monitoring of the data status corresponding to the optimized parameters can be obtained through a time series analysis model, including: ARIMA, LSTM model. Based on the data status, identifying the data transmission frequency band corresponding to the access device, and calculating the transmission index of the data in the access device based on the data transmission frequency band. Among them, the process of calculating the transmission index of the data in the access device based on the data transmission frequency band includes: Calculating the transmission index of the data in the access device by using the following formula: ; Among them, represents the transmission index of data in the access device, represents the data rate, that is, the amount of data successfully transmitted by the data in the access device per unit time, represents the channel capacity, that is, the maximum amount of data that can be transmitted theoretically by the data in the access device within a specific frequency band, represents the data transmission frequency band; A report generation module, which is used to construct a device wildcard corresponding to the access device based on the transmission index. Among them, the process of constructing the device wildcard corresponding to the access device based on the transmission index includes: Determining the transmission channel corresponding to the transmission index and identifying the channel characteristics in the transmission channel; Configuring the port options corresponding to the access device based on the channel characteristics; Querying the wildcard parameters corresponding to the port options. Among them, the querying of the wildcard parameters corresponding to the port options can be obtained through a configuration file parsing tool, including: querying the wildcard parameters in the table by using structured query language; Constructing a device wildcard corresponding to the access device based on the wildcard parameters, and performing device interaction processing on the Internet of Things cloud platform based on the device wildcard. Among them, the execution of the device interaction processing on the Internet of Things cloud platform can be obtained through a network simulation tool, including: Wireshark, NetSim tool, to obtain a device interaction report corresponding to the access device.

Citation Information

Patent Citations

  • Internet of Things equipment registration and security authentication connection and instruction interaction method

    CN114362931A

  • Naming and blockchain recording for the internet of things

    IN201947022378A