Device recommendation method, apparatus, device and storage medium
By obtaining the attributes and operating parameters of the smart device, filtering and finding smart devices that meet user needs, the problem of inability to accurately recommend equipment in the existing technology is solved, and efficient equipment recommendation is achieved.
Patent Information
- Application Number
- CN202111211276.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-10-18
AI Technical Summary
The existing technology cannot accurately recommend smart devices that meet their needs to users, making it difficult for users to find devices that meet their own needs.
By obtaining the attributes and operating parameters of each smart device, the device that meets the preset conditions is filtered as the first smart device, and based on the mapping relationship between the pre-stored attributes and the identification of the smart device, the identification of the second smart device corresponding to the attributes of the first smart device is found, and the recommendation result is finally generated.
It realizes accurate recommendation of smart devices that meet the needs to users, solves the problem of inability to accurately recommend devices and improves the user experience.
Smart Images

Figure CN113961804B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent devices, and in particular to a device recommendation method, apparatus, device and storage medium. Background Art
[0002] With the development of Internet technology and industry, various services connected to the Internet have increased exponentially. Users are faced with massive amounts of information. Traditional search methods can only present users with sorted results of the same device and are unable to recommend corresponding devices based on the needs of different users. Summary of the invention
[0003] The present application provides a device recommendation method, apparatus, device and storage medium to solve the problem of being unable to accurately recommend devices to users.
[0004] In a first aspect, an embodiment of the present application provides a device recommendation method, including:
[0005] Get the properties and operating parameters of each smart device;
[0006] The smart device whose operating parameters meet the preset conditions is used as the first smart device;
[0007] According to a pre-stored mapping relationship between the attribute and the identifier of the smart device, searching for the identifier of the second smart device corresponding to the attribute of the first smart device;
[0008] Generate a recommendation result according to the identifier of the second smart device.
[0009] Optionally, the operating parameters include the number of times each smart device operates within a preset time period;
[0010] The smart device whose operating parameters meet the preset conditions is used as the first smart device, including:
[0011] The smart device having a running number greater than a preset running number is used as the first smart device.
[0012] Optionally, the number of the first smart devices is at least two;
[0013] The searching, according to the pre-stored mapping relationship between the attribute and the identifier of the smart device, for the identifier of the second smart device corresponding to the attribute of the first smart device includes:
[0014] The attribute with the largest number of corresponding first smart devices is used as the target attribute;
[0015] According to the mapping relationship, the identifier of the second smart device corresponding to the target attribute is searched.
[0016] Optionally, the operating parameters further include at least one of location indication information, season indication information and operating mode;
[0017] The searching, according to the pre-stored mapping relationship between the attribute and the identifier of the smart device, for the identifier of the second smart device corresponding to the attribute of the first smart device includes:
[0018] Determining a target attribute from the attributes of the first smart device according to the operating parameter;
[0019] According to the mapping relationship, the identifier of the second smart device corresponding to the target attribute is searched.
[0020] Optionally, generating a recommendation result according to the identifier of the second smart device includes:
[0021] Using the smart devices other than the smart devices in the second smart device as the third smart device;
[0022] Generate a recommendation result according to the identifier of the third smart device.
[0023] Optionally, generating a recommendation result according to the identifier of the third smart device includes:
[0024] Sorting the identifiers of the third smart devices in descending order according to the number of corresponding attributes to obtain a sorting result;
[0025] Generate recommendation results based on the sorting results.
[0026] Optionally, generating a recommendation result according to the ranking result includes:
[0027] The identifiers of the first N third smart devices in the sorting result are used as the recommendation result, where N is greater than or equal to 1.
[0028] In a second aspect, an embodiment of the present application provides a device recommendation apparatus, including:
[0029] The acquisition module is used to obtain the properties and operating parameters of each smart device;
[0030] A first processing module, configured to use the smart device whose operating parameters meet the preset conditions as the first smart device;
[0031] A search module, configured to search for the identifier of the second smart device corresponding to the attribute of the first smart device according to a pre-stored mapping relationship between the attribute and the identifier of the smart device;
[0032] The second processing module is used to generate a recommendation result according to the identification of the second smart device.
[0033] Optionally, the operating parameters include the number of times each smart device operates within a preset time period;
[0034] The first processing module is further configured to use the smart device having an operation number greater than a preset operation number as the first smart device.
[0035] Optionally, the number of the first smart devices is at least two;
[0036] The search module includes a selection submodule and a first search submodule;
[0037] The selection submodule is used to select the attribute with the largest number of corresponding first smart devices as the target attribute;
[0038] The first search submodule is used to search for the identifier of the second smart device corresponding to the target attribute according to the mapping relationship.
[0039] Optionally, the operating parameters further include at least one of location indication information, season indication information and operating mode;
[0040] The search module includes a determination submodule and a second search submodule;
[0041] The determination submodule is used to determine the target attribute from the attributes of the first smart device according to the operating parameter;
[0042] The second search submodule is used to search for the identifier of the second smart device corresponding to the target attribute according to the mapping relationship.
[0043] Optionally, the second processing module includes a processing submodule and a generating submodule;
[0044] The processing submodule is used to use the smart devices in the second smart devices except the respective smart devices as third smart devices;
[0045] The generating submodule is used to generate a recommendation result according to the identifier of the third smart device.
[0046] Optionally, the generating submodule includes a sorting unit and a generating unit;
[0047] The sorting unit is used to sort the identifiers of the third smart devices in descending order according to the number of corresponding attributes to obtain a sorting result;
[0048] The generating unit is used to generate a recommendation result according to the sorting result.
[0049] Optionally, the generating unit is further configured to use the identifiers of the first N third smart devices in the sorting result as the recommendation result, where N is greater than or equal to 1.
[0050] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus;
[0051] The memory is used to store computer programs;
[0052] The processor is used to execute the program stored in the memory to implement the device recommendation method described in the first aspect.
[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the device recommendation method described in the first aspect.
[0054] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the attributes and operating parameters of each smart device, takes the smart device whose operating parameters meet the preset conditions as the first smart device, searches for the identification of the second smart device corresponding to the attribute of the first smart device according to the mapping relationship between the pre-stored attributes and the identification of the smart device, and generates the recommendation result according to the identification of the second smart device. Compared with the prior art, which can only present the ranking results of the same device to the user, the present application obtains the first smart device that meets the user's needs by taking the smart device whose operating parameters meet the preset conditions as the first smart device, and searches for the identification of the second smart device corresponding to the attribute of the first smart device according to the mapping relationship between the pre-stored attributes and the identification of the smart device, and finds the second smart device with the same attribute as the first smart device. The attributes of the first smart device include the attributes that meet the user's needs, and the attributes of the second smart device and the first smart device are the same, indicating that the second smart device also meets the user's needs. According to the identification of the second smart device, the recommendation result is generated, and the device that meets the user's needs can be accurately recommended to the user, solving the problem of being unable to accurately recommend devices to the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0057] Figure 1 This is a flow chart of the device recommendation method in the embodiment of the present application;
[0058] Figure 2 A schematic diagram of a knowledge graph established according to attributes and identifications of smart devices in a specific embodiment of the present application;
[0059] Figure 3 This is a flow chart of a device recommendation method in a specific embodiment of the present application;
[0060] Figure 4 This is a schematic diagram of the structure of the device recommended in the embodiment of this application;
[0061] Figure 5 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0063] In an embodiment of the present application, a device recommendation method is provided, which can be applied to a server, and of course, can also be applied to other electronic devices, such as terminals (mobile phones, tablet computers, etc.). In an embodiment of the present application, the method is applied to a server as an example for description.
[0064] In the present application embodiment, Figure 1 As shown in the figure, the method flow recommended by the equipment mainly includes:
[0065] Step 101, obtaining the properties and operating parameters of each smart device.
[0066] Obtaining the properties and operating parameters of each smart device may be obtaining the properties and operating parameters uploaded by each smart device to the server, or obtaining the properties and operating parameters of each smart device uploaded to the server by the gateway, or obtaining the properties and operating parameters of each smart device input by the user. This application does not limit the specific method of obtaining the properties and operating parameters of each smart device.
[0067] The smart devices may be smart devices that the user already owns, such as smart devices in the user's home or in the user's office area. The smart devices may be smart speakers, smart air conditioners, smart refrigerators, smart TVs, smart range hoods, smart washing machines, smart photo frames, smart wardrobes, routers, and other smart devices.
[0068] Attributes may include the functions of smart devices and the usage areas of smart devices. Functions may be cooling, heating, dehumidification, etc. The usage areas of smart devices may be bedroom air conditioners, living room air conditioners, and living rooms. Attributes may also include other parameters as needed, and this application does not limit the specific parameters included in the attributes.
[0069] In a specific embodiment, the operating parameters include the number of times each smart device operates within a preset time period.
[0070] The preset time period may be 1 month, 3 months, or 1 year. For example, the operation parameter includes the number of times each smart device is operated within a month.
[0071] Step 102: A smart device whose operating parameters meet preset conditions is used as a first smart device.
[0072] The preset condition may be a condition that meets user needs, and a smart device whose operating parameters meet the preset condition is a smart device that meets user needs.
[0073] In a specific embodiment, taking a smart device whose operating parameters meet preset conditions as the first smart device includes: taking a smart device whose operating times are greater than a preset operating times as the first smart device.
[0074] The preset number of operations can be an empirical value or a value set in advance by the user. For example, if the preset number of operations is 20 times and the preset time period is one month, the number of operations of the smart air conditioner is 25 times and the number of operations of the washing machine is 10 times within one month, and 25 times is greater than 20 times and 10 times is less than 20 times, the smart air conditioner is regarded as the first smart device.
[0075] A smart device that has been run more than a preset number of times is used as a first smart device, and the first smart device is a smart device that is used more frequently by the user.
[0076] Step 103: searching for the identity of the second smart device corresponding to the identity of the first smart device according to the pre-stored mapping relationship between the identity of the first smart device and the identity of the smart device.
[0077] The mapping relationship between the pre-stored attributes and the identification of the smart device refers to the mapping relationship between the attributes and the identification of the smart device stored in the database. The database may be a public knowledge base including the mapping relationship between the attributes and the identification of the smart device established through network query and big data analysis, or a user personal knowledge base including the mapping relationship between the attributes and the identification of the smart device established according to the user's personal usage habits.
[0078] In a specific embodiment, Figure 2 As shown in FIG, a schematic diagram of a knowledge graph established based on attributes and smart device identifiers. A knowledge graph is a mapping relationship between pre-stored attributes and smart device identifiers. For example, in Figure 2 In the article, there are many types of commodities, including daily necessities, luxury goods and home appliances. A knowledge graph is established for home appliances. Various home appliances are directly or indirectly connected by attributes. Two attributes of home appliances are mainly listed: cooling and dehumidification. Home appliances with cooling attributes include tower fans, floor fans and air conditioners. Home appliances with dehumidification attributes include air conditioners, dehumidifiers and dryers. Air conditioners have two attributes: cooling and dehumidification. Air conditioners and floor fans also have cooling attributes, so air conditioners and floor fans are connected by cooling attributes. Air conditioners and dehumidifiers both have dehumidification functions, so air conditioners and dehumidifiers are directly connected by dehumidification attributes, while floor fans are indirectly connected to dehumidifiers.
[0079] In a specific embodiment, the number of the first smart devices is at least two. According to the pre-stored mapping relationship between the attribute and the identification of the smart device, searching for the identification of the second smart device corresponding to the attribute of the first smart device includes: taking the attribute corresponding to the largest number of the first smart devices as the target attribute; and searching for the identification of the second smart device corresponding to the target attribute according to the mapping relationship.
[0080] The number of first smart devices selected according to the operation parameters satisfying the preset conditions may be one or at least two. When the number of first smart devices is at least two, the attribute of the first smart device with the largest number of corresponding attributes is used as the target attribute, and the target attribute is the attribute that meets the user's needs. For example, the first smart devices are smart air conditioners, smart refrigerators, electric fans and water heaters. The attributes of smart air conditioners are cooling, heating and dehumidification. The attribute of smart refrigerators is cooling, the attribute of electric fans is cooling, and the attribute of water heaters is heating. The first smart devices corresponding to the cooling attribute include smart air conditioners, smart refrigerators and electric fans, and the number is 3. The first smart devices corresponding to the heating attribute include smart air conditioners and water heaters, and the number is 2. The first smart devices corresponding to the dehumidification attribute include smart air conditioners, and the number is 1. The number of first smart devices corresponding to the cooling attribute is the largest, and the cooling attribute is used as the target attribute. According to the mapping relationship, the identifier of the second smart device corresponding to the target attribute is found. The identifier of the second smart device corresponding to the cooling attribute in the mapping relationship includes smart air conditioners, air conditioning fans, electric fans, smart refrigerators and fresh-keeping cabinets.
[0081] In a specific embodiment, the operating parameters further include at least one of location indication information, season indication information, and operating mode. According to the pre-stored mapping relationship between the attribute and the identification of the smart device, searching for the identification of the second smart device corresponding to the attribute of the first smart device includes: determining the target attribute from the attributes of the first smart device according to the operating parameters; and searching for the identification of the second smart device corresponding to the target attribute according to the mapping relationship.
[0082] The location indication information is used to indicate the user's location. For example, the operation parameters uploaded by the gateway include an IP address (Internet Protocol Address). The user's location can be obtained based on the IP address, for example, Beijing. The season indication information is used to indicate the season at the current moment. For example, by obtaining the operation time of the smart device, the season at the operation time is obtained. The operation mode can be a cooling mode, a heating mode, a dehumidification mode, etc.
[0083] The number of first smart devices selected based on the operating parameters that meet the preset conditions may be one or at least two. Regardless of whether the number of first smart devices is one or at least two, the attributes of the first smart device may be at least two. According to the operating parameters such as the number of operations of each smart device within a preset time period, the location indication information, the season indication information, the operating mode, etc., the target attribute is accurately determined from the attributes of the first smart device, and the target attribute is the attribute that meets the user's needs. For example, the first smart device is a smart air conditioner, and the attributes of the smart air conditioner are cooling, heating and dehumidification, the location indication information is Heilongjiang, the season indication information is winter, and the operating mode is the heating mode, then the target attribute of the smart air conditioner is heating. The attributes that meet the user's needs can be accurately obtained.
[0084] Step 104: Generate a recommendation result according to the identifier of the second smart device.
[0085] In a specific embodiment, generating a recommendation result according to an identification of the second smart device includes: using smart devices other than each smart device in the second smart device as third smart devices; and generating a recommendation result according to the identification of the third smart device.
[0086] Each smart device can be a smart device that the user already owns. The smart devices other than each smart device in the second smart device are used as third smart devices. Recommendation results are generated based on the identifier of the third smart device. This can avoid recommending smart devices that the user already owns and causing negative emotions in the user.
[0087] In a specific embodiment, generating a recommendation result based on the identifier of the third smart device includes: sorting the identifier of the third smart device in descending order according to the number of corresponding attributes to obtain a sorting result; and generating a recommendation result based on the sorting result.
[0088] For example, the identifiers of the third smart device include smart air conditioners and electric fans. The attributes of smart air conditioners are cooling, heating, and dehumidification, and the number is 3. The attribute of electric fans is cooling, and the number is 1. The sorting results are smart air conditioners and electric fans. The recommended results are smart air conditioners and electric fans.
[0089] The identifiers of the third smart devices with a large number of attributes are arranged at the front of the recommendation results, so that the user is more inclined to select the identifiers of the third smart devices with a large number of attributes, thereby bringing the user a better usage experience.
[0090] In a specific embodiment, generating a recommendation result according to the sorting result includes: using the identifiers of the first N third smart devices in the sorting result as the recommendation result, where N is greater than or equal to 1.
[0091] The identifiers of the third smart devices having a larger number of attributes are recommended to the user, and the identifiers of the third smart devices having a smaller number of attributes are not recommended to the user.
[0092] In a specific embodiment, Figure 3 As shown in the figure, the method flow recommended by the equipment mainly includes:
[0093] Step 301, obtaining the functional attributes, operation times within a preset time period and location indication information of each smart device.
[0094] Step 302: A smart device having a running number greater than a preset running number is used as a first smart device.
[0095] Step 303: Determine the target attribute from the attributes of the first smart device according to the location indication information.
[0096] Step 304: Find the identifier of the second smart device corresponding to the target attribute according to the pre-stored mapping relationship between the attribute and the identifier of the smart device.
[0097] Step 305: Use the smart devices in the second smart devices other than the smart device already owned by the user as the third smart device.
[0098] Step 306: Generate a recommendation result according to the identifier of the third smart device.
[0099] In summary, the method provided by the embodiment of the present application obtains the attributes and operating parameters of each smart device, takes the smart device whose operating parameters meet the preset conditions as the first smart device, searches for the identification of the second smart device corresponding to the attribute of the first smart device according to the mapping relationship between the pre-stored attributes and the identification of the smart device, and generates a recommendation result according to the identification of the second smart device. Compared with the prior art, which can only present the ranking results of the same device to the user, the present application obtains the first smart device that meets the user's needs by taking the smart device whose operating parameters meet the preset conditions as the first smart device, and searches for the identification of the second smart device corresponding to the attribute of the first smart device according to the mapping relationship between the pre-stored attributes and the identification of the smart device, and finds the second smart device with the same attributes as the first smart device. The attributes of the first smart device include attributes that meet the user's needs, and the attributes of the second smart device and the first smart device are the same, indicating that the second smart device also meets the user's needs. According to the identification of the second smart device, a recommendation result is generated, and the device that meets the user's needs can be accurately recommended to the user, solving the problem of being unable to accurately recommend devices to the user.
[0100] Based on the same concept, an apparatus for recommending equipment is provided in the embodiment of the present application. The specific implementation of the apparatus can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 4 As shown, the device mainly includes:
[0101] The acquisition module 401 is used to acquire the properties and operating parameters of each smart device;
[0102] A first processing module 402, configured to use the smart device whose operating parameters meet the preset conditions as the first smart device;
[0103] A search module 403, configured to search for the identity of the second smart device corresponding to the attribute of the first smart device according to a pre-stored mapping relationship between the attribute and the identity of the smart device;
[0104] The second processing module 404 is configured to generate a recommendation result according to the identification of the second smart device.
[0105] Optionally, the operating parameters include the number of times each smart device operates within a preset time period;
[0106] The first processing module is further configured to use the smart device having an operation number greater than a preset operation number as the first smart device.
[0107] Optionally, the number of the first smart devices is at least two;
[0108] The search module includes a selection submodule and a first search submodule;
[0109] The selection submodule is used to select the attribute with the largest number of corresponding first smart devices as the target attribute;
[0110] The first search submodule is used to search for the identifier of the second smart device corresponding to the target attribute according to the mapping relationship.
[0111] Optionally, the operating parameters further include at least one of location indication information, season indication information and operating mode;
[0112] The search module includes a determination submodule and a second search submodule;
[0113] The determination submodule is used to determine the target attribute from the attributes of the first smart device according to the operating parameter;
[0114] The second search submodule is used to search for the identifier of the second smart device corresponding to the target attribute according to the mapping relationship.
[0115] Optionally, the second processing module includes a processing submodule and a generating submodule;
[0116] The processing submodule is used to use the smart devices in the second smart devices except the respective smart devices as third smart devices;
[0117] The generating submodule is used to generate a recommendation result according to the identifier of the third smart device.
[0118] Optionally, the generating submodule includes a sorting unit and a generating unit;
[0119] The sorting unit is used to sort the identifiers of the third smart devices in descending order according to the number of corresponding attributes to obtain a sorting result;
[0120] The generating unit is used to generate a recommendation result according to the sorting result.
[0121] Optionally, the generating unit is further configured to use the identifiers of the first N third smart devices in the sorting result as the recommendation result, where N is greater than or equal to 1.
[0122] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 5 As shown, the electronic device mainly includes: a processor 501, a memory 502 and a communication bus 503, wherein the processor 501 and the memory 502 communicate with each other through the communication bus 503. The memory 502 stores a program executable by the processor 501, and the processor 501 executes the program stored in the memory 502 to implement the following steps:
[0123] Acquire the properties and operating parameters of each smart device; use the smart device whose operating parameters meet the preset conditions as the first smart device; find the identification of the second smart device corresponding to the property of the first smart device according to the mapping relationship between the pre-stored properties and the identification of the smart device; generate a recommendation result according to the identification of the second smart device.
[0124] The communication bus 503 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 503 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0125] The memory 502 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the processor 501 .
[0126] The above-mentioned processor 501 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0127] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed on a computer, the computer executes the device recommendation method described in the above embodiment.
[0128] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a DVD) or a semiconductor medium (such as a solid-state hard disk), etc.
[0129] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0130] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A device recommendation method, characterized in that: include: Get the properties and operating parameters of each smart device; The smart device whose operating parameters meet the preset conditions is used as the first smart device, wherein the preset conditions are conditions that meet user needs, and the smart device whose operating parameters meet the preset conditions is a smart device that meets the user needs; According to a pre-stored mapping relationship between the attribute and the identifier of the smart device, searching for the identifier of the second smart device corresponding to the attribute of the first smart device; generating a recommendation result according to the identifier of the second smart device; The number of the first smart devices is at least two, and according to the pre-stored mapping relationship between the attribute and the identification of the smart device, searching for the identification of the second smart device corresponding to the attribute of the first smart device includes: taking the attribute corresponding to the largest number of the first smart devices as the target attribute; searching for the identification of the second smart device corresponding to the target attribute according to the mapping relationship, or, The operating parameters also include at least one of location indication information, season indication information and operating mode. According to the mapping relationship between the pre-stored attributes and the identification of the smart device, searching for the identification of the second smart device corresponding to the attributes of the first smart device includes: determining the target attributes from the attributes of the first smart device according to the operating parameters; and searching for the identification of the second smart device corresponding to the target attributes according to the mapping relationship.
2. The device recommendation method according to claim 1, characterized in that: The operation parameters include the number of times each smart device operates within a preset time period; The smart device whose operating parameters meet the preset conditions is used as the first smart device, including: The smart device having a running number greater than a preset running number is used as the first smart device.
3. The device recommendation method according to any one of claims 1 to 2, characterized in that: The generating a recommendation result according to the identifier of the second smart device includes: Using the smart devices other than the smart devices in the second smart device as the third smart device; Generate a recommendation result according to the identifier of the third smart device.
4. The device recommendation method according to claim 3, characterized in that: The generating a recommendation result according to the identifier of the third smart device includes: Sorting the identifiers of the third smart devices in descending order according to the number of corresponding attributes to obtain a sorting result; Generate recommendation results based on the sorting results.
5. The device recommendation method according to claim 4, characterized in that: Generate a recommendation result according to the ranking result, including: The identifiers of the first N third smart devices in the sorting result are used as the recommendation result, where N is greater than or equal to 1.
6. A device recommendation device, characterized in that: include: The acquisition module is used to obtain the properties and operating parameters of each smart device; A first processing module, configured to use the smart device whose operating parameters meet a preset condition as a first smart device, wherein the preset condition is a condition that meets a user's needs, and the smart device whose operating parameters meet the preset condition is a smart device that meets the user's needs; A search module, configured to search for the identifier of the second smart device corresponding to the attribute of the first smart device according to a pre-stored mapping relationship between the attribute and the identifier of the smart device; A second processing module, configured to generate a recommendation result according to the identification of the second smart device; The number of the first smart devices is at least two, and according to the pre-stored mapping relationship between the attribute and the identification of the smart device, searching for the identification of the second smart device corresponding to the attribute of the first smart device includes: taking the attribute corresponding to the largest number of the first smart devices as the target attribute; searching for the identification of the second smart device corresponding to the target attribute according to the mapping relationship, or, The operating parameters also include at least one of location indication information, season indication information and operating mode. According to the mapping relationship between the pre-stored attributes and the identification of the smart device, searching for the identification of the second smart device corresponding to the attributes of the first smart device includes: determining the target attributes from the attributes of the first smart device according to the operating parameters; and searching for the identification of the second smart device corresponding to the target attributes according to the mapping relationship.
7. An electronic device, characterized in that: include: A processor, a memory and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the device recommendation method according to any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the device recommendation method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Method and device for controlling communication in an internet protocol multimedia subsystem IMS
CN102428718A
Household electrical appliance linkage control method, household electrical appliance, server, and system
CN106647304A