CN116471294A - Internet of things access system, method and medium based on object model and rule engine - Google Patents

Internet of things access system, method and medium based on object model and rule engine Download PDF

Info

Publication number
CN116471294A
CN116471294A CN202211091951.5A CN202211091951A CN116471294A CN 116471294 A CN116471294 A CN 116471294A CN 202211091951 A CN202211091951 A CN 202211091951A CN 116471294 A CN116471294 A CN 116471294A
Authority
CN
China
Prior art keywords
internet
things
object model
rule engine
access
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
Application number
CN202211091951.5A
Other languages
Chinese (zh)
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.)
Linewell Software Co Ltd
Original Assignee
Linewell 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 Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN202211091951.5A priority Critical patent/CN116471294A/en
Publication of CN116471294A publication Critical patent/CN116471294A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/12Discovery or management of network topologies
    • 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
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the technical field of Internet of things access, and discloses an Internet of things access system method and medium based on an Internet of things model and a rule engine, comprising a device access gateway, a network component, the Internet of things model, the rule engine, an Internet of things data analysis service and a third party service system, wherein the device access gateway comprises a plurality of Internet of things devices, the network component is connected, the network component comprises an MQTT component, an HTTP component, a TCP component, a CoAP component and a UDP component, the network component is connected with the Internet of things model and the rule engine through an MQ cluster and a Redis cluster, the Internet of things data analysis service is connected with the Internet of things model through the MQ cluster, and the third party service system is connected with the rule engine; the difficult problems of complex diversification and fragmentation of equipment access are solved; the system also provides richer and complete equipment management capability, simplifies the complexity of mass equipment management, shortens the formation period of the business system of the Internet of things, and reduces the research, development, operation and maintenance costs of enterprises.

Description

Internet of things access system, method and medium based on object model and rule engine
Technical Field
The invention belongs to the technical field of Internet of things access, and particularly relates to an Internet of things access system, method and medium based on an Internet of things model and a rule engine.
Background
At present, according to the latest report of IDC of an authoritative research institution, the connection scale of the global Internet of things reaches 300 hundred million in 2020, and the connection quantity of the global Internet of things is estimated to be close to 650 hundred million in 2024, and the annual compound growth is more than 20%. It is worth mentioning that our country is the biggest market of global internet of things, and by 2024, our country's internet of things market expenditure will reach about 3000 million dollars, and the composite growth rate of the next 5 years will reach 13%, and this expenditure becomes the global first big internet of things market over the united states.
Along with the successive export of various policies, the industrial policy system of the Internet of things in China is basically in line, and a good central-ground linkage effect is being formed. Meanwhile, as the top-level design of the smart city in China is basically completed at present, the construction of the smart city is greatly promoted and organized in hundreds of cities in China, and the total investment scale is up to 500 hundred million yuan. The comprehensive promotion of smart city construction necessarily requires that social infrastructure have intelligent ability, and the smart interconnection means of the Internet of things are integrated into the smart city construction, so that everything inserts the wings of the wisdom.
The rapid development of various internet of things related products and solutions provides new opportunities for the market, thereby fundamentally transforming the competitive business environment. More and more enterprises realize product upgrading and even enterprise transformation through the internet of things technology, so that the advanced position is firmly occupied in a large trend.
The popularization speed of the Internet of things is increased, and a plurality of enterprises often face the problems of long technical chain, long technical stability period, mass connection, data storage, access fragmentation, complex equipment management, difficult safety guarantee, small platform capacity and the like in the transformation process of the Internet of things. Aiming at the pain points of the Internet of things, the Internet of things management system based on the Internet of things model and the rule engine provides a series of solving measures. The device and the service can be decoupled according to different service forms, so that various complex scenes and service flows are realized. The difficult problems of complex diversification and fragmentation of equipment access are solved; the system also provides richer and complete equipment management capability, simplifies the management complexity of mass equipment, saves manual operation and improves management efficiency.
Through the above analysis, the problems and defects existing in the prior art are as follows:
the prior art has the disadvantages of long chain, long technology stability period, massive connection, data storage, access fragmentation, complex equipment management, difficult safety guarantee and small platform capacity.
The difficulty of solving the problems and the defects is as follows:
(1) The application system is provided with large-scale sensing equipment access, the equipment quantity can be millions, and the request quantity and the data storage requirement are huge;
(2) The sensing equipment in the application system is multiple and heterogeneous, the communication mode, the transmission protocol, the service data and the like are complex and various, and the technical difficulty and the workload of equipment access are greatly increased.
(3) At present, the application system is cumbersome to dock, and the Internet of things access system based on the object model and the rule engine is adopted to conveniently decouple the perception layer from the application layer, so that the rapid docking with the complex application system is realized.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an Internet of things access system, an Internet of things access method and an Internet of things access medium based on an object model and a rule engine.
The invention is realized in such a way, the system comprises a device access gateway, a network component, an object model, a rule engine, an Internet of things data analysis service and a third party service system, wherein the device access gateway comprises a plurality of Internet of things devices, the network component is connected, the network component comprises an MQTT component, an HTTP component, a TCP component, a CoAP component and a UDP component, the network component is connected with the object model and the rule engine through an MQ cluster and a Redis cluster, the Internet of things data analysis service is connected with the object model through the MQ cluster, and the third party service system is connected with the rule engine.
Further, the system supports various transmission protocols, which are generally responsible for networking and communication between devices within a subnet; the communication protocol is mainly a device communication protocol running on the traditional internet TCP/IP protocol, and is responsible for data exchange and communication of devices through the internet, and the transmission protocol comprises: various cellular networks (2G, 3G, 4G/NB-IoT), wired networks and wireless networks, solving the pain point of access of enterprise heterogeneous network management equipment; the equipment end SDK of a plurality of protocols such as MQTT, coAP, HTTP, HTTPS and the like is provided, so that the real-time requirement of long connection is met, and the low-power consumption requirement of short connection is also met. Providing an equipment end SDK, a driver and the like, and helping different equipment and gateway equipment to access an Internet of things platform; the large-scale distributed deployment is supported, the tens of millions of devices are connected, the hundreds of thousands of QPS requests are processed, the millisecond delay is realized, and the access requirement of mass Internet of things devices can be supported; the SQL-based high-speed rule engine is provided, the complex rule set by a user is supported to filter mass data in real time, the side pressure of an application is reduced, and the customer focuses on service development.
Further, the object model is a digital representation of an entity (internet of things device) in a physical space in an internet of things system, and three dimensions of a dependency, a service and an event describe what the entity can do and can provide what information outwards respectively. The internet of things access system based on the object model and the rules engine supports defining multiple sets of functions (attributes, services and events) for the product. A set of functional definitions is an object model module. The object model modules do not affect each other. The object model module functions, complex equipment modeling in an industrial scene is solved, and equipment with different functions can be conveniently developed under the same product.
For example, the functional attributes of the electric heating fan product include a power switch, a gear (high, medium and low) and indoor temperature, 2 attributes can be added in one module, 3 attributes can be added in another module, and then the functions of the modules are developed for different object models at different equipment ends respectively. At this time, different functions can be realized by different devices under the product.
Further, the rule engine is a capability provided by the internet of things access system, a user sets a corresponding rule for equipment of the access platform, after the condition meets the set rule, the platform triggers a corresponding action to meet the user requirement, the rule engine comprises two types of data forwarding and equipment linkage, and is a background module for processing equipment to report messages and forwarding other components of the internet of things platform, the rule engine can filter the messages based on Topic, extract specified fields and assemble new messages to be forwarded to related components of the internet of things system, and tasks such as storage, calculation and the like of the messages are provided.
Furthermore, the service application system realizes service scenes such as equipment data acquisition, command issuing, equipment management and the like by calling an API (application program interface) provided by the Internet of things access system based on the object model and the rule engine, and simultaneously provides rich APIs and data distribution capacity to meet development requirements of various industry service application systems, so that an Internet of things enterprise can concentrate on development of self application more without putting a working center on environment construction of an equipment access layer, and the problems of complex diversification and fragmentation of equipment access are solved; the system also provides richer and complete equipment management capability, simplifies the complexity of mass equipment management, shortens the formation period of the business system of the Internet of things, and reduces the research, development, operation and maintenance costs of enterprises.
Further, the definition of the product of the internet of things through the object model is that the platform of the internet of things supports defining a plurality of groups of functions (attributes, services and events) for the product, and the set of the group of function definitions is an object model module. The object model modules are not mutually influenced, the object model module functions, complex equipment modeling in an industrial scene is solved, equipment with different functions can be conveniently developed under the same product, the Property (Property) can be read and SET by the equipment, and the GET and SET request modes are supported by the Property. The application system can initiate a request for reading and setting the attribute; the Service (Service), the capability or method that the device can be invoked externally, can set the input parameters and output parameters. What function is provided by the product for cloud call, compared with the attribute, the service can realize more complex business logic through one instruction, such as executing a specific task, the Event (Event), when the device runs, the Event is actively reported to the cloud, the Event generally comprises notification information which needs to be perceived and processed externally, and the Event can comprise a plurality of output parameters.
The invention further aims to provide an information data processing terminal of the Internet of things access system based on the object model and the rule engine.
Another object of the present invention is to provide a mobile device of the internet of things access system based on the object model and the rule engine.
It is another object of the present invention to provide a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to execute the internet of things access system based on the object model and the rules engine.
By combining all the technical schemes, the invention has the advantages and positive effects that: the invention shields various complex equipment interfaces and realizes the quick access of equipment; meanwhile, strong opening capability is provided, and users in the support industry are quickly constructed into various business applications of the Internet of things. The internet of things device can be connected to the Nanwei internet of things platform through a plurality of networks such as a fixed network, 2G/3G/4G/5G, NB-IoT, wiFi and the like, and the platform can report service data to the platform by using various communication protocols and can also issue control commands to the internet of things device; the service application system realizes service scenes such as equipment data acquisition, command issuing, equipment management and the like by calling an API (application program interface) provided by the Internet of things access system based on the object model and the rule engine, and simultaneously provides rich APIs and data distribution capacity to meet development requirements of various business application systems, so that an Internet of things enterprise can concentrate on development of self application more without putting a working center on environment construction of an equipment access layer, and the problems of complex diversification and fragmentation of equipment access are solved; the system also provides richer and complete equipment management capability, simplifies the complexity of mass equipment management, shortens the formation period of the business system of the Internet of things, and reduces the research, development, operation and maintenance costs of enterprises.
The Internet of things access system based on the object model and the rule engine has the following advantages:
(1) The protocol is flexible, the access protocol and the private protocol of the main stream of the IoT are widely supported, and the requirements of various devices and access scenes are met. The traditional method requires enterprise developers to master a plurality of protocols, each protocol is difficult to multiplex, and meanwhile, the maintenance of the multi-protocol is difficult to realize, high in cost and low in efficiency.
(2) The method has the advantages of realizing quick access, realizing multi-network and multi-protocol access, simplifying equipment access difficulty and realizing extremely simple access of the hour-level equipment. The traditional method needs to be input by developers familiar with various languages, and has large development workload and low efficiency.
(3) The method is suitable for wide application scenes, supports the model, abstracts and generalizes the functions of the product to form a standard model, realizes decoupling development of software and hardware, and improves the integration efficiency of the system. The traditional method requires a large amount of developer investment for realizing all functions from zero, and a large amount of extra work is also required when a complete solution is constructed, so that the labor cost is increased.
(4) The system is expandable, and based on the docking of the rule engine with other systems, the storage, calculation and intelligent analysis of mass equipment data can be conveniently, quickly and rapidly realized.
The invention solves the problems and has the following meanings:
(1) The development cost is reduced, the development workload is greatly shortened, and the number of project investment and research personnel can be reduced.
(2) The repeated purchasing investment is reduced, the basic application is built in, the flexible expansion is supported, and the repeated purchasing cost of the software system with the same type and the specific business scene can be reduced by more than 30%.
(3) The project period is shortened, the equipment is integrated and docked, and the efficiency is reduced to the day from the week unit. The device driven docking reference time is 2 hours to 3 days.
(4) And the system quality is improved. The system reliability, stability, safety and instantaneity can be improved to the level of first-line Internet companies.
(5) Facilitating the opening of subsequent extensions. 3 layers of expansion interfaces are reserved, and the full-range expansion of equipment access, system functions and service applications is supported by the mainstream language.
(6) The method is beneficial to promoting project standardization, has system integration attribute and unified interface standard naturally, is highly matched with intelligent system integration service, solves the technical standard of equipment suppliers downwards, and outputs application standard to customers upwards.
(7) Is beneficial to strengthening the core competitiveness. The technical barriers are enhanced, the cost advantage is improved, the project risk is controlled, the production service is created, the industry standard is created, and the core competitiveness of an integrator is integrally enhanced in 5 aspects.
Drawings
Fig. 1 is a network topology schematic diagram of an internet of things access system based on an object model and a rule engine according to an embodiment of the present invention;
fig. 2 is a schematic workflow diagram of an internet of things access system based on an object model and a rule engine according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an object model in an internet of things access system based on the object model and a rule engine according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a rule engine in an internet of things access system based on an object model and the rule engine according to an embodiment of the present invention;
Detailed Description
The present invention will be described in further detail with reference to the following examples in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Aiming at the problems in the prior art, the invention provides an Internet of things access system based on an object model and a rule engine, and the invention is described in detail below with reference to the accompanying drawings.
In the embodiment of the invention, the equipment access gateway provides equipment access capability comprising MQTT, coAP, HTTP, HTTPS and other different communication protocols and different transmission protocols of cellular, NB-IoT, loRaWAN, wi-Fi, and helps different equipment and gateway equipment access to the Internet of things platform;
in the embodiment of the invention, the object model is a digital representation of an entity (such as a sensor, a vehicle-mounted device, a building, a factory and the like) in a physical space in the cloud, and three dimensions of attribute, service and event describe what the entity is, what can do and which information can be provided outwards respectively.
In an embodiment of the invention, attributes (properties), capabilities that can be read and set by the device. Generally used to describe the state of the device as it is running, such as the current ambient temperature read by the ambient monitoring device, etc. The attributes support GET and SET request modes. The application system may initiate a read and set request for the attribute.
In the embodiment of the invention, a Service (Service), a capability or a method of the device capable of being called by the outside, can set an input parameter and an output parameter. What functions the product provides for cloud invocation. In contrast to attributes, services can implement more complex business logic, such as performing a particular task, through one instruction.
In the embodiment of the invention, an Event (Event) is actively reported to the cloud end when the equipment runs. Events typically contain notification information that needs to be externally sensed and processed, and may contain a number of output parameters. For example, information about the completion of a task, or the temperature at which a device fails or alarms, etc., events may be subscribed to and pushed.
In the embodiment of the invention, the rule engine is an important functional module of the access platform of the Internet of things, is an engine for processing complex logic, and mainly performs screening, modification (object analysis), forwarding, operation and the like on data collected by a perception layer to realize decoupling of data logic and upper-layer service.
In the embodiment of the invention, the network component, as an important component of the device access gateway, comprises various transmission protocols, such as: MQTT, HTTP, coAP and UDP, etc.
The object model is a functional description of the device at the cloud, and comprises the attribute, data, service and event of the device. The internet of things platform describes an object model through defining a description language of an object, which is called TSL (Thing Specification Language), and data of reporting equipment can be assembled according to the TSL by adopting a JSON format.
The internet of things access system protocol conversion gateway based on the internet of things model and the rule engine generally comprises three parts:
(1) And accessing a third party protocol. And (5) completing the analysis and authentication of the third party protocol.
(2) And (5) protocol conversion. And is responsible for completing the mutual conversion of the third party protocol data and the platform format data.
And (3) uplink: and converting the third-party protocol data into platform format data, and calling an equipment SDK interface for reporting.
And (3) downlink: and when receiving the downlink data of the platform, converting the downlink data into third-party protocol data and forwarding the third-party protocol data to third-party protocol equipment.
(3) Device SDK. The device provided by the platform is accessed into the SDK, the general function of the gateway is realized, and the user can realize own gateway on the basis.
Main scheme and effect description section:
as shown in fig. 1, the system includes a device access gateway, a network component, an object model, a rule engine, an internet of things data analysis service, and a third party service system, where the device access gateway includes a plurality of internet of things devices, the network component is connected, the network component includes an MQTT component, an HTTP component, a TCP component, a CoAP component, and a UDP component, the network component is connected with the object model, the rule engine is connected with the Redis cluster through the MQ cluster, the internet of things data analysis service is connected with the object model through the MQ cluster, and the third party service system is connected with the rule engine.
Further, the system supports various transmission protocols, which are generally responsible for networking and communication between devices within a subnet; the communication protocol is mainly a device communication protocol running on the traditional internet TCP/IP protocol, and is responsible for data exchange and communication of devices through the internet, and the transmission protocol comprises: various cellular networks (2G, 3G, 4G/NB-IoT), wired networks and wireless networks, solving the pain point of access of enterprise heterogeneous network management equipment; the equipment end SDK of a plurality of protocols such as MQTT, coAP, HTTP, HTTPS and the like is provided, so that the real-time requirement of long connection is met, and the low-power consumption requirement of short connection is also met. Providing an equipment end SDK, a driver and the like, and helping different equipment and gateway equipment to access an Internet of things platform; the large-scale distributed deployment is supported, the tens of millions of devices are connected, the hundreds of thousands of QPS requests are processed, the millisecond delay is realized, and the access requirement of mass Internet of things devices can be supported; the SQL-based high-speed rule engine is provided, the complex rule set by a user is supported to filter mass data in real time, the side pressure of an application is reduced, and the customer focuses on service development.
As shown in fig. 2, the workflow of the present invention is:
step 1: the device access gateway provides network components of a plurality of transmission protocols such as MQTT, coAP, HTTP, TCP, UDP, and the like, thereby meeting the real-time requirement of long connection and the low power consumption requirement of short connection.
Step 2: the object model is a functional description of the device at the cloud, including the attributes, services, and events of the device. The internet of things platform describes an object model by defining a description language of an object, which is called TSL (Thing Specification Language), and the data of the reporting device can be assembled according to the TSL by adopting a JSON format. The internet of things access system thing model supports defining multiple sets of functions (attributes, services, and events) for a product. A set of functional definitions is an object model module. The object model modules do not affect each other. And the device life cycle management function supports the functions of device registration, function definition, data analysis, online debugging, remote configuration, OTA upgrading, real-time monitoring, device grouping, device deletion and the like. Communication with the network components is via MQ clusters and cache clusters.
When the data format of the object model is that the device under the transparent/custom product communicates with the cloud end for the object model data, the internet of things platform is required to call the data analysis script submitted by you, and the data of the uplink object model and the downlink object model are respectively analyzed into the standard JSON format defined by the internet of things access platform and the custom data format of the device.
When the access platform of the Internet of things receives data from equipment, an analysis script is firstly operated, the transmitted data is converted into JSON format data, and then service processing is carried out; before the internet of things platform transmits data to the equipment, the data is converted into a custom format of the equipment through the script, and then the custom format is transmitted to the equipment.
Step 3: the rule engine provides application enabling service, mainly provides service for subscribing data and forwarding data according to rules and conditions for an upper layer or a third party business application system. Including application registration, rules engine, data streaming services, while providing scene linkage, etc. And the access platform of the Internet of things transfers the appointed field of the appointed Topic message to a destination according to the data transfer rule configured by the user, and stores and calculates the appointed field.
Step 4: the data analysis service of the Internet of things is based on an object model, integrates data acquisition, cleaning, storage and analysis of the Internet of things, visualizes, shortens development period and rapidly builds an Internet of things service application system. Device data such as device growth trend statistics, device activation trend statistics, device activity period distribution, device alarm statistics, and the like are mastered in real time. Aiming at the characteristics of the data of the Internet of things, the storage backup, asset management, report analysis, data service and other capabilities of mass data are provided, and the third party business system is helped to more easily mine the value in the data of the Internet of things.
As shown in fig. 3, the definition of the internet of things product is completed through the object model. The internet of things platform supports defining multiple sets of functions (attributes, services, and events) for a product. A set of functional definitions is an object model module. The object model modules do not affect each other. The object model module functions, complex equipment modeling in an industrial scene is solved, and equipment with different functions can be conveniently developed under the same product.
Wherein properties (properties), the device can read and set capabilities. Generally used to describe the state of the device as it is running, such as the current ambient temperature read by the ambient monitoring device, etc. The attributes support GET and SET request modes. The application system may initiate a read and set request for the attribute.
A Service (Service), a capability or method that a device can be invoked externally, an input parameter and an output parameter can be set. What functions the product provides for cloud invocation. In contrast to attributes, services can implement more complex business logic, such as performing a particular task, through one instruction.
Event (Event), when the device runs, the Event is actively reported to the cloud. Events typically contain notification information that needs to be externally sensed and processed, and may contain a number of output parameters. For example, information about the completion of a task, or the temperature at which a device fails or alarms, etc., events may be subscribed to and pushed.
As shown in fig. 4, the rule engine is an important functional module of the platform of the internet of things, is an engine for processing complex logic, and mainly performs screening, modification (object analysis), forwarding, operation and the like on data collected by the perception layer, so as to realize decoupling of data logic and upper-layer services. The rule engine analyzes the business rule, accepts data input, and makes business decisions according to the business rule. By writing business rules, the processing logic of the data can be changed without the need to re-write the code of the application. The rule engine is mainly divided into two sub-functions of data forwarding and equipment scene linkage. The data forwarding realizes the functions of screening and forwarding the data of the sensing layer to other devices or cloud services such as a database, big data analysis and the like, reduces the data processing amount of upper layer application, and then improves the data processing efficiency of the upper layer. And screening and forwarding the data are realized through SQL sentences and a forwarding subscription topic mode. In the scene linkage is a visual programming mode for developing automatic business logic in a rule engine, linkage rules among devices can be defined in a visual mode, and the rules are deployed to a cloud end or an edge end. When the device performs message communication based on the Topic, a rule engine can be used for writing SQL-like sentences to process the data in the Topic, and forwarding rules are configured to forward the processed data to other services, so that the data of the device can be stored and analyzed very conveniently.
The invention discloses an Internet of things access system based on an object model and a rule engine. The popularization speed of the Internet of things is increased, and a plurality of enterprises often face the problems of access fragmentation, complex equipment management, difficult safety assurance, small platform capacity and the like in the transformation process of the Internet of things. Aiming at the pain points of the Internet of things, the Internet of things management system based on the Internet of things model and the rule engine provides a series of solving measures. The difficult problems of complex diversification and fragmentation of equipment access are solved; the system also provides richer and complete equipment management capability, simplifies the management complexity of mass equipment, saves manual operation and improves management efficiency. The object model is a functional description of the device at the cloud, including the attributes, services, and events of the device. The internet of things platform describes an object model by defining a description language of an object, which is called TSL (i.e. Thing Specification Language), and adopts JSON format. The rule engine is an important functional module of the access system of the Internet of things, is an engine for processing complex logic, and is mainly used for processing data collected by a perception layer, so that decoupling of data logic and upper-layer business is realized, and the data forwarding and scene linkage sub-functions are included.
According to the intelligent street lamp, an intelligent street lamp is taken as an example, a real device is replaced by the device simulator of MQTT.fx, and the whole process of reporting data to an Internet of things access system based on an object model and a rule engine and remotely issuing a control command to the device by the device simulator is carried out quickly.
Business process
The MQTT-fx-based experience platform function is to take an MQTT-fx simulator as an example to introduce services such as data reporting, command issuing and the like.
(1) A product is created. Creating a product of the MQTT protocol.
(2) And developing a model of the object. Through the definition object model, a street lamp device is built in the access system of the Internet of things, and the street lamp on-off state command is issued in support of reporting illumination intensity.
(3) The device is registered. And registering a device of the MQTT protocol to experience data reporting service.
(4) Connection authentication. The mqtt.fx is used to activate devices registered on the internet of things access system based on the object model and rules engine.
(5) And (5) reporting data. And reporting the data to the Internet of things platform by using the MQTT.fx.
(6) And issuing a command. And issuing a command and remotely controlling the equipment in the background of the Internet of things access system.
In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more; the terms "upper," "lower," "left," "right," "inner," "outer," "front," "rear," "head," "tail," and the like are used as an orientation or positional relationship based on that shown in the drawings, merely to facilitate description of the invention and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be construed as limiting the invention. Furthermore, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be noted that the embodiments of the present invention can be realized in hardware, software, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or special purpose design hardware. Those of ordinary skill in the art will appreciate that the apparatus and methods described above may be implemented using computer executable instructions and/or embodied in processor control code, such as provided on a carrier medium such as a magnetic disk, CD or DVD-ROM, a programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The device of the present invention and its modules may be implemented by hardware circuitry, such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., as well as software executed by various types of processors, or by a combination of the above hardware circuitry and software, such as firmware.
The foregoing is merely illustrative of specific embodiments of the present invention, and the scope of the invention is not limited thereto, but any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention will be apparent to those skilled in the art within the scope of the present invention.

Claims (9)

1. The Internet of things access system based on the object model and the rule engine is characterized by comprising an equipment access gateway, a network component, an object model, the rule engine, an Internet of things data analysis service and a third party service system, wherein the equipment access gateway comprises a plurality of Internet of things equipment, the network component is connected, the network component comprises an MQTT component, an HTTP component, a TCP component, a CoAP component and a UDP component, the network component is connected with the object model and the rule engine through an MQ cluster and a Redis cluster, the Internet of things data analysis service is connected with the object model through the MQ cluster, and the third party service system is connected with the rule engine; the device access gateway provides device access capability comprising MQTT, coAP, HTTP, HTTPS and other different communication protocols and different transmission protocols of cellular and NB-IoT, loRaWAN, wi-Fi, and helps different devices and gateway devices access the Internet of things platform.
2. The internet of things access system based on an object model and a rules engine of claim 1, wherein the system supports various transmission protocols responsible for networking and communication between devices within a subnet; the communication protocol is mainly a device communication protocol running on the traditional internet TCP/IP protocol and is responsible for data exchange and communication of devices through the internet; the transmission protocol includes: various cellular networks, wired networks and wireless networks, and solves the difficulty of managing equipment access by an enterprise heterogeneous network.
3. The internet of things access system based on an object model and a rule engine according to claim 1, wherein the object model is a digital representation of internet of things equipment in a physical space in the internet of things system, and three dimensions of attribute, service and event describe what the entity is, what can do and which information can be provided externally respectively.
4. The internet of things access system based on the object model and the rule engine according to claim 1, wherein the rule engine is a capability provided by the internet of things access system, a user sets a corresponding rule for a device of an access platform, after the condition meets the set rule, the platform triggers a corresponding action to meet the user requirement, the rule engine comprises two types of data forwarding and device linkage, and is a background module for processing the device to report a message and forwarding other components of the internet of things platform, and the rule engine can filter the message based on Topic, extract specified fields to assemble a new message to be forwarded to related components of the internet of things system, and provide storage and calculation tasks of the message.
5. The internet of things access system based on the object model and the rule engine according to claim 1, wherein the service application system realizes equipment data acquisition, command issuing and equipment management service scene by calling an API provided by the internet of things access system based on the object model and the rule engine, and simultaneously provides rich APIs and data distribution capability to meet development requirements of various industry service application systems.
6. The internet of things access system based on an object model and a rules engine of claim 1, wherein the definition of the internet of things product accomplished by the object model is that an internet of things platform supports defining multiple groups of functions for the product, the set of function definitions;
the application system can initiate a request for reading and setting the attribute;
the service, the ability or method that the apparatus can be invoked by outside, can set up input parameter and output parameter; what function the product provides for cloud invocation, the service can implement more complex business logic through one instruction than the attribute, such as executing a specific task;
the event, when the device runs, is actively reported to the cloud, and the event generally comprises notification information which needs to be perceived and processed externally and comprises a plurality of output parameters.
7. The information data processing terminal of the internet of things access system based on the object model and the rule engine according to any one of claims 1 to 6.
8. A mobile device implementing the internet of things access system based on an object model and a rules engine of any one of claims 1-6.
9. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the internet of things access system based on the object model and the rules engine of any of claims 1-6.
CN202211091951.5A 2022-09-07 2022-09-07 Internet of things access system, method and medium based on object model and rule engine Pending CN116471294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211091951.5A CN116471294A (en) 2022-09-07 2022-09-07 Internet of things access system, method and medium based on object model and rule engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211091951.5A CN116471294A (en) 2022-09-07 2022-09-07 Internet of things access system, method and medium based on object model and rule engine

Publications (1)

Publication Number Publication Date
CN116471294A true CN116471294A (en) 2023-07-21

Family

ID=87177584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211091951.5A Pending CN116471294A (en) 2022-09-07 2022-09-07 Internet of things access system, method and medium based on object model and rule engine

Country Status (1)

Country Link
CN (1) CN116471294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117201550A (en) * 2023-11-03 2023-12-08 深圳市亲邻科技有限公司 Internet of things equipment servitization system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117201550A (en) * 2023-11-03 2023-12-08 深圳市亲邻科技有限公司 Internet of things equipment servitization system
CN117201550B (en) * 2023-11-03 2024-02-06 深圳市亲邻科技有限公司 Internet of things equipment servitization system

Similar Documents

Publication Publication Date Title
Chen Challenges and opportunities of internet of things
CN110933146B (en) Data conversion method and device and server
CN103997532B (en) Agriculture internet-of-things edge middleware system
CN112925646A (en) Electric power data edge calculation system and calculation method
CN112764835A (en) Electric power Internet of things sensing equipment configuration micro-service system and method based on edge calculation
CN106790222B (en) MODBUS/full-interconnection manufacturing network information service adapter and implementation method thereof
CN104049575A (en) Collecting And Delivering Data To A Big Data Machine In A Process Control System
CN104967686A (en) System and design method for constructing plane type 3S intelligent service shop
CN110995859A (en) Intelligent transformer substation supporting platform system based on ubiquitous Internet of things
Cecílio et al. Wireless sensors in heterogeneous networked systems
CN104980525A (en) Pervasive mobile computing frame based on state middleware
Jiang et al. Design of software-defined gateway for industrial interconnection
CN112039983B (en) Method and system for realizing connection middleware of Internet of things equipment
CN114553892A (en) Intelligent lamp pole management method and system
CN116471294A (en) Internet of things access system, method and medium based on object model and rule engine
Zhang et al. Research on the overall architecture of Internet of Things middleware for intelligent industrial parks
CN102088475B (en) System and method for executing combined service with centralized control flow and distributed data flow
Wang et al. Design of IoT-based energy efficiency management system for building ceramics production line
CN111723143A (en) Wisdom building data sharing exchange platform
CN202275310U (en) Intelligent monitor system of cold storage warehouse assembly
Ok et al. A survey of industrial internet of things platforms for establishing centralized data-acquisition middleware: categorization, experiment, and challenges
CN114745409A (en) Remote control method for intelligent Internet of things equipment
CN114282343A (en) Equipment modeling method and system suitable for power Internet of things
US11556100B2 (en) Control method, related device, and system
CN112486666A (en) Model-driven reference architecture method and platform

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