CN117729063A - Device access method, device, equipment and storage medium of industrial Internet of things - Google Patents

Device access method, device, equipment and storage medium of industrial Internet of things Download PDF

Info

Publication number
CN117729063A
CN117729063A CN202410177549.1A CN202410177549A CN117729063A CN 117729063 A CN117729063 A CN 117729063A CN 202410177549 A CN202410177549 A CN 202410177549A CN 117729063 A CN117729063 A CN 117729063A
Authority
CN
China
Prior art keywords
equipment
target
communication protocol
type
accessed
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
CN202410177549.1A
Other languages
Chinese (zh)
Other versions
CN117729063B (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.)
Shenzhen Genrace Technology Co ltd
Original Assignee
Shenzhen Genrace Technology 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 Shenzhen Genrace Technology Co ltd filed Critical Shenzhen Genrace Technology Co ltd
Priority to CN202410177549.1A priority Critical patent/CN117729063B/en
Publication of CN117729063A publication Critical patent/CN117729063A/en
Application granted granted Critical
Publication of CN117729063B publication Critical patent/CN117729063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a device access method, a device, equipment and a storage medium of an industrial Internet of things, wherein the method comprises the following steps: acquiring a target equipment type corresponding to an equipment access request; acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment; if the equipment to be accessed is determined to be successfully added into the industrial Internet of things, determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed; acquiring a target equipment scene group corresponding to a target equipment scene division result, and adding equipment to be accessed into the scene group corresponding to the target equipment scene group; if the equipment working data of the equipment to be monitored are collected by the equipment in the target equipment scene group, the current working state of the equipment to be monitored is determined based on the equipment working data. The embodiment of the invention can support the equipment with various communication protocols to join the industrial Internet of things, and can accurately group the joined equipment.

Description

Device access method, device, equipment and storage medium of industrial Internet of things
Technical Field
The invention relates to the technical field of industrial Internet of things, in particular to an equipment access method, device and equipment of the industrial Internet of things and a storage medium.
Background
At present, the industrial Internet of things is widely applied in the industrial field. For example, multiple internet of things devices may be correspondingly added to the industrial internet of things based on a protocol supported by the industrial internet of things platform, but general industrial internet of things platforms are developed based on customized requirements, for example, only an internet of things device supporting NB-IoT protocol (NB-IoT is Narrow Band Internet of Things, which represents narrowband internet of things) can be added to the industrial internet of things platform. This results in the internet of things device being unable to join the industrial internet of things when it does not support the communication protocol specified by the internet of things platform. And each device added into the industrial Internet of things can be uniformly detected and managed by the industrial Internet of things platform, but if the devices are too many, the devices cannot be quickly positioned and the specific positions where the devices are deployed can not be obtained because the devices are not subjected to grouping management.
Disclosure of Invention
The embodiment of the invention provides an equipment access method, device, equipment and storage medium of an industrial Internet of things, and aims to solve the problem that in the prior art, all industrial Internet of things platforms are developed based on customized requirements, and only Internet of things equipment supporting a specified protocol can be added to the industrial Internet of things platform, so that the Internet of things equipment cannot be added to the industrial Internet of things when the Internet of things equipment does not support the communication protocol specified by the Internet of things platform.
In a first aspect, an embodiment of the present invention provides an apparatus access method for an industrial internet of things, which is applied to an industrial internet of things cloud platform, and includes:
responding to an equipment access request of equipment to be accessed, and acquiring a target equipment type corresponding to the equipment access request;
acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment;
if the equipment to be accessed is determined to be successfully added into the industrial Internet of things corresponding to the industrial Internet of things cloud platform, determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed;
acquiring a target equipment scene group corresponding to the target equipment scene division result, and adding the equipment to be accessed into the scene group corresponding to the target equipment scene group; and
and if the equipment working data of the equipment to be monitored are collected by the equipment in the target equipment scene group, determining the current working state of the equipment to be monitored based on the equipment working data.
In a second aspect, an embodiment of the present invention further provides an apparatus access device of an industrial internet of things, including:
The device comprises a standby type acquisition unit, a standby type judgment unit and a standby type judgment unit, wherein the standby type acquisition unit is used for responding to a device access request of a device to be accessed and acquiring a target device type corresponding to the device access request;
the communication protocol acquisition unit is used for acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment;
the target equipment scene acquisition unit is used for determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed if the equipment to be accessed is determined to be successfully added into the industrial Internet of things corresponding to the industrial Internet of things cloud platform;
a scene group obtaining unit, configured to obtain a target device scene group corresponding to the target device scene division result, and add the device to be accessed to a scene group corresponding to the target device scene group; and
and the equipment working state determining unit is used for determining the current working state of the equipment to be monitored based on the equipment working data if the equipment working data of the equipment to be monitored are collected by the equipment in the target equipment scene group.
In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the device access method of the industrial internet of things according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the device access method of the industrial internet of things described in the first aspect above.
The embodiment of the invention provides a device access method, a device and equipment of an industrial Internet of things, wherein the method comprises the following steps: responding to a device access request of a device to be accessed, and acquiring a target device type corresponding to the device access request; acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment; if the equipment to be accessed is determined to be successfully added into the industrial Internet of things corresponding to the industrial Internet of things cloud platform, determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed; acquiring a target equipment scene group corresponding to a target equipment scene division result, and adding equipment to be accessed into the scene group corresponding to the target equipment scene group; if the equipment working data of the equipment to be monitored are collected by the equipment in the target equipment scene group, the current working state of the equipment to be monitored is determined based on the equipment working data. The embodiment of the invention can support the equipment with various communication protocols to join the industrial Internet of things, and can accurately group the joined equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of an apparatus access method of an industrial internet of things provided by an embodiment of the present invention;
fig. 2 is a flow chart of a device access method of an industrial internet of things according to an embodiment of the present invention;
fig. 3 is a schematic sub-flowchart of a device access method of an industrial internet of things according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of an apparatus access device of the industrial Internet of things provided by an embodiment of the invention;
fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. 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.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of a scenario of an apparatus access method of an industrial internet of things according to an embodiment of the present invention, and fig. 2 is a schematic flow chart of an apparatus access method of an industrial internet of things according to an embodiment of the present invention. The method is applied to the industrial Internet of things cloud platform 10, and the industrial Internet of things cloud platform 10 can communicate with a plurality of Internet of things devices 20. As shown in fig. 2, the method includes the following steps S110 to S150.
S110, responding to a device access request of a device to be accessed, and acquiring a target device type corresponding to the device access request.
In this embodiment, an industrial internet of things cloud platform is used as an execution subject to describe a technical scheme. The industrial Internet of things cloud platform supports Internet of things equipment with various communication protocols to join corresponding industrial Internet of things. At this time, taking an example that an apparatus to be accessed is added to the industrial internet of things corresponding to the industrial internet of things cloud platform, when the apparatus is not added to the industrial internet of things platform initially, the apparatus can only send initial basic data such as a target apparatus type to the industrial internet of things, and can not send other data to the industrial internet of things platform.
The device access request sent by the device to be accessed to the industrial internet of things platform at least comprises information such as a device type and a device unique identification code, and when the industrial internet of things platform receives the device access request of the device to be accessed, the device access request can be analyzed to obtain the target device type.
In one embodiment, step S110 includes:
acquiring a device unique identification code of the device to be accessed;
and analyzing the unique identification code of the equipment to obtain the type of the target equipment.
In this embodiment, when the industrial internet of things platform receives a device access request of a device to be accessed, the unique device identification code included in the device access request may be obtained by parsing. The device type of the device to be accessed can be judged by the characters with fixed digits in the unique device identification code of the device to be accessed (such as the device to be accessed is a sensor, an autonomous execution terminal and the like), and the industrial Internet of things platform acquires the target device type of the device to be accessed through the characters with fixed digits in the unique device identification code. It can be seen that the device type can be quickly determined based on the above manner.
S120, acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment.
In this embodiment, after the target device type of the device to be accessed is obtained from the industrial internet of things cloud platform, a target communication protocol needs to be further obtained to support the device to be accessed to successfully join the industrial internet of things for more data interaction. In order to realize that the industrial internet of things cloud platform supports access of multiple types of devices to be accessed, a corresponding target communication protocol can be acquired from a local communication protocol library of the industrial internet of things cloud platform based on the type of the target device, or the industrial internet of things cloud platform acquires the corresponding target communication protocol from the communication protocol library acquired from the internet. However, in any of the above manners, the target communication protocol supporting the device to be accessed to join the industrial internet of things can be obtained.
In one embodiment, step S120 includes:
if the type of the target equipment is determined to be the sensor type, acquiring the target communication protocol corresponding to the sensor type from the local communication protocol library;
and if the type of the target equipment is determined to be the type of the autonomous execution terminal, acquiring the target communication protocol corresponding to the type of the autonomous execution terminal from the local communication protocol library.
In this embodiment, in the industrial internet of things cloud platform, if it is determined that the target device type is a sensor type (i.e., the target communication protocol is not null), the access device of the general sensor type may support the protocols of Lora, NB-IOT, zigbee, etc., and the local communication protocol library of the industrial internet of things cloud platform generally includes the protocols of Lora, NB-IOT, zigbee, etc., then determining this protocol as the target communication protocol corresponding to the sensor type. The device to be connected in of the sensor type may be a temperature sensor, a humidity sensor, a pressure sensor, an image acquisition device, etc.
If the target equipment type is determined to be an autonomous execution terminal type (i.e. the target communication protocol is not null), the access equipment of the general autonomous execution terminal type supports the lorewan protocol (the whole name of the lorewan is LoRa Wide Area Network, which represents the lorea wide area network), and the local communication protocol library of the industrial internet of things cloud platform generally includes the lorewan protocol, and then the lorewan protocol is determined to be the target communication protocol corresponding to the autonomous execution terminal type. The type of the autonomous execution terminal may be an alarm, a drainer, a fire extinguishing device, a ventilation device, an electric control lock, or the like.
In an embodiment, after the step of acquiring the target communication protocol corresponding to the sensor type in the local communication protocol library if the target device type is determined to be the sensor type, or after the step of acquiring the target communication protocol corresponding to the autonomously performed terminal type in the local communication protocol library if the target device type is determined to be the autonomously performed terminal type, the method further includes:
if the target communication protocol is determined to be null, the unique equipment identification code and the target equipment type are sent to a service server, so that the service server obtains the target communication protocol corresponding to the unique equipment identification code and the target equipment type;
and receiving the target communication protocol sent by the service server, and establishing communication connection with the equipment to be accessed based on the target communication protocol.
In this embodiment, if it is determined that the target communication protocol is null, it indicates that there is no target communication protocol adapted to the device to be accessed in the local communication protocol library, and at this time, the industrial internet of things cloud platform needs to send the unique device identification code of the device to be accessed and the target device type to an external service server, so that the external service server obtains the target communication protocol corresponding to the unique device identification code and the target device type, and updates the target communication protocol in null form. And then, the equipment to be accessed can establish communication connection with the industrial Internet of things cloud platform so as to perform subsequent various data interactions. Therefore, based on the mode, the online expansion of the communication protocol in the industrial Internet of things cloud platform is realized, and more types of equipment can be supported to join the industrial Internet of things.
And S130, if the equipment to be accessed is determined to be successfully added into the industrial Internet of things corresponding to the industrial Internet of things cloud platform, determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed.
In this embodiment, if it is determined that the device to be accessed successfully joins the industrial internet of things corresponding to the industrial internet of things cloud platform, it indicates that the device to be accessed successfully joins the industrial internet of things, and then, for more accurate packet management, a target device scene division result may be determined based on the target device type and the target communication protocol of the device to be accessed, so that the device to be accessed is quickly joined in a packet corresponding to a target scene.
In one embodiment, before step S130, the method further includes:
acquiring current positioning information of the equipment to be accessed;
constructing equipment characteristic information based on the current positioning information, the type of the target equipment and the target communication protocol;
and acquiring cluster grouping information of the stored devices.
In this embodiment, before determining the division result of the target device scenario of the device to be accessed, for more accurate grouping, the current positioning information of the device to be accessed may be obtained first, for example, may be directly obtained by the positioning module in the device to be accessed, or may be recorded and stored in the device to be accessed when the device to be accessed is initially configured. And then, connecting the current positioning information, the target equipment type and the sequence of the target communication protocol to form equipment characteristic information.
Moreover, the stored equipment clustering grouping information is also arranged in the industrial Internet of things cloud platform, and equipment grouping processing can be rapidly performed based on the stored equipment clustering grouping information in a historical data form and the equipment characteristic information.
As shown in fig. 3, step S130 includes:
s131, acquiring a target cluster of the equipment characteristic information in the stored equipment cluster grouping information based on a pre-stored clustering algorithm;
s132, obtaining a target scene division result corresponding to the target cluster as the target equipment scene division result.
In this embodiment, a clustering algorithm (such as a K-means clustering algorithm) may be used to obtain, in the industrial internet of things cloud platform, a target cluster of the device feature information in the stored device cluster grouping information. The device characteristic information in the form of a row vector is formed by serially connecting a first mapping value corresponding to the current positioning information, a second mapping value corresponding to the type of the target device and a third mapping value corresponding to the target communication protocol according to the sequence of the first mapping value, the second mapping value and the third mapping value. Because each piece of historical equipment characteristic information included in the stored equipment clustering grouping information is also in a row vector form, a target cluster corresponding to the equipment characteristic information can be determined in the stored equipment clustering grouping information based on a clustering algorithm, and a target scene division result corresponding to the target cluster is used as the target equipment scene division result.
S140, obtaining a target equipment scene group corresponding to the target equipment scene division result, and adding the equipment to be accessed into the scene group corresponding to the target equipment scene group.
In this embodiment, since a plurality of device scene groups corresponding to service scenes, such as an AA1 area monitoring device scene group, an AA2 area temperature measurement device scene group, and an AA3 area smoke monitoring scene group, are stored in the industrial internet of things cloud platform, after determining a target device scene division result of a device to be accessed, the target device scene group can be determined, and the device to be accessed is added to the scene group corresponding to the target device scene group.
In one embodiment, after step S140, the method further includes:
and acquiring the real scene display data of each access device included in the target device scene group, and aggregating the real scene display data of each access device in a corresponding page container for display.
In this embodiment, in the industrial internet of things cloud platform, live-action display data of each access device included in each device scene group can be displayed in an aggregation manner. For example, on an interaction page of an industrial internet of things cloud platform, a plurality of device scene groups are displayed. When the scene group of the target equipment is selected to be subjected to scene live-action restoration scene display at the time, live-action display data of each access equipment included in the scene group of the target equipment can be obtained, and the live-action display data of each access equipment are aggregated in a corresponding page container to be displayed. By the mode, the page container is used as a playing carrier to intensively and regionally display the live-action display data of each access device.
For example, N1 access devices (N1 is a positive integer) are included in the target device scene group, and N1 page sub-containers are divided equally in the page containers, so that each page sub-container corresponds to live-action display data of one of the access devices in the target device scene group. Of course, the display weight values corresponding to the N1 access devices in the target device scene group may be correspondingly divided into N1 page sub-containers according to the proportional relation of the display weight values in the page container. Therefore, based on the mode, live-action restoration and aggregation display can be realized on the industrial Internet of things cloud platform.
And S150, if the equipment in the target equipment scene group is determined to acquire the equipment working data of the equipment to be monitored, determining the current working state of the equipment to be monitored based on the equipment working data.
In this embodiment, after the device to be accessed is added to the scene group corresponding to the target device scene group in the industrial internet of things cloud platform, the target device scene group may specifically monitor the device working data for one or more devices to be monitored. If the equipment in the target equipment scene group is determined to acquire the equipment working data of the equipment to be monitored, the equipment to be monitored is in a state of normally monitored and acquiring working parameters, and the current working state of the equipment to be monitored can be determined specifically based on the equipment working data.
In one embodiment, after step S150, it includes:
if the equipment working data meets the fault data characteristics, taking the equipment fault as the current working state of the equipment to be monitored;
and rendering the fault state identification color corresponding to the equipment to be monitored into the equipment in the target group corresponding to the equipment to be monitored in the page container so as to update the live-action display data of the equipment in the target group.
In this embodiment, if it is determined that the device working data of the device to be monitored meets the fault data feature, it indicates that one or more devices in the target device scene group can correspondingly detect the device working data, at this time, a target page sub-container corresponding to the device to be monitored may be determined in a plurality of page sub-containers in the page container, then the devices in the target group corresponding to each target page sub-container are determined, and finally the frames of the target page sub-containers or the frames of the target page sub-containers are rendered with the fault status identification color, thereby updating the live-action display data of the devices in the target group.
Therefore, the embodiment of the method can support the equipment with various communication protocols to join the industrial Internet of things, and can accurately group the joined equipment.
Fig. 4 is a schematic block diagram of an apparatus access device of an industrial internet of things according to an embodiment of the present invention. As shown in fig. 4, the present invention further provides an apparatus 100 for accessing an industrial internet of things, corresponding to the above method for accessing an industrial internet of things. The equipment access device of the industrial Internet of things comprises: the device type acquisition unit 110, the communication protocol acquisition unit 120, the target device scene acquisition unit 130, the scene group acquisition unit 140, and the device operation state determination unit 150.
The device type obtaining unit 110 is configured to obtain, in response to a device access request of a device to be accessed, a target device type corresponding to the device access request.
In this embodiment, an industrial internet of things cloud platform is used as an execution subject to describe a technical scheme. The industrial Internet of things cloud platform supports Internet of things equipment with various communication protocols to join corresponding industrial Internet of things. At this time, taking an example that an apparatus to be accessed is added to the industrial internet of things corresponding to the industrial internet of things cloud platform, when the apparatus is not added to the industrial internet of things platform initially, the apparatus can only send initial basic data such as a target apparatus type to the industrial internet of things, and can not send other data to the industrial internet of things platform.
The device access request sent by the device to be accessed to the industrial internet of things platform at least comprises information such as a device type and a device unique identification code, and when the industrial internet of things platform receives the device access request of the device to be accessed, the device access request can be analyzed to obtain the target device type.
In one embodiment, the device type obtaining unit 110 is specifically configured to:
acquiring a device unique identification code of the device to be accessed;
and analyzing the unique identification code of the equipment to obtain the type of the target equipment.
In this embodiment, when the industrial internet of things platform receives a device access request of a device to be accessed, the unique device identification code included in the device access request may be obtained by parsing. The device type of the device to be accessed can be judged by the characters with fixed digits in the unique device identification code of the device to be accessed (such as the device to be accessed is a sensor, an autonomous execution terminal and the like), and the industrial Internet of things platform acquires the target device type of the device to be accessed through the characters with fixed digits in the unique device identification code. It can be seen that the device type can be quickly determined based on the above manner.
The communication protocol obtaining unit 120 is configured to obtain, based on the target device type, a corresponding target communication protocol from a local communication protocol library or a communication protocol library obtained from the internet.
In this embodiment, after the target device type of the device to be accessed is obtained from the industrial internet of things cloud platform, a target communication protocol needs to be further obtained to support the device to be accessed to successfully join the industrial internet of things for more data interaction. In order to realize that the industrial internet of things cloud platform supports access of multiple types of devices to be accessed, a corresponding target communication protocol can be acquired from a local communication protocol library of the industrial internet of things cloud platform based on the type of the target device, or the industrial internet of things cloud platform acquires the corresponding target communication protocol from the communication protocol library acquired from the internet. However, in any of the above manners, the target communication protocol supporting the device to be accessed to join the industrial internet of things can be obtained.
In one embodiment, the communication protocol obtaining unit 120 is specifically configured to:
if the type of the target equipment is determined to be the sensor type, acquiring the target communication protocol corresponding to the sensor type from the local communication protocol library;
and if the type of the target equipment is determined to be the type of the autonomous execution terminal, acquiring the target communication protocol corresponding to the type of the autonomous execution terminal from the local communication protocol library.
In this embodiment, in the industrial internet of things cloud platform, if it is determined that the target device type is a sensor type (i.e., the target communication protocol is not null), the access device of the general sensor type may support the protocols of Lora, NB-IOT, zigbee, etc., and the local communication protocol library of the industrial internet of things cloud platform generally includes the protocols of Lora, NB-IOT, zigbee, etc., then determining this protocol as the target communication protocol corresponding to the sensor type. The device to be connected in of the sensor type may be a temperature sensor, a humidity sensor, a pressure sensor, an image acquisition device, etc.
If the target equipment type is determined to be an autonomous execution terminal type (i.e. the target communication protocol is not null), the access equipment of the general autonomous execution terminal type supports the lorewan protocol (the whole name of the lorewan is LoRa Wide Area Network, which represents the lorea wide area network), and the local communication protocol library of the industrial internet of things cloud platform generally includes the lorewan protocol, and then the lorewan protocol is determined to be the target communication protocol corresponding to the autonomous execution terminal type. The type of the autonomous execution terminal may be an alarm, a drainer, a fire extinguishing device, a ventilation device, an electric control lock, or the like.
In an embodiment, the device access apparatus 100 of the industrial internet of things further includes:
an external target communication protocol obtaining unit, configured to send the device unique identifier and the target device type to a service server if it is determined that the target communication protocol is null, so that the service server obtains the target communication protocol corresponding to the device unique identifier and the target device type;
and the target communication protocol updating unit is used for receiving the target communication protocol sent by the service server and establishing communication connection with the equipment to be accessed based on the target communication protocol.
In this embodiment, if it is determined that the target communication protocol is null, it indicates that there is no target communication protocol adapted to the device to be accessed in the local communication protocol library, and at this time, the industrial internet of things cloud platform needs to send the unique device identification code of the device to be accessed and the target device type to an external service server, so that the external service server obtains the target communication protocol corresponding to the unique device identification code and the target device type, and updates the target communication protocol in null form. And then, the equipment to be accessed can establish communication connection with the industrial Internet of things cloud platform so as to perform subsequent various data interactions. Therefore, based on the mode, the online expansion of the communication protocol in the industrial Internet of things cloud platform is realized, and more types of equipment can be supported to join the industrial Internet of things.
The target device scenario obtaining unit 130 is configured to determine a target device scenario division result based on the target device type and the target communication protocol of the device to be accessed if it is determined that the device to be accessed is successfully added to the industrial internet of things corresponding to the industrial internet of things cloud platform.
In this embodiment, if it is determined that the device to be accessed successfully joins the industrial internet of things corresponding to the industrial internet of things cloud platform, it indicates that the device to be accessed successfully joins the industrial internet of things, and then, for more accurate packet management, a target device scene division result may be determined based on the target device type and the target communication protocol of the device to be accessed, so that the device to be accessed is quickly joined in a packet corresponding to a target scene.
In an embodiment, the device access apparatus 100 of the industrial internet of things further includes:
the current positioning information acquisition unit is used for acquiring the current positioning information of the equipment to be accessed;
the device characteristic information acquisition unit is used for constructing device characteristic information based on the current positioning information, the target device type and the target communication protocol;
and the history grouping information acquisition unit is used for acquiring the stored device clustering grouping information.
In this embodiment, before determining the division result of the target device scenario of the device to be accessed, for more accurate grouping, the current positioning information of the device to be accessed may be obtained first, for example, may be directly obtained by the positioning module in the device to be accessed, or may be recorded and stored in the device to be accessed when the device to be accessed is initially configured. And then, connecting the current positioning information, the target equipment type and the sequence of the target communication protocol to form equipment characteristic information.
Moreover, the stored equipment clustering grouping information is also arranged in the industrial Internet of things cloud platform, and equipment grouping processing can be rapidly performed based on the stored equipment clustering grouping information in a historical data form and the equipment characteristic information.
The target device scene obtaining unit 130 is specifically configured to:
acquiring a target cluster of the equipment characteristic information in the stored equipment cluster grouping information based on a pre-stored clustering algorithm;
and obtaining a target scene division result corresponding to the target cluster to serve as the target equipment scene division result.
In this embodiment, a clustering algorithm (such as a K-means clustering algorithm) may be used to obtain, in the industrial internet of things cloud platform, a target cluster of the device feature information in the stored device cluster grouping information. The device characteristic information in the form of a row vector is formed by serially connecting a first mapping value corresponding to the current positioning information, a second mapping value corresponding to the type of the target device and a third mapping value corresponding to the target communication protocol according to the sequence of the first mapping value, the second mapping value and the third mapping value. Because each piece of historical equipment characteristic information included in the stored equipment clustering grouping information is also in a row vector form, a target cluster corresponding to the equipment characteristic information can be determined in the stored equipment clustering grouping information based on a clustering algorithm, and a target scene division result corresponding to the target cluster is used as the target equipment scene division result.
And the scene group obtaining unit 140 is configured to obtain a target device scene group corresponding to the target device scene division result, and add the device to be accessed to the scene group corresponding to the target device scene group.
In this embodiment, since a plurality of device scene groups corresponding to service scenes, such as an AA1 area monitoring device scene group, an AA2 area temperature measurement device scene group, and an AA3 area smoke monitoring scene group, are stored in the industrial internet of things cloud platform, after determining a target device scene division result of a device to be accessed, the target device scene group can be determined, and the device to be accessed is added to the scene group corresponding to the target device scene group.
In an embodiment, the device access apparatus 100 of the industrial internet of things further includes:
the live-action display unit is used for acquiring live-action display data of each access device included in the target device scene group, and aggregating the live-action display data of each access device in a corresponding page container for display.
In this embodiment, in the industrial internet of things cloud platform, live-action display data of each access device included in each device scene group can be displayed in an aggregation manner. For example, on an interaction page of an industrial internet of things cloud platform, a plurality of device scene groups are displayed. When the scene group of the target equipment is selected to be subjected to scene live-action restoration scene display at the time, live-action display data of each access equipment included in the scene group of the target equipment can be obtained, and the live-action display data of each access equipment are aggregated in a corresponding page container to be displayed. By the mode, the page container is used as a playing carrier to intensively and regionally display the live-action display data of each access device.
For example, N1 access devices (N1 is a positive integer) are included in the target device scene group, and N1 page sub-containers are divided equally in the page containers, so that each page sub-container corresponds to live-action display data of one of the access devices in the target device scene group. Of course, the display weight values corresponding to the N1 access devices in the target device scene group may be correspondingly divided into N1 page sub-containers according to the proportional relation of the display weight values in the page container. Therefore, based on the mode, live-action restoration and aggregation display can be realized on the industrial Internet of things cloud platform.
And the device working state determining unit 150 is configured to determine, if it is determined that the device working data of the device to be monitored is collected by the devices in the group in the target device scene group, a current working state of the device to be monitored based on the device working data.
In this embodiment, after the device to be accessed is added to the scene group corresponding to the target device scene group in the industrial internet of things cloud platform, the target device scene group may specifically monitor the device working data for one or more devices to be monitored. If the equipment in the target equipment scene group is determined to acquire the equipment working data of the equipment to be monitored, the equipment to be monitored is in a state of normally monitored and acquiring working parameters, and the current working state of the equipment to be monitored can be determined specifically based on the equipment working data.
In an embodiment, the device access apparatus 100 of the industrial internet of things further includes:
the fault detection state is used for taking the equipment fault as the current working state of the equipment to be monitored if the equipment working data meets the fault data characteristics;
the fault display unit is used for rendering the fault state identification color corresponding to the equipment to be monitored into the equipment in the target group corresponding to the equipment to be monitored in the page container so as to update the live-action display data of the equipment in the target group.
In this embodiment, if it is determined that the device working data of the device to be monitored meets the fault data feature, it indicates that one or more devices in the target device scene group can correspondingly detect the device working data, at this time, a target page sub-container corresponding to the device to be monitored may be determined in a plurality of page sub-containers in the page container, then the devices in the target group corresponding to each target page sub-container are determined, and finally the frames of the target page sub-containers or the frames of the target page sub-containers are rendered with the fault status identification color, thereby updating the live-action display data of the devices in the target group.
It can be seen that the embodiment of the device can support devices with various communication protocols to join the industrial internet of things, and can accurately group the joined devices.
The above-described device access means of the industrial internet of things may be implemented in the form of a computer program which can be run on a computer device as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer equipment integrates any of the equipment access devices of the industrial Internet of things provided by the embodiment of the invention.
With reference to fig. 5, the computer device includes a processor 402, a memory, and a network interface 405, which are connected by a system bus 401, wherein the memory may include a storage medium 403 and an internal memory 404.
The storage medium 403 may store an operating system 4031 and a computer program 4032. The computer program 4032 includes program instructions that, when executed, cause the processor 402 to perform the above-described device access method of industrial internet of things.
The processor 402 is used to provide computing and control capabilities to support the operation of the overall computer device.
The internal memory 404 provides an environment for the execution of the computer program 4032 in the storage medium 403, which when executed by the processor 402, causes the processor 402 to perform the above-described device access method of the industrial internet of things.
The network interface 405 is used for network communication with other devices. It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The processor 402 is configured to execute the computer program 4032 stored in the memory, so as to implement the device access method of the industrial internet of things as described above.
It should be appreciated that in embodiments of the present invention, the processor 402 may be a central processing unit (Central Processing Unit, CPU), the processor 402 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a computer-readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by the processor, cause the processor to perform the device access method for industrial internet of things as described above.
The computer readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, etc. which may store the program code.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. An industrial internet of things device access method applied to an industrial internet of things cloud platform is characterized by comprising the following steps:
responding to an equipment access request of equipment to be accessed, and acquiring a target equipment type corresponding to the equipment access request;
acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment;
if the equipment to be accessed is determined to be successfully added into the industrial Internet of things corresponding to the industrial Internet of things cloud platform, determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed;
acquiring a target equipment scene group corresponding to the target equipment scene division result, and adding the equipment to be accessed into the scene group corresponding to the target equipment scene group; and
And if the equipment working data of the equipment to be monitored are collected by the equipment in the target equipment scene group, determining the current working state of the equipment to be monitored based on the equipment working data.
2. The method of claim 1, wherein prior to the step of determining a target device scenario division result based on the target device type and the target communication protocol of the device to be accessed, the method further comprises:
acquiring current positioning information of the equipment to be accessed;
constructing equipment characteristic information based on the current positioning information, the type of the target equipment and the target communication protocol;
acquiring cluster grouping information of stored equipment;
the determining a target device scene division result based on the target device type and the target communication protocol of the device to be accessed includes:
acquiring a target cluster of the equipment characteristic information in the stored equipment cluster grouping information based on a pre-stored clustering algorithm;
and obtaining a target scene division result corresponding to the target cluster to serve as the target equipment scene division result.
3. The method according to claim 1, wherein after the step of acquiring a target device scene group corresponding to the target device scene division result and adding the device to be accessed to the scene group corresponding to the target device scene group, the method further comprises:
And acquiring the real scene display data of each access device included in the target device scene group, and aggregating the real scene display data of each access device in a corresponding page container for display.
4. The method of claim 1, wherein the obtaining the target device type corresponding to the device access request comprises:
acquiring a device unique identification code of the device to be accessed;
and analyzing the unique identification code of the equipment to obtain the type of the target equipment.
5. The method of claim 1, wherein the obtaining the corresponding target communication protocol from a local communication protocol library or a communication protocol library obtained from the internet based on the target device type comprises:
if the type of the target equipment is determined to be the sensor type, acquiring the target communication protocol corresponding to the sensor type from the local communication protocol library;
and if the type of the target equipment is determined to be the type of the autonomous execution terminal, acquiring the target communication protocol corresponding to the type of the autonomous execution terminal from the local communication protocol library.
6. The method according to claim 4, wherein after the step of acquiring the target communication protocol corresponding to the sensor type in the local communication protocol library if the target device type is determined to be a sensor type, or after the step of acquiring the target communication protocol corresponding to the autonomously performed terminal type in the local communication protocol library if the target device type is determined to be an autonomously performed terminal type, the method further comprises:
If the target communication protocol is determined to be null, the unique equipment identification code and the target equipment type are sent to a service server, so that the service server obtains the target communication protocol corresponding to the unique equipment identification code and the target equipment type;
and receiving the target communication protocol sent by the service server, and establishing communication connection with the equipment to be accessed based on the target communication protocol.
7. A method according to claim 3, wherein determining the current operating state of the device to be monitored based on the device operating data comprises:
if the equipment working data meets the fault data characteristics, taking the equipment fault as the current working state of the equipment to be monitored;
and rendering the fault state identification color corresponding to the equipment to be monitored into the equipment in the target group corresponding to the equipment to be monitored in the page container so as to update the live-action display data of the equipment in the target group.
8. The utility model provides an equipment access arrangement of industry thing networking, disposes in industry thing networking cloud platform, its characterized in that includes:
the device type acquisition unit is used for responding to a device access request of a device to be accessed and acquiring a target device type corresponding to the device access request;
The communication protocol acquisition unit is used for acquiring a corresponding target communication protocol from a local communication protocol library or a communication protocol library acquired from the Internet based on the type of the target equipment;
the target equipment scene acquisition unit is used for determining a target equipment scene division result based on the target equipment type and the target communication protocol of the equipment to be accessed if the equipment to be accessed is determined to be successfully added into the industrial Internet of things corresponding to the industrial Internet of things cloud platform;
a scene group obtaining unit, configured to obtain a target device scene group corresponding to the target device scene division result, and add the device to be accessed to a scene group corresponding to the target device scene group; and
and the equipment working state determining unit is used for determining the current working state of the equipment to be monitored based on the equipment working data if the equipment working data of the equipment to be monitored are collected by the equipment in the target equipment scene group.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the device access method of the industrial internet of things of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, can implement the device access method of the industrial internet of things of any of claims 1-7.
CN202410177549.1A 2024-02-08 2024-02-08 Device access method, device, equipment and storage medium of industrial Internet of things Active CN117729063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410177549.1A CN117729063B (en) 2024-02-08 2024-02-08 Device access method, device, equipment and storage medium of industrial Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410177549.1A CN117729063B (en) 2024-02-08 2024-02-08 Device access method, device, equipment and storage medium of industrial Internet of things

Publications (2)

Publication Number Publication Date
CN117729063A true CN117729063A (en) 2024-03-19
CN117729063B CN117729063B (en) 2024-04-16

Family

ID=90211023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410177549.1A Active CN117729063B (en) 2024-02-08 2024-02-08 Device access method, device, equipment and storage medium of industrial Internet of things

Country Status (1)

Country Link
CN (1) CN117729063B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079199A (en) * 2021-03-18 2021-07-06 山东渤聚通云计算有限公司 Data acquisition method and device based on industrial equipment and electronic equipment
CN116107290A (en) * 2023-02-16 2023-05-12 广东省工业边缘智能创新中心有限公司 Industrial equipment fault monitoring method, device, system and storage medium
CN116627849A (en) * 2023-07-24 2023-08-22 中邮消费金融有限公司 System test method, device, equipment and storage medium
CN116761144A (en) * 2023-07-03 2023-09-15 北京京东拓先科技有限公司 Method and device for accessing equipment to Internet of things platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079199A (en) * 2021-03-18 2021-07-06 山东渤聚通云计算有限公司 Data acquisition method and device based on industrial equipment and electronic equipment
CN116107290A (en) * 2023-02-16 2023-05-12 广东省工业边缘智能创新中心有限公司 Industrial equipment fault monitoring method, device, system and storage medium
CN116761144A (en) * 2023-07-03 2023-09-15 北京京东拓先科技有限公司 Method and device for accessing equipment to Internet of things platform
CN116627849A (en) * 2023-07-24 2023-08-22 中邮消费金融有限公司 System test method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN117729063B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN109729131B (en) Application request processing method and device and router
CN111178760B (en) Risk monitoring method, risk monitoring device, terminal equipment and computer readable storage medium
CN109635523B (en) Application program detection method and device and computer readable storage medium
CN109005085A (en) A kind of service availability monitoring system, method, device and equipment
US20210405104A1 (en) Automobile battery failure prediction method and system
CN114387762A (en) Building data management method, device, equipment and storage medium
CN106961361A (en) From detection/processing method, apparatus and system
CN111738463A (en) Operation and maintenance method, device, system, electronic equipment and storage medium
CN110673973B (en) Abnormality determination method and device for application programming interface API
JP6223380B2 (en) Relay device and program
CN114095581A (en) Data processing method, system and computer readable storage medium
CN117729063B (en) Device access method, device, equipment and storage medium of industrial Internet of things
CN111465045B (en) AP monitoring method, monitoring server and monitoring system
CN111258854A (en) Model training method, alarm method based on prediction model and related device
CN117148815A (en) Wireless controller fault detection method, device and computer equipment
CN113765850A (en) Internet of things anomaly detection method and device, computing equipment and computer storage medium
CN115904883A (en) RPA flow execution visualization abnormity monitoring method, device and medium
CN116504039A (en) Abnormality identification method and device for indoor equipment and electronic equipment
CN110737565A (en) data monitoring method, device, electronic equipment and storage medium
CN113835961B (en) Alarm information monitoring method, device, server and storage medium
CN111611124A (en) Monitoring equipment analysis method and device, computer device and storage medium
CN114968696A (en) Index monitoring method, electronic equipment and chip system
CN112231194A (en) Index abnormity root analysis method and device and computer readable storage medium
CN111901174A (en) Service state notification method, related device and storage medium
KR102645190B1 (en) Method and apparatus for detecting anomaly of game item acquisition probability

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