CN111324077A - Internet of things equipment control method, device and system - Google Patents

Internet of things equipment control method, device and system Download PDF

Info

Publication number
CN111324077A
CN111324077A CN202010265896.1A CN202010265896A CN111324077A CN 111324077 A CN111324077 A CN 111324077A CN 202010265896 A CN202010265896 A CN 202010265896A CN 111324077 A CN111324077 A CN 111324077A
Authority
CN
China
Prior art keywords
scene information
internet
target
things
target scene
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
CN202010265896.1A
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.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202010265896.1A priority Critical patent/CN111324077A/en
Publication of CN111324077A publication Critical patent/CN111324077A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2614HVAC, heating, ventillation, climate control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method, a device and a system for controlling Internet of things equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining at least one piece of scene information edited in advance from a storage server according to a preset time interval, and putting the at least one piece of scene information into an information queue, wherein the scene information comprises a trigger instruction of at least one target Internet of things device used in a current scene; and acquiring target scene information arranged in a first sequence in the information queue, judging whether the current external factors meet the execution conditions of the target scene information, and if so, sending at least one trigger instruction included in the target scene information to at least one target Internet of things device so that the at least one target Internet of things device works under the trigger of the trigger instruction. The scheme of the invention can realize automatic control of the equipment of the Internet of things.

Description

Internet of things equipment control method, device and system
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a device for controlling Internet of things equipment.
Background
Along with the development of science and technology, more and more thing networking devices appear in people's the field of vision, have made things convenient for people's daily life, and people can download application from the control page that corresponds and control thing networking device through the cell-phone.
However, the control method can be realized only by entering a control page of the corresponding internet of things device for manual operation, and when a plurality of internet of things devices exist, the operation interface corresponding to each device needs to be manually switched to be set, so that the steps are complex, and the efficiency is low. Therefore, in order to improve the control efficiency, automatic control of the internet of things device needs to be realized.
The invention, which is application number 201610702706.1 and is named as a method and a device for generating an intelligent scene mode, provides a method and a device for generating an intelligent scene mode, and belongs to the technical field of the internet of things. The method comprises the following steps: receiving a device adding instruction of a first device; detecting whether a preset stored scene rule is stored with a designated scene rule, wherein the designated scene rule is a scene rule comprising the equipment category of first equipment, and each scene rule comprises the equipment category, the equipment scene type and action information of at least one piece of equipment; if the pre-stored scene rule stores the specified scene rule, detecting whether a second device is stored in the device list, wherein the second device is a device which is different from the first device in the specified scene rule and has a different device scene type from the first device; and if the second equipment is stored in the equipment list, generating an intelligent scene mode based on the specified scene rule, wherein the intelligent scene mode is a scene mode corresponding to the specified scene rule. The method and the device can simplify the generation process of the intelligent scene mode and improve the generation efficiency of the intelligent scene mode. The invention does not realize automatic control of the Internet of things equipment.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for controlling equipment of the Internet of things, which can realize automatic control of the equipment of the Internet of things.
In a first aspect, an embodiment of the present invention provides an internet of things device control method, which is applied to an internet of things device control apparatus, where the internet of things device control apparatus is connected to at least one internet of things device, and the method includes:
the method comprises the steps of obtaining at least one piece of scene information edited in advance from a storage server according to a preset time interval, and putting the at least one piece of scene information into an information queue, wherein the scene information comprises a trigger instruction of at least one target Internet of things device used in a current scene;
and acquiring target scene information arranged in a first sequence in the information queue, judging whether the current external factors meet the execution conditions of the target scene information, and if so, sending at least one trigger instruction included in the target scene information to at least one target Internet of things device so that the at least one target Internet of things device works under the trigger of the trigger instruction.
Preferably, the first and second electrodes are formed of a metal,
the external factors include: any one or more of temperature, humidity, air pollution level, time interval and timing;
the thing networking device includes: any one or more of an air conditioner, a humidifier, and an air purifier;
the scene information includes: the air conditioner is turned on when the temperature reaches a preset value, the humidifier is turned on when the humidity reaches a preset value, the air purifier is turned on when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are turned on when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are turned on at a preset time point.
Preferably, the first and second electrodes are formed of a metal,
after the sending of the at least one trigger instruction included in the target scene information to the target internet of things device, the method further includes: writing an execution record of the target scene information;
after the obtaining of the target scene information arranged in the first order in the information queue, the method further includes: and judging whether the execution record of the target scene information is written currently, if so, ending the current process, and if not, judging whether the current external factors meet the execution conditions of the target scene information.
Preferably, the first and second electrodes are formed of a metal,
after the determining whether the current external factor meets the execution condition of the target scene information, the method further includes:
and if the current external factors do not accord with the execution conditions of the target scene information, sending the target scene information to the storage server.
In a second aspect, an embodiment of the present invention provides an internet of things device control apparatus, including:
the device comprises an acquisition module and a processing module; the acquisition module is connected with the processing module;
the acquisition module is used for acquiring at least one piece of scene information edited in advance from a storage server according to a preset time interval and putting the at least one piece of scene information into an information queue, wherein the scene information comprises a trigger instruction of at least one target Internet of things device used in a current scene;
the processing module is configured to acquire target scene information arranged in a first order in the information queue, determine whether a current external factor meets an execution condition of the target scene information, and if so, send at least one trigger instruction included in the target scene information to at least one target internet of things device, so that the at least one target internet of things device works under the trigger of the trigger instruction.
Preferably, the first and second electrodes are formed of a metal,
the external factors include: any one or more of temperature, humidity, air pollution level, time interval and timing;
the thing networking device includes: any one or more of an air conditioner, a humidifier, and an air purifier;
the scene information includes: the air conditioner is turned on when the temperature reaches a preset value, the humidifier is turned on when the humidity reaches a preset value, the air purifier is turned on when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are turned on when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are turned on at a preset time point.
Preferably, the first and second electrodes are formed of a metal,
the processing module is further configured to write an execution record of the target scene information after the at least one trigger instruction included in the target scene information is sent to the target internet of things device;
the processing module is further configured to, after the target scene information arranged in the first order in the information queue is obtained, determine whether an execution record of the target scene information is written currently, if so, end the current flow, and if not, determine whether the current external factor meets the execution condition of the target scene information.
Preferably, the first and second electrodes are formed of a metal,
the processing module is further configured to, after the determining whether the current external factor meets the execution condition of the target scene information, execute: and if the current external factors do not accord with the execution conditions of the target scene information, sending the target scene information to the storage server.
In a third aspect, an embodiment of the present invention provides an internet of things device control system, including: the internet of things equipment control device and the storage server provided by any one of the second aspects;
the Internet of things equipment control device is connected with the storage server;
the storage server is used for caching at least one piece of scene information edited in advance.
Preferably, the first and second electrodes are formed of a metal,
further comprising: a database;
the database is used for acquiring and storing the at least one scene information edited in advance;
and the storage server is used for acquiring and caching the at least one piece of scene information edited in advance from the database.
The embodiment of the invention provides a method, a device and a system for controlling equipment of the Internet of things, wherein the method comprises the following steps: the method comprises the steps of accessing a storage server according to a preset time interval, obtaining at least one piece of scene information from the storage server, and putting the scene information into an information queue, wherein the scene information comprises a trigger instruction used for triggering at least one target Internet of things device suitable for the current scene. And then, processing the scene information in the information queue in sequence. The method comprises the steps of obtaining the first-order target scene information which is most front in a queue at present, judging whether the current external factors meet the execution conditions of the target scene information, if so, sending a trigger instruction to at least one target Internet of things device which needs to be used by the target scene information, and after receiving the trigger instruction, automatically starting working under the starting point of the trigger instruction by the target Internet of things device. According to the scheme provided by the invention, the plurality of pieces of scene information are set, and the corresponding target Internet of things equipment can be automatically controlled to work according to whether the scene information can be executed, so that the automatic control of the Internet of things equipment is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of an internet of things device control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an internet-of-things device control apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internet of things device control system according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an internet of things device control method, which is applied to an internet of things device control apparatus, where the internet of things device control apparatus is connected to at least one internet of things device, and the method includes the following steps:
step 101: the method comprises the steps of obtaining at least one piece of scene information edited in advance from a storage server according to a preset time interval, and putting the at least one piece of scene information into an information queue, wherein the scene information comprises a trigger instruction of at least one target Internet of things device used in a current scene.
Step 102: and acquiring target scene information arranged in a first sequence in the information queue, judging whether the current external factors meet the execution conditions of the target scene information, and if so, sending at least one trigger instruction included in the target scene information to at least one target Internet of things device so that the at least one target Internet of things device works under the trigger of the trigger instruction.
Specifically, the invention automatically controls the equipment of the Internet of things by creating a plurality of pieces of scene information and judging the execution condition of the scene information. In order to realize interaction and control, the internet of things equipment needs to be connected to an internet of things equipment control device for communication. The method comprises the steps of obtaining at least one piece of scene information edited in advance from a storage server according to a preset time interval, wherein the scene information comprises a trigger instruction of at least one piece of Internet of things equipment suitable for being used in a current scene. And then, putting the acquired scene information into an information queue, and carrying out next processing according to the sequence. The method comprises the steps of obtaining target scene information which is the most front in sequence in an information queue, judging whether the target scene information can be executed or not according to current external factors, if so, sending a trigger instruction for triggering at least one target Internet of things device suitable for the target scene information to the corresponding target Internet of things device, and enabling the target Internet of things device to automatically work under the trigger of the trigger instruction. According to the invention, the scene of the Internet of things is set, the equipment of the Internet of things is automatically controlled according to external factors, and the equipment of the Internet of things is not required to be manually controlled by a user, so that the automatic control of the equipment of the Internet of things is realized.
In an embodiment of the present invention, the external factors include: any one or more of temperature, humidity, air pollution level, time interval and timing;
the thing networking device includes: any one or more of an air conditioner, a humidifier, and an air purifier;
the scene information includes: the air conditioner is turned on when the temperature reaches a preset value, the humidifier is turned on when the humidity reaches a preset value, the air purifier is turned on when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are turned on when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are turned on at a preset time point.
Specifically, the external factors are the most common external factors in daily life of users, and the external factors also cover the use conditions and trigger scenes of the internet of things equipment. For example, when sunset and sunrise are external factors, the sunset and sunrise can be represented by timing; for example, a scene is executed in a time interval of 5: 00-6: 00, which can be represented by a time interval. The air conditioner, the humidifier and the air purifier are the devices of the internet of things corresponding to the external factors. The air conditioner is used for adjusting the temperature, the humidifier is used for adjusting the humidity, the air purifier is used for improving the air pollution degree, and the three can operate according to the time interval and the timing. The scene information is preset according to external factors and intelligent equipment required by the external factors, the air conditioner is started when the temperature reaches a preset value, the humidifier is started when the humidity reaches a preset value, the air purifier is started when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are started when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are started at a preset time pointA plurality of them. For example, the user may turn on the air conditioner when the outdoor temperature reaches 30 degrees celsius at a certain time point; when the air pollution degree reaches a certain degree, for example, PM2.5 is taken as a detection standard, and when the concentration of PM2.5 reaches 50 μ g/m3When the air purifier is started, the air purifier is started; at night 19: 00 turn on the humidifier, etc. Through the response to temperature, humidity, PM2.5 etc. realize automatic control, greatly reduced user's operation procedure.
In an embodiment of the present invention, after the sending, to the target internet of things device, at least one trigger instruction included in the target scene information, the method further includes: writing an execution record of the target scene information;
after the obtaining of the target scene information arranged in the first order in the information queue, the method further includes: and judging whether the execution record of the target scene information is written currently, if so, ending the current process, and if not, judging whether the current external factors meet the execution conditions of the target scene information.
Specifically, there are some execution conditions of the scene information, such as 14: 00-14: 02 executes the turning on of the air conditioner, the current time is 14: 00, meeting the executing condition of the scene information, sending a triggering instruction to the air conditioner, and starting the air conditioner. But the scene information is also acquired again, and the acquired time may be 14: 00-14: 02, the same scene information is still in accordance with the execution condition, but the same scene information cannot be repeatedly executed, so that when an object scene information is executed, the execution record of the object scene information is written, and the execution record is used as a basis for judging whether the scene information is executed. When the target scene information is acquired again in the information queue, if an execution record of the target scene information is currently written, it is determined that the scene information is being executed, the execution is not repeated, and the flow is directly ended. Only when it is judged that the target scene information is not recorded, whether the current external factor meets the execution condition of the target scene information or not is continuously judged.
In an embodiment of the present invention, after the determining whether the current external factor meets the execution condition of the target scene information, the method further includes:
and if the current external factors do not accord with the execution conditions of the target scene information, sending the target scene information to the storage server.
Specifically, when it is determined that the current external factor does not meet the execution condition of the target scene information, the scene information is transmitted to the storage server, so that the scene information can be read again from the storage server, added to the information queue, and it is determined again whether the external factor meets the execution condition of the scene information. By means of the setting, the scene conditions which are not executed can be returned to the storage server again to be obtained again and the execution conditions are judged again, the external factors are changed all the time, the execution conditions of the scene information can be met during the judgment again, once the execution conditions are met, the execution can be carried out and the trigger instruction can be sent to the target Internet of things equipment, and therefore control execution of the Internet of things equipment required by the scene information cannot be omitted.
As shown in fig. 2, an embodiment of the present invention provides an internet of things device control apparatus, including:
an acquisition module 201 and a processing module 202; the acquiring module 201 is connected with the processing module 202;
the obtaining module 201 is configured to obtain at least one piece of scene information edited in advance from a storage server according to a preset time interval, and place the at least one piece of scene information into an information queue, where the scene information includes a trigger instruction of at least one target internet of things device used in a current scene;
the processing module 202 is configured to obtain target scene information arranged in a first order in the information queue, determine whether a current external factor meets an execution condition of the target scene information, and if so, send at least one trigger instruction included in the target scene information to at least one target internet of things device, so that the at least one target internet of things device operates under the trigger of the trigger instruction.
In an embodiment of the present invention, the external factors include: any one or more of temperature, humidity, air pollution level, time interval and timing;
the thing networking device includes: any one or more of an air conditioner, a humidifier, and an air purifier;
the scene information includes: the air conditioner is turned on when the temperature reaches a preset value, the humidifier is turned on when the humidity reaches a preset value, the air purifier is turned on when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are turned on when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are turned on at a preset time point.
In an embodiment of the present invention, the processing module 202 is further configured to write an execution record of the target scene information after the at least one trigger instruction included in the target scene information is sent to the target internet of things device;
the processing module 202 is further configured to, after the target scene information arranged in the first order in the information queue is obtained, determine whether an execution record of the target scene information is written currently, if so, end the current process, and if not, determine whether the current external factor meets the execution condition of the target scene information.
In an embodiment of the present invention, the processing module 202 is further configured to, after the determining whether the current external factor meets the execution condition of the target scene information, execute: and if the current external factors do not accord with the execution conditions of the target scene information, sending the target scene information to the storage server.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the control device of the internet of things. In other embodiments of the invention, the internet of things device control apparatus may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
As shown in fig. 3, an embodiment of the present invention provides an internet of things device control system, including: the internet of things equipment control device 301 and the storage server 302 provided in any of the above embodiments;
the internet of things equipment control device 301 is connected with the storage server 302;
the storage server is used for caching at least one piece of scene information edited in advance.
Specifically, the storage server may be a Redis, where data stored in the Redis is semi-structured, which means that there are fewer rules in the read memory, the read speed is faster, rich data types are supported, a single thread is adopted, unnecessary context switching and race conditions are avoided, and there is no CPU consumption due to switching caused by multiple processes or multiple threads. Redis can cache at least one piece of scene information edited in advance, so that the Internet of things equipment control device can quickly acquire the scene information from the seeds, all information in the speaking scene is stored into Redis when the scene is started, and the scene processing speed is increased. And when the internet of things equipment control device judges that the current external factors do not accord with certain scene information, the scene information can be quickly written into the storage server, so that the next execution condition is judged.
In order to obtain external factors, a temperature sensor, a humidity sensor and an air quality detector can be installed on the Internet of things equipment control device, and the Internet of things equipment control device can be connected to the Internet, so that outdoor air temperature and current time can be obtained through the Internet.
In an embodiment of the present invention, the system further includes: a database;
the database is used for acquiring and storing the at least one scene information edited in advance;
and the storage server is used for acquiring and caching the at least one piece of scene information edited in advance from the database.
Specifically, when the user finishes editing at least one piece of scene information in advance, the scene information is stored in the database, and the storage server can acquire and cache at least one piece of scene information from the database. If the internet of things equipment control device directly acquires the scene information from the database, the database cannot be cached, so that the required acquisition time is long, and the scene information is cached through the storage server, so that the speed of reading the scene information can be increased. In addition, if the storage server and the database have no data, the data is obtained through a third-party interface and then rewritten into the database or the storage server.
In order that the advantages of the invention will be more apparent, a preferred embodiment of the invention is described in detail below:
as shown in fig. 4, an embodiment of the present invention provides an internet of things device control method, which may include the following steps:
step 401: the user edits the scene information in advance and stores the scene information in the database, and the Redis acquires and caches the scene information from the database.
For example, a user edits scene information that is "turn on an air conditioner when the outdoor temperature is 30 degrees celsius", the scene information is stored in a database, and the Redis acquires the scene information from the database and performs caching.
Step 402: scene information in Redis is acquired.
The control device of the internet of things equipment acquires scene information from Redis every 30 seconds, and at the moment, the scene information of' turning on an air conditioner when the outdoor temperature is higher than 30 ℃ is acquired, and the scene information is added into an information queue. The message queue may be implemented as an MQ (message queue), which is a "first-in-first-out" data structure in an underlying data structure. The method is generally used for solving the problems of application decoupling, asynchronous messages, traffic cutting and the like, and realizes a high-performance, high-availability, scalable and final consistency framework.
Step 403: and judging whether the external factors meet the execution conditions of the scene information.
Specifically, the internet of things device control apparatus acquires target scene information of a first order in the MQ queue, where the target scene information is: "turn on the air conditioner when the outdoor temperature is higher than 30 degrees celsius". The Internet of things equipment control device is accessed to the Internet, and the current outdoor temperature is 31 ℃, so that the current external factors are judged to be in accordance with the execution conditions of the scene information.
Step 404: and controlling the equipment of the Internet of things.
Specifically, the internet of things equipment control device is connected to the internet to determine that scene information of' opening an air conditioner when the outdoor temperature is higher than 30 ℃ can be executed, the scene information comprises a trigger instruction for the internet of things air conditioner, the trigger instruction is sent to the internet of things air conditioner, and the internet of things air conditioner starts to work under the starting point of the trigger instruction when receiving the trigger instruction.
The various embodiments of the invention have at least the following advantages:
1. in the embodiment of the invention, the storage server is accessed according to the preset time interval, at least one piece of scene information is obtained from the storage server, and the scene information is put into the information queue, wherein the scene information comprises a trigger instruction used for triggering at least one piece of target Internet of things equipment suitable for the current scene. And then, processing the scene information in the information queue in sequence. The method comprises the steps of obtaining the first-order target scene information which is most front in a queue at present, judging whether the current external factors meet the execution conditions of the target scene information, if so, sending a trigger instruction to at least one target Internet of things device which needs to be used by the target scene information, and after receiving the trigger instruction, automatically starting working under the starting point of the trigger instruction by the target Internet of things device. According to the scheme provided by the invention, the plurality of pieces of scene information are set, and the corresponding target Internet of things equipment can be automatically controlled to work according to whether the scene information can be executed, so that the automatic control of the Internet of things equipment is realized.
2. In the embodiment of the invention, a user can control a plurality of devices at the same time by setting on the APP once. For example, we can set a certain point in time when the outdoor temperature reaches 35 ℃ or PM2.5>50μg/m3At that time, the air conditioner was turned on and the temperature was adjusted to 28 ℃, or the air purifier was turned on and the indoor air was adjusted. Through the response to temperature, humidity, PM2.5 etc. come to control thing networking device according to actual demand.
3. In the embodiment of the invention, the scene information is cached by using the storage server, so that the reading and writing speeds can be increased when the control device of the internet of things equipment reads the scene information from the storage server or writes the scene information into the storage server, and the processing speed of the control process is ensured.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. The Internet of things equipment control method is applied to an Internet of things equipment control device, the Internet of things equipment control device is connected with at least one piece of Internet of things equipment, and the Internet of things equipment control method is characterized by comprising the following steps:
the method comprises the steps of obtaining at least one piece of scene information edited in advance from a storage server according to a preset time interval, and putting the at least one piece of scene information into an information queue, wherein the scene information comprises a trigger instruction of at least one target Internet of things device used in a current scene;
and acquiring target scene information arranged in a first sequence in the information queue, judging whether the current external factors meet the execution conditions of the target scene information, and if so, sending at least one trigger instruction included in the target scene information to at least one target Internet of things device so that the at least one target Internet of things device works under the trigger of the trigger instruction.
2. The method of claim 1,
the external factors include: any one or more of temperature, humidity, air pollution level, time interval and timing;
the thing networking device includes: any one or more of an air conditioner, a humidifier, and an air purifier;
the scene information includes: the air conditioner is turned on when the temperature reaches a preset value, the humidifier is turned on when the humidity reaches a preset value, the air purifier is turned on when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are turned on when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are turned on at a preset time point.
3. The method of claim 1,
after the sending of the at least one trigger instruction included in the target scene information to the target internet of things device, the method further includes: writing an execution record of the target scene information;
after the obtaining of the target scene information arranged in the first order in the information queue, the method further includes: and judging whether the execution record of the target scene information is written currently, if so, ending the current process, and if not, judging whether the current external factors meet the execution conditions of the target scene information.
4. The method according to any one of claims 1 to 3,
after the determining whether the current external factor meets the execution condition of the target scene information, the method further includes:
and if the current external factors do not accord with the execution conditions of the target scene information, sending the target scene information to the storage server.
5. Thing networking equipment controlling means, its characterized in that includes:
the device comprises an acquisition module and a processing module; the acquisition module is connected with the processing module;
the acquisition module is used for acquiring at least one piece of scene information edited in advance from a storage server according to a preset time interval and putting the at least one piece of scene information into an information queue, wherein the scene information comprises a trigger instruction of at least one target Internet of things device used in a current scene;
the processing module is configured to acquire target scene information arranged in a first order in the information queue, determine whether a current external factor meets an execution condition of the target scene information, and if so, send at least one trigger instruction included in the target scene information to at least one target internet of things device, so that the at least one target internet of things device works under the trigger of the trigger instruction.
6. The method of claim 5,
the external factors include: any one or more of temperature, humidity, air pollution level, time interval and timing;
the thing networking device includes: any one or more of an air conditioner, a humidifier, and an air purifier;
the scene information includes: the air conditioner is turned on when the temperature reaches a preset value, the humidifier is turned on when the humidity reaches a preset value, the air purifier is turned on when the air pollution degree reaches a preset value, one or more of the air conditioner, the humidifier and the air purifier are turned on when the current time is in a preset time interval, and one or more of the air conditioner, the humidifier and the air purifier are turned on at a preset time point.
7. The method of claim 5,
the processing module is further configured to write an execution record of the target scene information after the at least one trigger instruction included in the target scene information is sent to the target internet of things device;
the processing module is further configured to, after the target scene information arranged in the first order in the information queue is obtained, determine whether an execution record of the target scene information is written currently, if so, end the current flow, and if not, determine whether the current external factor meets the execution condition of the target scene information.
8. The apparatus according to any one of claims 5 to 7,
the processing module is further configured to, after the determining whether the current external factor meets the execution condition of the target scene information, execute: and if the current external factors do not accord with the execution conditions of the target scene information, sending the target scene information to the storage server.
9. Thing networking equipment control system, its characterized in that includes: the internet of things device control apparatus and storage server of any one of claims 5-8;
the Internet of things equipment control device is connected with the storage server;
the storage server is used for caching at least one piece of scene information edited in advance.
10. The system of claim 9,
further comprising: a database;
the database is used for acquiring and storing the at least one scene information edited in advance;
and the storage server is used for acquiring and caching the at least one piece of scene information edited in advance from the database.
CN202010265896.1A 2020-04-07 2020-04-07 Internet of things equipment control method, device and system Pending CN111324077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010265896.1A CN111324077A (en) 2020-04-07 2020-04-07 Internet of things equipment control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010265896.1A CN111324077A (en) 2020-04-07 2020-04-07 Internet of things equipment control method, device and system

Publications (1)

Publication Number Publication Date
CN111324077A true CN111324077A (en) 2020-06-23

Family

ID=71164289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010265896.1A Pending CN111324077A (en) 2020-04-07 2020-04-07 Internet of things equipment control method, device and system

Country Status (1)

Country Link
CN (1) CN111324077A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068450A (en) * 2020-08-31 2020-12-11 珠海格力电器股份有限公司 Purifier and wall-mounted furnace linkage control method, system and device and purifier
CN113504766A (en) * 2021-07-02 2021-10-15 海尔(深圳)研发有限责任公司 Method, system, apparatus, server and storage medium for scheduling a scene task
CN114650310A (en) * 2022-03-11 2022-06-21 腾讯科技(深圳)有限公司 Equipment control method and device based on Internet of things, electronic equipment and storage medium
CN114879525A (en) * 2022-05-25 2022-08-09 四川虹美智能科技有限公司 Intelligent house-keeping system based on complete set of household electrical appliance equipment
CN115378929A (en) * 2022-10-26 2022-11-22 杭州华橙软件技术有限公司 Method, system, device and storage medium for solving multi-scheme execution conflict
CN116996546A (en) * 2023-07-06 2023-11-03 九科信息技术(深圳)有限公司 Control method, device and equipment of Internet of things equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018000291A1 (en) * 2016-06-30 2018-01-04 宋英楠 Control method and system for smart furniture
CN110045621A (en) * 2019-04-12 2019-07-23 深圳康佳电子科技有限公司 Intelligent scene processing method, system, smart home device and storage medium
CN110262261A (en) * 2019-05-31 2019-09-20 华为技术有限公司 A kind of method, Cloud Server and smart home system controlling device service
CN110456654A (en) * 2019-08-23 2019-11-15 广州佳恒工程技术有限公司 A kind of internet of things intelligent household control system
CN110716445A (en) * 2019-11-25 2020-01-21 重庆电子工程职业学院 Intelligent household appliance control method and device based on Internet of things operating system
WO2020056781A1 (en) * 2018-09-21 2020-03-26 淄博齐鼎立专利信息咨询有限公司 Smart home system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018000291A1 (en) * 2016-06-30 2018-01-04 宋英楠 Control method and system for smart furniture
WO2020056781A1 (en) * 2018-09-21 2020-03-26 淄博齐鼎立专利信息咨询有限公司 Smart home system
CN110045621A (en) * 2019-04-12 2019-07-23 深圳康佳电子科技有限公司 Intelligent scene processing method, system, smart home device and storage medium
CN110262261A (en) * 2019-05-31 2019-09-20 华为技术有限公司 A kind of method, Cloud Server and smart home system controlling device service
CN110456654A (en) * 2019-08-23 2019-11-15 广州佳恒工程技术有限公司 A kind of internet of things intelligent household control system
CN110716445A (en) * 2019-11-25 2020-01-21 重庆电子工程职业学院 Intelligent household appliance control method and device based on Internet of things operating system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068450A (en) * 2020-08-31 2020-12-11 珠海格力电器股份有限公司 Purifier and wall-mounted furnace linkage control method, system and device and purifier
CN112068450B (en) * 2020-08-31 2021-12-10 珠海格力电器股份有限公司 Purifier and wall-mounted furnace linkage control method, system and device and purifier
CN113504766A (en) * 2021-07-02 2021-10-15 海尔(深圳)研发有限责任公司 Method, system, apparatus, server and storage medium for scheduling a scene task
WO2023273752A1 (en) * 2021-07-02 2023-01-05 海尔(深圳)研发有限责任公司 Method, system, and device for scheduling scene tasks, server, and storage medium
CN114650310A (en) * 2022-03-11 2022-06-21 腾讯科技(深圳)有限公司 Equipment control method and device based on Internet of things, electronic equipment and storage medium
CN114650310B (en) * 2022-03-11 2023-03-14 腾讯科技(深圳)有限公司 Equipment control method and device based on Internet of things, electronic equipment and storage medium
CN114879525A (en) * 2022-05-25 2022-08-09 四川虹美智能科技有限公司 Intelligent house-keeping system based on complete set of household electrical appliance equipment
CN114879525B (en) * 2022-05-25 2023-07-25 四川虹美智能科技有限公司 Intelligent house-keeping system based on complete household appliances
CN115378929A (en) * 2022-10-26 2022-11-22 杭州华橙软件技术有限公司 Method, system, device and storage medium for solving multi-scheme execution conflict
CN116996546A (en) * 2023-07-06 2023-11-03 九科信息技术(深圳)有限公司 Control method, device and equipment of Internet of things equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111324077A (en) Internet of things equipment control method, device and system
CN110321387B (en) Data synchronization method, equipment and terminal equipment
CN109491859A (en) For the collection method of container log in Kubernetes cluster
CN106648512B (en) Vehicle-mounted virtual image display method and device and vehicle-mounted host
CN109951538A (en) Data processing method, device, system, electronic equipment and storage medium
CN113391973B (en) Internet of things cloud container log collection method and device
CN112035534A (en) Real-time big data processing method and device and electronic equipment
CN114040243A (en) Live broadcast room video playing method and device
CN113268004A (en) Scene creating method and device, computer equipment and storage medium
CN113672748A (en) Multimedia information playing method and device
CN108647278B (en) File management method and system
CN109525730B (en) Voice reminding method and device, storage medium and air conditioner
WO2021087990A1 (en) Tag updating method and device, electronic apparatus, and storage medium
CN115309802A (en) User distribution thermodynamic diagram acquisition method and device, electronic equipment and storage medium
CN102984506A (en) 3G-SDI/DVI portable video signal collecting method
CN111125479B (en) Statistical method, device, computer equipment and storage medium for site access
CN108664578B (en) File circulating storage method and system
CN113944994B (en) Air conditioner with user-defined operation function
CN114911418B (en) Radio signal storage and playback device
CN203027375U (en) Portable video signal collecting device of 3G-SDI/DVI (3Gbps serial digital interface/digital video interface)
CN115524977A (en) Control method and device of Internet of things equipment, electronic equipment and storage medium
CN116662603B (en) Time shaft control method and system based on kafka, electronic equipment and storage medium
WO2023120539A1 (en) Video transmission device, program, video transmission method, and system
CN111380190B (en) Somatosensory temperature reporting method and system and intelligent air conditioner
CN115119044B (en) Video processing method, device, system and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623

RJ01 Rejection of invention patent application after publication