Grouping method, apparatus and electronic device for home appliances
By acquiring the characteristic set of home appliances and judging based on the intersection, the home appliances are automatically grouped, which solves the problem of misoperation caused by manual grouping by users, and improves the user experience and the convenience of device control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- MIDEA GROUP CO LTD
- Filing Date
- 2022-09-19
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, home appliances cannot be automatically grouped at the front end, requiring users to operate manually. This can easily lead to multiple devices that cannot be assigned to the same group being mistakenly grouped, thus reducing the user experience.
By acquiring a set of characteristics of home appliances, the system automatically groups them based on these characteristics, ensuring that devices that cannot be grouped into the same group are not grouped. The system uses grouping characteristics represented by numbers or characters and intersection judgments to group devices in response to user selection operations.
It enables automatic grouping of home appliances, avoids user misoperation, improves user experience, and optimizes the convenience of home appliance control and the competitiveness of front-end products.
Smart Images

Figure CN117762024B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of home appliance technology, and in particular to a method, apparatus and electronic device for grouping home appliances. Background Technology
[0002] For various front-end devices for home appliances (such as mini-programs and applications), users can manually select home appliances through device cards on various front-end devices, and merge the manually selected home appliances into a device group. Then, users can control all home appliances in the same device group through simple and unified operations.
[0003] However, various front-end devices cannot automatically group home appliances. Users must manually group the devices. Furthermore, manual grouping may result in multiple home appliances that cannot be grouped into the same group (e.g., air conditioners and electric heaters), leading to a poor user experience. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, apparatus and electronic device for grouping home appliances, so as to automatically group home appliances, avoid grouping multiple home appliances that cannot be grouped into the same group, thereby improving the user experience.
[0005] In a first aspect, embodiments of the present invention provide a method for grouping home appliances, the method comprising: acquiring a plurality of home appliances to be grouped; determining a feature set corresponding to each home appliance; wherein, the feature set corresponding to a first home appliance includes grouping features of the first home appliance; or, the feature set corresponding to the first home appliance includes grouping features of the first home appliance and grouping features of other home appliances, the other home appliances being home appliances other than the first home appliance; determining a plurality of target home appliances, and grouping the plurality of target home appliances based on the feature sets corresponding to the plurality of target home appliances.
[0006] In optional embodiments of this application, the grouping characteristics of the above-mentioned home appliances are represented by numbers or characters, and the grouping characteristics of each home appliance are different.
[0007] In an optional embodiment of this application, the step of determining the characteristic set corresponding to each home appliance includes: selecting a second home appliance from the home appliances whose characteristic sets have not been determined; creating an empty second characteristic set for the second home appliance and adding the grouping characteristics of the second home appliance to the second characteristic set; determining the grouping relationship between the second home appliance and each home appliance whose characteristic sets have been determined; adding the grouping characteristics of the home appliances whose characteristic sets have been determined to the second characteristic set based on the grouping relationship; and continuing to execute the step of selecting a second home appliance from the home appliances whose characteristic sets have not been determined, until each home appliance has a corresponding characteristic set determined.
[0008] In an optional embodiment of this application, the step of adding the grouping characteristics of the home appliances in the determined characteristic set to the second characteristic set based on the grouping relationship includes: if the grouping relationship indicates that the second home appliance and the third home appliance in the determined characteristic set are classified into the same home appliance group, the grouping characteristics of the third home appliance are added to the second characteristic set.
[0009] In an optional embodiment of this application, the step of determining multiple target home appliances includes: responding to a user's device selection operation and determining multiple target home appliances corresponding to the device selection operation.
[0010] In an optional embodiment of this application, the step of grouping multiple target home appliances based on the characteristic sets corresponding to multiple target home appliances includes: determining whether the intersection of the characteristic sets corresponding to multiple target home appliances is an empty set; if not, grouping the multiple target home appliances into the same home appliance group.
[0011] In an optional embodiment of this application, after the step of classifying multiple target home appliances into the same home appliance group, the method further includes: taking the intersection of the characteristic sets corresponding to the multiple target home appliances as the characteristic set of the home appliance group.
[0012] In an optional embodiment of this application, after the step of grouping multiple target home appliances based on the characteristic sets corresponding to multiple target home appliances, the method further includes: determining a fourth home appliance and a target home appliance group; determining whether the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group is an empty set; if not, assigning the fourth home appliance to the target home appliance group.
[0013] In an optional embodiment of this application, after the step of classifying the fourth home appliance into the target home appliance group, the method further includes: taking the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group as the characteristic set of the target home appliance group.
[0014] Secondly, embodiments of the present invention also provide a device for grouping home appliances. The device includes: a home appliance acquisition module for acquiring multiple home appliances to be grouped; a feature set determination module for determining a feature set corresponding to each home appliance; wherein the feature set corresponding to a first home appliance includes the grouping features of the first home appliance; or, the feature set corresponding to the first home appliance includes the grouping features of the first home appliance and the grouping features of other home appliances, wherein the other home appliances are home appliances other than the first home appliance; and a home appliance grouping module for determining multiple target home appliances and grouping the multiple target home appliances based on the feature sets corresponding to the multiple target home appliances.
[0015] Thirdly, embodiments of the present invention also provide an electronic device, including a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the above-described grouping method for home appliances.
[0016] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the aforementioned grouping method for home appliances.
[0017] The embodiments of the present invention bring the following beneficial effects:
[0018] The present invention provides a method, apparatus and electronic device for grouping home appliances, which can automatically group home appliances according to their grouping characteristics and characteristic sets, thereby avoiding grouping multiple home appliances that cannot be divided into the same group, thus improving the user experience.
[0019] Other features and advantages of this disclosure will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the techniques described above.
[0020] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 A flowchart illustrating a method for grouping home appliances according to an embodiment of the present invention;
[0023] Figure 2 A flowchart illustrating another method for grouping home appliances provided in an embodiment of the present invention;
[0024] Figure 3 This is a schematic diagram of the structure of a grouping device for household appliances provided in an embodiment of the present invention;
[0025] Figure 4 This is a schematic diagram of the structure of another grouping device for home appliances provided in an embodiment of the present invention;
[0026] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] Currently, for various front-end applications for home appliances (such as mini-programs and applications), users can manually select home appliances through device cards and merge the manually selected home appliances into a device group. Then, users can control all home appliances in the same device group through simple and unified operations.
[0029] However, various front-end systems cannot automatically group home appliances; users must manually group them. Furthermore, manual grouping may result in multiple home appliances that cannot be grouped into the same group, leading to a poor user experience.
[0030] For example, the front end of a home appliance system needs to interface with all types of appliances. Users need to actively distinguish whether each appliance can be grouped together, leading to a poor user experience. For instance, appliance A can be grouped with appliance B and appliance C, but appliance B and appliance C cannot be grouped together. When a user manually groups appliances A and B, and then mistakenly adds appliance C to the same group, subsequent operations on that group become impossible, resulting in a poor user experience.
[0031] Based on this, the present invention provides a method for grouping home appliances, specifically involving a data grouping and merging algorithm for home appliances. This method can be widely applied to various business scenarios that require calculating how to group different data, optimizing the user experience of controlling home appliances at various front-ends and enhancing the product competitiveness of home appliances at the front end.
[0032] To facilitate understanding of this embodiment, the grouping method of home appliances disclosed in this embodiment will be described in detail first.
[0033] Example 1:
[0034] This invention provides a method for grouping home appliances, see [link to relevant documentation]. Figure 1 The flowchart shown illustrates a method for grouping home appliances, which includes the following steps:
[0035] Step S102: Obtain multiple home appliances to be grouped.
[0036] Home appliances to be grouped are those that have not yet been grouped. These appliances can be any network-connected home appliances in a user's home, such as air conditioners, washing machines, various lamps, range hoods, dishwashers, computers, microwave ovens, etc.
[0037] Step S104: Determine the characteristic set corresponding to each home appliance.
[0038] The characteristic set corresponding to the first home appliance includes the grouping characteristics of the first home appliance; or, the characteristic set corresponding to the first home appliance includes the grouping characteristics of the first home appliance and the grouping characteristics of other home appliances, where other home appliances are home appliances other than the first home appliance.
[0039] In this embodiment, each home appliance can be assigned a corresponding grouping characteristic and characteristic set. The characteristic set of each home appliance is represented by a named groupTypeList. For example, for an air conditioner, its grouping characteristic can be set to the letter "X", then the characteristic set of the air conditioner is air conditioner(groupTypeList).
[0040] In this embodiment, the feature set corresponding to each home appliance must include the grouping feature of that home appliance, and may include or exclude the grouping features of other home appliances. For example, the feature set of an air conditioner may only include the grouping feature of air conditioner, i.e., air conditioner (groupTypeList = [X]), and the feature set of an air conditioner may also include the grouping feature "Y" of an electric fan, i.e., air conditioner (groupTypeList = [X, Y]).
[0041] Specifically, if the characteristic set corresponding to a home appliance includes the grouping characteristics of other home appliances, it means that this home appliance and those other home appliances can be grouped into the same group. Conversely, if the characteristic set corresponding to a home appliance does not include the grouping characteristics of other home appliances, this does not necessarily mean that this home appliance cannot be grouped into the same group as other home appliances. The following examples illustrate this:
[0042] The characteristic set of home appliance A includes the grouping characteristics of home appliance A and home appliance B, but does not include the grouping characteristics of home appliance C. At this point, it can only be stated that home appliance A and home appliance B can be grouped together; whether home appliance A and home appliance C can be grouped together is uncertain.
[0043] Step S106: Identify multiple target home appliances and group them based on the characteristic sets corresponding to the multiple target home appliances.
[0044] In this embodiment, multiple target home appliances can be determined through user operations. For example, the user can select multiple target home appliances on the front end. The target home appliances selected by the user have already had their corresponding feature sets determined in the aforementioned steps. Therefore, in this embodiment, multiple target home appliances can be grouped based on their corresponding feature sets.
[0045] For example, for target home appliances X and Y, if the characteristic set of target home appliance X is (groupTypeList = [X, Y]), then target home appliances X and Y can be grouped into the same group.
[0046] For example, for target home appliances A, B, and C, if the characteristic set of target home appliance A is (groupTypeList = [A]), the characteristic set of target home appliance B is (groupTypeList = [B, C]), and the characteristic set of target home appliance C is (groupTypeList = [A, [B, C]), then based on the characteristic set of target home appliance C, target home appliances A, B, and C can be grouped into the same group.
[0047] The present invention provides a method for grouping home appliances, which can automatically group home appliances according to their grouping characteristics and characteristic sets, thereby avoiding grouping multiple home appliances that cannot be divided into the same group, thus improving the user experience.
[0048] Example 2:
[0049] This embodiment provides another method for grouping home appliances, which is implemented based on the above embodiment, such as... Figure 2The flowchart illustrates another method for grouping home appliances. The method for grouping home appliances in this embodiment includes the following steps:
[0050] Step S202: Obtain multiple home appliances to be grouped.
[0051] In this embodiment, lighting appliances are used as an example. It should be noted that the appliances in this embodiment are not limited to lighting appliances. All appliances in a user's home can be dynamically controlled to form a group due to the grouping method provided in this embodiment. This will not be elaborated further here.
[0052] Step S204: Determine the characteristic set corresponding to each home appliance.
[0053] The grouping characteristics of home appliances are represented by numbers or characters, and each appliance has a unique grouping characteristic. For example, the grouping characteristic of a ceiling light is represented by the character "A". Using different grouping characteristics for each appliance ensures a one-to-one correspondence between the appliance and its grouping characteristic.
[0054] Specifically, in this embodiment, a second home appliance may be selected from the home appliances with undetermined feature sets; an empty second feature set may be created for the second home appliance, and the grouping features of the second home appliance may be added to the second feature set; the grouping relationship between the second home appliance and each home appliance with a determined feature set may be determined; the grouping features of the home appliances with a determined feature set may be added to the second feature set based on the grouping relationship; and the step of selecting a second home appliance from the home appliances with undetermined feature sets may continue to be executed until a corresponding feature set is determined for each home appliance.
[0055] For example, first assign a grouping attribute A to the second appliance that needs to be grouped, and then create an empty second attribute collection groupTypeList to store it. For example: ceiling light (groupTypeList = [A]).
[0056] When a second home appliance also needs to implement grouping functionality, a new grouping characteristic is first added. Then, it is determined whether this second home appliance can form a group with the currently configured second home appliances, i.e., the grouping relationship between the second home appliance and each home appliance in the defined characteristic set is determined. Then, the characteristics that can form a group are added to its own characteristic set. For example, if the grouping relationship indicates that the second home appliance and a third home appliance in the defined characteristic set are grouped into the same home appliance group, the grouping characteristic of the third home appliance is added to the second home appliance's characteristic set.
[0057] For example, we already have a feature set for ceiling lights (groupTypeList = [A]), and now we want to add the following as second home appliances: table lamps, floor lamps, and scrolling lights:
[0058] (1) A table lamp cannot be grouped with a ceiling lamp or a floor lamp, but it can be grouped with a marquee. So, the table lamp adds a new feature B and does not add any other features. The feature set is (groupTypeList = [B]).
[0059] (2) Floor lamps cannot be grouped with ceiling lamps, but can be grouped with marquees. Therefore, floor lamps will have a new feature C. Since marquees will be configured in the next step, the feature set is (groupTypeList = [C]).
[0060] (3) The marquee can be grouped with ceiling lights, table lamps and floor lamps. So the marquee adds a new feature D. Because the marquee can be grouped with three devices, ceiling lights and floor lamps, the feature set is (groupTypeList = [A, B, C, D]).
[0061] After configuring the feature sets, the feature sets for each home appliance can be saved to the cloud. Upon launching the front-end from the homepage, the feature sets for each appliance can be retrieved from the cloud and saved locally. Users can long-press to select a card on the front-end's homepage and find the corresponding feature set in the configuration based on the selected card.
[0062] Step S206: Identify multiple target home appliances and group them based on the characteristic sets corresponding to the multiple target home appliances.
[0063] Specifically, this embodiment can respond to a user's device selection operation and determine multiple target home appliances corresponding to the device selection operation. The multiple home appliances selected by the user are used as the target home appliances. For example, if the user selects a ceiling light and a table lamp at the same time, then the target home appliances can be the ceiling light and the table lamp.
[0064] Specifically, this embodiment can determine whether the intersection of the characteristic sets corresponding to multiple target home appliances is an empty set; if not, the multiple target home appliances are divided into the same home appliance group.
[0065] To determine whether two target home appliances can be grouped together, check if the intersection of the groupTypeList (i.e., the feature set) of the two target home appliances, commonTypeList, is empty. If it is empty, they cannot be grouped together; if it is not empty, they can be grouped together.
[0066] After grouping multiple target home appliances into the same home appliance group, this embodiment can further use the intersection of the characteristic sets corresponding to the multiple target home appliances as the characteristic set of the home appliance group. After forming the home appliance group, a characteristic set groupTypeList of the home appliances is created, the content of which can be the previously calculated intersection commonTypeList.
[0067] For example, the current user has the following home appliances: ceiling light (groupTypeList=[A]), table lamp (groupTypeList=[B]), floor lamp (groupTypeList=[C]), and scrolling light (groupTypeList=[A, B, C, D]).
[0068] For example, when a user selects a ceiling light as their first device and a table lamp or floor lamp as their second device, a group of home appliances cannot be created because the intersection of the characteristic sets of the ceiling light and the table lamp or floor lamp is empty. The button to create a group in the front end is grayed out and cannot be clicked.
[0069] For example, when a user selects a ceiling light as their first device and a marquee light as their second device, the intersection of the ceiling light and the marquee light is [A], which is not an empty set. Therefore, a home appliance group can be created. At this time, the user can click the "Create Group" button on the front end to create a home appliance group.
[0070] After creating the appliance group between the ceiling light and the marquee, the characteristic set of the appliance group can be determined as groupTypeList = [A], which is the intersection of the corresponding characteristic sets between the ceiling light and the marquee.
[0071] Step S208: Identify the target home appliance and add it to the home appliance group.
[0072] After completing the grouping of home appliances, if a new home appliance is added (i.e., a fourth home appliance), this embodiment provides a method for adding the fourth home appliance to the home appliance group, including: determining the fourth home appliance and the target home appliance group; determining whether the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group is an empty set; if not, assigning the fourth home appliance to the target home appliance group.
[0073] For example, a target home appliance group consisting of ceiling lights and scrolling lights has already been formed, and the characteristic set of the target home appliance group is groupTypeList = [A]. If a fourth home appliance is to be added to this target home appliance group, the group characteristics of this fourth home appliance must include characteristic A in order to have an intersection with the existing target home appliance group's groupTypeList and thus be added to the existing target home appliance group.
[0074] After classifying the fourth home appliance into the target home appliance group, this embodiment can also take the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group as the characteristic set of the target home appliance group.
[0075] To determine whether a fourth appliance can be added to the target appliance group already formed in the previous steps, it is necessary to check if the intersection of the fourth appliance's `groupTypeList` and the existing target appliance group's `commonTypeList`, `newCommonTypeList`, is empty. If it is empty, the appliance cannot be added; otherwise, it can be added. Then, the content of `commonTypeList` is updated to the value of `newCommonTypeList`.
[0076] This embodiment can create a button for grouping home appliances. If it is determined that the target home appliances cannot be grouped together, the button is grayed out and cannot be clicked; if it is determined that the target home appliances can be grouped together, the button is clickable. After clicking, the user can enter the group name in a pop-up window, and after confirmation, the group creation is complete.
[0077] Once a home appliance group is created, the target home appliances selected by the user can be merged into the same group card. Users can click on the group card to jump to the online control device page for that group and control multiple home appliances.
[0078] The method provided in this embodiment of the invention can use a grouping characteristic as a marker for home appliances, summarize the grouping markers of a single home appliance into a characteristic set, and then confirm whether the home appliances can be divided into the same group by comparing whether the intersection between the individual characteristic sets is empty.
[0079] For example, users can create a home appliance group by combining ceiling lights and scrolling lights. By accessing the control page of this home appliance group, users can control the on / off state and brightness of all the lights (ceiling lights and scrolling lights) in the group with just one operation.
[0080] Example 3:
[0081] Corresponding to the above method embodiments, this invention provides a grouping device for home appliances, see [link to relevant documentation]. Figure 3 The diagram shows a structural schematic of a grouping device for household appliances. The grouping device for household appliances includes:
[0082] The home appliance acquisition module 31 is used to acquire multiple home appliances to be grouped.
[0083] The feature set determination module 32 is used to determine the feature set corresponding to each home appliance; wherein, the feature set corresponding to the first home appliance includes the grouping features of the first home appliance; or, the feature set corresponding to the first home appliance includes the grouping features of the first home appliance and the grouping features of other home appliances, wherein the other home appliances are home appliances other than the first home appliance.
[0084] The home appliance grouping module 33 is used to identify multiple target home appliances and group them based on the characteristic set corresponding to the multiple target home appliances.
[0085] The present invention provides a grouping device for home appliances, which can automatically group home appliances according to their grouping characteristics and characteristic sets, thereby avoiding grouping multiple home appliances that cannot be divided into the same group, thus improving the user experience.
[0086] The grouping characteristics of the aforementioned home appliances are represented by numbers or characters, and the grouping characteristics of each home appliance are different.
[0087] The aforementioned feature set determination module is used to select a second home appliance from the home appliances whose feature sets have not been determined; create an empty second feature set for the second home appliance and add the grouping features of the second home appliance to the second feature set; determine the grouping relationship between the second home appliance and each home appliance whose feature sets have been determined; add the grouping features of the home appliances whose feature sets have been determined to the second feature set based on the grouping relationship; and continue to execute the step of selecting a second home appliance from the home appliances whose feature sets have not been determined until each home appliance has a corresponding feature set determined.
[0088] The aforementioned feature set determination module is used to add the grouping characteristics of the third appliance to the second feature set if the grouping relationship characterizes the second appliance and the third appliance in the determined feature set to be classified into the same appliance group.
[0089] The aforementioned home appliance grouping module is used to respond to the user's device selection operation and determine the multiple target home appliances corresponding to the device selection operation.
[0090] The aforementioned home appliance grouping module is used to determine whether the intersection of the characteristic sets corresponding to multiple target home appliances is an empty set; if not, the multiple target home appliances are grouped into the same home appliance group.
[0091] The aforementioned home appliance grouping module is also used to take the intersection of the characteristic sets corresponding to multiple target home appliances as the characteristic set of the home appliance group.
[0092] See Figure 4The diagram shows another type of home appliance grouping device. This device further includes a home appliance group updating module 34, which is connected to the home appliance grouping module 33. The home appliance group updating module 34 is used to determine the fourth home appliance and the target home appliance group; determine whether the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group is an empty set; if not, assign the fourth home appliance to the target home appliance group.
[0093] The aforementioned home appliance group update module is also used to take the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group as the characteristic set of the target home appliance group.
[0094] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the grouping device for household appliances described above can be referred to the corresponding process in the embodiments of the aforementioned grouping method for household appliances, and will not be repeated here.
[0095] Example 4:
[0096] This invention also provides an electronic device for operating the above-mentioned grouping method for home appliances; see [link to previous document]. Figure 5 The diagram shows the structure of an electronic device, which includes a memory 100 and a processor 101. The memory 100 is used to store one or more computer instructions, which are executed by the processor 101 to implement the grouping method of the aforementioned home appliances.
[0097] Furthermore, Figure 5 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 101, the communication interface 103 and the memory 100 connected via the bus 102.
[0098] The memory 100 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0099] Processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 101 or by instructions in software form. Processor 101 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it 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 gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 100, and processor 101 reads information from memory 100 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0100] This invention also provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are invoked and executed by a processor, they cause the processor to implement the aforementioned grouping method for home appliances. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0101] The computer program product of the grouping method, apparatus and electronic device of home appliances provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0102] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and / or device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0103] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0104] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0105] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0106] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for grouping household appliances, characterized in that, The method includes: Retrieve multiple home appliances to be grouped; Determine the characteristic set corresponding to each of the aforementioned home appliances; wherein, the characteristic set corresponding to the first home appliance includes the grouping characteristics of the first home appliance; or, the characteristic set corresponding to the first home appliance includes the grouping characteristics of the first home appliance and the grouping characteristics of other home appliances, wherein the other home appliances are home appliances other than the first home appliance. Identify multiple target home appliances and group them based on the characteristic sets corresponding to the multiple target home appliances; The step of determining the characteristic set corresponding to each of the aforementioned home appliances includes: selecting a second home appliance from the home appliances whose characteristic sets have not been determined; creating an empty second characteristic set for the second home appliance and adding the grouping characteristics of the second home appliance to the second characteristic set; determining the grouping relationship between the second home appliance and each home appliance whose characteristic sets have been determined; adding the grouping characteristics of the home appliances whose characteristic sets have been determined to the second characteristic set based on the grouping relationship; and continuing to execute the step of selecting a second home appliance from the home appliances whose characteristic sets have not been determined until each of the aforementioned home appliances has a corresponding characteristic set determined. The step of adding the grouping characteristics of home appliances with a determined characteristic set to the second characteristic set based on the grouping relationship includes: if the grouping relationship indicates that the second home appliance and the third home appliance with a determined characteristic set are classified into the same home appliance group, the grouping characteristics of the third home appliance are added to the second characteristic set; The step of grouping multiple target home appliances based on the characteristic sets corresponding to multiple target home appliances includes: determining whether the intersection of the characteristic sets corresponding to multiple target home appliances is an empty set; if not, grouping multiple target home appliances into the same home appliance group.
2. The method according to claim 1, characterized in that, The grouping characteristics of the home appliances are represented by numbers or characters, and the grouping characteristics of each home appliance are different.
3. The method according to claim 1, characterized in that, The steps to identify multiple target home appliances include: In response to a user's device selection operation, identify multiple target home appliances corresponding to the device selection operation.
4. The method according to claim 1, characterized in that, After the step of grouping multiple target home appliances into the same home appliance group, the method further includes: The intersection of the characteristic sets corresponding to multiple target home appliances is taken as the characteristic set of the home appliance group.
5. The method according to claim 4, characterized in that, After grouping the multiple target home appliances based on their corresponding feature sets, the method further includes: Identify the fourth household appliance and the target household appliance group; Determine whether the intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group is an empty set; If not, the fourth home appliance is assigned to the target home appliance group.
6. The method according to claim 5, characterized in that, After the step of assigning the fourth home appliance to the target home appliance group, the method further includes: The intersection of the characteristic set corresponding to the fourth home appliance and the characteristic set of the target home appliance group is taken as the characteristic set of the target home appliance group.
7. A grouping device for household appliances, characterized in that, The device includes: The home appliance acquisition module is used to acquire multiple home appliances to be grouped. A feature set determination module is used to determine the feature set corresponding to each of the home appliances; wherein, the feature set corresponding to the first home appliance includes the grouping features of the first home appliance; or, the feature set corresponding to the first home appliance includes the grouping features of the first home appliance and the grouping features of other home appliances, wherein the other home appliances are home appliances other than the first home appliance. The home appliance grouping module is used to identify multiple target home appliances and group the multiple target home appliances based on the characteristic set corresponding to the multiple target home appliances; The feature set determination module is used to select a second home appliance from the home appliances with undetermined feature sets; create a new empty second feature set for the second home appliance and add the grouping features of the second home appliance to the second feature set; determine the grouping relationship between the second home appliance and each home appliance with determined feature sets; add the grouping features of the home appliances with determined feature sets to the second feature set based on the grouping relationship; and continue to execute the step of selecting a second home appliance from the home appliances with undetermined feature sets until each home appliance has a corresponding feature set determined. The feature set determination module is used to add the grouping characteristics of the third appliance to the second feature set if the grouping relationship indicates that the second appliance and the third appliance in the determined feature set are classified into the same appliance group. The home appliance grouping module is used to determine whether the intersection of the characteristic sets corresponding to multiple target home appliances is an empty set; if not, the multiple target home appliances are grouped into the same home appliance group.
8. An electronic device, characterized in that, It includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the grouping method of home appliances according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the grouping method for home appliances as described in any one of claims 1 to 6.