Iot-based terminal device interaction management method and system

CN116827976BActive Publication Date: 2026-08-18HUIZHIAN INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211674234.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2026-08-18
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

当物联网终端设备与外界终端设备进行交互过程中,外界终端设备获得接入到物联网的权限,此时外界终端设备会对物联网内部的数据安全产生影响,无法全面精确对外界终端设备在物联网内部的操作进行控制规范

Benefits of technology

[0043] Compared to existing technologies, this IoT-based terminal device interaction management method and system, when an external terminal device has access to the IoT, determines whether the IoT terminal device meets preset connection conditions based on the working status information of the IoT terminal device it needs to connect to. This instructs the IoT platform to return a time-sensitive key to the external terminal device. Furthermore, when an external terminal device sends a time-sensitive key to the IoT terminal device, the system adjusts the connection state of the IoT terminal device within the IoT. After identifying the external terminal device requesting connection, it assigns a time-sensitive key to the external terminal device, thereby controlling the time when the external terminal device accesses the IoT. This ensures that the IoT terminal device only connects to external terminal devices when it is idle. Simultaneously, after the IoT terminal device connects to an external terminal device, the system adapts the connection state of the IoT terminal device within the IoT to prevent interference from external terminal devices and ensure the data security of the IoT.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116827976B_ABST
    Figure CN116827976B_ABST
Patent Text Reader

Abstract

The application provides an Internet of Things-based terminal device interaction management method and system, which identifies a terminal device outside an Internet of Things after the terminal device requests to connect to the Internet of Things, allocates a time-limited key to the terminal device outside the Internet of Things, controls the time when the terminal device outside the Internet of Things accesses the Internet of Things, and ensures that the terminal device inside the Internet of Things can connect to the terminal device outside the Internet of Things only when the terminal device inside the Internet of Things is in an idle state. Meanwhile, after the terminal device inside the Internet of Things connects to the terminal device outside the Internet of Things, the terminal device inside the Internet of Things can adapt to the connection state of the terminal device inside the Internet of Things, avoid interference of the terminal device outside the Internet of Things on the Internet of Things, and ensure the data security of the Internet of Things.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of Internet of Things (IoT) control, and in particular to a method and system for managing the interaction of terminal devices based on IoT. Background Technology

[0002] The Internet of Things (IoT) typically consists of an IoT platform and several IoT terminal devices. Each IoT terminal device connects to the IoT platform and operates independently, uploading the data generated during its operation to the IoT platform. Furthermore, each IoT terminal device can interact with external terminal devices to improve its performance. However, during these interactions, the external terminal devices gain access to the IoT, which can impact the data security within the IoT ecosystem. It is also difficult to fully and accurately control and regulate the operations of external terminal devices within the IoT. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a terminal device interaction management method and system based on the Internet of Things (IoT). When an external terminal device has permission to access the IoT, it determines whether the IoT terminal device meets preset connection conditions based on the working status information of the IoT terminal device it needs to connect to. This instructs the IoT platform to return a time-sensitive key to the external terminal device. Furthermore, when an external terminal device sends a time-sensitive key to the IoT terminal device, the system adjusts the connection status of the IoT terminal device within the IoT. After identifying the external terminal device requesting connection to the IoT, it assigns a time-sensitive key to the external terminal device, thereby controlling the time when the external terminal device accesses the IoT. This ensures that the IoT terminal device only connects to external terminal devices when it is idle. Simultaneously, after the IoT terminal device connects to an external terminal device, it adapts the connection status of the IoT terminal device within the IoT to prevent interference from external terminal devices and ensure the data security of the IoT.

[0004] This invention provides a terminal device interaction management method based on the Internet of Things, comprising the following steps:

[0005] Step S1: Analyze and process the connection request from the external terminal device to determine whether the external terminal device has connection permission; if the external terminal device has connection permission, obtain the working status information of the IoT terminal device that it needs to connect to.

[0006] Step S2: Based on the working status information, determine whether the IoT terminal device meets the preset connection conditions; and if the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device; wherein, the time-sensitive key is generated based on the working status information;

[0007] Step S3: When the external terminal device sends the time-sensitive key to the IoT terminal device, adjust the connection status of the IoT terminal device within the IoT.

[0008] Furthermore, in step S1, the connection request from the external terminal device is analyzed and processed to determine whether the external terminal device has connection permission, including:

[0009] The device identity information of the external terminal device is extracted from the connection request from the external terminal device, and the device identity information is compared with the whitelist of allowed connection devices of the Internet of Things platform.

[0010] If the device identity information exists in the whitelist of allowed connected devices, then it is determined that the external terminal device has permission to connect to the Internet of Things.

[0011] If the device identity information does not exist in the whitelist of allowed connected devices, then it is determined that the external terminal device does not have permission to connect to the Internet of Things.

[0012] Furthermore, in step S1, when the external terminal device has connection permission, it obtains the working status information of the IoT terminal device it needs to connect to, including:

[0013] When the external terminal device has permission to connect to the Internet of Things (IoT), the IoT platform is instructed to send an inquiry message to the external terminal device.

[0014] The device identity information of the IoT terminal device that the external terminal device needs to connect to is extracted from the response message returned by the external terminal device in response to the query message.

[0015] Based on the device identity information of the IoT terminal device to be connected, retrieve the working log of the IoT terminal device to be connected from the IoT platform;

[0016] The work log is analyzed and processed to determine the execution progress information of the task currently being processed by the IoT terminal device that needs to be connected, and this information is used as the work status information.

[0017] Further, in step S2, based on the working status information, it is determined whether the IoT terminal device meets the preset connection conditions; and when the preset connection conditions are met, the IoT platform is instructed to return a time-sensitive key to the external terminal device; wherein, the time-sensitive key is generated based on the working status information and includes:

[0018] Based on the execution progress information and the average data processing speed of the IoT terminal device, the estimated time required for the IoT terminal device to complete the current task is predicted.

[0019] If the required time is less than or equal to a preset time threshold, then the IoT terminal device is determined to meet the preset connection conditions; otherwise, the IoT terminal device is determined not to meet the preset connection conditions.

[0020] When the preset connection conditions are met, the IoT platform is instructed to generate a time-sensitive key according to the required time and return the key to the external terminal device; wherein the key is converted to a valid state only after a period of time not less than the required time.

[0021] Furthermore, in step S3, when the external terminal device sends the time-sensitive key to the IoT terminal device, the connection status of the IoT terminal device within the IoT is adjusted, including:

[0022] When the external terminal device sends the time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is interrupted, and the communication channel is only restored after the external terminal device disconnects from the IoT terminal device.

[0023] The present invention also provides an IoT-based terminal device interaction management system, comprising:

[0024] The connection permission determination module is used to analyze and process connection requests from external terminal devices and determine whether the external terminal devices have connection permissions.

[0025] The IoT terminal device determination module is used to obtain the working status information of the IoT terminal device that the external terminal device needs to connect to when the external terminal device has connection permission.

[0026] A key generation module is used to determine whether the IoT terminal device meets preset connection conditions based on the working status information; and when the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device; wherein the time-sensitive key is generated based on the working status information.

[0027] The IoT terminal device connection adjustment module is used to adjust the connection status of the IoT terminal device within the IoT when the external terminal device sends the time-sensitive key to the IoT terminal device.

[0028] Furthermore, the connection permission determination module is used to analyze and process connection requests from external terminal devices to determine whether the external terminal device has connection permission, including:

[0029] The device identity information of the external terminal device is extracted from the connection request from the external terminal device, and the device identity information is compared with the whitelist of allowed connection devices of the Internet of Things platform.

[0030] If the device identity information exists in the whitelist of allowed connected devices, then it is determined that the external terminal device has permission to connect to the Internet of Things.

[0031] If the device identity information does not exist in the whitelist of allowed connected devices, then it is determined that the external terminal device does not have permission to connect to the Internet of Things.

[0032] Furthermore, the IoT terminal device determination module is used to obtain the working status information of the IoT terminal device that the external terminal device needs to connect to when the external terminal device has connection permission, including:

[0033] When the external terminal device has permission to connect to the Internet of Things (IoT), the IoT platform is instructed to send an inquiry message to the external terminal device.

[0034] The device identity information of the IoT terminal device that the external terminal device needs to connect to is extracted from the response message returned by the external terminal device in response to the query message.

[0035] Based on the device identity information of the IoT terminal device to be connected, retrieve the working log of the IoT terminal device to be connected from the IoT platform;

[0036] The work log is analyzed and processed to determine the execution progress information of the task currently being processed by the IoT terminal device that needs to be connected, and this information is used as the work status information.

[0037] Furthermore, the key generation module is used to determine whether the IoT terminal device meets the preset connection conditions based on the working status information; and when the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device, including:

[0038] Based on the execution progress information and the average data processing speed of the IoT terminal device, the estimated time required for the IoT terminal device to complete the current task is predicted.

[0039] If the required time is less than or equal to a preset time threshold, then the IoT terminal device is determined to meet the preset connection conditions; otherwise, the IoT terminal device is determined not to meet the preset connection conditions.

[0040] When the preset connection conditions are met, the IoT platform is instructed to generate a time-sensitive key according to the required time and return the key to the external terminal device; wherein the key is converted to a valid state only after a period of time not less than the required time.

[0041] Furthermore, the IoT terminal device connection adjustment module is used to adjust the connection status of the IoT terminal device within the IoT when the external terminal device sends the time-sensitive key to the IoT terminal device, including:

[0042] When the external terminal device sends the time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is interrupted, and the communication channel is only restored after the external terminal device disconnects from the IoT terminal device.

[0043] Compared to existing technologies, this IoT-based terminal device interaction management method and system, when an external terminal device has access to the IoT, determines whether the IoT terminal device meets preset connection conditions based on the working status information of the IoT terminal device it needs to connect to. This instructs the IoT platform to return a time-sensitive key to the external terminal device. Furthermore, when an external terminal device sends a time-sensitive key to the IoT terminal device, the system adjusts the connection state of the IoT terminal device within the IoT. After identifying the external terminal device requesting connection, it assigns a time-sensitive key to the external terminal device, thereby controlling the time when the external terminal device accesses the IoT. This ensures that the IoT terminal device only connects to external terminal devices when it is idle. Simultaneously, after the IoT terminal device connects to an external terminal device, the system adapts the connection state of the IoT terminal device within the IoT to prevent interference from external terminal devices and ensure the data security of the IoT.

[0044] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.

[0045] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 This is a flowchart illustrating the IoT-based terminal device interaction management method provided by the present invention.

[0048] Figure 2 This is a schematic diagram of the structure of the IoT-based terminal device interaction management system provided by the present invention. Detailed Implementation

[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0050] See Figure 1 This is a flowchart illustrating the IoT-based terminal device interaction management method provided in an embodiment of the present invention. The IoT-based terminal device interaction management method includes the following steps:

[0051] Step S1: Analyze and process the connection request from the external terminal device to determine whether the external terminal device has connection permission; if the external terminal device has connection permission, obtain the working status information of the IoT terminal device that it needs to connect to.

[0052] Step S2: Based on the working status information, determine whether the IoT terminal device meets the preset connection conditions; and if the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device; wherein the time-sensitive key is generated based on the working status information.

[0053] Step S3: When the external terminal device sends the time-sensitive key to the IoT terminal device, adjust the connection status of the IoT terminal device within the IoT.

[0054] The beneficial effects of the above technical solution are as follows: When an external terminal device has the permission to access the Internet of Things (IoT), the IoT-based terminal device interaction management method determines whether the IoT terminal device meets the preset connection conditions based on the working status information of the IoT terminal device it needs to connect to, thereby instructing the IoT platform to return a time-sensitive key to the external terminal device; and when the external terminal device sends a time-sensitive key to the IoT terminal device, the connection status of the IoT terminal device within the IoT is adjusted. After identifying the external terminal device requesting to connect to the IoT, the method allocates a time-sensitive key to the external terminal device, thereby controlling the time when the external terminal device accesses the IoT, ensuring that the IoT terminal device only connects to the external terminal device when it is in an idle state; at the same time, after the IoT terminal device connects with the external terminal device, the method adapts the connection status of the IoT terminal device within the IoT, avoiding interference from the external terminal device to the IoT and ensuring the data security of the IoT.

[0055] Preferably, in step S1, the connection request from the external terminal device is analyzed and processed to determine whether the external terminal device has connection permission, including:

[0056] From the connection request from the external terminal device, the device identity information of the external terminal device is extracted, and the device identity information is compared with the whitelist of allowed connection devices of the Internet of Things platform;

[0057] If the device's identity information exists in the whitelist of allowed connected devices, then it is determined that the external terminal device has permission to connect to the Internet of Things.

[0058] If the device's identity information is not present in the whitelist of allowed connected devices, then it is determined that the external terminal device does not have permission to connect to the Internet of Things.

[0059] The beneficial effects of the above technical solution are as follows: When an external terminal device needs to connect to the Internet of Things (IoT) and link with one of the IoT terminal devices, it first sends a connection request. The device identity information of the external terminal device is extracted from the connection request, and then compared with a whitelist of allowed connection devices. This method ensures that only designated external terminal devices can obtain access to the IoT, thereby preventing unauthorized connections from external terminal devices to the IoT.

[0060] Preferably, in step S1, when the external terminal device has connection permission, it obtains the working status information of the IoT terminal device it needs to connect to, including:

[0061] When the external terminal device has permission to connect to the Internet of Things (IoT), the IoT platform is instructed to send an inquiry message to the external terminal device.

[0062] From the response message returned by the external terminal device to the query message, the device identity information of the IoT terminal device that the external terminal device needs to connect to is extracted;

[0063] Based on the device identity information of the IoT terminal device that needs to be connected, retrieve the working log of the IoT terminal device that needs to be connected from the IoT platform;

[0064] The work log is analyzed and processed to determine the execution progress information of the task currently being processed by the IoT terminal device that needs to be connected, and this information is used as the work status information.

[0065] The beneficial effects of the above technical solution are as follows: Through the above method, it is possible to accurately select the IoT terminal device that the external terminal device needs to connect to from all IoT terminal devices within the IoT, and further determine whether the selected IoT terminal device is currently in the task execution state and the progress of the task execution, so as to accurately set the connection time between the external terminal device and the selected IoT terminal device, and ensure the exclusive connection of the external terminal device to the selected IoT terminal device.

[0066] Preferably, in step S2, based on the working status information, it is determined whether the IoT terminal device meets the preset connection conditions; and when the preset connection conditions are met, the IoT platform is instructed to return a time-sensitive key to the external terminal device; wherein, the time-sensitive key is generated based on the working status information and includes:

[0067] Based on the execution progress information and the average data processing speed of the IoT terminal device, the estimated time required for the IoT terminal device to complete the current task is predicted.

[0068] If the required time is less than or equal to a preset time threshold, the IoT terminal device is determined to meet the preset connection conditions; otherwise, the IoT terminal device is determined not to meet the preset connection conditions.

[0069] When the preset connection conditions are met, the IoT platform is instructed to generate a time-sensitive key based on the required time and return the key to the external terminal device; wherein the key is converted to a valid state only after a period of time not less than the required time.

[0070] The beneficial effects of the above technical solution are as follows: By using the above method, based on the execution progress information of the task currently being processed by the IoT terminal device and the average data processing speed of the IoT terminal device, the time required for the IoT terminal device to complete the current task can be estimated. This allows the generation of a time-sensitive key, so that after obtaining the key, external terminal devices need to wait a corresponding period of time before they can connect to the IoT terminal device. This avoids the situation where external terminal devices connect directly to the IoT terminal device while it is still processing a task, thereby affecting the normal operation of the IoT terminal device and having an adverse impact on the data security of the IoT.

[0071] Preferably, in step S3, when the external terminal device sends the time-sensitive key to the IoT terminal device, adjusting the connection status of the IoT terminal device within the IoT includes:

[0072] When the external terminal device sends the time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is interrupted. The communication channel is only restored after the external terminal device disconnects from the IoT terminal device.

[0073] The beneficial effects of the above technical solution are as follows: by means of the above method, when an external terminal device sends a time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is immediately interrupted, thus preventing the external terminal device and the currently connected IoT terminal device from acting as intermediaries and affecting the operational security of other IoT terminal devices and the IoT platform within the IoT.

[0074] See Figure 2 This is a schematic diagram of the structure of an IoT-based terminal device interaction management system provided in an embodiment of the present invention. The IoT-based terminal device interaction management system includes:

[0075] The connection permission determination module is used to analyze and process connection requests from external terminal devices to determine whether the external terminal device has connection permission.

[0076] The IoT terminal device determination module is used to obtain the working status information of the IoT terminal device that needs to be connected when the external terminal device has connection permission.

[0077] The key generation module is used to determine whether the IoT terminal device meets the preset connection conditions based on the working status information; and when the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device; wherein the time-sensitive key is generated based on the working status information.

[0078] The IoT terminal device connection adjustment module is used to adjust the connection status of the IoT terminal device within the IoT when the external terminal device sends the time-sensitive key to the IoT terminal device.

[0079] The beneficial effects of the above technical solution are as follows: When an external terminal device has the permission to access the Internet of Things (IoT), the IoT-based terminal device interaction management system determines whether the IoT terminal device meets the preset connection conditions based on the working status information of the IoT terminal device it needs to connect to, thereby instructing the IoT platform to return a time-sensitive key to the external terminal device; and when the external terminal device sends a time-sensitive key to the IoT terminal device, the system adjusts the connection status of the IoT terminal device within the IoT. After identifying the external terminal device requesting to connect to the IoT, the system allocates a time-sensitive key to the external terminal device, thereby controlling the time when the external terminal device accesses the IoT, ensuring that the IoT terminal device only connects to the external terminal device when it is in an idle state; at the same time, after the IoT terminal device connects with the external terminal device, the system adapts the connection status of the IoT terminal device within the IoT to avoid interference from the external terminal device to the IoT, thus ensuring the data security of the IoT.

[0080] Preferably, the connection permission determination module is used to analyze and process connection requests from external terminal devices to determine whether the external terminal device has connection permission, including:

[0081] From the connection request from the external terminal device, the device identity information of the external terminal device is extracted, and the device identity information is compared with the whitelist of allowed connection devices of the Internet of Things platform;

[0082] If the device's identity information exists in the whitelist of allowed connected devices, then it is determined that the external terminal device has permission to connect to the Internet of Things.

[0083] If the device's identity information is not present in the whitelist of allowed connected devices, then it is determined that the external terminal device does not have permission to connect to the Internet of Things.

[0084] The beneficial effects of the above technical solution are as follows: When an external terminal device needs to connect to the Internet of Things (IoT) and link with one of the IoT terminal devices, it first sends a connection request. The device identity information of the external terminal device is extracted from the connection request, and then compared with a whitelist of allowed connection devices. This method ensures that only designated external terminal devices can obtain access to the IoT, thereby preventing unauthorized connections from external terminal devices to the IoT.

[0085] Preferably, the IoT terminal device determination module is used to obtain the working status information of the IoT terminal device to be connected when the external terminal device has connection permission, including:

[0086] When the external terminal device has permission to connect to the Internet of Things (IoT), the IoT platform is instructed to send an inquiry message to the external terminal device.

[0087] From the response message returned by the external terminal device to the query message, the device identity information of the IoT terminal device that the external terminal device needs to connect to is extracted;

[0088] Based on the device identity information of the IoT terminal device that needs to be connected, retrieve the working log of the IoT terminal device that needs to be connected from the IoT platform;

[0089] The work log is analyzed and processed to determine the execution progress information of the task currently being processed by the IoT terminal device that needs to be connected, and this information is used as the work status information.

[0090] The beneficial effects of the above technical solution are as follows: Through the above method, it is possible to accurately select the IoT terminal device that the external terminal device needs to connect to from all IoT terminal devices within the IoT, and further determine whether the selected IoT terminal device is currently in the task execution state and the progress of the task execution, so as to accurately set the connection time between the external terminal device and the selected IoT terminal device, and ensure the exclusive connection of the external terminal device to the selected IoT terminal device.

[0091] Preferably, the key generation module is used to determine whether the IoT terminal device meets the preset connection conditions based on the working status information; and when the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device, including:

[0092] Based on the execution progress information and the average data processing speed of the IoT terminal device, the estimated time required for the IoT terminal device to complete the current task is predicted.

[0093] If the required time is less than or equal to a preset time threshold, the IoT terminal device is determined to meet the preset connection conditions; otherwise, the IoT terminal device is determined not to meet the preset connection conditions.

[0094] When the preset connection conditions are met, the IoT platform is instructed to generate a time-sensitive key based on the required time and return the key to the external terminal device; wherein the key is converted to a valid state only after a period of time not less than the required time.

[0095] The beneficial effects of the above technical solution are as follows: By using the above method, based on the execution progress information of the task currently being processed by the IoT terminal device and the average data processing speed of the IoT terminal device, the time required for the IoT terminal device to complete the current task can be estimated. This allows the generation of a time-sensitive key, so that after obtaining the key, external terminal devices need to wait a corresponding period of time before they can connect to the IoT terminal device. This avoids the situation where external terminal devices connect directly to the IoT terminal device while it is still processing a task, thereby affecting the normal operation of the IoT terminal device and having an adverse impact on the data security of the IoT.

[0096] Preferably, the IoT terminal device connection adjustment module is used to adjust the connection status of the IoT terminal device within the IoT when the external terminal device sends the time-sensitive key to the IoT terminal device, including:

[0097] When the external terminal device sends the time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is interrupted. The communication channel is only restored after the external terminal device disconnects from the IoT terminal device.

[0098] The beneficial effects of the above technical solution are as follows: by means of the above method, when an external terminal device sends a time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is immediately interrupted, thus preventing the external terminal device and the currently connected IoT terminal device from acting as intermediaries and affecting the operational security of other IoT terminal devices and the IoT platform within the IoT.

[0099] As can be seen from the above embodiments, when an external terminal device has permission to access the Internet of Things (IoT), the IoT-based terminal device interaction management method and system determine whether the IoT terminal device meets the preset connection conditions based on the working status information of the IoT terminal device it needs to connect to, thereby instructing the IoT platform to return a time-sensitive key to the external terminal device. Furthermore, when the external terminal device sends a time-sensitive key to the IoT terminal device, the system adjusts the connection status of the IoT terminal device within the IoT. After identifying the external terminal device requesting to connect to the IoT, it allocates a time-sensitive key to the external terminal device, thereby controlling the time when the external terminal device accesses the IoT, ensuring that the IoT terminal device only connects to the external terminal device when it is in an idle state. Simultaneously, after the IoT terminal device connects to the external terminal device, the system adapts the connection status of the IoT terminal device within the IoT to avoid interference from the external terminal device and ensure the data security of the IoT.

[0100] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A terminal device interaction management method based on the Internet of Things, characterized in that, Includes the following steps: Step S1: Analyze and process the connection request from the external terminal device to determine whether the external terminal device has connection permission; if the external terminal device has connection permission, obtain the working status information of the IoT terminal device that it needs to connect to. Step S2: Based on the working status information, determine whether the IoT terminal device meets the preset connection conditions; and if the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device; wherein, the time-sensitive key is generated based on the working status information, including: estimating the time required for the IoT terminal device to complete the current processing task based on the execution progress information and the average data processing speed of the IoT terminal device; if the required time is less than or equal to a preset time threshold, then determine that the IoT terminal device meets the preset connection conditions; otherwise, determine that the IoT terminal device does not meet the preset connection conditions; if the preset connection conditions are met, instruct the IoT platform to generate a time-sensitive key based on the required time and return the key to the external terminal device; wherein, the key only transitions to a valid state after a duration not less than the required time; Step S3: When the external terminal device sends the time-sensitive key to the IoT terminal device, adjust the connection status of the IoT terminal device within the IoT.

2. The terminal device interaction management method based on the Internet of Things as described in claim 1, characterized in that: In step S1, the connection request from the external terminal device is analyzed and processed to determine whether the external terminal device has connection permission, including: The device identity information of the external terminal device is extracted from the connection request from the external terminal device, and the device identity information is compared with the whitelist of allowed connection devices of the Internet of Things platform. If the device identity information exists in the whitelist of allowed connected devices, then it is determined that the external terminal device has permission to connect to the Internet of Things. If the device identity information does not exist in the whitelist of allowed connected devices, then it is determined that the external terminal device does not have permission to connect to the Internet of Things.

3. The terminal device interaction management method based on the Internet of Things as described in claim 2, characterized in that: In step S1, when the external terminal device has connection permission, it obtains the working status information of the IoT terminal device it needs to connect to, including: When the external terminal device has permission to connect to the Internet of Things (IoT), the IoT platform is instructed to send an inquiry message to the external terminal device. The device identity information of the IoT terminal device that the external terminal device needs to connect to is extracted from the response message returned by the external terminal device in response to the query message. Based on the device identity information of the IoT terminal device to be connected, retrieve the working log of the IoT terminal device to be connected from the IoT platform; The work log is analyzed and processed to determine the execution progress information of the task currently being processed by the IoT terminal device that needs to be connected, and this information is used as the work status information.

4. The terminal device interaction management method based on the Internet of Things as described in claim 1, characterized in that: In step S3, when the external terminal device sends the time-sensitive key to the IoT terminal device, the connection status of the IoT terminal device within the IoT is adjusted, including: When the external terminal device sends the time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is interrupted, and the communication channel is only restored after the external terminal device disconnects from the IoT terminal device.

5. A terminal device interaction management system based on the Internet of Things, characterized in that, include: The connection permission determination module is used to analyze and process connection requests from external terminal devices and determine whether the external terminal devices have connection permissions. The IoT terminal device determination module is used to obtain the working status information of the IoT terminal device that the external terminal device needs to connect to when the external terminal device has connection permission. A key generation module is used to determine whether the IoT terminal device meets preset connection conditions based on the working status information; and when the preset connection conditions are met, instruct the IoT platform to return a time-sensitive key to the external terminal device; wherein, the time-sensitive key is generated based on the working status information, including: estimating the time required for the IoT terminal device to complete the current processing task based on the execution progress information and the average data processing speed of the IoT terminal device; if the required time is less than or equal to a preset time threshold, it is determined that the IoT terminal device meets the preset connection conditions; otherwise, it is determined that the IoT terminal device does not meet the preset connection conditions; when the preset connection conditions are met, instruct the IoT platform to generate a time-sensitive key based on the required time and return the key to the external terminal device; wherein, the key only transitions to a valid state after a duration not less than the required time; The IoT terminal device connection adjustment module is used to adjust the connection status of the IoT terminal device within the IoT when the external terminal device sends the time-sensitive key to the IoT terminal device.

6. The IoT-based terminal device interaction management system as described in claim 5, characterized in that: The connection permission determination module is used to analyze and process connection requests from external terminal devices, and determine whether the external terminal device has connection permission, including: The device identity information of the external terminal device is extracted from the connection request from the external terminal device, and the device identity information is compared with the whitelist of allowed connection devices of the Internet of Things platform. If the device identity information exists in the whitelist of allowed connected devices, then it is determined that the external terminal device has permission to connect to the Internet of Things. If the device identity information does not exist in the whitelist of allowed connected devices, then it is determined that the external terminal device does not have permission to connect to the Internet of Things.

7. The IoT-based terminal device interaction management system as described in claim 6, characterized in that: The IoT terminal device determination module is used to obtain the working status information of the IoT terminal device that the external terminal device needs to connect to when the external terminal device has connection permission, including: When the external terminal device has permission to connect to the Internet of Things (IoT), the IoT platform is instructed to send an inquiry message to the external terminal device. The device identity information of the IoT terminal device that the external terminal device needs to connect to is extracted from the response message returned by the external terminal device in response to the query message. Based on the device identity information of the IoT terminal device to be connected, retrieve the working log of the IoT terminal device to be connected from the IoT platform; The work log is analyzed and processed to determine the execution progress information of the task currently being processed by the IoT terminal device that needs to be connected, and this information is used as the work status information.

8. The IoT-based terminal device interaction management system as described in claim 7, characterized in that: The IoT terminal device connection adjustment module is used to adjust the connection status of the IoT terminal device within the IoT when the external terminal device sends the time-sensitive key to the IoT terminal device, including: When the external terminal device sends the time-sensitive key to the IoT terminal device, the communication channel between the IoT terminal device and the IoT platform is interrupted, and the communication channel is only restored after the external terminal device disconnects from the IoT terminal device.

Citation Information

Patent Citations

  • Data processing method and device terminal and access point computer

    CN109561066A

  • Resource calling method, device and system

    CN110366194A

  • Method and system for coutrolling terminal into idle mode

    CN1937614A