Message centralized processing method and system based on internet of things
Patent Information
- Application Number
- CN202211686377.8
- 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
现有的物联网都是通过网关配置的方式来实现物联网终端与物联网传感器之间的连接,其无法快速实时地实现不同物联网终端对不同物联网传感器的控制切换,降低物联网内部的运作稳定性
[0037]Compared to existing technologies, this IoT-based centralized message processing method and system broadcasts connection invitation commands to external devices based on the real-time connection status of IoT terminals on the IoT platform; allocates IoT connection permissions based on the response messages of terminals outside the IoT to the connection invitation commands; analyzes the service message data of terminals connected to the IoT to generate service commands, classifies the service commands, and obtains a service command queue corresponding to IoT sensors; and sends the service commands contained in the service commands to the IoT sensors in sequence according to the working status of the IoT sensors. By broadcasting connection invitations to external devices, it allocates IoT connection permissions to responding terminals outside the IoT and selects appropriate service commands based on the service message data of the terminals, thereby sending them to the IoT sensors. This enables different terminals to control the connection of IoT sensors and improves the operational stability within the IoT.
Smart Images

Figure CN116827978B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of Internet of Things (IoT) data processing, and in particular to a method and system for centralized message processing based on the Internet of Things. Background Technology
[0002] The Internet of Things (IoT) typically consists of an IoT platform, several IoT terminals, and several IoT sensors. IoT sensors, as the bottom-level units of the IoT, are used for sensing and detecting external data. IoT terminals, as the middle units, collect the detection data generated by the IoT sensors and control them to perform corresponding sensing operations. The IoT platform, as the highest-level unit, manages all IoT terminals and sensors uniformly. During operation, IoT terminals can be switched and connected at any time to meet the control needs of different IoT terminals on IoT sensors. Current IoT systems use gateway configurations to connect IoT terminals and IoT sensors, which cannot quickly and in real-time switch control between different IoT terminals and different IoT sensors, reducing the operational stability within the IoT system. Summary of the Invention
[0003] To address the shortcomings of existing technologies, this invention provides a centralized message processing method and system based on the Internet of Things (IoT). The method broadcasts connection invitation commands to external devices based on the real-time connection status of IoT terminals on the IoT platform. It allocates IoT connection permissions based on the response messages from external terminals to the connection invitation commands. It analyzes the service message data of terminals connected to the IoT, generates service commands, classifies these commands, and obtains a service command queue corresponding to IoT sensors. Based on the operating status of the IoT sensors, it sequentially sends the service commands contained within the service commands to the IoT sensors. By broadcasting connection invitations, it allocates IoT connection permissions to responding external terminals and selects appropriate service commands based on the terminal's service message data, sending them to the IoT sensors. This enables different terminals to control the connection to IoT sensors, improving the operational stability within the IoT ecosystem.
[0004] This invention provides a centralized message processing method based on the Internet of Things, comprising the following steps:
[0005] Step S1: Based on the real-time connection status of the IoT terminals on the IoT platform, broadcast a connection invitation command to the outside; based on the response message of the terminal outside the IoT to the connection invitation command, allocate IoT connection permissions to the corresponding terminal outside the IoT.
[0006] Step S2: When a terminal outside the Internet of Things (IoT) connects to the IoT, the service message data of the terminal is analyzed and processed to generate service instructions corresponding to the service message data; the service instructions are classified to obtain a service instruction queue corresponding to the IoT sensors inside the IoT.
[0007] Step S3: Based on the working status of the IoT sensors within the IoT, the business instructions contained in the business instruction queue are sequentially sent to the IoT sensors.
[0008] Furthermore, in step S1, based on the real-time connection status of the IoT terminals on the IoT platform, a connection invitation command is broadcast and sent externally, including:
[0009] Obtain the task computation volume uploaded to the IoT platform by the IoT terminals currently connected to the IoT platform; compare the task computation volume with the maximum allowed computation volume of the IoT platform; if the task computation volume is greater than or equal to the maximum allowed computation volume, do not broadcast a connection invitation instruction to the outside.
[0010] If the computational load of the task is less than the maximum allowed computational load, a connection invitation command is broadcast to the outside world.
[0011] Further, in step S1, based on the response message from the terminal outside the Internet of Things (IoT) to the connection invitation command, IoT connection permissions are assigned to the corresponding terminal outside the IoT, including:
[0012] The identity information of the terminal outside the Internet of Things is extracted from the response message of the connection invitation command from the terminal outside the Internet of Things, and the identity information is compared with a preset terminal identity information whitelist.
[0013] If the identity information exists in the preset terminal identity information whitelist, then an IoT connection key is assigned to the corresponding terminal outside the IoT.
[0014] If the identity information does not exist in the preset terminal identity information whitelist, then the IoT connection key will not be assigned to the corresponding terminal outside the IoT.
[0015] Further, in step S2, after a terminal outside the Internet of Things (IoT) connects to the IoT, the service message data of the terminal is analyzed and processed to generate service instructions corresponding to the service message data; the service instructions are classified to obtain a service instruction queue corresponding to the IoT sensors inside the IoT, including:
[0016] When a terminal outside the Internet of Things (IoT) connects to the IoT, semantic recognition processing is performed on the business message data uploaded by the terminal to the IoT platform to determine the type of business that the terminal needs to execute, and a business instruction that matches the business type is selected from a preset instruction library.
[0017] Based on the gateway address corresponding to the IoT sensor to which the business instruction needs to be sent, the business instructions are classified to obtain a queue of business instructions corresponding to the IoT sensors within the IoT.
[0018] Furthermore, in step S3, based on the operating status of the IoT sensors within the IoT, the service instructions contained in the service instruction queue are sequentially sent to the IoT sensors, including:
[0019] Determine whether the IoT sensor within the IoT is currently in a sensing task execution state. If not, the business instructions contained in the business instruction queue are sent to the IoT sensor in sequence.
[0020] The present invention also provides a centralized message processing system based on the Internet of Things, comprising:
[0021] The connection invitation execution module is used to broadcast connection invitation commands to the outside world based on the real-time connection status of the IoT terminals on the IoT platform.
[0022] The connection permission determination module is used to assign IoT connection permissions to the corresponding terminals outside the IoT based on the response message of the connection invitation instruction from the terminals outside the IoT.
[0023] The business instruction generation module is used to analyze and process the business message data of a terminal outside the Internet of Things (IoT) after the terminal connects to the IoT, generate business instructions corresponding to the business message data, and classify the business instructions to obtain a business instruction queue corresponding to the IoT sensors inside the IoT.
[0024] The business instruction sending module is used to send the business instructions contained in the business instruction queue to the IoT sensors in sequence according to the working status of the IoT sensors inside the IoT.
[0025] Furthermore, the connection invitation execution module is used to broadcast a connection invitation command to the outside world based on the real-time connection status of the IoT terminals on the IoT platform, including:
[0026] Obtain the task computation volume uploaded to the IoT platform by the IoT terminals currently connected to the IoT platform; compare the task computation volume with the maximum allowed computation volume of the IoT platform; if the task computation volume is greater than or equal to the maximum allowed computation volume, do not broadcast a connection invitation instruction to the outside.
[0027] If the computational load of the task is less than the maximum allowed computational load, a connection invitation command is broadcast to the outside world.
[0028] Furthermore, the connection permission determination module is used to assign IoT connection permissions to the corresponding terminal outside the IoT based on the response message of the connection invitation command from the terminal outside the IoT, including:
[0029] The identity information of the terminal outside the Internet of Things is extracted from the response message of the connection invitation command from the terminal outside the Internet of Things, and the identity information is compared with a preset terminal identity information whitelist.
[0030] If the identity information exists in the preset terminal identity information whitelist, then an IoT connection key is assigned to the corresponding terminal outside the IoT.
[0031] If the identity information does not exist in the preset terminal identity information whitelist, then the IoT connection key will not be assigned to the corresponding terminal outside the IoT.
[0032] Furthermore, the service instruction generation module is used to analyze and process the service message data of a terminal outside the Internet of Things (IoT) after the terminal connects to the IoT, and generate service instructions corresponding to the service message data; classify the service instructions to obtain a service instruction queue corresponding to IoT sensors inside the IoT, including:
[0033] When a terminal outside the Internet of Things (IoT) connects to the IoT, semantic recognition processing is performed on the business message data uploaded by the terminal to the IoT platform to determine the type of business that the terminal needs to execute, and a business instruction that matches the business type is selected from a preset instruction library.
[0034] Based on the gateway address corresponding to the IoT sensor to which the business instruction needs to be sent, the business instructions are classified to obtain a queue of business instructions corresponding to the IoT sensors within the IoT.
[0035] Furthermore, the service instruction sending module is used to sequentially send the service instructions contained in the service instruction queue to the IoT sensors according to the working status of the IoT sensors within the IoT, including:
[0036] Determine whether the IoT sensor within the IoT is currently in a sensing task execution state. If not, the business instructions contained in the business instruction queue are sent to the IoT sensor in sequence.
[0037] Compared to existing technologies, this IoT-based centralized message processing method and system broadcasts connection invitation commands to external devices based on the real-time connection status of IoT terminals on the IoT platform; allocates IoT connection permissions based on the response messages of terminals outside the IoT to the connection invitation commands; analyzes the service message data of terminals connected to the IoT to generate service commands, classifies the service commands, and obtains a service command queue corresponding to IoT sensors; and sends the service commands contained in the service commands to the IoT sensors in sequence according to the working status of the IoT sensors. By broadcasting connection invitations to external devices, it allocates IoT connection permissions to responding terminals outside the IoT and selects appropriate service commands based on the service message data of the terminals, thereby sending them to the IoT sensors. This enables different terminals to control the connection of IoT sensors and improves the operational stability within the IoT.
[0038] 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.
[0039] 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
[0040] 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.
[0041] Figure 1 This is a flowchart illustrating the IoT-based centralized message processing method provided by the present invention.
[0042] Figure 2 This is a schematic diagram of the structure of the IoT-based centralized message processing system provided by the present invention. Detailed Implementation
[0043] 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.
[0044] See Figure 1 This is a flowchart illustrating the IoT-based centralized message processing method provided in an embodiment of the present invention. The IoT-based centralized message processing method includes the following steps:
[0045] Step S1: Based on the real-time connection status of the IoT terminals on the IoT platform, broadcast a connection invitation command to the outside; based on the response message of the connection invitation command from the terminal outside the IoT, assign IoT connection permissions to the corresponding terminal outside the IoT.
[0046] Step S2: When a terminal outside the Internet of Things (IoT) connects to the IoT, the service message data of the terminal is analyzed and processed to generate a service instruction corresponding to the service message data; the service instruction is classified to obtain a service instruction queue corresponding to the IoT sensors inside the IoT.
[0047] Step S3: Based on the working status of the IoT sensors within the IoT, send the business instructions contained in the business instruction queue to the IoT sensors in sequence.
[0048] The beneficial effects of the above technical solution are as follows: This IoT-based centralized message processing method broadcasts connection invitation commands to the outside world based on the real-time connection status of IoT terminals on the IoT platform; it allocates IoT connection permissions based on the response messages of terminals outside the IoT to the connection invitation commands; it analyzes the service message data of terminals connected to the IoT, generates service commands, classifies the service commands, and obtains a service command queue corresponding to IoT sensors; and it sends the service commands contained in the service commands to the IoT sensors in sequence according to the working status of the IoT sensors. By broadcasting connection invitations to the outside world, it allocates IoT connection permissions to the responding terminals outside the IoT, and selects appropriate service commands based on the service message data of the terminals, and sends them to the IoT sensors, thereby realizing the connection control of IoT sensors by different terminals and improving the operational stability within the IoT.
[0049] Preferably, in step S1, based on the real-time connection status of the IoT terminals on the IoT platform, a connection invitation instruction is broadcast externally, including:
[0050] Obtain the task computation volume uploaded to the IoT platform by the IoT terminals currently connected to the IoT platform; compare the task computation volume with the maximum allowed computation volume of the IoT platform; if the task computation volume is greater than or equal to the maximum allowed computation volume, do not broadcast a connection invitation command.
[0051] If the computational load of the task is less than the maximum allowed computational load, a connection invitation command is broadcast to the outside world.
[0052] The beneficial effects of the above technical solution are as follows: The IoT platform is used to manage terminals connected to the IoT and can also adjust the access status of terminals outside the IoT. When the computational load of tasks uploaded to the IoT platform by the currently connected IoT terminals is less than the maximum allowed computational load, it indicates that the IoT platform can currently accept connections from other terminals and has the corresponding computing power to control and manage other terminals. At this time, it broadcasts a connection invitation command to facilitate timely connection of IoT terminals to the IoT.
[0053] Preferably, in step S1, based on the response message of the connection invitation command from the terminal outside the Internet of Things (IoT), IoT connection permissions are assigned to the corresponding terminal outside the IoT, including:
[0054] The identity information of the terminal outside the Internet of Things is extracted from the response message of the connection invitation command from the terminal outside the Internet of Things, and the identity information is compared with the preset terminal identity information whitelist.
[0055] If the identity information exists in the preset terminal identity information whitelist, then an IoT connection key is assigned to the corresponding terminal outside the IoT.
[0056] If the identity information does not exist in the preset terminal identity information whitelist, then the IoT connection key will not be assigned to the corresponding terminal outside the IoT.
[0057] The beneficial effects of the above technical solution are as follows: by using the above method, the identity information of the terminal is extracted from the response message of the terminal outside the Internet of Things to the connection invitation command, and then the identity information is compared with the preset terminal identity information whitelist to ensure that only the terminal that matches the preset terminal identity information whitelist can be allocated the Internet of Things connection key, thereby improving the connection security of the Internet of Things.
[0058] Preferably, in step S2, after a terminal outside the Internet of Things (IoT) connects to the IoT, the service message data of the terminal is analyzed and processed to generate service instructions corresponding to the service message data; the service instructions are then classified to obtain a queue of service instructions corresponding to IoT sensors inside the IoT, including:
[0059] When a terminal outside the Internet of Things (IoT) connects to the IoT, semantic recognition processing is performed on the business message data uploaded by the terminal to the IoT platform to determine the type of business that the terminal needs to execute, and then a business instruction that matches the business type is selected from the preset instruction library.
[0060] Based on the gateway address corresponding to the IoT sensor to which the business instruction needs to be sent, the business instruction is classified to obtain a queue of business instructions corresponding to the IoT sensors within the IoT.
[0061] The beneficial effects of the above technical solution are as follows: By analyzing and identifying the business message data uploaded to the IoT platform by the terminal connected to the IoT, the specific business needs of the terminal are determined, the matching business instructions are selected, and then all the business instructions corresponding to the business message data are combined into a business instruction queue, which facilitates the centralized sending of business instructions to the IoT sensors, thereby realizing the integrated control of the IoT sensors.
[0062] Preferably, in step S3, based on the working status of the IoT sensors within the IoT, the service instructions contained in the service instruction queue are sequentially sent to the IoT sensors, including:
[0063] Determine whether the IoT sensor within the IoT is currently in a sensing task execution state. If not, send the business instructions contained in the business instruction queue to the IoT sensor in sequence.
[0064] The beneficial effects of the above technical solution are as follows: by means of the above method, when the IoT sensor is not currently in the state of performing a sensing task, the business instructions contained in the business instruction queue are sent to the IoT sensor in sequence, thus ensuring that the IoT sensor can execute the business operation corresponding to the business instruction in a timely manner after receiving the business instruction.
[0065] See Figure 2 This is a schematic diagram of the structure of an IoT-based centralized message processing system provided in an embodiment of the present invention. The IoT-based centralized message processing system includes:
[0066] The connection invitation execution module is used to broadcast connection invitation commands to the outside world based on the real-time connection status of the IoT terminals on the IoT platform.
[0067] The connection permission determination module is used to assign IoT connection permissions to the corresponding terminals outside the IoT based on the response message of the connection invitation command from the terminals outside the IoT.
[0068] The business instruction generation module is used to analyze and process the business message data of a terminal outside the Internet of Things (IoT) after it connects to the IoT, generate business instructions corresponding to the business message data, and classify the business instructions to obtain a queue of business instructions corresponding to the IoT sensors inside the IoT.
[0069] The business instruction sending module is used to send the business instructions contained in the business instruction queue to the IoT sensors in sequence according to the working status of the IoT sensors inside the IoT.
[0070] The beneficial effects of the above technical solution are as follows: The IoT-based centralized message processing system broadcasts connection invitation commands to external terminals based on the real-time connection status of the IoT platform; it allocates IoT connection permissions based on the response messages of external terminals to the connection invitation commands; it analyzes the service message data of terminals connected to the IoT, generates service commands, classifies the service commands, and obtains a service command queue corresponding to the IoT sensors; and it sequentially sends the service commands contained in the service commands to the IoT sensors according to their working status. By broadcasting connection invitations, it allocates IoT connection permissions to responding external terminals and selects appropriate service commands based on the terminal's service message data, sending them to the IoT sensors. This enables different terminals to control the connection of IoT sensors, improving the operational stability within the IoT.
[0071] Preferably, the connection invitation execution module is used to broadcast a connection invitation command to the outside world based on the real-time connection status of the IoT terminals on the IoT platform, including:
[0072] Obtain the task computation volume uploaded to the IoT platform by the IoT terminals currently connected to the IoT platform; compare the task computation volume with the maximum allowed computation volume of the IoT platform; if the task computation volume is greater than or equal to the maximum allowed computation volume, do not broadcast a connection invitation command.
[0073] If the computational load of the task is less than the maximum allowed computational load, a connection invitation command is broadcast to the outside world.
[0074] The beneficial effects of the above technical solution are as follows: The IoT platform is used to manage terminals connected to the IoT and can also adjust the access status of terminals outside the IoT. When the computational load of tasks uploaded to the IoT platform by the currently connected IoT terminals is less than the maximum allowed computational load, it indicates that the IoT platform can currently accept connections from other terminals and has the corresponding computing power to control and manage other terminals. At this time, it broadcasts a connection invitation command to facilitate timely connection of IoT terminals to the IoT.
[0075] Preferably, the connection permission determination module is used to assign IoT connection permissions to the corresponding terminal outside the IoT based on the response message of the connection invitation command from the terminal outside the IoT, including:
[0076] The identity information of the terminal outside the Internet of Things is extracted from the response message of the connection invitation command from the terminal outside the Internet of Things, and the identity information is compared with the preset terminal identity information whitelist.
[0077] If the identity information exists in the preset terminal identity information whitelist, then an IoT connection key is assigned to the corresponding terminal outside the IoT.
[0078] If the identity information does not exist in the preset terminal identity information whitelist, then the IoT connection key will not be assigned to the corresponding terminal outside the IoT.
[0079] The beneficial effects of the above technical solution are as follows: by using the above method, the identity information of the terminal is extracted from the response message of the terminal outside the Internet of Things to the connection invitation command, and then the identity information is compared with the preset terminal identity information whitelist to ensure that only the terminal that matches the preset terminal identity information whitelist can be allocated the Internet of Things connection key, thereby improving the connection security of the Internet of Things.
[0080] Preferably, the service instruction generation module is used to analyze and process the service message data of a terminal outside the Internet of Things (IoT) after the terminal connects to the IoT, and generate service instructions corresponding to the service message data; classify the service instructions to obtain a queue of service instructions corresponding to IoT sensors inside the IoT, including:
[0081] When a terminal outside the Internet of Things (IoT) connects to the IoT, semantic recognition processing is performed on the business message data uploaded by the terminal to the IoT platform to determine the type of business that the terminal needs to execute, and then a business instruction that matches the business type is selected from the preset instruction library.
[0082] Based on the gateway address corresponding to the IoT sensor to which the business instruction needs to be sent, the business instruction is classified to obtain a queue of business instructions corresponding to the IoT sensors within the IoT.
[0083] The beneficial effects of the above technical solution are as follows: By analyzing and identifying the business message data uploaded to the IoT platform by the terminal connected to the IoT, the specific business needs of the terminal are determined, the matching business instructions are selected, and then all the business instructions corresponding to the business message data are combined into a business instruction queue, which facilitates the centralized sending of business instructions to the IoT sensors, thereby realizing the integrated control of the IoT sensors.
[0084] Preferably, the service instruction sending module is used to sequentially send the service instructions contained in the service instruction queue to the IoT sensors according to the working status of the IoT sensors within the IoT, including:
[0085] Determine whether the IoT sensor within the IoT is currently in a sensing task execution state. If not, send the business instructions contained in the business instruction queue to the IoT sensor in sequence.
[0086] The beneficial effects of the above technical solution are as follows: by means of the above method, when the IoT sensor is not currently in the state of performing a sensing task, the business instructions contained in the business instruction queue are sent to the IoT sensor in sequence, thus ensuring that the IoT sensor can execute the business operation corresponding to the business instruction in a timely manner after receiving the business instruction.
[0087] As can be seen from the above embodiments, the IoT-based message centralized processing method and system broadcasts connection invitation commands to external terminals based on the real-time connection status of the IoT platform; allocates IoT connection permissions based on the response messages of terminals outside the IoT to the connection invitation commands; analyzes the service message data of terminals connected to the IoT to generate service commands, classifies the service commands, and obtains a service command queue corresponding to IoT sensors; and sends the service commands contained in the service commands to the IoT sensors in sequence according to the working status of the IoT sensors. By broadcasting connection invitations to external terminals, it allocates IoT connection permissions to responding terminals outside the IoT, and selects appropriate service commands based on the service message data of the terminals, and sends them to the IoT sensors, thereby realizing the connection control of IoT sensors by different terminals and improving the operational stability within the IoT.
[0088] 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 message centralized processing method based on the Internet of Things, characterized in that, Includes the following steps: Step S1: Based on the real-time connection status of the IoT terminals currently connected to the IoT platform, broadcast a connection invitation instruction to the outside world. This includes: obtaining the task computation volume uploaded to the IoT platform by the IoT terminals currently connected to the IoT platform; comparing the task computation volume with the maximum allowed computation volume of the IoT platform; if the task computation volume is greater than or equal to the maximum allowed computation volume, then not broadcasting a connection invitation instruction to the outside world; if the task computation volume is less than the maximum allowed computation volume, then broadcasting a connection invitation instruction to the outside world; and allocating IoT connection permissions to the corresponding terminals outside the IoT platform based on their response messages to the connection invitation instruction. Step S2: When a terminal outside the Internet of Things (IoT) connects to the IoT, the service message data of the terminal is analyzed and processed to generate service instructions corresponding to the service message data; the service instructions are classified to obtain a service instruction queue corresponding to the IoT sensors inside the IoT. Step S3: Based on the working status of the IoT sensors within the IoT, the business instructions contained in the business instruction queue are sequentially sent to the IoT sensors.
2. The message centralized processing method based on the Internet of Things as described in claim 1, characterized in that: In step S1, based on the response message from the terminal outside the Internet of Things (IoT) to the connection invitation command, IoT connection permissions are assigned to the corresponding terminal outside the IoT, including: The identity information of the terminal outside the Internet of Things is extracted from the response message of the connection invitation command from the terminal outside the Internet of Things, and the identity information is compared with a preset terminal identity information whitelist. If the identity information exists in the preset terminal identity information whitelist, then an IoT connection key is assigned to the corresponding terminal outside the IoT. If the identity information does not exist in the preset terminal identity information whitelist, then the IoT connection key will not be assigned to the corresponding terminal outside the IoT.
3. The message centralized processing method based on the Internet of Things as described in claim 2, characterized in that: In step S2, when a terminal outside the Internet of Things (IoT) connects to the IoT, the service message data of the terminal is analyzed and processed to generate a service instruction corresponding to the service message data. The service instructions are categorized to obtain a service instruction queue corresponding to the IoT sensors within the IoT, including: When a terminal outside the Internet of Things (IoT) connects to the IoT, semantic recognition processing is performed on the business message data uploaded by the terminal to the IoT platform to determine the type of business that the terminal needs to execute, and a business instruction that matches the business type is selected from a preset instruction library. Based on the gateway address corresponding to the IoT sensor to which the business instruction needs to be sent, the business instructions are classified to obtain a queue of business instructions corresponding to the IoT sensors within the IoT.
4. The message centralized processing method based on the Internet of Things as described in claim 3, characterized in that: In step S3, based on the operating status of the IoT sensors within the IoT, the service instructions contained in the service instruction queue are sequentially sent to the IoT sensors, including: Determine whether the IoT sensor within the IoT is currently in a sensing task execution state. If not, the business instructions contained in the business instruction queue are sent to the IoT sensor in sequence.
5. A centralized message processing system based on the Internet of Things, characterized in that, include: The connection invitation execution module is used to broadcast a connection invitation instruction to the outside world based on the real-time connection status of the IoT terminals currently connected to the IoT platform. This includes: obtaining the task computation volume uploaded to the IoT platform by the IoT terminals currently connected to the IoT platform; comparing the task computation volume with the maximum allowed computation volume of the IoT platform; if the task computation volume is greater than or equal to the maximum allowed computation volume, then not broadcasting a connection invitation instruction; if the task computation volume is less than the maximum allowed computation volume, then broadcasting a connection invitation instruction. The connection permission determination module is used to assign IoT connection permissions to the corresponding terminals outside the IoT based on the response message of the connection invitation instruction from the terminals outside the IoT. The business instruction generation module is used to analyze and process the business message data of a terminal outside the Internet of Things (IoT) after the terminal connects to the IoT, generate business instructions corresponding to the business message data, and classify the business instructions to obtain a business instruction queue corresponding to the IoT sensors inside the IoT. The business instruction sending module is used to send the business instructions contained in the business instruction queue to the IoT sensors in sequence according to the working status of the IoT sensors inside the IoT.
6. The message centralized processing system based on the Internet of Things as described in claim 5, characterized in that: The connection permission determination module is used to assign IoT connection permissions to the corresponding terminals outside the IoT based on their response messages to the connection invitation command, including: The identity information of the terminal outside the Internet of Things is extracted from the response message of the connection invitation command from the terminal outside the Internet of Things, and the identity information is compared with a preset terminal identity information whitelist. If the identity information exists in the preset terminal identity information whitelist, then an IoT connection key is assigned to the corresponding terminal outside the IoT. If the identity information does not exist in the preset terminal identity information whitelist, then the IoT connection key will not be assigned to the corresponding terminal outside the IoT.
7. The message centralized processing system based on the Internet of Things as described in claim 6, characterized in that: The business instruction generation module is used to analyze and process the business message data of a terminal that is outside the Internet of Things (IoT) after it connects to the IoT, and generate a business instruction corresponding to the business message data. The service instructions are categorized to obtain a service instruction queue corresponding to the IoT sensors within the IoT, including: When a terminal outside the Internet of Things (IoT) connects to the IoT, semantic recognition processing is performed on the business message data uploaded by the terminal to the IoT platform to determine the type of business that the terminal needs to execute, and a business instruction that matches the business type is selected from a preset instruction library. Based on the gateway address corresponding to the IoT sensor to which the business instruction needs to be sent, the business instructions are classified to obtain a queue of business instructions corresponding to the IoT sensors within the IoT.
8. The message centralized processing system based on the Internet of Things as described in claim 7, characterized in that: The service instruction sending module is used to sequentially send the service instructions contained in the service instruction queue to the IoT sensors according to the working status of the IoT sensors within the IoT, including: Determine whether the IoT sensor within the IoT is currently in a sensing task execution state. If not, the business instructions contained in the business instruction queue are sent to the IoT sensor in sequence.
Citation Information
Patent Citations
Rapid Internet of Things data transmission method and system
CN114760253A