A smart home migration method and system based on federated learning

Through the smart home migration method based on federated learning, the blockchain and smart furniture parameter similarity are used to solve the security risks and long learning time of the smart home system when moving, and achieve rapid adaptation to the usage habits of the new home and privacy protection. .

CN114817210BActive Publication Date: 2024-10-22SHENZHEN JILIAN TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202210471693.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-01
Publication Date
2024-10-22
Estimated Expiration
2042-05-01

AI Technical Summary

Technical Problem

When moving, the security risks of smart home systems are greater. There are loopholes in the information confidentiality system, which may cause the owner's information to be stolen. Moreover, the security of smart home devices is poor and needs to be reinstalled or adjusted to adapt to the habits of the new home, which takes a long time to learn.

Method used

A smart home migration method based on federated learning is used to obtain the smart furniture parameters of all network users, store them in the blockchain, shield the privacy parameters, and selectively migrate the parameters based on the similarity of the house structure and smart furniture parameters of the old home and the new home. Perform federated learning to quickly adapt to the usage habits of your new home, and perform privacy shielding when moving.

Benefits of technology

It improves the security of smart homes, prevents privacy leaks, reduces privacy risks when moving, and enables new customers to quickly adapt to the smart furniture usage habits of their old homes, reducing the time for re-learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114817210B_ABST
    Figure CN114817210B_ABST
Patent Text Reader

Abstract

The present invention discloses a smart home moving method and system based on federated learning, which shields the privacy parameters of smart furniture in the blockchain, selectively migrates the shielded smart furniture parameters of the old residence according to the similarity of the smart furniture set and the smart furniture parameter, and obtains the new parameters of the smart furniture in the new residence of the customer. The security of smart furniture moving is improved, so that the customer can immediately obtain the smart furniture usage habits in the previous old residence when moving in. At the same time, the privacy of the customer is shielded during the migration, which prevents the privacy leakage problem often caused by the customer moving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a smart home migration method and system based on federated learning. Background Art

[0002] When moving, due to the change of house, the smart home system needs to be reinstalled or the smart home system of the new house is not suitable for the previous habits of the new customers and needs to be changed. Since the current smart home system has many security risks and the information confidentiality system has loopholes, the owner's information may be stolen. On the one hand, it may cause the door of the living room to be wide open; on the other hand, the security of the current smart home equipment is relatively poor. And usually the smart home is manually designed by the new customers to start learning again, which leads to slow learning time and cannot adapt to the habits of the new customers at the beginning. Summary of the invention

[0003] The purpose of the present invention is to provide a smart home migration method and system based on federated learning to solve the above-mentioned problems existing in the prior art.

[0004] In a first aspect, an embodiment of the present invention provides a smart home moving method based on federated learning, the method comprising:

[0005] Obtain smart furniture parameters used by users across the entire network, and store the smart furniture parameters in the blockchain;

[0006] In the blockchain, the privacy parameters of the old home in the smart furniture parameters of the old home of the customer are shielded to obtain the shielded smart furniture parameters of the old home, and the privacy parameters of the new home in the smart furniture parameters of the new home of the customer are shielded to obtain the shielded smart furniture parameters of the new home;

[0007] Obtain a collection of similar smart furniture based on the house structures of the customer's old home and the customer's new home;

[0008] Obtain the similarity of smart furniture parameters between the customer’s old home and the customer’s new home;

[0009] Optionally, according to the similar smart furniture set and the similarity of smart furniture parameters, the shielded smart furniture parameters of the old residence are selectively migrated, and after obtaining new parameters of smart furniture in the new residence of the customer, the method further includes:

[0010] Obtain the customer's home parameters after moving into the new home;

[0011] Based on the home parameters of the customer after moving into the new home, the new parameters of the new home smart furniture are updated to obtain the customer's comfortable home parameters.

[0012] Optionally, shielding the privacy parameters of the old home in the smart furniture parameters of the old home of the customer in the blockchain to obtain the shielded smart furniture parameters of the old home, and shielding the privacy parameters of the new home in the smart furniture parameters of the new home of the customer to obtain the shielded smart furniture parameters of the new home, including:

[0013] Obtaining old residence public privacy parameters, where the old residence public privacy parameters are privacy parameters that are often shielded by ordinary users;

[0014] Acquire special privacy parameters of the old residence, where the special privacy parameters of the old residence are other privacy parameters that the customer wants to shield in the parameters of the smart furniture in the old residence, except for the public privacy parameters;

[0015] Based on the old home public privacy parameter and the old home special privacy parameter, obtain the old home privacy parameter of the customer, wherein the old home privacy parameter is a part of the old home smart furniture parameter;

[0016] Obtain common parameters of smart furniture parameters of all network users from the blockchain, where the common parameters are the parameters with the highest usage rate by ordinary users;

[0017] The common parameters are used to replace the privacy parameters of the old residence in the smart furniture parameters of the old residence to obtain the shielded smart furniture parameters of the old residence; the shielded smart furniture parameters of the old residence are the smart furniture parameters of the old residence after the privacy parameters of the old residence are replaced by the common parameters.

[0018] Obtaining new home public privacy parameters, where the new home public privacy parameters are privacy parameters that are often shielded by ordinary users;

[0019] Acquire special privacy parameters of the new home, where the special privacy parameters of the new home are other privacy parameters that the customer wants to shield in addition to the public privacy parameters among the parameters of the new home smart furniture;

[0020] Based on the new home public privacy parameters and the new home special privacy parameters, obtain the customer's new home privacy parameters, where the new home privacy parameters are part of the new home smart furniture parameters;

[0021] Obtain common parameters of smart furniture parameters of all network users from the blockchain, where the common parameters are the parameters with the highest usage rate by ordinary users;

[0022] The common parameters are used to replace the new home privacy parameters in the new home smart furniture parameters to obtain the new home shielded smart furniture parameters; the new home shielded smart furniture parameters are the new home smart furniture parameters after the new home privacy parameters are replaced with the common parameters;

[0023] Optionally, based on the house structures of the customer's old house and the customer's new house, a similar smart furniture set is obtained, including:

[0024] Obtain a first house structure of the customer's old house and a second house structure of the customer's new house;

[0025] The first housing structure is divided into one or more first areas according to functional purposes; the second housing structure is divided into one or more second areas according to functional purposes; one or more first areas and one or more second areas have at least one set of matching area groups, the matching area group includes a first area and a second area, and the functional purposes of the first area and the second area in the matching area group match;

[0026] A similar smart furniture group is obtained to form a similar smart furniture set, wherein the similar smart furniture group includes a first smart home and a second smart home, the first smart home and the second smart home have the same functional use, and the position of the first smart home in the old residence is the first area in the matching area group, and the position of the second smart home in the old residence is the second area in the matching area group.

[0027] Optionally, obtaining the similarity of smart furniture parameters between the customer's old home and the customer's new home includes:

[0028] Obtaining the difference between the smart furniture parameters of the customer's old home and the smart furniture parameters of the customer's new home;

[0029] The difference is normalized;

[0030] Obtaining the product of the difference and the weight factor;

[0031] The product is used as the similarity of smart furniture parameters between the customer's old home and the customer's new home.

[0032] Optionally, based on the similarity of the smart furniture set and the smart furniture parameter similarity, the blocked smart furniture parameters of the old home are selectively migrated to obtain new smart furniture parameters of the customer's new home, including:

[0033] If the customer's old home does not have smart furniture installed, the shielded smart furniture parameters of the new home are used as new parameters of the smart furniture of the customer's new home;

[0034] If the customer's old home has smart furniture and historical usage parameters, the blocked smart furniture parameters of the old home are migrated to the smart furniture in the new home based on the similar smart furniture set and the similarity of the smart furniture parameters to obtain new parameters of the smart furniture in the customer's new home.

[0035] Optionally, if the customer's old home has smart furniture and historical usage parameters, the blocked smart furniture parameters of the old home are migrated to the smart furniture of the new home according to the similar smart furniture set and the similarity of the smart furniture parameters, to obtain new parameters of the smart furniture of the customer's new home, including:

[0036] If the similarity of the smart furniture parameters is less than the threshold A, the shielded smart furniture parameters are directly migrated to the new home smart furniture to obtain the migrated parameters of the customer's new home smart furniture;

[0037] If the similarity of the smart furniture parameters is greater than a threshold value A, the parameters are migrated to the new home smart furniture according to whether the smart furniture is in a similar smart furniture set, and the migrated parameters of the customer's new home smart furniture are obtained;

[0038] Integrate the parameters of the customer's new home's smart furniture after migration to obtain the new parameters of the customer's new home's smart furniture.

[0039] Optionally, if the similarity of the smart furniture parameters is greater than a threshold value A, the parameters are migrated to the new home smart furniture according to whether the smart furniture is in a similar smart furniture set, and the migrated parameters of the customer's new home smart furniture are obtained, including:

[0040] If the smart furniture is included in the set of similar smart furniture, the parameters of the shielded smart furniture are directly migrated to the new smart furniture to obtain the migrated parameters of the customer's new smart furniture;

[0041] If the smart furniture is not included in the set of similar smart furniture, the shielded smart furniture parameters of the new home are used as new parameters of the smart furniture in the customer's new home to obtain the parameters of the smart furniture in the customer's new home after migration.

[0042] Optionally, the new parameters of the new home smart furniture are updated based on the home parameters of the customer after moving into the new home to obtain the customer's comfortable home parameters, including:

[0043] Federated learning is performed based on the home parameters and the new parameters of the customer's new home smart furniture to obtain the customer's comfortable home parameters.

[0044] Optionally, based on the doorbell preset time, if a visiting guest adjusts furniture parameters or moves covered furniture within the doorbell preset time, the furniture is set as privacy furniture and the guest is added to the blacklist.

[0045] In a second aspect, an embodiment of the present invention provides a smart home moving system based on federated learning, the system comprising:

[0046] The collection module is used to collect the smart furniture learning parameters of all users in the blockchain, the smart furniture parameters of the customer's old home, the smart furniture parameters of the customer's old home, and the smart furniture parameters of the customer's new home; collect the privacy parameters of the old home and the privacy parameters of the new home; collect the protected smart furniture parameters of the old home and the protected smart furniture parameters of the new home;

[0047] Privacy shielding module, used to shield the privacy parameters of the old residence and the new residence;

[0048] A similarity calculation module is used to obtain the similarity of house structures and smart furniture parameters;

[0049] The parameter migration module is used to selectively migrate the smart furniture parameters of the old house to the customer's new house based on the similarity of the house structure and the similarity of the smart furniture parameters;

[0050] The re-update module is used to use the smart furniture parameters adjusted by the customer to perform model training, update the furniture parameters until no further updating is required, and obtain the home parameters that the customer no longer needs to update.

[0051] Compared with the prior art, the embodiments of the present invention achieve the following beneficial effects:

[0052] The embodiment of the present invention provides a smart home migration method and system based on federated learning, which obtains smart furniture parameters used by users of the entire network and stores the smart furniture parameters in a blockchain; shields the privacy parameters of the old home in the smart furniture parameters of the customer's old home in the blockchain to obtain the shielded smart furniture parameters of the old home, and shields the privacy parameters of the new home in the smart furniture parameters of the customer's new home to obtain the shielded smart furniture parameters of the new home; obtains a similar smart furniture set based on the house structures of the customer's old home and the customer's new home; obtains the similarity of the smart furniture parameters of the customer's old home and the customer's new home; and selectively migrates the shielded smart furniture parameters of the old home based on the similar smart furniture set and the similarity of the smart furniture parameters to obtain new parameters of the smart furniture of the customer's new home.

[0053] Since there are many security risks in the current smart home system and the information confidentiality system has loopholes, the owner's information may be stolen. On the one hand, it may lead to the door of the living room being wide open; on the other hand, the security of the current smart home equipment is relatively poor. And when moving, due to the change of a new house, it is necessary to reinstall the smart home system or the smart home system of the new house is not suitable for the previous habits of the new customers, and it needs to be changed again, and usually the smart home is manually designed by the new customers to start learning again. In order to improve the safety of smart furniture moving, and enable the smart home to quickly learn the furniture habits that the user has adapted to before. By obtaining the smart furniture usage habits of the new customers in the old house and the smart furniture usage habits of the old users, the parameters of the smart furniture equipment are migrated, and the parameter data after migration is used for federated learning. So that the new customers can immediately obtain the smart furniture usage habits in the old house. At the same time, the privacy of customers is shielded during the migration to prevent the privacy leakage problems often caused by customers moving. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a flow chart of a smart home migration method based on federated learning provided by an embodiment of the present invention.

[0055] Figure 2 It is a schematic diagram of the block structure of an electronic device provided by an embodiment of the present invention.

[0056] Labels in the figure: bus 500; receiver 501; processor 502; transmitter 503; memory 504; bus interface 505. DETAILED DESCRIPTION

[0057] The present invention will be described in detail below in conjunction with the accompanying drawings. Example

[0058] like Figure 1 As shown, an embodiment of the present invention provides a household moving method based on federated learning, including:

[0059] S101: Obtain smart furniture parameters used by users across the entire network, and store the smart furniture parameters in a blockchain.

[0060] S102: shielding the privacy parameters of the old home in the smart furniture parameters of the old home of the customer in the blockchain to obtain the shielded smart furniture parameters of the old home, and shielding the privacy parameters of the new home in the smart furniture parameters of the new home of the customer to obtain the shielded smart furniture parameters of the new home.

[0061] S103: Obtain a similar smart furniture set according to the house structures of the customer's old house and the customer's new house.

[0062] S104: Obtaining the similarity of smart furniture parameters between the customer's old home and the customer's new home.

[0063] S105: Based on the similar smart furniture set and the similarity of smart furniture parameters, selectively migrate the shielded smart furniture parameters of the old home to obtain new smart furniture parameters for the customer's new home.

[0064] By adopting the above scheme, the smart furniture parameters used by all network users are obtained and stored in the blockchain; the old home privacy parameters in the smart furniture parameters of the customer's old home are shielded in the blockchain to obtain the shielded smart furniture parameters of the old home, and the new home privacy parameters in the smart furniture parameters of the customer's new home are shielded to obtain the shielded smart furniture parameters of the new home; according to the house structure of the customer's old home and the customer's new home, a similar smart furniture set is obtained; the similarity of the smart furniture parameters of the customer's old home and the customer's new home is obtained; according to the similar smart furniture set and the similarity of the smart furniture parameters, the shielded smart furniture parameters of the old home are selectively migrated to obtain the new parameters of the smart furniture of the customer's new home. On the one hand, it may cause the door of the living room to be wide open; on the other hand, the security of the current smart home equipment is relatively poor. And when moving, due to the change of a new house, it is necessary to reinstall the smart home system or the smart home system of the new house is not suitable for the previous habits of the new customers, and it needs to be changed again, and usually the smart home is manually designed by the new customers and starts learning again. In order to improve the safety of smart furniture moving, and enable the smart home to quickly learn the furniture habits of the user before. By obtaining the smart furniture usage habits of the new customers in their old houses and the old users, we migrate the parameters of the smart furniture equipment and conduct federated learning through the migrated parameter data. This enables the new customers to immediately obtain the smart furniture usage habits in their old houses when they move in. At the same time, we shield the privacy of customers during the migration to prevent privacy leaks that are often caused when customers move.

[0065] Optionally, shielding the privacy parameters of the old home in the smart furniture parameters of the old home of the customer in the blockchain to obtain the shielded smart furniture parameters of the old home, and shielding the privacy parameters of the new home in the smart furniture parameters of the new home of the customer to obtain the shielded smart furniture parameters of the new home, including:

[0066] Obtain the old residence public privacy parameters, where the old residence public privacy parameters are privacy parameters that are often shielded by ordinary users.

[0067] Obtain special privacy parameters of the old residence, where the special privacy parameters of the old residence are other privacy parameters that the customer wants to shield in the parameters of the smart furniture in the old residence, except for the public privacy parameters.

[0068] Based on the old home public privacy parameters and the old home special privacy parameters, the old home privacy parameters of the customer are obtained, and the old home privacy parameters are part of the old home smart furniture parameters.

[0069] The commonly used parameters of smart furniture parameters of all users in the entire network are obtained from the blockchain, where the commonly used parameters are the parameters with the highest usage rate by ordinary users.

[0070] The common parameters are used to replace the privacy parameters of the old residence in the smart furniture parameters of the old residence to obtain the shielded smart furniture parameters of the old residence; the shielded smart furniture parameters of the old residence are the smart furniture parameters of the old residence after the privacy parameters of the old residence are replaced by the common parameters.

[0071] The parameters of the shielded smart furniture in the new house are obtained by the steps of the method for obtaining the parameters of the shielded smart furniture in the old house, which will not be repeated here.

[0072] Optionally, based on the house structures of the customer's old house and the customer's new house, a similar smart furniture set is obtained, including:

[0073] A first house structure of the customer's old home and a second house structure of the customer's new home are obtained.

[0074] The first house structure is divided into one or more first areas according to functional use; the second house structure is divided into one or more second areas according to functional use; one or more first areas and one or more second areas have at least one matching area group, the matching area group includes a first area and a second area, and the functional uses of the first area and the second area in the matching area group match. A similar smart furniture group is obtained to form a similar smart furniture set, the similar smart furniture group includes a first smart home and a second smart home, the first smart home and the second smart home have the same functional use, and the first smart home is located in the old house in the first area of ​​the matching area group, and the second smart home is located in the old house in the second area of ​​the matching area group.

[0075] For example, the first house structure of the customer's old house may be the floor plan of the old house, and the second house structure of the customer's new house may be the floor plan of the new house. The old house refers to the house that the customer is about to move out of, and the new house refers to the house that the customer is about to move into. One or more first areas may include one or more of the living room, dining room, bedroom, and bathroom, and one or more second areas may include one or more of the living room, dining room, bedroom, and bathroom.

[0076] For example, the air conditioner in the customer's old house is in the bedroom, and the air conditioner in the new house is in the living room. The air conditioners are in different house areas in the old and new houses. For example, the air conditioner in the old house is in the living room, and in the new house, it is in the kitchen, so the air conditioner is not similar furniture. The drum washing machine in the customer's old house is in the bathroom of the old house, and the ordinary automatic washing machine in the customer's new house is in the bathroom of the new house. The drum washing machine and the ordinary automatic washing machine have the same functions and uses, both are used for washing clothes, and both are in the divided bathroom area, so the ordinary automatic washing machine is a similar furniture. The drum washing machine in the old house and the ordinary automatic washing machine in the new house form a group of similar smart furniture.

[0077] Optionally, obtaining the similarity of smart furniture parameters between the customer's old home and the customer's new home includes:

[0078] Obtain the difference between the smart furniture parameters of the customer's old home and the smart furniture parameters of the customer's new home.

[0079] Optionally, the difference may also be normalized.

[0080] The product of the difference and the weight factor is obtained.

[0081] Optionally, the product of the normalized value of the difference and the weight factor is obtained.

[0082] The product is used as the similarity of smart furniture parameters between the customer's old home and the customer's new home.

[0083] Among them, the difference of each smart furniture parameter will cause different effects due to the same change in the value of smart furniture, so through normalization, the same change in the value of smart furniture will cause the same effect. The weight factor is based on the different security of each smart home. The change in the value of the smart furniture with lower security will cause a greater actual impact, so the weight factor is taken to consider security. The weight factor is taken as one of the values ​​[0.2, 0.4, 0.6, 0.8, 1.0].

[0084] Optionally, based on the similarity of the smart furniture set and the smart furniture parameter similarity, the blocked smart furniture parameters of the old home are selectively migrated to obtain new smart furniture parameters of the customer's new home, including:

[0085] If the customer's old home has no smart furniture installed, the shielded smart furniture parameters of the new home will be used as new smart furniture parameters for the customer's new home.

[0086] If the customer's old home has smart furniture and historical usage parameters, the blocked smart furniture parameters of the old home are migrated to the smart furniture in the new home based on the similar smart furniture set and the similarity of the smart furniture parameters to obtain new parameters of the smart furniture in the customer's new home.

[0087] Optionally, if the customer's old home has smart furniture and historical usage parameters, the blocked smart furniture parameters of the old home are migrated to the smart furniture of the new home according to the similar smart furniture set and the similarity of the smart furniture parameters, to obtain new parameters of the smart furniture of the customer's new home, including:

[0088] If the similarity of the smart furniture parameters is less than the threshold A, the shielded smart furniture parameters are directly migrated to the new home smart furniture to obtain the migrated parameters of the customer's new home smart furniture;

[0089] If the similarity of the smart furniture parameters is greater than the threshold value A, and if the smart furniture is included in the set of similar smart furniture, the shielded smart furniture parameters are directly migrated to the new home smart furniture to obtain the migrated parameters of the customer's new home smart furniture. If the smart furniture is not included in the set of similar smart furniture, the shielded smart furniture parameters of the new home are used as the new parameters of the customer's new home smart furniture to obtain the migrated parameters of the customer's new home smart furniture.

[0090] Integrate the parameters of the customer's new home's smart furniture after migration to obtain the new parameters of the customer's new home's smart furniture.

[0091] The threshold A is the smart furniture parameter similarity threshold. In the embodiment of the present invention, the threshold A can be set to 0.5.

[0092] Optionally, according to the similar smart furniture set and the similarity of smart furniture parameters, the shielded smart furniture parameters of the old residence are selectively migrated, and after obtaining new parameters of smart furniture in the new residence of the customer, the method further includes:

[0093] Obtain the customer's home parameters after moving into the new home;

[0094] Based on the home parameters of the customer after moving into the new home, the new parameters of the new home smart furniture are updated to obtain the customer's comfortable home parameters

[0095] Federated learning is performed based on the home parameters and the new parameters of the customer's new home smart furniture to obtain the customer's comfortable home parameters.

[0096] The smart home migration method provided by the present invention improves the safety of smart furniture moving, so that customers can immediately obtain the smart furniture usage habits in their previous homes when they move in. At the same time, privacy shielding is performed on customer privacy during migration, preventing privacy leakage problems often caused by customer moving.

[0097] As an optional implementation method, the smart furniture parameter data uploaded by the user to the Internet is obtained and stored in the blockchain. The smart furniture parameter data of the customer in the old house is obtained from the blockchain, and the smart furniture parameter data of the old customers who have moved out of the customer's new house is obtained at the same time. Because some of these parameter data belong to customer privacy, new and old customers do not want to expose these private parameter data, so these private parameter data are hidden and shielded and privacy shielded in the blockchain. After shielding the parameter data that ordinary users generally need to shield, ask the customer whether to shield some special private parameter data to shield special private parameters. Among them, the parameter migration parameter data is privacy shielded, and the private data required for migration is replaced by the parameter value set by the general public data stored in the blockchain. At the same time, in order to prevent people who know the old customers who have moved out from knowing the privacy parameters of the new customers, a blacklist can be preset. When there is a possibility of privacy exposure, the home is powered off or the parameters are set to the most frequently used parameter values ​​of ordinary users of the entire network furniture Internet of Things stored in the blockchain. After shielding the privacy data, prepare for parameter data migration. The house structures of the customer's old house and the new house are divided into several areas according to their functions, and the smart homes of the same type in the same area of ​​the old and new houses are added to the similar smart furniture set. The similarity of smart furniture parameters of new customers and old residents is calculated. According to the similar smart furniture set and the similarity of smart furniture parameters, and considering whether the customer has used smart furniture in the old house, the parameters of smart furniture equipment are migrated. If there are coordinated and cooperative smart furniture, the parameters are adjusted considering the coordination. At the same time, the reasons for the parameter adjustments made by the customer during the move are recorded through voice recognition, written into encrypted files and stored in the blockchain. Federated learning is performed based on the user's experience after the migration. The security of smart furniture moving is improved, and the smart home quickly learns the user's previously adapted furniture habits.

[0098] Optionally, the method further includes:

[0099] Monitor doorbell events, where the doorbell event refers to someone pressing the doorbell.

[0100] If a doorbell event is detected, monitor whether a furniture hiding event occurs; the furniture hiding event means that the customer changes furniture parameters or moves or covers furniture. For example, after hearing someone ring the doorbell, the customer changes the air conditioner temperature from 23 degrees to 25 degrees, moves a small bench from the living room to the bedroom, or covers the soybean milk machine with a blanket.

[0101] If a hidden furniture event occurs, the furniture parameters changed by the customer and the furniture moved or covered will be shielded, and the furniture parameters changed by the customer will be set as private parameters, and the furniture moved or covered will be set as private furniture. Private furniture and private parameters will not be shared with the outside world.

[0102] Among them, monitoring whether there is a hidden furniture event is determined specifically through a method based on target behavior detection. Specifically, after the doorbell event occurs, the surveillance video in the customer's house (new house or old house) is obtained, and based on the target behavior detection algorithm, it is detected in the surveillance video whether the user changes the furniture parameters or moves or covers the furniture.

[0103] Optionally, the method further includes: if a doorbell event is monitored and a hidden furniture event is monitored, the visiting guest is blacklisted. Specifically, if a doorbell event is monitored and a hidden furniture event is monitored, a facial image of the visiting guest is obtained by monitoring a camera at the door, identity information of the visiting guest is obtained based on a face recognition algorithm, and the identity information is blacklisted.

[0104] It should be noted that the customer's privacy information and privacy parameters will not be shared with people whose identity information is on the blacklist.

[0105] Optionally, the method further includes determining whether the identity information of the visiting guest is included in the blacklist, and if so, hiding the private furniture and privacy parameters of the customer from the visiting guest.

[0106] Optionally, the method further includes: if it is monitored that a blacklisted visitor unexpectedly visits the client's house (new house, old house), the client's privacy furniture is powered off and / or the privacy parameters are set to the parameters of the previous day. For example, the client's air conditioning temperature was set to 25 degrees the day before, and the air conditioning temperature today is 27 degrees. Today, a visitor on the blacklist unexpectedly comes to the house, so the air conditioning temperature is set to 25 degrees. Based on the above-mentioned smart home migration method based on federated learning, an embodiment of the present invention also provides a smart home migration system based on federated learning for executing the above-mentioned smart home migration method based on federated learning, and the system includes:

[0107] The collection module is used to collect the smart furniture learning parameters of all users in the blockchain, the smart furniture parameters of the customer's old home, the smart furniture parameters of the customer's old home, and the smart furniture parameters of the customer's new home; collect the privacy parameters of the old home and the privacy parameters of the new home; collect the protected smart furniture parameters of the old home and the protected smart furniture parameters of the new home;

[0108] Privacy shielding module, used to shield the privacy parameters of the old residence and the new residence;

[0109] A similarity calculation module is used to obtain the similarity of house structures and smart furniture parameters;

[0110] The parameter migration module is used to selectively migrate the smart furniture parameters of the old house to the customer's new house based on the similarity of the house structure and the similarity of the smart furniture parameters;

[0111] The re-update module is used to use the smart furniture parameters adjusted by the customer to perform model training, update the furniture parameters until no further updating is required, and obtain the home parameters that the customer no longer needs to update.

[0112] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0113] The embodiment of the present invention further provides an electronic device, such as Figure 2 As shown, it includes a memory 504, a processor 502 and a memory

[0114] A computer program stored in the memory 504 and executable on the processor 502, wherein when the processor 502 executes the program, the steps of any method described in the smart home migration method based on federated learning described above are implemented.

[0115] Among them, Figure 2 In the embodiment of the present invention, a bus architecture (represented by bus 500) is shown, and bus 500 may include any number of interconnected buses and bridges, and bus 500 links various circuits including one or more processors represented by processor 502 and memory represented by memory 504. Bus 500 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 505 provides an interface between bus 500 and receiver 501 and transmitter 503. Receiver 501 and transmitter 503 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices on a transmission medium. Processor 502 is responsible for managing bus 500 and general processing, while memory 504 may be used to store data used by processor 502 when performing operations.

[0116] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the data involved in the steps of any method of the smart home migration method based on federated learning described above is implemented.

[0117] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description of the above specific languages ​​is for disclosing the best mode of the present invention.

[0118] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0119] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0120] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device so disclosed may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0121] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0122] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the apparatus according to an embodiment of the present invention. The present invention may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0123] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

Claims

1. A smart home migration method based on federated learning, characterized in that: The method comprises: Obtain smart furniture parameters used by users across the network, and store the smart furniture parameters in the blockchain; The method includes shielding the old home privacy parameters in the smart furniture parameters of the old home of the customer in the blockchain to obtain the shielded smart furniture parameters of the old home, and shielding the new home privacy parameters in the smart furniture parameters of the new home of the customer to obtain the shielded smart furniture parameters of the new home, including: obtaining the old home public privacy parameters, wherein the old home public privacy parameters are the privacy parameters that are often shielded by ordinary users; Acquire special privacy parameters of the old residence, where the special privacy parameters of the old residence are other privacy parameters that the customer wants to shield in the parameters of the smart furniture in the old residence, except for the public privacy parameters; Based on the old home public privacy parameter and the old home special privacy parameter, obtain the old home privacy parameter of the customer, wherein the old home privacy parameter is a part of the old home smart furniture parameter; Obtain common parameters of smart furniture parameters of all network users from the blockchain, where the common parameters are the parameters with the highest usage rate by ordinary users; The common parameters are used to replace the privacy parameters of the old residence in the smart furniture parameters of the old residence, so as to obtain the shielded smart furniture parameters of the old residence; the shielded smart furniture parameters of the old residence are the smart furniture parameters of the old residence after the privacy parameters of the old residence are replaced with the common parameters; Obtaining new home public privacy parameters, where the new home public privacy parameters are privacy parameters that are often shielded by ordinary users; Acquire special privacy parameters of the new home, where the special privacy parameters of the new home are other privacy parameters that the customer wants to shield in addition to the public privacy parameters among the parameters of the new home smart furniture; Based on the new home public privacy parameters and the new home special privacy parameters, obtain the customer's new home privacy parameters, where the new home privacy parameters are part of the new home smart furniture parameters; The common parameters are used to replace the new home privacy parameters in the new home smart furniture parameters to obtain the new home shielded smart furniture parameters; the new home shielded smart furniture parameters are the new home smart furniture parameters after the new home privacy parameters are replaced with the common parameters; Obtain a collection of similar smart furniture based on the house structures of the customer's old home and the customer's new home; Obtain the similarity of smart furniture parameters between the customer’s old home and the customer’s new home; Based on the similar smart furniture sets and the similarity of smart furniture parameters, the blocked smart furniture parameters of the old home are selectively migrated to obtain the new smart furniture parameters of the customer's new home.

2. The method according to claim 1, characterized in that After selectively migrating the shielded smart furniture parameters of the old home according to the similar smart furniture set and the smart furniture parameter similarity, and obtaining new parameters of the smart furniture in the new home of the customer, the method further includes: obtaining the home parameters of the customer after moving into the new home; Based on the home parameters of the customer after moving into the new home, the new parameters of the new home smart furniture are updated to obtain the customer's comfortable home parameters.

3. The method according to claim 1, characterized in that: According to the house structure of the customer's old house and the customer's new house, a collection of similar smart furniture is obtained, including: Obtain a first house structure of the customer's old house and a second house structure of the customer's new house; The first housing structure is divided into one or more first areas according to functional purposes; the second housing structure is divided into one or more second areas according to functional purposes; one or more first areas and one or more second areas have at least one set of matching area groups, the matching area group includes a first area and a second area, and the functional purposes of the first area and the second area in the matching area group match; A similar smart furniture group is obtained to form a similar smart furniture set, wherein the similar smart furniture group includes a first smart home and a second smart home, the first smart home and the second smart home have the same functional use, and the position of the first smart home in the old residence is the first area in the matching area group, and the position of the second smart home in the old residence is the second area in the matching area group.

4. The method according to claim 1, characterized in that: Obtain the similarity of smart furniture parameters between the customer's old home and the customer's new home, including: Obtaining the difference between the smart furniture parameters of the customer's old home and the smart furniture parameters of the customer's new home; The difference is normalized; Obtaining the product of the difference and the weight factor; The product is used as the similarity of smart furniture parameters between the customer's old home and the customer's new home.

5. The method according to claim 1, characterized in that Based on the similarity of smart furniture sets and smart furniture parameter similarity, the blocked smart furniture parameters of the old home are selectively migrated to obtain the new parameters of the smart furniture in the customer's new home, including: If the customer's old home has no smart furniture installed, the blocked smart furniture parameters of the new home will be used as the new smart furniture parameters of the customer's new home; if the customer's old home has smart furniture and historical usage parameters, the blocked smart furniture parameters of the old home will be migrated to the smart furniture in the new home based on the set of similar smart furniture and the similarity of smart furniture parameters to obtain the new smart furniture parameters of the customer's new home.

6. The method according to claim 5, characterized in that If the customer's old home has smart furniture and historical usage parameters, the blocked smart furniture parameters of the old home are migrated to the smart furniture of the new home according to the similar smart furniture set and the similarity of the smart furniture parameters, and new parameters of the smart furniture of the customer's new home are obtained, including: If the similarity of the smart furniture parameters is less than the threshold A, the shielded smart furniture parameters are directly migrated to the new home smart furniture to obtain the migrated parameters of the customer's new home smart furniture; If the similarity of the smart furniture parameters is greater than a threshold value A, the parameters are migrated to the new home smart furniture according to whether the smart furniture is in a similar smart furniture set, and the migrated parameters of the customer's new home smart furniture are obtained; Integrate the parameters of the customer's new home's smart furniture after migration to obtain the new parameters of the customer's new home's smart furniture.

7. The method according to claim 6, characterized in that If the similarity of the smart furniture parameters is greater than a threshold value A, the parameters are migrated to the new home smart furniture according to whether the smart furniture is in a similar smart furniture set, and the migrated parameters of the customer's new home smart furniture are obtained, including: If the smart furniture is included in the set of similar smart furniture, the parameters of the shielded smart furniture are directly migrated to the new smart furniture to obtain the migrated parameters of the customer's new smart furniture; If the smart furniture is not included in the set of similar smart furniture, the shielded smart furniture parameters of the new home are used as new parameters of the smart furniture in the customer's new home to obtain the parameters of the smart furniture in the customer's new home after migration.

8. The method according to claim 2, characterized in that: The new parameters of the new home smart furniture are updated based on the home parameters of the customer after moving into the new home, so as to obtain the customer's comfortable home parameters, including: Federated learning is performed based on the home parameters and the new parameters of the customer's new home smart furniture to obtain the customer's comfortable home parameters.

9. A smart home migration system based on federated learning, used to execute the smart home migration method based on federated learning as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • BLOCKCHAIN TECHNOLOGY BASED IoT CONSENSUS PROTOCOL FOR SMART HOME

    AU2020101466A4

  • Data sharing and privacy protection method based on block chain and federated learning

    CN112714050A

  • User privacy data providing method and device based on block chain

    CN113326532A

  • Data recommendation method and device based on artificial intelligence, equipment and medium

    CN113569151A

  • Block chain cross-chain-based federated learning method and device

    CN113992360A