CN111953752A - Internet of things platform equipment interaction control method - Google Patents

Internet of things platform equipment interaction control method Download PDF

Info

Publication number
CN111953752A
CN111953752A CN202010753921.0A CN202010753921A CN111953752A CN 111953752 A CN111953752 A CN 111953752A CN 202010753921 A CN202010753921 A CN 202010753921A CN 111953752 A CN111953752 A CN 111953752A
Authority
CN
China
Prior art keywords
data
internet
user
equipment
things
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.)
Granted
Application number
CN202010753921.0A
Other languages
Chinese (zh)
Other versions
CN111953752B (en
Inventor
夏从明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiyun Technology Zhejiang Co ltd
Original Assignee
Qiyun Technology Zhejiang Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qiyun Technology Zhejiang Co ltd filed Critical Qiyun Technology Zhejiang Co ltd
Priority to CN202010753921.0A priority Critical patent/CN111953752B/en
Publication of CN111953752A publication Critical patent/CN111953752A/en
Application granted granted Critical
Publication of CN111953752B publication Critical patent/CN111953752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention is suitable for the technical field of Internet of things, and particularly provides an Internet of things platform equipment interaction control method, which comprises the following steps: receiving equipment data sent by the Internet of things equipment and/or user instruction data sent by a user in real time; determining proxy service for processing the equipment data and/or user instruction data according to a load balancing mechanism; the proxy service converts the data type of the equipment data and/or the user instruction data into a data format which can be processed by the Internet of things platform; and sending the device data and/or the user instruction data after the data format conversion to the Internet of things platform so that the Internet of things platform processes the device data and/or the user instruction data after the data type conversion. The data processing pressure of the Internet of things platform is reduced, and the Internet of things equipment, the Internet of things platform and the user exchange data with the agent service through the load and safety center, so that real-time communication among the equipment, the platform and the user is realized.

Description

Internet of things platform equipment interaction control method
Technical Field
The invention belongs to the technical field of Internet of things, and particularly relates to an Internet of things platform equipment interaction control method.
Background
The Internet of things (The Internet of things), also called as a sensor network, is a network that connects any article with The Internet according to a stipulated protocol through information sensing equipment such as radio frequency identification (RFI D), infrared sensors, global positioning systems, laser scanners and The like to exchange and communicate information so as to realize intelligent identification, positioning, tracking, monitoring and management. The thing networking device includes: barcodes, radio frequency identification (RFI D), sensors, global positioning systems, laser scanners.
In the prior art, the number of devices connected to the internet of things is usually huge, and each internet of things device actively reports data (for example, the state of each internet of things device) to the internet of things platform, but because the internet of things device and a user continuously issue data or instructions to the internet of things platform, and the time interval for collecting the data of the internet of things device is short, the internet of things platform needs to bear huge data processing capacity, process and analyze data of various formats, and it is difficult to process a large amount of data of the internet of things device in a high-concurrency manner, which easily causes the low data processing efficiency of the internet of things platform.
Disclosure of Invention
The invention provides an Internet of things platform equipment interaction control method which can process Internet of things equipment data in a large amount and at the same time improve the data processing efficiency of an Internet of things platform.
The invention is realized in such a way that an Internet of things platform equipment interaction control method comprises the following steps:
receiving equipment data sent by the Internet of things equipment and/or user instruction data sent by a user in real time;
determining proxy service for processing the equipment data and/or user instruction data according to a load balancing mechanism;
the proxy service converts the data type of the equipment data and/or the user instruction data into a data format which can be processed by the Internet of things platform;
and sending the device data and/or the user instruction data after the data format conversion to the Internet of things platform so that the Internet of things platform processes the device data and/or the user instruction data after the data type conversion.
Further, the determining a proxy service for processing the device data and/or the user instruction data according to the load balancing mechanism includes:
determining the proxy service of the equipment data and/or the user instruction data according to the operation state of the pre-configuration, the polling mechanism and the proxy service.
Further, after determining the proxy service for processing the device data and/or the user instruction data according to the load balancing mechanism, the method further includes:
if the operating state of the proxy service is not enough to process the device data and/or the user instruction data, the proxy service forwards the device data and/or the user instruction data to other proxy services capable of processing.
Further, the receiving, in real time, device data sent by the internet of things device and/or user instruction data sent by the user includes:
receiving device data sent by the Internet of things device through a device channel in real time, wherein the device channel is a channel which is registered in advance by the Internet of things device and used for sending the device data; and/or
And receiving user instruction data sent by the user through a user channel in real time, wherein the user channel is a channel which is registered by the user in advance and used for sending the user instruction data.
Furthermore, the device channels are divided according to the device types of the internet of things devices and/or the data types of the device data, and different device channels are used for sending device data of different device types and/or data types.
Further, before receiving, in real time, device data sent by the internet of things device through a device channel, or receiving, in real time, user instruction data sent by the user through a user channel, the method further includes:
determining whether the Internet of things device has the right to use the device channel; or determining whether the user has a usage right to use the user channel;
if the Internet of things equipment has the authority of using the equipment channel, equipment data sent by the Internet of things equipment through the equipment channel is received in real time; or
And if the user has the use authority of using the user channel, receiving user instruction data sent by the user through the user channel in real time.
The invention also provides an internet of things platform equipment interaction control device, which comprises:
the receiving module is used for receiving equipment data sent by the Internet of things equipment and/or user instruction data sent by a user in real time;
the first determining module is used for determining proxy service for processing the equipment data and/or the user instruction data according to a load balancing mechanism;
the conversion module is used for converting the data type of the equipment data and/or the user instruction data into a data format which can be processed by the Internet of things platform by the proxy service;
and the sending module is used for sending the equipment data and/or the user instruction data after the data format conversion to the Internet of things platform so that the Internet of things platform processes the equipment data and/or the user instruction data after the data type conversion.
Further, the first determining module is specifically configured to:
determining the proxy service of the equipment data and/or the user instruction data according to the operation state of the pre-configuration, the polling mechanism and the proxy service.
Still further, the apparatus further comprises:
and the forwarding module is used for forwarding the equipment data and/or the user instruction data to other proxy services capable of processing when the running state of the proxy service is not enough to process the equipment data and/or the user instruction data.
Further, the receiving module is specifically configured to:
receiving device data sent by the Internet of things device through a device channel in real time, wherein the device channel is a channel which is registered in advance by the Internet of things device and used for sending the device data; and/or
And receiving user instruction data sent by the user through a user channel in real time, wherein the user channel is a channel which is registered by the user in advance and used for sending the user instruction data.
Furthermore, the device channels are divided according to the device types of the internet of things devices and/or the data types of the device data, and different device channels are used for sending device data of different device types and/or data types.
Still further, the apparatus further comprises:
a second determination module, configured to determine whether the internet of things device has an authority to use the device channel; or determining whether the user has a usage right to use the user channel;
if the Internet of things equipment has the authority of using the equipment channel, equipment data sent by the Internet of things equipment through the equipment channel is received in real time; or
And if the user has the use authority of using the user channel, receiving user instruction data sent by the user through the user channel in real time.
The invention also provides a computer device comprising a processor for executing a computer program stored in a memory for implementing the steps of the method.
The invention also provides a storage medium having stored thereon a computer program which, when executed by one or more processors, performs the steps of the method.
The method and the device have the advantages that the proxy service corresponding to the processing of the equipment data and/or the user instruction data is determined according to the load balancing mechanism, the data type of the equipment data and/or the user instruction data is converted into the data format which can be processed by the Internet of things platform by the proxy service, the data format processing which is originally completed by the Internet of things platform is completed by the proxy service, the data processing pressure of the Internet of things platform is reduced, the Internet of things equipment data can be processed in a large amount and concurrently, and the data processing efficiency of the Internet of things platform is improved.
Drawings
Fig. 1 is an environment schematic diagram of an application of an internet of things platform device interaction control method provided in an embodiment of the present invention;
fig. 2 is a flowchart of an internet of things platform device interaction control method according to an embodiment of the present invention;
fig. 3 is an interaction sequence diagram of an interaction control method for platform devices of the internet of things according to an embodiment of the present invention;
fig. 4 is a flowchart of an internet of things platform device interaction control method provided by the second embodiment of the present invention;
fig. 5 is a flowchart of an internet of things platform device interaction control method according to a fourth embodiment of the present invention;
fig. 6 is a block diagram of an internet of things platform device interaction control apparatus according to a seventh embodiment of the present invention;
fig. 7 is a block diagram of an internet of things platform device interaction control apparatus according to a ninth embodiment of the present invention;
fig. 8 is a block diagram of an internet of things platform device interaction control apparatus according to a twelfth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides an Internet of things platform equipment interaction control method, which is used for receiving equipment data sent by Internet of things equipment and/or user instruction data sent by a user in real time; determining proxy service for processing equipment data and/or user instruction data according to a load balancing mechanism; converting the data type of the equipment data and/or the user instruction data into a data format which can be processed by the Internet of things platform through the proxy service; and sending the device data and/or the user instruction data after the data format conversion to the Internet of things platform. The data format processing originally completed by the Internet of things platform is completed by the agency service, the data processing pressure of the Internet of things platform is reduced, the Internet of things equipment data can be processed in a large amount in a high-concurrency mode, the data processing efficiency of the Internet of things platform is improved, the Internet of things equipment, the Internet of things platform and a user exchange data with the agency service through the load and the safety center, and real-time communication among the equipment, the platform and the user is achieved.
Example one
FIG. 1 shows an environment for applying the interaction control method for the IOT platform device, which includes an IOT platform, IOT devices, users and proxy servers, wherein the proxy servers are provided with load and security centers and a plurality of proxy services, the proxy services are bridged, the IOT devices issue device data and/or users send user command data to the load and security centers of the proxy servers, after determining the proxy services for processing the device data and/or the user command data according to a load balancing mechanism, the load and security centers convert the data types of the device data and/or the user command data into data formats which can be processed by the IOT platform and send the data formats to the IOT platform through the load and security centers, the IOT platform analyzes and processes the device data and/or the user command data after data format conversion, and issuing the analysis processing result to a load and safety center in the proxy server, and issuing the analysis processing result to equipment and/or a user by the load and safety center.
Fig. 2 shows a flowchart of an internet of things platform device interaction control method, which is implemented in a proxy server, and as shown in fig. 2, the internet of things platform device interaction control method provided in this embodiment includes the following steps:
and S100, receiving equipment data sent by the Internet of things equipment and/or user instruction data sent by a user in real time.
Step S200, determining proxy service for processing equipment data and/or user instruction data according to a load balancing mechanism.
Step S300, the agent service converts the data type of the device data and/or the user instruction data into a data format which can be processed by the Internet of things platform.
Step S400, the device data and/or the user instruction data after the data format conversion are sent to the Internet of things platform, so that the Internet of things platform processes the device data and/or the user instruction data after the data type conversion.
The interaction time sequence of the interaction control method of the platform equipment of the internet of things is shown in fig. 3, and the principle is as follows:
the method comprises the steps that equipment data of the Internet of things are issued to a load and safety center in a proxy server, and/or a user sends user instruction data to the load and safety center of the proxy server, after the load and safety center determines proxy service for processing the equipment data and/or the user instruction data according to a load balancing mechanism, the proxy service in the proxy server converts the data type of the equipment data and/or the user instruction data into a data format which can be processed by an Internet of things platform, the proxy service sends the equipment data and/or the user instruction data after data format conversion to the Internet of things platform through the load and safety center, the Internet of things platform analyzes and processes the equipment data and/or the user instruction data after data format conversion, for example, the data type is identified, and then an analysis processing result is issued to the load and safety center in the proxy server, and then the data is transmitted to the equipment and/or the user by the load and safety center.
It is understood that the internet of things devices may include, but are not limited to: PM2.5 sensors, temperature sensors, etc. for environmental monitoring, user instructions may include, but are not limited to: the method comprises the steps of controlling a certain sensor to be turned on or turned off, issuing data to a proxy server by adopting different data formats of the sensors, determining proxy service for processing equipment data and/or user instruction data by a load and safety center according to a load balancing mechanism, converting the data type of the equipment data and/or the user instruction data into a data format capable of being processed by an Internet of things platform by the proxy service, and uploading the data to the platform in a message form, so that low communication efficiency caused by the fact that the platform directly receives the data is avoided, wherein the data format of each sensor is different, and the data is only equipment data or a user instruction or both the equipment data and the user instruction data are obtained.
In the embodiment, the proxy service corresponding to the processing equipment data and/or the user instruction data is determined according to the load balancing mechanism, the data type of the equipment data and/or the user instruction data is converted into the data format which can be processed by the internet of things platform by the proxy service, the data format which is originally completed by the internet of things platform is processed and then is completed by the proxy service, the data processing pressure of the internet of things platform is reduced, the internet of things equipment data can be processed in a large amount in a high-volume and concurrent mode, the data processing efficiency of the internet of things platform is improved, data exchange is carried out between the internet of things equipment, the internet of things platform and the user through the load and safety center, and real-time communication among the equipment, the platform.
Example two
Fig. 4 shows an internet of things platform device interaction control method, as shown in fig. 4, the present embodiment provides an internet of things platform device interaction control method, and on the basis of the first embodiment, step S200 includes:
step S210, determining the proxy service of the device data and/or the user instruction data according to the operation state of the pre-configuration, the polling mechanism and the proxy service.
In particular, the load balancing mechanism may be a pre-configuration, a polling mechanism, a mechanism that determines which proxy service operates according to the operational state of the proxy service. The pre-configuration is that equipment data and/or user instruction data are processed in sequence according to a preset proxy service execution sequence; the polling mechanism is to utilize each agent service to execute the operation of processing the device data and/or the user instruction data one by one; the running state of the proxy service may be a working state or a non-working state, and when new device data and/or user instruction data come, any proxy service in the non-working state is determined to complete the data type conversion work.
In this embodiment, tasks are allocated to a plurality of proxy services according to load balancing mechanisms such as a pre-configuration mechanism, a polling mechanism, and a running state of the proxy services, and proxy services corresponding to device data and/or user instruction data are determined, so that when large-scale data comes, increase of burden of a single proxy service and delay of data communication are avoided, and through deployment of the load balancing mechanism, concurrent data processing capability can be improved.
EXAMPLE III
The embodiment provides an internet of things platform device interaction control method, which is based on the first embodiment or the second embodiment, after step S200, the method further includes:
if the operating state of the proxy service is not sufficient to process the device data and/or the user instruction data, the proxy service forwards the device data and/or the user instruction data to other proxy services capable of processing.
It will be appreciated that in the application environment shown in fig. 1, by bridging the proxy services, an interrupt mechanism can be implemented, namely: when the operating state of any proxy service is not enough to process the device data and/or the user instruction data, the proxy service can forward the device data and/or the user instruction data to other proxy services capable of processing so as to realize load balancing.
In this embodiment, in the process of executing the data processing task by the current proxy service, if there is a situation that the data processing task is not enough to process the device data and/or the user instruction data, the current proxy service transfers the data processing task to other proxy services to complete the task, thereby avoiding interruption of the data processing task and further avoiding data communication delay.
Example four
Fig. 5 shows an internet of things platform device interaction control method, and as shown in fig. 5, the present embodiment provides an internet of things platform device interaction control method, and on the basis of the first embodiment, step S100 includes:
step S110, receiving equipment data sent by the Internet of things equipment through an equipment channel in real time, wherein the equipment channel is a channel which is registered in advance by the Internet of things equipment and used for sending the equipment data; and/or
Step S120, receiving user instruction data sent by the user through a user channel in real time, where the user channel is a channel that is registered by the user in advance and used for sending the user instruction data.
Specifically, before receiving device data sent by the internet of things device and/or user instruction data sent by a user in real time, the internet of things device needs to register a channel for sending the device data in advance, the user needs to register a channel for sending the user instruction data in advance, when receiving the data in real time, the data is sent through the pre-registered channel, and the device data and/or the user instruction data enter a corresponding queue of a load and a security center through respective channels and are then forwarded to corresponding proxy services.
In the embodiment, the channels are registered in advance, so that data can be effectively transmitted in different channels when data is transmitted, the channels are clearly divided, multi-channel synchronous transmission can be realized without mutual influence, the data transmission efficiency can be effectively improved, and communication delay is avoided.
EXAMPLE five
The embodiment provides an internet of things platform device interaction control method, and on the basis of the fourth embodiment, device channels are divided according to device types of internet of things devices and/or data types of device data, and different device channels are used for sending device data of different device types and/or data types.
For example, the internet of things equipment can be divided into an environment monitoring type and an intelligent interaction type, two equipment channels can be set according to the two types, the first channel is used for sending the internet of things equipment data of the environment monitoring type, and the second channel is used for sending the intelligent interaction type internet of things equipment data.
It is further understood that the user instruction data may be divided according to the instruction content, for example, may be divided into an on instruction or an off instruction, and at this time, two user instruction channels may be set according to the two types, where the third channel is used to send an on instruction of a user and the fourth channel is used to send an off instruction of the user.
In this embodiment, the channels for sending the device data are divided in advance according to the device type and/or the data type, so that the data can be effectively transmitted in the channels according to different user requirements and data processing situations, and when data is transmitted, the data can be effectively transmitted in the channels, and each channel has clear division of work, so that multi-channel synchronous transmission can be realized without mutual influence, thereby not only effectively improving the data transmission efficiency, but also avoiding communication delay.
EXAMPLE six
The embodiment provides an internet of things platform device interaction control method, which is based on the fourth embodiment, before receiving device data sent by an internet of things device through a device channel in real time or receiving user instruction data sent by a user through a user channel in real time, the method further includes:
determining whether the Internet of things equipment has the authority to use the equipment channel; or determining whether the user has a usage right to use the user channel;
if the Internet of things equipment has the authority of using the equipment channel, equipment data sent by the Internet of things equipment through the equipment channel is received in real time; or
And if the user has the use authority of using the user channel, receiving user instruction data sent by the user through the user channel in real time.
In the embodiment, the permission judgment of the channel is carried out on the internet of things equipment or the user before the data are received in real time, the condition that the channel permission is opened only for the authorized object is ensured, and the safety of data transmission is further realized on the basis of carrying out sub-channel data transmission to improve the transmission efficiency.
EXAMPLE seven
Correspondingly to the embodiment, the embodiment provides an internet of things platform device interaction control apparatus, as shown in fig. 6, the apparatus includes:
the receiving module 100 is configured to receive, in real time, device data sent by an internet of things device and/or user instruction data sent by a user;
a first determining module 200, configured to determine, according to a load balancing mechanism, an agent service for processing device data and/or user instruction data;
the conversion module 300 is used for the proxy service to convert the data type of the device data and/or the user instruction data into a data format which can be processed by the internet of things platform;
the sending module 400 is configured to send the device data and/or the user instruction data after the data format conversion to the internet of things platform, so that the internet of things platform processes the device data and/or the user instruction data after the data type conversion.
It is to be understood that the steps executed by the modules in this embodiment refer to the related description of the first embodiment, and are not described herein again.
In the embodiment, the proxy service corresponding to the processing equipment data and/or the user instruction data is determined according to the load balancing mechanism, the data type of the equipment data and/or the user instruction data is converted into the data format which can be processed by the internet of things platform by the proxy service, the data format which is originally completed by the internet of things platform is processed and then is completed by the proxy service, the data processing pressure of the internet of things platform is reduced, the internet of things equipment data can be processed in a large amount in a high-volume and concurrent mode, the data processing efficiency of the internet of things platform is improved, data exchange is carried out between the internet of things equipment, the internet of things platform and the user through the load and safety center, and real-time communication among the equipment, the platform.
Example eight
Correspondingly to the embodiment, the embodiment provides an internet of things platform device interaction control apparatus, and on the basis of the seventh embodiment, the first determining module 100 is specifically configured to:
determining the proxy service of the equipment data and/or the user instruction data according to the operation state of the pre-configuration, the polling mechanism and the proxy service.
In this embodiment, tasks are allocated to a plurality of proxy services according to load balancing mechanisms such as a pre-configuration mechanism, a polling mechanism, and a running state of the proxy services, and proxy services corresponding to device data and/or user instruction data are determined, so that when large-scale data comes, increase of burden of a single proxy service and delay of data communication are avoided, and through deployment of the load balancing mechanism, concurrent data processing capability can be improved.
Example nine
Correspondingly to the third embodiment, the present embodiment provides an internet of things platform device interaction control apparatus, as shown in fig. 7, on the basis of the seventh embodiment or the eighth embodiment, the apparatus further includes:
a forwarding module 500, configured to forward the device data and/or the user instruction data to another proxy service capable of processing when the operation state of the proxy service is insufficient to process the device data and/or the user instruction data.
In this embodiment, in the process of executing the data processing task by the current proxy service, if there is a situation that the data processing task is not enough to process the device data and/or the user instruction data, the current proxy service transfers the data processing task to other proxy services to complete the task, thereby avoiding interruption of the data processing task and further avoiding data communication delay.
Example ten
Corresponding to the fourth embodiment, the present embodiment provides an internet of things platform device interaction control apparatus, and on the basis of the seventh embodiment, the receiving module 100 is specifically configured to:
receiving equipment data sent by the Internet of things equipment through an equipment channel in real time, wherein the equipment channel is a channel which is registered in advance by the Internet of things equipment and used for sending the equipment data; and/or
And receiving user instruction data sent by a user through a user channel in real time, wherein the user channel is a channel which is registered by the user in advance and used for sending the user instruction data.
In the embodiment, the channels are registered in advance, so that data can be effectively transmitted in different channels when data is transmitted, the channels are clearly divided, multi-channel synchronous transmission can be realized without mutual influence, the data transmission efficiency can be effectively improved, and communication delay is avoided.
EXAMPLE eleven
Corresponding to the fifth embodiment, the present embodiment provides an internet of things platform device interaction control apparatus, and on the basis of the tenth embodiment, device channels are divided according to device types of an internet of things device and/or data types of device data, and different device channels are used for sending device data of different device types and/or data types.
In this embodiment, the channels for sending the device data are divided in advance according to the device type and/or the data type, so that the data can be effectively transmitted in the channels according to different user requirements and data processing situations, and when data is transmitted, the data can be effectively transmitted in the channels, and each channel has clear division of work, so that multi-channel synchronous transmission can be realized without mutual influence, thereby not only effectively improving the data transmission efficiency, but also avoiding communication delay.
Example twelve
Corresponding to the sixth embodiment, the present embodiment provides an internet of things platform device interaction control apparatus, as shown in fig. 8, on the basis of the tenth embodiment, the apparatus further includes:
a second determining module 600, configured to determine whether the internet of things device has an authority to use the device channel; or determining whether the user has a usage right to use the user channel;
if the Internet of things equipment has the authority of using the equipment channel, equipment data sent by the Internet of things equipment through the equipment channel is received in real time; or
And if the user has the use authority of using the user channel, receiving user instruction data sent by the user through the user channel in real time.
In the embodiment, the permission judgment of the channel is carried out on the internet of things equipment or the user before the data are received in real time, the condition that the channel permission is opened only for the authorized object is ensured, and the safety of data transmission is further realized on the basis of carrying out sub-channel data transmission to improve the transmission efficiency.
EXAMPLE thirteen
The present embodiment provides a computer device, which includes a processor, and the processor is configured to execute a computer program stored in a memory to implement the steps of the method provided in any one of the first to sixth embodiments.
The Processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components. Please refer to embodiment one for specific steps of the method, which is not described herein again.
Example fourteen
The present embodiment provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by one or more processors, the steps of the method provided in any one of the first to sixth embodiments are implemented.
The storage medium may be a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc. Please refer to embodiment one for specific steps of the method, which is not described herein again.
In summary, according to the method, the apparatus, the computer device, and the storage medium for controlling interaction of the internet of things platform device provided in the embodiments of the present invention, an agent service corresponding to device data and/or user instruction data is determined according to a load balancing mechanism, and then the agent service is utilized to convert the data type of the device data and/or the user instruction data into a data format that can be processed by the internet of things platform, so that the data format processing originally completed by the internet of things platform is completed by the agent service, and the data processing pressure of the internet of things platform is reduced. Further, tasks are distributed to the plurality of proxy services according to load balancing mechanisms such as pre-configuration, polling mechanisms and the operating states of the proxy services, the proxy services corresponding to the device data and/or the user instruction data are determined, temporary large-scale data come, the increase of the burden of a single proxy service and the delay of data communication are avoided, and the concurrent data processing capacity can be improved through the deployment of the load balancing mechanisms. Further, in the process of executing the data processing task by the current proxy service, if the situation that the data processing task is not enough to process the device data and/or the user instruction data exists, the current proxy service transfers the data processing task to other proxy services to complete the task, so that the data processing task is prevented from being interrupted and further the data communication is prevented from being delayed. Furthermore, the channels are registered in advance, so that data can be effectively transmitted in different channels when data transmission is carried out, the channels are clearly divided, multi-channel synchronous transmission can be realized without mutual influence, the data transmission efficiency can be effectively improved, and communication delay is avoided. Furthermore, the channels for sending the device data are divided in advance according to the device type and/or the data type, so that data transmission can be realized according to different user requirements and data processing situations. Furthermore, the authority of the channel is judged for the Internet of things equipment or the user before the data is received in real time, so that the channel authority is ensured to be opened only for the authorized object, and the safety of data transmission is realized on the basis of transmitting the data in the sub-channel mode to improve the transmission efficiency.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An Internet of things platform equipment interaction control method is characterized by comprising the following steps:
receiving equipment data sent by the Internet of things equipment and/or user instruction data sent by a user in real time;
determining proxy service for processing the equipment data and/or user instruction data according to a load balancing mechanism;
the proxy service converts the data type of the equipment data and/or the user instruction data into a data format which can be processed by the Internet of things platform;
and sending the device data and/or the user instruction data after the data format conversion to the Internet of things platform so that the Internet of things platform processes the device data and/or the user instruction data after the data type conversion.
2. The internet of things platform device interaction control method according to claim 1, wherein the determining, according to a load balancing mechanism, the proxy service that processes the device data and/or the user instruction data includes:
determining the proxy service of the equipment data and/or the user instruction data according to the operation state of the pre-configuration, the polling mechanism and the proxy service.
3. The internet of things platform device interaction control method according to claim 1 or 2, wherein after determining the proxy service for processing the device data and/or the user instruction data according to the load balancing mechanism, the method further comprises:
if the operating state of the proxy service is not enough to process the device data and/or the user instruction data, the proxy service forwards the device data and/or the user instruction data to other proxy services capable of processing.
4. The internet of things platform device interaction control method according to claim 1, wherein the receiving device data sent by internet of things devices and/or user instruction data sent by users in real time comprises:
receiving device data sent by the Internet of things device through a device channel in real time, wherein the device channel is a channel which is registered in advance by the Internet of things device and used for sending the device data; and/or
And receiving user instruction data sent by the user through a user channel in real time, wherein the user channel is a channel which is registered by the user in advance and used for sending the user instruction data.
5. The Internet of things platform device interaction control method according to claim 4, wherein the device channels are divided according to device types of the Internet of things devices and/or data types of the device data, and different device channels are used for sending device data of different device types and/or data types.
6. The internet of things platform device interaction control method according to claim 4, wherein before receiving device data sent by the internet of things device through a device channel in real time or receiving user instruction data sent by the user through a user channel in real time, the method further comprises:
determining whether the Internet of things device has the right to use the device channel; or determining whether the user has a usage right to use the user channel;
if the Internet of things equipment has the authority of using the equipment channel, equipment data sent by the Internet of things equipment through the equipment channel is received in real time; or
And if the user has the use authority of using the user channel, receiving user instruction data sent by the user through the user channel in real time.
7. The utility model provides an thing networking platform equipment interaction control device which characterized in that, the device includes:
the receiving module is used for receiving equipment data sent by the Internet of things equipment and/or user instruction data sent by a user in real time;
the first determining module is used for determining proxy service for processing the equipment data and/or the user instruction data according to a load balancing mechanism;
the conversion module is used for converting the data type of the equipment data and/or the user instruction data into a data format which can be processed by the Internet of things platform by the proxy service;
and the sending module is used for sending the equipment data and/or the user instruction data after the data format conversion to the Internet of things platform so that the Internet of things platform processes the equipment data and/or the user instruction data after the data type conversion.
8. The internet of things platform device interaction control apparatus of claim 7, wherein the first determining module is specifically configured to:
determining the proxy service of the equipment data and/or the user instruction data according to the operation state of the pre-configuration, the polling mechanism and the proxy service.
9. A computer device, characterized in that the computer device comprises a processor for executing a computer program stored in a memory for implementing the steps of the method according to any of claims 1 to 6.
10. A storage medium having stored thereon a computer program which, when executed by one or more processors, performs the steps of the method of any one of claims 1 to 6.
CN202010753921.0A 2020-07-30 2020-07-30 Internet of things platform equipment interaction control method Active CN111953752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010753921.0A CN111953752B (en) 2020-07-30 2020-07-30 Internet of things platform equipment interaction control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010753921.0A CN111953752B (en) 2020-07-30 2020-07-30 Internet of things platform equipment interaction control method

Publications (2)

Publication Number Publication Date
CN111953752A true CN111953752A (en) 2020-11-17
CN111953752B CN111953752B (en) 2023-04-14

Family

ID=73338312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010753921.0A Active CN111953752B (en) 2020-07-30 2020-07-30 Internet of things platform equipment interaction control method

Country Status (1)

Country Link
CN (1) CN111953752B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749117A (en) * 2020-12-30 2021-05-04 宁波海大物联科技有限公司 Data transmission module and data transmission method of Internet of things equipment and platform
CN114979212A (en) * 2022-05-23 2022-08-30 京东方科技集团股份有限公司 Agent service construction method, device and system for equipment to access Internet of things platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329602A1 (en) * 2016-05-11 2017-11-16 Siemens Aktiengesellschaft Method and apparatus for resource binding
CN108769165A (en) * 2018-05-17 2018-11-06 深圳市信锐网科技术有限公司 Data processing method, Internet of Things access system in a kind of Internet of Things

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329602A1 (en) * 2016-05-11 2017-11-16 Siemens Aktiengesellschaft Method and apparatus for resource binding
CN108769165A (en) * 2018-05-17 2018-11-06 深圳市信锐网科技术有限公司 Data processing method, Internet of Things access system in a kind of Internet of Things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749117A (en) * 2020-12-30 2021-05-04 宁波海大物联科技有限公司 Data transmission module and data transmission method of Internet of things equipment and platform
CN114979212A (en) * 2022-05-23 2022-08-30 京东方科技集团股份有限公司 Agent service construction method, device and system for equipment to access Internet of things platform

Also Published As

Publication number Publication date
CN111953752B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
US20210042578A1 (en) Feature engineering orchestration method and apparatus
CN111953752B (en) Internet of things platform equipment interaction control method
CN107395572B (en) Data processing method and Internet of things gateway
CN107133109B (en) Method and device for communication between modules and computing equipment
CN112714164A (en) Internet of things system and task scheduling method thereof
CN105141603A (en) Communication data transmission method and system
US6779186B2 (en) Method for operating and maintenance by base station using remote procedure call in IMT-2000 system
KR101190930B1 (en) Techniques for distributed management of wireless devices with shared resources between wireless components
CN114780353B (en) File log monitoring method and system and computing device
CN111556043B (en) Message processing method, device, system, equipment and readable storage medium
CN115941809A (en) Aggregation processing method and system for multiple Internet of Things terminal protocols for DCIM
CN115499432A (en) Family terminal computing resource management system and computing resource scheduling method
JP6975823B2 (en) Gateway device and communication system with built-in server module
CN113079055B (en) AGV operation data dynamic acquisition method and device
CN114363341A (en) Robot scheduling method, device, equipment and storage medium based on gateway
CN111240867A (en) Information communication system and method
CN114844888B (en) Power computer and processing method thereof
TWI791316B (en) Method and system for implementing inter-process communications
CN111711660B (en) Method, device, equipment and storage medium for communication between electronic equipment
CN118054984A (en) Device access method and gateway, storage medium and computer product
CN114710755B (en) Message processing method, vehicle-mounted communication device, electronic equipment and storage medium
JP2021190010A (en) Processor, program, system, and control apparatus
CN117202379A (en) Information reporting method, device, equipment and medium
Takrouni et al. Data Loss Prevention Method Based on Multiprotocol Connectivity for IoT
CN116506509A (en) Data stream task processing method, device, system, equipment 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
GR01 Patent grant
GR01 Patent grant