CN110865544B - Method and device for predicting connection relation of intelligent home system - Google Patents
Method and device for predicting connection relation of intelligent home system Download PDFInfo
- Publication number
- CN110865544B CN110865544B CN201810982245.7A CN201810982245A CN110865544B CN 110865544 B CN110865544 B CN 110865544B CN 201810982245 A CN201810982245 A CN 201810982245A CN 110865544 B CN110865544 B CN 110865544B
- Authority
- CN
- China
- Prior art keywords
- equipment
- home system
- connection relation
- intelligent home
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000006870 function Effects 0.000 claims abstract description 27
- 238000012360 testing method Methods 0.000 claims description 10
- 238000010276 construction Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 13
- 238000004590 computer program Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application discloses a method and a device for predicting connection relation of an intelligent home system. The method comprises the following steps: collecting the connection relation of equipment in a target intelligent home system in the current time period; determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; and predicting the connection relation of the equipment in the target intelligent home system in the preset time period according to the connection relation between each equipment and the first class of equipment in the plurality of historical time periods, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment. Through the method and the device, the problem that the connection relation of the equipment in the intelligent home system needs to be manually changed along with the upgrading and updating of the functions and types of the equipment in the related technology is solved.
Description
Technical Field
The application relates to the field of intelligent home system construction, in particular to a method and a device for predicting connection relation of an intelligent home system.
Background
The intelligent home system is a system which integrates devices related to home life by using a house as a platform, and utilizes a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and the like, in the related technology, the device connection relation in the intelligent home system is often created manually, but along with the increase of the number of the devices contained in the intelligent home system, the functions of all the devices are updated, some devices are eliminated along with the lapse of time, the working condition of the devices needs to be checked periodically, the connection relation among the devices is changed manually, the intelligent home system changing the device connection relation is detected, time and labor are wasted, the efficiency is lower, and the intelligent home system cannot be matched with the market demand.
Aiming at the problem that the connection relation of equipment in the intelligent home system needs to be manually changed along with the upgrading and updating of the functions and types of the equipment in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The application provides a method and a device for predicting a connection relation of an intelligent home system, which are used for solving the problem that the connection relation of equipment in the intelligent home system needs to be manually changed along with the upgrading and updating of the functions and types of the equipment in the related technology.
According to one aspect of the application, a method for predicting the connection relation of the intelligent home system is provided. The method comprises the following steps: collecting the connection relation of equipment in a target intelligent home system in the current time period; determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods; and predicting the connection relation of the equipment in the target intelligent home system in the preset time period according to the connection relation between each equipment and the first class of equipment, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment in the plurality of historical time periods.
Further, before determining a connection relationship between each device and a first type of device and a connection relationship between each device and a second type of device in the target smart home system in a plurality of historical time periods, the method further includes: acquiring the connection relation of equipment in a target intelligent home system in a plurality of historical time periods; and determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in each historical time period.
Further, determining the first type of device of each device and the second type of device of each device according to the connection relationship of the devices in the target smart home system in the current time period includes: determining equipment which is in direct connection with target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining equipment which has a direct connection relation with target equipment as first equipment of the target equipment; determining equipment with indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; and determining the device having indirect connection relation with the target device as a second type device of the target device.
Further, before determining the first class of devices of each device and the second class of devices of each device according to the connection relationship of the devices in the target smart home system in the current time period, the method further includes: acquiring the use frequency of equipment in a target intelligent home system; determining equipment with the use frequency lower than a preset frequency in a target intelligent home system; replacing the equipment with the use frequency lower than the preset frequency by preset equipment, wherein the functions of the preset equipment comprise the functions of the equipment with the use frequency lower than the preset frequency; and updating the connection relation of the equipment in the target intelligent home system in the current time period.
Further, after predicting the connection relationship of the devices in the target smart home system within the preset time period according to the connection relationship between each device and the first class of devices, the connection relationship between each device and the second class of devices, the current connection relationship between each device and the first class of devices, and the current connection relationship between each device and the second class of devices within the plurality of historical time periods, the method further includes: establishing a simulated intelligent home system according to the connection relation of equipment in the target intelligent home system within a preset time period; and testing the simulated intelligent home system to detect whether the simulated intelligent home system is successfully operated.
Further, after the simulated smart home system is tested and whether the simulated smart home system is successfully operated is detected, the method further comprises the following steps: and under the condition that the simulated intelligent home system is successfully operated, updating the connection relation of the equipment in the target intelligent home system into the connection relation of the equipment in the simulated intelligent home system when the preset time is reached.
According to another aspect of the application, a device for predicting connection relation of an intelligent home system is provided. The device includes: the acquisition unit is used for acquiring the connection relation of equipment in the target intelligent home system in the current time period; the first determining unit is used for determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; the second determining unit is used for determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods; and the prediction unit is used for predicting the connection relation of the equipment in the target intelligent home system in the preset time period according to the connection relation between each equipment and the first class of equipment in the plurality of historical time periods, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment.
Further, the apparatus further comprises: the first obtaining unit is used for obtaining the connection relation of the equipment in the target intelligent home system in a plurality of historical time periods before determining the connection relation between each equipment and the first type of equipment and the connection relation between each equipment and the second type of equipment in the target intelligent home system in the plurality of historical time periods; and the third determining unit is used for determining the connection relationship between each device and the first class of devices and the connection relationship between each device and the second class of devices in the target smart home system in each historical time period.
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program performs any one of the above methods for predicting a connection relationship of a smart home system.
In order to achieve the above object, according to another aspect of the present application, a processor is provided, where the processor is configured to execute a program, where the program executes any one of the above methods for predicting a connection relationship of a smart home system when the program is executed.
Through the application, the following steps are adopted: collecting the connection relation of equipment in a target intelligent home system in the current time period; determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods; the method comprises the steps of predicting the connection relation of equipment in a target intelligent home system in a preset time period according to the connection relation between each piece of equipment and first-class equipment in a plurality of historical time periods, the connection relation between each piece of equipment and second-class equipment, the current connection relation between each piece of equipment and the first-class equipment and the current connection relation between each piece of equipment and the second-class equipment, and solving the problem that the connection relation of the equipment in the intelligent home system needs to be manually changed along with the upgrading and updating of the functions and types of the equipment in the related technology. The connection relation between each device and the first type of device in the current time period and the connection relation between each device and the second type of device in the multiple historical time periods is analyzed, the connection relation between the target intelligent home system devices in the preset time period is predicted, and therefore the effect of automatically and efficiently obtaining the connection relation between the devices in the intelligent home system is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a method for predicting a connection relationship of an intelligent home system according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a prediction apparatus for a connection relationship of an intelligent home system according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to the embodiment of the application, a method for predicting the connection relation of the intelligent home system is provided.
Fig. 1 is a flowchart of a method for predicting a connection relationship of an intelligent home system according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
and S101, collecting the connection relation of the equipment in the target intelligent home system in the current time period.
For example, the connection relations among audio equipment, video equipment, lighting equipment, air conditioning equipment, anti-theft alarm equipment, heating control equipment and other equipment in the current time period are collected, and the connection relations among the equipment comprise the wire connection relations among the equipment, the wireless data transmission relations among the equipment, the control relations among the equipment and the like.
Step S102, determining a first type device of each device and a second type device of each device according to the connection relation of the devices in the target intelligent home system in the current time period.
It should be noted that each device in the smart home system has a connection relationship with at least one device, the connection relationship includes a direct connection relationship and an indirect connection relationship, the device connected to each device is obtained for each device, and the device connected to the device is divided into a first device, a second device or other devices according to the device connection relationship.
Optionally, in the method for predicting a connection relationship of an intelligent home system provided in the embodiment of the present application, determining a first type of device of each device and a second type of device of each device according to a connection relationship of devices in a target intelligent home system in a current time period includes: determining equipment which is in direct connection with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining equipment which has a direct connection relation with target equipment as first-class equipment of the target equipment; determining equipment with indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; and determining the device having indirect connection relation with the target device as a second type device of the target device.
For example, the device a triggers a signal to the device B, the device B controls the device C to operate after receiving the trigger signal, a connection relationship between the device a and the device B is a direct connection, a connection relationship between the device a and the device C is an indirect connection, a connection relationship between the device B and the device C is a direct connection, for the device a, the device B is a first type device thereof, and the device C is a second type device thereof.
Step S103, determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods.
It should be noted that, in the current time period, the connection relationship between the first type device of one electrical appliance in a certain smart home system and the electrical appliance in the historical time period is not necessarily directly connected, may be indirectly connected, and may not have a connection relationship. For example, the plurality of historical time periods are 4 quarters of the past year, and the connection relationship between each device and the first type of device and the connection relationship between each device and the second type of device in the same smart home system in each quarter are determined.
Optionally, in the method for predicting connection relationships of smart home systems provided in the embodiment of the present application, before determining a connection relationship between each device and a first type of device and a connection relationship between each device and a second type of device in a target smart home system in a plurality of historical time periods, the method further includes: acquiring the connection relation of equipment in a target intelligent home system in a plurality of historical time periods; and determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in each historical time period.
For example, the connection relationships of devices in an intelligent home system in a certain household in each quarter in the past 1 year are collected to obtain 4 connection relationship sets, the connection relationship between each device and the first type of device and the connection relationship between each device and the second type of device are determined in each connection relationship set, and the connection relationships are recorded.
And step S104, predicting the connection relation of the equipment in the target intelligent home system in the preset time period according to the connection relation between each equipment and the first class of equipment, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment in the plurality of historical time periods.
For example, the current time period is the beginning of the year, the preset time period is the future time period, for example, at the end of the year, the connection relationship between each device in a certain intelligent home system is collected at the beginning of the year, the connection relationship between one device and the first type of device is direct connection, the connection relationship between the device and the second type of device is indirect connection, the connection relationship between the device and the first type of device and the connection relationship between the device and the second type of device in the fourth quarter, the third quarter, the second quarter and the first quarter are combined, the connection relationship between the device and the first type of device and the connection relationship between the device and the second type of device in the end of the year are predicted through a deep learning algorithm, and the connection relationship between each device and the first type of device and the connection relationship between the device and the second type of device in the end of the year are predicted.
According to the method for predicting the connection relation of the intelligent home system, the connection relation of equipment in the target intelligent home system in the current time period is acquired; determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods; the connection relation of the equipment in the target intelligent home system in the preset time period is predicted according to the connection relation between each equipment and the first class of equipment and the connection relation between each equipment and the second class of equipment in the plurality of historical time periods, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment, and the problem that the connection relation of the equipment in the intelligent home system needs to be manually changed along with the upgrading and updating of the functions and types of the equipment in the related technology is solved. The connection relation of the equipment in the target intelligent home system in the preset time period is predicted by analyzing the connection relation between each equipment and the first type of equipment and the connection relation between each equipment and the second type of equipment in the current time period and the plurality of historical time periods, and the effect of automatically and efficiently acquiring the connection relation of the equipment in the intelligent home system is further achieved.
Optionally, in the method for predicting a connection relationship of an intelligent home system provided in the embodiment of the present application, before determining a first type of device of each device and a second type of device of each device according to a connection relationship of devices in a target intelligent home system in a current time period, the method further includes: acquiring the use frequency of equipment in a target intelligent home system; determining equipment with the use frequency lower than a preset frequency in a target intelligent home system; replacing the equipment with the use frequency lower than the preset frequency by preset equipment, wherein the functions of the preset equipment comprise the functions of the equipment with the use frequency lower than the preset frequency; and updating the connection relation of the equipment in the target intelligent home system in the current time period.
For example, since the same type of devices with better user experience appear as the devices are updated and some functions are not needed by the user or have stronger functions, before determining the first type of devices and the second type of devices of each device, the usage frequency of each device in the smart home system is detected, the preset frequency is once a month, and the devices with lower usage frequency than once a month are determined to be replaced.
In order to prevent the predicted connection relationship of the smart home system from being directly applied to the actual operation error, optionally, in the prediction method of the connection relationship of the smart home system provided in the embodiment of the present application, after predicting the connection relationship of the devices in the target smart home system within a preset time period according to the connection relationship between each device and the first type of device and the connection relationship between each device and the second type of device, the current connection relationship between each device and the first type of device, and the current connection relationship between each device and the second type of device within a plurality of historical time periods, the method further includes: constructing a simulated intelligent home system according to the connection relation of equipment in a target intelligent home system in a preset time period; and testing the simulated intelligent home system to detect whether the simulated intelligent home system is successfully operated.
It should be noted that, predicted connection relationships of devices in a target smart home system within a certain time period in the future are unreasonable, and also exist inconsistent with preferences and requirements of users, therefore, a simulated smart home system is constructed according to the obtained connection relationships of the devices in the smart home system, and is tested whether each device can normally transmit data to each other, and can be normally controlled and controlled, and in the testing process, a user can also adjust the connection relationships as needed, for example, watching movies as a user's hobby, the user sets a home theater system in the smart home system, but a new baby of the user is recently added, a toy room needs to be configured for the family member in the future, no additional space is provided for the home theater, and the user can cancel the connection relationships of related devices and corresponding devices of the home theater in the simulated smart home system.
Optionally, in the method for predicting a connection relationship of an intelligent home system provided in the embodiment of the present application, after the testing of the simulated intelligent home system and the detection of whether the simulated intelligent home system successfully operates, the method further includes: and under the condition that the simulated intelligent home system is successfully operated, updating the connection relation of the equipment in the target intelligent home system into the connection relation of the equipment in the simulated intelligent home system when the preset time is reached.
For example, the preset time is the end of the year, and when the simulated intelligent home system runs successfully, the user can update the connection relationship of the equipment in the target intelligent home system to the connection relationship of the equipment in the simulated intelligent home system at the end of the year.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a prediction apparatus for a connection relationship of an intelligent home system, and it should be noted that the prediction apparatus for a connection relationship of an intelligent home system according to the embodiment of the present application may be used to execute the prediction method for a connection relationship of an intelligent home system according to the embodiment of the present application. The following introduces a prediction apparatus for a connection relationship of an intelligent home system provided by an embodiment of the present application.
Fig. 2 is a schematic diagram of a prediction apparatus of a connection relationship of an intelligent home system according to an embodiment of the present application. As shown in fig. 2, the apparatus includes: an acquisition unit 10, a first determination unit 20, a second determination unit 30, and a prediction unit 40.
Specifically, the acquisition unit 10 is configured to acquire a connection relationship between devices in the target smart home system in a current time period;
the first determining unit 20 is configured to determine a first type of device of each device and a second type of device of each device according to a connection relationship between devices in the target smart home system in the current time period;
the second determining unit 30 is configured to determine a connection relationship between each device and the first type of device and a connection relationship between each device and the second type of device in the target smart home system in a plurality of historical time periods;
the prediction unit 40 is configured to predict a connection relationship between each device and the first type of device in a preset time period according to a connection relationship between each device and the second type of device in a plurality of historical time periods, a current connection relationship between each device and the first type of device, and a current connection relationship between each device and the second type of device.
Optionally, in the prediction apparatus for connection relationship of an intelligent home system provided in the embodiment of the present application, the apparatus further includes: the first obtaining unit is used for obtaining the connection relation of the equipment in the target intelligent home system in a plurality of historical time periods before determining the connection relation between each equipment and the first type of equipment and the connection relation between each equipment and the second type of equipment in the target intelligent home system in the plurality of historical time periods; and the third determining unit is used for determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in each historical time period.
Optionally, in the prediction apparatus for connection relationship of a smart home system provided in the embodiment of the present application, the first determining unit 20 includes: the first determining module is used for determining equipment which is in direct connection with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; the second determining module is used for determining that the equipment which has the direct connection relation with the target equipment is the first equipment of the target equipment; the third determining module is used for determining equipment which has indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; and the fourth determining module is used for determining the equipment which has the indirect connection relation with the target equipment as the second type equipment of the target equipment.
Optionally, in the prediction apparatus for connection relationship of an intelligent home system provided in the embodiment of the present application, the apparatus further includes: the second obtaining unit is used for obtaining the use frequency of the equipment in the target intelligent home system before the first equipment of each equipment and the second equipment of each equipment are determined according to the connection relation of the equipment in the target intelligent home system in the current time period; the fourth determining unit is used for determining equipment with the use frequency lower than the preset frequency in the target intelligent home system; the replacing unit is used for replacing the equipment with the use frequency lower than the preset frequency by adopting preset equipment, wherein the functions of the preset equipment comprise the functions of the equipment with the use frequency lower than the preset frequency; and the first updating unit is used for updating the connection relation of the equipment in the target intelligent home system in the current time period.
Optionally, in the prediction apparatus for connection relationship of a smart home system provided in the embodiment of the present application, the prediction unit 40 includes: the construction module is used for constructing a simulated intelligent home system according to the connection relation of the equipment in the target intelligent home system in a preset time period; and the detection module is used for testing the simulated intelligent home system and detecting whether the simulated intelligent home system is successfully operated.
Optionally, in the prediction apparatus for connection relationship of an intelligent home system provided in the embodiment of the present application, the apparatus further includes: and the second updating unit is used for updating the connection relation of the equipment in the target intelligent home system to the connection relation of the equipment in the simulated intelligent home system when the preset time is reached under the condition that the simulated intelligent home system is successfully operated after the simulated intelligent home system is tested and whether the simulated intelligent home system is successfully operated is detected.
According to the prediction device for the connection relation of the intelligent home system, the connection relation of equipment in a target intelligent home system in the current time period is collected through the collection unit 10; the first determining unit 20 determines a first type of device of each device and a second type of device of each device according to a connection relationship between devices in the target smart home system in the current time period; the second determining unit 30 determines a connection relationship between each device and the first type of device and a connection relationship between each device and the second type of device in the target smart home system in a plurality of historical time periods; the prediction unit 40 predicts the connection relationship of the devices in the target smart home system in the preset time period according to the connection relationship between each device and the first type of device in the plurality of historical time periods, the connection relationship between each device and the second type of device, the current connection relationship between each device and the first type of device, and the current connection relationship between each device and the second type of device in the plurality of historical time periods, so as to solve the problem that the connection relationship of the devices in the smart home system needs to be manually changed along with the upgrading and updating of the functions and types of the devices in the related art.
The device for predicting the connection relation of the intelligent home system comprises a processor and a memory, wherein the acquisition unit 10, the first determination unit 20, the second determination unit 30, the prediction unit 40 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that the connection relation of the equipment in the intelligent home system needs to be manually changed along with the upgrading and updating of the functions and types of the equipment in the related technology is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the invention provides a storage medium, wherein a program is stored on the storage medium, and when the program is executed by a processor, the method for predicting the connection relation of the intelligent home system is realized.
The embodiment of the invention provides a processor, which is used for running a program, wherein a prediction method of the connection relation of an intelligent household system is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: collecting the connection relation of equipment in a target intelligent home system in the current time period; determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods; and predicting the connection relation of the equipment in the target intelligent home system in the preset time period according to the connection relation between each equipment and the first class of equipment, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment in the plurality of historical time periods.
Further, before determining the connection relationship between each device and the first type of device and the connection relationship between each device and the second type of device in the target smart home system in a plurality of historical time periods, the method further includes: acquiring the connection relation of equipment in a target intelligent home system in a plurality of historical time periods; and determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in each historical time period.
Further, determining the first type of device of each device and the second type of device of each device according to the connection relationship of the devices in the target smart home system in the current time period includes: determining equipment which is in direct connection with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining equipment which has a direct connection relation with target equipment as first-class equipment of the target equipment; determining equipment which has indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; and determining the device having indirect connection relation with the target device as a second type device of the target device.
Further, before determining the first type of device of each device and the second type of device of each device according to the connection relationship of the devices in the target smart home system in the current time period, the method further includes: acquiring the use frequency of equipment in a target intelligent home system; determining equipment with the use frequency lower than a preset frequency in a target intelligent home system; replacing the equipment with the use frequency lower than the preset frequency by preset equipment, wherein the functions of the preset equipment comprise the functions of the equipment with the use frequency lower than the preset frequency; and updating the connection relation of the equipment in the target intelligent home system in the current time period.
Further, after predicting the connection relationship of the devices in the target smart home system within the preset time period according to the connection relationship between each device and the first class of devices, the connection relationship between each device and the second class of devices, the current connection relationship between each device and the first class of devices, and the current connection relationship between each device and the second class of devices within the plurality of historical time periods, the method further includes: constructing a simulated intelligent home system according to the connection relation of equipment in a target intelligent home system in a preset time period; and testing the simulated intelligent home system, and detecting whether the simulated intelligent home system is successfully operated.
Further, after the simulated smart home system is tested and whether the simulated smart home system is successfully operated is detected, the method further comprises the following steps: and under the condition that the simulated intelligent home system is successfully operated, updating the connection relation of the equipment in the target intelligent home system into the connection relation of the equipment in the simulated intelligent home system when the preset time is reached. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: collecting the connection relation of equipment in a target intelligent home system in the current time period; determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods; and predicting the connection relation of the equipment in the target intelligent home system in the preset time period according to the connection relation between each equipment and the first class of equipment in the plurality of historical time periods, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment.
Further, before determining a connection relationship between each device and a first type of device and a connection relationship between each device and a second type of device in the target smart home system in a plurality of historical time periods, the method further includes: acquiring the connection relation of equipment in a target intelligent home system in a plurality of historical time periods; and determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in each historical time period.
Further, determining the first type of device of each device and the second type of device of each device according to the connection relationship of the devices in the target smart home system in the current time period includes: determining equipment which is in direct connection with target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; determining equipment which has a direct connection relation with target equipment as first equipment of the target equipment; determining equipment which has indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period; and determining the device having indirect connection relation with the target device as a second type device of the target device.
Further, before determining the first class of devices of each device and the second class of devices of each device according to the connection relationship of the devices in the target smart home system in the current time period, the method further includes: acquiring the use frequency of equipment in a target intelligent home system; determining equipment with the use frequency lower than a preset frequency in a target intelligent home system; replacing the equipment with the use frequency lower than the preset frequency by preset equipment, wherein the functions of the preset equipment comprise the functions of the equipment with the use frequency lower than the preset frequency; and updating the connection relation of the equipment in the target intelligent home system in the current time period.
Further, after predicting the connection relationship of the devices in the target smart home system in the preset time period according to the connection relationship between each device and the first class of devices, the connection relationship between each device and the second class of devices, the current connection relationship between each device and the first class of devices, and the current connection relationship between each device and the second class of devices in the plurality of historical time periods, the method further includes: constructing a simulated intelligent home system according to the connection relation of equipment in a target intelligent home system in a preset time period; and testing the simulated intelligent home system to detect whether the simulated intelligent home system is successfully operated.
Further, after the simulated smart home system is tested and whether the simulated smart home system is successfully operated is detected, the method further comprises the following steps: and under the condition that the simulated intelligent home system is successfully operated, updating the connection relation of the equipment in the target intelligent home system to the connection relation of the equipment in the simulated intelligent home system when the preset time is reached.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (8)
1. A method for predicting a connection relation of an intelligent home system is characterized by comprising the following steps:
collecting the connection relation of equipment in a target intelligent home system in the current time period;
determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period;
determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in a plurality of historical time periods;
predicting the connection relation of the equipment in the target intelligent home system in a preset time period according to the connection relation between each equipment and the first class of equipment and the connection relation between each equipment and the second class of equipment in a plurality of historical time periods, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment;
constructing a simulated intelligent home system according to the connection relation of the equipment in the target intelligent home system in the preset time period;
testing the simulated intelligent home system to detect whether the simulated intelligent home system is operated successfully;
determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period comprises the following steps:
determining equipment which is in direct connection with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period;
determining the equipment which has a direct connection relation with the target equipment as first equipment of the target equipment;
determining equipment which has indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period;
and determining the equipment having indirect connection relation with the target equipment as second equipment of the target equipment.
2. The method according to claim 1, wherein before determining the connection relationship between each device and the first type of device and the connection relationship between each device and the second type of device in the target smart home system in a plurality of historical time periods, the method further comprises:
acquiring the connection relation of equipment in the target intelligent home system in a plurality of historical time periods;
and determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in each historical time period.
3. The method according to claim 1, wherein before determining the first type of device and the second type of device of each device according to the connection relationship of the devices in the target smart home system in the current time period, the method further comprises:
acquiring the use frequency of equipment in the target intelligent home system;
determining equipment with the use frequency lower than a preset frequency in the target intelligent home system;
replacing the equipment with the use frequency lower than the preset frequency by preset equipment, wherein the functions of the preset equipment comprise the functions of the equipment with the use frequency lower than the preset frequency;
and updating the connection relation of the equipment in the target intelligent home system in the current time period.
4. The method according to claim 1, wherein after testing the simulated smart home system to detect whether the simulated smart home system is successfully operated, the method further comprises:
and under the condition that the simulated intelligent home system is successfully operated, updating the connection relation of the equipment in the target intelligent home system to the connection relation of the equipment in the simulated intelligent home system when the preset time is reached.
5. The utility model provides a prediction unit of intelligent home systems relation of connection which characterized in that includes:
the acquisition unit is used for acquiring the connection relation of equipment in the target intelligent home system in the current time period;
the first determining unit is used for determining a first type of equipment of each equipment and a second type of equipment of each equipment according to the connection relation of the equipment in the target intelligent home system in the current time period;
the second determining unit is used for determining the connection relation between each device and the first type of device and the connection relation between each device and the second type of device in the target intelligent home system in multiple historical time periods;
the prediction unit is used for predicting the connection relation of the equipment in the target intelligent home system within a preset time period according to the connection relation between each equipment and the first class of equipment within a plurality of historical time periods, the connection relation between each equipment and the second class of equipment, the current connection relation between each equipment and the first class of equipment and the current connection relation between each equipment and the second class of equipment;
the construction module is used for constructing a simulated intelligent home system according to the connection relation of the equipment in the target intelligent home system in the preset time period;
the detection module is used for testing the simulated intelligent home system and detecting whether the simulated intelligent home system is successfully operated;
wherein the first determination unit includes:
the first determining module is used for determining equipment which is in direct connection with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period;
the second determining module is used for determining that the equipment which has the direct connection relation with the target equipment is the first equipment of the target equipment;
the third determining module is used for determining equipment which has indirect connection relation with the target equipment according to the connection relation of the equipment in the target intelligent home system in the current time period;
and the fourth determining module is used for determining that the equipment which has the indirect connection relation with the target equipment is the second type equipment of the target equipment.
6. The apparatus of claim 5, further comprising:
the first obtaining unit is used for obtaining the connection relation of the equipment in the target intelligent home system in a plurality of historical time periods before determining the connection relation between each equipment in the target intelligent home system and the first type of equipment and the connection relation between each equipment and the second type of equipment in the plurality of historical time periods;
and the third determining unit is used for determining the connection relationship between each device and the first type of device and the connection relationship between each device and the second type of device in the target smart home system in each historical time period.
7. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program executes the method for predicting smart home system connection relationship according to any one of claims 1 to 4.
8. A processor, wherein the processor is configured to execute a program, and when the program runs, the method for predicting connection relationship of smart home systems according to any one of claims 1 to 4 is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810982245.7A CN110865544B (en) | 2018-08-27 | 2018-08-27 | Method and device for predicting connection relation of intelligent home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810982245.7A CN110865544B (en) | 2018-08-27 | 2018-08-27 | Method and device for predicting connection relation of intelligent home system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110865544A CN110865544A (en) | 2020-03-06 |
CN110865544B true CN110865544B (en) | 2023-04-14 |
Family
ID=69651740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810982245.7A Active CN110865544B (en) | 2018-08-27 | 2018-08-27 | Method and device for predicting connection relation of intelligent home system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110865544B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549833A (en) * | 2015-09-21 | 2017-03-29 | 阿里巴巴集团控股有限公司 | A kind of control method and device of intelligent home device |
CN107463106A (en) * | 2017-09-20 | 2017-12-12 | 深圳市晟达机械设计有限公司 | A kind of intelligent domestic system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9326239B2 (en) * | 2012-09-28 | 2016-04-26 | Broadcom Corporation | Managing connectivity between wireless devices |
US10091276B2 (en) * | 2013-09-27 | 2018-10-02 | Transvoyant, Inc. | Computer-implemented systems and methods of analyzing data in an ad-hoc network for predictive decision-making |
US10200884B2 (en) * | 2015-01-14 | 2019-02-05 | Futurewei Technologies, Inc. | Analytics-assisted, multi-agents, self-learning, self-managing, flexible and adaptive framework for intelligent SON |
CN109564579B (en) * | 2016-06-13 | 2023-09-08 | 纽拉公司 | Situation prediction mechanism for integrated platform of Internet of things |
CN106773763B (en) * | 2016-12-28 | 2019-09-06 | 重庆金鑫科技产业发展有限公司 | A kind of information linkage processing method and device |
-
2018
- 2018-08-27 CN CN201810982245.7A patent/CN110865544B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549833A (en) * | 2015-09-21 | 2017-03-29 | 阿里巴巴集团控股有限公司 | A kind of control method and device of intelligent home device |
CN107463106A (en) * | 2017-09-20 | 2017-12-12 | 深圳市晟达机械设计有限公司 | A kind of intelligent domestic system |
Also Published As
Publication number | Publication date |
---|---|
CN110865544A (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105335134A (en) | Method and device for processing CPU occupancy rate abnormity of APP and mobile terminal | |
US20170352071A1 (en) | Smart cost analysis of household appliances | |
CN113111199B (en) | Method and device for continuing playing of multimedia resource, storage medium and electronic device | |
CN110109899B (en) | Internet of things data filling method, device and system | |
CN112738740B (en) | Message pushing sending method and device, storage medium and electronic device | |
CN113194155A (en) | Method and device for intelligently recommending scenes in Internet of things | |
CN111651454B (en) | Data processing method and device and computer equipment | |
CN111464351B (en) | Network distribution method and device for intelligent household equipment, terminal equipment and storage medium | |
CN115167164A (en) | Method and device for determining equipment scene, storage medium and electronic device | |
CN114755931A (en) | Control instruction prediction method and device, storage medium and electronic device | |
CN109150565A (en) | A kind of network situation awareness method, apparatus and system | |
CN110805989B (en) | Control method and device of air conditioner | |
CN114675928A (en) | Container mirror image construction method and device, storage medium and electronic device | |
EP3490196A1 (en) | User interaction analysis of networked devices | |
CN110865544B (en) | Method and device for predicting connection relation of intelligent home system | |
CN110736224B (en) | Control method and device of intelligent household equipment, storage medium and processor | |
CN117573320A (en) | Task node execution method and device, storage medium and electronic device | |
CN109100998A (en) | Method and system for controlling operation of household appliance, storage medium and electronic device | |
US20140236324A1 (en) | Apparatus and method for controlling terminal based on living pattern | |
CN108107740B (en) | Household appliance control method and device | |
CN108195036B (en) | Air conditioner control method and device | |
US10257785B2 (en) | Device and method for controlling standby power of mobile terminal | |
CN115345225A (en) | Method and device for determining recommended scene, storage medium and electronic device | |
CN112503813B (en) | Method and device for replacing air conditioner refrigerant | |
CN115629551A (en) | Equipment adjusting method and device, storage medium and electronic device |
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 |