CN113467270B - Smart home linkage method and device and computer storage medium - Google Patents

Smart home linkage method and device and computer storage medium Download PDF

Info

Publication number
CN113467270B
CN113467270B CN202110920549.2A CN202110920549A CN113467270B CN 113467270 B CN113467270 B CN 113467270B CN 202110920549 A CN202110920549 A CN 202110920549A CN 113467270 B CN113467270 B CN 113467270B
Authority
CN
China
Prior art keywords
parameter data
state information
linkage
intelligent gateway
environment parameter
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
CN202110920549.2A
Other languages
Chinese (zh)
Other versions
CN113467270A (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 Heiman Technology Co ltd
Original Assignee
Shenzhen Heiman 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 Heiman Technology Co ltd filed Critical Shenzhen Heiman Technology Co ltd
Priority to CN202110920549.2A priority Critical patent/CN113467270B/en
Publication of CN113467270A publication Critical patent/CN113467270A/en
Application granted granted Critical
Publication of CN113467270B publication Critical patent/CN113467270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • 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
    • 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]

Abstract

The application relates to the technical field of Internet of things, in particular to an intelligent home linkage method, an intelligent home linkage device and a computer storage medium, wherein an intelligent gateway acquires state information of active operation of home equipment and reference environment parameter data in a corresponding area, associates the state information with the corresponding reference environment parameter data respectively to generate an initial linkage condition, and marks the initial linkage condition confirmed by a user as a determined linkage condition; the intelligent gateway acquires actual environment parameter data, compares the actual environment parameter data with reference environment parameter data in the determined linkage condition respectively, and automatically controls the household equipment to adjust to a state corresponding to the determined linkage condition if the actual environment parameter data are matched with the corresponding reference environment parameter data; the method saves the time for a user to learn the linkage method of the home equipment, reduces the phenomena of inaccurate and insufficient manual configuration caused by the unfamiliarity of the user to the smart home, and improves the experience of the user.

Description

Smart home linkage method and device and computer storage medium
Technical Field
The application relates to the technical field of Internet of things, in particular to an intelligent home linkage method and device and a computer storage medium.
Background
The intelligent home is home equipment connected through the Internet of things technology, a home is taken as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, and an efficient management system for home facilities and home schedule affairs is constructed.
In view of the above-mentioned related technologies, the inventor believes that the user can conveniently use the smart home after completely mastering the principle, the linkage logic and the linkage method of each home device, but the linkage function is too complex for the user, and the operation is inconvenient.
Disclosure of Invention
The invention aims to provide an intelligent home self-learning linkage device, and particularly improves the effect of operation convenience of an intelligent home.
The invention is based on the following technical scheme to realize the purpose.
An intelligent home linkage method, the method comprising:
the method comprises the following steps that a user names household equipment, an environment sensor, a linkage sensor and an information monitoring sensor, and divides areas;
the intelligent gateway acquires state information of active operation of the household equipment and reference environment parameter data output by an environment sensor in a corresponding region, and associates the state information with the corresponding reference environment parameter data respectively to generate an initial linkage condition; the intelligent gateway sorts the initial linkage conditions according to the sequence of the occurrence frequency from high to low, sends the sorted initial linkage conditions to the mobile terminal, performs text interpretation on each initial linkage condition for modification confirmation by a user, synchronously updates the text interpretation corresponding to the initial linkage condition modified by the user, interprets the effect corresponding to the initial linkage condition, sends the initial linkage condition to the intelligent gateway after the user confirms, and marks the initial linkage condition confirmed by the user as a determined linkage condition; the intelligent gateway acquires actual environment parameter data, compares the actual environment parameter data with reference environment parameter data in the determined linkage condition respectively, and automatically controls the household equipment to adjust to a state corresponding to the determined linkage condition if the actual environment parameter data are matched with the corresponding reference environment parameter data;
the intelligent gateway respectively carries out table look-up fuzzy matching on the names of the linkage sensors and the names of the household equipment, and if the names of the linkage sensors are matched with the names of the household equipment, the linkage sensors are associated with the corresponding household equipment;
and the intelligent gateway associates the information monitoring sensor with the fixedly-operated household equipment.
By adopting the technical scheme, when the household equipment is actively operated by a user, the household equipment sends actively operated state information to the intelligent gateway, the intelligent gateway analyzes the state information at idle, the actively operated state information is respectively associated with the corresponding reference environment parameter data to generate an initial linkage condition, the initial linkage condition is marked as a determined linkage condition after being confirmed by the user, and when the actual environment parameter data is in associated match with the reference environment parameter data of the determined linkage condition, the intelligent gateway automatically controls the household equipment to be adjusted to the state corresponding to the determined linkage condition; meanwhile, the intelligent gateway associates the linkage sensor with the corresponding household equipment through fuzzy matching, and associates the information monitoring sensor with the corresponding household equipment through recommending fixed operation. The method saves the time for a user to learn the linkage method of the home equipment, reduces the phenomena of inaccurate and insufficient manual configuration caused by the unfamiliarity of the user to the smart home, and improves the experience of the user.
Optionally, the intelligent gateway receives state information a1 of the home equipment at any time, receives state information a2 of the home equipment after a preset time interval, and filters state information a2 and stores state information a1 if the change conditions of the state information a2 and the state information a1 do not exceed corresponding thresholds; if the change in state information A2 and state information A1 exceeds the corresponding threshold, then state information A1 and state information A2 are stored;
the intelligent gateway receives the environmental parameter data B1 at any moment, receives the corresponding environmental parameter data B2 after a preset time interval, and filters the environmental parameter data B2 and stores the environmental parameter data B1 if the change conditions of the environmental parameter data B2 and the corresponding environmental parameter data B1 do not exceed the corresponding threshold values; storing the environment parameter data B1 and the environment parameter data B2 if the variation of the environment parameter data B2 and the corresponding environment parameter data B1 exceeds the corresponding threshold;
the intelligent gateway receives state information C1 of the linkage type sensor at any moment, receives state information C2 of the corresponding linkage type sensor after a preset time interval, filters the state information C2 if the change conditions of the state information C2 and the corresponding state information C1 do not exceed corresponding threshold values, and stores the state information C1; if the state information C12 and the corresponding state information C1 change more than the corresponding threshold, the state information C1 and the state information C2 are stored;
the intelligent gateway receives state information D1 of the information monitoring sensor at any moment, receives state information D2 of the corresponding monitoring sensor after a preset time interval, filters the state information D2 and stores the state information D1 if the change conditions of the state information D2 and the corresponding state information D1 do not exceed corresponding threshold values; if the variation of the state information D2 and the corresponding state information D1 exceeds the corresponding threshold, the state information D1 and the state information D2 are stored.
By adopting the technical scheme, if the intelligent gateway stores all the received information and data, the storage space is insufficient, the flash service life is shortened, and the system running speed is influenced, so that the intelligent gateway can filter the state information or data of which the variation does not exceed the corresponding threshold, and the phenomenon of storing too much same information and data is reduced.
Optionally, after the intelligent gateway obtains the state information of the active operation of the home device, if the environment parameter data is not received after a plurality of consecutive preset time intervals, the intelligent gateway determines that the corresponding environment sensor is in an offline state, outputs offline information corresponding to the environment sensor, and stops using the environment parameter data before the corresponding preset time interval, when the environment parameter data is received again, the intelligent gateway determines that the corresponding environment sensor is in an online state, and outputs online information corresponding to the environment sensor, and the intelligent gateway outputs the environment parameter data received after the online information, and associates the environment parameter data with the corresponding state information.
By adopting the technical scheme, the environment parameter data are stored in the intelligent gateway before the environment sensor is in the off-line state, the actual environment parameter data cannot be sent to the intelligent gateway in time after the environment sensor is off-line, so that the actual environment parameter data possibly have an overlarge difference with the environment parameter data stored in the intelligent gateway, the use of the environment parameter data before the corresponding preset time interval is stopped before the off-line state is stopped, and the environment parameter data obtained after the on-line state is recovered are used by the intelligent gateway after the environment sensor is recovered in the on-line state.
Optionally, if the intelligent gateway receives heartbeat data of the corresponding home equipment within a preset time interval, the intelligent gateway judges that the home equipment is in an online state, outputs online information of the corresponding home equipment, and stores an online log of the home equipment; if the heartbeat data of the corresponding household equipment is not received through a plurality of continuous preset time intervals, the intelligent gateway judges that the household equipment is in an off-line state, outputs off-line information of the corresponding household equipment and stores an off-line log of the household equipment.
By adopting the technical scheme, the intelligent gateway and the household equipment can receive and send information only by keeping connection, the intelligent gateway judges whether the intelligent gateway is kept connected with the household equipment or not through heartbeat data, if the intelligent gateway still does not receive the heartbeat data of the corresponding household equipment through a plurality of continuous preset time intervals, the household equipment is judged to be in an off-line state, off-line information of the corresponding household equipment is output, a user is reminded to check off-line reasons in time, and connection is reestablished. The purpose of storing the online logs and the offline logs is that the intelligent gateway judges the online time of the household equipment by using the online logs, judges the offline time of the household equipment by using the offline logs, and does not adapt to the environmental parameter data at the moment when the household equipment is in an offline state.
Optionally, the intelligent gateway obtains the total number of times that the state information of all the home devices changes in each preset time interval in one day, compares the total number of times that the state information of all the home devices changes with the preset number of times, and marks the corresponding preset time interval as the initial idle time if the total number of times that the state information of the home devices changes is less than the preset number of times; and the intelligent gateway compares the initial idle time of the next day with all the previous initial idle times in sequence, and marks the time period when the initial idle time coincidence rate is higher than a preset value as the final idle time.
By adopting the technical scheme, the intelligent gateway defaults to be idle time in the morning on the first day, preferentially selects to analyze at night to obtain the initial idle time of the previous day on the second day, preferentially selects to analyze at night to obtain the initial idle time of the previous two days on the third day, and so on to obtain the final idle time, and then the intelligent gateway analyzes the state information and the environmental parameter data of all the household equipment at the final idle time. The user does not actively operate the household equipment in idle time, the household equipment does not send state information to the intelligent gateway, and the state information and the environmental parameter data are analyzed at the moment, so that the phenomenon of blockage caused by overload operation of the intelligent gateway can be reduced.
The invention aims at providing an intelligent household linkage device.
The second purpose of the invention is realized based on the following technical scheme.
An intelligent home linkage device comprises home equipment, an environment sensor, a linkage sensor, an information monitoring sensor and an intelligent gateway;
the household equipment is used for outputting state information of active operation;
the environment type sensor is used for detecting the change condition of the environment parameter data in the region and outputting the environment parameter data based on the change condition of the environment parameter data;
the linkage sensor is used for detecting the condition of indoor personnel;
the information monitoring sensor is used for sending alarm information;
the intelligent gateway is respectively connected with the household equipment, the environment sensor, the linkage sensor and the information monitoring sensor;
the intelligent gateway is used for acquiring state information of active operation of the home equipment and reference environment parameter data output by environment sensors in corresponding areas, associating the state information with the corresponding reference environment parameter data respectively to generate initial linkage conditions, sequencing the initial linkage conditions according to the sequence of the occurrence frequency from high to low, sending the sequenced initial linkage conditions to the mobile terminal, performing text interpretation on each initial linkage condition for modification and confirmation by a user, synchronously updating the corresponding text interpretation after the user modifies the initial linkage conditions, interpreting the effect of the corresponding initial linkage conditions, and marking the initial linkage conditions confirmed by the user as determined linkage conditions; the intelligent gateway also acquires actual environment parameter data, compares the actual environment parameter data with reference environment parameter data in the determined linkage condition respectively, and automatically controls the household equipment to adjust to a state corresponding to the determined linkage condition if the actual environment parameter data are matched with the corresponding reference environment parameter data;
the intelligent gateway is used for respectively carrying out table look-up fuzzy matching on the names of the linkage sensors and the names of the household equipment, and if the names of the linkage sensors are matched with the names of the household equipment, the linkage sensors are associated with the corresponding household equipment;
the intelligent gateway is used for associating the information monitoring sensor with the fixedly-operated household equipment.
By adopting the technical scheme, when the household equipment is actively operated by a user, the household equipment sends actively operated state information to the intelligent gateway, the intelligent gateway analyzes the state information at idle, the actively operated state information is respectively associated with the corresponding reference environment parameter data to generate an initial linkage condition, the initial linkage condition is marked as a determined linkage condition after being confirmed by the user, and when the actual environment parameter data is in associated match with the reference environment parameter data of the determined linkage condition, the intelligent gateway automatically controls the household equipment to be adjusted to the state corresponding to the determined linkage condition; meanwhile, the intelligent gateway associates the linkage sensor with the corresponding household equipment through fuzzy matching, and associates the information monitoring sensor with the corresponding household equipment through recommending fixed operation. The device saves the time for a user to learn the linkage method of the household equipment, reduces the phenomena of inaccurate and insufficient manual configuration caused by the unfamiliarity of the user to the intelligent household equipment, and improves the experience of the user.
Optionally, the environment sensor outputs environment parameter data based on a change condition of the environment parameter data, and if a variation of the environment parameter data exceeds a corresponding preset value, the changed environment parameter data is sent to the intelligent gateway; and if the variable quantity of the environmental parameter data is smaller than the corresponding preset value, sending the environmental parameter data to the intelligent gateway every corresponding preset time interval.
By adopting the technical scheme, the environment sensor sends the environment parameter data with the change condition exceeding the preset value to the intelligent gateway, so that the phenomenon of sending repeated data to the intelligent gateway can be reduced, and the service life of a battery of the environment sensor can be prolonged; if the environmental parameter data are kept stable and the change condition is always smaller than the corresponding preset value, the environmental parameter data are sent to the intelligent gateway once every corresponding preset time interval, after the intelligent gateway receives the environmental parameter data once, the corresponding environmental parameter data are not received again after a plurality of continuous preset time intervals, and then the environmental sensor is judged to be in an off-line state.
The third purpose of the invention is to provide a computer device.
The third object of the invention is realized by the following technical scheme:
a computer device comprises a memory and a processor, wherein the memory is loaded with a computer program which can be executed by the processor in any step of the intelligent home linkage method.
The invention also provides a computer readable storage medium.
The fourth object of the invention is realized by the following technical scheme:
a computer readable storage medium storing a computer program that can be loaded and executed to perform any one of the steps of the smart home linkage method as described above.
In summary, the present invention includes at least one of the following beneficial effects:
when the actual environment parameter data is matched with the reference environment parameter data, the intelligent gateway can automatically control the household equipment to execute a state corresponding to the reference environment parameter data, the time for a user to learn the linkage method of the household equipment is shortened, the phenomenon that manual configuration is inaccurate and insufficient due to the fact that the user is not familiar with the intelligent household is reduced, and user experience is improved.
Detailed Description
The present invention will be described in further detail below.
The present embodiment is only for explaining the present invention, and it is not limited to the present invention, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present invention.
The embodiment of the invention discloses an intelligent home furnishing linkage device which comprises home furnishing equipment, an environment sensor, a linkage sensor, an information monitoring sensor and an intelligent gateway. The household equipment comprises an air conditioner controller, a fresh air controller, a switch, an illuminating lamp, socket equipment and the like; the environment sensors comprise a light intensity sensor, a temperature sensor, a humidity sensor and the like; the linkage sensor comprises a human body detector, a door magnetic detector and the like; the information monitoring sensor comprises a smoke alarm, an air alarm and the like. The intelligent gateway is respectively connected with each household device, the environment sensor, the linkage sensor and the information monitoring sensor, is also connected with the cloud server, and sends information to the mobile terminal of the user through the cloud server.
In the embodiment of the application, the environment type sensor sends the environment parameter data to the intelligent gateway according to the real-time change condition of the environment parameter data. If the variation of the environmental parameter data exceeds the corresponding preset value, the changed data is sent to the intelligent gateway, the phenomenon that repeated data are sent to the intelligent gateway is reduced, and the effect of prolonging the service life of the battery of the environmental sensor is achieved. If the variation of the environmental parameter data is smaller than the corresponding preset value, the environmental sensor sends the latest environmental parameter data to the intelligent gateway once after the corresponding preset time interval, and if the intelligent gateway does not receive new environmental parameter data after 3 or 4 continuous preset time intervals, the corresponding environmental sensor is judged to be in an off-line state.
Another embodiment of the invention discloses an intelligent home furnishing linkage method, which mainly comprises the following steps:
a user firstly names household equipment, an environment sensor, a linkage sensor and an information monitoring sensor and divides areas;
for the household equipment, when the user operates the household equipment manually or through APP, the state information of the household equipment is changed, and the changed state information is uploaded to the intelligent gateway and stored by the household equipment. And the intelligent gateway receives and stores the reference environment parameter data sent by the environment type sensor. The intelligent gateway associates the state information of the household equipment with the stored reference environment parameter data to generate initial linkage conditions, uploads the initial linkage conditions to the cloud server, and the cloud server sends the initial linkage conditions to the mobile terminal of the user. And modifying and confirming the initial linkage condition by the user, synchronously updating the text explanation corresponding to the initial linkage condition modified by the user, retransmitting the confirmed initial linkage condition to the intelligent gateway, and marking the confirmed initial linkage condition as a determined linkage condition by the intelligent gateway.
The habit of using the household equipment by a user may be irregular, so that the household equipment corresponds to a plurality of groups of different reference environment parameter data in the same state, the intelligent gateway associates the same state information of the household equipment with the plurality of groups of different reference environment parameter data respectively to generate a plurality of initial linkage conditions, the intelligent gateway sorts the initial linkage conditions according to the occurrence frequency of each initial linkage condition, the more the occurrence frequency is, the higher the matching degree of the linkage condition and the habit of the user is, the intelligent gateway sends the sorted initial linkage conditions to the mobile terminal of the user through the cloud server, and the initial linkage condition which is most matched with the habit of the user is selected by the user as the determined linkage condition.
The intelligent gateway obtains actual environment parameter data sent by the environment sensor, compares the actual environment parameter data with reference environment parameter data in the determined linkage condition respectively, and automatically controls the household equipment to adjust to a state corresponding to the determined linkage condition if the actual environment parameter data are matched with the corresponding reference environment parameter data.
For linkage sensors, research personnel list common equipment corresponding items in a program, for example, an air quality sensor is respectively matched with an air conditioner, a humidifier and a fresh air system, and a human body induction sensor illuminating lamp is matched. And the intelligent gateway respectively carries out table look-up fuzzy matching on the names of the linkage sensors and the names of the household equipment, and if the names of the linkage sensors are in matching relation with the names in the naming table of the household equipment, the linkage sensors are associated with the corresponding household equipment.
For the information monitoring sensor, the intelligent gateway recommends that the household equipment with fixed operation is associated with the information monitoring sensor. For example, the gas sensing alarm is used for detecting the gas leakage condition, and if the gas leakage condition occurs, the gas pipeline valve needs to be closed, so that the gas sensing alarm is associated with the gas pipeline valve. When gas leakage occurs, electric sparks are easy to generate when the electric appliance is turned on or turned off, explosion is caused, in order to reduce the phenomenon that the intelligent gateway operates other household equipment under the condition of gas leakage, when the gas leakage occurs, the intelligent gateway can stop linkage of the household equipment and the environment sensor, and even if actual environment parameter data is matched with reference environment parameter data for determining linkage conditions, the intelligent gateway cannot change the state information of the household equipment.
Household equipment, environment class sensor, linkage class sensor and information monitoring class sensor's each item information and data all send intelligent gateway to save and the analysis, if intelligent gateway storage is too much information and data, can lead to intelligent gateway storage space not enough, reduce the flash life-span, influence system operating speed, therefore intelligent gateway can filter the information and the data received.
For example, the lighting lamp state information a1 received by the intelligent gateway is in an off state, and after a preset time interval, the lighting lamp state information a2 is received, the lighting lamp state information a2 is also in an off state, and the state information a2 and the state information a1 are not changed, the state information a2 is filtered, and the state information a1 is stored. After the preset time interval again, the state information A2 of the illuminating lamp is received again, if A2 is still in the off state, the state information A2 is filtered, and the state information A1 is still stored; if the re-received illumination lamp state information a2 is in an on state, the state information a2 is stored.
For example, the temperature data B1 output by the temperature sensor received by the intelligent gateway is 25 ℃, after a preset time interval, the received temperature data B2 is 25.5 ℃, the difference between the temperature data B2 and the temperature data B1 is 0.5 ℃, and does not exceed the preset value of 0.8 ℃, the temperature data B2 is filtered, and the temperature data B1 is stored. After the preset time interval, the temperature data B2 is received again, if the difference between the temperature data B2 and the temperature data B1 still does not exceed the preset value of 0.8 ℃, the temperature data B2 are filtered, and the temperature data B1 are still stored; if the difference between the re-received temperature data B2 and the temperature data B1 exceeds the preset value of 0.8 ℃, the temperature data B2 is stored.
The state information C1 and the state information C2 output by the linkage type sensor, and the state information D1 and the state information D2 output by the information monitoring type sensor are also stored after the comparison step and the filtering step in the method.
The intelligent gateway needs to be connected with the household equipment to receive the state information of the household equipment, and is connected with the environment sensor to receive the environment parameter data. The home devices and the environment sensors may have device faults, power failure, disconnection from the intelligent gateway, and the like, and therefore the intelligent gateway needs to detect whether the home devices and the environment sensors are in an online state.
For the household equipment, the intelligent gateway receives heartbeat data sent by the household equipment by using the radio frequency circuit. After receiving the heartbeat data sent by the home equipment, the intelligent gateway receives the heartbeat data again through a corresponding preset time interval, and the home equipment is in an online state. When the user actively operates the household equipment, the state information of the household equipment is sent and changed, and the changed state information and the heartbeat data are sent to the intelligent gateway together. If the heartbeat data is not received again after the intelligent gateway receives the heartbeat data sent by the home equipment for 3 or 4 continuous preset time intervals, the intelligent gateway judges that the home equipment is in an off-line state, outputs off-line information corresponding to the home equipment, reminds a user to check off-line reasons in time and restore connection in time. And when the intelligent gateway judges that the household equipment is in an online state, the intelligent gateway stores the online logs at the same time, when the intelligent gateway judges that the household equipment is in an offline state, the intelligent gateway stores the offline logs at the same time, the intelligent gateway obtains the offline time of the household equipment according to the online logs and the offline logs, and the state information of the offline time is not associated with the environmental parameter data.
For the environment sensors, after the intelligent gateway acquires the state information of the active operation of the home equipment, if the environment parameter data is not received after 3 or 4 continuous preset time intervals, the intelligent gateway judges that the corresponding environment sensors are in an off-line state, outputs the off-line information of the corresponding environment sensors, reminds a user to check off-line reasons in time and restores connection in time. The environmental parameter data sent to the intelligent gateway by the environmental sensor before being offline is not associated with the state information of the household equipment. When the environment parameter data is received again, the intelligent gateway judges that the corresponding environment sensor recovers the online state and outputs the online information of the corresponding environment sensor, and the environment parameter data received after the intelligent gateway outputs the online information can be associated with the corresponding household equipment state information.
When the intelligent gateway analyzes the state information and the environmental parameter data of the household equipment, time is consumed for calculating all received information and data, and if the household equipment still sends the state information to the intelligent gateway at the moment, the intelligent gateway can receive excessive operation, so that the intelligent gateway runs in an overload mode, and jamming is caused. The intelligent gateway needs to analyze the received information and data at the home device's idle time.
The intelligent gateway can simultaneously store corresponding timestamps when receiving the state information of the household equipment, obtains the total times of changing the state information of all the household equipment in each preset time interval in one day according to the stored timestamps, compares the total times of changing the state information of all the household equipment with the preset times, and marks the corresponding preset time interval as initial idle time if the total times of changing the state information of the household equipment is less than the preset times.
For example, 1 day is divided into 12 preset time intervals, each preset time interval is 2 hours, the preset times are 0, the total times of change of the state information of all the household equipment in two preset time intervals of 1:00 to 5:00 in the morning is 0, and then 1:00 to 5:00 in the morning is marked as the initial idle time of the day. The intelligent gateway preferentially selects the middle time of the initial idle time of the previous day, which starts at 2:00 am, compares the initial idle time of the current day with all the initial idle times of the previous day, if the initial idle times of the continuous three days are all from 1:00 to 5:00 am, marks the initial idle times from 1:00 to 5:00 am as final idle time, and then the intelligent gateway begins to analyze the information and data received in the daytime at the middle time of the final idle time, which starts at 2:00 am. The purpose of preferentially selecting the intermediate time of the idle time is to prevent linkage between the household equipment and the environment sensor when the idle time starts, so that more data exist in the network and influence the efficiency of the equipment in analyzing the data, and the idle time is already in a stable state at the intermediate time.
The following specifically explains the embodiments of the present application with reference to a hallway lamp as an example.
The hallway lamp has a lighting effect at the hallway, a user opens the door between 18:30 and 19:30 every day, the door magnet at the door is opened, people exist at the hallway, if the indoor illumination intensity is lower than 150Lux, the user needs to manually turn on the hallway lamp and is used to adjust the hallway lamp to be green, and after the user passes through the hallway to enter a living room, the hallway lamp is manually turned off, and no people exist at the hallway.
The intelligent gateway uploads state information of the state that the entrance lamp is turned on and green in color to the intelligent gateway for storage, uploads environment parameter information of 18:30 to 19:30 time period and illumination intensity lower than 150Lux of the state that a door magnet at a door is turned on, people are in the entrance, to the intelligent gateway for storage, associates the state information of the entrance lamp with corresponding environment parameter data to generate an initial linkage condition, and sends the initial linkage condition to a mobile terminal of a user through a cloud server, and the user can edit and confirm the initial linkage condition on the mobile terminal. After the user confirms that the environment parameter data meet the conditions that the door magnet at the door is opened, the person is in the entrance, the time period is 18:30 to 19:30 and the illumination intensity is lower than 150Lux again, the intelligent gateway can control the entrance lamp to be automatically turned on.
The intelligent gateway uploads the state information of the closed state of the vestibule lamp to the intelligent gateway for storage, uploads the environment parameter information of the unmanned state of the vestibule to the intelligent gateway for storage, associates the state information of the vestibule lamp with the corresponding environment parameter information to generate an initial linkage condition, and sends the initial linkage condition to a mobile terminal of a user through a cloud server.
The life of the user may be irregular, the time for opening the door is uncertain, if the time for opening the door is mainly concentrated between 18:30 and 19:30 and the time for opening the door is partially concentrated between 21:00 and 22:00, the intelligent gateway can judge that the matching degree of the environment parameter data between 18:30 and 19:30 and the user habit is higher, and the matching degree of the environment parameter data between 21:00 and 22:00 and the user habit is lower. And the intelligent gateway sends the initial linkage conditions corresponding to the two sets of environmental parameter data to a user mobile terminal through the cloud server for selection and editing by a user. The intelligent gateway can also sequence a plurality of groups of initial linkage conditions according to the matching degree, and the plurality of groups of initial linkage conditions are displayed on the mobile terminal from high to low according to the matching degree for a user to edit and confirm.
Another implementation manner of the embodiment of the application discloses computer equipment, which comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and can execute any step of the intelligent home linkage method.
Another implementation manner of the embodiment of the application discloses a computer-readable storage medium, which stores a computer program capable of being loaded and executing any step of the intelligent home linkage method.

Claims (4)

1. The utility model provides an intelligent home furnishing linkage method, which is characterized by comprising:
the method comprises the following steps that a user names household equipment, an environment sensor, a linkage sensor and an information monitoring sensor, and carries out region division;
the intelligent gateway acquires state information of active operation of the household equipment and reference environment parameter data output by an environment sensor in a corresponding region, and associates the state information with the corresponding reference environment parameter data respectively to generate an initial linkage condition; the intelligent gateway sorts the initial linkage conditions in the sequence from high to low, sends the sorted initial linkage conditions to the mobile terminal, performs text interpretation on each initial linkage condition for modification and confirmation by a user, synchronously updates the corresponding text interpretation after the user modifies the initial linkage conditions, interprets the effect of the corresponding initial linkage conditions, sends the initial linkage conditions to the intelligent gateway after the user confirms, and marks the initial linkage conditions confirmed by the user as determined linkage conditions; the intelligent gateway acquires actual environment parameter data, compares the actual environment parameter data with reference environment parameter data in the determined linkage condition respectively, and automatically controls the household equipment to adjust to a state corresponding to the determined linkage condition if the actual environment parameter data are matched with the corresponding reference environment parameter data;
the intelligent gateway respectively carries out table look-up fuzzy matching on the names of the linkage sensors and the names of the household equipment, and if the names of the linkage sensors are matched with the names of the household equipment, the linkage sensors are associated with the corresponding household equipment;
the intelligent gateway associates the information monitoring sensor with the fixedly operated household equipment;
the intelligent gateway receives state information A1 of the household equipment at any moment, receives state information A2 of the household equipment after a preset time interval, filters the state information A2 and stores the state information A1 if the change conditions of the state information A2 and the state information A1 do not exceed corresponding threshold values; if the change in state information A2 and state information A1 exceeds the corresponding threshold, then state information A1 and state information A2 are stored;
the intelligent gateway receives the environmental parameter data B1 at any moment, receives the corresponding environmental parameter data B2 after a preset time interval, and filters the environmental parameter data B2 and stores the environmental parameter data B1 if the change conditions of the environmental parameter data B2 and the corresponding environmental parameter data B1 do not exceed the corresponding threshold values; storing the environment parameter data B1 and the environment parameter data B2 if the variation of the environment parameter data B2 and the corresponding environment parameter data B1 exceeds the corresponding threshold;
the intelligent gateway receives state information C1 of the linkage type sensor at any moment, receives state information C2 of the corresponding linkage type sensor after a preset time interval, filters the state information C2 if the change conditions of the state information C2 and the corresponding state information C1 do not exceed corresponding threshold values, and stores the state information C1; if the state information C12 and the corresponding state information C1 change more than the corresponding threshold, the state information C1 and the state information C2 are stored;
the intelligent gateway receives state information D1 of the information monitoring sensor at any moment, receives state information D2 of the corresponding monitoring sensor after a preset time interval, filters the state information D2 and stores the state information D1 if the change conditions of the state information D2 and the corresponding state information D1 do not exceed corresponding threshold values; storing the state information D1 and the state information D2 if the change of the state information D2 and the corresponding state information D1 exceeds the corresponding threshold value;
after the intelligent gateway acquires the state information of the active operation of the home equipment, if the environment parameter data are not received after a plurality of continuous preset time intervals, the intelligent gateway judges that the corresponding environment sensor is in an off-line state, outputs the off-line information of the corresponding environment sensor, simultaneously stops using the environment parameter data before the corresponding preset time interval, judges that the corresponding environment sensor is in an on-line state when the environment parameter data are received again, outputs the on-line information of the corresponding environment sensor, and correlates the environment parameter data received after the intelligent gateway outputs the on-line information with the corresponding state information;
if the intelligent gateway receives heartbeat data of the corresponding home equipment within a preset time interval, judging that the home equipment is in an online state, outputting online information of the corresponding home equipment, and storing an online log of the home equipment; if the heartbeat data of the corresponding household equipment is not received through a plurality of continuous preset time intervals, the intelligent gateway judges that the household equipment is in an off-line state, outputs off-line information of the corresponding household equipment and stores an off-line log of the household equipment;
the intelligent gateway obtains the total times of changing the state information of all the household equipment in each preset time interval in one day, compares the total times of changing the state information of all the household equipment with the preset times, and marks the corresponding preset time interval as initial idle time if the total times of changing the state information of the household equipment is less than the preset times; and the intelligent gateway compares the initial idle time of the next day with all the previous initial idle times in sequence, and marks the time period when the coincidence rate of the initial idle times is higher than a preset value as the final idle time.
2. An intelligent home linkage device, which is used for implementing the intelligent home linkage method according to claim 1, and comprises home equipment, an environment sensor, a linkage sensor, an information monitoring sensor and an intelligent gateway;
the household equipment is used for outputting state information of active operation;
the environment type sensor is used for detecting the change condition of the environment parameter data in the region and outputting the environment parameter data based on the change condition of the environment parameter data;
the linkage sensor is used for detecting the condition of indoor personnel;
the information monitoring sensor is used for sending alarm information;
the intelligent gateway is respectively connected with the household equipment, the environment sensor, the linkage sensor and the information monitoring sensor;
the intelligent gateway is used for acquiring state information of active operation of the household equipment and reference environment parameter data output by an environment sensor in a corresponding region, associating the state information with the corresponding reference environment parameter data respectively to generate initial linkage conditions, sequencing the initial linkage conditions according to the sequence of high-to-low occurrence frequency, sending the sequenced initial linkage conditions to the mobile terminal, performing character explanation on each initial linkage condition for a user to modify and confirm, synchronously updating the corresponding character explanation after the user modifies the initial linkage conditions, explaining the effect of the corresponding initial linkage conditions, and marking the initial linkage conditions confirmed by the user as determined linkage conditions; the intelligent gateway also acquires actual environment parameter data, compares the actual environment parameter data with reference environment parameter data in the determined linkage condition respectively, and automatically controls the household equipment to adjust to a state corresponding to the determined linkage condition if the actual environment parameter data are matched with the corresponding reference environment parameter data;
the intelligent gateway is used for respectively carrying out table look-up fuzzy matching on the names of the linkage sensors and the names of the household equipment, and if the names of the linkage sensors are matched with the names of the household equipment, associating the linkage sensors with the corresponding household equipment;
the intelligent gateway is used for associating the information monitoring sensor with the fixedly operated household equipment;
the environment type sensor outputs environment parameter data based on the change condition of the environment parameter data, and if the variation of the environment parameter data exceeds a corresponding preset value, the changed environment parameter data is sent to the intelligent gateway; and if the variable quantity of the environmental parameter data is smaller than the corresponding preset value, sending the environmental parameter data to the intelligent gateway every corresponding preset time interval.
3. A computer device, characterized by: comprising a memory and a processor, said memory having stored thereon a computer program which can be loaded by the processor and which executes the method as claimed in claim 1.
4. A computer-readable storage medium characterized by: a computer program capable of being loaded and executing the method according to claim 1 is stored.
CN202110920549.2A 2021-08-11 2021-08-11 Smart home linkage method and device and computer storage medium Active CN113467270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110920549.2A CN113467270B (en) 2021-08-11 2021-08-11 Smart home linkage method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110920549.2A CN113467270B (en) 2021-08-11 2021-08-11 Smart home linkage method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN113467270A CN113467270A (en) 2021-10-01
CN113467270B true CN113467270B (en) 2022-07-01

Family

ID=77866426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110920549.2A Active CN113467270B (en) 2021-08-11 2021-08-11 Smart home linkage method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113467270B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167161A (en) * 2022-06-27 2022-10-11 青岛海尔科技有限公司 Method and device for determining association relation of lamp, storage medium and electronic device
CN117750590A (en) * 2024-02-18 2024-03-22 四川艾贝斯科技发展有限公司 Street lamp remote control method based on time and illuminance

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412636A (en) * 2013-08-05 2013-11-27 Tcl通讯(宁波)有限公司 Power saving system and power saving method of intelligent terminal
CN104714504A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Control method and control system on smart home and remote server
CN105867158A (en) * 2016-05-30 2016-08-17 北京百度网讯科技有限公司 Smart-home control method and device based on artificial intelligence and system
CN107966960A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 The control method and device of a kind of intelligent appliance
CN108111378A (en) * 2017-12-22 2018-06-01 南京物联传感技术有限公司 The conflict coordination system and method for work of a kind of scene settings of smart home
CN109752960A (en) * 2017-11-08 2019-05-14 中兴通讯股份有限公司 A kind of smart home inter-linked controlling method and device
CN111198503A (en) * 2018-11-16 2020-05-26 中兴通讯股份有限公司 Intelligent household control method, intelligent household equipment and storage medium
CN111240213A (en) * 2018-11-29 2020-06-05 青岛海尔洗衣机有限公司 Control method for intelligent household system
CN111464402A (en) * 2019-01-21 2020-07-28 杰哈思文化创意(杭州)有限公司 Control method of intelligent household equipment, terminal equipment and medium
CN112180752A (en) * 2020-10-14 2021-01-05 四川长虹电器股份有限公司 System and method for automatically generating intelligent household scene linkage setting
CN112286150A (en) * 2020-10-15 2021-01-29 珠海格力电器股份有限公司 Intelligent household equipment management method, device and system and storage medium
CN112534452A (en) * 2018-05-06 2021-03-19 强力交易投资组合2018有限公司 Method and system for improving machines and systems for automatically performing distributed ledger and other transactions in spot and forward markets for energy, computing, storage, and other resources
CN112904738A (en) * 2021-01-19 2021-06-04 珠海格力电器股份有限公司 Equipment linkage control method, system, device, storage medium and equipment
CN113660647A (en) * 2021-08-13 2021-11-16 四川长虹网络科技有限责任公司 Environment monitoring system and method based on Bluetooth LongRange mode

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412636A (en) * 2013-08-05 2013-11-27 Tcl通讯(宁波)有限公司 Power saving system and power saving method of intelligent terminal
CN104714504A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Control method and control system on smart home and remote server
CN105867158A (en) * 2016-05-30 2016-08-17 北京百度网讯科技有限公司 Smart-home control method and device based on artificial intelligence and system
CN107966960A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 The control method and device of a kind of intelligent appliance
CN109752960A (en) * 2017-11-08 2019-05-14 中兴通讯股份有限公司 A kind of smart home inter-linked controlling method and device
CN108111378A (en) * 2017-12-22 2018-06-01 南京物联传感技术有限公司 The conflict coordination system and method for work of a kind of scene settings of smart home
CN112534452A (en) * 2018-05-06 2021-03-19 强力交易投资组合2018有限公司 Method and system for improving machines and systems for automatically performing distributed ledger and other transactions in spot and forward markets for energy, computing, storage, and other resources
CN111198503A (en) * 2018-11-16 2020-05-26 中兴通讯股份有限公司 Intelligent household control method, intelligent household equipment and storage medium
CN111240213A (en) * 2018-11-29 2020-06-05 青岛海尔洗衣机有限公司 Control method for intelligent household system
CN111464402A (en) * 2019-01-21 2020-07-28 杰哈思文化创意(杭州)有限公司 Control method of intelligent household equipment, terminal equipment and medium
CN112180752A (en) * 2020-10-14 2021-01-05 四川长虹电器股份有限公司 System and method for automatically generating intelligent household scene linkage setting
CN112286150A (en) * 2020-10-15 2021-01-29 珠海格力电器股份有限公司 Intelligent household equipment management method, device and system and storage medium
CN112904738A (en) * 2021-01-19 2021-06-04 珠海格力电器股份有限公司 Equipment linkage control method, system, device, storage medium and equipment
CN113660647A (en) * 2021-08-13 2021-11-16 四川长虹网络科技有限责任公司 Environment monitoring system and method based on Bluetooth LongRange mode

Also Published As

Publication number Publication date
CN113467270A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN113467270B (en) Smart home linkage method and device and computer storage medium
CN206710818U (en) A kind of intelligent home control system based on ZigBee and cloud computing
CN103345214B (en) Based on the intelligent household electrical appliance linkage control method of middleware
CN103389710B (en) A kind of environment of internet of things control method based on context aware and equipment
CN103149902B (en) Intelligent home system
CN106950847A (en) A kind of intelligent home control system based on ZigBee and cloud computing
US10496058B2 (en) Energy management system and method in buildings
CN108323180B (en) Home environment monitoring method, device and system
CN103883198A (en) Intelligent window control system used for energy conservation and fire fighting
CN205158025U (en) Closestool control system
CN105717800A (en) Intelligent home control system and method thereof
CN110262265B (en) Indoor environment adjusting method and device based on intelligent home operating system
CN105228320A (en) A kind of Intelligent House Light system and operation method thereof
CN111752160A (en) Intelligent household illumination control system and method thereof
CN203879193U (en) Intelligent window control system used for energy conservation and fire fighting
KR20190076332A (en) Smart home energy management model based on intelligent internet of things
CN105228321A (en) A kind of Intelligent House Light system based on Zigbee and WiFi network and operation method thereof
CN112859697A (en) Warehouse monitoring system based on AI environmental perception
CN103313484A (en) Centralized control system based on construction cabin lamp controller and control method thereof
CN116839186A (en) Intelligent control device of central air conditioner
CN112698602A (en) Wireless Internet of things intelligent building management control system
CN112312626A (en) Indoor intelligent lighting control system
CN210271162U (en) Multi-parameter fire alarm system formed by network of gateways
CN108873740A (en) The control method of smart machine and the control system of smart machine
CN106549365B (en) Power utilization safety detection protection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A smart home linkage method, device, and computer storage medium

Effective date of registration: 20231030

Granted publication date: 20220701

Pledgee: Societe Generale Bank Limited by Share Ltd. Shenzhen branch

Pledgor: SHENZHEN HEIMAN TECHNOLOGY CO.,LTD.

Registration number: Y2023980062979