CN116827978A - Message centralized processing method and system based on Internet of things - Google Patents
Message centralized processing method and system based on Internet of things Download PDFInfo
- Publication number
- CN116827978A CN116827978A CN202211686377.8A CN202211686377A CN116827978A CN 116827978 A CN116827978 A CN 116827978A CN 202211686377 A CN202211686377 A CN 202211686377A CN 116827978 A CN116827978 A CN 116827978A
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- service
- terminal
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 230000004044 response Effects 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims description 15
- 230000002776 aggregation Effects 0.000 claims 4
- 238000004220 aggregation Methods 0.000 claims 4
- 230000006855 networking Effects 0.000 claims 1
- 230000009286 beneficial effect Effects 0.000 description 10
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/622—Queue service order
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Abstract
The invention provides a message centralized processing method and a system based on the Internet of things, which are used for distributing Internet of things connection permission to terminals outside the Internet of things for response in a mode of sending connection offers through broadcasting outwards, selecting proper business instructions according to business message data of the terminals, sending the business instructions to an Internet of things sensor, realizing connection control of different terminals to the Internet of things sensor, and improving operation stability inside the Internet of things.
Description
Technical Field
The invention relates to the technical field of data processing of the Internet of things, in particular to a message centralized processing method and system based on the Internet of things.
Background
The internet of things is generally composed of an internet of things platform, a plurality of internet of things terminals and a plurality of internet of things sensors. The sensor of the Internet of things is used as a bottom layer unit of the Internet of things and used for carrying out corresponding sensing detection on the outside. The internet of things terminal is used as an intermediate unit of the internet of things and is used for collecting detection data generated by the internet of things sensor and controlling the internet of things sensor to execute corresponding sensing detection operation. The internet of things platform is used as the highest unit of the internet of things and is used for uniformly managing all internet of things terminals and internet of things sensors. In the working process of the Internet of things, the replacement connection of the terminals of the Internet of things can be performed at any time, and the control requirements of different terminals of the Internet of things on the sensors of the Internet of things are met. The existing internet of things realizes connection between the internet of things terminal and the internet of things sensor in a gateway configuration mode, and cannot rapidly realize control switching of different internet of things terminals to different internet of things sensors in real time, so that the operation stability of the inside of the internet of things is reduced.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a message centralized processing method and a system based on the Internet of things, which are used for sending a connection offer instruction to the outside in a broadcasting way according to the current real-time connection state of an Internet of things terminal of an Internet of things platform; according to the response message of the terminal outside the Internet of things to the connection offer instruction, the connection authority of the Internet of things is distributed; analyzing service message data of a terminal connected to the Internet of things, generating service instructions, classifying the service instructions, and obtaining service instruction queues corresponding to sensors of the Internet of things; according to the working state of the Internet of things sensor, the service instructions contained in the service instructions are sequentially sent to the Internet of things sensor, the Internet of things connection permission is distributed to the terminal outside the Internet of things for response in a mode of sending connection offers through outward broadcasting, and according to the service message data of the terminal, an appropriate service instruction is selected and sent to the Internet of things sensor, so that connection control of different terminals to the Internet of things sensor is achieved, and the operation stability of the inside of the Internet of things is improved.
The invention provides a message centralized processing method based on the Internet of things, which comprises the following steps:
step S1, according to the current real-time connection state of the Internet of things terminal of the Internet of things platform, a connection offer instruction is broadcast and sent outwards; distributing the connection permission of the Internet of things to the corresponding terminal outside the Internet of things according to the response message of the terminal outside the Internet of things to the connection offer instruction;
step S2, after a terminal outside the Internet of things is connected to the Internet of things, analyzing and processing service message data of the terminal to generate a service instruction corresponding to the service message data; classifying the service instructions to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things;
and step S3, according to the working state of the Internet of things sensor in the Internet of things, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
Further, in the step S1, according to the current real-time connection state of the internet of things terminal of the internet of things platform, a connection offer instruction is broadcast and sent outwards, including:
acquiring task calculation amount of uploading of an Internet of things terminal currently connected with an Internet of things platform to the Internet of things platform; comparing the task calculated amount with the maximum allowable calculated amount of the Internet of things platform, and if the task calculated amount is greater than or equal to the maximum allowable calculated amount, not broadcasting and sending a connection offer instruction outwards;
and if the task calculated amount is smaller than the maximum allowable calculated amount, sending a connection offer instruction to the outside in a broadcasting way.
Further, in the step S1, according to the response message of the terminal outside the internet of things to the connection offer instruction, the internet of things connection permission is allocated to the corresponding terminal outside the internet of things, which includes:
extracting identity information of a terminal outside the Internet of things from a response message of the terminal outside the Internet of things to the connection offer instruction, and comparing the identity information with a preset terminal identity information white list;
if the identity information exists in a preset terminal identity information white list, distributing an Internet of things connection key to a corresponding terminal outside the Internet of things;
if the identity information does not exist in the preset terminal identity information white list, the Internet of things connection key is not distributed to the corresponding terminal outside the Internet of things.
Further, in the step S2, after the terminal outside the internet of things is connected to the internet of things, analyzing and processing the service message data of the terminal to generate a service instruction corresponding to the service message data; classifying the service instruction to obtain a service instruction queue corresponding to an internet of things sensor in the internet of things, including:
after a terminal outside the Internet of things is connected to the Internet of things, carrying out semantic recognition processing on service message data uploaded to an Internet of things platform by the terminal, and determining a service type to be executed by the terminal, so as to select a service instruction matched with the service type in a preset instruction library;
and classifying the service instructions according to gateway addresses corresponding to the sensors of the Internet of things, which are required to be sent by the service instructions, so as to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things.
Further, in the step S3, according to the working state of the internet of things sensor inside the internet of things, the service instructions contained in the service instruction queue are sequentially sent to the internet of things sensor, including:
judging whether an Internet of things sensor in the Internet of things is in a sensing task execution state at present, and if not, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
The invention also provides a message centralized processing system based on the Internet of things, which comprises the following steps:
the connection offer execution module is used for sending a connection offer instruction to the outside in a broadcasting way according to the current real-time connection state of the internet of things terminal of the internet of things platform;
the connection permission determining module is used for distributing the connection permission of the Internet of things to the corresponding terminal outside the Internet of things according to the response message of the terminal outside the Internet of things to the connection offer instruction;
the system comprises a service instruction generation module, a service instruction generation module and a service instruction generation module, wherein the service instruction generation module is used for analyzing and processing service message data of a terminal outside the Internet of things after the terminal is connected to the Internet of things to generate a service instruction corresponding to the service message data; classifying the service instructions to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things;
and the service instruction sending module is used for sequentially sending the service instructions contained in the service instruction queue to the Internet of things sensor according to the working state of the Internet of things sensor in the Internet of things.
Further, the connection offer execution module is configured to send a connection offer instruction to the outside through broadcast according to a current real-time connection state of an internet of things terminal of the internet of things platform, and the connection offer instruction includes:
acquiring task calculation amount of uploading of an Internet of things terminal currently connected with an Internet of things platform to the Internet of things platform; comparing the task calculated amount with the maximum allowable calculated amount of the Internet of things platform, and if the task calculated amount is greater than or equal to the maximum allowable calculated amount, not broadcasting and sending a connection offer instruction outwards;
and if the task calculated amount is smaller than the maximum allowable calculated amount, sending a connection offer instruction to the outside in a broadcasting way.
Further, the connection permission determining module is configured to allocate, according to a response message of the terminal external to the internet of things to the connection offer instruction, connection permission of the internet of things to a corresponding terminal external to the internet of things, including:
extracting identity information of a terminal outside the Internet of things from a response message of the terminal outside the Internet of things to the connection offer instruction, and comparing the identity information with a preset terminal identity information white list;
if the identity information exists in a preset terminal identity information white list, distributing an Internet of things connection key to a corresponding terminal outside the Internet of things;
if the identity information does not exist in the preset terminal identity information white list, the Internet of things connection key is not distributed to the corresponding terminal outside the Internet of things.
Further, the service instruction generating module is used for analyzing and processing service message data of a terminal outside the internet of things after the terminal is connected to the internet of things, and generating a service instruction corresponding to the service message data; classifying the service instruction to obtain a service instruction queue corresponding to an internet of things sensor in the internet of things, including:
after a terminal outside the Internet of things is connected to the Internet of things, carrying out semantic recognition processing on service message data uploaded to an Internet of things platform by the terminal, and determining a service type to be executed by the terminal, so as to select a service instruction matched with the service type in a preset instruction library;
and classifying the service instructions according to gateway addresses corresponding to the sensors of the Internet of things, which are required to be sent by the service instructions, so as to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things.
Further, the service instruction sending module is configured to send the service instruction contained in the service instruction queue to the internet of things sensor in sequence according to the working state of the internet of things sensor inside the internet of things, and includes:
judging whether an Internet of things sensor in the Internet of things is in a sensing task execution state at present, and if not, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
Compared with the prior art, the message centralized processing method and the system based on the Internet of things send the connection offer instruction to the outside in a broadcasting way according to the current real-time connection state of the terminal of the Internet of things of the platform of the Internet of things; according to the response message of the terminal outside the Internet of things to the connection offer instruction, the connection authority of the Internet of things is distributed; analyzing service message data of a terminal connected to the Internet of things, generating service instructions, classifying the service instructions, and obtaining service instruction queues corresponding to sensors of the Internet of things; according to the working state of the Internet of things sensor, the service instructions contained in the service instructions are sequentially sent to the Internet of things sensor, the Internet of things connection permission is distributed to the terminal outside the Internet of things for response in a mode of sending connection offers through outward broadcasting, and according to the service message data of the terminal, an appropriate service instruction is selected and sent to the Internet of things sensor, so that connection control of different terminals to the Internet of things sensor is achieved, and the operation stability of the inside of the Internet of things is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a message centralized processing method based on the internet of things.
Fig. 2 is a schematic structural diagram of a message centralized processing system based on the internet of things provided by the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a message centralized processing method based on internet of things according to an embodiment of the present invention is shown. The message centralized processing method based on the Internet of things comprises the following steps:
step S1, according to the current real-time connection state of the Internet of things terminal of the Internet of things platform, a connection offer instruction is broadcast and sent outwards; according to the response message of the terminal outside the Internet of things to the connection offer instruction, distributing the Internet of things connection permission to the corresponding terminal outside the Internet of things;
step S2, after a terminal outside the Internet of things is connected to the Internet of things, analyzing and processing service message data of the terminal to generate a service instruction corresponding to the service message data; classifying the service instructions to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things;
and step S3, according to the working state of the Internet of things sensor in the Internet of things, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
The beneficial effects of the technical scheme are as follows: according to the method for processing the message concentration based on the Internet of things, according to the current real-time connection state of the terminal of the Internet of things platform, a connection offer instruction is sent to the outside in a broadcasting way; according to the response message of the terminal outside the Internet of things to the connection offer instruction, the connection authority of the Internet of things is distributed; analyzing service message data of a terminal connected to the Internet of things, generating service instructions, classifying the service instructions, and obtaining service instruction queues corresponding to sensors of the Internet of things; according to the working state of the Internet of things sensor, the service instructions contained in the service instructions are sequentially sent to the Internet of things sensor, the Internet of things connection permission is distributed to the terminal outside the Internet of things for response in a mode of sending connection offers through outward broadcasting, and according to the service message data of the terminal, an appropriate service instruction is selected and sent to the Internet of things sensor, so that connection control of different terminals to the Internet of things sensor is achieved, and the operation stability of the inside of the Internet of things is improved.
Preferably, in the step S1, according to the current real-time connection state of the internet of things terminal of the internet of things platform, a connection offer instruction is broadcast and sent outwards, including:
acquiring task calculation amount of uploading of an Internet of things terminal currently connected with an Internet of things platform to the Internet of things platform; comparing the task calculated amount with the maximum allowable calculated amount of the Internet of things platform, and if the task calculated amount is greater than or equal to the maximum allowable calculated amount, not broadcasting and sending a connection offer instruction outwards;
and if the task calculated amount is smaller than the maximum allowable calculated amount, sending a connection offer instruction to the outside in a broadcasting way.
The beneficial effects of the technical scheme are as follows: the internet of things platform is used for managing terminals accessed to the internet of things and can also adjust the access state of the terminals outside the internet of things to the internet of things. When the task calculated amount of uploading the internet of things terminal currently connected with the internet of things platform to the internet of things platform is smaller than the maximum allowable calculated amount, the internet of things platform can currently receive the connection of other terminals and has corresponding calculation power to control and manage the other terminals, connection offer instructions are sent to the outside through broadcasting at the moment, and the internet of things terminal can be connected to the internet of things in time conveniently.
Preferably, in the step S1, according to a response message of the terminal outside the internet of things to the connection offer instruction, the internet of things connection permission is allocated to the corresponding terminal outside the internet of things, which includes:
extracting identity information of the terminal outside the Internet of things from a response message of the terminal outside the Internet of things to the connection offer instruction, and comparing the identity information with a preset terminal identity information white list;
if the identity information exists in a preset terminal identity information white list, distributing an Internet of things connection key to a corresponding terminal outside the Internet of things;
if the identity information does not exist in the preset terminal identity information white list, the Internet of things connection key is not distributed to the corresponding terminal outside the Internet of things.
The beneficial effects of the technical scheme are as follows: by the method, the identity information of the terminal is extracted from the response message of the terminal outside the Internet of things aiming at the connection offer instruction, and then the identity information is compared with the preset terminal identity information white list, so that only the terminal matched with the preset terminal identity information white list can be allocated to the Internet of things connection key, and the connection safety of the Internet of things is improved.
Preferably, in the step S2, after a terminal outside the internet of things is connected to the internet of things, analyzing and processing service message data of the terminal to generate a service instruction corresponding to the service message data; classifying the service instruction to obtain a service instruction queue corresponding to an internet of things sensor in the internet of things, including:
after a terminal outside the Internet of things is connected to the Internet of things, carrying out semantic recognition processing on service message data uploaded to an Internet of things platform by the terminal, and determining a service type to be executed by the terminal, so that a service instruction matched with the service type is selected from a preset instruction library;
and classifying the service instruction according to the gateway address corresponding to the Internet of things sensor to which the service instruction needs to be sent to obtain a service instruction queue corresponding to the Internet of things sensor in the Internet of things.
The beneficial effects of the technical scheme are as follows: by the method, the service message data which is uploaded to the Internet of things platform by the terminal accessing the Internet of things is analyzed and identified, the specific service requirement of the terminal is determined, the matched service instruction is selected, and then all the service instructions corresponding to the service message data are formed into the service instruction queue, so that the service instructions are conveniently and intensively sent to the Internet of things sensor, and the integrated control of the Internet of things sensor is realized.
Preferably, in the step S3, according to the working state of the internet of things sensor inside the internet of things, the service instruction included in the service instruction queue is sequentially sent to the internet of things sensor, including:
judging whether an Internet of things sensor in the Internet of things is in a sensing task execution state at present, and if not, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
The beneficial effects of the technical scheme are as follows: by the mode, when the Internet of things sensor is not in the sensing task execution state at present, the business instructions contained in the business instruction queue are sequentially sent to the Internet of things sensor, so that the Internet of things sensor can execute business operations corresponding to the business instructions in time after receiving the business instructions.
Referring to fig. 2, a schematic structural diagram of a message centralized processing system based on internet of things according to an embodiment of the present invention is provided. The message centralized processing system based on the Internet of things comprises:
the connection offer execution module is used for sending a connection offer instruction to the outside in a broadcasting way according to the current real-time connection state of the internet of things terminal of the internet of things platform;
the connection permission determining module is used for distributing the connection permission of the Internet of things to the corresponding terminal outside the Internet of things according to the response message of the terminal outside the Internet of things to the connection offer instruction;
the business instruction generation module is used for analyzing and processing business message data of a terminal outside the Internet of things after the terminal is connected to the Internet of things, and generating business instructions corresponding to the business message data; classifying the service instructions to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things;
and the business instruction sending module is used for sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor according to the working state of the Internet of things sensor in the Internet of things.
The beneficial effects of the technical scheme are as follows: the message centralized processing system based on the Internet of things sends a connection offer instruction to the outside in a broadcasting way according to the current real-time connection state of the terminal of the Internet of things platform; according to the response message of the terminal outside the Internet of things to the connection offer instruction, the connection authority of the Internet of things is distributed; analyzing service message data of a terminal connected to the Internet of things, generating service instructions, classifying the service instructions, and obtaining service instruction queues corresponding to sensors of the Internet of things; according to the working state of the Internet of things sensor, the service instructions contained in the service instructions are sequentially sent to the Internet of things sensor, the Internet of things connection permission is distributed to the terminal outside the Internet of things for response in a mode of sending connection offers through outward broadcasting, and according to the service message data of the terminal, an appropriate service instruction is selected and sent to the Internet of things sensor, so that connection control of different terminals to the Internet of things sensor is achieved, and the operation stability of the inside of the Internet of things is improved.
Preferably, the connection offer execution module is configured to send, according to a current real-time connection state of an internet of things terminal of the internet of things platform, a connection offer instruction to the outside in a broadcast manner, including:
acquiring task calculation amount of uploading of an Internet of things terminal currently connected with an Internet of things platform to the Internet of things platform; comparing the task calculated amount with the maximum allowable calculated amount of the Internet of things platform, and if the task calculated amount is greater than or equal to the maximum allowable calculated amount, not broadcasting and sending a connection offer instruction outwards;
and if the task calculated amount is smaller than the maximum allowable calculated amount, sending a connection offer instruction to the outside in a broadcasting way.
The beneficial effects of the technical scheme are as follows: the internet of things platform is used for managing terminals accessed to the internet of things and can also adjust the access state of the terminals outside the internet of things to the internet of things. When the task calculated amount of uploading the internet of things terminal currently connected with the internet of things platform to the internet of things platform is smaller than the maximum allowable calculated amount, the internet of things platform can currently receive the connection of other terminals and has corresponding calculation power to control and manage the other terminals, connection offer instructions are sent to the outside through broadcasting at the moment, and the internet of things terminal can be connected to the internet of things in time conveniently.
Preferably, the connection permission determining module is configured to allocate, according to a response message of a terminal external to the internet of things to the connection offer instruction, connection permission of the internet of things to a corresponding terminal external to the internet of things, including:
extracting identity information of the terminal outside the Internet of things from a response message of the terminal outside the Internet of things to the connection offer instruction, and comparing the identity information with a preset terminal identity information white list;
if the identity information exists in a preset terminal identity information white list, distributing an Internet of things connection key to a corresponding terminal outside the Internet of things;
if the identity information does not exist in the preset terminal identity information white list, the Internet of things connection key is not distributed to the corresponding terminal outside the Internet of things.
The beneficial effects of the technical scheme are as follows: by the method, the identity information of the terminal is extracted from the response message of the terminal outside the Internet of things aiming at the connection offer instruction, and then the identity information is compared with the preset terminal identity information white list, so that only the terminal matched with the preset terminal identity information white list can be allocated to the Internet of things connection key, and the connection safety of the Internet of things is improved.
Preferably, the service instruction generating module is used for analyzing and processing service message data of a terminal outside the internet of things after the terminal is connected to the internet of things, and generating a service instruction corresponding to the service message data; classifying the service instruction to obtain a service instruction queue corresponding to an internet of things sensor in the internet of things, including:
after a terminal outside the Internet of things is connected to the Internet of things, carrying out semantic recognition processing on service message data uploaded to an Internet of things platform by the terminal, and determining a service type to be executed by the terminal, so that a service instruction matched with the service type is selected from a preset instruction library;
and classifying the service instruction according to the gateway address corresponding to the Internet of things sensor to which the service instruction needs to be sent to obtain a service instruction queue corresponding to the Internet of things sensor in the Internet of things.
The beneficial effects of the technical scheme are as follows: by the method, the service message data which is uploaded to the Internet of things platform by the terminal accessing the Internet of things is analyzed and identified, the specific service requirement of the terminal is determined, the matched service instruction is selected, and then all the service instructions corresponding to the service message data are formed into the service instruction queue, so that the service instructions are conveniently and intensively sent to the Internet of things sensor, and the integrated control of the Internet of things sensor is realized.
Preferably, the service instruction sending module is configured to send, according to a working state of an internet of things sensor inside the internet of things, a service instruction included in the service instruction queue to the internet of things sensor in sequence, including:
judging whether an Internet of things sensor in the Internet of things is in a sensing task execution state at present, and if not, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
The beneficial effects of the technical scheme are as follows: by the mode, when the Internet of things sensor is not in the sensing task execution state at present, the business instructions contained in the business instruction queue are sequentially sent to the Internet of things sensor, so that the Internet of things sensor can execute business operations corresponding to the business instructions in time after receiving the business instructions.
As can be seen from the content of the above embodiment, the method and the system for processing the message concentration based on the internet of things send a connection offer instruction to the outside in a broadcast manner according to the current real-time connection state of the terminal of the internet of things on the platform of the internet of things; according to the response message of the terminal outside the Internet of things to the connection offer instruction, the connection authority of the Internet of things is distributed; analyzing service message data of a terminal connected to the Internet of things, generating service instructions, classifying the service instructions, and obtaining service instruction queues corresponding to sensors of the Internet of things; according to the working state of the Internet of things sensor, the service instructions contained in the service instructions are sequentially sent to the Internet of things sensor, the Internet of things connection permission is distributed to the terminal outside the Internet of things for response in a mode of sending connection offers through outward broadcasting, and according to the service message data of the terminal, an appropriate service instruction is selected and sent to the Internet of things sensor, so that connection control of different terminals to the Internet of things sensor is achieved, and the operation stability of the inside of the Internet of things is improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (10)
1. The message centralized processing method based on the Internet of things is characterized by comprising the following steps of:
step S1, according to the current real-time connection state of the Internet of things terminal of the Internet of things platform, a connection offer instruction is broadcast and sent outwards; distributing the connection permission of the Internet of things to the corresponding terminal outside the Internet of things according to the response message of the terminal outside the Internet of things to the connection offer instruction;
step S2, after a terminal outside the Internet of things is connected to the Internet of things, analyzing and processing service message data of the terminal to generate a service instruction corresponding to the service message data; classifying the service instructions to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things;
and step S3, according to the working state of the Internet of things sensor in the Internet of things, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
2. The method for processing the message set based on the internet of things according to claim 1, wherein the method comprises the following steps:
in the step S1, according to the current real-time connection state of the internet of things terminal of the internet of things platform, a connection offer instruction is broadcast and sent to the outside, including:
acquiring task calculation amount of uploading of an Internet of things terminal currently connected with an Internet of things platform to the Internet of things platform; comparing the task calculated amount with the maximum allowable calculated amount of the Internet of things platform, and if the task calculated amount is greater than or equal to the maximum allowable calculated amount, not broadcasting and sending a connection offer instruction outwards;
and if the task calculated amount is smaller than the maximum allowable calculated amount, sending a connection offer instruction to the outside in a broadcasting way.
3. The method for processing the message set based on the internet of things according to claim 2, wherein the method comprises the following steps:
in the step S1, according to the response message of the terminal outside the internet of things to the connection offer instruction, the internet of things connection permission is allocated to the corresponding terminal outside the internet of things, which includes:
extracting identity information of a terminal outside the Internet of things from a response message of the terminal outside the Internet of things to the connection offer instruction, and comparing the identity information with a preset terminal identity information white list;
if the identity information exists in a preset terminal identity information white list, distributing an Internet of things connection key to a corresponding terminal outside the Internet of things;
if the identity information does not exist in the preset terminal identity information white list, the Internet of things connection key is not distributed to the corresponding terminal outside the Internet of things.
4. The method for processing the message set based on the internet of things according to claim 3, wherein the method comprises the following steps:
in the step S2, after a terminal outside the internet of things is connected to the internet of things, analyzing and processing service message data of the terminal to generate a service instruction corresponding to the service message data; classifying the service instruction to obtain a service instruction queue corresponding to an internet of things sensor in the internet of things, including:
after a terminal outside the Internet of things is connected to the Internet of things, carrying out semantic recognition processing on service message data uploaded to an Internet of things platform by the terminal, and determining a service type to be executed by the terminal, so as to select a service instruction matched with the service type in a preset instruction library;
and classifying the service instructions according to gateway addresses corresponding to the sensors of the Internet of things, which are required to be sent by the service instructions, so as to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things.
5. The method for processing the message set based on the internet of things according to claim 4, wherein the method comprises the following steps:
in step S3, according to the working state of the internet of things sensor inside the internet of things, the service instructions contained in the service instruction queue are sequentially sent to the internet of things sensor, including:
judging whether an Internet of things sensor in the Internet of things is in a sensing task execution state at present, and if not, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
6. Message centralized processing system based on thing networking, its characterized in that includes:
the connection offer execution module is used for sending a connection offer instruction to the outside in a broadcasting way according to the current real-time connection state of the internet of things terminal of the internet of things platform;
the connection permission determining module is used for distributing the connection permission of the Internet of things to the corresponding terminal outside the Internet of things according to the response message of the terminal outside the Internet of things to the connection offer instruction; the system comprises a service instruction generation module, a service instruction generation module and a service instruction generation module, wherein the service instruction generation module is used for analyzing and processing service message data of a terminal outside the Internet of things after the terminal is connected to the Internet of things to generate a service instruction corresponding to the service message data; classifying the service instructions to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things;
and the service instruction sending module is used for sequentially sending the service instructions contained in the service instruction queue to the Internet of things sensor according to the working state of the Internet of things sensor in the Internet of things.
7. The internet of things-based message aggregation processing system of claim 6, wherein:
the connection offer execution module is used for sending a connection offer instruction to the outside in a broadcast mode according to the current real-time connection state of the internet of things terminal of the internet of things platform, and comprises the following steps:
acquiring task calculation amount of uploading of an Internet of things terminal currently connected with an Internet of things platform to the Internet of things platform; comparing the task calculated amount with the maximum allowable calculated amount of the Internet of things platform, and if the task calculated amount is greater than or equal to the maximum allowable calculated amount, not broadcasting and sending a connection offer instruction outwards;
and if the task calculated amount is smaller than the maximum allowable calculated amount, sending a connection offer instruction to the outside in a broadcasting way.
8. The internet of things-based message aggregation processing system of claim 7, wherein:
the connection permission determining module is configured to allocate, according to a response message of a terminal external to the internet of things to the connection offer instruction, connection permission of the internet of things to a corresponding terminal external to the internet of things, and includes:
extracting identity information of a terminal outside the Internet of things from a response message of the terminal outside the Internet of things to the connection offer instruction, and comparing the identity information with a preset terminal identity information white list;
if the identity information exists in a preset terminal identity information white list, distributing an Internet of things connection key to a corresponding terminal outside the Internet of things;
if the identity information does not exist in the preset terminal identity information white list, the Internet of things connection key is not distributed to the corresponding terminal outside the Internet of things.
9. The internet of things-based message aggregation processing system of claim 8, wherein:
the business instruction generation module is used for analyzing and processing business message data of a terminal outside the Internet of things after the terminal is connected to the Internet of things, and generating business instructions corresponding to the business message data; classifying the service instruction to obtain a service instruction queue corresponding to an internet of things sensor in the internet of things, including:
after a terminal outside the Internet of things is connected to the Internet of things, carrying out semantic recognition processing on service message data uploaded to an Internet of things platform by the terminal, and determining a service type to be executed by the terminal, so as to select a service instruction matched with the service type in a preset instruction library;
and classifying the service instructions according to gateway addresses corresponding to the sensors of the Internet of things, which are required to be sent by the service instructions, so as to obtain service instruction queues corresponding to the sensors of the Internet of things in the Internet of things.
10. The internet of things-based message aggregation processing system of claim 9, wherein:
the service instruction sending module is used for sending the service instruction contained in the service instruction queue to the internet of things sensor in sequence according to the working state of the internet of things sensor in the internet of things, and comprises the following steps:
judging whether an Internet of things sensor in the Internet of things is in a sensing task execution state at present, and if not, sequentially sending the business instructions contained in the business instruction queue to the Internet of things sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211686377.8A CN116827978A (en) | 2022-12-26 | 2022-12-26 | Message centralized processing method and system based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211686377.8A CN116827978A (en) | 2022-12-26 | 2022-12-26 | Message centralized processing method and system based on Internet of things |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116827978A true CN116827978A (en) | 2023-09-29 |
Family
ID=88124655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211686377.8A Pending CN116827978A (en) | 2022-12-26 | 2022-12-26 | Message centralized processing method and system based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116827978A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117478680A (en) * | 2023-12-26 | 2024-01-30 | 国网四川省电力公司信息通信公司 | Terminal data stream transmission remote control method and system based on Internet of things management platform |
-
2022
- 2022-12-26 CN CN202211686377.8A patent/CN116827978A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117478680A (en) * | 2023-12-26 | 2024-01-30 | 国网四川省电力公司信息通信公司 | Terminal data stream transmission remote control method and system based on Internet of things management platform |
CN117478680B (en) * | 2023-12-26 | 2024-03-15 | 国网四川省电力公司信息通信公司 | Terminal data stream transmission remote control method and system based on Internet of things management platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11102641B2 (en) | SIM card status determination method and SIM card status determination device | |
CN109995859A (en) | A kind of dispatching method, dispatch server and computer readable storage medium | |
CN110113188B (en) | Cross-subdomain communication operation and maintenance method, total operation and maintenance server and medium | |
CN109495467B (en) | Method and device for updating interception rule and computer readable storage medium | |
CN106909613B (en) | Method for self-adaptive equalization database access service | |
CN116827978A (en) | Message centralized processing method and system based on Internet of things | |
CN111783053A (en) | Interactive unified big data programming computing platform | |
CN108924222B (en) | Cloud server in Internet of vehicles and communication method | |
CN114902250A (en) | AI intelligence injection based on signaling interaction | |
CN113687958A (en) | Data processing method, system, computer device and storage medium | |
CN113806594A (en) | Business data processing method, device, equipment and storage medium based on decision tree | |
CN114595219A (en) | Data storage method, device and system | |
CN116032614A (en) | Container network micro-isolation method, device, equipment and medium | |
CN113194292A (en) | Coordination management method, device, equipment and storage medium for intelligent equipment | |
CN113986516A (en) | Distributed task scheduling system based on Hongming system | |
CN111737433A (en) | Clustering solution method and system for user problems | |
CN117056073B (en) | Computing resource optimal configuration method and device under industrial visual analysis | |
US20220317682A1 (en) | Information processing apparatus, mobile object, computer readable storage medium and information processing method | |
US20230316135A1 (en) | Generating a machine learning model | |
CN112825204B (en) | Access control method and device based on 2G network, readable medium and equipment | |
CN113992742B (en) | Interface access method, device, equipment and storage medium | |
CN115037625B (en) | Network slice processing method and device, electronic equipment and readable storage medium | |
CN110716963B (en) | Method for providing adaptively configured user data and related equipment | |
CN116827916A (en) | Multi-user session control method and system based on data plane development suite | |
CN114005443A (en) | Equipment control method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |