CN114095379B - Rapid modeling method and system based on Internet of things - Google Patents

Rapid modeling method and system based on Internet of things Download PDF

Info

Publication number
CN114095379B
CN114095379B CN202111278376.5A CN202111278376A CN114095379B CN 114095379 B CN114095379 B CN 114095379B CN 202111278376 A CN202111278376 A CN 202111278376A CN 114095379 B CN114095379 B CN 114095379B
Authority
CN
China
Prior art keywords
internet
things
configuration information
gateway
platform
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.)
Active
Application number
CN202111278376.5A
Other languages
Chinese (zh)
Other versions
CN114095379A (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.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software 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 Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202111278376.5A priority Critical patent/CN114095379B/en
Publication of CN114095379A publication Critical patent/CN114095379A/en
Application granted granted Critical
Publication of CN114095379B publication Critical patent/CN114095379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a quick modeling method and system based on the Internet of things, which relate to the technical field of modeling of the Internet of things, and the method comprises the following steps: acquiring configuration information of all accessed terminals through an Internet of things gateway; establishing connection between the Internet of things gateway and an Internet of things platform according to a preset communication protocol; all configuration information is configured on any side of an Internet of things gateway or an Internet of things platform; the Internet of things gateway and the Internet of things platform share the configuration information; and the Internet of things gateway and the Internet of things platform establish a terminal model based on the configuration information. The method has the advantage that the terminal is added to the internet of things platform and the modeling process is convenient and fast.

Description

Rapid modeling method and system based on Internet of things
Technical Field
The application relates to the technical field of modeling of the Internet of things, in particular to a rapid modeling method and system based on the Internet of things.
Background
The internet of things (Internet of Things, IOT for short) is an information carrier based on the internet, a traditional telecommunication network and the like, and is used for collecting any object or process needing monitoring, connection and interaction in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, collecting various needed information such as sound, light, heat, electricity, mechanics, chemistry, biology and positions of the object or process, and realizing ubiquitous connection of the object and people through various possible network access so as to realize intelligent sensing, identification and management of the object or process.
The object model is a data model for describing product functions based on the definition of the internet of things, and is a digital representation of entities (such as sensors, vehicle-mounted devices, buildings, factories and the like) in a physical space in a cloud end, and the definition of the corresponding product functions can be completed through the definition of different dimensions of the object model.
In the method for realizing the Internet of things in the related technology, each terminal device and an Internet of things platform are combined to construct a network architecture based on the Internet of things, service instructions and state data of the terminal device are manually added to the Internet of things platform, and an object model of the terminal device is built, so that the Internet of things of the device and the platform is realized.
With respect to the related art in the above, the inventors consider that there are the following drawbacks: when a large number of terminal devices are required to be added, service instructions and state data of the terminal devices are required to be manually added to the platform of the Internet of things one by one and modeled, so that the data addition and modeling processes are very complicated, and the real-time performance of the platform on access or control of the terminal devices can be influenced.
Disclosure of Invention
In order to overcome the defect that a process of manually adding a large number of terminal devices to an Internet of things platform and modeling is troublesome, the application provides a rapid modeling method and system based on the Internet of things.
In a first aspect, the present application provides a rapid modeling method based on the internet of things, including the following steps:
acquiring configuration information of all accessed terminals through an Internet of things gateway;
establishing connection between the Internet of things gateway and an Internet of things platform according to a preset communication protocol;
all configuration information is configured on any side of the Internet of things gateway or the Internet of things platform;
the Internet of things gateway and the Internet of things platform share the configuration information through the connection;
and the Internet of things gateway and the Internet of things platform establish a terminal model based on the configuration information.
By adopting the technical scheme, the connection between the Internet of things gateway and the Internet of things platform is established, the Internet of things gateway can acquire configuration information of all access terminals, the configuration information can be configured on the Internet of things gateway or the Internet of things platform at the moment, and the configuration information can be shared between the Internet of things gateway and the Internet of things platform through the connection, so that the Internet of things gateway and the Internet of things platform can quickly acquire the modified configuration information or the configuration information of the new terminal no matter whether the platform side actively modifies the configuration information of the terminal or the gateway side adds the new terminal, and a terminal model is established based on the configuration information, thereby completing the Internet of things process of the terminal, the gateway and the platform.
Optionally, the configuration information includes attribute information and service information, and the configuring all the configuration information on any side of the internet of things gateway or the internet of things platform includes the following steps:
classifying the configuration information based on the attribute information to obtain a plurality of configuration information groups;
performing authority setting on the configuration information group according to the priority of the service information;
and configuring the configuration information set by the authority to any side of the Internet of things gateway or the Internet of things platform.
By adopting the technical scheme, the configuration information is classified according to the attribute information, unified management of terminal equipment corresponding to the configuration information with the same attribute is facilitated, the priority of the service information can show the importance of the terminal equipment corresponding to the configuration information in each group after grouping, therefore, the authority is set for the configuration information group of each group according to the priority of the service information, and finally, the configuration information after the group classification and authority setting is configured on the Internet of things gateway or the Internet of things platform.
Optionally, the classifying the configuration information based on the attribute information to obtain a plurality of configuration information groups includes the following steps:
judging whether the attribute information is writable or not;
if the attribute information is writable, the corresponding configuration information is distributed as a first configuration information group;
if the attribute information is not writable, judging whether the attribute information is readable or not;
if the attribute information is readable, the corresponding configuration information is distributed to a second configuration information group;
and if the attribute information is unreadable, distributing the corresponding configuration information into a third configuration information group.
By adopting the technical scheme, the configuration information is classified according to the read-write attribute of the attribute information in the configuration information, whether the attribute information is writable or not is judged first, if so, the configuration information corresponding to the writable and readable attribute information is necessarily readable, and the configuration information is distributed as a first configuration information group; if the attribute information is not writable, judging whether the attribute information is readable or not, distributing the configuration information corresponding to the attribute information which is not writable and readable as a second configuration information group, and distributing the configuration information corresponding to the attribute information which is not writable and not readable as a third configuration information group.
Optionally, the authority setting of the configuration information set according to the priority of the service information includes the following steps:
counting the quantity of configuration information in each configuration information group respectively;
respectively analyzing and acquiring the priority of all service information;
the method comprises the steps of assigning weights from large to small to corresponding priorities according to the order of the grading grades of the priorities from high to low;
calculating weighted average priorities of the respective configuration information groups based on the weights, the grading levels, and the numbers, respectively;
and setting authority of the configuration information group according to the weighted average priority.
By adopting the technical scheme, the higher the priority of the service information is, the more important the corresponding terminal equipment is, the higher the required authority is, and because the configuration information is classified and grouped according to the attribute information, the priority of the service information corresponding to the grouped configuration information groups is different, in order to embody the importance of the corresponding terminal equipment in each configuration information group, the priority of each configuration information group is respectively weighted average calculated by adopting a weighted average algorithm, and finally the authority setting is carried out on the configuration information groups according to the weighted average priority obtained by calculation.
Optionally, the authority setting of the configuration information set according to the weighted average priority includes the following steps:
judging whether the weighted average priority exceeds a preset first level threshold;
if the weighted average priority exceeds a preset first level threshold, setting the corresponding configuration information group as high-level authority;
if the weighted average priority does not exceed a preset first level threshold, judging whether the weighted average priority exceeds a preset second level threshold, wherein the second level threshold is smaller than the first level threshold;
if the weighted average priority exceeds a preset second priority threshold, setting the corresponding configuration information group as a middle priority authority;
and if the weighted average priority does not exceed the preset second level threshold, setting the corresponding configuration information group as low-level authority.
By adopting the technical scheme, the platform or the gateway can allocate the set permission including the high-level permission, the medium-level permission and the low-level permission, so that the weighted average priority is distinguished through the preset first level threshold and the second level threshold, and the weighted average priority higher than the first level threshold is the highest priority because the first level threshold is higher than the second level threshold, and the high-level permission is correspondingly allocated and set; the weighted average priority which is lower than the first level threshold and higher than the second level threshold is medium priority, and medium level authority is correspondingly allocated and set; and the weighted average priority below the second level threshold is the lowest priority, so the corresponding allocation is given a lower level of authority.
Optionally, the sharing the configuration information by the internet of things gateway and the internet of things platform through the connection includes the following steps:
the Internet of things gateway and the Internet of things platform search the configuration information configured by the Internet of things gateway and the Internet of things platform at the same time, and package the searched configuration information into two sharing packages respectively;
the Internet of things gateway and the Internet of things platform mutually send the sharing packet through the connection;
and the Internet of things gateway and the Internet of things platform simultaneously receive the sharing package and perform coverage configuration based on configuration information in the received sharing package.
By adopting the technical scheme, because the two sharing packages respectively contain all the configured configuration information in the Internet of things gateway and the Internet of things platform, when the Internet of things gateway and the Internet of things platform mutually send and receive the sharing packages, the configured configuration information of the opposite side can be received at the same time, and then the configured configuration information of the opposite side is subjected to covering configuration, so that the configuration information which is not configured by the opposite side can be obtained, and if the configuration information which is configured by the opposite side and the own can be obtained, the configuration information is covered, and the Internet of things gateway and the Internet of things platform can mutually share and update all the configuration information in real time through the mutual transmission of the sharing packages.
Optionally, the sharing the configuration information by the internet of things gateway and the internet of things platform through the connection includes the following steps:
respectively counting the configuration quantity of configuration information in the Internet of things gateway and the Internet of things platform;
judging whether the configuration quantity of the Internet of things gateway is larger than that of the Internet of things platform;
if the configuration number of the Internet of things gateway is larger than that of the Internet of things platform, the Internet of things platform scans and acquires configuration information in the Internet of things gateway through the connection;
the Internet of things platform performs coverage configuration based on configuration information in the Internet of things gateway;
if the configuration number of the Internet of things gateway is smaller than that of the Internet of things platform, the Internet of things gateway scans and acquires configuration information in the Internet of things platform through the connection;
and the Internet of things gateway performs coverage configuration based on the configuration information in the Internet of things platform.
By adopting the technical scheme, the configuration quantity of the configuration information in the Internet of things gateway and the Internet of things platform is counted firstly, and then the configuration quantity of which side is compared with the configuration quantity is more, so that the side with the smaller configuration quantity scans and acquires the configuration information of the other side through connection, and the scanned configuration information is subjected to coverage configuration on the side with the smaller configuration quantity, thereby enabling the Internet of things gateway and the Internet of things platform to share each other and update all the configuration information in real time.
In a second aspect, the present application provides a rapid modeling system based on the internet of things, comprising:
the terminal module is used for accessing the terminal and acquiring configuration information of the terminal;
the internet of things module comprises a platform end and a gateway end connected to the terminal module, wherein the gateway end and the platform end are used for configuring the configuration information on any side of the gateway end or the platform end, and the gateway end and the platform end establish a terminal model based on the configuration information;
and the connection module is preset with a communication protocol and is used for establishing connection between the gateway terminal and the platform terminal so that the gateway terminal and the platform terminal share the configuration information.
By adopting the technical scheme, the configuration information of all access terminals is acquired through the terminal module, the connection between the gateway end and the platform end is established through the connection module, the gateway end can acquire all the configuration information through the terminal module, the configuration information can be configured on the gateway end or the platform end at the moment, and the configuration information can be shared between the gateway end and the platform end through the connection, so that the gateway end and the platform end can quickly acquire the modified configuration information or the configuration information of the new terminal no matter whether the platform end actively modifies the configuration information of the terminal or the gateway end adds the new terminal, and a terminal model is established based on the configuration information, thereby completing the Internet of things process of the terminal, the gateway and the platform.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the method comprises the steps that connection between the Internet of things gateway and the Internet of things platform is established, the Internet of things gateway can acquire configuration information of all access terminals, the configuration information can be configured on the Internet of things gateway or the Internet of things platform at the moment, the configuration information can be shared between the Internet of things gateway and the Internet of things platform through connection, and therefore the Internet of things gateway and the Internet of things platform can quickly acquire the modified configuration information or the configuration information of a new terminal no matter whether the platform side actively modifies the configuration information of the terminal or the gateway side adds the new terminal, and a terminal model is established based on the configuration information, so that the Internet of things process of the terminal, the gateway and the platform is completed.
2. Because the two sharing packages respectively contain all the configured configuration information in the Internet of things gateway and the Internet of things platform, when the Internet of things gateway and the Internet of things platform mutually send and receive the sharing packages, the configured configuration information of the opposite side can be received at the same time, and then the configured configuration information of the opposite side is subjected to covering configuration, so that the configuration information which is not configured by the opposite side can be obtained, and if the configuration information which is configured by the opposite side and the own is obtained, the covering is performed, and the Internet of things gateway and the Internet of things platform can mutually share and update all the configuration information in real time through the mutual transmission of the sharing packages.
Drawings
Fig. 1 is a flow chart of a fast modeling method based on the internet of things according to an embodiment of the present application.
Fig. 2 is a flow chart of configuring configuration information in an internet of things gateway or an internet of things platform according to an embodiment of the present application
Fig. 3 is a flow chart illustrating classifying configuration information based on attribute information according to one embodiment of the present application.
Fig. 4 is a flow chart of authority setting on a configuration information set according to a priority of service information according to an embodiment of the present application.
Fig. 5 is a flowchart of authority setting on a configuration information set according to a weighted average priority according to one embodiment of the present application.
Fig. 6 is a schematic flow diagram of sharing configuration information by an internet of things gateway and an internet of things platform according to an embodiment of the present application.
Fig. 7 is a second flow chart of sharing configuration information by an internet of things gateway and an internet of things platform according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below in conjunction with figures 1-7.
The embodiment of the application discloses a rapid modeling method and system based on the Internet of things.
Referring to fig. 1, a rapid modeling method based on the internet of things includes the steps of:
101, acquiring configuration information of all accessed terminals through an Internet of things gateway.
The port of the internet of things gateway is opened, the terminal can be accessed into the internet of things gateway through the port, and when the terminal is accessed into the port, the internet of things gateway can acquire configuration information of the terminal, wherein the terminal can be divided into an application layer, a network layer, a perception layer and other large types.
102, establishing connection between the Internet of things gateway and the Internet of things platform according to a preset communication protocol.
The preset communication protocols comprise an MQTT protocol, a CoAP protocol, an LwM2M protocol and the like.
103, configuring all configuration information on any side of the Internet of things gateway or the Internet of things platform.
104, the internet of things gateway and the internet of things platform share configuration information through connection.
105, the internet of things gateway and the internet of things platform establish a terminal model based on the configuration information.
The implementation principle of the embodiment is as follows:
the method comprises the steps that connection between the Internet of things gateway and the Internet of things platform is established, the Internet of things gateway can acquire configuration information of all access terminals, the configuration information can be configured on the Internet of things gateway or the Internet of things platform at the moment, the configuration information can be shared between the Internet of things gateway and the Internet of things platform through connection, and therefore the Internet of things gateway and the Internet of things platform can quickly acquire the modified configuration information or the configuration information of a new terminal no matter whether the platform side actively modifies the configuration information of the terminal or the gateway side adds the new terminal, and a terminal model is established based on the configuration information, so that the Internet of things process of the terminal, the gateway and the platform is completed.
In step 103 of the embodiment shown in fig. 1, before the configuration information is configured in the internet of things gateway or the internet of things platform, the configuration information may be classified and authority set for convenience in managing the configuration information. And is specifically described in detail by way of the embodiment shown in fig. 2.
Referring to fig. 2, configuring configuration information on an internet of things gateway or an internet of things platform includes the steps of:
the configuration information is classified based on the attribute information 201, and a plurality of configuration information groups are obtained.
The configuration information of the terminal comprises attribute information and service information, wherein the attribute information reflects the readable and setting capability of the corresponding terminal and can be used for expressing the running state of the equipment; the service information reminds the capability of the corresponding terminal that can be called by the outside, and input parameters or output parameters can be set. In addition, the configuration information of part of the terminals also comprises event information, the event information generally comprises notification information which needs to be perceived and processed externally, and the event information reflects the capability of the corresponding terminals to actively report to the internet of things platform.
202, authority setting is carried out on the configuration information group according to the priority of the service information.
203, configuring configuration information after authority setting on any side of the gateway of the internet of things or the platform of the internet of things.
The implementation principle of the embodiment is as follows:
the configuration information is classified according to the attribute information, the priority of the service information can show the importance of the terminal equipment corresponding to the configuration information in each group after grouping, therefore, the authority is set for the configuration information group of each group according to the priority of the service information, and finally, the configuration information after the group classification and the authority setting is configured on the Internet of things gateway or the Internet of things platform, so that unified management of the terminal equipment corresponding to the configuration information is facilitated.
In step 201 of the embodiment shown in fig. 2, since the attribute information in the configuration information includes the read-write attribute of the configuration information, the read-write attribute includes a writable readable attribute, a readable non-writable attribute, and a non-readable non-writable attribute, the configuration information may be classified and grouped according to the read-write attribute. And is specifically described in detail by way of the embodiment shown in fig. 3.
Referring to fig. 3, classifying configuration information based on attribute information to obtain a plurality of configuration information groups includes the steps of:
301, judging whether the attribute information is writable, if so, executing step 302; if not, step 303 is performed.
When the attribute information is writable, the corresponding terminal must be read before being written with the data, so that the readable attribute of the corresponding terminal is not required to be judged.
302, corresponding configuration information is assigned as a first configuration information set.
Wherein the first configuration information group contains all readable and writable configuration information.
303, judging whether the attribute information is readable, if so, executing step 304; if not, step 305 is performed.
304, the corresponding configuration information is assigned as a second configuration information set.
Wherein the second configuration information group contains all the non-writable and readable configuration information.
305, the corresponding configuration information is assigned as a third configuration information group.
Wherein the third configuration information group contains all the configuration information which is not writable and not readable.
The implementation principle of the embodiment is as follows:
classifying the configuration information according to the read-write attribute of the attribute information in the configuration information, judging whether the attribute information is writable or not, if so, reading the attribute information, and distributing the configuration information corresponding to the writable and readable attribute information into a first configuration information group; if the attribute information is not writable, judging whether the attribute information is readable or not, distributing the configuration information corresponding to the attribute information which is not writable and readable as a second configuration information group, and distributing the configuration information corresponding to the attribute information which is not writable and not readable as a third configuration information group.
In step 202 of the embodiment shown in fig. 2, since the priority of the service information in the configuration information may represent the importance of the terminal device corresponding to the configuration information, the authority setting may be performed for the corresponding configuration information group according to the priority of the service information. And is specifically described in detail by way of the embodiment shown in fig. 4.
Referring to fig. 4, authority setting of the configuration information group according to the priority of the service information includes the steps of:
401, respectively counting the quantity of configuration information in each configuration information group.
And 402, analyzing and acquiring the priorities of all the service information respectively.
403, the priorities are assigned a weight from large to small based on the order of the hierarchical levels of the priorities from high to low.
The higher the priority, the greater the assigned weight, for example, assume that the classification level of the priority is one, two, three, four, five, where one is the highest priority, at this time 40% of the weight may be assigned to the first priority, 30% of the weight may be assigned to the second priority, 15% of the weight may be assigned to the third priority, 10% of the weight may be assigned to the fourth priority, and 5% of the weight may be assigned to the fifth priority.
404, calculating weighted average priorities of the respective configuration information groups based on the weights, the hierarchical levels, and the numbers, respectively.
And 405, performing authority setting on the configuration information group according to the weighted average priority.
The implementation principle of the embodiment is as follows:
the higher the priority of the service information is, the more important the corresponding terminal equipment is, the higher the required authority is, and because the configuration information is classified and grouped according to the attribute information, the priority of the service information corresponding to the grouped configuration information groups is different, in order to embody the importance of the corresponding terminal equipment in each configuration information group, the priority of each configuration information group is respectively weighted average calculated by adopting a weighted average algorithm, and finally the authority setting is carried out on the configuration information groups according to the calculated weighted average priority.
In step 405 of the embodiment shown in fig. 4, since the gateway or platform typically classifies the rights into high-level rights, medium-level rights and low-level rights, the weighted average priority may be classified according to a preset threshold, thereby assigning a corresponding rights level. The embodiment shown in fig. 5 is specifically described in detail.
Referring to fig. 5, authority setting of the configuration information group according to the weighted average priority includes the steps of:
501, judging whether the weighted average priority exceeds a preset first level threshold, if so, executing step 502; if the weighted average priority does not exceed the preset first level threshold, step 503 is performed.
502, setting the corresponding configuration information group as high-level authority.
503, judging whether the weighted average priority exceeds a preset second level threshold, if so, executing step 504; if the weighted average priority does not exceed the preset second level threshold, step 505 is performed.
Wherein the preset first level threshold is greater than the preset second level threshold, and the second level threshold is greater than 0.
And 504, setting the corresponding configuration information group as medium-level authority.
505, setting the corresponding configuration information group as low-level authority.
The implementation principle of the embodiment is as follows:
because the first level threshold is higher than the second level threshold, the weighted average priority higher than the first level threshold is the highest priority, and the high level authority is correspondingly allocated and set; the weighted average priority which is lower than the first level threshold and higher than the second level threshold is medium priority, and medium level authority is correspondingly allocated and set; and the weighted average priority below the second level threshold is the lowest priority, so the corresponding allocation is given a lower level of authority.
In step 104 of the embodiment shown in fig. 1, the internet of things gateway and the internet of things platform may share configuration information by connecting and adopting a manner of mutually sending a sharing packet, where the sharing packet includes all the configuration information configured in the internet of things gateway or the internet of things platform. Specifically, the embodiment shown in fig. 6 will be described in detail.
Referring to fig. 6, the internet of things gateway and the internet of things platform share configuration information through connection, including the steps of:
and 601, the Internet of things gateway and the Internet of things platform search the configuration information configured by the Internet of things gateway and the Internet of things platform at the same time, and package the searched configuration information into two sharing packages respectively.
602, the internet of things gateway and the internet of things platform mutually send sharing packets through connection.
603, the gateway of the internet of things and the platform of the internet of things receive the sharing package at the same time, and perform coverage configuration based on configuration information in the received sharing package.
The coverage configuration specifically means that if the received shared packet contains configuration information which is not configured by the shared packet, the configuration information is configured; if the received shared packet contains the self-configured configuration information, the configuration information is covered with the original same configuration information and is reconfigured.
The implementation principle of the embodiment is as follows:
therefore, when the internet of things gateway and the internet of things platform mutually send and receive the sharing package, the configuration information configured by the opposite party can be received at the same time, and then the configuration information configured by the opposite party is subjected to covering configuration, so that the configuration information which is not configured by the opposite party can be obtained, and if the configuration information configured by the opposite party and the gateway are obtained, the covering is performed, and the internet of things gateway and the internet of things platform mutually share and update all the configuration information in real time through the mutual transmission of the sharing package.
In step 104 of the embodiment shown in fig. 1, the internet of things gateway and the internet of things platform may also share configuration information in a scanning acquisition manner, where a side with less configuration information scans a side with more configuration information, and perform coverage configuration after acquiring the configuration information. The embodiment shown in fig. 7 is specifically described in detail.
Referring to fig. 7, the internet of things gateway and the internet of things platform share configuration information through connection, including the steps of:
701, respectively counting configuration quantity of configuration information in the Internet of things gateway and the Internet of things platform.
702, judging whether the configuration number of the internet of things gateways is greater than the configuration number of the internet of things platforms, if the configuration number of the internet of things gateways is greater than the configuration number of the internet of things platforms, executing step 703; if the number of configuration of the gateway of the internet of things is smaller than the number of configuration of the platform of the internet of things, step 705 is executed.
703, the internet of things platform scans and acquires configuration information in the gateway of the internet of things through connection.
704, the internet of things platform performs overlay configuration based on configuration information in the internet of things gateway.
Wherein the overlay configuration is specifically referred to in the detailed description of step 603.
705, the gateway of the internet of things scans and obtains configuration information in the platform of the internet of things through connection.
706, the gateway of the internet of things performs coverage configuration based on the configuration information in the platform of the internet of things.
Wherein the overlay configuration is specifically referred to in the detailed description of step 603.
The implementation principle of the embodiment is as follows:
the side with the smaller configuration number scans and acquires the configuration information of the other side through the connection, and the scanned configuration information is subjected to coverage configuration on the side with the smaller configuration number, so that the Internet of things gateway and the Internet of things platform can share each other and update all the configuration information in real time.
The embodiment of the application also discloses a quick modeling system based on the internet of things, comprising:
the terminal module is used for accessing the terminal and acquiring configuration information of the terminal;
the internet of things module comprises a platform end and a gateway end connected to the terminal module, and is used for configuring configuration information on any side of the gateway end or the platform end, and the gateway end and the platform end both establish a terminal model based on the configuration information;
and the connection module is preset with a communication protocol and is used for establishing connection between the gateway end and the platform end so as to enable the gateway end and the platform end to share configuration information.
The implementation principle of the embodiment is as follows:
the configuration information of all access terminals is acquired through the terminal module, the connection between the gateway terminal and the platform terminal is established through the connection module, the gateway terminal can acquire all the configuration information through the terminal module, the configuration information can be configured on the gateway terminal or the platform terminal at the moment, and the configuration information can be shared between the gateway terminal and the platform terminal through the connection, so that the gateway terminal and the platform terminal can quickly acquire the modified configuration information or the configuration information of the new terminal no matter whether the platform terminal actively modifies the configuration information of the terminal or the gateway terminal adds the new terminal, and a terminal model is established based on the configuration information, thereby completing the internet of things process of the terminal, the gateway and the platform.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (7)

1. A rapid modeling method based on the Internet of things is characterized by comprising the following steps:
acquiring configuration information of all accessed terminals through an Internet of things gateway;
establishing connection between the Internet of things gateway and an Internet of things platform according to a preset communication protocol;
all configuration information is configured on any side of the Internet of things gateway or the Internet of things platform;
the Internet of things gateway and the Internet of things platform share the configuration information;
the Internet of things gateway and the Internet of things platform establish a terminal model based on the configuration information;
the configuration information comprises attribute information and service information, and the configuration of all the configuration information on any side of the internet of things gateway or the internet of things platform comprises the following steps:
classifying the configuration information based on the attribute information to obtain a plurality of configuration information groups;
performing authority setting on the configuration information group according to the priority of the service information;
and configuring the configuration information set by the authority to any side of the Internet of things gateway or the Internet of things platform.
2. The method for rapid modeling based on internet of things according to claim 1, wherein the classifying the configuration information based on the attribute information to obtain a plurality of configuration information sets comprises the steps of:
judging whether the attribute information is writable or not;
if the attribute information is writable, the corresponding configuration information is distributed as a first configuration information group;
if the attribute information is not writable, judging whether the attribute information is readable or not;
if the attribute information is readable, the corresponding configuration information is distributed to a second configuration information group;
and if the attribute information is unreadable, distributing the corresponding configuration information into a third configuration information group.
3. The method for rapid modeling based on internet of things according to claim 1, wherein the authority setting of the configuration information group according to the priority of the service information comprises the steps of:
counting the quantity of configuration information in each configuration information group respectively;
respectively analyzing and acquiring the priority of all service information;
the method comprises the steps of assigning weights from large to small to corresponding priorities according to the order of the grading grades of the priorities from high to low;
calculating weighted average priorities of the respective configuration information groups based on the weights, the grading levels, and the numbers, respectively;
and setting authority of the configuration information group according to the weighted average priority.
4. A method for rapid modeling based on internet of things according to claim 3, wherein said authority setting of said configuration information set according to said weighted average priority comprises the steps of:
judging whether the weighted average priority exceeds a preset first level threshold;
if the weighted average priority exceeds a preset first level threshold, setting the corresponding configuration information group as high-level authority;
if the weighted average priority does not exceed a preset first level threshold, judging whether the weighted average priority exceeds a preset second level threshold, wherein the second level threshold is smaller than the first level threshold;
if the weighted average priority exceeds a preset second priority threshold, setting the corresponding configuration information group as a middle priority authority;
and if the weighted average priority does not exceed the preset second level threshold, setting the corresponding configuration information group as low-level authority.
5. The method for rapid modeling based on the internet of things according to claim 1, wherein the sharing of the configuration information by the internet of things gateway and the internet of things platform comprises the following steps:
the Internet of things gateway and the Internet of things platform search the configuration information configured by the Internet of things gateway and the Internet of things platform at the same time, and package the searched configuration information into two sharing packages respectively;
the Internet of things gateway and the Internet of things platform mutually send the sharing packet through the connection;
and the Internet of things gateway and the Internet of things platform simultaneously receive the sharing package and perform coverage configuration based on configuration information in the received sharing package.
6. The method for rapid modeling based on the internet of things according to claim 1, wherein the gateway of the internet of things and the platform of the internet of things share the configuration information through the connection, comprising the steps of:
respectively counting the configuration quantity of configuration information in the Internet of things gateway and the Internet of things platform;
judging whether the configuration quantity of the Internet of things gateway is larger than that of the Internet of things platform;
if the configuration number of the Internet of things gateway is larger than that of the Internet of things platform, the Internet of things platform scans and acquires configuration information in the Internet of things gateway through the connection;
the Internet of things platform performs coverage configuration based on configuration information in the Internet of things gateway;
if the configuration number of the Internet of things gateway is smaller than that of the Internet of things platform, the Internet of things gateway scans and acquires configuration information in the Internet of things platform through the connection;
and the Internet of things gateway performs coverage configuration based on the configuration information in the Internet of things platform.
7. A rapid modeling system based on the internet of things, which is applied to the rapid modeling method based on the internet of things as claimed in claims 1 to 6, and is characterized by comprising:
the terminal module is used for accessing the terminal and acquiring configuration information of the terminal;
the internet of things module comprises a platform end and a gateway end connected to the terminal module, wherein the gateway end and the platform end are used for configuring the configuration information on any side of the gateway end or the platform end, and the gateway end and the platform end establish a terminal model based on the configuration information;
and the connection module is preset with a communication protocol and is used for establishing connection between the gateway terminal and the platform terminal so that the gateway terminal and the platform terminal share the configuration information.
CN202111278376.5A 2021-10-30 2021-10-30 Rapid modeling method and system based on Internet of things Active CN114095379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111278376.5A CN114095379B (en) 2021-10-30 2021-10-30 Rapid modeling method and system based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111278376.5A CN114095379B (en) 2021-10-30 2021-10-30 Rapid modeling method and system based on Internet of things

Publications (2)

Publication Number Publication Date
CN114095379A CN114095379A (en) 2022-02-25
CN114095379B true CN114095379B (en) 2023-07-18

Family

ID=80298475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111278376.5A Active CN114095379B (en) 2021-10-30 2021-10-30 Rapid modeling method and system based on Internet of things

Country Status (1)

Country Link
CN (1) CN114095379B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933156A (en) * 2016-05-30 2016-09-07 宁波萨瑞通讯有限公司 Configuration method of mobile terminal
CN108377199A (en) * 2017-01-31 2018-08-07 慧与发展有限责任合伙企业 Shared strategy related with configuration item and configuration information
CN109379430A (en) * 2018-11-30 2019-02-22 四川芯波智创物联技术有限公司 A kind of shared platform that is full of altogether of " Internet of Things+" industry ecosphere
CN112152969A (en) * 2019-06-27 2020-12-29 北京微云智联科技有限公司 Internet of things gateway and method for accessing Internet of things equipment into gateway
CN113015165A (en) * 2021-03-11 2021-06-22 青岛海信智能商用系统股份有限公司 Internet of things platform device access method, device and system
CN113364820A (en) * 2020-03-04 2021-09-07 青岛海尔空调电子有限公司 Equipment control method and device of Internet of things service system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315994A (en) * 2011-07-27 2012-01-11 中国联合网络通信集团有限公司 Equipment configuration method, home gateway, remote management platform and communication system
CN104683195A (en) * 2015-02-28 2015-06-03 大连鼎创科技开发有限公司 Configuration method of equipment to be configured in intelligent household system
WO2018004643A1 (en) * 2016-07-01 2018-01-04 Intel Corporation Automated configuration of machine-to-machine systems
CN108390926A (en) * 2018-02-09 2018-08-10 成都欧督系统科技有限公司 terminal control method for internet of things
CN109905409A (en) * 2019-04-10 2019-06-18 上海上实龙创智慧能源科技股份有限公司 Things-internet gateway real time bidirectional communication system based on Socket.IO
CN110224878A (en) * 2019-06-28 2019-09-10 北京金山云网络技术有限公司 Gateway configures update method, device and server
CN110365758A (en) * 2019-07-04 2019-10-22 绿漫科技有限公司 A kind of things-internet gateway system of protocol self-adapting
CN111770553A (en) * 2020-06-22 2020-10-13 深圳中兴网信科技有限公司 Internet of things equipment access system and method, electronic equipment and storage medium
CN112506705B (en) * 2020-12-05 2022-04-12 广州技象科技有限公司 Distributed storage configuration information backup method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933156A (en) * 2016-05-30 2016-09-07 宁波萨瑞通讯有限公司 Configuration method of mobile terminal
CN108377199A (en) * 2017-01-31 2018-08-07 慧与发展有限责任合伙企业 Shared strategy related with configuration item and configuration information
CN109379430A (en) * 2018-11-30 2019-02-22 四川芯波智创物联技术有限公司 A kind of shared platform that is full of altogether of " Internet of Things+" industry ecosphere
CN112152969A (en) * 2019-06-27 2020-12-29 北京微云智联科技有限公司 Internet of things gateway and method for accessing Internet of things equipment into gateway
CN113364820A (en) * 2020-03-04 2021-09-07 青岛海尔空调电子有限公司 Equipment control method and device of Internet of things service system
CN113015165A (en) * 2021-03-11 2021-06-22 青岛海信智能商用系统股份有限公司 Internet of things platform device access method, device and system

Also Published As

Publication number Publication date
CN114095379A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN102802139A (en) Gateway data adapting system and method of Internet of Things
CN113301288B (en) Traffic monitoring video resource integration method, system, platform and storage medium
CN111552570B (en) Self-adaptive distribution method of data processing resources of Internet of things and cloud computing server
CN113326946A (en) Method, device and storage medium for updating application recognition model
CN112465359A (en) Calculation power calling method and device
CN101005484A (en) Systems and methods for passing network traffic data
CN103731870A (en) Management method and device for monitoring tasks
CN109067871B (en) Electric power ubiquitous intelligent cloud architecture
CN111932200A (en) Remote bidding evaluation system
CN101227327B (en) Method for concentrating network managing system and uploading lower level alarm information
CN114448755A (en) Data transmission method, data transmission device, computer equipment and computer readable storage medium
CN114095379B (en) Rapid modeling method and system based on Internet of things
JP6970788B2 (en) Data transmission method
CN109413192A (en) Data processing method, device, server and readable storage medium storing program for executing
CN111752675B (en) Internet of things platform based on containerization technology
KR102206847B1 (en) System and method for hybrid security
Zhao et al. [Retracted] The Application of a Computer Monitoring System Using IoT Technology
CN115794423A (en) Management method and device of intelligent machine room, electronic equipment and storage medium
CN110708351A (en) Data transmission method
CN117834454B (en) Internet of things equipment protocol adaptive quick access method
Narang Mentor's Musings on the Role of Standards in Improving the Privacy, Trust and Reputation Management in Internet of Vehicles (IoV)
CN107222850A (en) PDA emergency commading systems
CN114785840B (en) Database management system applied to industrial Internet and control method thereof
CN210780867U (en) Intelligent terminal access system based on Internet of things
WO2022135373A1 (en) Method for requesting network resource, and related device thereof

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