CN111787064B - Expert system-based Internet of things linkage control method and system - Google Patents

Expert system-based Internet of things linkage control method and system Download PDF

Info

Publication number
CN111787064B
CN111787064B CN202010498450.3A CN202010498450A CN111787064B CN 111787064 B CN111787064 B CN 111787064B CN 202010498450 A CN202010498450 A CN 202010498450A CN 111787064 B CN111787064 B CN 111787064B
Authority
CN
China
Prior art keywords
internet
things
equipment
control
association
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
CN202010498450.3A
Other languages
Chinese (zh)
Other versions
CN111787064A (en
Inventor
江丽芳
吴旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coocaa Network Technology Co Ltd
Original Assignee
Shenzhen Coocaa Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Coocaa Network Technology Co Ltd filed Critical Shenzhen Coocaa Network Technology Co Ltd
Priority to CN202010498450.3A priority Critical patent/CN111787064B/en
Publication of CN111787064A publication Critical patent/CN111787064A/en
Application granted granted Critical
Publication of CN111787064B publication Critical patent/CN111787064B/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
    • 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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an expert system-based Internet of things linkage control method and system, wherein the method comprises the following steps: establishing a device attribute knowledge base to comprehensively describe and model the Internet of things device; constructing a rule knowledge base for use and control of the Internet of things equipment to carry out linkage control on the Internet of things equipment; constructing an association group of the Internet of things equipment to control the Internet of things equipment in a regional manner; constructing an reasoning engine to complete a reasoning process; receiving current running state and running environment state parameters sent by the Internet of things equipment, and acquiring a linkage control rule under the current condition; the control strategy fed back by the reasoning engine is sent to the terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function; and sending the reasoning reasons of the control strategy to the user, and receiving the application conditions of the correction related strategies fed back by the user according to the running state of the Internet of things equipment after the control strategy is executed, so that the automatic linkage control of the whole intelligent home is realized.

Description

Expert system-based Internet of things linkage control method and system
Technical Field
The invention relates to the technical field of the Internet of things, in particular to an Internet of things linkage control method, system and storage medium based on an expert system.
Background
Expert systems are intelligent computer program systems that contain a large amount of expert-level knowledge and experience in a field that can be used to address problems in the field using human expert knowledge and methods for solving the problem. That is, the expert system is a program system having a great deal of expertise and experience, which uses artificial intelligence technology and computer technology to make inferences and judgments based on knowledge and experience provided by one or more experts in a field, and simulates a decision process of human experts so as to solve complex problems requiring the human experts to deal with, and in short, is a computer program system simulating the human experts to solve the field problems.
The field of the Internet of things is vigorously developed, a large number of novel sensors and intelligent devices are accelerated, and the intelligent sensor is widely applied. The operation of the intelligent device at the present stage mainly reflects a passive control mode initiated by a user, namely, man-machine interaction is carried out through a remote controller, an intelligent APP or a voice dialogue and other modes. In addition, because the equipment platforms are not uniform and the equipment is not compatible, the methods have the defects that the control modes are easy to be mutually interfered, one machine is used for control, the interaction channel is complex, the linkage control cannot be realized, and the intelligent collaborative linkage control of the equipment of the Internet of things cannot be realized.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention mainly aims to provide an expert system-based Internet of things linkage control method, an expert system-based Internet of things linkage control system and a storage medium, and aims to solve the problem that intelligent collaborative linkage control of Internet of things equipment cannot be achieved in the prior art.
In order to achieve the above purpose, the present invention provides an expert system-based internet of things linkage control method, which comprises the following steps:
establishing a device attribute knowledge base for comprehensively describing and modeling the Internet of things device;
constructing a rule knowledge base for use and control of the Internet of things equipment, and realizing linkage control of the Internet of things equipment;
constructing an association group of the Internet of things equipment, and carrying out regional control on the Internet of things equipment according to the type of the association group;
constructing an inference engine, matching facts and data with rules in a cloud knowledge base through the inference engine, and eliminating conflict rules according to certain inference rules and algorithms to complete an inference process;
receiving the current running state and running environment state parameters sent by the Internet of things equipment, and acquiring a linkage control rule under the current condition through the reasoning engine;
the control strategy fed back by the reasoning engine is sent to the corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function;
and sending the reasoning reasons of the control strategy to a user, and receiving the application conditions of the correction related strategies fed back by the user according to the running state of the Internet of things equipment after the control strategy is executed.
Optionally, in the expert system-based internet of things coordinated control method, the attribute of modeling the internet of things device includes: device status information, electrical attributes, safe use range conditions, location information of the device, and environmental information of the device.
Optionally, in the expert system-based internet of things coordinated control method, the rule knowledge base construction mode includes: the cloud platform operators extract the operation parameters of the Internet of things equipment under different conditions according to comprehensive manual analysis data of the equipment operation data, and relevant field experts summarize and generalize the operation parameters of the Internet of things equipment under different conditions according to self field knowledge to form a control rule with a definite limit.
Optionally, in the expert system-based internet of things coordinated control method, the coordinated control is a rule controlling a plurality of parameters of a plurality of internet of things devices.
Optionally, in the expert system-based internet of things coordinated control method, the type of the association group includes: a full house association group, a sub-room association group, and a full house sub-room association group.
Optionally, in the expert system-based internet of things linkage control method, the whole-house association group is used for setting whole-house internet of things equipment into a large association group, optimizing equipment linkage strategies based on the large association group, and performing whole-house equipment linkage;
the sub-room association groups are used for dividing the whole room, and the association groups are divided aiming at the Internet of things equipment in each room;
the whole house sub-room association group is used for carrying out whole house association control on the basis of the sub-room association group, and carrying out whole house intermodal control by taking the group as a unit.
Optionally, in the expert system-based internet of things coordinated control method, the receiving the current running state and running environment state parameters sent by the internet of things device, acquiring, by the inference engine, a coordinated control rule under a current condition, further includes:
and setting a device cache layer, and putting the control strategies with the same or similar parameters into the device cache layer by the reasoning engine for storage.
Optionally, in the expert system-based internet of things coordinated control method, the acquiring, by the inference engine, the coordinated control rule under the current condition further includes:
and inquiring whether the control strategy with the same condition exists in the equipment cache layer, if so, directly using the control strategy, and if not, requesting the reasoning engine to acquire the control strategy.
In addition, in order to achieve the above purpose, the present invention further provides an internet of things linkage control system based on an expert system, wherein the system comprises: the system comprises an Internet of things cloud platform, a plurality of Internet of things devices connected with the Internet of things cloud platform, and an expert system connected with the Internet of things cloud platform, wherein the expert system comprises an inference engine, a device attribute knowledge base and a rule knowledge base which are constructed according to the Internet of things devices;
the equipment attribute knowledge base is used for comprehensively describing and modeling the equipment of the Internet of things; the rule knowledge base is used for realizing linkage control of the Internet of things equipment;
pre-constructing association groups of a plurality of Internet of things devices, and carrying out regional control on the Internet of things devices by the Internet of things cloud platform according to the types of the association groups;
the reasoning engine is used for matching facts, data and rules in the cloud knowledge base, and eliminating conflict rules according to certain reasoning rules and algorithms to complete the reasoning process;
the Internet of things cloud platform is used for receiving the current running state and running environment state parameters sent by the Internet of things equipment and acquiring a linkage control rule under the current condition through the reasoning engine;
the cloud platform of the Internet of things sends a control strategy fed back by the reasoning engine to a corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function;
and the Internet of things cloud platform sends the reasoning reasons of the control strategy to a user, and the user corrects the related strategy application conditions according to the running state feedback of the Internet of things equipment after the control strategy is executed.
In addition, in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores an internet of things linkage control program based on an expert system, and the internet of things linkage control program based on the expert system realizes the steps of the internet of things linkage control method based on the expert system as described above when being executed by a processor.
The method is used for comprehensively describing and modeling the Internet of things equipment by establishing the equipment attribute knowledge base; constructing a rule knowledge base for use and control of the Internet of things equipment, and realizing linkage control of the Internet of things equipment; constructing an association group of the Internet of things equipment, and carrying out regional control on the Internet of things equipment according to the type of the association group; constructing an inference engine, matching facts and data with rules in a cloud knowledge base through the inference engine, and eliminating conflict rules according to certain inference rules and algorithms to complete an inference process; receiving the current running state and running environment state parameters sent by the Internet of things equipment, and acquiring a linkage control rule under the current condition through the reasoning engine; the control strategy fed back by the reasoning engine is sent to the corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function; and sending the reasoning reasons of the control strategy to a user, and receiving the application conditions of the correction related strategies fed back by the user according to the running state of the Internet of things equipment after the control strategy is executed. According to the intelligent home control system, the expert system is utilized to automatically control the intelligent home of the whole house in a linkage mode.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the expert system based Internet of things coordinated control method of the present invention;
FIG. 2 is a basic schematic diagram of a preferred embodiment of the expert system-based Internet of things coordinated control method of the present invention;
fig. 3 is a schematic diagram of an operation environment of a preferred embodiment of the expert system-based internet of things coordinated control system of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. 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.
According to the expert system-based Internet of things linkage control method disclosed by the preferred embodiment of the invention, as shown in fig. 1, the expert system-based Internet of things linkage control method comprises the following steps:
and S10, establishing a device attribute knowledge base for comprehensively describing and modeling the Internet of things device.
Specifically, a device attribute knowledge base is established, so that more comprehensive description and modeling of intelligent Internet of things devices are formed. The attributes used for modeling include device status information, electrical attributes, safe use range conditions, location information of the device, environmental information of the device (e.g., parameters such as temperature, etc.), and the like.
The mode of acquiring the attribute (parameter) mainly comprises two stages, wherein in the first stage, the attribute (parameter) is determined when the equipment of the Internet of things leaves the factory, such as equipment state information, electrical attribute and safe use range condition, and clear data can be acquired when the equipment of the Internet of things leaves the factory; and in the second stage, when the Internet of things equipment is installed or used by a user, the Internet of things equipment actively registers with the cloud server, and the equipment using environment parameters can be reported to the cloud server. The uploading strategy of the second stage can be divided into intermittence and real-time, wherein the intermittence is suitable for the situation that the equipment only needs to report parameters for a limited time in a longer period; the real-time performance is suitable for the situation that the equipment needs to report parameters frequently for many times in a short time so as to realize the effect of reporting in real time.
And S20, constructing a rule knowledge base for using and controlling the Internet of things equipment, and realizing linkage control of the Internet of things equipment.
Specifically, a rule knowledge base for using and controlling the Internet of things equipment is constructed, and the rule knowledge base is mainly obtained by comprehensively and manually analyzing data according to equipment operation data and the like through cloud platform operators so as to extract the data; or the expert in the related field summarizes and generalizes the operation parameters of the equipment under different conditions according to the knowledge of the field of the expert in the related field to form a control rule with a definite limit.
For example: when the environment is 30 degrees or more, then the indoor air conditioning temperature should be maintained at 26 degrees. The control rule may be divided into a one-to-one mode and a one-to-many mode, where a one-to-one mode is a rule that controls only a plurality of parameters of one device (i.e., the case of one or more parameters of the same device, while a plurality of devices of the same type are considered as a plurality of different devices), for example: when the environment is 30 degrees or more, then the indoor air conditioning temperature should be maintained at 26 degrees and a medium-level wind speed is used; a pair of multiple modes is (i.e., coordinated control mode) a rule that can control multiple parameters of multiple devices (i.e., multiple devices each having multiple parameters), for example, when the environment is greater than or equal to 30 degrees, then the indoor air conditioning temperature should be maintained at 26 degrees and using the medium wind speed, the window in the current environment is kept closed, and the window shade of the window in the front environment is opened.
And step S30, constructing an association group of the Internet of things equipment, and carrying out regional control on the Internet of things equipment according to the type of the association group.
Specifically, an equipment association group is constructed, and because the application environment of the intelligent home is complex, the association group can be divided into three types in the common indoor environment, the first type is a full-house association group, the full-house equipment is set into a large association group, and the equipment linkage strategy is optimized based on the large association group to carry out the full-house equipment linkage; the second type is a sub-room association group, the whole room is divided, and the association group is divided aiming at equipment in each room; the third type is a full-house sub-room association group, namely a combination of a first type and a second type, namely full-house association control is carried out on the basis of the sub-room association group, namely full-house intermodal control in a group unit.
The method for dividing the equipment association group mainly comprises the following steps: user partitioning, data mining, and combinations of both (user partitioning and data mining); the users are divided into: the user actively edits the association group aiming at the equipment registered with the Internet of things cloud platform; data mining is carried out by developers related to the cloud platform of the Internet of things, and according to the change data of the equipment state parameters, frequent subgraphs are found out by utilizing algorithms such as subgraph mining, so that potential equipment association groups are developed; or combining the sub-graph association groups, initially dividing the sub-graph association groups by using a data mining method, and then carrying out fine tuning and confirmation on the divided groups by a user to finally form the association group division with higher accuracy.
And under the default condition, the system automatically groups according to the whole-house association group mode, and the priority scheme is to prompt the user to group the whole-house association group mode or the whole-house association group. In this step, the user may set the operation rule related to the device in the cloud platform of the internet of things by himself, which may include an operation policy of a single device, and may also include a control policy for grouping.
And S40, constructing an inference engine, matching facts and data with rules in a cloud knowledge base through the inference engine, and eliminating conflict rules according to certain inference rules and algorithms to complete an inference process.
Specifically, an inference engine is constructed to implement control policy inference, as shown in fig. 2, the inference engine is used as a core part of an expert system to complete inference of knowledge and rules, the inference engine matches facts, data and rules in a cloud knowledge base (pattern matching), then eliminates conflict rules according to certain inference rules and algorithms, and an inference process is implemented, so that the method has the advantages of easy understanding, easy acquisition, easy management and the like.
For example, the algorithm that can be used is the Rete algorithm invented by Charles L.force doctor, university of Carcinyl Mercury in 1974, which provides an efficient implementation of expert systems, and the inference engine loops execution rules in a "condition recognition-policy inference" manner to implement an automated generation device control policy. The construction of the inference engine is completed by utilizing knowledge in the existing control rule knowledge base, and an interface for external service is provided.
And S50, receiving the current running state and running environment state parameters sent by the Internet of things equipment, and acquiring a linkage control rule under the current condition through the reasoning engine.
Specifically, the internet of things device actively transmits current state information, and requests a control rule to the internet of things cloud platform. And actively sending the current running state and running environment state parameters of the internet of things equipment to the internet of things cloud platform (i.e. cloud service) after the internet of things equipment is started.
For example, the current location of the device, temperature, humidity, illumination intensity, etc. And the Internet of things cloud platform expands the related information sent by the Internet of things equipment and then sends the related information to the reasoning engine together so as to obtain the coordinated control rule under the condition. For example: and inquiring and matching the geographical position information of a certain air conditioner with the current weather information and future weather information of the area to obtain richer equipment operation environment information, and then sending the matched information to an inference engine for inference. The reasoning engine carries out comprehensive reasoning according to the current converged multiple conditions, and sends the control strategy after reasoning and the corresponding reasoning reasons thereof to the cloud platform of the Internet of things.
Further, in the better method, in a device cache layer between the Internet of things cloud platform and the reasoning engine, the reasoning engine puts control strategies with the same or similar parameters into the device cache layer, the Internet of things cloud platform preferentially inquires whether the control strategy cache with the same conditions exists in the caches, if so, the control strategy cache is directly used, and if not, the reasoning engine is requested again.
And step S60, the control strategy fed back by the reasoning engine is sent to the corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function.
Specifically, the cloud platform of the internet of things transmits control of the inference engine after feedback of the control strategy to the corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy to realize an active response type control function. If the end user enables the device automatic control state, the device directly executes the control strategy, and if the user does not start the control strategy, the control strategy is ignored.
Further, in a preferred method, after sleeping for a period of time, the automatic control policy request process again detects whether the user starts the device automatic control state, if so, the automatic control policy request process is normally executed, and if not, the sleep-detection mechanism is repeatedly executed.
When the terminal starts the control strategy parameters, two execution strategies can be adopted to immediately execute and smoothly change. The first is to change terminal parameters immediately and take effect immediately; the second is to change the terminal parameters gently in a certain time, for example, raise the temperature of the air conditioner by 3 degrees in 30 seconds, i.e. the strategy can be divided into three stages uniformly, i.e. raise the temperature by 1 degree every 10 seconds. Therefore, the damage of the rapid parameter change to the equipment can be avoided, the stimulation of the rapid parameter change to the user in a short time can also be avoided, and the user experience is good.
In the feedback control strategy stage of the cloud platform of the Internet of things, a better processing scheme is that frequent requests in a short time are avoided, so that a terminal executes a large number of change requests in a short time to damage the running state of equipment, a timer with a locking function is set when the terminal requests a control strategy each time, and only a small number of automatic control strategy requests are allowed in the timer. For example, only 1 control strategy is allowed to be requested by the device during 60 seconds.
At the same time, in the terminal policy execution stage, the same better processing scheme exists, namely, frequent policy execution in a short time is avoided, so that the terminal executes a large number of change requests in a short time, the running state of equipment is damaged, a timer with a locking function is set each time the terminal executes the automatic control policy, and only a small number of automatic control policies are allowed to be executed by the terminal in the timer. For example, only 1 automatic control strategy is allowed to be executed by the device during 60 seconds.
And step S70, sending the reasoning reasons of the control strategies to a user, and receiving the application conditions of the correction related strategies fed back by the user according to the running states of the Internet of things equipment after the control strategies are executed.
Specifically, when the cloud platform of the internet of things transmits the control of the control strategy fed back by the reasoning engine to the corresponding terminal, the reasoning reasons related to the control strategy are transmitted to a mailbox or a WeChat of the user, so that the user can better know the reason of the control strategy generation. Meanwhile, a user can feed back and correct related strategy application conditions according to the running state of the equipment after strategy execution, so that operation and development personnel can be helped to better improve a control strategy generation mechanism, and an application closed loop is formed.
The technical scheme of the invention has the following advantages:
(1) The access of multi-type multi-attribute multi-parameter equipment is supported, and the automatic linkage control can be performed on the whole house intelligent home.
(2) And the device grouping intermodal control in the local environment is realized through the linkage group policy division, and the device grouping intermodal control is closer to the actual application scene.
(3) The control rule base may continue to evolve.
(4) By separating the cloud platform of the Internet of things from the reasoning engine, the distributed deployment mode of the reasoning engine can be supported, the generation of an automatic control strategy under a high concurrency mode is supported, and the scale of a system supporting terminal can be improved.
Further, as shown in fig. 3, based on the expert system-based internet of things linkage control method, the invention further correspondingly provides an expert system-based internet of things linkage control system, which comprises: the system comprises an Internet of things cloud platform, a plurality of Internet of things devices (such as Internet of things device 1, internet of things device 2, internet of things device 3, internet of things device N in fig. 3) connected with the Internet of things cloud platform, and an expert system connected with the Internet of things cloud platform, wherein the expert system comprises an reasoning engine, a device attribute knowledge base and a rule knowledge base which are constructed according to the Internet of things devices; the system also comprises a terminal (namely an end user) connected with the Internet of things cloud platform.
Specifically, the device attribute knowledge base is used for comprehensively describing and modeling the internet of things device; the rule knowledge base is used for realizing linkage control of the Internet of things equipment; pre-constructing association groups of a plurality of Internet of things devices, and carrying out regional control on the Internet of things devices by the Internet of things cloud platform according to the types of the association groups; the reasoning engine is used for matching facts, data and rules in the cloud knowledge base, and eliminating conflict rules according to certain reasoning rules and algorithms to complete the reasoning process; the Internet of things cloud platform is used for receiving the current running state and running environment state parameters sent by the Internet of things equipment and acquiring a linkage control rule under the current condition through the reasoning engine; the cloud platform of the Internet of things sends a control strategy fed back by the reasoning engine to a corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function; and the Internet of things cloud platform sends the reasoning reasons of the control strategy to a user, and the user corrects the related strategy application conditions according to the running state feedback of the Internet of things equipment after the control strategy is executed.
Further, the invention also provides a storage medium, wherein the storage medium stores an internet of things linkage control program based on an expert system, and the internet of things linkage control program based on the expert system realizes the steps of the internet of things linkage control method based on the expert system when being executed by a processor.
In summary, the invention provides an expert system-based internet of things coordinated control method and an internet of things cloud platform, wherein the method comprises the following steps: establishing a device attribute knowledge base for comprehensively describing and modeling the Internet of things device; constructing a rule knowledge base for use and control of the Internet of things equipment, and realizing linkage control of the Internet of things equipment; constructing an association group of the Internet of things equipment, and carrying out regional control on the Internet of things equipment according to the type of the association group; constructing an inference engine, matching facts and data with rules in a cloud knowledge base through the inference engine, and eliminating conflict rules according to certain inference rules and algorithms to complete an inference process; receiving the current running state and running environment state parameters sent by the Internet of things equipment, and acquiring a linkage control rule under the current condition through the reasoning engine; the control strategy fed back by the reasoning engine is sent to the corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function; and sending the reasoning reasons of the control strategy to a user, and receiving the application conditions of the correction related strategies fed back by the user according to the running state of the Internet of things equipment after the control strategy is executed. According to the intelligent home control system, the expert system is utilized to automatically control the intelligent home of the whole house in a linkage mode.
Of course, those skilled in the art will appreciate that implementing all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware (such as a processor, a controller, etc.), where the program may be stored in a computer-readable storage medium, and where the program may include the steps of the above-described method embodiments when executed. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (7)

1. The Internet of things linkage control method based on the expert system is characterized by comprising the following steps of:
establishing a device attribute knowledge base for comprehensively describing and modeling the Internet of things device;
the attribute mode of obtaining the modeling is divided into two stages, wherein the first stage is to obtain clear data when the Internet of things equipment leaves the factory, the second stage is to obtain the data when the Internet of things equipment is installed or used by a user, the Internet of things equipment actively registers with a cloud server, and the service environment parameters of the Internet of things equipment are reported to the cloud server;
constructing a rule knowledge base for use and control of the Internet of things equipment, and realizing linkage control of the Internet of things equipment;
the rule knowledge base construction mode comprises the following steps: extracting according to comprehensive manual analysis data of equipment operation data by cloud platform operators, and summarizing operation parameters of the Internet of things equipment under different conditions by related field experts according to self field knowledge to form a control rule with a definite limit;
constructing an association group of the Internet of things equipment, and carrying out regional control on the Internet of things equipment according to the type of the association group;
the association group types include: a full house association group, a sub-room association group and a full house sub-room association group;
the whole-house association group is used for setting the whole-house Internet of things equipment into a large association group, optimizing equipment linkage strategies based on the large association group, and carrying out whole-house equipment linkage;
the sub-room association groups are used for dividing the whole room, and the association groups are divided aiming at the Internet of things equipment in each room;
the whole house sub-room association group is used for carrying out whole house association control on the basis of the sub-room association group, and carrying out whole house intermodal control by taking the group as a unit;
the method for dividing the association group of the Internet of things equipment comprises the following steps: user division, data mining, and user division and data mining are combined; the method comprises the steps that a user is divided into actively performing association group editing on internet of things equipment registered in an internet of things cloud platform; the data mining is that developers related to the cloud platform of the Internet of things obtain frequent subgraphs through a subgraph mining algorithm according to the change data of the state parameters of the equipment of the Internet of things, and potential equipment association groups are developed according to the frequent subgraphs; the data mining is combined to primarily divide sub-graph association groups according to a data mining method, and finely adjust and confirm the association groups subjected to the primary division to obtain high-accuracy association group division;
constructing an inference engine, matching facts and data with rules in a cloud knowledge base through the inference engine, and eliminating conflict rules according to certain inference rules and algorithms to complete an inference process;
receiving the current running state and running environment state parameters sent by the Internet of things equipment, and acquiring a linkage control rule under the current condition through the reasoning engine;
the control strategy fed back by the reasoning engine is sent to the corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function;
setting a timer with a locking function each time the terminal requests a control strategy, and allowing only a preset number of automatic control strategy requests in the timer;
by accessing multiple types, multiple attributes and multiple parameters of equipment, carrying out automatic linkage control on the whole house intelligent home based on the equipment, and realizing equipment grouping intermodal control in a local environment through linkage group policy division, so that the equipment is closer to an actual application scene;
and sending the reasoning reasons of the control strategy to a user, and receiving the application conditions of the correction related strategies fed back by the user according to the running state of the Internet of things equipment after the control strategy is executed.
2. The expert system-based internet of things coordinated control method of claim 1, wherein the attribute modeling the internet of things device comprises: device status information, electrical attributes, safe use range conditions, location information of the device, and environmental information of the device.
3. The expert system-based internet of things coordinated control method of claim 1, wherein the coordinated control is a rule controlling a plurality of parameters of a plurality of internet of things devices.
4. The expert system-based internet of things coordinated control method of claim 1, wherein the receiving the current running state and running environment state parameters sent by the internet of things device, obtaining, by the inference engine, a coordinated control rule under a current condition, further comprises:
and setting a device cache layer, and putting the control strategies with the same or similar parameters into the device cache layer by the reasoning engine for storage.
5. The expert system-based internet of things coordinated control method of claim 4, wherein the obtaining, by the inference engine, the coordinated control rule under the current condition further comprises:
and inquiring whether the control strategy with the same condition exists in the equipment cache layer, if so, directly using the control strategy, and if not, requesting the reasoning engine to acquire the control strategy.
6. An expert system-based internet of things coordinated control system, which is characterized in that the system comprises: the system comprises an Internet of things cloud platform, a plurality of Internet of things devices connected with the Internet of things cloud platform, and an expert system connected with the Internet of things cloud platform, wherein the expert system comprises an inference engine, a device attribute knowledge base and a rule knowledge base which are constructed according to the Internet of things devices;
the rule knowledge base is constructed in the following way: extracting according to comprehensive manual analysis data of equipment operation data by cloud platform operators, and summarizing operation parameters of the Internet of things equipment under different conditions by related field experts according to self field knowledge to form a control rule with a definite limit;
the equipment attribute knowledge base is used for comprehensively describing and modeling the equipment of the Internet of things; the rule knowledge base is used for realizing linkage control of the Internet of things equipment;
the attribute mode of obtaining the modeling is divided into two stages, wherein the first stage is to obtain clear data when the Internet of things equipment leaves the factory, the second stage is to obtain the data when the Internet of things equipment is installed or used by a user, the Internet of things equipment actively registers with a cloud server, and the service environment parameters of the Internet of things equipment are reported to the cloud server;
pre-constructing association groups of a plurality of Internet of things devices, and carrying out regional control on the Internet of things devices by the Internet of things cloud platform according to the types of the association groups;
the association group types include: a full house association group, a sub-room association group and a full house sub-room association group;
the whole-house association group is used for setting the whole-house Internet of things equipment into a large association group, optimizing equipment linkage strategies based on the large association group, and carrying out whole-house equipment linkage;
the sub-room association groups are used for dividing the whole room, and the association groups are divided aiming at the Internet of things equipment in each room;
the whole house sub-room association group is used for carrying out whole house association control on the basis of the sub-room association group, and carrying out whole house intermodal control by taking the group as a unit;
the method for dividing the association group of the Internet of things equipment comprises the following steps: user division, data mining, and user division and data mining are combined; the method comprises the steps that a user is divided into actively performing association group editing on internet of things equipment registered in an internet of things cloud platform; the data mining is that developers related to the cloud platform of the Internet of things obtain frequent subgraphs through a subgraph mining algorithm according to the change data of the state parameters of the equipment of the Internet of things, and potential equipment association groups are developed according to the frequent subgraphs; the data mining is combined to primarily divide sub-graph association groups according to a data mining method, and finely adjust and confirm the association groups subjected to the primary division to obtain high-accuracy association group division;
the reasoning engine is used for matching facts, data and rules in the cloud knowledge base, and eliminating conflict rules according to certain reasoning rules and algorithms to complete the reasoning process;
the Internet of things cloud platform is used for receiving the current running state and running environment state parameters sent by the Internet of things equipment and acquiring a linkage control rule under the current condition through the reasoning engine;
the cloud platform of the Internet of things sends a control strategy fed back by the reasoning engine to a corresponding terminal, and the terminal adjusts corresponding operation parameters according to the control strategy so as to realize an active response type control function;
setting a timer with a locking function each time the terminal requests a control strategy, and allowing only a preset number of automatic control strategy requests in the timer;
by accessing multiple types, multiple attributes and multiple parameters of equipment, carrying out automatic linkage control on the whole house intelligent home based on the equipment, and realizing equipment grouping intermodal control in a local environment through linkage group policy division, so that the equipment is closer to an actual application scene;
and the Internet of things cloud platform sends the reasoning reasons of the control strategy to a user, and the user corrects the related strategy application conditions according to the running state feedback of the Internet of things equipment after the control strategy is executed.
7. A storage medium, wherein the storage medium stores an expert system-based internet of things coordinated control program, and the expert system-based internet of things coordinated control program, when executed by a processor, implements the steps of the expert system-based internet of things coordinated control method according to any one of claims 1-5.
CN202010498450.3A 2020-06-04 2020-06-04 Expert system-based Internet of things linkage control method and system Active CN111787064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010498450.3A CN111787064B (en) 2020-06-04 2020-06-04 Expert system-based Internet of things linkage control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010498450.3A CN111787064B (en) 2020-06-04 2020-06-04 Expert system-based Internet of things linkage control method and system

Publications (2)

Publication Number Publication Date
CN111787064A CN111787064A (en) 2020-10-16
CN111787064B true CN111787064B (en) 2023-08-01

Family

ID=72753403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010498450.3A Active CN111787064B (en) 2020-06-04 2020-06-04 Expert system-based Internet of things linkage control method and system

Country Status (1)

Country Link
CN (1) CN111787064B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379645B (en) * 2020-10-23 2022-01-11 江苏大学 Drools rule engine-based internet-of-things management and control system and method for group-fed sow feeding station
CN112904738A (en) * 2021-01-19 2021-06-04 珠海格力电器股份有限公司 Equipment linkage control method, system, device, storage medium and equipment
CN113114779B (en) * 2021-04-23 2022-09-02 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107490977A (en) * 2017-09-25 2017-12-19 深圳市斑点猫信息技术有限公司 Controlling model training method, the control method and device of smart home
CN109991940A (en) * 2017-12-30 2019-07-09 成都标制文化创意有限公司 A kind of intelligent home control system and smart home system towards function
CN110493270A (en) * 2019-09-25 2019-11-22 北京金茂绿建科技有限公司 Internet of things equipment accesses fused controlling method and device thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370771C (en) * 2004-04-21 2008-02-20 华为技术有限公司 Method of flow control in communication system
US20100191691A1 (en) * 2009-01-23 2010-07-29 Hudson Jr James Thomas Method for computer-aided decision-making system and method that utilizes product, services and/or venue values and personality value matching, incorporating groups and outside values
CN102281525B (en) * 2010-06-12 2014-06-11 ***通信集团公司 User access control method, and system and device thereof
US10057077B2 (en) * 2014-10-29 2018-08-21 Xiaomi Inc. Method and server for controlling smart devices based on predefined scenario mode
CN106127307A (en) * 2016-07-01 2016-11-16 复旦大学 A kind of control method of campus based on energy consumption strategy intelligent power equipment
CN108234408A (en) * 2016-12-15 2018-06-29 中兴通讯股份有限公司 A kind of things-internet gateway inter-linked controlling method and things-internet gateway
CN108512909A (en) * 2018-03-14 2018-09-07 日照职业技术学院 A kind of computer remote control system based on Internet of Things
CN110597075B (en) * 2019-09-09 2020-11-03 珠海格力电器股份有限公司 Method and device for detecting control conflict, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107490977A (en) * 2017-09-25 2017-12-19 深圳市斑点猫信息技术有限公司 Controlling model training method, the control method and device of smart home
CN109991940A (en) * 2017-12-30 2019-07-09 成都标制文化创意有限公司 A kind of intelligent home control system and smart home system towards function
CN110493270A (en) * 2019-09-25 2019-11-22 北京金茂绿建科技有限公司 Internet of things equipment accesses fused controlling method and device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能家居安全综述;王基策;李意莲;贾岩;周威;王宇成;王鹤;张玉清;;计算机研究与发展(10);全文 *

Also Published As

Publication number Publication date
CN111787064A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111787064B (en) Expert system-based Internet of things linkage control method and system
CN110131843B (en) Intelligent air conditioner regulation and control method and system based on big data
CN109725544B (en) Method and device for dynamically constructing conflict checking rule table in smart home
US20220271967A1 (en) Systems and methods for configuring and operating building equipment using causal and spatial relationships
CN111327497A (en) Intelligent terminal control method and device, electronic equipment and storage medium
DE112012005419T5 (en) System and method for efficient service-oriented energy management in the Internet of Things
CN109709814B (en) Method and device for dynamically constructing conflict checking rule table in smart home
US11929616B2 (en) Building load modification responsive to utility grid events using robotic process automation
CN108052010A (en) Intelligent electric appliance method for self regulating, device, computer equipment and storage medium
WO2023098796A1 (en) Database parameter adjustment method and apparatus, electronic device, and storage medium
CN114980302A (en) Equipment access method, equipment management method, system and computer equipment
US20130085582A1 (en) Apparatus and a method for controlling facility devices, and a non-transitory computer readable medium thereof
CN115307297A (en) Multi-form central air-conditioning energy-saving control system
CN117492380B (en) Control method and control device of central control system of intelligent home
CN113390166A (en) Indoor environment control method and control system
CN108459575B (en) Wisdom home control system
CN114138597B (en) Operating system performance tuning device, method, equipment and storage medium
DE112020001542T5 (en) INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING METHOD
CN112364936A (en) Greenhouse control method, device and equipment based on artificial intelligence and storage medium
CN111427316A (en) Scene triggering method and device, storage medium and electronic device
JP2020137167A (en) Target power calculation device, target power calculation method and target power calculation program
CN113321084B (en) Method and device for determining scheduling program
CN114035444B (en) Control method for intelligent home
US20240012378A1 (en) Building automation system with validated commissioning workflow and digital twin population
CN114114964A (en) Linkage control method and system among multiple devices

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 2306, east block, Skyworth semiconductor design building, 18 Gaoxin South 4th Road, Gaoxin community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518052

Applicant after: Shenzhen Kukai Network Technology Co.,Ltd.

Address before: 518052 Room 601, block C, Skyworth building, 008 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Coocaa Network Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant