Movatterモバイル変換


[0]ホーム

URL:


CN106557039B - A kind of information recommendation method and electronic equipment - Google Patents

A kind of information recommendation method and electronic equipment
Download PDF

Info

Publication number
CN106557039B
CN106557039BCN201610987341.1ACN201610987341ACN106557039BCN 106557039 BCN106557039 BCN 106557039BCN 201610987341 ACN201610987341 ACN 201610987341ACN 106557039 BCN106557039 BCN 106557039B
Authority
CN
China
Prior art keywords
state
information
preset
working
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610987341.1A
Other languages
Chinese (zh)
Other versions
CN106557039A (en
Inventor
蔡胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co LtdfiledCriticalBeijing Anyun Century Technology Co Ltd
Priority to CN201610987341.1ApriorityCriticalpatent/CN106557039B/en
Publication of CN106557039ApublicationCriticalpatent/CN106557039A/en
Application grantedgrantedCritical
Publication of CN106557039BpublicationCriticalpatent/CN106557039B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention relates to computer field, a kind of information recommendation method and electronic equipment are disclosed, to solve the not accurate enough technical problem of the recommendation information generated in the prior art.This method comprises: obtaining the use state information of household electrical appliances;Use state information based on the household electrical appliances judges whether the household electrical appliances are in default use state, wherein the user of characterization of electronic equipment is in default operating condition if the household electrical appliances are in the default use state;If the household electrical appliances are in the default use state, recommendation information corresponding with the default operating condition is generated.The technical effect that can generate more accurate recommendation information is reached.

Description

Translated fromChinese
一种信息推荐方法及电子设备Information recommendation method and electronic device

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种信息推荐方法及电子设备。The invention relates to the field of computer technology, and in particular, to an information recommendation method and an electronic device.

背景技术Background technique

随着科学技术的不断发展,电子技术也得到了飞速的发展,电子产品的种类也越来越多,人们也享受到了科技发展带来的各种便利。现在人们可以通过各种类型的电子设备,享受随着科技发展带来的舒适生活。例如,智能手机、平板电脑等电子设备已经成为人们生活中一个重要的组成部分,用户可以使用智能手机、平板电脑等电子设备来听音乐、玩游戏等等,以减轻现代快节奏生活所带来的压力。With the continuous development of science and technology, electronic technology has also developed rapidly, and there are more and more types of electronic products. People also enjoy various conveniences brought by the development of science and technology. Now people can enjoy the comfortable life brought by the development of science and technology through various types of electronic devices. For example, electronic devices such as smart phones and tablet computers have become an important part of people's lives. Users can use electronic devices such as smart phones and tablet computers to listen to music, play games, etc., in order to alleviate the problems brought by modern fast-paced life. pressure.

通常情况下,电子设备上可以安装各种APP(Application:应用程序),用户可以通过使用各种APP来浏览各种文件,并且,现有技术中还可以对用户进行一些相关信息的推荐,例如:推荐新闻、推荐广告等等,现有技术中的推荐方式往往是系统随机选择新闻、广告进行推荐,或者是基于用户的历史浏览行为进行推荐,其存在着不够准确的技术问题。Usually, various APPs (Application: application programs) can be installed on the electronic device, and the user can browse various files by using various APPs, and in the prior art, some related information can also be recommended to the user, such as : recommending news, recommending advertisements, etc. The recommendation methods in the prior art are often that the system randomly selects news and advertisements for recommendation, or recommends based on the user's historical browsing behavior, which has technical problems of inaccuracy.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的信息推荐方法及电子设备。In view of the above problems, the present invention is proposed to provide an information recommendation method and electronic device that overcome the above problems or at least partially solve the above problems.

第一方面,本发明实施例提供一种信息推荐方法,包括:In a first aspect, an embodiment of the present invention provides an information recommendation method, including:

获得家电的使用状态信息;Obtain the usage status information of home appliances;

基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,其中,如果所述家电处于所述预设使用状态则表征电子设备的用户处于预设工作状态;Determine whether the home appliance is in a preset use state based on the use state information of the home appliance, wherein if the home appliance is in the preset use state, it means that the user of the electronic device is in a preset working state;

如果所述家电处于所述预设使用状态,产生与所述预设工作状态对应的推荐信息。If the home appliance is in the preset use state, generating recommendation information corresponding to the preset working state.

可选的,所述获得家电的使用状态信息,包括:Optionally, the obtaining the use status information of the home appliance includes:

接收所述家电在自身的状态发生变化时,发送至所述电子设备的所述使用状态信息;和/或,receiving the usage status information sent by the home appliance to the electronic device when its own status changes; and/or,

接收图像采集装置采集并发送至的所述家电的图像数据;通过所述图像数据确定出所述家电的使用状态信息。Receive the image data of the household appliance collected and sent by the image acquisition device; and determine the use status information of the household appliance through the image data.

可选的,所述家电的使用状态信息,包括:所述家电的开启状态;或者,所述家电的关闭状态。Optionally, the use state information of the home appliance includes: an on state of the home appliance; or, an off state of the home appliance.

可选的,如果所述家电为灯具,所述基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,包括:Optionally, if the home appliance is a lamp, determining whether the home appliance is in a preset use state based on the use state information of the home appliance includes:

基于所述使用状态信息判断所述灯具的工作时长是否大于预设时长。Based on the use state information, it is determined whether the working duration of the lamp is greater than a preset duration.

可选的,在所述基于所述家电的使用状态信息判断所述家电是否处于预设使用状态之前,所述方法还包括:Optionally, before judging whether the home appliance is in a preset use state based on the use state information of the home appliance, the method further includes:

获取当前时间信息;Get current time information;

从至少两种工作状态中确定出所述当前时间信息所对应的所述预设工作状态;determining the preset working state corresponding to the current time information from at least two working states;

判断所述家电是否为用于对所述预设工作状态进行判定的家电;judging whether the home appliance is a home appliance used to determine the preset working state;

若是,执行基于所述家电的使用状态信息判断所述家电是否处于预设使用状态的步骤。If so, execute the step of judging whether the home appliance is in a preset use state based on the use state information of the home appliance.

可选的,在获得家电的使用状态信息之前,所述方法还包括:Optionally, before obtaining the use state information of the home appliance, the method further includes:

获取当前时间信息;Get current time information;

判断所述当前时间信息是否属于所述预设工作状态所对应的时间信息;Judging whether the current time information belongs to the time information corresponding to the preset working state;

若是,执行获得家电的使用状态信息的操作。If so, perform the operation of obtaining the usage status information of the home appliance.

可选的,所述预设工作状态包括:清晨起床状态、准备睡眠状态、做饭状态中的至少一种状态。Optionally, the preset working state includes at least one of a state of getting up in the morning, a state of preparing for sleep, and a state of cooking.

可选的,所述通过所述电子设备产生与所述预设工作状态对应的推荐信息,包括:Optionally, generating the recommendation information corresponding to the preset working state by the electronic device includes:

基于工作状态与推荐信息的对应关系,获取与所述预设工作状态所对应的所述推荐信息。The recommendation information corresponding to the preset work state is acquired based on the corresponding relationship between the work state and the recommendation information.

可选的,所述工作状态与推荐信息的对应关系,包括:基于至少一个用户在各个工作状态下的历史操作记录所确定出的对应关系。Optionally, the corresponding relationship between the working state and the recommended information includes: a corresponding relationship determined based on the historical operation records of at least one user in each working state.

可选的,所述至少一个用户为至少一个采样用户,所述工作状态与推荐信息的对应关系为通用的工作状态与推荐信息的对应关系;或者,Optionally, the at least one user is at least one sampled user, and the corresponding relationship between the working state and the recommended information is a general corresponding relationship between the working state and the recommended information; or,

所述至少一个用户为所述电子设备的用户,所述工作状态与推荐信息的对应关系为提供给所述用户使用的工作状态与推荐信息的对应关系。The at least one user is a user of the electronic device, and the corresponding relationship between the working status and the recommended information is the corresponding relationship between the working status and the recommended information provided for the user to use.

可选的,所述工作状态与推荐信息的对应关系,包括:任一工作状态下的至少两种推荐信息、以及每种推荐信息的权重值;Optionally, the corresponding relationship between the working state and the recommended information includes: at least two kinds of recommended information in any working state, and a weight value of each recommended information;

所述产生与所述预设工作状态对应的推荐信息,包括:Described generating recommended information corresponding to described preset working state, including:

产生基于所述权重值排序之后的所述至少两种推荐信息。The at least two kinds of recommendation information sorted based on the weight value are generated.

可选的,产生与所述预设工作状态对应的推荐信息,包括:Optionally, generating recommendation information corresponding to the preset working state, including:

确定在所述预设工作状态下所述用户所使用的应用程序;向所述用户产生对所述应用程序进行推荐的推荐信息;和/或,determining the application program used by the user in the preset working state; generating recommendation information for recommending the application program to the user; and/or,

确定出在所述预设状态下所述用户的浏览内容;向所述用户产生与所述浏览内容存在关联的推荐信息。Determine the browsing content of the user in the preset state; and generate recommendation information associated with the browsing content to the user.

可选的,所述产生与所述预设工作状态对应的推荐信息,包括:Optionally, the generating recommendation information corresponding to the preset working state includes:

判断当前日期是否为工作日;Determine whether the current date is a working day;

如果所述当前日期为所述工作日,确定出在所述工作日与所述预设工作状态对应所述推荐信息;If the current date is the working day, determining that the recommended information corresponds to the preset working state on the working day;

如果所述当前日期为非工作日,确定出在所述非工作日与所述预设工作状态对应所述推荐信息。If the current date is a non-working day, it is determined that the recommended information corresponds to the preset working state on the non-working day.

第二方面,本发明实施例提供一种电子设备,包括:In a second aspect, an embodiment of the present invention provides an electronic device, including:

获得模块,用于获得家电的使用状态信息;The obtaining module is used to obtain the usage status information of the home appliance;

第一判断模块,用于基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,其中,如果所述家电处于所述预设使用状态则表征所述电子设备的用户处于预设工作状态;a first judgment module, configured to judge whether the home appliance is in a preset use state based on the use state information of the home appliance, wherein if the home appliance is in the preset use state, it indicates that the user of the electronic device is in a preset use state working status;

产生模块,用于如果所述家电处于所述预设使用状态,产生与所述预设工作状态对应的推荐信息。A generating module, configured to generate recommendation information corresponding to the preset working state if the home appliance is in the preset use state.

可选的,所述获得模块,用于:Optionally, the obtaining module is used for:

接收所述家电在自身的状态发生变化时,发送至所述电子设备的所述使用状态信息;和/或,receiving the usage status information sent by the home appliance to the electronic device when its own status changes; and/or,

接收图像采集装置采集并发送至的所述家电的图像数据;通过所述图像数据确定出所述家电的使用状态信息。Receive the image data of the household appliance collected and sent by the image acquisition device; and determine the use status information of the household appliance through the image data.

可选的,所述家电的使用状态信息,包括:所述家电的开启状态;或者,所述家电的关闭状态。Optionally, the use state information of the home appliance includes: an on state of the home appliance; or, an off state of the home appliance.

可选的,如果所述家电为灯具,所述第一判断模块,用于:Optionally, if the home appliance is a lamp, the first judgment module is configured to:

基于所述使用状态信息判断所述灯具的工作时长是否大于预设时长。Based on the use state information, it is determined whether the working duration of the lamp is greater than a preset duration.

可选的,所述电子设备还包括:Optionally, the electronic device further includes:

第一获取模块,用于获取当前时间信息;The first acquisition module is used to acquire current time information;

确定模块,用于从至少两种工作状态中确定出所述当前时间信息所对应的所述预设工作状态;a determining module, configured to determine the preset working state corresponding to the current time information from at least two working states;

第二判断模块,用于判断所述家电是否为用于对所述预设工作状态进行判定的家电;a second judging module, configured to judge whether the home appliance is a home appliance for judging the preset working state;

所述第一判断模块,用于若所述第二判断模块的判断结果为是,执行基于所述家电的使用状态信息判断所述家电是否处于预设使用状态的步骤。The first judgment module is configured to, if the judgment result of the second judgment module is yes, execute the step of judging whether the home appliance is in a preset use state based on the use state information of the home appliance.

可选的,所述电子设备还包括:Optionally, the electronic device further includes:

第二获取模块,用于获取当前时间信息;The second acquisition module is used to acquire current time information;

第三判断模块,用于判断所述当前时间信息是否属于所述预设工作状态所对应的时间信息;a third judging module, configured to judge whether the current time information belongs to the time information corresponding to the preset working state;

所述获得模块,用于若所述第三判断模块的判断结果为是,执行获得家电的使用状态信息的操作。The obtaining module is configured to execute the operation of obtaining the usage state information of the home appliance if the judgment result of the third judgment module is yes.

可选的,所述预设工作状态包括:清晨起床状态、准备睡眠状态、做饭状态中的至少一种状态。Optionally, the preset working state includes at least one of a state of getting up in the morning, a state of preparing for sleep, and a state of cooking.

可选的,所述产生模块,用于:Optionally, the generating module is used for:

基于工作状态与推荐信息的对应关系,获取与所述预设工作状态所对应的所述推荐信息。The recommendation information corresponding to the preset work state is acquired based on the corresponding relationship between the work state and the recommendation information.

可选的,所述工作状态与推荐信息的对应关系,包括:基于至少一个用户在各个工作状态下的历史操作记录所确定出的对应关系。Optionally, the corresponding relationship between the working state and the recommended information includes: a corresponding relationship determined based on the historical operation records of at least one user in each working state.

可选的,所述至少一个用户为至少一个采样用户,所述工作状态与推荐信息的对应关系为通用的工作状态与推荐信息的对应关系;或者,Optionally, the at least one user is at least one sampled user, and the corresponding relationship between the working state and the recommended information is a general corresponding relationship between the working state and the recommended information; or,

所述至少一个用户为所述电子设备的用户,所述工作状态与推荐信息的对应关系为提供给所述用户使用的工作状态与推荐信息的对应关系。The at least one user is a user of the electronic device, and the corresponding relationship between the working status and the recommended information is the corresponding relationship between the working status and the recommended information provided for the user to use.

可选的,所述工作状态与推荐信息的对应关系,包括:任一工作状态下的至少两种推荐信息、以及每种推荐信息的权重值;Optionally, the corresponding relationship between the working state and the recommended information includes: at least two kinds of recommended information in any working state, and a weight value of each recommended information;

所述产生模块,用于:产生基于所述权重值排序之后的所述至少两种推荐信息。The generating module is configured to: generate the at least two kinds of recommendation information after sorting based on the weight value.

可选的,所述产生模块,用于:Optionally, the generating module is used for:

确定在所述预设工作状态下所述用户所使用的应用程序;向所述用户产生对所述应用程序进行推荐的推荐信息;和/或,determining the application program used by the user in the preset working state; generating recommendation information for recommending the application program to the user; and/or,

确定出在所述预设状态下所述用户的浏览内容;向所述用户产生与所述浏览内容存在关联的推荐信息。Determine the browsing content of the user in the preset state; and generate recommendation information associated with the browsing content to the user.

可选的,所述产生模块,包括:Optionally, the generating module includes:

判断单元,用于判断当前日期是否为工作日;The judgment unit is used to judge whether the current date is a working day;

第一确定单元,用于如果所述当前日期为所述工作日,确定出在所述工作日与所述预设工作状态对应所述推荐信息;a first determining unit, configured to determine the recommendation information corresponding to the preset working state on the working day if the current date is the working day;

第二确定单元,用于如果所述当前日期为非工作日,确定出在所述非工作日与所述预设工作状态对应所述推荐信息。The second determining unit is configured to determine, if the current date is a non-working day, the recommendation information corresponding to the preset working state on the non-working day.

本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

由于在本发明实施例中,可以首先检测家电的使用状态信息,并且基于家电的使用状态信息判断家电是否处于预设使用状态,而家电的预设使用状态又对应用户的预设工作状态;在家电处于预设使用状态时,产生与预设工作状态对应的推荐信息,也就是所产生的推荐信息与用户的预设工作状态相关联,故而达到了所产生的推荐信息更加准确的技术效果,其更符合用户的需求。Because in the embodiment of the present invention, the use state information of the home appliance can be detected first, and based on the use state information of the home appliance, it is determined whether the home appliance is in the preset use state, and the preset use state of the home appliance corresponds to the user's preset work state; When the home appliance is in a preset state of use, recommendation information corresponding to the preset working state is generated, that is, the generated recommendation information is associated with the user's preset working state, so the technical effect that the generated recommendation information is more accurate is achieved. It is more in line with the needs of users.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了根据本发明一个实施例的信息推荐方法的流程图;FIG. 1 shows a flowchart of an information recommendation method according to an embodiment of the present invention;

图2示出了根据本发明另一个实施例的电子设备的结构图。FIG. 2 shows a structural diagram of an electronic device according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

本发明实施例提供了一种信息推荐方法及电子设备,用以解决现有技术中产生的推荐信息不够准确的技术问题。The embodiments of the present invention provide an information recommendation method and an electronic device, which are used to solve the technical problem that the recommendation information generated in the prior art is not accurate enough.

第一方面,本发明实施例提供一种信息推荐方法,请参考图1,包括:In a first aspect, an embodiment of the present invention provides an information recommendation method, please refer to FIG. 1 , including:

步骤S101:获得家电的使用状态信息;Step S101: obtaining the use status information of the home appliance;

步骤S102:基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,其中,如果所述家电处于所述预设使用状态则表征电子设备的用户处于预设工作状态;Step S102: judging whether the home appliance is in a preset use state based on the use state information of the home appliance, wherein if the home appliance is in the preset use state, it indicates that the user of the electronic device is in a preset working state;

步骤S103:如果所述家电处于所述预设使用状态,产生与所述预设工作状态对应的推荐信息。Step S103: If the home appliance is in the preset use state, generate recommendation information corresponding to the preset working state.

举例来说,该方案可以应用于具备信息推荐功能的电子设备,例如:手机、平板电脑、笔记本电脑、PC(personal computer:个人电脑)等等。For example, the solution can be applied to an electronic device with an information recommendation function, such as a mobile phone, a tablet computer, a notebook computer, a PC (personal computer: personal computer), and the like.

步骤S101中,家电可以为多种家电,例如:灯具(照明灯、小夜灯等等)、智能电视、电饭锅、洗衣机等等。其使用状态信息例如包括:开启状态、关闭状态、工作时长中的至少一种信息。In step S101, the home appliances may be various home appliances, such as lamps (lighting lamps, night lights, etc.), smart TVs, rice cookers, washing machines, and the like. The use state information thereof includes, for example, at least one type of information among the on state, the off state, and the working time.

在具体实施过程中,可以通过多种方式获得家电的使用状态信息,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In the specific implementation process, the use status information of the home appliance can be obtained in various ways, two of which are listed below for introduction. Of course, in the specific implementation process, it is not limited to the following two situations.

第一种,所述获得家电的使用状态信息,包括:接收所述家电在自身的状态发生变化时,发送至所述电子设备的所述使用状态信息。First, the obtaining the use status information of the household appliance includes: receiving the use status information sent to the electronic device when the status of the household appliance changes.

举例来说,预先可以建立家电与电子设备的数据连接,假设家电为家庭的照明灯,其通过智能开关控制其处于开启状态或者关闭状态,智能开关在检测到自身被触发(例如:由开启状态进入关闭状态、由关闭状态进入开启状态等等),就可以产生一使用状态信息,并将其发送至电子设备;又或者,假设家电为智能电视,其通过遥控器控制其处于开启状态或者关闭状态,在遥控器产生开启指令(或者关闭指令)之后,就可以产生一使用状态信息,并将其发送至电子设备,用于告知电子设备其处于开启状态(或者关闭状态)。For example, a data connection between a home appliance and an electronic device can be established in advance. Suppose the home appliance is a home lighting, which is controlled by a smart switch to be on or off, and the smart switch detects that it is triggered (for example, from the on state) Entering the off state, from the off state to the on state, etc.), a usage state information can be generated and sent to the electronic device; or, assuming that the home appliance is a smart TV, it is controlled by the remote control to be on or off. state, after the remote control generates an on command (or off command), a usage state information can be generated and sent to the electronic device to inform the electronic device that it is in the on state (or off state).

其中,如果所接收到的家电的使用状态信息为开启状态,并且在接收到该使用状态信息之后中途并未接收到其他使用状态信息,则可以通过当前时间减去该使用状态信息的接收时间来获得该家电的开启时长。Wherein, if the received use state information of the home appliance is in the on state, and no other use state information is received halfway after the use state information is received, the current time can be subtracted from the receiving time of the use state information. Gets how long the appliance has been turned on.

第二种,所述获得家电的使用状态信息,包括:所述获得家电的使用状态信息,包括:接收图像采集装置采集并发送至的所述家电的图像数据;通过所述图像数据确定出所述家电的使用状态信息。Second, the obtaining the use status information of the home appliance includes: the obtaining the use status information of the home appliance includes: receiving image data of the home appliance collected and sent by the image acquisition device; Describe the use status information of home appliances.

举例来说,该图像采集装置可以为电子设备上的图像采集装置、安装于室内用于监控的图像采集装置、或者安装于家电上的图像采集装置等等。图像采集装置可以每隔预设时间间隔(例如:10min、20min等等)或者基于电子设备的请求,采集家电的图像数据,并将该图像数据发送至电子设备;电子设备在接收到该图像数据之后,通过对图像数据进行分析,来确定出家电的使用状态信息。For example, the image capture device may be an image capture device on an electronic device, an image capture device installed indoors for monitoring, or an image capture device installed on a home appliance, and so on. The image acquisition device may collect image data of the home appliance at preset time intervals (for example: 10min, 20min, etc.) or based on the request of the electronic device, and send the image data to the electronic device; the electronic device receives the image data after receiving the image data. After that, by analyzing the image data, the usage status information of the home appliance is determined.

可以将采集获得家电的图像数据与家电处于开启状态(或者关闭状态)的图像样本进行匹配以确定家电是否处于开启状态(或者关闭状态);在确定家电处于开启状态之后,可以每隔预设时间(例如:30s、1min等等)重新采集该家电的图像数据并判断该家电是否开启状态,从而确定该家电的工作时长。The collected image data of the home appliance can be matched with the image samples in which the home appliance is on (or off) to determine whether the home appliance is on (or off); after it is determined that the home appliance is on, every preset time (For example: 30s, 1min, etc.) Re-collect the image data of the home appliance and determine whether the home appliance is on, so as to determine the working time of the home appliance.

在具体实施过程中,可以在多种时机获得家电的使用状态信息,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In the specific implementation process, the use status information of the home appliance can be obtained at various timings, two of which are listed below for introduction. Of course, in the specific implementation process, it is not limited to the following two situations.

第一种,在获得家电的使用状态信息之前,所述方法还包括:获取当前时间信息;判断所述当前时间信息是否属于所述预设工作状态所对应的时间信息;若是,执行获得家电的使用状态信息的操作。First, before obtaining the use state information of the home appliance, the method further includes: obtaining current time information; judging whether the current time information belongs to the time information corresponding to the preset working state; Actions that use state information.

举例来说,预设工作状态可以包含多种不同的工作状态,例如可以包含以下至少一种工作状态:①清晨起床状态,在这种情况下,通常家庭(例如:客厅、卧室、卫生间等等)的照明灯会处于开启状态,故而可以通过家庭的照明灯是否处于开启状态来判断用户是否处于清晨起床状态;②准备睡眠状态,在这种情况下,通常家庭的各种家电(例如:照明灯、智能电视、洗衣机等等)往往处于关闭状态,而小夜灯则可能处于开启状态,故而可以通过照明灯、智能电视、洗衣机是否处于关闭状态,或者小夜灯是否处于开启状态,来判断用户是否处于准备睡眠状态;③做饭状态,在这种情况下,通常厨房的家电(例如:微波炉、电饭锅等等)往往处于开启状态,故而可以通过厨房的家电是否处于开启状态来确定用户是否处于做饭状态等等。当然,还可以存在其他预设工作状态,本发明实施例不再详细列举,并且不作限制。For example, the preset working state may include a variety of different working states, for example, it may include at least one of the following working states: ① The state of getting up in the morning, in this case, usually a family (for example: living room, bedroom, bathroom, etc. ) lights will be on, so it can be judged whether the user is in the early morning state by whether the home lights are on; ② prepare to sleep, in this case, usually various household appliances (for example: lights , smart TV, washing machine, etc.) are often off, while the night light may be on, so you can judge whether the user is in a state by whether the lighting, smart TV, washing machine is off, or whether the night light is on Ready to sleep; ③ Cooking, in this case, the home appliances in the kitchen (such as microwave ovens, rice cookers, etc.) are usually in the open state, so it can be determined whether the user is in the open state by whether the kitchen appliances are in the open state. cooking status, etc. Certainly, other preset working states may also exist, which are not listed in detail in this embodiment of the present invention, and are not limited.

通常情况下,在不同的时间段,用户往往可能处于不同的工作状态,例如:6:00~9:00,用户可能处于清晨起床状态;11:00~13:00,用户可能处于做饭状态,21:30~24:00,用户可能处于准备睡眠状态,故而可以首先获得当前时间信息,然后判断当前时间信息是否处于预设工作状态所对应的时间信息,如果处于的话,则说明用户可能处于预设工作状态,在这种情况下,才需要获取家电的使用状态信息;而如果当前时间信息不处于预设工作状态所对应的时间信息,则说明用户不可能处于预设工作状态,在这种情况下,则不需要获取家电的使用状态信息。由于在该方案中,不需要随时获取家电的使用状态信息,故而能够降低数据传输负担,数据处理负担,并且也能够防止误触发。Usually, in different time periods, users may be in different working states. For example, from 6:00 to 9:00, the user may be in the state of getting up in the morning; from 11:00 to 13:00, the user may be in the state of cooking. , from 21:30 to 24:00, the user may be in a sleep-ready state, so you can first obtain the current time information, and then determine whether the current time information is in the time information corresponding to the preset working state. The preset working state, in this case, only the use state information of the home appliance needs to be obtained; and if the current time information is not in the time information corresponding to the preset working state, it means that the user cannot be in the preset working state. In this case, it is not necessary to obtain the usage status information of the home appliance. In this solution, it is not necessary to obtain the usage status information of the home appliance at any time, so the burden of data transmission and data processing can be reduced, and false triggering can also be prevented.

第二种,电子设备随时处于获得家电的使用状态信息的状态。Second, the electronic device is in a state of obtaining the use state information of the home appliance at any time.

举例来说,也就是家电在确定出自身的使用状态信息发生变化之后,可以随时将其发送至电子设备;或者,图像采集装置可以每隔预设时间间隔就采集家电的图像数据并将其发送至电子设备,由电子设备基于该图像数据确定出家电的使用状态信息。For example, after the home appliance determines that its own usage status information has changed, it can send it to the electronic device at any time; or, the image acquisition device can collect the image data of the home appliance at preset time intervals and send it. To the electronic device, the electronic device determines the use state information of the home appliance based on the image data.

基于家电的不同、预设工作状态不同,所对应的预设使用状态也不同,从而步骤S102中的判断过程也不同,例如:Based on different home appliances and different preset working states, the corresponding preset use states are also different, so the determination process in step S102 is also different, for example:

(1)所述基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,包括:基于所述使用状态信息判断所述家电是否处于所述开启状态。(1) Determining whether the home appliance is in the preset use state based on the use state information of the home appliance includes: judging whether the home appliance is in the on state based on the use state information.

举例来说,如果预设工作状态为清晨起床状态,则可以判断家庭的照明灯是否处于开启状态,如果家庭的照明灯处于开启状态,则说明用户处于清晨起床状态;如果预设工作状态为准备睡眠状态,则可以判断小夜灯是否处于开启状态,如果小夜灯处于开启状态,则说明用户处于准备睡眠状态;如果预设工作状态为做饭状态,则可以判断厨房的家电是否处于开启状态,如果厨房的家电处于开启状态,则说明用户处于做饭状态等等。For example, if the preset working state is the state of getting up in the morning, it can be determined whether the home lighting is on. If the home lighting is on, it means that the user is in the state of getting up in the morning; if the preset working state is ready Sleeping state, you can judge whether the night light is on, if the night light is on, it means the user is ready to sleep; if the preset working state is cooking state, you can judge whether the home appliances in the kitchen are on, if If the home appliances in the kitchen are in an on state, it means that the user is in a cooking state and so on.

在这种情况下,如果家电为灯具,作为一种可选的实施例,所述基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,还包括:基于所述使用状态信息判断所述灯具的工作时长是否大于预设时长。In this case, if the home appliance is a lamp, as an optional embodiment, determining whether the home appliance is in a preset use state based on the use state information of the home appliance further includes: based on the use state information It is judged whether the working duration of the lamp is greater than the preset duration.

举例来说,以家庭的照明灯处于开启状态为例,其可能是用户处于清晨起床状态,但是也可能用户只是上卫生间,故而为了减小误判断的可能性,可以进一步的判断灯具的工作时长是否大于预设时长,如果不大于,则说明用户可能只是临时使用照明灯,不能够基于此确定出用户处于清晨起床状态;而如果工作时长大于预设时长的话,则说明用户已起床的概率较高。该预设时长例如为:3min、5min等等。For example, taking the lighting of the home as an example, it may be that the user is getting up in the morning, but it is also possible that the user is only going to the bathroom. Therefore, in order to reduce the possibility of misjudgment, the working time of the lamp can be further judged. Whether it is longer than the preset time, if not, it means that the user may only use the lighting temporarily, and it cannot be determined that the user is in the early morning state of getting up; and if the working time is longer than the preset time, it means that the user has a higher probability of getting up. high. The preset duration is, for example, 3min, 5min, and so on.

(2)所述基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,包括:判断所述家电是否处于关闭状态。(2) The judging whether the home appliance is in a preset use state based on the use state information of the home appliance includes: judging whether the home appliance is in an off state.

举例来说,如果预设工作状态为准备睡眠状态,则可以判断家庭的照明灯(或者其他家电)是否处于关闭状态;如果处于关闭状态,则说明用户准备休息,故此处于准备睡眠状态。For example, if the preset working state is the ready-to-sleep state, it can be determined whether the home lighting (or other home appliances) is off; if it is off, it means that the user is ready to rest, and thus is in the ready-to-sleep state.

另外,在具体实施过程中,步骤S101中,电子设备还可以获得多种家电的使用状态信息,从而步骤S102中可以基于这多种家电的使用状态信息分别判断每种家电是否处于其对应的预设使用状态,从而基于判断结果总体确定用户是否处于预设工作状态。例如:如果预设工作状态为准备睡眠状态,则可以分别获取家庭的照明灯、小夜灯、智能电视的使用状态信息,然后分别判断照明灯是否处于关闭状态、小夜灯是否处于开启状态、智能电视是否处于关闭状态,在这三者完全满足的情况下,则说明用户处于准备睡眠状态。由于在该方案中,通过多种家电共同确定用户的工作状态,故而更加准确,能够减少误判断。In addition, in the specific implementation process, in step S101, the electronic device can also obtain the use status information of various household appliances, so in step S102, it can respectively judge whether each household appliance is in its corresponding pre-condition based on the use status information of these various household appliances. The use state is set, so as to determine whether the user is in the preset working state as a whole based on the judgment result. For example: if the preset working state is the ready-to-sleep state, you can obtain the use status information of the home lighting, night light, and smart TV, and then judge whether the lighting is off, whether the night light is on, and the smart TV. Whether it is in a closed state, and if these three are completely satisfied, it means that the user is in a sleep-ready state. Since in this solution, the working state of the user is jointly determined through a variety of home appliances, it is more accurate and can reduce misjudgment.

作为一种可选的实施例,在所述基于所述家电的使用状态信息判断所述家电是否处于预设使用状态之前,所述方法还包括:获取当前时间信息;从至少两种工作状态中确定出所述当前时间信息所对应的所述预设工作状态;判断所述家电是否为用于对所述预设工作状态进行判定的家电;若是,执行基于所述家电的使用状态信息判断所述家电是否处于预设使用状态的步骤。As an optional embodiment, before judging whether the home appliance is in a preset use state based on the use state information of the home appliance, the method further includes: acquiring current time information; selecting from at least two working states Determine the preset working state corresponding to the current time information; determine whether the home appliance is a home appliance used to determine the preset working state; if so, execute the judgment based on the use state information of the home appliance. Describe whether the home appliance is in the preset state of use.

举例来说,假设家电为家庭的照明灯,当前时间信息为:11:30,至少两种工作状态如表1所示:For example, assuming that the home appliance is a home lighting, the current time information is: 11:30, and at least two working states are shown in Table 1:

表1Table 1

工作状态working status时间信息time information家电home appliances6:00~9:006:00~9:00清晨起床状态Wake up in the morning家庭的照明灯home lighting11:00~13:0011:00~13:00做饭状态cooking state微波炉、电饭锅Microwave oven, rice cooker21:30~24:0021:30~24:00准备睡眠状态ready for sleep家庭的照明灯、小夜灯Home lighting, night light

其中,11:30所对应的工作状态为做饭状态,做饭状态所对应的家电为:微波炉、电饭锅,故而确定出照明灯并非用于对所述预设工作状态进行判定的家电,也就是说,该家电当前的使用状态并不会与用户的预设工作状态对应,因此不需要再进行后续判断;而如果该家电为用于对所述预设工作状态进行判定的家电,则说明该家电当前的使用状态与用户的预设工作状态对应,因此才需要进行后续判断,以确定是否产生对应的推荐信息。基于该方案,通常能够防止误判断,从而防止产生不准确的推荐信息,例如:在11:30,家庭的照明灯也可能处于开启状态,但是现在已经并非清晨,所以基于清晨起床状态向用户产生的推荐信息可能并不适用于当前时间。Among them, the working state corresponding to 11:30 is the cooking state, and the home appliances corresponding to the cooking state are microwave ovens and rice cookers. Therefore, it is determined that the lighting lamp is not a home appliance used for judging the preset working state. That is to say, the current state of use of the home appliance does not correspond to the user's preset working state, so subsequent judgment is not required; and if the home appliance is used for judging the preset working state, then It is indicated that the current use state of the home appliance corresponds to the user's preset working state, so subsequent judgment is required to determine whether corresponding recommendation information is generated. Based on this solution, misjudgment can usually be prevented, thereby preventing inaccurate recommendation information from being generated. For example, at 11:30, the lights of the family may also be turned on, but it is not early in the morning, so based on the state of getting up in the morning, the user will be sent to the user. 's recommendations may not be applicable at the current time.

步骤S103中,可以通过多种方式产生推荐信息,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In step S103, the recommendation information can be generated in various ways, two of which are listed below for introduction. Of course, in the specific implementation process, it is not limited to the following two situations.

第一种,所述通过所述电子设备产生与所述预设工作状态对应的推荐信息,包括:基于工作状态与推荐信息的对应关系,获取与所述预设工作状态所对应的所述推荐信息。First, generating the recommendation information corresponding to the preset working state by the electronic device includes: acquiring the recommendation corresponding to the preset working state based on the corresponding relationship between the working state and the recommendation information information.

举例来说,针对不同的工作状态可以设置不同的推荐信息,例如表2所示:For example, different recommended information can be set for different working states, as shown in Table 2:

表2Table 2

工作状态working status推荐信息Recommended information清晨起床状态Wake up in the morning天气预报、娱乐新闻、工作计划Weather forecast, entertainment news, job plan做饭状态cooking state菜谱menu准备睡眠状态ready for sleep小说、新闻novels, news

在确定出家电处于预设使用状态(例如:照明灯处于开启状态)之后,就可以确定出用户的预设工作状态(例如:清晨起床状态),从而基于该对应关系产生与该预设工作状态对应的推荐信息,例如:天气预报、娱乐新闻、工作计划等等。After it is determined that the home appliance is in the preset use state (for example, the lighting is on), the user's preset working state (for example, the state of getting up in the morning) can be determined, and the preset working state is generated based on the corresponding relationship. Corresponding recommendation information, such as weather forecast, entertainment news, work plan, etc.

在具体实施过程中,所述工作状态与推荐信息的对应关系包括:基于至少一个用户在各个工作状态下的历史操作记录所确定出的对应关系。该对应关系可以由电子设备确定,也可以服务器确定,然后将其发送至电子设备。其中,服务器(或者电子设备)可以通过以下步骤确定出工作状态与推荐信息的对应关系:获得至少一个用户在各个工作状态下的历史操作记录;对每个工作状态下的所述历史操作记录进行分析,从而确定在对应工作状态下的推荐信息,进而建立所述工作状态与推荐信息的对应关系。In a specific implementation process, the corresponding relationship between the working state and the recommended information includes: a corresponding relationship determined based on the historical operation records of at least one user in each working state. The corresponding relationship can be determined by the electronic device, or determined by the server, and then sent to the electronic device. Wherein, the server (or electronic device) can determine the corresponding relationship between the working state and the recommended information through the following steps: obtaining the historical operation records of at least one user in each working state; Analysis is performed to determine the recommended information in the corresponding working state, and then the corresponding relationship between the working state and the recommended information is established.

举例来说,该推荐信息可以为针对APP的推荐、针对浏览内容的推荐、针对这两者的组合推荐等等。至少一个用户可以为至少一个采样用户、或者当前电子设备的用户,该历史操作记录例如包括:历史浏览记录(针对被浏览内容)、历史使用记录(针对APP)、历史收藏记录等等;以推荐信息为APP为例,针对某个工作状态,可以获取该工作状态下至少一个用户所使用过的所有APP,然后基于至少一个用户所使用的所有APP,确定出每个APP的被使用次数,从而确定出被使用次数大于预设次数(例如:100、200等等)或者被使用次数从高到低排序位于前预设位(例如:2、3等等)的APP作为该工作状态下推荐信息所包含的APP;以推荐信息为浏览内容为例,针对某个工作状态,可以获取该工作状态下至少一个用户所浏览过的所有历史浏览内容,然后将所有历史浏览记录划分为多个类别,确定出每个类别下的历史浏览记录的数量,进而获取历史浏览记录的数量大于预设数量(例如:500、1000等等)或者历史浏览记录的数量从高到低排序位于前预设位(例如:2、3等等)的类别作为该工作状态所对应的类别,最终获取该类别下的浏览内容作为推荐信息等等。For example, the recommendation information may be a recommendation for an APP, a recommendation for browsing content, a combined recommendation for the two, and so on. At least one user may be at least one sample user, or a user of the current electronic device, and the historical operation records include, for example, historical browsing records (for browsed content), historical usage records (for APPs), historical favorite records, etc.; Taking the information as an APP as an example, for a certain working state, you can obtain all the APPs used by at least one user in the working state, and then determine the number of times each APP has been used based on all the APPs used by at least one user, thereby It is determined that the number of times of use is greater than the preset number of times (for example: 100, 200, etc.) or the number of times of use is ranked from high to low in the first preset position (for example: 2, 3, etc.) APP as the recommended information in this working state The included APP; taking the recommended information as the browsing content as an example, for a certain working state, you can obtain all the historical browsing content browsed by at least one user in the working state, and then divide all the historical browsing records into multiple categories. Determine the number of historical browsing records under each category, and then obtain that the number of historical browsing records is greater than the preset number (for example: 500, 1000, etc.) or the number of historical browsing records is sorted from high to low in the first preset position ( For example, the category of 2, 3, etc.) is used as the category corresponding to the working state, and finally the browsing content under this category is obtained as recommended information and so on.

其中,如果所述至少一个用户为至少一个采样用户,则所述工作状态与推荐信息的对应关系为通用的工作状态与推荐信息的对应关系,在这种情况下,并不需要为每个用户都配置工作状态与推荐信息的对应关系,故而能够降低设备的处理负担。如果所述至少一个用户为所述电子设备的用户,则所述工作状态与推荐信息的对应关系为提供给所述用户使用的工作状态与推荐信息的对应关系,在这种情况下,针对每个用户都分别基于其自身的历史操作记录确定出更加具有针对性的工作状态与推荐信息的对应关系,故而最终所提供的推荐信息更加准确。Wherein, if the at least one user is at least one sampled user, the corresponding relationship between the working state and the recommended information is a general corresponding relationship between the working state and the recommended information. In this case, it is not necessary for each user The corresponding relationship between the working state and the recommendation information is configured in each case, so that the processing load of the device can be reduced. If the at least one user is a user of the electronic device, the corresponding relationship between the working state and the recommended information is the corresponding relationship between the working state and the recommended information provided for the user to use. In this case, for each Each user determines a more targeted correspondence between the work status and the recommended information based on their own historical operation records, so the final recommended information is more accurate.

在具体实施过程中,该对应关系中每种工作状态下可以包含一种推荐信息,也可以包含多种推荐信息,在包含多种推荐信息的情况下,可以将这多种推荐信息随机排序之后提供给用户。而为了使产生的推荐信息更符合用户的使用习惯,所述对应关系包括:任一工作状态下的至少两种推荐信息、以及每种推荐信息的权重值,在这种情况下,可以通过以下步骤确定出该对应关系:对每个工作状态下的所述历史操作记录进行分析,确定出在对应工作状态下的的至少两种推荐信息、以及每种推荐信息的权重值;建立用于关联每种工作状态及其包含的至少两种推荐信息、以及每种推荐信息的权重值的所述对应关系。In the specific implementation process, each working state in the corresponding relationship may contain one type of recommendation information, or may contain multiple types of recommendation information. In the case of multiple types of recommendation information, the multiple types of recommendation information may be randomly sorted after available to users. In order to make the generated recommended information more in line with the user's usage habits, the corresponding relationship includes: at least two kinds of recommended information in any working state, and the weight value of each recommended information. In this case, the following Steps to determine the corresponding relationship: analyze the historical operation records under each working state, determine at least two kinds of recommended information under the corresponding working state, and the weight value of each kind of recommended information; Each working state, at least two kinds of recommended information contained therein, and the corresponding relationship of the weight value of each recommended information.

举例来说,以推荐信息为APP为例,可以基于每个APP的被使用次数、使用总时长确定出该APP的权重值,例如:针对被使用次数设置一个次数权重值,针对使用时长设置一个时长权重值,然后通过被使用次数*次数权重值+使用时长*时长权重值就可以获得该APP作为推荐信息的权重值;以推荐信息为浏览内容为例,针对每个类别,可以分别确定出该类别的浏览内容的数量、以及被浏览次数,然后针对数量设置数量权重值、针对浏览次数设置浏览权重值,通过数量*数量权重值+浏览次数*次数权重值从而获得该类别的浏览内容作为推荐信息的权重值;又或者,可以确定出在对应工作状态下,针对用户提供多类推荐信息时,用户首次操作的推荐信息,进而确定出每类推荐信息被用户首次操作的次数,将被用户首次操作的次数作为其权重值等等。当然还可以通过其他方式确定出每个推荐信息的权重值,本发明实施例不再详细列举,并且不作限制。For example, taking the recommendation information as an APP as an example, the weight value of each APP can be determined based on the number of times of use and the total use time of each APP. The duration weight value, and then the weight value of the APP as the recommended information can be obtained by the number of times of use * the weight value of the number of times + the duration of use * the weight value of the duration; taking the recommended information as the browsing content as an example, for each category, it can be determined separately. The number of browsing content of this category, and the number of times it is viewed, then set the number weight value for the number and the browsing weight value for the number of views, and obtain the browsing content of this category as The weight value of the recommended information; or, it can determine the recommended information that the user operates for the first time when multiple types of recommended information are provided to the user in the corresponding working state, and then determine the number of times each type of recommended information is operated by the user for the first time, which will be The number of times the user operates for the first time as its weight value and so on. Of course, the weight value of each recommendation information may also be determined in other ways, which are not listed in detail in this embodiment of the present invention, and are not limited.

所述通过所述电子设备输出与所述预设工作状态对应的推荐信息,包括:通过所述电子设备输出基于所述权重值排序之后的所述至少两种推荐信息。The outputting, through the electronic device, the recommendation information corresponding to the preset working state includes: outputting, through the electronic device, the at least two types of recommendation information sorted based on the weight value.

举例来说,假设预设工作状态为清晨起床状态,其对应的推荐信息包括:天气预报、娱乐新闻、工作计划,通常情况下,用户往往最先浏览工作计划、接着浏览天气预报、最后浏览娱乐新闻,故而工作计划的权重值最高、天气预报的权重值其次、娱乐新闻的权重值最后,因此在产生推荐信息时,可以在电子设备的显示界面上显示三个显示框,由上至下分别显示工作计划、天气预报、娱乐新闻;又或者,可以在电子设备的显示界面上显示工作计划的内容,同时依次显示天气预报和娱乐新闻的切换按钮,由用户自行选择切换至哪种推荐信息。For example, assuming that the default work state is the state of getting up in the morning, the corresponding recommended information includes: weather forecast, entertainment news, and work plan. Under normal circumstances, users tend to browse the work plan first, then browse the weather forecast, and finally browse the entertainment. News, so the weight value of the work plan is the highest, the weight value of the weather forecast is the second, and the weight value of the entertainment news is the last. Therefore, when the recommendation information is generated, three display boxes can be displayed on the display interface of the electronic device, from top to bottom respectively. Display the work plan, weather forecast, and entertainment news; or, the content of the work plan can be displayed on the display interface of the electronic device, and the switching buttons of the weather forecast and entertainment news are displayed in sequence, and the user can choose which recommended information to switch to.

由于在上述方案中,可以产生多种推荐信息,并且将这多种推荐信息基于权重值进行排序之后提供给用户,故而所提供的推荐信息更加全面,也比较准确。Since in the above solution, multiple kinds of recommendation information can be generated, and the multiple kinds of recommendation information can be sorted based on the weight value and then provided to the user, so the provided recommendation information is more comprehensive and accurate.

在具体实施过程中,针对一种工作状态,其所对应的推荐信息可以为固定的推荐信息,而为了进一步的实现更加准确的推荐,所述产生与所述预设工作状态对应的推荐信息,包括:判断当前日期是否为工作日;如果所述当前日期为所述工作日,确定出在所述工作日与所述预设工作状态对应所述推荐信息;如果所述当前日期为非工作日,确定出在所述非工作日与所述预设工作状态对应所述推荐信息。In the specific implementation process, for a working state, the corresponding recommendation information may be fixed recommendation information, and in order to further realize a more accurate recommendation, the generating recommendation information corresponding to the preset working state, Including: judging whether the current date is a working day; if the current date is the working day, determining that the recommended information corresponds to the preset working state on the working day; if the current date is a non-working day , and it is determined that the recommendation information corresponds to the preset working state on the non-working day.

举例来说,通常情况下,用户在工作日与非工作日可能关注的重点并不相同,例如:用户在工作日可能会比较关注工作计划、天气预报,用户在非工作日则可能比较关注娱乐新闻等等,故而可以基于当前日期是否为工作日产生更加准确的信息推荐。For example, under normal circumstances, users may focus on different priorities during working days and non-working days. For example, users may pay more attention to work plans and weather forecasts during working days, and users may focus more on entertainment during non-working days. News, etc., so more accurate information recommendations can be generated based on whether the current date is a working day.

其中,可以针对工作日设置包含工作状态与推荐信息的第一对应关系,针对非工作日设置包含工作状态与推荐信息的第二对应关系,如果当前日期为工作日,则从第一对应关系中基于预设工作状态查找获得对应的推荐信息,如果当前日期为非工作日,则从第二对应关系基于预设工作状态查找获得对应的推荐信息;又或者,可以在工作状态与推荐信息的对应关系中同时设置工作日与非工作日的推荐信息,首先确定出预设工作状态下的所有推荐信息,然后通过是否工作日在所有推荐信息中查找获得对应的推荐信息。Among them, a first correspondence relationship including work status and recommendation information may be set for working days, and a second correspondence relationship including work status and recommendation information may be set for non-working days. If the current date is a working day, the first correspondence relationship Search and obtain the corresponding recommendation information based on the preset work status, and if the current date is not a working day, search and obtain the corresponding recommendation information based on the preset work status from the second correspondence; In the relationship, the recommendation information of working days and non-working days is set at the same time. First, all the recommended information in the preset working state are determined, and then the corresponding recommendation information is obtained by searching all the recommended information through whether it is a working day or not.

第二种,所述通过所述电子设备产生与所述预设工作状态对应的推荐信息,包括:确定出在所述预设工作状态下,用户的历史操作记录;基于所述历史操作记录确定出所述推荐信息。In the second type, the generating recommendation information corresponding to the preset working state by the electronic device includes: determining the user's historical operation records in the preset working state; determining based on the historical operation records out the recommended information.

举例来说,用户在电子设备上的历史操作记录往往会存在缓存数据,可以基于缓存数据可以获取用户以往操作频率较高的APP,可以将这些操作频率较高的APP作为推荐信息,基于缓存数据也可以获取用户以往浏览频率较高的类别,可以获取这些类别下的浏览内容作为推荐信息等等。For example, there is often cached data in the user's historical operation records on electronic devices. Based on the cached data, the APPs that have been operated frequently by the user in the past can be obtained, and these APPs with higher operating frequencies can be used as recommendation information. It is also possible to obtain categories that the user has browsed frequently in the past, and to obtain the browsing content under these categories as recommendation information, and so on.

第二方面,基于同一发明构思,本发明实施例提供一种电子设备,请参考图2,包括:In the second aspect, based on the same inventive concept, an embodiment of the present invention provides an electronic device, please refer to FIG. 2 , including:

获得模块20,用于获得家电的使用状态信息;an obtaining module 20 for obtaining the use status information of the home appliance;

第一判断模块21,用于基于所述家电的使用状态信息判断所述家电是否处于预设使用状态,其中,如果所述家电处于所述预设使用状态则表征所述电子设备的用户处于预设工作状态;The first judgment module 21 is configured to judge whether the home appliance is in the preset use state based on the use state information of the home appliance, wherein if the home appliance is in the preset use state, it indicates that the user of the electronic device is in the preset use state. set working status;

产生模块22,用于如果所述家电处于所述预设使用状态,产生与所述预设工作状态对应的推荐信息。The generating module 22 is configured to generate recommendation information corresponding to the preset working state if the home appliance is in the preset use state.

可选的,所述获得模块20,用于:接收所述家电在自身的状态发生变化时,发送至所述电子设备的所述使用状态信息;和/或,接收图像采集装置采集并发送至的所述家电的图像数据;通过所述图像数据确定出所述家电的使用状态信息。Optionally, the obtaining module 20 is configured to: receive the use state information sent to the electronic device when the state of the home appliance changes; and/or receive the information collected by the image capture device and send it to The image data of the home appliance; the use state information of the home appliance is determined through the image data.

可选的,所述家电的使用状态信息,包括:所述家电的开启状态;或者,所述家电的关闭状态。Optionally, the use state information of the home appliance includes: an on state of the home appliance; or, an off state of the home appliance.

可选的,如果所述家电为灯具,所述第一判断模块21,用于:基于所述使用状态信息判断所述灯具的工作时长是否大于预设时长。Optionally, if the home appliance is a lamp, the first determination module 21 is configured to: determine whether the working duration of the lamp is greater than a preset duration based on the use state information.

可选的,所述电子设备还包括:第一获取模块,用于获取当前时间信息;确定模块,用于从至少两种工作状态中确定出所述当前时间信息所对应的所述预设工作状态;第二判断模块,用于判断所述家电是否为用于对所述预设工作状态进行判定的家电;所述第一判断模块21,用于若所述第二判断模块的判断结果为是,执行基于所述家电的使用状态信息判断所述家电是否处于预设使用状态的步骤。Optionally, the electronic device further includes: a first acquisition module for acquiring current time information; a determination module for determining the preset work corresponding to the current time information from at least two working states state; a second judging module for judging whether the home appliance is a home appliance for judging the preset working state; the first judging module 21 for judging if the judgment result of the second judging module is Yes, the step of judging whether the home appliance is in a preset use state based on the use state information of the home appliance is executed.

可选的,所述电子设备还包括:第二获取模块,用于获取当前时间信息;第三判断模块,用于判断所述当前时间信息是否属于所述预设工作状态所对应的时间信息;所述获得模块20,用于若所述第三判断模块的判断结果为是,执行获得家电的使用状态信息的操作。Optionally, the electronic device further includes: a second acquisition module, configured to acquire current time information; a third judgment module, used to determine whether the current time information belongs to the time information corresponding to the preset working state; The obtaining module 20 is configured to execute the operation of obtaining the usage state information of the household appliance if the judgment result of the third judgment module is yes.

可选的,所述预设工作状态包括:清晨起床状态、准备睡眠状态、做饭状态中的至少一种状态。Optionally, the preset working state includes at least one of a state of getting up in the morning, a state of preparing for sleep, and a state of cooking.

可选的,所述产生模块22,用于:基于工作状态与推荐信息的对应关系,获取与所述预设工作状态所对应的所述推荐信息。Optionally, the generating module 22 is configured to: obtain the recommendation information corresponding to the preset working state based on the corresponding relationship between the working state and the recommendation information.

可选的,所述工作状态与推荐信息的对应关系,包括:基于至少一个用户在各个工作状态下的历史操作记录所确定出的对应关系。Optionally, the corresponding relationship between the working state and the recommended information includes: a corresponding relationship determined based on the historical operation records of at least one user in each working state.

可选的,所述至少一个用户为至少一个采样用户,所述工作状态与推荐信息的对应关系为通用的工作状态与推荐信息的对应关系;或者,所述至少一个用户为所述电子设备的用户,所述工作状态与推荐信息的对应关系为提供给所述用户使用的工作状态与推荐信息的对应关系。Optionally, the at least one user is at least one sampled user, and the corresponding relationship between the working state and the recommended information is a general corresponding relationship between the working state and the recommended information; or, the at least one user is a user of the electronic device. For the user, the corresponding relationship between the working status and the recommended information is the corresponding relationship between the working status and the recommended information provided for the user to use.

可选的,所述工作状态与推荐信息的对应关系,包括:任一工作状态下的至少两种推荐信息、以及每种推荐信息的权重值;所述产生模块22,用于:产生基于所述权重值排序之后的所述至少两种推荐信息。Optionally, the corresponding relationship between the working state and the recommended information includes: at least two kinds of recommended information under any working state, and the weight value of each kind of recommended information; the generating module 22 is used for: generating based on all the recommended information. and the at least two kinds of recommendation information after the weight value is sorted.

可选的,所述产生模块22,用于:确定在所述预设工作状态下所述用户所使用的应用程序;向所述用户产生对所述应用程序进行推荐的推荐信息;和/或,确定出在所述预设状态下所述用户的浏览内容;向所述用户产生与所述浏览内容存在关联的推荐信息。Optionally, the generating module 22 is configured to: determine the application program used by the user in the preset working state; generate recommendation information for recommending the application program to the user; and/or , determining the browsing content of the user in the preset state; and generating recommendation information associated with the browsing content to the user.

可选的,所述产生模块22,包括:判断单元,用于判断当前日期是否为工作日;第一确定单元,用于如果所述当前日期为所述工作日,确定出在所述工作日与所述预设工作状态对应所述推荐信息;第二确定单元,用于如果所述当前日期为非工作日,确定出在所述非工作日与所述预设工作状态对应所述推荐信息。Optionally, the generating module 22 includes: a judging unit for judging whether the current date is a working day; a first determining unit for determining whether the current date is the working day, and determining whether the current date is the working day. the recommended information corresponding to the preset working state; and a second determining unit, configured to determine if the current date is a non-working day, determine the recommended information corresponding to the preset working state on the non-working day .

由于本发明第二方面所介绍的电子设备,为实施本发明实施例第一方面所介绍的信息推荐方法所采用的电子设备,基于本发明实施例第一方面所介绍的信息推荐方法,本领域所属技术人员能够了解本发明实施例第二方面所介绍的电子设备的具体结构及变形,故而在此不再赘述,凡是实施本发明实施例第一方面所介绍的信息推荐方法所采用的电子设备,都属于本发明实施例所欲保护的范围。Since the electronic device described in the second aspect of the present invention is an electronic device used for implementing the information recommendation method described in the first aspect of the embodiment of the present invention, based on the information recommendation method described in the first aspect of the embodiment of the present invention, the field of Those skilled in the art can understand the specific structure and deformation of the electronic device introduced in the second aspect of the embodiment of the present invention, so it is not repeated here. Any electronic device used to implement the information recommendation method introduced in the first aspect of the embodiment of the present invention , all belong to the intended protection scope of the embodiments of the present invention.

本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

由于在本发明实施例中,可以首先检测家电的使用状态信息,并且基于家电的使用状态信息判断家电是否处于预设使用状态,而家电的预设使用状态又对应用户的预设工作状态;在家电处于预设使用状态时,产生与预设工作状态对应的推荐信息,也就是所产生的推荐信息与用户的预设工作状态相关联,故而达到了所产生的推荐信息更加准确的技术效果,其更符合用户的需求。Because in the embodiment of the present invention, the use state information of the home appliance can be detected first, and based on the use state information of the home appliance, it is determined whether the home appliance is in the preset use state, and the preset use state of the home appliance corresponds to the user's preset work state; When the home appliance is in a preset state of use, recommendation information corresponding to the preset working state is generated, that is, the generated recommendation information is associated with the user's preset working state, so the technical effect that the generated recommendation information is more accurate is achieved. It is more in line with the needs of users.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present invention And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的电子设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the electronic device according to the embodiments of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Claims (24)

CN201610987341.1A2016-11-092016-11-09A kind of information recommendation method and electronic equipmentActiveCN106557039B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610987341.1ACN106557039B (en)2016-11-092016-11-09A kind of information recommendation method and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610987341.1ACN106557039B (en)2016-11-092016-11-09A kind of information recommendation method and electronic equipment

Publications (2)

Publication NumberPublication Date
CN106557039A CN106557039A (en)2017-04-05
CN106557039Btrue CN106557039B (en)2019-06-28

Family

ID=58444754

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610987341.1AActiveCN106557039B (en)2016-11-092016-11-09A kind of information recommendation method and electronic equipment

Country Status (1)

CountryLink
CN (1)CN106557039B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109582857A (en)*2018-10-152019-04-05深圳壹账通智能科技有限公司Based on big data information-pushing method, device, computer equipment and storage medium
CN111172705A (en)*2018-10-232020-05-19青岛海尔洗衣机有限公司 Program recommendation control method of household appliances
CN114936885B (en)*2022-07-212022-11-04成都薯片科技有限公司Advertisement information matching pushing method, device, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102957742A (en)*2012-10-182013-03-06北京天宇朗通通信设备股份有限公司Data pushing method and device
CN103368898A (en)*2012-03-262013-10-23中兴通讯股份有限公司Method and system for accomplishing information push
CN103685458A (en)*2012-09-202014-03-26Lg电子株式会社System for managing home appliances and push service method thereof
CN103747343A (en)*2014-01-092014-04-23深圳Tcl新技术有限公司Method and device for resource day parting recommendation
CN104853249A (en)*2015-05-122015-08-19天脉聚源(北京)传媒科技有限公司Program recommendation method and terminal
CN105471682A (en)*2014-06-252016-04-06小米科技有限责任公司Household electrical appliance state information notification method and household electrical appliance state information notification device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103368898A (en)*2012-03-262013-10-23中兴通讯股份有限公司Method and system for accomplishing information push
CN103685458A (en)*2012-09-202014-03-26Lg电子株式会社System for managing home appliances and push service method thereof
CN102957742A (en)*2012-10-182013-03-06北京天宇朗通通信设备股份有限公司Data pushing method and device
CN103747343A (en)*2014-01-092014-04-23深圳Tcl新技术有限公司Method and device for resource day parting recommendation
CN105471682A (en)*2014-06-252016-04-06小米科技有限责任公司Household electrical appliance state information notification method and household electrical appliance state information notification device
CN104853249A (en)*2015-05-122015-08-19天脉聚源(北京)传媒科技有限公司Program recommendation method and terminal

Also Published As

Publication numberPublication date
CN106557039A (en)2017-04-05

Similar Documents

PublicationPublication DateTitle
US20210293864A1 (en)Electrical panel for determining information about devices using different sets of features
US9739813B2 (en)Determining information about devices in a building using different sets of features
CN107395750A (en)Electricity method for early warning, server, mobile terminal and storage medium
CN109426428A (en) A method for providing operation guidance information of a terminal and a terminal device
CN106791215A (en)Alarm clock establishing method and the mobile terminal with alarm clock function
CN103488785A (en)Method, system and server for providing search service
WO2016085942A1 (en)Determining information about devices in a building using different sets of features
CN104516283A (en) Control device, controlled device, control method, control system, and notification device
CN113110093A (en)Control method, device and equipment of intelligent household control panel and storage medium
JP7566932B2 (en) Inferring semantic labels for assistant devices based on device-specific signals
CN106557039B (en)A kind of information recommendation method and electronic equipment
CN108205408B (en)Message display method and device
JP2010146268A (en)Electric energy monitoring system, management server, and electric energy monitoring method
CN112306364A (en)IoT (Internet of things) equipment control method and device, terminal and storage medium
CN106020629A (en)Triggering method and device of application program selection menu
CN106371343A (en)Household electrical appliance-based control method and electronic device
CN114911556B (en)Interface display method, device, equipment and storage medium
WO2019227368A1 (en)Mode control method and apparatus, and readable storage medium and electronic device
CN111857477A (en)Display control method and device, mobile terminal and storage medium
CN114864046A (en) Information push method and device, storage medium and electronic device
CN111984337B (en)Operation mode collection method, terminal device, massage device and storage medium
CN106909261B (en)Equipment state information processing method and device
WO2019146084A1 (en)Information presentation device and information presentation system
JP6159898B1 (en) Notification system, notification method, server
US12105943B2 (en)Electronic device and control method therefor

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right

Effective date of registration:20170721

Address after:100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after:BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd.

Address before:100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before:BEIJING QIHOO TECHNOLOGY Co.,Ltd.

TA01Transfer of patent application right
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20240229

Address after:Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after:BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Country or region after:China

Address before:100102 1801, 18 / F, building 2, Wangjing street, Chaoyang District, Beijing

Patentee before:BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd.

Country or region before:China

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp