CN113422693A - Model construction method and recognition method of Internet of things equipment and computer equipment - Google Patents
Model construction method and recognition method of Internet of things equipment and computer equipment Download PDFInfo
- Publication number
- CN113422693A CN113422693A CN202110597132.7A CN202110597132A CN113422693A CN 113422693 A CN113422693 A CN 113422693A CN 202110597132 A CN202110597132 A CN 202110597132A CN 113422693 A CN113422693 A CN 113422693A
- Authority
- CN
- China
- Prior art keywords
- equipment
- model
- internet
- things
- attribute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000010276 construction Methods 0.000 title abstract description 13
- 230000006855 networking Effects 0.000 claims abstract description 44
- 230000005477 standard model Effects 0.000 claims abstract description 22
- 238000003860 storage Methods 0.000 claims abstract description 10
- 238000000605 extraction Methods 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 19
- 238000012216 screening Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a model construction method of Internet of things equipment, which comprises the following steps: determining attribute information of a custom model corresponding to each Internet of things device; extracting common attributes of the networking equipment from the attribute information of the custom model corresponding to each piece of Internet of things equipment according to a preset attribute extraction rule; and constructing a standard equipment model according to the common attributes to generate a standard equipment model suitable for each piece of equipment of the Internet of things. The invention also discloses an identification method of the Internet of things equipment, computer equipment and a computer readable storage medium. According to the invention, the standard equipment model is constructed through the attribute information of the custom model corresponding to each Internet of things equipment, the standard equipment model suitable for each Internet of things equipment is generated, and the Internet of things equipment accessed to the Internet is rapidly and automatically analyzed and identified through the standard model library in the subsequent use, so that the workload of manually analyzing the Internet of things equipment is reduced.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a model construction method and an identification method of Internet of things equipment, computer equipment and a computer-readable storage medium.
Background
With the development of the internet of things technology, the application of the internet of things technology in the life of people is very wide, the internet of things equipment is often used in the fields of consumers, businesses, industries, infrastructure and the like, the mainstream internet of things equipment in the current market comprises intelligent equipment such as intelligent homes and intelligent wearable equipment, the internet of things technology realizes real-time sharing of environment and state information between objects and intelligent collection, transmission, processing and execution through the internet of things equipment, but realizes real-time sharing of the environment information and the state information between a plurality of pieces of equipment through the internet of things equipment, and the accessed internet of things equipment needs to be manually analyzed before intelligent collection, transmission, processing and execution, and the workload of the internet of things is increased.
Disclosure of Invention
The invention mainly aims to provide a model construction method and an identification method of Internet of things equipment, computer equipment and a computer readable storage medium, and aims to reduce the workload of manually analyzing the accessed Internet of things equipment.
In order to achieve the above object, the present invention provides a model building method for an internet of things device, where the model building method for an internet of things device includes:
determining attribute information of a custom model corresponding to each Internet of things device;
extracting common attributes of the networking equipment from the attribute information of the custom model corresponding to each piece of Internet of things equipment according to a preset attribute extraction rule;
and constructing a standard equipment model according to the common attributes to generate a standard equipment model suitable for each piece of equipment of the Internet of things.
Optionally, after the step of determining the attribute information of the customized model corresponding to each internet of things device, the method further includes:
identifying type information of each Internet of things device;
and dividing the Internet of things equipment of the same type into Internet of things equipment to be constructed according to the type information.
Optionally, the step of extracting the common attributes of the internet-of-things devices from the attribute information of the customized model corresponding to each piece of internet-of-things device according to a preset attribute extraction rule includes:
acquiring attribute information of a custom model corresponding to each networking device of a to-be-constructed object;
determining the core attribute of each networking device to be constructed according to the attribute information;
and comparing the core attributes of the networking equipment to be constructed, and determining the attribute shared by the networking equipment to be constructed as the common attribute of the networking equipment to be constructed.
Optionally, the attribute information includes a model standard attribute and a model custom attribute, and the step of determining the attribute information of the custom model corresponding to each piece of internet-of-things equipment includes:
when the attribute information is a model standard attribute, searching and acquiring model standard information corresponding to each device of the Internet of things to be constructed from a standard attribute library;
and when the attribute information is the model custom attribute, obtaining the model custom attribute corresponding to the networking equipment of the to-be-constructed object.
Optionally, the step of constructing a standard device model according to the common attributes to generate a standard device model applicable to each internet of things device includes:
acquiring an original model of the networking equipment to be constructed from a standard model library;
constructing an equipment model of the Internet of things equipment according to the common attributes and the original model;
and determining the standard equipment model of the Internet of things equipment to be constructed according to the equipment model.
In addition, in order to achieve the above object, the present invention also provides an internet of things device identification method,
the method for identifying the equipment of the Internet of things comprises the following steps:
acquiring device data corresponding to the Internet of things device to be identified, wherein the Internet of things device data comprises the type and the attribute of the device to be identified;
acquiring a first equipment model corresponding to the to-be-identified Internet of things equipment from a standard model library based on the equipment type, wherein the same equipment type corresponds to the same equipment model;
and acquiring a target equipment model from the first equipment model according to the equipment attribute.
Optionally, the step of obtaining the target device model from the first device model according to the device attribute includes:
screening the first equipment model according to the equipment attribute identification;
and determining the first equipment model meeting a second preset condition as a second equipment model, wherein the second preset condition is that the equipment attribute identifier corresponding to the first equipment model is the same as the equipment attribute identifier of the equipment of the Internet of things to be identified.
Optionally, after the step of determining the first device model meeting the second preset condition as the second device model, the method further includes:
acquiring a parameter value of the equipment attribute identifier of the Internet of things equipment to be identified in a preset time period;
and when the parameter value of the equipment attribute identifier is in a preset range interval, determining the second equipment model as a target equipment model.
Further, to achieve the above object, the present invention also provides a computer apparatus comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for model construction of an internet of things device and/or the method for identification of an internet of things device as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the method for constructing the internet of things device model and/or the steps of identifying the internet of things device as described above.
According to the model construction method, the identification method, the computer equipment and the computer readable storage medium of the Internet of things equipment, the standard equipment model of the Internet of things equipment is constructed through the attribute information of the custom model corresponding to each Internet of things equipment and is stored in the standard model library, the standard equipment model is used for describing the attribute information of the Internet of things equipment, and in subsequent use, the accessed Internet of things equipment is identified through the standard model library, so that the workload of manually identifying the accessed Internet of things equipment is reduced.
Drawings
FIG. 1 is a schematic diagram of a computer device architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a model construction method of internet of things equipment according to a first embodiment of the invention;
fig. 3 is a detailed flowchart of step S20 of the model construction method for internet of things equipment according to the second embodiment of the present invention;
fig. 4 is a detailed flowchart of step S30 of the model construction method for internet of things equipment according to the third embodiment of the present invention;
fig. 5 is a schematic flow chart of a fourth embodiment of the identification method of the internet of things device according to the present invention;
fig. 6 is a detailed flowchart of step S60 of the identification method for internet of things devices according to the fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
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 main solution of the embodiment of the invention is as follows: determining attribute information of a custom model corresponding to each Internet of things device; extracting common attributes of the networking equipment from the attribute information of the custom model corresponding to each piece of Internet of things equipment according to a preset attribute extraction rule; and constructing a standard equipment model according to the common attributes to generate a standard equipment model suitable for each piece of equipment of the Internet of things.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a computer device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the computer apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the computer device architecture depicted in FIG. 1 is not intended to be limiting of computer devices and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a computer program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the computer program stored in the memory 1005 and perform the following operations:
determining attribute information of a custom model corresponding to each Internet of things device;
extracting common attributes of the networking equipment from the attribute information of the custom model corresponding to each piece of Internet of things equipment according to a preset attribute extraction rule;
and constructing a standard equipment model according to the common attributes to generate a standard equipment model suitable for each piece of equipment of the Internet of things.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
identifying type information of each Internet of things device;
and dividing the Internet of things equipment of the same type into Internet of things equipment to be constructed according to the type information.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
acquiring attribute information of a custom model corresponding to each networking device of a to-be-constructed object;
determining the core attribute of each networking device to be constructed according to the attribute information;
and comparing the core attributes of the networking equipment to be constructed, and determining the attribute shared by the networking equipment to be constructed as the common attribute of the networking equipment to be constructed.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
when the attribute information is a model standard attribute, searching and acquiring a model standard attribute corresponding to each to-be-constructed Internet of things device from a standard attribute library;
and when the attribute information is the model custom attribute, obtaining the model custom attribute corresponding to the networking equipment of the to-be-constructed object.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
acquiring an original model of the networking equipment to be constructed from a standard model library;
constructing an equipment model of the Internet of things equipment according to the common attributes and the original model;
and determining the standard equipment model of the Internet of things equipment to be constructed according to the equipment model.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
and uploading the equipment model to the standard model library as a standard model of the networking equipment to be constructed.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
acquiring device data corresponding to the Internet of things device to be identified, wherein the Internet of things device data comprises the type and the attribute of the device to be identified;
acquiring a first equipment model corresponding to the to-be-identified Internet of things equipment from a standard model library based on the equipment type, wherein the same equipment type corresponds to the same equipment model;
and acquiring a target equipment model from the first equipment model according to the equipment attribute.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
screening the first equipment model according to the equipment attribute identification;
and determining the first equipment model meeting a second preset condition as a second equipment model, wherein the second preset condition is that the equipment attribute identifier corresponding to the first equipment model is the same as the equipment attribute identifier of the equipment of the Internet of things to be identified.
Further, the processor 1001 may call the computer program stored in the memory 1005, and also perform the following operations:
acquiring a parameter value of the equipment attribute identifier of the Internet of things equipment to be identified in a preset time period;
and when the parameter value of the equipment attribute identifier is in a preset range interval, determining the second equipment model as a target equipment model.
In the internet of things equipment, a considerable part of equipment is accessed to the internet of things with various characteristics, so that a user can conveniently acquire and analyze data and monitor and control the equipment through a unified terminal or an API (application program interface) provided by the internet of things. Different internet of things devices relate to different services and realize different functions, and the interaction of the internet of things devices and the internet of things devices is different when the internet of things devices communicate with the internet of things. Similar interaction behaviors may be possible for devices of the internet of things with similar services or functions, while interaction behaviors may be different for devices with far-apart functions. For example, temperature and humidity monitoring equipment in a workshop or in a farmland has a working mode of continuously working and regularly and quantitatively returning data, and an alarm is given when an abnormality occurs; the behaviors of household intelligent air conditioners, intelligent chargers and the like are determined by the behavior habits of users of the household intelligent air conditioners, the intelligent chargers and the like in most cases, and have certain randomness. Under the condition, if different equipment can be distinguished to establish the standard equipment model corresponding to each piece of equipment in the internet of things, the analysis amount of the equipment in the internet of things accessed by manpower is greatly reduced. Based on this, an embodiment of the present application provides a model building method for an internet of things device, and with reference to fig. 2, the model building method includes:
step S10, determining attribute information of the custom model corresponding to each Internet of things device;
step S20, extracting common attributes of the internet-of-things devices from the attribute information of the custom model corresponding to each internet-of-things device according to a preset attribute extraction rule;
and step S30, constructing a standard equipment model according to the common attributes to generate a standard equipment model suitable for each piece of Internet of things equipment.
In the embodiment of the application, the equipment model construction method of the internet of things equipment can be applied to computer equipment, and a standard equipment model of the corresponding internet of things equipment is constructed on the computer equipment based on a model frame by acquiring the model frame corresponding to the internet of things equipment stored in the internet of things.
Optionally, different internet of things devices are configured with different customized models, the customized models are customized by manufacturers according to attributes of the internet of things devices, and the object models include attribute information of the internet of things devices. For example, the attribute information of the household electric meter may include static information such as a device model and position information, and may further include state information of the household electric meter during operation, such as a voltage of 220V and a current of 60A, event information reported during operation, linkage information describing a relationship with other internet of things devices, and the like. It can be understood that different internet of things devices are configured with different attribute information, and the attribute information can be used for characterizing technical features of the internet of things devices.
It should be noted that the attribute information includes model standard attribute information and model custom attribute information, and the step S10 includes:
when the attribute information is model standard attribute information, searching and acquiring model standard attribute information corresponding to each device of the Internet of things to be constructed from a standard attribute library;
and when the attribute information is the model custom attribute information, obtaining the model custom attribute information corresponding to the networking equipment of the to-be-constructed object.
The internet of things is provided with a thing model pool, the thing model pool comprises a standard attribute library, the standard attribute library is used for providing model standard attribute information corresponding to public internet of things equipment, and a standard equipment model builder can build a standard equipment model based on the combination of the model standard attribute information.
Optionally, when the attribute information is model custom attribute information, model custom attribute information corresponding to the to-be-built object networking device is acquired.
It should be noted that the attribute information further includes type information corresponding to each internet of things device, and there are multiple different types of internet of things devices in the modern technology, it can be understood that functions of the same type of internet of things device may be the same, and based on this, in order to improve efficiency of model construction, in the embodiment of the present invention, after step S10, the method further includes:
identifying type information of each Internet of things device;
and dividing the Internet of things equipment of the same type into Internet of things equipment to be constructed according to the type information.
Optionally, the attribute information includes type information of each piece of internet-of-things equipment, each piece of internet-of-things equipment is classified according to the type information of each piece of internet-of-things equipment, and the pieces of internet-of-things equipment corresponding to the same type information are determined as pieces of networking equipment to be constructed, that is, the pieces of networking equipment to be constructed are the same in type, for example, the electric meters are also of multiple types, including single-phase single meters, three-phase three-wire electric meters, three-phase four-wire electric meters, and the like. The attribute information corresponding to the same type of internet of things equipment can be different or the same, based on the above, in order to improve the accuracy of model construction, the same type of internet of things equipment to be constructed is further analyzed and integrated, common attributes in the attribute information of the custom model corresponding to each internet of things equipment are extracted, and a standard equipment model of the same type of model to be constructed is established based on the common attributes.
In the embodiment of the invention, before constructing the standard equipment model corresponding to the networking equipment, the attribute information of the custom model corresponding to each piece of the internet of things equipment is acquired, each piece of the internet of things equipment is classified according to the attribute information, the same type of the internet of things equipment is determined as the networking equipment to be constructed, and then the standard equipment model of the networking equipment to be constructed is constructed according to the attribute information of the networking equipment to be constructed. The identification efficiency of the equipment model of the Internet of things equipment is improved.
Optionally, based on fig. 2, the step S20 includes:
step S21, acquiring attribute information of the custom model corresponding to each networking device of the structure to be constructed;
step S22, determining the core attribute of each networking device to be constructed according to the attribute information;
step S23, comparing the core attributes of the Internet of things devices to be constructed, and determining the attribute shared by the Internet of things devices to be constructed as the common attribute of the networking devices to be constructed.
It should be noted that each internet of things device accessing the internet of things communicates through network data, the network data relates to content related to characters, data semantics can be inferred from the character features, different attributes are represented behind different semantics, and the attribute information can be used for representing the internet of things device. The semantic meaning of the character string of the communication data between the Internet of things equipment and the Internet of things is extracted, and the Internet of things equipment model is constructed according to the corresponding relation between different attribute information and the character string.
Optionally, a character string of a custom model corresponding to each networking device of the structure to be built is obtained, the character string of which the character string meets a preset condition is defined as an attribute character string, and the attribute character string records the core attribute of the networking device of the structure to be built. Filtering the attribute character strings of the networking equipment of the structure to be constructed, screening out fields with similar numbers, determining the attribute information corresponding to the fields with the similar numbers as the common attribute of the networking equipment of the structure to be constructed, and further determining the common attribute as the core attribute of the standard equipment model corresponding to the networking equipment of the structure to be constructed.
Alternatively, referring to fig. 4, based on the first embodiment, the S30 includes:
step S31, obtaining the original model of the networking equipment to be constructed from the standard model library;
and S32, constructing an equipment model of the Internet of things equipment according to the common attributes and the original model.
And step S33, determining the standard equipment model of the Internet of things equipment to be constructed according to the equipment model.
In this embodiment of the application, the object model pool includes a standard model library, the standard model library is used for providing a standard warehouse of a standard device model corresponding to the disclosed internet of things device, and a standard model builder can copy or inherit the standard device model in the standard model library.
It should be noted that the original model of the to-be-constructed networked device may be a model stored locally by the computer device, or may be a standard device model corresponding to a previously constructed internet-of-things device, or may be a model corresponding to a published standard model stored in the object model pool.
The original model comprises attribute information of the Internet of things equipment.
Optionally, the constructing of the device model of the internet of things device according to the common attribute and the original model may be constructing of the device model of the internet of things device according to the common attribute of the internet of things device to be constructed, or updating of the standard device model of the internet of things device according to the common attribute of the internet of things device to be constructed and the original model.
The standard model library stores equipment models corresponding to a plurality of pieces of internet-of-things equipment, the equipment models can be updated and upgraded for a plurality of times, and the updated standard equipment models are converted into new standard equipment models of the pieces of internet-of-things equipment to be constructed.
Optionally, adding a version number to the device model of the to-be-constructed internet of things device as a standard device model, and uploading the standard device model to the standard model library. The version number is used to represent a difference between a current standard device model and a previous standard device model (i.e. an original model), where the difference may include deletion of some attribute information, change of a data type, addition of some specific attribute information, and the like.
Further, referring to fig. 5, the method for identifying the internet of things device includes:
step S40, acquiring device data corresponding to the Internet of things device to be identified, wherein the Internet of things device data comprises a device type to be identified and a device attribute;
step S50, acquiring a first equipment model corresponding to the Internet of things equipment to be identified from a standard model library based on the equipment type, wherein the same equipment type corresponds to the same equipment model;
and step S60, acquiring the target equipment model from the first equipment model according to the equipment attribute.
In the embodiment of the invention, when the internet of things equipment is accessed to the internet, the internet of things equipment is determined as the internet of things equipment to be identified. Before analyzing the to-be-identified Internet of things equipment, acquiring equipment data corresponding to the to-be-identified Internet of things equipment, wherein the Internet of things equipment data comprises equipment types and equipment attributes. The device type is used for representing functions realized by the internet of things device, for example, an excavator is one of the device types and is used for industrial production. The device attribute includes a device attribute identifier of the internet of things device and a parameter value corresponding to the device attribute identifier, for example, the electric meter is one of the internet of things device types and is used for representing the amount of electric quantity, the configured device attribute identifier may include voltage, current, end code and the like, and the parameter value is a dynamic parameter value of the electric meter in an operating state, such as voltage of 220V and current of 60A.
It should be noted that standard device models of multiple device types are built in the standard model library, wherein the internet of things devices with the same device type correspond to the standard device models of the same type; and a unique version number may be set for each standard equipment model. After receiving the device data of the internet of things device, a first device model is first made using its device type determination. The first equipment model comprises a plurality of versions of standard equipment models, and equipment attributes of each standard equipment model are different.
In the embodiment of the invention, the standard equipment model is automatically obtained from the standard model library by obtaining the equipment type and the equipment attribute of the equipment of the Internet of things to be identified, so that the workload of manually analyzing the equipment of the Internet of things to be identified after the equipment of the Internet of things is accessed into the Internet of things is reduced.
Optionally, after determining the first device model, a target device model is determined from the first device model based on the device attributes.
Based on the fourth embodiment, referring to fig. 6, the step S60 includes:
step S61, screening the first equipment model according to the equipment attribute;
step S62, determining the first device model meeting a second preset condition as a second device model, where the second preset condition is that a device attribute corresponding to the first device model is the same as a device attribute of the to-be-identified internet-of-things device.
In this embodiment of the application, the first device model includes a plurality of standard device models of the same type, and the built-in device attributes of the plurality of standard device models are different, so in order to further determine the target device attribute, the device attribute of the device of the internet of things to be identified is matched with the device attributes of the plurality of standard device models, it can be understood that the device attribute includes a device attribute identifier and a device attribute identifier parameter value, and each standard device model has a preset and unique device attribute identifier parameter value.
Therefore, in order to determine the standard device model of the to-be-identified internet-of-things device, the corresponding standard device model is matched based on the device attribute of the to-be-identified internet-of-things device, however, in some cases, in the case that the device attributes are the same, the device attribute identifications may be different. For example, in the standard equipment model corresponding to the excavator equipment, AAA (equipment attribute identifier) represents a water temperature value (equipment attribute), jws represents a water temperature value in the equipment attribute of the excavator produced by company a, and wwa represents a water temperature value in the equipment attribute of the excavator produced by company B, but after the internet of things is accessed, AAA forms a mapping relationship with jws and AAA forms a mapping relationship with wwa, so that a new standard equipment model does not need to be developed for each excavator equipment, but the same equipment model is shared by relying on the one-to-many mapping relationship, thereby reducing the research and development workload and improving the work efficiency.
Optionally, a second device model is matched based on a device attribute identifier of the to-be-identified internet-of-things device, where the second device model belongs to the first device model, that is, the to-be-identified internet-of-things device belongs to the same type of internet-of-things device, and the device attribute identifier built in the second device model is the same as the device attribute identifier of the to-be-identified internet-of-things device, for example, the device attribute identifier of the excavator device model a is AAA, BBB, the device attribute identifier of the excavator device model B is CCC, DDD, and the device attribute identifier of the to-be-identified internet-of-things device is AAA, BBB, and then the second device model corresponding to the to-be-identified internet-of-things device is the excavator device model a.
Further, the device attributes further include a device attribute identification parameter value, and after the step S62, the method further includes:
step S63, obtaining the parameter value of the device attribute identification of the Internet of things device to be identified in a preset time period;
and step S64, when the parameter value of the equipment attribute identifier is in a preset range interval, determining the equipment model as a target equipment model.
After the device data of the to-be-identified Internet of things device is analyzed, the parameter value of the Internet of things device based on the device attribute identification is obtained, namely the running state parameter of the Internet of things device, such as a current value, a voltage value, a code stop value, running time and the like.
And when the parameter value of the to-be-recognized Internet of things equipment is in the region range, the standard equipment model is proved to be a matched equipment model of the to-be-recognized Internet of things equipment, and the equipment model is determined to be a target equipment model.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements all the embodiments described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A model building method for Internet of things equipment is characterized by comprising the following steps:
determining attribute information of a custom model corresponding to each Internet of things device;
extracting common attributes of the networking equipment from the attribute information of the custom model corresponding to each piece of Internet of things equipment according to a preset attribute extraction rule;
and constructing a standard equipment model according to the common attributes to generate a standard equipment model suitable for each piece of equipment of the Internet of things.
2. The method for building a model of internet of things equipment according to claim 1, wherein after the step of determining the attribute information of the customized model corresponding to each piece of internet of things equipment, the method further comprises:
identifying type information of each Internet of things device;
and dividing the Internet of things equipment of the same type into Internet of things equipment to be constructed according to the type information.
3. The method for building the model of the internet of things device according to claim 1, wherein the step of extracting the common attributes of the internet of things devices from the attribute information of the customized model corresponding to each internet of things device according to a preset attribute extraction rule comprises:
acquiring attribute information of a custom model corresponding to each networking device of a to-be-constructed object;
determining the core attribute of each networking device to be constructed according to the attribute information;
and comparing the core attributes of the networking equipment to be constructed, and determining the attribute shared by the networking equipment to be constructed as the common attribute of the networking equipment to be constructed.
4. The method for building a model of internet of things equipment according to claim 1, wherein the attribute information includes a model standard attribute and a model custom attribute, and the step of determining the attribute of the custom model corresponding to each internet of things equipment includes:
when the attribute information is a model standard attribute, searching and acquiring a model standard attribute corresponding to each to-be-constructed Internet of things device from a standard attribute library;
and when the attribute information is the model custom attribute, obtaining the model custom attribute corresponding to the networking equipment of the to-be-constructed object.
5. The method for modeling internet of things devices as claimed in claim 1, wherein the step of building a standard device model based on the common attributes to generate a standard device model for each of the internet of things devices comprises:
acquiring an original model of the networking equipment to be constructed from a standard model library;
constructing an equipment model of the Internet of things equipment according to the common attributes and the original model;
and determining the standard equipment model of the Internet of things equipment to be constructed according to the equipment model.
6. An identification method for Internet of things equipment is characterized by comprising the following steps:
acquiring device data corresponding to the Internet of things device to be identified, wherein the Internet of things device data comprises the type and the attribute of the device to be identified;
acquiring a first equipment model corresponding to the to-be-identified Internet of things equipment from a standard model library based on the equipment type, wherein the same equipment type corresponds to the same equipment model;
and acquiring a target equipment model from the first equipment model according to the equipment attribute.
7. The method for identifying internet-of-things devices as claimed in claim 6, wherein the device attribute includes a device attribute identifier, and the step of obtaining the target device model from the first device model according to the device attribute comprises:
screening the first equipment model according to the equipment attribute identification;
and determining the first equipment model meeting a second preset condition as a second equipment model, wherein the second preset condition is that the equipment attribute identifier corresponding to the first equipment model is the same as the equipment attribute identifier of the equipment of the Internet of things to be identified.
8. The method for identifying internet of things devices as claimed in claim 7, wherein after the step of determining the first device model meeting the second preset condition as the second device model, the method further comprises:
acquiring a parameter value of the equipment attribute identifier of the Internet of things equipment to be identified in a preset time period;
and when the parameter value of the equipment attribute identifier is in a preset range interval, determining the second equipment model as a target equipment model.
9. A computer device, characterized in that the computer device comprises: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the internet of things device model building method of any one of claims 1 to 5 and/or the internet of things device identification method of claims 6 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the internet of things device model building method according to any one of claims 1 to 5 and/or the internet of things device identification method according to claims 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110597132.7A CN113422693A (en) | 2021-05-28 | 2021-05-28 | Model construction method and recognition method of Internet of things equipment and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110597132.7A CN113422693A (en) | 2021-05-28 | 2021-05-28 | Model construction method and recognition method of Internet of things equipment and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113422693A true CN113422693A (en) | 2021-09-21 |
Family
ID=77713233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110597132.7A Pending CN113422693A (en) | 2021-05-28 | 2021-05-28 | Model construction method and recognition method of Internet of things equipment and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113422693A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113949676A (en) * | 2021-11-16 | 2022-01-18 | 云知声(上海)智能科技有限公司 | Equipment access method of Internet of things platform |
CN114745284A (en) * | 2022-03-07 | 2022-07-12 | 深圳渊联技术有限公司 | Configuration method and device of industrial Internet of things and computer readable storage medium |
CN114839887A (en) * | 2022-03-23 | 2022-08-02 | 青岛海尔科技有限公司 | Equipment attribute configuration method and device, storage medium and electronic device |
CN114866575A (en) * | 2022-03-31 | 2022-08-05 | 远景智能国际私人投资有限公司 | Management method, device, equipment and storage medium of Internet of things equipment |
CN114912745A (en) * | 2022-03-28 | 2022-08-16 | 杉数科技(北京)有限公司 | Device information management method, device and medium |
CN115333943A (en) * | 2022-08-10 | 2022-11-11 | 中国联合网络通信集团有限公司 | Deterministic network resource configuration system, method, device and storage medium |
CN116112320A (en) * | 2023-04-12 | 2023-05-12 | 广东致盛技术有限公司 | Method and device for constructing edge computing intelligent gateway based on object model |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991764A (en) * | 2015-08-04 | 2015-10-21 | 广东康宝电器股份有限公司 | User interface dynamic generation model of household electric apparatus integrated with universal protocol |
CN107968730A (en) * | 2016-10-19 | 2018-04-27 | 中国电信股份有限公司 | The method and system that monitoring Internet of Things network interface card is stolen |
CN108377207A (en) * | 2018-05-19 | 2018-08-07 | 济南浪潮高新科技投资发展有限公司 | A kind of access of platform of internet of things equipment and configuration method |
CN109040200A (en) * | 2018-07-13 | 2018-12-18 | 深圳绿米联创科技有限公司 | The cut-in method and device of internet of things equipment |
CN109325076A (en) * | 2018-06-07 | 2019-02-12 | 北京百度网讯科技有限公司 | Data managing method, equipment, computer equipment and readable medium in Internet of Things |
CN111917824A (en) * | 2020-06-19 | 2020-11-10 | 深圳奇迹智慧网络有限公司 | Configuration method and device of internet of things equipment, computer equipment and storage medium |
CN112235326A (en) * | 2020-12-15 | 2021-01-15 | 长沙树根互联技术有限公司 | Internet of things equipment data analysis method and device and electronic equipment |
CN112333193A (en) * | 2020-11-06 | 2021-02-05 | 珠海格力电器股份有限公司 | Automatic protocol updating method and system |
-
2021
- 2021-05-28 CN CN202110597132.7A patent/CN113422693A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991764A (en) * | 2015-08-04 | 2015-10-21 | 广东康宝电器股份有限公司 | User interface dynamic generation model of household electric apparatus integrated with universal protocol |
CN107968730A (en) * | 2016-10-19 | 2018-04-27 | 中国电信股份有限公司 | The method and system that monitoring Internet of Things network interface card is stolen |
CN108377207A (en) * | 2018-05-19 | 2018-08-07 | 济南浪潮高新科技投资发展有限公司 | A kind of access of platform of internet of things equipment and configuration method |
CN109325076A (en) * | 2018-06-07 | 2019-02-12 | 北京百度网讯科技有限公司 | Data managing method, equipment, computer equipment and readable medium in Internet of Things |
CN109040200A (en) * | 2018-07-13 | 2018-12-18 | 深圳绿米联创科技有限公司 | The cut-in method and device of internet of things equipment |
CN111917824A (en) * | 2020-06-19 | 2020-11-10 | 深圳奇迹智慧网络有限公司 | Configuration method and device of internet of things equipment, computer equipment and storage medium |
CN112333193A (en) * | 2020-11-06 | 2021-02-05 | 珠海格力电器股份有限公司 | Automatic protocol updating method and system |
CN112235326A (en) * | 2020-12-15 | 2021-01-15 | 长沙树根互联技术有限公司 | Internet of things equipment data analysis method and device and electronic equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113949676A (en) * | 2021-11-16 | 2022-01-18 | 云知声(上海)智能科技有限公司 | Equipment access method of Internet of things platform |
CN114745284A (en) * | 2022-03-07 | 2022-07-12 | 深圳渊联技术有限公司 | Configuration method and device of industrial Internet of things and computer readable storage medium |
CN114839887A (en) * | 2022-03-23 | 2022-08-02 | 青岛海尔科技有限公司 | Equipment attribute configuration method and device, storage medium and electronic device |
CN114912745A (en) * | 2022-03-28 | 2022-08-16 | 杉数科技(北京)有限公司 | Device information management method, device and medium |
CN114866575A (en) * | 2022-03-31 | 2022-08-05 | 远景智能国际私人投资有限公司 | Management method, device, equipment and storage medium of Internet of things equipment |
WO2023191707A1 (en) * | 2022-03-31 | 2023-10-05 | Envision Digital International Pte. Ltd. | Method and apparatus for managing internet of things device, device, and storage medium |
CN115333943A (en) * | 2022-08-10 | 2022-11-11 | 中国联合网络通信集团有限公司 | Deterministic network resource configuration system, method, device and storage medium |
CN116112320A (en) * | 2023-04-12 | 2023-05-12 | 广东致盛技术有限公司 | Method and device for constructing edge computing intelligent gateway based on object model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113422693A (en) | Model construction method and recognition method of Internet of things equipment and computer equipment | |
CN107861870B (en) | Interface test and test data generation method, device, terminal and storage medium | |
KR20180061280A (en) | Engineering tools, systems and modules | |
CN113872691B (en) | Optical cable automatic monitoring management system, method, computer equipment and storage medium | |
US20110016451A1 (en) | Method and system for generating test cases for a software application | |
CN107609028B (en) | Method and device for determining low-efficiency SQL statement | |
CN111722839A (en) | Code generation method and device, electronic equipment and storage medium | |
CN112363694B (en) | Integration method of FMU file, solver running environment and industrial software | |
CN112394908A (en) | Method and device for automatically generating embedded point page, computer equipment and storage medium | |
CN112363695B (en) | PMML file and integration method of runtime environment and industrial software thereof | |
CN111475694A (en) | Data processing method, device, terminal and storage medium | |
CN104182232A (en) | Method for establishing context-aware applications and user terminal | |
CN112363718A (en) | Industrial application integration system based on micro-service architecture | |
CN110704524A (en) | House source recording method, device and equipment and computer readable storage medium | |
CN114020246A (en) | Navigation caliper H5 page layout method, device, equipment and medium | |
CN111414619B (en) | Data security detection method, device, equipment and readable storage medium | |
CN113377372A (en) | Business rule analysis method and device, computer equipment and storage medium | |
CN116244387A (en) | Entity relationship construction method, device, electronic equipment and storage medium | |
CN111581067A (en) | Data acquisition method and device | |
CN113688134B (en) | Visual variable management method, system and equipment based on multidimensional data | |
CN113656391A (en) | Data detection method and device, storage medium and electronic equipment | |
CN107256254B (en) | Industry prosperity index acquisition method, storage device and terminal | |
CN117667607A (en) | Visual buried point method, device and storage medium | |
CN117112341A (en) | Non-invasive quasi-real-time monitoring method and system based on ASM byte code instrumentation | |
CN114416099B (en) | Model integration method based on information physical system and related components |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210921 |