CN115268290A - Recommendation method and electronic device - Google Patents
Recommendation method and electronic device Download PDFInfo
- Publication number
- CN115268290A CN115268290A CN202210946431.1A CN202210946431A CN115268290A CN 115268290 A CN115268290 A CN 115268290A CN 202210946431 A CN202210946431 A CN 202210946431A CN 115268290 A CN115268290 A CN 115268290A
- Authority
- CN
- China
- Prior art keywords
- home
- candidate
- household
- operating parameters
- groups
- 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.)
- Withdrawn
Links
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
- 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请公开了一种推荐方法及电子设备,涉及家居技术领域。电子设备在接收到针对第一家设备的运行参数的推荐请求后,能够基于多个参考家居设备组中每个参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比,确定各个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值,并基于该推荐分值确定推荐运行参数。由此可见,电子设备在确定针对第一家居设备的推荐运行参数时,考虑了各个参考家居设备组对各个候选运行参数的推荐分值,即在确定推荐运行参数时所采用的数据较为全面,因此可以确保确定的推荐运行参数的准确性高,且较为客观。
The present application discloses a recommendation method and an electronic device, and relates to the field of household technology. After receiving the recommendation request for the operating parameters of the first device, the electronic device can, based on each reference home device group in the multiple reference home device groups within the historical period, use the multiple candidate operating parameters for each candidate operating parameter. The proportion of the first times of the times of operation is determined, the recommended score of each reference home appliance group for each candidate operation parameter of the plurality of candidate operation parameters is determined, and the recommended operation parameter is determined based on the recommended score. It can be seen that when the electronic device determines the recommended operating parameters for the first household device, the recommended scores of each reference household device group for each candidate operating parameter are considered, that is, the data used in determining the recommended operating parameters is relatively comprehensive. Therefore, it can be ensured that the determined recommended operating parameters are highly accurate and objective.
Description
技术领域technical field
本申请涉及家居技术领域,特别涉及一种推荐方法及电子设备。The present application relates to the field of household technology, in particular to a recommendation method and electronic equipment.
背景技术Background technique
用户可以通过移动终端控制家居设备(例如空调)运行。移动终端可以通过家居设备的历史运行参数,向用户推荐目标运行参数,并可以在接收到针对目标运行参数的运行指令后,控制家居设备以目标运行参数运行。Users can control the operation of household equipment (such as air conditioners) through mobile terminals. The mobile terminal can recommend target operating parameters to the user through the historical operating parameters of the home equipment, and can control the home equipment to operate with the target operating parameters after receiving an operating instruction for the target operating parameters.
相关技术中,移动终端可以将家居设备的多个历史运行参数中,运行次数最多的历史运行参数,确定为目标运行参数。In related technologies, the mobile terminal may determine the historical operating parameter with the largest number of times of operation among multiple historical operating parameters of the household device as the target operating parameter.
但是,相关技术中的推荐方法推荐的家居设备的运行参数不够准确。However, the operating parameters of the household equipment recommended by the recommendation method in the related art are not accurate enough.
发明内容Contents of the invention
本申请提供了一种推荐方法及电子设备,可以解决相关技术的推荐方法推荐的家居设备的运行参数不够准确的问题。所述技术方案如下:The present application provides a recommendation method and an electronic device, which can solve the problem that the operating parameters of household devices recommended by the recommendation method in the related art are not accurate enough. Described technical scheme is as follows:
一方面,提供了一种家居设备的运行参数的推荐方法,应用于电子设备;所述方法包括:In one aspect, a method for recommending operating parameters of household equipment is provided, which is applied to electronic equipment; the method includes:
响应于针对第一家居设备的运行参数的推荐请求,确定多个参考家居设备组,每个所述参考家居设备组均包括与所述第一家居设备的类型相同的至少一个第二家居设备;In response to a recommendation request for operating parameters of a first home appliance, determining a plurality of reference home appliance groups, each of said reference home appliance groups including at least one second home appliance of the same type as said first home appliance;
对于每个所述参考家居设备组,获取所述参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比;For each of the reference home appliance groups, obtain the ratio of the first number of times the reference home appliance group operates with each candidate operating parameter in a plurality of candidate operating parameters within a historical period;
基于所述多个参考家居设备组在所述历史时段内以各个所述候选运行参数运行的第一次数占比,确定每个所述参考家居设备组对所述多个候选运行参数中每个候选运行参数的推荐分值;Based on the ratio of the number of first times that the multiple reference household equipment groups operate with each of the candidate operating parameters within the historical period, determine the contribution of each of the reference household equipment groups to each of the multiple candidate operating parameters. The recommended score of a candidate operating parameter;
基于所述多个参考家居设备组中目标家居设备组对所述多个候选运行参数的推荐分值,从所述多个候选运行参数中确定推荐分值最高的推荐运行参数;Based on the recommendation scores of the target home appliance group in the plurality of reference home appliance groups for the plurality of candidate operating parameters, determine the recommended operating parameter with the highest recommended score from the plurality of candidate operating parameters;
其中,所述目标家居设备组中的第二家居设备所属对象的对象数据,与所述第一家居设备所属对象的对象数据的相似度大于相似度阈值。Wherein, the similarity between the object data of the object to which the second household device belongs and the object data of the object to which the first household device belongs is greater than a similarity threshold in the target household device group.
另一方面,提供了一种家居设备的推荐方法,应用于电子设备;所述方法包括:In another aspect, a method for recommending household equipment is provided, which is applied to electronic equipment; the method includes:
响应于针对第一家居系统启动目标家居场景时所需启动的家居设备的推荐请求,确定多个参考家居系统组,其中,每个所述参考家居系统组均包括至少一个第二家居系统,每个所述第二家居系统均包括适用于所述目标家居场景的多个候选家居设备中的至少两个候选家居设备;In response to the recommendation request for the home equipment that needs to be started when the first home system starts the target home scene, a plurality of reference home system groups are determined, wherein each of the reference home system groups includes at least one second home system, and each Each of the second home systems includes at least two candidate home devices among a plurality of candidate home devices applicable to the target home scene;
对于每个所述参考家居系统组,获取所述参考家居系统组在历史时段内启用所述目标家居场景时,所述多个候选家居设备中每个所述候选家居设备的启动次数的第三次数占比;For each of the reference home system groups, when the reference home system group activates the target home scene in a historical period, the third number of startup times of each of the candidate home devices among the plurality of candidate home devices is acquired. proportion of times;
基于所述多个参考家居系统组启用所述目标家居场景时,所述多个候选家居设备的启动次数的第三次数占比,确定每个所述参考家居系统组对所述多个候选家居设备中每个候选家居设备的推荐分值;Based on the proportion of the third number of startup times of the plurality of candidate home devices when the target home scene is activated by the plurality of reference home system groups, determine the contribution of each of the reference home system groups to the plurality of candidate home devices. Recommendation score for each candidate home device in the device;
基于所述多个参考家居系统组中目标家居系统组对所述多个候选家居设备的推荐分值,从所述多个候选家居设备中确定推荐分值大于分值阈值的多个推荐家居设备,其中所述目标家居系统组中的第二家居系统所属对象的对象数据,与所述第一家居系统所属对象的对象数据的相似度大于相似度阈值。Based on the recommendation scores of the target home system group in the plurality of reference home system groups to the plurality of candidate home devices, determine a plurality of recommended home devices with a recommendation score greater than a score threshold from the plurality of candidate home devices , wherein the similarity between the object data of the object belonging to the second home system in the target home system group and the object data of the object belonging to the first home system is greater than a similarity threshold.
又一方面,提供了一种电子设备,所述电子设备包括:处理器;所述处理器用于:In yet another aspect, an electronic device is provided, and the electronic device includes: a processor; the processor is used for:
响应于针对第一家居设备的运行参数的推荐请求,确定多个参考家居设备组,每个所述参考家居设备组均包括与所述第一家居设备的类型相同的至少一个第二家居设备;In response to a recommendation request for operating parameters of a first home appliance, determining a plurality of reference home appliance groups, each of said reference home appliance groups including at least one second home appliance of the same type as said first home appliance;
对于每个所述参考家居设备组,获取所述参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比;For each of the reference home appliance groups, obtain the ratio of the first number of times the reference home appliance group operates with each candidate operating parameter in a plurality of candidate operating parameters within a historical period;
基于所述多个参考家居设备组在所述历史时段内以各个所述候选运行参数运行的第一次数占比,确定每个所述参考家居设备组对所述多个候选运行参数中每个候选运行参数的推荐分值;Based on the ratio of the number of first times that the multiple reference household equipment groups operate with each of the candidate operating parameters within the historical period, determine the contribution of each of the reference household equipment groups to each of the multiple candidate operating parameters. The recommended score of a candidate operating parameter;
基于所述多个参考家居设备组中目标家居设备组对所述多个候选运行参数的推荐分值,从所述多个候选运行参数中确定推荐分值最高的推荐运行参数;Based on the recommendation scores of the target home appliance group in the plurality of reference home appliance groups for the plurality of candidate operating parameters, determine the recommended operating parameter with the highest recommended score from the plurality of candidate operating parameters;
其中,所述目标家居设备组中的第二家居设备所属对象的对象数据,与所述第一家居设备所属对象的对象数据的相似度大于相似度阈值。Wherein, the similarity between the object data of the object to which the second household device belongs and the object data of the object to which the first household device belongs is greater than a similarity threshold in the target household device group.
再一方面,提供了一种电子设备,所述电子设备包括:处理器;所述处理器用于:In another aspect, an electronic device is provided, and the electronic device includes: a processor; the processor is used for:
响应于针对第一家居系统启动目标家居场景时所需启动的家居设备的推荐请求,确定多个参考家居系统组,其中,每个所述参考家居系统组均包括至少一个第二家居系统,每个所述第二家居系统均包括适用于所述目标家居场景的多个候选家居设备中的至少两个候选家居设备;In response to the recommendation request for the home equipment that needs to be started when the first home system starts the target home scene, a plurality of reference home system groups are determined, wherein each of the reference home system groups includes at least one second home system, and each Each of the second home systems includes at least two candidate home devices among a plurality of candidate home devices applicable to the target home scene;
对于每个所述参考家居系统组,获取所述参考家居系统组在历史时段内启用所述目标家居场景时,所述多个候选家居设备中每个所述候选家居设备的启动次数的第三次数占比;For each of the reference home system groups, when the reference home system group activates the target home scene in a historical period, the third number of startup times of each of the candidate home devices among the plurality of candidate home devices is acquired. proportion of times;
基于所述多个参考家居系统组启用所述目标家居场景时,所述多个候选家居设备的启动次数的第三次数占比,确定每个所述参考家居系统组对所述多个候选家居设备中每个候选家居设备的推荐分值;Based on the proportion of the third number of startup times of the plurality of candidate home devices when the target home scene is activated by the plurality of reference home system groups, determine the contribution of each of the reference home system groups to the plurality of candidate home devices. Recommendation score for each candidate home device in the device;
基于所述多个参考家居系统组中目标家居系统组对所述多个候选家居设备的推荐分值,从所述多个候选家居设备中确定推荐分值大于分值阈值的多个推荐家居设备,其中所述目标家居系统组中的第二家居系统所属对象的对象数据,与所述第一家居系统所属对象的对象数据的相似度大于相似度阈值。Based on the recommendation scores of the target home system group in the plurality of reference home system groups to the plurality of candidate home devices, determine a plurality of recommended home devices with a recommendation score greater than a score threshold from the plurality of candidate home devices , wherein the similarity between the object data of the object belonging to the second home system in the target home system group and the object data of the object belonging to the first home system is greater than a similarity threshold.
再一方面,提供了一种电子设备,所述电子设备包括:存储器,处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述方面所述的家居设备的运行参数的推荐方法,或者实现上述方面所述的家居设备的推荐方法。In another aspect, an electronic device is provided, and the electronic device includes: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the computer program Realize the method for recommending the operating parameters of the household equipment as described in the above aspect, or implement the method for recommending the household equipment as described in the above aspect.
再一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现如上述方面所述的家居设备的运行参数的推荐方法,或者实现上述方面所述的家居设备的推荐方法。In yet another aspect, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to realize the operating parameters of the household equipment as described in the above aspect. , or a recommended method for implementing the household equipment described in the above aspect.
再一方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在所述计算机上运行时,使得所述计算机执行上述方面所述的家居设备的运行参数的推荐方法,或者实现上述方面所述的家居设备的推荐方法。In yet another aspect, a computer program product containing instructions is provided, and when the computer program product is run on the computer, the computer is made to execute the method for recommending the operating parameters of the household equipment described in the above aspects, or to implement Recommended methods for home appliances as described in the aspects above.
本申请提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solution provided by the application at least include:
本申请提供了一种推荐方法及电子设备,电子设备在接收到针对第一家设备的运行参数的推荐请求后,能够基于多个参考家居设备组中每个参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比,确定各个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值,并基于该推荐分值确定推荐运行参数。由此可见,电子设备在确定针对第一家居设备的推荐运行参数时,考虑了各个参考家居设备组对各个候选运行参数的推荐分值,即在确定推荐运行参数时所采用的数据较为全面,因此可以确保确定的推荐运行参数的准确性高,且较为客观。The present application provides a recommendation method and an electronic device. After receiving a recommendation request for the operating parameters of the first device, the electronic device can, based on the historical period of each reference household device group in multiple reference household device groups, Determine the recommended score of each reference household device group for each candidate operating parameter among the multiple candidate operating parameters by using the proportion of the first number of times that each candidate operating parameter runs in the plurality of candidate operating parameters, and based on the recommendation The score determines the recommended operating parameters. It can be seen that when the electronic device determines the recommended operating parameters for the first home device, it considers the recommended scores of each reference home device group for each candidate operating parameter, that is, the data used when determining the recommended operating parameters is relatively comprehensive. Therefore, it can be ensured that the determined recommended operating parameters are highly accurate and relatively objective.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本申请实施例提供的一种家居设备的运行参数的推荐方法的流程图;FIG. 1 is a flow chart of a method for recommending operating parameters of household equipment provided in an embodiment of the present application;
图2是本申请实施例提供的另一种家居设备的运行参数的推荐方法的流程图;Fig. 2 is a flow chart of another method for recommending operating parameters of household equipment provided in the embodiment of the present application;
图3是本申请实施例提供的一种触发针对第一家居设备的运行参数的推荐请求的界面示意图;Fig. 3 is a schematic diagram of an interface that triggers a recommendation request for operating parameters of a first household device provided by an embodiment of the present application;
图4是本申请实施例提供的一种确定每个参考家居设备组在历史时段内,以多个候选运行参数中的每个候选运行参数运行的次数的第一次数占比的流程图;Fig. 4 is a flow chart for determining the proportion of the first number of times each reference household device group operates with each candidate operating parameter in a plurality of candidate operating parameters within a historical period provided by an embodiment of the present application;
图5是本申请实施例提供的一种评分矩阵的示意图;Fig. 5 is a schematic diagram of a scoring matrix provided by an embodiment of the present application;
图6是本申请实施例提供的一种基于评分矩阵得到的目标对象矩阵和目标参数矩阵的示意图;FIG. 6 is a schematic diagram of a target object matrix and a target parameter matrix obtained based on a scoring matrix provided in an embodiment of the present application;
图7是本申请实施例提供的一种家居设备的推荐方法的流程图;Fig. 7 is a flow chart of a method for recommending household equipment provided in an embodiment of the present application;
图8是本申请实施例提供的另一种家居设备的推荐方法的流程图;Fig. 8 is a flow chart of another method for recommending household equipment provided by an embodiment of the present application;
图9是本申请实施例提供的一种触发第一家居系统启用目标家居场景时所需启动的家居设备的推荐请求的界面示意图;Fig. 9 is a schematic diagram of an interface of a recommendation request for a home device that needs to be activated when the first home system activates a target home scene provided by an embodiment of the present application;
图10是本申请实施例提供的一种确定每个参考家居系统组在历史时段内启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比的流程图;Fig. 10 is a process for determining the proportion of the third number of startup times of each candidate home device among multiple candidate home devices when each reference home system group activates a target home scene within a historical period provided by an embodiment of the present application picture;
图11是本申请实施例提供的一种电子设备的结构示意图;Fig. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图12是本申请实施例提供的一种电子设备的软件结构框图。Fig. 12 is a software structural block diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请实施例提供了一种家居设备的运行参数的推荐方法,该方法应用于电子设备。可选的,该电子设备可以为移动终端或推荐服务器。该移动终端可以为手机、平板电脑或笔记本电脑等。该推荐服务器可以是一台服务器,或者可以是由若干台服务器组成的服务器集群,又或者可以是一个云计算服务中心。参见图1,该方法包括:An embodiment of the present application provides a method for recommending an operating parameter of a household device, and the method is applied to an electronic device. Optionally, the electronic device may be a mobile terminal or a recommendation server. The mobile terminal can be a mobile phone, a tablet computer, or a notebook computer. The recommendation server may be a server, or may be a server cluster composed of several servers, or may be a cloud computing service center. Referring to Figure 1, the method includes:
步骤101、响应于针对第一家居设备的运行参数的推荐请求,确定多个参考家居设备组。
其中,该第一家居设备可以为出厂后从未运行的家居设备,或者可以为出厂后运行过的家居设备。每个参考家居设备组均包括与第一家居设备的类型相同的至少一个第二家居设备。也即是,每个参考家居设备组可以包括一个第二家居设备。或者,每个参考家居设备组可以包括多个第二家居设备。该多个第二家居设备中任意两个第二家居设备所属对象的对象数据的相似度大于相似度阈值。Wherein, the first household device may be a household device that has never been operated after leaving the factory, or may be a household device that has been operated after leaving the factory. Each reference household device group includes at least one second household device of the same type as the first household device. That is, each reference household device group may include a second household device. Alternatively, each reference household device group may include multiple second household devices. The similarity of the object data of any two objects belonging to the second household devices among the plurality of second household devices is greater than the similarity threshold.
第一家居设备的类型可以为下述类型中的一种:空调、洗衣机和洗碗机。例如,若第一家居设备的类型为空调,则多个参考家居设备组中每个参考家居设备组包括的每个第二家居设备的类型均为空调。The type of the first household appliance may be one of the following types: an air conditioner, a washing machine, and a dishwasher. For example, if the type of the first household device is an air conditioner, the type of each second household device included in each reference household device group in the plurality of reference household device groups is an air conditioner.
步骤102、对于多个参考家居设备组中的每个参考家居设备组,获取参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比。Step 102, for each reference household equipment group in the plurality of reference household equipment groups, obtain the first number of running times of each candidate operating parameter among the multiple candidate operating parameters of the reference household equipment group within the historical period Compare.
其中,历史时段可以是在运行参数的推荐请求的接收时刻之前的指定时长的时段。例如,历史时段可以是距该接收时刻最近的一月,或者是距该接收时刻最近的半月。多个候选运行参数中每个候选运行参数包括:运行参数的参数名称,以及运行参数的参数值。该多个候选运行参数所包括的参数名称相同,且多个候选运行参数中任意两个候选运行参数所包括的参数值不同。Wherein, the historical time period may be a time period of a specified duration before the receiving moment of the recommendation request of the operating parameters. For example, the historical time period may be the month closest to the receiving moment, or the half month closest to the receiving moment. Each candidate operating parameter among the plurality of candidate operating parameters includes: a parameter name of the operating parameter, and a parameter value of the operating parameter. The names of parameters included in the plurality of candidate operating parameters are the same, and any two of the plurality of candidate operating parameters include different parameter values.
在本申请实施例中,一个家居设备一般经常以多个候选运行参数中的部分候选运行参数运行,而该家居设备实际是可以以该多个候选运行参数运行。若仅通过该家居设备在历史时段内以该部分候选运行参数运行的次数的次数占比,确定针对该家居设备的推荐运行参数,则由于在确定推荐运行参数时所采用的数据较为片面,因此会导致确定的推荐运行参数的准确性较低。In the embodiment of the present application, a household device usually operates with some of the multiple candidate operating parameters, but the household device can actually operate with the multiple candidate operating parameters. If the recommended operating parameters for this household device are determined only through the ratio of the number of times that the household device operates with this part of the candidate operating parameters in the historical period, the data used when determining the recommended operating parameters is relatively one-sided, so Can result in less accurate determination of recommended operating parameters.
基于此,本申请实施例提供的电子设备能够获取多个参考家居设备组中每个参考家居设备组在历史时段内,以每个候选运行参数运行的次数的第一次数占比。多个参考家居设备在历史时段内的不同的实际运行参数的总数可以约等于多个候选运行参数的总数,即电子设备在确定针对第一家居设备的推荐运行参数时所采用的数据较为全面,因此可以确保确定的推荐运行参数的准确性较高。Based on this, the electronic device provided by the embodiment of the present application can obtain the first number ratio of the number of times each reference household device group operates with each candidate operating parameter within a historical period in a plurality of reference household device groups. The total number of different actual operating parameters of multiple reference household devices in the historical period may be approximately equal to the total number of multiple candidate operating parameters, that is, the data used by the electronic device when determining the recommended operating parameters for the first household device is relatively comprehensive. Therefore, a high accuracy of the determined recommended operating parameters can be ensured.
步骤103、基于多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比,确定每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。Step 103: Based on the ratio of the number of first times that multiple reference household equipment groups operate with each candidate operating parameter within a historical period, determine the recommendation score of each reference household equipment group for each candidate operating parameter among the multiple candidate operating parameters. value.
在本申请实施例中,电子设备可以采用协同过滤算法处理多个参考家居设备组在历史时段内,以各个候选运行参数运行的第一次数占比,从而得到每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。In the embodiment of the present application, the electronic device can use a collaborative filtering algorithm to process the proportion of the first number of multiple reference home appliance groups operating with each candidate operating parameter in a historical period, so as to obtain the ratio of each reference home appliance group to many The recommendation score of each candidate operating parameter among the candidate operating parameters.
或者,多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比可以记录在评分矩阵中。电子设备可以采用矩阵分解算法处理该评分矩阵,从而得到多个参考家居设备组中每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。Alternatively, the percentages of the first number of multiple reference home appliance groups operating with each candidate operating parameter within a historical period may be recorded in the scoring matrix. The electronic device may use a matrix decomposition algorithm to process the scoring matrix, so as to obtain a recommended score for each of the multiple candidate operating parameters for each of the multiple reference household device groups.
步骤104、基于多个参考家居设备组中目标家居设备组对多个候选运行参数的推荐分值,从多个候选运行参数中确定推荐分值最高的推荐运行参数。Step 104 : Based on the recommended scores of multiple candidate operating parameters for the target household equipment group in the multiple reference household equipment groups, determine the recommended operating parameter with the highest recommended score from the multiple candidate operating parameters.
其中,目标家居设备组中的第二家居设备所属对象的对象数据,与第一家居设备所属对象的对象数据的相似度大于相似度阈值。Wherein, the similarity between the object data of the object to which the second household device belongs and the object data of the object to which the first household device belongs is greater than a similarity threshold in the target household device group.
在本申请实施例中,若电子设备为移动终端,则该电子设备在确定推荐运行参数后,可以显示该推荐运行参数,并可以在接收到用于指示控制第一家居设备以该推荐运行参数运行的运行指令后,控制第一家居设备以该推荐运行参数运行。例如,移动终端可以向第一家居设备发送运行指令,该运行指令可以携带推荐运行参数。第一家居设备接收到该运行指令后,即可响应于该运行指令,以推荐运行参数运行。In the embodiment of the present application, if the electronic device is a mobile terminal, after the electronic device determines the recommended operating parameters, it can display the recommended operating parameters, and can control the first household device with the recommended operating parameters after receiving an instruction to control the first household device. After the operating instruction is executed, the first household device is controlled to operate with the recommended operating parameters. For example, the mobile terminal may send an operating instruction to the first household device, and the operating instruction may carry recommended operating parameters. After receiving the operation instruction, the first household device can respond to the operation instruction and operate with the recommended operation parameters.
若电子设备为推荐服务器,则电子设备在确定推荐运行参数后,可以向移动终端发送该推荐运行参数,以供移动终端显示。之后,若移动终端接收到用于指示控制第一家居设备以该推荐运行参数运行的运行指令后,则可以控制第一家居设备以该推荐运行参数运行。If the electronic device is a recommendation server, after determining the recommended operating parameters, the electronic device may send the recommended operating parameters to the mobile terminal for display by the mobile terminal. Afterwards, if the mobile terminal receives an operation instruction for instructing to control the first household device to operate with the recommended operation parameter, it can control the first household device to operate with the recommended operation parameter.
综上所述,本申请实施例提供了一种家居设备的运行参数的推荐方法,电子设备在接收到针对第一家设备的运行参数的推荐请求后,能够基于多个参考家居设备组中每个参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比,确定各个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值,并基于该推荐分值确定推荐运行参数。由此可见,电子设备在确定针对第一家居设备的推荐运行参数时,考虑了各个参考家居设备组对各个候选运行参数的推荐分值,即在确定推荐运行参数时所采用的数据较为全面,因此可以确保确定的推荐运行参数的准确性高,且较为客观。To sum up, the embodiment of the present application provides a method for recommending operating parameters of home appliances. After the electronic device receives a recommendation request for operating parameters of the first home appliance, it can In the historical period, a reference household equipment group uses the proportion of the first number of times each candidate operating parameter operates among the multiple candidate operating parameters to determine that each reference household equipment group performs the operation of each candidate among the multiple candidate operating parameters. The recommended score of the parameter is determined, and the recommended operating parameters are determined based on the recommended score. It can be seen that when the electronic device determines the recommended operating parameters for the first home device, it considers the recommended scores of each reference home device group for each candidate operating parameter, that is, the data used when determining the recommended operating parameters is relatively comprehensive. Therefore, it can be ensured that the determined recommended operating parameters are highly accurate and relatively objective.
本申请实施例以每个参考家居设备组均包括多个第二家居设备为例,对本申请实施例提供的家居设备的运行参数的推荐方法进行示例性说明。该方法可以应用于电子设备,该电子设备可以为移动终端或者推荐服务器。参见图2,该方法可以包括:In the embodiment of the present application, taking each reference household device group including a plurality of second household devices as an example, the method for recommending the operating parameters of the household devices provided in the embodiment of the present application is exemplarily described. The method can be applied to an electronic device, and the electronic device can be a mobile terminal or a recommendation server. Referring to Figure 2, the method may include:
步骤201、响应于针对第一家居设备的运行参数的推荐请求,获取多个第二家居设备所属对象的对象数据。Step 201 , in response to a recommendation request for operating parameters of a first home appliance, acquire object data of objects to which multiple second home appliances belong.
其中,多个第二家居设备中每个第二家居设备的类型均与第一家居设备的类型相同。第一家居设备的类型可以为下述类型中的一种:空调、洗衣机和洗碗机。例如,若第一家居设备的类型为空调,则每个第二家居设备的类型均为空调。Wherein, the type of each second household device among the plurality of second household devices is the same as that of the first household device. The type of the first household appliance may be one of the following types: an air conditioner, a washing machine, and a dishwasher. For example, if the type of the first household device is an air conditioner, then the type of each second household device is an air conditioner.
每个第二家居设备所属对象的对象数据包可以包括:该对象的属性数据和/或对象所处地域的地域数据。该属性数据包括:对象的年龄和性别中的一种,该地域数据包括:地域的位置、温度和湿度的至少一种。The object data package of the object to which each second household device belongs may include: attribute data of the object and/or region data of the region where the object is located. The attribute data includes: one of age and gender of the object, and the region data includes: at least one of location, temperature and humidity of the region.
例如,该对象数据可以包括该对象的属性数据和对象所处地域的地域数据。该属性数据包括对象的年龄和性别,该地域数据包括:地域的位置、湿度和温度。For example, the object data may include attribute data of the object and region data of the region where the object is located. The attribute data includes age and gender of the object, and the region data includes location, humidity and temperature of the region.
对于电子设备为移动终端的实现方式,移动终端的显示屏可以显示有参数推荐控件。针对第一家居设备的运行参数的推荐请求可以由第一家居设备的对象针对该参数推荐控件的触控操作触发。移动终端响应于该推荐请求,可以向存储服务器(例如推荐服务器)发送对象数据的获取请求,该获取请求携带有第一家居设备的类型。存储服务器接收到该获取请求后,即可获取类型与该类型相同的多个第二家居设备所属对象的对象数据,并将该对象数据发送至移动终端。相应的,移动终端即可获取多个第二家居设备所属对象的对象数据。其中,存储服务器存储有多个家居设备中每个家居设备所属对象的对象数据。For an implementation in which the electronic device is a mobile terminal, the display screen of the mobile terminal may display parameter recommendation controls. The recommendation request for the operating parameters of the first household device may be triggered by a touch operation of the object of the first household device on the parameter recommendation control. In response to the recommendation request, the mobile terminal may send an object data acquisition request to a storage server (for example, a recommendation server), where the acquisition request carries the type of the first household device. After receiving the acquisition request, the storage server can acquire the object data of objects belonging to multiple second home appliances of the same type, and send the object data to the mobile terminal. Correspondingly, the mobile terminal can obtain the object data of the objects to which the multiple second household devices belong. Wherein, the storage server stores the object data of the object to which each household device belongs among the plurality of household devices.
示例的,假设第一家居设备为空调1。参见图3,第一家居设备所属对象的移动终端中安装有家居控制应用。移动终端可以响应于该对象针对该家居控制应用的应用标识的触控操作,显示设备控制界面。该设备控制界面显示有家居设备的第一选择控件01和家居场景的第二选择控件02。其中,第一选择控件01处于选中状态时,该设备控制界面显示有该对象所拥有的多个家居设备的标识(例如名称和图标)。第二选择控件02处于选中状态时,该设备控制界面显示有该对象所拥有的多个家居场景的标识(例如名称)。且第一选择控件01默认处于选中状态。As an example, assume that the first household device is an air conditioner 1 . Referring to FIG. 3 , the home control application is installed in the mobile terminal of the object to which the first home device belongs. The mobile terminal may display a device control interface in response to the object's touch operation on the application identification of the home control application. The device control interface displays a
从图3可以看出,空调1所属对象拥有的家居设备包括:空调1,空调2和照明灯1。然后,该对象可以触控空调1的标识。移动终端响应于针对该标识的触控操作,显示空调1的控制界面。该控制界面显示有参数推荐控件03。该对象可以触控该参数推荐控件03。相应的,移动终端可以接收由针对该参数推荐控件03的触控操作所触发的针对第一家居设备的运行参数的推荐请求。As can be seen from FIG. 3 , the household equipment owned by the object to which air conditioner 1 belongs includes: air conditioner 1 , air conditioner 2 and lighting lamp 1 . Then, the object can touch the logo of the air conditioner 1 . The mobile terminal displays the control interface of the air conditioner 1 in response to the touch operation on the sign. The control interface displays a
并且,从图3还可以看出,该控制界面还显示有针对空调1的多个控制控件,该多个控制控件包括:开关控件、用于设置空调1的运行模式的模式控件、用于设置空调1的风速档位(简称风档)的风档控件、用于设置空调1的风向的风向控件和用于设置空调1的设定温度的温度调节控件。Moreover, it can also be seen from FIG. 3 that the control interface also displays a plurality of control controls for the air conditioner 1, and the plurality of control controls include: a switch control, a mode control for setting the operating mode of the air conditioner 1, and a control for setting the operating mode of the air conditioner 1. A wind speed gear control of the air conditioner 1 (wind gear for short), a wind direction control for setting the wind direction of the air conditioner 1 and a temperature adjustment control for setting the set temperature of the air conditioner 1 .
对于电子设备为推荐服务器的实现方式,针对第一家居设备的运行参数的推荐请求可以是移动终端发送至推荐服务器的。例如,移动终端的显示屏可以显示有参数推荐控件,且移动终端可以响应于对象针对该参数推荐控件的触控操作,向推荐服务器发送针对第一家居设备的运行参数的推荐请求。推荐服务器接收到该推荐请求,即可获取多个第二家居设备所属对象的对象数据。For an implementation manner in which the electronic device is a recommendation server, the recommendation request for the operating parameters of the first household device may be sent by the mobile terminal to the recommendation server. For example, the display screen of the mobile terminal may display a parameter recommendation control, and the mobile terminal may send a recommendation request for the operating parameters of the first household device to the recommendation server in response to the object's touch operation on the parameter recommendation control. After receiving the recommendation request, the recommendation server can obtain the object data of the objects to which the multiple second household devices belong.
其中,多个第二家居设备所属对象的对象数据可以是推荐服务器预先存储的。或者,推荐服务器可以从存储服务器中获取多个第二家居设备所属对象的对象数据。推荐服务器从存储服务器中获取该对象数据的实现过程,可以参考移动终端从推荐服务器中获取多个第二家居设备所属对象的对象数据的相关实现过程,本申请实施例在此不再赘述。Wherein, the object data of the objects to which the plurality of second home appliances belong may be pre-stored by the recommendation server. Alternatively, the recommendation server may obtain object data of objects to which multiple second household devices belong from the storage server. For the realization process of the recommendation server obtaining the object data from the storage server, reference may be made to the relevant realization process of the mobile terminal obtaining the object data of the objects belonging to multiple second home appliances from the recommendation server, which will not be repeated in this embodiment of the present application.
在本申请实施例中,存储服务器获取多个家居设备所属对象的对象数据的过程可以包括:In this embodiment of the application, the process for the storage server to obtain object data of objects to which multiple household devices belong may include:
第一家居设备和第二家居设备中的每个家居设备所属对象的移动终端中安装有家居控制应用,存储服务器为家居控制应用的后台服务器。每个移动终端运行该家居控制应用后,能够显示数据输入界面。该数据输入界面显示有对象的性别输入框,年龄输入框,以及所在地域的位置输入框。家居设备所属对象能够在该数据输入界面输入性别,年龄和位置。相应的,移动终端响应于用户在该数据输入界面的输入操作,能够获取该家居设备所属对象的性别,年龄和位置。The home control application is installed in the mobile terminal of the object to which each of the first home equipment and the second home equipment belongs, and the storage server is a background server of the home control application. After each mobile terminal runs the home control application, it can display a data input interface. The data input interface displays an object's gender input box, age input box, and location input box of the region. The object to which the home equipment belongs can input gender, age and location on the data input interface. Correspondingly, in response to the user's input operation on the data input interface, the mobile terminal can acquire the gender, age and location of the object to which the household device belongs.
并且,每个对象的移动终端还能够获取属于该对象的所有家居设备的类型。例如,该移动终端可以响应于该对象输入所有家居设备的类型的操作,获取该所有家居设备的类型。或者,移动终端可以通过扫描获取属于该对象的所有家居设备。其中,属于该对象的家居设备是指位于该对象的家庭空间中的家居设备。Moreover, the mobile terminal of each object can also obtain the types of all household devices belonging to the object. For example, the mobile terminal may acquire the types of all household devices in response to the object's operation of inputting the types of all household devices. Alternatively, the mobile terminal can obtain all household devices belonging to the object through scanning. Wherein, the home equipment belonging to the object refers to the home equipment located in the home space of the object.
之后,移动终端将获取的该移动终端所属对象的性别,年龄,位置,以及属于该对象的所有家居设备的类型均发送至存储服务器。存储服务器在接收到移动终端发送的位置后,能够基于该位置获取该对象所在区域的温度和湿度。如此,存储服务器即可获取家居设备所属对象的对象数据。Afterwards, the mobile terminal sends the obtained gender, age, location of the object to which the mobile terminal belongs, and the types of all household devices belonging to the object to the storage server. After receiving the location sent by the mobile terminal, the storage server can acquire the temperature and humidity of the area where the object is located based on the location. In this way, the storage server can obtain the object data of the object to which the household device belongs.
步骤202、基于多个第二家居设备所属对象的对象数据,对多个第二家居设备进行聚类,得到多个参考家居设备组。Step 202: Based on the object data of the objects to which the multiple second household devices belong, cluster the multiple second household devices to obtain multiple reference household device groups.
在本申请实施例中,电子设备可以对多个第二家居设备所属对象的对象数据进行聚类处理,从而得到多个第一对象簇。每个第一对象簇均包括多个对象,且该多个对象任意两个对象的对象数据的相似度大于相似度阈值。之后,对于多个第一对象簇中每个第一对象簇,电子设备可以将属于第一对象簇中多个对象的第二家居设备作为一个参考家居设备组,从而得到多个参考家居设备组。In the embodiment of the present application, the electronic device may perform cluster processing on the object data of objects to which multiple second household devices belong, so as to obtain multiple first object clusters. Each first object cluster includes a plurality of objects, and the similarity of object data of any two objects of the plurality of objects is greater than a similarity threshold. Afterwards, for each first object cluster in the plurality of first object clusters, the electronic device may use the second household equipment belonging to multiple objects in the first object cluster as a reference household equipment group, thereby obtaining multiple reference household equipment groups .
可选的,电子设备可以采用聚类算法对多个第二家居设备所属对象的对象数据进行聚类处理,以得到多个第一对象簇。其中,该聚类算法可以为下述算法中的一种:K均值(K-Means)算法,K中心点(K-Medoids)算法,以及期望最大化(expectation maximization,EM)算法。Optionally, the electronic device may use a clustering algorithm to perform clustering processing on the object data of objects to which multiple second household devices belong, so as to obtain multiple first object clusters. Wherein, the clustering algorithm may be one of the following algorithms: K-Means (K-Means) algorithm, K-Medoids (K-Medoids) algorithm, and expectation maximization (expectation maximization, EM) algorithm.
步骤203、对于每个参考家居设备组,获取该参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比。Step 203 , for each reference household device group, obtain the first number ratio of the number of times the reference household device group operates with each candidate operating parameter in a plurality of candidate operating parameters within a historical period.
其中,历史时段可以为在推荐请求的接收时刻之前的指定时长的时段。例如,历史时段可以是距该接收时刻最近的一月,或者是距该接收时刻最近的半月。本申请实施例对该历史时段的时长不做限定。Wherein, the historical period may be a specified time period before the receiving moment of the recommendation request. For example, the historical time period may be the month closest to the receiving moment, or the half month closest to the receiving moment. The embodiment of the present application does not limit the duration of the historical period.
多个候选运行参数可以是电子设备在执行步骤203之前已经确定的。多个候选运行参数中每个候选运行参数包括:运行参数的参数名称,以及运行参数的参数值。该多个候选运行参数所包括的参数名称相同,且多个候选运行参数中任意两个候选运行参数所包括的参数值不同。并且,多个候选运行参数可以为第一家居设备在运行过程中所有可能会出现的运行参数。如此,可以确保多个候选运行参数较为全面,从而可以确保确定的推荐运行参数的准确性较高。A plurality of candidate operating parameters may have been determined by the electronic device before performing step 203 . Each candidate operating parameter among the plurality of candidate operating parameters includes: a parameter name of the operating parameter, and a parameter value of the operating parameter. The names of parameters included in the plurality of candidate operating parameters are the same, and any two of the plurality of candidate operating parameters include different parameter values. Moreover, the plurality of candidate operating parameters may be all operating parameters that may appear during the operating process of the first household device. In this way, it can be ensured that the plurality of candidate operating parameters are relatively comprehensive, so that the accuracy of the determined recommended operating parameters can be ensured to be high.
可选的,每个候选运行参数可以包括多个子参数。相应的,每个候选参数包括:多个子参数中每个子参数的参数名称和参数值。例如,若第一家居设备的类型为空调,则每个候选运行参数可以包括:运行模式、温度和风档等中的至少两个子参数。若第一家居设备的类型为洗衣机,则每个候选运行参数可以包括:转速和温度等多个子参数。Optionally, each candidate operating parameter may include multiple sub-parameters. Correspondingly, each candidate parameter includes: a parameter name and a parameter value of each sub-parameter among the multiple sub-parameters. For example, if the type of the first household device is an air conditioner, each candidate operating parameter may include at least two sub-parameters of operating mode, temperature, and wind speed. If the type of the first household appliance is a washing machine, each candidate operating parameter may include multiple sub-parameters such as rotation speed and temperature.
示例的,假设第一家居设备的类型为空调,且空调的运行参数包括:运行模式、温度和风档等多个子参数。其中,该运行模式的参数值包括:自动模式、制冷模式、制热模式、除湿模式和送风模式。温度的参数值包括:18摄氏度(℃)至35℃中的整数。风档的参数值包括:低档、中档和高档。For example, assume that the type of the first household device is an air conditioner, and the operating parameters of the air conditioner include multiple sub-parameters such as operating mode, temperature, and wind speed. Wherein, the parameter values of the operation mode include: automatic mode, cooling mode, heating mode, dehumidification mode and air supply mode. The parameter value of temperature includes: an integer from 18 degrees Celsius (°C) to 35°C. The parameter values of wind gear include: low gear, middle gear and high gear.
则第一家居设备的多个候选运行参数可以是对运行模式的多个不同参数值,温度的多个不同参数值,以及风档的多个不同参数值,进行组合所得到的。且任意两个候选运行参数中至少一个子参数的参数值不同。The multiple candidate operating parameters of the first household device may be obtained by combining multiple different parameter values of the operating mode, multiple different parameter values of the temperature, and multiple different parameter values of the wind gear. And the parameter value of at least one sub-parameter in any two candidate operating parameters is different.
在本申请实施例中,参见图4,电子设备获取每个参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比的过程可以包括:In the embodiment of the present application, referring to FIG. 4 , the electronic device obtains the first number ratio of the number of operation times of each candidate operating parameter among multiple candidate operating parameters within a historical period for each reference household device group. include:
步骤2031、对于每个参考家居设备组,获取参考家居设备组中每个第二家居设备在历史时段内,以多个候选运行参数中每个候选运行参数运行的第二次数占比。Step 2031 , for each reference household device group, obtain the second ratio of the second number of times that each second household device in the reference household device group operates with each candidate operating parameter in a plurality of candidate operating parameters within a historical period.
在本申请实施例中,对于每个参考家居设备组中的每个第二家居设备,电子设备可以获取该第二家居设备在历史时段内运行的总次数,以及该第二家居设备在该历史时段内以多个候选运行参数中每个候选运行参数运行的次数。之后,电子设备可以将该第二家居设备在历史时段内以该候选运行参数运行的次数,与该总次数的比值,确定为该第二家居设备在历史时段内以该候选运行参数运行的第二次数占比。In the embodiment of the present application, for each second home device in each reference home device group, the electronic device can obtain the total number of times the second home device operates within a historical period, and the The number of times of running with each of the plurality of candidate running parameters within the time period. Afterwards, the electronic device may determine the ratio of the number of times the second home appliance operates with the candidate operating parameter within the historical period to the total number of times as the second home appliance operating with the candidate operating parameter within the historical period. Secondary ratio.
例如,若多个候选运行参数的总数为I,多个参考家居设备组的总数为N,N个参考家居设备组中的第n个参考家居设备组包括Kn个第二家居设备,则该Kn个第二家居设备中的第k个第二家居设备,在历史时段内以I个候选运行参数中的第i个候选运行参数运行的第二次数占比Ank可以满足下述公式:For example, if the total number of multiple candidate operating parameters is I, the total number of multiple reference household device groups is N, and the nth reference household device group in the N reference household device groups includes K n second household devices, then the For the kth second home appliance among the Kn second home appliances, the ratio A nk of the second number of operations with the i-th candidate operating parameter among the I candidate operating parameters in the historical period can satisfy the following formula:
公式(1)中,fni为该第k个第二家居设备在历史时段内以第i个候选运行参数运行的次数,Fnk为该第k个第二家居设备在历史时段内运行的总次数。i为大于等于1且小于等于I的整数,n为大于等于1且小于等于N的整数,k也为大于等于1且小于等于K的整数。I、N和K均为大于1的整数。In the formula (1), f ni is the number of times the k-th second household device operates with the i-th candidate operating parameter in the historical period, and F nk is the total number of times the k-th second household device operates in the historical period. frequency. i is an integer greater than or equal to 1 and less than or equal to 1, n is an integer greater than or equal to 1 and less than or equal to N, and k is also an integer greater than or equal to 1 and less than or equal to K. I, N and K are all integers greater than 1.
在本申请实施例中,对于每个参考家居设备组中每个第二家居设备,电子设备可以获取该第二家居设备在历史时段内运行的多个历史运行参数。该多个候选运行参数包括该多个历史运行参数。对于多个候选运行参数中每个候选运行参数,电子设备可以将多个历史运行参数中与该候选运行参数相同的历史运行参数的个数,确定为第二家居设备在历史时段内以该候选运行参数运行的次数。In the embodiment of the present application, for each second home appliance in each reference home appliance group, the electronic device may acquire a plurality of historical operating parameters of the second home appliance operating within a historical period. The plurality of candidate operating parameters includes the plurality of historical operating parameters. For each candidate operating parameter among the plurality of candidate operating parameters, the electronic device may determine the number of the historical operating parameters that are the same as the candidate operating parameter among the plurality of historical operating parameters as the number of the candidate operating parameters that the second home device uses in the historical period. The number of times the run parameter is run.
可以理解的是,电子设备可以预先存储有每个第二家居设备在历史时段内的历史运行参数。或者,电子设备可以从存储服务器中获取每个第二家居设备在历史时段内的历史运行参数。其中,存储服务器中存储的每个第二家居设备的历史运行参数可以是该第二家居设备所属对象的移动终端上报至该存储服务器的。It can be understood that the electronic device may pre-store historical operating parameters of each second household device within a historical period. Alternatively, the electronic device may acquire the historical operating parameters of each second household device within a historical period from the storage server. Wherein, the historical operating parameters of each second household device stored in the storage server may be reported to the storage server by the mobile terminal of the object to which the second household device belongs.
步骤2032、对于多个候选运行参数中的每个候选运行参数,将参考家居设备组中的多个第二家居设备以候选运行参数运行的第二次数占比的平均值,确定为参考家居设备组以候选运行参数运行的第一次数占比。Step 2032: For each candidate operating parameter among the plurality of candidate operating parameters, determine the average value of the proportion of the second number of times that multiple second home appliances in the reference home appliance group operate with the candidate operating parameters as the reference home appliance The fraction of the first time the group was run with the candidate run parameters.
在本申请实施例中,对于多个候选运行参数中的每个候选运行参数,电子设备在获取每个参考家居设备组中每个第二家居设备在历史时段内以该候选运行参数运行的第二次数占比后,可以基于该第二次数占比,以及该参考家居设备组中的第二家居设备的个数,确定多个第二家居设备以候选运行参数运行的第二次数占比的平均值,并将该平均值作为该参考家居设备组在历史时段内以该候选运行参数运行的第一次数占比。In the embodiment of the present application, for each candidate operating parameter among the plurality of candidate operating parameters, the electronic device obtains the first time that each second household device in each reference household device group operates with the candidate operating parameter within a historical period. After the second ratio, based on the second ratio and the number of second household devices in the reference household device group, it is possible to determine the second ratio of multiple second household devices operating with candidate operating parameters. The average value is used as the proportion of the first number of times that the reference household equipment group operates with the candidate operating parameters in the historical period.
例如,若多个候选运行参数的总数为I,多个参考家居设备组的总数为N,N个参考家居设备组中的第n个参考家居设备组包括Kn个第二家居设备,则该第n个参考家居设备在历史时段内以I个候选运行参数中的第i个候选运行参数运行的第一次数占比Bni可以满足下述公式:For example, if the total number of multiple candidate operating parameters is I, the total number of multiple reference household device groups is N, and the nth reference household device group in the N reference household device groups includes K n second household devices, then the The ratio B ni of the first number of nth reference household equipment operating with the i-th candidate operating parameter among the I candidate operating parameters in the historical period can satisfy the following formula:
步骤204、基于多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比,确定每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。Step 204: Based on the ratio of the first number of operations of multiple reference home appliance groups with each candidate operating parameter within a historical period, determine the recommendation score of each reference home appliance group for each candidate operating parameter among the plurality of candidate operating parameters. value.
在本申请实施例中,多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比记录在评分矩阵中。电子设备可以采用矩阵分解算法处理评分矩阵,得到每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。In the embodiment of the present application, the percentages of the first number of operations of multiple reference household device groups with each candidate operating parameter within a historical period are recorded in the scoring matrix. The electronic device may use a matrix decomposition algorithm to process the scoring matrix to obtain a recommended score for each candidate operating parameter among the plurality of candidate operating parameters for each reference household device group.
其中,该评分矩阵中的每一行可以为一个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比。该评分矩阵中的每一列可以为多个参考家居设备组在历史时段内以一个候选运行参数运行的第一次数占比。Wherein, each row in the scoring matrix may be the proportion of the first time a reference household device group operates with each candidate operating parameter within a historical period. Each column in the scoring matrix may be the proportion of the first number of times a plurality of reference household device groups operate with a candidate operating parameter within a historical period.
示例的,假设多个候选运行参数的总数为I,多个参考家居设备组的总数为N,则参见图5,N个参考家居设备组中的第一个参考家居设备组,在历史时段内以I个候选运行参数中的第一个候选运行参数运行的第一次数占比B11,位于评分矩阵的第一行第一列;以第二个候选运行参数运行的第一次数占比B12,位于评分矩阵的第一行第二列;以第i个候选运行参数运行的第一次数占比B1i,位于评分矩阵的第一行第i列。Exemplary, assuming that the total number of multiple candidate operating parameters is I, and the total number of multiple reference household equipment groups is N, then referring to Figure 5, the first reference household equipment group in the N reference household equipment groups, in the historical period The proportion B 11 of the first number of operations with the first candidate operation parameter among the I candidate operation parameters is located in the first row and first column of the scoring matrix; the first number of operations with the second candidate operation parameter accounts for The ratio B 12 is located in the first row and the second column of the scoring matrix; the ratio B 1i of the first number of running with the i-th candidate operating parameter is located in the first row and the i-column of the scoring matrix.
N个参考家居设备组中的第二个参考家居设备组,在历史时段内以第一个候选运行参数运行的第一次数占比B21,位于评分矩阵的第二行第一列;以第二个候选运行参数运行的第一次数占比B22,位于评分矩阵的第二行第二列;以第i个候选运行参数运行的第一次数占比B2i,位于评分矩阵的第二行第i列。In the second reference household equipment group in the N reference household equipment groups, the proportion B 21 of the first number of operations with the first candidate operating parameters in the historical period is located in the second row and the first column of the scoring matrix; The first number ratio B 22 of the second candidate operation parameter operation is located in the second row and second column of the scoring matrix; the first number ratio B 2i of the i-th candidate operation parameter operation is located in the scoring matrix second row i column.
N个参考家居设备组中的第n个参考家居设备,在历史时段内以第一个候选运行参数运行的第一次数占比Bn1,位于评分矩阵的第n行第一列;以第二个候选运行参数运行的第一次数占比Bn2,位于评分矩阵的第n行第二列;以第i个候选运行参数运行的第一次数占比Bni,位于评分矩阵的第n行第i列。For the nth reference home appliance in the N reference home appliance groups, the proportion B n1 of the first number of operations with the first candidate operating parameter in the historical period is located in the first column of the nth row of the scoring matrix; The first number ratio B n2 of the two candidate operating parameters is located in the second column of the nth row of the scoring matrix; the first number ratio B ni of the i-th candidate operating parameters is located in the scoring matrix row n and column i.
在本申请实施例中,电子设备采用矩阵分解算法处理评分矩阵后,可以得到目标对象矩阵和目标参数矩阵。其中,该目标对象矩阵的行数等于目标评分矩阵的行数,目标参数矩阵的列数等于目标评分矩阵的列数,该目标对象矩阵的列数和目标参数矩阵的行数等于矩阵分解算法中的多个隐变量的总数。隐变量可以是指影响参考家居设备组对候选运行参数的推荐分值的高低的特征。目标对象矩阵中的每一行可以为一个参考家居设备组对多个隐变量的推荐程度。参数矩阵中的每一列可以为一个候选运行参数中的多个隐变量的含量。该推荐程度和该含量均可以采用数值表征。In the embodiment of the present application, the electronic device may obtain the target object matrix and the target parameter matrix after processing the scoring matrix by using a matrix decomposition algorithm. Among them, the number of rows of the target object matrix is equal to the number of rows of the target scoring matrix, the number of columns of the target parameter matrix is equal to the number of columns of the target scoring matrix, the number of columns of the target object matrix and the number of rows of the target parameter matrix are equal to the number of rows in the matrix decomposition algorithm The total number of multiple latent variables of . Hidden variables may refer to features that affect the recommendation scores of the reference household equipment group for the candidate operating parameters. Each row in the target object matrix can be the recommendation degree of a reference household device group for multiple latent variables. Each column in the parameter matrix can be the content of multiple hidden variables in a candidate operating parameter. Both the recommendation degree and the content can be represented by numerical values.
然后,电子设备可以计算目标对象矩阵与目标参数矩阵的转置乘积,从而得到多个参考家居设备组中每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。Then, the electronic device may calculate the transposed product of the target object matrix and the target parameter matrix, so as to obtain a recommendation score for each of the plurality of candidate operating parameters for each of the plurality of reference home appliance groups.
可以理解的是,电子设备采用矩阵分解算法处理评分矩阵的过程可以包括:电子设备获取矩阵分解的目标函数和矩阵分解的隐变量的总数。然后,电子设备重复执行将评分矩阵分解为对象矩阵和参数矩阵,并基于分解得到的对象矩阵和参数矩阵确定目标函数的函数值的操作,直至得到的目标函数的函数值最小。之后,电子设备可以将目标函数的函数值最小时,分解得到的对象矩阵确定为目标对象矩阵,并将分解得到的参数矩阵确定为目标参数矩阵。It can be understood that, the process of the electronic device using the matrix decomposition algorithm to process the scoring matrix may include: the electronic device obtains the objective function of the matrix decomposition and the total number of hidden variables of the matrix decomposition. Then, the electronic device repeatedly performs the operation of decomposing the scoring matrix into an object matrix and a parameter matrix, and determining the function value of the objective function based on the decomposed object matrix and parameter matrix, until the obtained function value of the objective function is minimum. Afterwards, the electronic device may determine the decomposed object matrix as the target object matrix when the function value of the objective function is minimized, and determine the decomposed parameter matrix as the target parameter matrix.
其中,目标函数可以满足下述公式:Among them, the objective function can satisfy the following formula:
公式(3)中,T表示转置,Xn为位于对象矩阵的第n行的向量,且Xn包括第n个参考家居设备组对多个隐变量的推荐程度。Yi为位于参数矩阵的第i列的向量,且Yi为第i个候选运行参数中的多个隐变量的含量。λ为正则化系数,且λ可以大于等于0小于等于1。为Xn的范数的平方,为Yi的范数的平方。In the formula (3), T represents the transpose, X n is a vector located in the nth row of the object matrix, and X n includes the recommendation degree of the nth reference household equipment group for multiple latent variables. Y i is a vector located in the i-th column of the parameter matrix, and Y i is the content of multiple hidden variables in the i-th candidate operating parameter. λ is a regularization coefficient, and λ can be greater than or equal to 0 and less than or equal to 1. is the square of the norm of X n , is the square of the norm of Y i .
可以理解的是,在参考家居设备组包括多个第二家居设备的实现方式中,由于电子设备在确定每个参考家居设备组以每个候选运行参数运行的次数的第一次数占比时,已经考虑了多个第二家居设备以该候选运行参数的第二次数占比,因此相较于参考家居设备包括一个第二家居设备的实现方式,参考家居设备组包括多个第二家居设备的实现方式,能够在确保确定推荐运行参数的过程中采用的数据较为全面的前提下,较大程度的降低矩阵分解的维度,从而提升了推荐运行参数的确定效率。It can be understood that, in the implementation manner in which the reference household device group includes a plurality of second household devices, since the electronic device determines the proportion of the first number of times each reference household device group operates with each candidate operating parameter , the ratio of multiple second household devices to the second number of the candidate operating parameters has been considered, so compared to the realization that the reference household device includes one second household device, the reference household device group includes multiple second household devices The implementation method can reduce the dimension of matrix decomposition to a large extent on the premise of ensuring that the data used in the process of determining the recommended operating parameters is relatively comprehensive, thereby improving the efficiency of determining the recommended operating parameters.
示例的,假设多个隐变量的个数为3,则参见图6,电子设备采用矩阵分解算法对记录有多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比的评分矩阵进行处理后,可以得到图6所示的目标对象矩阵和目标参数矩阵。从图6可以看出,目标对象矩阵为N行3列的矩阵,目标参数矩阵为3行I列的矩阵。As an example, assuming that the number of multiple hidden variables is 3, see Figure 6, the electronic device adopts a matrix decomposition algorithm to record the first number of reference household device groups operating with each candidate operating parameter in the historical period. After processing the scoring matrix of the ratio, the target object matrix and target parameter matrix shown in Figure 6 can be obtained. It can be seen from FIG. 6 that the target object matrix is a matrix with N rows and 3 columns, and the target parameter matrix is a matrix with 3 rows and 1 column.
步骤205、基于多个参考家居设备组中目标家居设备组对多个候选运行参数的推荐分值,从多个候选运行参数中确定推荐分值最高的推荐运行参数。Step 205 , based on the recommendation scores of the target home appliance group among the plurality of reference home appliance groups for the candidate operating parameters, determine the recommended operating parameter with the highest recommended score among the plurality of candidate operating parameters.
其中,目标家居设备组中的第二家居设备所属对象的对象数据,与第一家居设备所属对象的对象数据的相似度大于相似度阈值。也即是,电子设备可以采用与第一家居设备所属对象的对象数据较为相似的参考家居设备组对多个候选运行参数的推荐分值,确定推荐运行参数。如此,可以确保确定的推荐运行参数较为适合第一家居设备所属对象,用户体验较好。Wherein, the similarity between the object data of the object to which the second household device belongs and the object data of the object to which the first household device belongs is greater than a similarity threshold in the target household device group. That is, the electronic device may determine the recommended operating parameters by using the recommended scores of the multiple candidate operating parameters for the reference household device group that is relatively similar to the object data of the object to which the first household device belongs. In this way, it can be ensured that the determined recommended operating parameters are more suitable for the object to which the first home device belongs, and the user experience is better.
可选的,电子设备可以对目标家居设备组对多个候选运行参数的推荐分值排序,从而确定推荐分值最高的候选运行参数。Optionally, the electronic device may sort the recommendation scores of multiple candidate operating parameters by the target household device group, so as to determine the candidate operating parameter with the highest recommended score.
在本申请实施例中,电子设备从多个参考家居设备组中确定目标家居设备组的方式可以有多种,本申请实施例以下述两种可选的实现方式为例,对电子设备确定目标家居设备组的实现过程进行示例性的说明。In the embodiment of the present application, there are many ways for the electronic device to determine the target household device group from multiple reference household device groups. The embodiment of the present application takes the following two optional implementation methods as examples to determine the target for the electronic device The implementation process of the household device group is described as an example.
在一种可选的实现方式中,电子设备可以对第一家居设备所属对象的对象数据和多个第二家居设备所属对象的对象数据进行聚类,得到多个第二对象簇。之后,电子设备可以从多个第一对象簇中确定目标对象簇,并将该目标对象簇的参考家居设备组确定为目标家居设备组。其中,目标对象簇与第一家居设备所属对象所在第二对象簇存在交集。In an optional implementation manner, the electronic device may cluster the object data of the object to which the first household device belongs and the object data of the objects to which multiple second household devices belong, to obtain multiple second object clusters. Afterwards, the electronic device may determine a target object cluster from the plurality of first object clusters, and determine a reference household device group of the target object cluster as the target household device group. Wherein, there is an intersection between the target object cluster and the second object cluster where the object to which the first home appliance belongs belongs.
在另一种可选的实现方式中,电子设备可以确定第一家居设备所属对象的对象数据,与多个第一对象簇中每个第一对象簇的簇中心的对象数据之间的相似度,并可以将相似度最高的对象簇确定为目标对象簇,继而可以将该目标对象簇的参考家居设备组确定为目标家居设备组。In another optional implementation manner, the electronic device may determine the similarity between the object data of the object to which the first household device belongs and the object data at the cluster center of each first object cluster in the plurality of first object clusters , and the object cluster with the highest similarity can be determined as the target object cluster, and then the reference household device group of the target object cluster can be determined as the target household device group.
在本申请实施例中,若电子设备为移动终端,则该电子设备在确定推荐运行参数后,可以显示该推荐运行参数,并可以在接收到用于指示控制第一家居设备以该推荐运行参数运行的运行指令后,控制第一家居设备以该推荐运行参数运行。例如,移动终端可以向第一家居设备发送运行指令,该运行指令可以携带推荐运行参数。第一家居设备接收到该运行指令后,即可响应于该运行指令,以推荐运行参数运行。In the embodiment of the present application, if the electronic device is a mobile terminal, after the electronic device determines the recommended operating parameters, it can display the recommended operating parameters, and can control the first household device with the recommended operating parameters after receiving an instruction to control the first household device. After the operating instruction is executed, the first household device is controlled to operate with the recommended operating parameters. For example, the mobile terminal may send an operating instruction to the first household device, and the operating instruction may carry recommended operating parameters. After receiving the operation instruction, the first household device can respond to the operation instruction and operate with the recommended operation parameters.
若电子设备为推荐服务器,则电子设备在确定推荐运行参数后,可以向移动终端发送该推荐运行参数,以供移动终端显示。之后,若移动终端接收到用于指示控制第一家居设备以该推荐运行参数运行的运行指令后,则可以控制第一家居设备以该推荐运行参数运行。If the electronic device is a recommendation server, after determining the recommended operating parameters, the electronic device may send the recommended operating parameters to the mobile terminal for display by the mobile terminal. Afterwards, if the mobile terminal receives an operation instruction for instructing to control the first household device to operate with the recommended operation parameter, it can control the first household device to operate with the recommended operation parameter.
上述实施例是以每个参考家居设备组包括多个第二家居设备为例进行的示例性说明。可以理解的是,每个参考家居设备组也可以包括一个第二家居设备,这种实现方式下,该参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比,即为该一个第二家居设备在该历史时段内,以该候选运行参数运行的次数的第二次数占比。The foregoing embodiment is an exemplary description by taking an example in which each reference household device group includes a plurality of second household devices. It can be understood that each reference household device group may also include a second household device. In this implementation, the reference household device group operates with each candidate operating parameter among multiple candidate operating parameters within a historical period. The first proportion of times is the second proportion of times that the second household device operates with the candidate operating parameters within the historical period.
需要说明的是,本申请实施例提供的家居设备的运行参数的推荐方法的步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减。例如,步骤202可以根据情况删除,即每个参考家居设备组包括一个第二家居设备。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。It should be noted that the order of the steps in the method for recommending the operating parameters of the household appliances provided in the embodiment of the present application can be adjusted appropriately, and the steps can also be increased or decreased accordingly according to the situation. For example, step 202 may be deleted according to circumstances, that is, each reference household device group includes a second household device. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes, which should be covered within the scope of protection of this application, and thus will not be repeated here.
综上所述,本申请实施例提供了一种家居设备的运行参数的推荐方法,电子设备在接收到针对第一家设备的运行参数的推荐请求后,能够基于多个参考家居设备组中每个参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比,确定各个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值,并基于该推荐分值确定推荐运行参数。由此可见,电子设备在确定针对第一家居设备的推荐运行参数时,考虑了各个参考家居设备组对各个候选运行参数的推荐分值,即在确定推荐运行参数时所采用的数据较为全面,因此可以确保确定的推荐运行参数的准确性高,且较为客观。To sum up, the embodiment of the present application provides a method for recommending operating parameters of home appliances. After the electronic device receives a recommendation request for operating parameters of the first home appliance, it can In the historical period, a reference household equipment group uses the proportion of the first number of times each candidate operating parameter operates among the multiple candidate operating parameters to determine that each reference household equipment group performs the operation of each candidate among the multiple candidate operating parameters. The recommended score of the parameter is determined, and the recommended operating parameters are determined based on the recommended score. It can be seen that when the electronic device determines the recommended operating parameters for the first home device, it considers the recommended scores of each reference home device group for each candidate operating parameter, that is, the data used when determining the recommended operating parameters is relatively comprehensive. Therefore, it can be ensured that the determined recommended operating parameters are highly accurate and relatively objective.
本申请实施例提供了一种家居设备的推荐方法,该方法应用于电子设备。该电子设备可以为带屏终端或服务器。该带屏终端是指具有显示屏的终端。该终端可以为移动终端、智能电视、具有显示屏的冰箱或空调等。参见图7,该方法包括:An embodiment of the present application provides a method for recommending household devices, and the method is applied to electronic devices. The electronic device may be a terminal with a screen or a server. The terminal with a screen refers to a terminal with a display screen. The terminal may be a mobile terminal, a smart TV, a refrigerator or an air conditioner with a display screen, and the like. Referring to Figure 7, the method includes:
步骤301、响应于针对第一家居系统启动目标家居场景时所需启动的家居设备的推荐请求,确定多个参考家居系统组。
其中,每个参考家居系统组均包括至少一个第二家居系统。第一家居系统和第二家居系统中的每个家居系统是指:由配置在该家居系统所属对象的家庭空间中的多个家居设备所组成的系统。Wherein, each reference home system group includes at least one second home system. Each home system in the first home system and the second home system refers to a system composed of multiple home devices configured in the home space of the object to which the home system belongs.
每个第二家居系统均能够启用目标家居场景,且每个第二家居系统包括适用于目标家居场景的多个候选家居设备中的至少两个候选家居设备。该多个候选家居设备为电子设备在执行步骤301之前确定的目标家居场景启用后能够启动的所有家居设备。Each second home system is capable of enabling a target home scene, and each second home system includes at least two candidate home devices among a plurality of candidate home devices suitable for the target home scene. The plurality of candidate home devices are all home devices that can be started by the electronic device after the target home scene determined before
每个参考家居系统组启用目标家居场景后,该参考家居系统组包括的至少两个候选家居设备即可自动启动,以为对象提供较为符合该对象的习惯的服务器。而无需该对象逐个控制,从而可以提升对象的用户体验。After each reference home system group activates the target home scene, at least two candidate home devices included in the reference home system group can be automatically activated to provide the subject with a server more in line with the subject's habits. There is no need to control the object one by one, so that the user experience of the object can be improved.
可以理解的是,对于每个参考家居系统组包括多个第二家居系统的实现方式,该多个第二家居系统中任意两个第二家居系统所属对象的对象数据的相似度大于相似度阈值。It can be understood that, for the realization that each reference home system group includes multiple second home systems, the similarity of object data of objects belonging to any two second home systems in the multiple second home systems is greater than the similarity threshold .
步骤302、对于每个参考家居系统组,获取该参考家居系统组在历史时段内启用目标家居场景时,多个候选家居设备中每个所述候选家居设备的启动次数的第三次数占比。Step 302 , for each reference home system group, obtain the third ratio of the startup times of each candidate home device among multiple candidate home devices when the reference home system group activates the target home scene in a historical period.
其中,历史时段可以是在家居设备推荐请求的接收时刻之前的指定时长的时段。例如,历史时段可以是距该接收时刻最近的一月,或者是距该接收时刻最近的半月。Wherein, the historical period may be a specified time period before the time when the household device recommendation request is received. For example, the historical time period may be the month closest to the receiving moment, or the half month closest to the receiving moment.
在本申请实施例中,一个家居系统在启用一个家居场景后,一般经常启用多个候选家居设备中的部分候选家居设备。若仅通过该家居系统在历史时段内启用目标家居场景时,该部分候选家居设备启动的次数的次数占比,确定针对推荐家居设备,则由于在确定推荐家居设备时所采用的数据较为片面,因此会导致确定的推荐家居设备的准确性较低。In the embodiment of the present application, after a home system activates a home scene, it usually activates some candidate home devices among multiple candidate home devices. If only the number of times that this part of the candidate household equipment is activated is determined based on the proportion of times when the household system activates the target household scene in the historical period, the recommended household equipment is determined, because the data used when determining the recommended household equipment is relatively one-sided, Therefore, the accuracy of the determined recommended home appliance may be lower.
基于此,本申请实施例提供的电子设备能够获取多个参考家居系统组中每个参考家居系统组在历史时段内启用目标家居场景时,该参考家居系统组包括的每个候选家居设备的启动次数的第三次数占比。多个参考家居系统启用目标家居场景时,启动的多个不同的家居设备的总数可以约等于多个候选家居设备的总数,即电子设备在确定推荐家居设备时所采用的数据较为全面,因此可以确保确定的推荐家居设备的准确性较高。Based on this, the electronic device provided by the embodiment of the present application can obtain the activation status of each candidate home device included in the reference home system group when each reference home system group activates the target home scene in the historical period. The proportion of the third times of times. When multiple reference home systems activate the target home scene, the total number of multiple different home devices activated can be approximately equal to the total number of multiple candidate home devices, that is, the data used by the electronic device when determining the recommended home device is relatively comprehensive, so it can Ensure that the accuracy of the identified recommended home devices is high.
步骤303、基于多个参考家居系统组启用所述目标家居场景时,多个候选家居设备的启动次数的第三次数占比,确定每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值。Step 303: Based on the ratio of the third number of startup times of multiple candidate home devices when multiple reference home system groups enable the target home scene, determine the contribution of each reference home system group to each of the multiple candidate home devices Recommended score for home equipment.
在本申请实施例中,电子设备可以采用协同过滤算法,处理多个候选家居设备中每个候选家居设备的启动次数的第三次数占比,从而得到每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值。In this embodiment of the application, the electronic device can use a collaborative filtering algorithm to process the third ratio of the startup times of each candidate home device among multiple candidate home devices, so as to obtain the ratio of each reference home system group to multiple candidate home devices. Recommendation score for each candidate home device in the device.
或者,多个参考家居系统组中的每个参考家居系统组在历史时段内启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比可以记录在评分矩阵中。电子设备可以采用矩阵分解算法处理该评分矩阵,从而得到每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值。Alternatively, when each reference home system group in multiple reference home system groups activates the target home scene in the historical period, the third ratio of the startup times of each candidate home device among the plurality of candidate home devices can be recorded in the score in the matrix. The electronic device may use a matrix decomposition algorithm to process the scoring matrix, so as to obtain a recommendation score for each candidate home device among the plurality of candidate home devices for each reference home system group.
步骤304、基于多个参考家居系统组中目标家居系统组对多个候选家居设备的推荐分值,从多个候选家居设备中确定推荐分值大于分值阈值的多个推荐家居设备。Step 304 : Based on the recommendation scores of the target home system group among the multiple reference home system groups for multiple candidate home devices, determine a plurality of recommended home devices whose recommended scores are greater than the score threshold from the plurality of candidate home devices.
其中,目标家居系统组中的第二家居系统所属对象的对象数据,与第一家居系统所属对象的对象数据的相似度大于相似度阈值。该多个推荐家居设备中任意两个推荐家居设备的类型不同。该分值阈值可以电子设备预先存储的,或者可以是电子设备基于多个推荐家居设备的个数,以及目标家居系统组对多个候选家居设备的推荐分值灵活确定的。Wherein, the similarity between the object data of the object belonging to the second home system in the target home system group and the object data of the object belonging to the first home system is greater than the similarity threshold. The types of any two recommended household devices among the plurality of recommended household devices are different. The score threshold may be pre-stored by the electronic device, or may be flexibly determined by the electronic device based on the number of multiple recommended home devices and the recommendation scores of the target home system group for multiple candidate home devices.
在本申请实施例中,若电子设备为带屏终端,则该电子设备在确定多个推荐家居设备后,可以显示该多个推荐家居设备的标识,并可以在接收到针对目标家居场景的启用指令后,启动该多个推荐家居设备。例如,带屏终端接收到该启用指令后,可以向该多个推荐家居设备中的每个推荐家居设备发送启动指令,以指示每个推荐家居设备启动。每个推荐家居设备的标识可以包括该推荐家居设备的类型和名称。In the embodiment of the present application, if the electronic device is a terminal with a screen, after the electronic device determines a plurality of recommended home devices, it can display the identifications of the recommended home devices, and can receive After the instruction, start the plurality of recommended household devices. For example, after receiving the enabling instruction, the terminal with a screen may send an activation instruction to each recommended household equipment among the plurality of recommended household equipment, so as to instruct each recommended household equipment to start. The identification of each recommended household device may include the type and name of the recommended household device.
可以理解的是,若第一家居系统包括多个推荐家居设备中的部分推荐家居设备,则带屏终端在接收到针对目标家居场景的启用指令后,可以启动该部分推荐家居设备。It can be understood that, if the first home system includes some recommended home devices among the plurality of recommended home devices, the terminal with a screen may activate the part of recommended home devices after receiving an enabling instruction for a target home scene.
若电子设备为推荐服务器,则电子设备在确定多个推荐家居设备后,可以向带屏终端发送该多个推荐家居设备的标识,以供带屏终端显示。带屏终端显示该多个推荐家居设备后,若接收到针对目标家居场景的启用指令,则可以启动该多个推荐家居设备。If the electronic device is a recommendation server, after determining a plurality of recommended home devices, the electronic device may send identifications of the plurality of recommended home devices to the terminal with screen for display by the terminal with screen. After the terminal with screen displays the multiple recommended home devices, if an activation instruction for the target home scene is received, the multiple recommended home devices can be activated.
综上所述,本申请实施例提供了一种家居设备的推荐方法,电子设备在接收到针对第一家居系统启用目标家居场景时所需启动的家居设备的推荐请求后,能够基于多个参考家居系统组在历史时段内启用目标家居场景后,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比,确定各个参考家居设备组对多个候选家居设备中每个候选家居设备的推荐分值,并基于该推荐分值确定多个推荐家居设备。由此可见,电子设备在确定推荐家居设备时,考虑了各个参考家居系统组对各个候选家居设备的推荐分值,即在确定推荐家居设备时所采用的数据较为全面,从而可以确保确定的推荐家居设备的准确性高,且较为客观。To sum up, the embodiment of the present application provides a home appliance recommendation method. After the electronic device receives a recommendation request for the home appliance that needs to be started when the first home system activates the target home scene, it can After the home system group enables the target home scene in the historical period, the proportion of the third number of startup times of each candidate home device among the multiple candidate home devices is determined, and the contribution of each reference home device group to each candidate among the multiple candidate home devices is determined. The recommended score of the household equipment is determined, and a plurality of recommended household equipment is determined based on the recommended score. It can be seen that when the electronic device determines the recommended home equipment, it takes into account the recommendation scores of each candidate home equipment by each reference home system group, that is, the data used when determining the recommended home equipment is relatively comprehensive, so that the definite recommendation can be ensured. The accuracy of household equipment is high and relatively objective.
本申请实施例以每个参考家居设备组包括多个第二家居系统为例,对本申请实施例提供的家居设备的推荐方法进行示例性的说明。该方法可以应用于电子设备,参见图7,该方法可以包括:In the embodiment of the present application, taking each reference household device group including multiple second household systems as an example, the method for recommending household devices provided in the embodiment of the present application is exemplarily described. The method can be applied to electronic equipment, see FIG. 7, the method can include:
步骤401、响应于针对第一家居系统启动目标家居场景时所需启动的家居设备的推荐请求,获取多个第二家居系统所属对象的对象数据。Step 401 , in response to a recommendation request for household devices that need to be activated when the first household system activates a target household scene, acquire object data of objects belonging to multiple second household systems.
其中,多个第二家居系统中的每个第二家居系统均能够启用目标家居场景。每个第二家居系统所属对象的对象数据可以包括:该对象的属性数据和/或对象所处地域的地域数据。该属性数据包括:对象的年龄和性别中的一种,该地域数据包括:地域的位置、温度和湿度的至少一种。Wherein, each second home system among the plurality of second home systems can enable a target home scene. The object data of the object to which each second home system belongs may include: attribute data of the object and/or region data of the region where the object is located. The attribute data includes: one of age and gender of the object, and the region data includes: at least one of location, temperature and humidity of the region.
例如,该对象数据可以包括该对象的属性数据和对象所处地域的地域数据。该属性数据包括对象的年龄和性别,该地域数据包括:地域的位置、湿度和温度。For example, the object data may include attribute data of the object and region data of the region where the object is located. The attribute data includes age and gender of the object, and the region data includes location, humidity and temperature of the region.
对于电子设备为带屏终端的实现方式,带屏终端的显示屏可以显示有针对目标家居场景的家居设备的设备推荐控件。针对第一家居系统启动目标家居场景时所需启动的家居设备的推荐请求,可以由针对该设备推荐控件的触控操作触发。并且,该种实现方式,移动终端获取多个第二家居系统所属对象的对象数据的过程,可以参考步骤201中移动终端获取多个第二家居设备所属对象的对象数据的实现过程,本申请实施例在此不再赘述。For an implementation in which the electronic device is a terminal with a screen, the display screen of the terminal with a screen may display device recommendation controls for home devices in a target home scene. The recommendation request for the home device that needs to be started when the first home system starts the target home scene may be triggered by a touch operation on the device recommendation control. In addition, in this implementation, the process for the mobile terminal to obtain object data of objects belonging to multiple second home devices can refer to the implementation process of the mobile terminal obtaining object data of objects belonging to multiple second home devices in step 201, the embodiment of the present application I won't repeat them here.
示例的,假设电子设备为移动终端,则参见图8,移动终端接收到针对其中安装的家居控制应用的应用标识的触控操作后,可以显示设备控制界面。该设备控制界面显示有第一选择控件01和第二选择控件02。然后,移动终端响应于针对第二选择控件02的触控操作,可以显示家居场景1至家居场景3等多个备选家居场景。For example, assuming that the electronic device is a mobile terminal, referring to FIG. 8 , the mobile terminal may display a device control interface after receiving a touch operation on the application identification of the home control application installed therein. The device control interface displays a
移动终端所属对象可以选择家居场景1。移动终端响应于针对家居场景1的选择操作,可以将该家居场景1作为目标家居场景,并可以显示家居场景1的场景界面。该场景界面显示有设备推荐控件04。The home scene 1 can be selected as the object to which the mobile terminal belongs. In response to the selection operation on the home scene 1, the mobile terminal may use the home scene 1 as a target home scene, and may display a scene interface of the home scene 1. The scene interface displays a
该对象可以触控该设备推荐控件04,相应的,移动终端可以接收到由针对设备推荐控件04的触控操作所触发的针对第一家居系统启用家居场景1时所需启动的家居设备的推荐请求。The object can touch the
对于电子设备为推荐服务器的实现方式,针对第一家居系统启用目标家居场景时所需启动的家居设备的推荐请求,可以是移动终端发送至推荐服务器的。例如,移动终端的显示屏可以显示有设备推荐控件,移动终端可以响应于对象针对该参数推荐控件的触控操作,向推荐服务器发送推荐请求。For the implementation of the electronic device as the recommendation server, the recommendation request for the home device that needs to be activated when the first home system activates the target home scene may be sent to the recommendation server by the mobile terminal. For example, the display screen of the mobile terminal may display a device recommendation control, and the mobile terminal may send a recommendation request to the recommendation server in response to an object's touch operation on the parameter recommendation control.
步骤402、基于多个第二家居系统所属对象的对象数据,对多个第二家居系统进行聚类,得到多个参考家居系统组。
其中,每个参考家居系统组包括的多个第二家居系统中,任意两个第二家居系统所属对象的对象数据的相似度大于相似度阈值。Among the plurality of second home systems included in each reference home system group, the similarity of object data of objects belonging to any two second home systems is greater than a similarity threshold.
可选的,步骤402的实现过程可以参考步骤202的实现过程,本申请实施例在此不再赘述。Optionally, for the implementation process of
步骤403、对于每个参考家居系统组,获取该参考家居系统组在历史时段内启动目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比。
其中,历史时段可以为在家居设备的推荐请求的接收时刻之前的指定时长的时段。例如,历史时段可以是距该接收时刻最近的一月,或者是距该接收时刻最近的半月。本申请实施例对该历史时段的时长不做限定。Wherein, the historical period may be a specified time period before the time when the recommendation request of the household device is received. For example, the historical time period may be the month closest to the receiving moment, or the half month closest to the receiving moment. The embodiment of the present application does not limit the duration of the historical period.
多个候选家居设备为适用于目标家居场景的家居设备,且该多个候选家居设备为电子设备在执行步骤403之前确定的目标家居场景启用后能够启动的所有家居设备。例如,假设目标家居场景为回家场景,多个候选家居设备可以包括:空调、照明灯、窗帘、电视、热水器和安防摄像头。The plurality of candidate home devices are home devices suitable for the target home scene, and the plurality of candidate home devices are all home devices that can be activated by the electronic device after the target home scene determined before
在本申请实施例中,参见图8,电子设备获取每个参考家居系统组在历史时段内启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比的过程可以包括:In the embodiment of the present application, referring to FIG. 8, the electronic device acquires the third proportion of the startup times of each candidate home device among multiple candidate home devices when each reference home system group activates the target home scene within the historical period. The process can include:
步骤4031、对于每个参考家居设备组,获取该参考家居设备组包括的多个第二家居系统中每个第二家居系统在历史时段内启用目标家居场景时,多个候选家居设备中的每个候选家居设备的启动次数的第四次数占比。Step 4031. For each reference home device group, obtain the number of each of the plurality of candidate home devices when each second home system in the plurality of second home systems included in the reference home device group activates the target home scene in the historical period. The fourth proportion of the activation times of a candidate household device.
在本申请实施例中,对于每个参考家居系统组中的每个第二家居系统,电子设备可以获取该第二家居系统在历史时段内启用目标家居场景时,适用于目标家居场景的多个候选家居设备中每个候选家居设备的启动次数。之后,对于每个候选家居设备,电子设备可以将该候选家居设备的启动次数,与多个候选家居设备的启动次数之和的比值,确定为该候选家居设备的第四次数占比。In the embodiment of the present application, for each second home system in each reference home system group, the electronic device can obtain multiple information applicable to the target home scene when the second home system activates the target home scene within a historical period. The number of launches for each candidate home device among the candidate home devices. Afterwards, for each candidate home device, the electronic device may determine the ratio of the start times of the candidate home device to the sum of the start times of multiple candidate home devices as the fourth proportion of the candidate home device.
例如,假设多个参考家居系统组的总数为M,M个参考家居系统组中的第m个参考家居系统组包括Qm个第二家居系统,适用于目标家居场景的多个候选家居设备的总数为J。则Qm个第二家居系统中的第qm个第二家居系统在历史时段内启用目标家居场景时,该J个候选家居设备中的第j个候选家居设备的启动次数的第四次数占比ejqp可以满足下述公式:For example, assuming that the total number of multiple reference home system groups is M, the m-th reference home system group in the M reference home system groups includes Q m second home systems, and is suitable for multiple candidate home devices in the target home scene. The total is J. Then when the qmth second home system among the Qm second home systems activates the target home scene in the historical period, the fourth number of startup times of the jth candidate home device among the J candidate home devices accounts for The ratio e jqp can satisfy the following formula:
公式(4)中,djqm为第qm个第二家居系统在历史时段内启动目标家居场景时,第j个候选家居设备的启动次数。j为大于等于1且小于等于J的整数,J为大于1的整数。In the formula (4), d jqm is the startup times of the j-th candidate home device when the q m -th second home system starts the target home scene in the historical period. j is an integer greater than or equal to 1 and less than or equal to J, and J is an integer greater than 1.
步骤4032、对于多个候选家居设备中的每个候选家居设备,基于多个第二家居系统在历史时段内启用目标家居场景时,该候选家居设备的第四次数占比的平均值,确定参考家居系统组在历史时段内启用目标家居场景时该候选家居设备的启动次数的第三次数占比。Step 4032: For each candidate home device among the plurality of candidate home devices, based on the average value of the fourth proportion of the candidate home device when multiple second home systems enable the target home scene in the historical period, determine the reference The proportion of the third number of startup times of the candidate home device when the home system group activates the target home scene in the historical period.
其中,该第三次数占比与该平均值正相关。例如,该第三次数占比即为该平均值。或者,该第三次数占比等于该平均值与该候选家居设备的关联系数的乘积。该关联系数是电子设备预先存储的,该关联系数基于该候选家居设备与目标家居场景的适配程度确定,且该适配程度正相关。Wherein, the proportion of the third time is positively correlated with the average value. For example, the proportion of the third time is the average value. Alternatively, the third proportion is equal to the product of the average value and the correlation coefficient of the candidate household device. The correlation coefficient is pre-stored by the electronic device, the correlation coefficient is determined based on the degree of adaptation between the candidate household device and the target household scene, and the degree of adaptation is positively correlated.
例如,M个参考家居系统组中的第m个参考家居系统组在历史时段内启用目标家居场景时,第j个候选家居设备的启动次数的第三次数占比gjm可以满足下述公式:For example, when the m-th reference home system group in the M reference home system groups activates the target home scene in the historical period, the third ratio gjm of the number of starts of the j-th candidate home device can satisfy the following formula:
公式(5)中,Pj为第j个候选家居设备的关联系数。q为大于等于1且小于等于Qm的整数,m为大于等于1且小于等于M的整数。Qm和M均为大于1的整数。In formula (5), P j is the correlation coefficient of the jth candidate household device. q is an integer greater than or equal to 1 and less than or equal to Q m , and m is an integer greater than or equal to 1 and less than or equal to M. Both Q m and M are integers greater than 1.
步骤404、基于多个参考家居系统组启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比,确定每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值。Step 404: Based on multiple reference home system groups enabling the target home scene, the ratio of the third number of start-up times of each candidate home device among the plurality of candidate home devices is determined, and the contribution of each reference home system group to the plurality of candidate home devices is determined. The recommendation score of each candidate home device in .
在本申请实施例中,多个参考家居系统组包括的每个候选家居设备的启动次数的第三次数占比可以记录在评分矩阵中。电子设备可以采用矩阵分解算法处理该评分矩阵,从而得到每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值。In the embodiment of the present application, the third ratio of the startup times of each candidate home device included in the plurality of reference home system groups may be recorded in the scoring matrix. The electronic device may use a matrix decomposition algorithm to process the scoring matrix, so as to obtain a recommendation score for each candidate home device among the plurality of candidate home devices for each reference home system group.
其中,电子设备采用矩阵分解算法处理该评分矩阵,以得到每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值的过程,可以参考步骤204中的相关实现过程,本申请实施例在此不再赘述。Wherein, the electronic device uses a matrix decomposition algorithm to process the scoring matrix to obtain the recommended score of each candidate home device for each reference home system group. You can refer to the relevant implementation process in step 204. The embodiment of the present application will not be repeated here.
步骤405、基于多个参考家居系统组中目标家居系统组对多个候选家居设备的推荐分值,从多个候选家居设备中确定推荐分值大于分值阈值的多个推荐家居设备。Step 405 : Based on the recommendation scores of the target home system group among the multiple reference home system groups for multiple candidate home devices, determine a plurality of recommended home devices whose recommended scores are greater than the score threshold from the plurality of candidate home devices.
其中,目标家居系统组中的第二家居系统所属对象的对象数据,与第一家居系统所属对象的对象数据的相似度大于相似度阈值。也即是,电子设备可以采用与第一家居系统所属对象的对象数据较为相似的参考家居系统组对多个候选家居设备的推荐分值,确定多个(例如5个)推荐家居设备。如此,可以确保确定的推荐家居设备较为适合第一家居系统所属的对象,用户体验较好。Wherein, the similarity between the object data of the object belonging to the second home system in the target home system group and the object data of the object belonging to the first home system is greater than the similarity threshold. That is to say, the electronic device may determine multiple (for example, 5) recommended home devices by using the recommendation scores of the reference home system group for multiple candidate home devices that are relatively similar to the object data of the object to which the first home system belongs. In this way, it can be ensured that the determined recommended home equipment is more suitable for the object belonging to the first home system, and the user experience is better.
可选的,电子设备确定目标家居系统组的过程,可以参考步骤205中电子设备确定目标家居设备组的相关实现过程,本申请实施例在此不再赘述。Optionally, for the process of determining the target home system group by the electronic device, reference may be made to the relevant implementation process of determining the target home device group by the electronic device in step 205, which will not be repeated in this embodiment of the present application.
在本申请实施例中,若电子设备为带屏终端,则该电子设备在确定多个推荐家居设备后,可以显示该多个推荐家居设备的标识(例如可以以列表的形式显示多个推荐家居设备的标识),并可以在接收到针对目标家居场景的启用指令后,启动该多个推荐家居设备。例如,带屏终端接收到该启用指令后,可以向该多个推荐家居设备中的每个推荐家居设备发送启动指令,以指示每个推荐家居设备启动,从而使得多个推荐家居设备联动启动。In the embodiment of the present application, if the electronic device is a terminal with a screen, after the electronic device determines a plurality of recommended home devices, it can display the identifications of the plurality of recommended home devices (for example, it can display multiple recommended home devices in the form of a list). identification of the device), and after receiving the activation instruction for the target home scene, start the multiple recommended home devices. For example, after receiving the activation instruction, the terminal with a screen may send an activation instruction to each recommended household equipment among the plurality of recommended household equipments, so as to instruct each recommended household equipment to be activated, so that multiple recommended household equipments are activated in a linked manner.
可以理解的是,若第一家居系统包括多个推荐家居设备中的部分推荐家居设备,则带屏终端在接收到针对目标家居场景的启用指令后,可以启动该部分推荐家居设备。It can be understood that, if the first home system includes some recommended home devices among the plurality of recommended home devices, the terminal with a screen may activate the part of recommended home devices after receiving an enabling instruction for a target home scene.
若电子设备为推荐服务器,则电子设备在确定多个推荐家居设备后,可以向带屏终端发送该多个推荐家居设备的标识,以供带屏终端显示。带屏终端显示该多个推荐家居设备后,若接收到针对目标家居场景的启用指令,则可以启动该多个推荐家居设备。If the electronic device is a recommendation server, after determining a plurality of recommended home devices, the electronic device may send identifications of the plurality of recommended home devices to the terminal with screen for display by the terminal with screen. After the terminal with screen displays the multiple recommended home devices, if an activation instruction for the target home scene is received, the multiple recommended home devices can be activated.
上述实施例是以每个参考家居系统组包括多个第二家居系统为例进行的示例性说明。可以理解的是,每个参考家居系统组也可以包括一个第二家居系统。The above-mentioned embodiment is an exemplary description based on an example in which each reference home system group includes a plurality of second home systems. It is understandable that each reference home system group may also include a second home system.
需要说明的是,本申请实施例提供的家居设备的运行参数的推荐方法的步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减。例如,步骤402可以根据情况删除,即每个参考家居系统组包括一个第二家居系统。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。It should be noted that the order of the steps in the method for recommending the operating parameters of the household appliances provided in the embodiment of the present application can be adjusted appropriately, and the steps can also be increased or decreased accordingly according to the situation. For example, step 402 may be deleted according to circumstances, that is, each reference home system group includes a second home system. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes, which should be covered within the scope of protection of this application, and thus will not be repeated here.
综上所述,本申请实施例提供了一种家居设备的推荐方法,电子设备在接收到针对第一家居系统启用目标家居场景时所需启动的家居设备的推荐请求后,能够基于多个参考家居系统组在历史时段内启用目标家居场景后,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比,确定各个参考家居设备组对多个候选家居设备中每个候选家居设备的推荐分值,并基于该推荐分值确定多个推荐家居设备。由此可见,电子设备在确定推荐家居设备时,考虑了各个参考家居系统组对各个候选家居设备的推荐分值,即在确定推荐家居设备时所采用的数据较为全面,从而可以确保确定的推荐家居设备的准确性高,且较为客观。To sum up, the embodiment of the present application provides a home appliance recommendation method. After the electronic device receives a recommendation request for the home appliance that needs to be started when the first home system activates the target home scene, it can After the home system group enables the target home scene in the historical period, the proportion of the third number of startup times of each candidate home device among the multiple candidate home devices is determined, and the contribution of each reference home device group to each candidate among the multiple candidate home devices is determined. The recommended score of the household equipment is determined, and a plurality of recommended household equipment is determined based on the recommended score. It can be seen that when the electronic device determines the recommended home equipment, it takes into account the recommendation scores of each candidate home equipment by each reference home system group, that is, the data used when determining the recommended home equipment is relatively comprehensive, so that the definite recommendation can be ensured. The accuracy of household equipment is high and relatively objective.
本申请实施例提供了一种电子设备,该电子设备可以执行上述方法实施例提供的一种家居设备的运行参数的推荐方法。参见图11,该电子设备110包括处理器1101,该处理器1101用于:An embodiment of the present application provides an electronic device, which can execute the method for recommending an operating parameter of a household device provided in the above method embodiment. Referring to FIG. 11, the
响应于针对第一家居设备的运行参数的推荐请求,确定多个参考家居设备组,每个参考家居设备组均包括与第一家居设备的类型相同的至少一个第二家居设备;Determining a plurality of sets of reference home appliances each including at least one second home appliance of the same type as the first home appliance in response to a recommendation request for operating parameters of the first home appliance;
对于每个参考家居设备组,获取参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比;For each reference household equipment group, obtain the proportion of the first number of times that the reference household equipment group operates with each candidate operating parameter among the plurality of candidate operating parameters in the historical period;
基于多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比,确定每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值;Based on the proportion of the number of first times that multiple reference household equipment groups operate with each candidate operating parameter in a historical period, determine the recommended score of each reference household equipment group for each candidate operating parameter among the multiple candidate operating parameters;
基于多个参考家居设备组中目标家居设备组对多个候选运行参数的推荐分值,从多个候选运行参数中确定推荐分值最高的推荐运行参数;Based on the recommendation scores of the target home appliance group in the plurality of reference home appliance groups for the plurality of candidate operating parameters, determine the recommended operating parameter with the highest recommendation score from the plurality of candidate operating parameters;
其中,目标家居设备组中的第二家居设备所属对象的对象数据,与第一家居设备所属对象的对象数据的相似度大于相似度阈值。Wherein, the similarity between the object data of the object to which the second household device belongs and the object data of the object to which the first household device belongs is greater than a similarity threshold in the target household device group.
可选的,多个参考家居设备组在历史时段内以各个候选运行参数运行的第一次数占比记录在评分矩阵中。该处理器1101用于:Optionally, the percentages of the first number of multiple reference household device groups operating with each candidate operating parameter within a historical period are recorded in the scoring matrix. The
采用矩阵分解算法处理评分矩阵,得到每个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值。A matrix decomposition algorithm is used to process the scoring matrix to obtain a recommended score for each candidate operating parameter among multiple candidate operating parameters for each reference household device group.
可选的,每个参考家居设备组包括多个第二家居设备,多个第二家居设备中任意两个第二家居设备所属对象的对象数据的相似度大于相似度阈值。Optionally, each reference household device group includes a plurality of second household devices, and the similarity of object data of objects to which any two second household devices belong in the plurality of second household devices is greater than a similarity threshold.
可选的,该处理器1101用于:Optionally, the
对于每个参考家居设备组,获取参考家居设备组中每个第二家居设备在历史时段内,以多个候选运行参数中每个候选运行参数运行的第二次数占比;For each reference household device group, obtain the ratio of the second number of times that each second household device in the reference household device group operates with each candidate operating parameter in a plurality of candidate operating parameters within a historical period;
对于多个候选运行参数中的每个候选运行参数,将参考家居设备组中的多个第二家居设备以候选运行参数运行的第二次数占比的平均值,确定为参考家居设备组以候选运行参数运行的第一次数占比。For each candidate operating parameter among the plurality of candidate operating parameters, the average value of the second times proportions of multiple second home appliances in the reference home appliance group operating with the candidate operating parameters is determined as the reference home appliance group candidate The proportion of the first number of running parameters.
可选的,该处理器1101用于:Optionally, the
获取多个第二家居设备所属对象的对象数据;Acquiring object data of objects to which multiple second home devices belong;
基于多个第二家居设备所属对象的对象数据,对多个第二家居设备进行聚类,得到多个参考家居设备组。Based on the object data of the objects to which the multiple second household devices belong, the multiple second household devices are clustered to obtain multiple reference household device groups.
可选的,对象数据包括:对象的属性数据和/或对象所处地域的地域数据;Optionally, the object data includes: attribute data of the object and/or regional data of the region where the object is located;
其中,属性数据包括:对象的年龄和性别中的一种,地域数据包括:地域的位置、温度和湿度的至少一种。Wherein, the attribute data includes: one of age and gender of the object, and the region data includes: at least one of location, temperature and humidity of the region.
综上所述,本申请实施例提供了一种电子设备,该电子设备在接收到针对第一家设备的运行参数的推荐请求后,能够基于多个参考家居设备组中每个参考家居设备组在历史时段内,以多个候选运行参数中每个候选运行参数运行的次数的第一次数占比,确定各个参考家居设备组对多个候选运行参数中每个候选运行参数的推荐分值,并基于该推荐分值确定推荐运行参数。由此可见,电子设备在确定针对第一家居设备的推荐运行参数时,考虑了各个参考家居设备组对各个候选运行参数的推荐分值,即在确定推荐运行参数时所采用的数据较为全面,因此可以确保确定的推荐运行参数的准确性高,且较为客观。To sum up, the embodiment of the present application provides an electronic device. After receiving the recommendation request for the operating parameters of the first device, the electronic device can In the historical period, using the proportion of the first number of times of each candidate operating parameter in the plurality of candidate operating parameters to determine the recommended score of each reference household device group for each candidate operating parameter in the plurality of candidate operating parameters , and determine the recommended operating parameters based on the recommended score. It can be seen that when the electronic device determines the recommended operating parameters for the first home device, it considers the recommended scores of each reference home device group for each candidate operating parameter, that is, the data used when determining the recommended operating parameters is relatively comprehensive. Therefore, it can be ensured that the determined recommended operating parameters are highly accurate and relatively objective.
本申请实施例提供了一种电子设备,该电子设备可以执行上述方法实施例提供的家居设备的推荐方法。参见图10,该电子设备110包括处理器1101,该处理器1101用于:An embodiment of the present application provides an electronic device, which can execute the method for recommending a home device provided in the above method embodiment. Referring to FIG. 10, the
响应于针对第一家居系统启动目标家居场景时所需启动的家居设备的推荐请求,确定多个参考家居系统组,其中,每个参考家居系统组均包括至少一个第二家居系统,每个第二家居系统均包括适用于目标家居场景的多个候选家居设备中的至少两个候选家居设备;In response to the recommendation request for the home equipment that needs to be started when the first home system starts the target home scene, a plurality of reference home system groups are determined, wherein each reference home system group includes at least one second home system, and each No. Both home systems include at least two candidate home devices among multiple candidate home devices applicable to the target home scene;
对于每个参考家居系统组,获取参考家居系统组在历史时段内启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比;For each reference home system group, when the reference home system group enables the target home scene in the historical period, the ratio of the third number of startup times of each candidate home device among the plurality of candidate home devices is obtained;
基于多个参考家居系统组启用目标家居场景时,多个候选家居设备的启动次数的第三次数占比,确定每个参考家居系统组对多个候选家居设备中每个候选家居设备的推荐分值;Based on the proportion of the third number of startup times of multiple candidate home devices when multiple reference home system groups enable the target home scene, determine the recommendation score of each reference home system group for each candidate home device among the plurality of candidate home devices. value;
基于多个参考家居系统组中目标家居系统组对多个候选家居设备的推荐分值,从多个候选家居设备中确定推荐分值大于分值阈值的多个推荐家居设备,其中目标家居系统组中的第二家居系统所属对象的对象数据,与第一家居系统所属对象的对象数据的相似度大于相似度阈值。Based on the recommendation scores of the target home system group in the multiple reference home system groups to multiple candidate home devices, determine a plurality of recommended home devices with a recommendation score greater than a score threshold from the plurality of candidate home devices, wherein the target home system group The similarity between the object data of the object belonging to the second home system and the object data of the object belonging to the first home system is greater than the similarity threshold.
可选的,参考家居系统组包括多个第二家居系统;对于每个参考家居系统组,获取参考家居系统组在历史时段内启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比,包括:Optionally, the reference home system group includes a plurality of second home systems; for each reference home system group, when the reference home system group enables the target home scene in the historical period, each candidate home device in the plurality of candidate home devices The third percentage of launches for , including:
对于每个参考家居系统组,获取参考家居系统组包括的多个第二家居系统中每个第二家居系统在历史时段内启用目标家居场景时,多个候选家居设备中每个候选家居设备的启动次数的第四次数占比;For each reference home system group, when each of the plurality of second home systems included in the reference home system group activates the target home scene in the historical period, the number of each candidate home device in the plurality of candidate home devices The fourth proportion of startup times;
对于多个候选家居设备中每个候选家居设备,基于多个第二家居系统在历史时段内启用目标家居场景时,候选家居设备的第四次数占比的平均值,确定参考家居系统组在历史时段内启用目标家居场景时候选家居设备的启动次数的第三次数占比。For each candidate home device among multiple candidate home devices, based on the average value of the fourth proportion of candidate home devices when multiple second home systems enable the target home scene in the historical period, determine the reference home system group in the history The proportion of the third number of startup times of the selected home device when the target home scene is enabled within the time period.
综上所述,本申请实施例提供了一种电子设备,该电子设备在接收到针对第一家居系统启用目标家居场景时所需启动的家居设备的推荐请求后,能够基于多个参考家居系统组在历史时段内启用目标家居场景后,多个候选家居设备中每个候选家居设备的启动次数的第三次数占比,确定各个参考家居设备组对多个候选家居设备中每个候选家居设备的推荐分值,并基于该推荐分值确定多个推荐家居设备。由此可见,电子设备在确定推荐家居设备时,考虑了各个参考家居系统组对各个候选家居设备的推荐分值,即在确定推荐家居设备时所采用的数据较为全面,从而可以确保确定的推荐家居设备的准确性高,且较为客观。To sum up, the embodiment of the present application provides an electronic device. After receiving a recommendation request for a home device that needs to be activated when the first home system activates the target home scene, the electronic device can After the group enables the target home scene in the historical period, the proportion of the third number of startup times of each candidate home device among multiple candidate home devices is determined, and the comparison between each reference home device group and each candidate home device among multiple candidate home devices is determined. , and determine a plurality of recommended home devices based on the recommendation score. It can be seen that when the electronic device determines the recommended home equipment, it takes into account the recommendation scores of each candidate home equipment by each reference home system group, that is, the data used when determining the recommended home equipment is relatively comprehensive, so that the definite recommendation can be ensured. The accuracy of household equipment is high and relatively objective.
如图10所示,该本申请实施例提供的电子设备110还可以包括:显示单元130、射频(radio frequency,RF)电路150、音频电路160、无线保真(wireless fidelity,Wi-Fi)模块170、蓝牙模块180、电源190和摄像头121等部件。As shown in FIG. 10 , the
其中,摄像头121可用于捕获静态图片或视频。物体通过镜头生成光学图片投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给处理器1101转换成数字图片信号。Wherein, the
处理器1101是电子设备110的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器140内的软件程序,以及调用存储在存储器140内的数据,执行电子设备110的各种功能和处理数据。在一些实施例中,处理器1101可包括一个或多个处理单元;处理器1101还可以集成应用处理器和基带处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器1101中。本申请中处理器1101可以运行操作系统和应用程序,可以控制用户界面显示,并可以实现本申请实施例提供的推荐方法(即家居设备的运行参数的推荐方法,或家居设备的推荐方法)。另外,处理器1101与输入单元和显示单元130耦接。The
显示单元130可用于接收输入的数字或字符信息,产生与电子设备110的用户设置以及功能控制有关的信号输入,可选的,显示单元130还可以用于显示由用户输入的信息或提供给用户的信息以及电子设备110的各种菜单的图形用户界面(graphical userinterface,GUI)。显示单元130可以包括设置在电子设备110正面的显示屏131。其中,显示屏131可以采用液晶显示器、发光二极管等形式来配置。显示单元130可以用于显示本申请中所述的各种图形用户界面。The
显示单元130包括:显示屏131和设置在电子设备110正面的触摸屏132。该显示屏131可以用于显示预览图片。触摸屏132可收集用户在其上或附近的触摸操作,例如点击按钮,拖动滚动框等。其中,触摸屏132可以覆盖在显示屏131之上,也可以将触摸屏132与显示屏131集成而实现电子设备110的输入和输出功能,集成后可以简称触摸显示屏。The
存储器140可用于存储软件程序及数据。处理器1101通过运行存储在存储器140的软件程序或数据,从而执行电子设备110的各种功能以及数据处理。存储器140可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。存储器140存储有使得电子设备110能运行的操作系统。本申请中存储器140可以存储操作系统及各种应用程序,还可以存储执行本申请实施例提供的推荐方法的代码。The
RF电路150可用于在收发信息或通话过程中信号的接收和发送,可以接收基站的下行数据后交给处理器1101处理;可以将上行数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。The
音频电路160、扬声器161、麦克风162可提供用户与电子设备110之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出。电子设备110还可配置音量按钮,用于调节声音信号的音量。另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路150以发送给比如另一终端,或者将音频数据输出至存储器140以便进一步处理。本申请中麦克风162可以获取用户的语音。The
Wi-Fi属于短距离无线传输技术,电子设备110可以通过Wi-Fi模块170帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。Wi-Fi is a short-distance wireless transmission technology. The
蓝牙模块180,用于通过蓝牙协议来与其他具有蓝牙模块的蓝牙设备进行信息交互。例如,电子设备110可以通过蓝牙模块180与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。The
电子设备110还包括给各个部件供电的电源190(比如电池)。电源可以通过电源管理系统与处理器1101逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗等功能。电子设备110还可配置有电源按钮,用于终端的开机和关机,以及锁屏等功能。The
电子设备110可以包括至少一种传感器1110,比如运动传感器11101、距离传感器11102和温度传感器11103。电子设备110还可配置有陀螺仪、气压计、湿度计、温度计和红外线传感器等其他传感器。The
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的移动终端和各器件的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the mobile terminal and each device described above can refer to the corresponding process in the foregoing method embodiment, and details are not repeated here.
图12是本申请实施例提供的移动终端的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行环境(android runtime,ART)和系统库,以及内核层。Fig. 12 is a block diagram of the software structure of the mobile terminal provided by the embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the android system is divided into four layers, from top to bottom are application program layer, application program framework layer, Android runtime environment (android runtime, ART) and system library, and kernel layer.
应用程序层可以包括一系列应用程序包。如图12所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application layer can consist of a series of application packages. As shown in FIG. 12, the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message. The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图12所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 12, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图片,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data can include video, pictures, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备110的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,通信终端振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the communication terminal, and flashing the indicator light, etc.
android runtime包括核心库和虚拟机。android runtime负责安卓系统的调度和管理。Android runtime includes core library and virtual machine. The android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:openGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (eg: openGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图片文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of various commonly used audio and video formats, as well as still picture files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图片渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
本申请实施例提供了一种电子设备,该移动终端可以包括存储器,处理器及存储在该存储器上并可在该处理器上运行的计算机程序,该处理器执行该计算机程序时实现如上述实施例提供的家居设备的运行参数的推荐方法(例如图1或图2所示的方法),或者实现如上述实施例提供的家居设备的推荐方法(例如图7或图8所示的方法)。An embodiment of the present application provides an electronic device. The mobile terminal may include a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the above implementation The method for recommending the operating parameters of the household equipment provided by the example (such as the method shown in FIG. 1 or FIG. 2 ), or implementing the method for recommending the household equipment provided in the above embodiment (such as the method shown in FIG. 7 or 8 ).
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,该计算机程序由处理器加载并执行以实现上述实施例提供的家居设备的运行参数的推荐方法(例如图1或图2所示的方法),或者实现如上述实施例提供的家居设备的推荐方法(例如图7或图8所示的方法)。An embodiment of the present application provides a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the method for recommending the operating parameters of household equipment provided in the above-mentioned embodiments (for example, the method shown in FIG. 1 or FIG. 2 ), or implement the method for recommending household devices as provided in the foregoing embodiments (for example, the method shown in FIG. 7 or FIG. 8 ).
本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述方法实施例提供的家居设备的运行参数的推荐方法(例如图1或图2所示的方法),或者上述实施例提供的家居设备的推荐方法(例如图7或图8所示的方法)。The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on the computer, the computer is made to execute the method for recommending the operating parameters of the household equipment provided by the above method embodiments (such as FIG. 1 or FIG. 2 The method shown in ), or the method for recommending home appliances provided in the above embodiments (for example, the method shown in FIG. 7 or FIG. 8 ).
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
应当理解的是,在本文中提及的“和/或”,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。并且,本申请中术语“至少一个”的含义是指一个或多个,本申请中术语“多个”的含义是指两个或两个以上。It should be understood that the "and/or" mentioned in this article means that there may be three relationships, for example, A and/or B may mean that A exists alone, A and B exist simultaneously, and B exists alone. situation. The character "/" generally indicates that the contextual objects are an "or" relationship. Moreover, the meaning of the term "at least one" in this application refers to one or more, and the meaning of the term "multiple" in this application refers to two or more.
本申请中术语“第一”“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”、“第n”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。例如,在不脱离各种所述示例的范围的情况下,第一家居设备可以被称为第二家居设备,并且类似地,第二家居设备可以被称为第一家居设备。In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution. For example, a first home device could be termed a second home device, and, similarly, a second home device could be termed a first home device, without departing from the scope of the various described examples.
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的对象数据都是在充分授权的情况下获取的。It should be noted that the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application, All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the object data involved in this application are all obtained under full authorization.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210946431.1A CN115268290A (en) | 2022-08-08 | 2022-08-08 | Recommendation method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210946431.1A CN115268290A (en) | 2022-08-08 | 2022-08-08 | Recommendation method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115268290A true CN115268290A (en) | 2022-11-01 |
Family
ID=83749467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210946431.1A Withdrawn CN115268290A (en) | 2022-08-08 | 2022-08-08 | Recommendation method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115268290A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116610040A (en) * | 2023-07-11 | 2023-08-18 | 江门市鸿裕达电机电器制造有限公司 | Intelligent household appliance control method, system and device based on Internet of things |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684524A (en) * | 2018-12-14 | 2019-04-26 | 惠州Tcl移动通信有限公司 | Using recommended method, device, storage medium and electronic equipment |
CN114079587A (en) * | 2020-08-19 | 2022-02-22 | 佛山市顺德区美的电热电器制造有限公司 | Parameter setting method of electrical equipment, storage medium, server and electrical equipment |
CN114117225A (en) * | 2021-11-29 | 2022-03-01 | 海信集团控股股份有限公司 | Book recommendation method and book recommendation equipment |
CN114462467A (en) * | 2021-12-13 | 2022-05-10 | 海信家电集团股份有限公司 | Recommendation method for air conditioner parameters and air conditioner |
CN114740746A (en) * | 2022-04-27 | 2022-07-12 | 青岛海信智慧生活科技股份有限公司 | Home scene recommendation method and device of home system |
-
2022
- 2022-08-08 CN CN202210946431.1A patent/CN115268290A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684524A (en) * | 2018-12-14 | 2019-04-26 | 惠州Tcl移动通信有限公司 | Using recommended method, device, storage medium and electronic equipment |
CN114079587A (en) * | 2020-08-19 | 2022-02-22 | 佛山市顺德区美的电热电器制造有限公司 | Parameter setting method of electrical equipment, storage medium, server and electrical equipment |
CN114117225A (en) * | 2021-11-29 | 2022-03-01 | 海信集团控股股份有限公司 | Book recommendation method and book recommendation equipment |
CN114462467A (en) * | 2021-12-13 | 2022-05-10 | 海信家电集团股份有限公司 | Recommendation method for air conditioner parameters and air conditioner |
CN114740746A (en) * | 2022-04-27 | 2022-07-12 | 青岛海信智慧生活科技股份有限公司 | Home scene recommendation method and device of home system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116610040A (en) * | 2023-07-11 | 2023-08-18 | 江门市鸿裕达电机电器制造有限公司 | Intelligent household appliance control method, system and device based on Internet of things |
CN116610040B (en) * | 2023-07-11 | 2023-12-05 | 江门市鸿裕达电机电器制造有限公司 | Intelligent household appliance control method, system and device based on Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110737840B (en) | Voice control method and display device | |
CN106030487B (en) | Method for controlling composition of screen and electronic device thereof | |
US10739958B2 (en) | Method and device for executing application using icon associated with application metadata | |
CN105634881B (en) | Application scene recommendation method and device | |
CN108475184A (en) | Electronic equipment and its apply data display method | |
CN110110262A (en) | Browser EMS memory management process, device and equipment | |
CN111225108A (en) | Communication terminal and card display method of negative screen interface | |
CN113391559A (en) | Smart home equipment control method and terminal equipment | |
CN111246299A (en) | Communication terminal and application management method | |
CN111857531A (en) | Mobile terminal and file display method thereof | |
CN115268290A (en) | Recommendation method and electronic device | |
CN113784186B (en) | Terminal device, server, and communication control method | |
CN114968031A (en) | A task management method and display device | |
CN111176766A (en) | Communication terminal and component display method | |
CN111984167B (en) | Quick naming method and display device | |
CN114063459B (en) | Terminal and intelligent home control method | |
CN113055585B (en) | Thumbnail display method of shooting interface and mobile terminal | |
CN113253905A (en) | Touch method based on multi-finger operation and intelligent terminal | |
CN114740746B (en) | Home scene recommendation method and device for home system | |
CN114915818B (en) | A method for pushing media assets and an intelligent terminal | |
CN111324255B (en) | Application processing method based on double-screen terminal and communication terminal | |
CN116955757A (en) | Search method, apparatus, device, medium and program product for switching application program | |
CN113542900B (en) | Media information display method and display equipment | |
CN117811947A (en) | Multi-equipment networking system, method and terminal equipment | |
WO2022242503A1 (en) | Screen projection method and related apparatus |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20221101 |