Household appliance control method and device, equipment and medium
By detecting the offline status of home appliances at the user terminal and obtaining routing information from the cloud platform, and judging and re-guiding the networking of home appliances, the offline problem of equipment caused by routing password modification is solved, and the efficiency of home appliances and user experience is improved.
Patent Information
- Application Number
- CN202310630883.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2024-12-03
AI Technical Summary
After the user changes the home network routing password, the home appliances cannot be connected to the home network, resulting in the device being offline and the user cannot know the specific reasons, which affects the efficiency of use and user experience.
When the user terminal detects the offline status of the home appliance device, it obtains pre-uploaded routing information from the cloud platform, and combines the current routing information to determine whether the device routing information is correct. If it is incorrect, reboot the device to connect to the network through the latest routing information and upload the routing information to The cloud platform uses storage and sharing to ensure that other user terminals can also guide offline devices to re-connect.
It solves the problem that users cannot know the reason why home appliances are offline, improves the efficiency and user experience of equipment, ensures that home appliances can be connected to and used normally, and avoids the offline state of the equipment caused by routing information modification.
Smart Images

Figure CN119071093A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention belong to the field of smart home appliances, and specifically relate to a method, device, equipment and medium for controlling home appliance equipment. Background Art
[0002] With the rapid development of science and technology and the improvement of people's consumption level, users can connect home appliances to the home network and control the home appliances through user terminals to complete corresponding operations, making the control of home appliances more intelligent.
[0003] In the existing home appliance control method, after the user modifies the home network routing password, the home appliance cannot obtain the latest routing password, causing the device to be offline because it cannot connect to the home network.
[0004] However, after the user terminal receives the device offline information, the user cannot know the specific reason why the home appliance is offline, which causes the corresponding task to be unable to be performed, resulting in a bad user experience. Summary of the invention
[0005] In order to solve the above-mentioned problem in the prior art, that is, to solve the problem that when a user terminal receives device offline information, the user cannot know the specific reason why the home appliance is offline, thereby causing the corresponding task to be unable to be performed, resulting in a bad user experience. The embodiments of the present invention provide a method, device, equipment and medium for controlling home appliances.
[0006] In a first aspect, an embodiment of the present invention provides a method for controlling a household appliance, which is applied to the field of smart home. The method includes:
[0007] When the user terminal detects that the network state of the current home appliance is offline, first routing information is obtained from the cloud platform; the first routing information is the routing information pre-uploaded to the cloud platform when the home appliance is in the network state;
[0008] Acquire second routing information of the user terminal, where the second routing information is routing information of a network to which the user terminal is currently connected;
[0009] Determining whether the first routing information of the home appliance is correct according to the first routing information and the second routing information;
[0010] If it is incorrect, the home appliance is redirected to connect to the network according to the second routing information.
[0011] Optionally, determining whether the first routing information of the household appliance is correct according to the first routing information and the second routing information includes:
[0012] Acquire a first router name and a first routing password from the first routing information;
[0013] Acquire a second router name and a second router password from the second routing information;
[0014] When the first router name is the same as the second router name, if the first routing password is different from the second routing password, the first routing information is incorrect.
[0015] Optionally, before acquiring the first routing information from the cloud platform, the method further includes:
[0016] After the user terminal guides the home appliance to connect to the network, acquiring the first routing information of the current network, wherein the user terminal and the home appliance are connected to the same router;
[0017] The identification of the household appliance and the first routing information are associated and uploaded to the cloud platform, so that the cloud platform stores the identification of the household appliance and the first routing information in an associated manner.
[0018] Optionally, after the home appliance is rebooted to connect to the Internet, the method further includes:
[0019] The identification of the household appliance and the second routing information are associated and uploaded to the cloud platform, so that the cloud platform stores the identification of the household appliance and the second routing information in an associated manner.
[0020] Optionally, the plurality of household appliances and the plurality of user terminals form a family network, the first routing information and the second routing information further include a family identifier, and the cloud platform is specifically used for:
[0021] storing the first routing information and the second routing information according to the family identifier;
[0022] Determining whether the first routing information and the second routing information are consistent;
[0023] If not, the route change information is sent to other user terminals in the home network, so that the other user terminals guide other offline home appliances to reconnect to the network, and the route change information includes the second route information.
[0024] Optionally, after redirecting the home appliance to connect to the Internet according to the second routing information, the method further includes:
[0025] Acquire a home networking list, where the home networking list stores other home appliances in the same home networking as the user terminal;
[0026] Get the network status of each other home appliance;
[0027] If there are other offline home appliances whose network status is offline, then the other offline home appliances are redirected to connect to the network in sequence according to the second routing information.
[0028] Optionally, the step of redirecting the other offline household appliances to connect to the Internet in sequence according to the second routing information includes:
[0029] Obtain the usage frequency of each other offline home appliance;
[0030] Determine the priority of each other offline home appliance according to the usage frequency;
[0031] According to the priority of each other offline home appliance, the other offline home appliances are redirected to connect to the network in turn.
[0032] In a second aspect, an embodiment of the present invention provides a washing machine control device, comprising:
[0033] A first acquisition module: when the user terminal detects that the network state of the current home appliance is offline, acquires first routing information from the cloud platform; the first routing information is the routing information pre-uploaded to the cloud platform when the home appliance is in the network state;
[0034] A second acquisition module: acquires second routing information of the user terminal, where the second routing information is routing information of a network to which the user terminal is currently connected;
[0035] A determination module: determining whether the first routing information of the home appliance is correct according to the first routing information and the second routing information;
[0036] A boot module: if the first routing information of the home appliance is incorrect, then the home appliance is rebooted to connect to the Internet according to the second routing information.
[0037] Optionally, the first acquisition module is further used to acquire a first router name and a first routing password from the first routing information;
[0038] The second acquisition module is further used to acquire a second router name and a second routing password from the second routing information;
[0039] The determination module is further configured to determine that the first routing information is incorrect if the first routing password is different from the second routing password when the first router name is the same as the second router name.
[0040] Optionally, the device further includes: an uploading module;
[0041] The first acquisition module is further configured to acquire the first routing information of the current network after the user terminal guides the home appliance to connect to the network, wherein the user terminal and the home appliance are connected to the same router;
[0042] The uploading module is used to associate the identification of the home appliance with the first routing information and upload it to the cloud platform, so that the cloud platform can associate and store the identification of the home appliance with the first routing information.
[0043] Optionally, the uploading module is further used to associate the identification of the home appliance with the second routing information and upload them to the cloud platform, so that the cloud platform associates and stores the identification of the home appliance with the second routing information.
[0044] Optionally, the device further includes: a storage module and a judgment module;
[0045] The storage module is used to store the first routing information and the second routing information according to the family identifier when multiple home appliances and multiple user terminals are networked as a family;
[0046] The judging module is used to judge whether the first routing information is consistent with the second routing information;
[0047] The guiding module is also used to send routing change information to other user terminals in the home network when the first routing information and the second routing information are inconsistent, so that other user terminals can guide other offline home appliances to reconnect to the network, and the routing change information includes the second routing information.
[0048] Optionally, the device further includes: a third acquisition module:
[0049] The third acquisition module is used to acquire a home networking list, where the home networking list stores other home appliances in the same home networking as the user terminal; and acquire the network status of each other home appliance;
[0050] The guiding module is further used for, when there are other offline home appliances whose network status is offline, to sequentially redirect the other offline home appliances to connect to the network according to the second routing information.
[0051] Optionally, the device further includes: a fourth acquisition module;
[0052] The fourth acquisition module is used to acquire the usage frequency of each other offline household appliance;
[0053] The determination module is further used to determine the priority of each other offline household appliance according to the usage frequency;
[0054] The guiding module is further used to redirect the other offline home appliances to connect to the network in sequence according to the priority of each other offline home appliance.
[0055] In a third aspect, an embodiment of the present invention provides a washing machine control device, including: at least one processor and a memory;
[0056] The memory stores computer-executable instructions;
[0057] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the household appliance control method according to any one of claims 1 to 7.
[0058] In a fourth aspect, an embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the household appliance control method described in any one of the first aspects.
[0059] The present application provides a method, device, equipment, and medium for controlling household appliances. When the first user needs to cancel the reservation due to a situation, the first user terminal sends a reservation cancellation application to the cloud computing platform. After receiving the reservation cancellation application from the first user, the cloud computing platform sends an instruction message to the first user terminal, instructing the first user to share the washing and care qualifications within the reservation time period with other users. After receiving the information of the person being shared from the user, the cloud computing platform adds the person being shared to the queue of the shared washing and care equipment according to the information of the person being shared and the reservation time period, and cancels the washing and care qualifications of the first user in the time period, so that the person being shared obtains the washing and care qualifications within the time period. This method avoids the situation in the existing solution that after the user cancels the reservation, if no other user reserves the time period, the shared washing and care equipment will be left vacant, reducing the utilization rate of the shared washing and care equipment. When the user cancels the reservation time period, the user whose washing and care qualifications are shared obtains the washing and care qualifications within the time period, thereby improving the washing and care efficiency of the shared washing and care equipment and avoiding waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The preferred implementation of the household appliance control method of the present invention is described below with reference to the accompanying drawings.
[0061] Figure 1 It is a schematic diagram of a scenario of a household appliance control method provided by the present invention.
[0062] Figure 2 It is a flow chart of the first embodiment of the household appliance control method provided by the present invention.
[0063] Figure 3 It is a flow chart of the second embodiment of the household appliance control method provided by the present invention.
[0064] Figure 4 It is a flow chart of the third embodiment of the household appliance control method provided by the present invention.
[0065] Figure 5 It is a structural schematic diagram of the washing machine control device provided by the present invention.
[0066] Figure 6 It is a structural schematic diagram of a washing machine control device provided by the present invention. DETAILED DESCRIPTION
[0067] First, those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.
[0068] Secondly, it should be noted that in the description of the embodiments of the present invention, the terms "inside", "outside" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings. This is only for the convenience of description and does not indicate or imply that the device or component must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be understood as a limitation on the present invention.
[0069] In addition, it should be noted that in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0070] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0071] With the rapid development of science and technology and the improvement of people's consumption level, users can connect home appliances to the home network and control the home appliances through user terminals to complete corresponding operations; home appliances themselves do not have networking functions, so users need to guide them to connect to the home network through user terminals.
[0072] However, when the user changes the home router password, the home appliance will be offline because it cannot connect to the home network. In the above case, the user can only obtain the offline network status of the home appliance through the user terminal, but cannot obtain the specific reason why the home appliance is offline; this will cause the user terminal to be unable to control the home appliance to perform corresponding operations, thereby making the home appliance inefficient and causing a bad user experience.
[0073] Figure 1 This is a scenario diagram of the home appliance control method provided by the present invention. Family members can control the home appliances connected to the home network through their respective user terminals. The cloud computing platform can store the routing information and home appliance identification of the home appliances in units of families according to the family identification. At the same time, the control information of the home appliances by family members can be sent to the home appliances, so that the home appliances can complete corresponding operations. The family members and home appliances all use the same home network.
[0074] The present application provides a method for controlling home appliances. After a user guides a home appliance to connect to the Internet through a user terminal, the user terminal uploads an identification of the home appliance and corresponding routing information to a cloud platform for storage. When the user uses the home appliance, if it is found that the network status of the home appliance is offline, the user terminal can obtain the routing information of the home appliance stored in the cloud platform and determine the reason why the home appliance is offline by combining the routing information currently used by the user terminal, and then redirect the home appliance to connect to the Internet. At the same time, the user terminals of other family members can continue to guide other offline home appliances to connect to the Internet again.
[0075] The principles and features of the embodiments of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the embodiments of the present invention and are not used to limit the scope of the embodiments of the present invention.
[0076] Figure 2 1 is a flow chart of a first embodiment of a method for controlling household appliances provided by the present invention; Figure 2 As shown, the household appliance control method specifically includes the following steps:
[0077] S201: When the user terminal detects that the network status of the current home appliance is offline, first routing information is obtained from the cloud platform; the first routing information is the routing information pre-uploaded to the cloud platform when the home appliance is in the network status.
[0078] Among them, the user can obtain the current network status of the home appliance through the user terminal, and the network status of the home appliance includes offline and online. It is understandable that because the home appliance itself does not have the function of connecting to the home network, the user needs to guide the home appliance to connect to the home network through the user terminal. After the home appliance is successfully connected to the home network, the user terminal uploads the routing information of the home appliance and the identification of the home appliance to the cloud platform for storage.
[0079] When the user needs to use the home appliance to complete the corresponding operation, if the user terminal detects that the network status of the current home appliance is offline, it means that the current home appliance may be offline due to reasons such as the user modifying the routing password, the home appliance being turned off, etc. The user terminal can further obtain the offline reason by obtaining the first routing information from the cloud platform, that is, the routing information pre-uploaded to the cloud platform when the home appliance is connected to the network as described above, thereby guiding the network status of the home appliance to be turned online.
[0080] S202: Acquire second routing information of the user terminal, where the second routing information is routing information of a network to which the user terminal is currently connected.
[0081] It can be understood that when the user controls the home appliance to complete the corresponding operation through the user terminal, the user terminal is connected to the home network through the router, and the router information is the second routing information, that is, the second routing information is the routing information of the network to which the user terminal is currently connected.
[0082] S203: Determine whether the first routing information of the home appliance is correct according to the first routing information and the second routing information.
[0083] Among them, after the user terminal obtains the first routing information and the second routing information, by comparing whether the routing passwords are the same when the router names are the same, it can determine whether the first routing information of the home appliance is correct, that is, the user terminal can determine whether the first routing information of the home appliance is correct based on the first routing information and the second routing information.
[0084] If the first routing information and the second routing information have the same routing password when the router names are the same, it can be determined that the first routing information is correct routing information. The reason for the home appliance to be offline may be, for example, that the current home appliance is in a powered-off state.
[0085] If the first routing information and the second routing information have different routing passwords when the router names are the same, it can be determined that the first routing information of the home appliance is incorrect routing information. The reason why the current device is offline may be, for example, that the user has modified the routing password of the home network. It can be understood that in the above case, the routing password of the router to which the current user terminal is connected is different from the routing password of the router to which the home appliance is connected, and the routing password used by the current user terminal is the correct routing password after the user has modified the routing password.
[0086] S204: If it is incorrect, then redirect the home appliance to connect to the Internet according to the second routing information.
[0087] If the first routing information is incorrect, it can be determined that the offline reason of the current home appliance is that the user has modified the routing password of the home network. Since the home appliance itself does not have a networking function, the user needs to redirect the home appliance to connect to the network through the user terminal.
[0088] It can be understood that the routing information of the user terminal that is currently in a normal networking state, that is, the second routing information can be used as reference routing information. The user can redirect the home appliance to the network according to the second routing information, so that the network state of the user terminal is converted to an online state, and then the user can control the home appliance through the user terminal to complete the corresponding operation.
[0089] The home appliance control method provided in this embodiment, when the user terminal detects that the home appliance to be used by the current user is in an offline state, obtains the routing information of the home appliance that was previously uploaded to the cloud platform when the home appliance was in an online state from the cloud platform, and judges whether the routing information of the home appliance is correct in combination with the routing information of the current user terminal, and then obtains the offline reason of the home appliance, so that the user terminal can redirect the home appliance to connect to the network. This avoids the situation where the home appliance cannot connect to the network and displays an offline state due to the user modifying the routing information, and the user cannot know the specific reason, thereby improving the use efficiency of the home appliance and the user experience.
[0090] Figure 3 It is a flow chart of a second embodiment of the household appliance control method provided by the present invention; Figure 3 exist Figure 2 Based on the detailed description of the home appliance networking method, offline reason determination process and reconnection method, such as Figure 3 As shown, the method includes:
[0091] S301: After the user terminal guides the home appliance to connect to the Internet, first routing information of the current network is obtained.
[0092] Among them, when the network status of the home appliance is offline, the user needs to guide the home appliance to reconnect to the network through the user terminal. It is understandable that the user also needs to perform the above operation when using the home appliance for the first time, so as to make the network status of the home appliance online. After the user terminal guides the home appliance to connect to the network, the user terminal obtains the routing information of the current home appliance connecting to the network, that is, the first route of the current network.
[0093] S302: Upload the identification of the home appliance and the first routing information in association with each other to the cloud platform, so that the cloud platform stores the identification of the home appliance and the first routing information in association with each other.
[0094] Different home appliances in the home have different identifiers to distinguish the home appliances. After obtaining the routing information of the current home appliance network, i.e., the first routing information, the user terminal associates the identifier of the home appliance with the first routing information and uploads it to the cloud platform, which associates and stores the identifier of the home appliance with the first routing information.
[0095] S303: When the user terminal detects that the network status of the current home appliance is offline, obtain first routing information from the cloud platform.
[0096] Among them, the user can obtain the network status of the current home appliance through the user terminal. If the user terminal detects that the network status of the current home appliance is offline, it means that the current home appliance may be offline due to reasons such as the user modifying the routing password or shutting down the home appliance.
[0097] The user terminal can obtain the first routing information from the cloud platform, that is, the routing information uploaded to the cloud platform in advance when the home appliance is connected to the network as mentioned above, and further derive the offline reason of the home appliance, thereby guiding the network status of the home appliance to be changed to an online status.
[0098] S304: Acquire second routing information of the user terminal.
[0099] When the user controls the home appliance to complete the corresponding operation through the user terminal, the routing information of the router connected to the user terminal is the correct routing information, and the router information is the second routing information. The user can further derive the offline reason of the home appliance according to the second routing information, thereby guiding the network status of the home appliance to be turned online.
[0100] S305: Acquire a first router name and a first routing password from the first routing information.
[0101] The user terminal obtains the first router name and the first routing password from the first routing information, that is, the routing information pre-uploaded to the cloud platform when the home appliance is in a networked state.
[0102] S306: Acquire a second router name and a second routing password from the second routing information.
[0103] The user terminal obtains the second router name and the second routing password from the second routing information, that is, the routing information of the network to which the user terminal is currently connected.
[0104] S307: When the first router name and the second router name are the same, determine whether the first routing password and the second routing password are the same. If so, execute S308; if not, the process ends.
[0105] After the user terminal obtains the first routing information and the second routing information, the user terminal can determine whether the first routing information of the home appliance is correct by comparing whether the passwords of the first routing information and the second routing information are the same when the router names are the same.
[0106] If the first routing information and the second routing information have the same routing password when the router name is the same, it can be determined that the first routing information is correct routing information, and the reason why the network status of the current device is offline may be that the current device is in a powered-off state.
[0107] If the first routing information and the second routing information have different routing passwords when the router names are the same, it can be determined that the first routing information of the home appliance is incorrect routing information. The reason why the current network status of the device is offline may be that the user has modified the routing password of the home network.
[0108] S308: Determine that the first routing information is incorrect.
[0109] It can be understood that if the first routing information and the second routing information have different routing passwords when the router name is the same, that is, the routing password connected to the current user terminal is different from the routing password connected to the home appliance, and the routing password used by the current user terminal is the correct routing password after the user modifies the routing password, it can be determined that the first routing information of the home appliance is incorrect routing information.
[0110] S309: Redirecting the home appliance to connect to the Internet according to the second routing information.
[0111] Among them, because the current networking state of the user terminal is normal, the routing information of the network to which the user terminal is currently connected, that is, the second routing information, can be used as reference routing information. The user can redirect the home appliance to the network according to the second routing information, so that the network state of the user terminal is converted to an online state, and then the user can control the home appliance through the user terminal to complete the corresponding operation.
[0112] S310: Upload the identification of the home appliance and the second routing information in association with each other to the cloud platform so that the cloud platform can store the identification of the home appliance and the second routing information in association with each other.
[0113] Among them, when the user terminal redirects the home appliance to the Internet according to the second routing information, the user terminal associates the identification of the home appliance and the second routing information and uploads it to the cloud platform. The second routing information is the routing information used after the home appliance is reconnected to the Internet. The cloud platform associates and stores the identification of the home appliance and the second routing information.
[0114] In the home appliance control method provided in this embodiment, after the user guides the home appliance to connect to the Internet through the user terminal, the user terminal uploads the home appliance identification and corresponding routing information to the cloud platform for storage. When the user uses the home appliance, if the device network status is found to be offline, the user terminal can obtain the routing information of the home appliance stored in the cloud platform and the routing information currently used by the user terminal, determine whether the routing passwords corresponding to the above routing information are the same when the router names are the same, and then determine the reason why the home appliance is offline, and redirect the home appliance to connect to the Internet, and at the same time, associate the identification of the home appliance with the new routing information corresponding to the home appliance and upload them to the cloud platform for storage. This avoids the situation where the home appliance cannot connect to the Internet and displays an offline status due to the user modifying the routing information, and the user cannot know the specific reason, thereby improving the use efficiency of the home appliance and the user experience.
[0115] Figure 4 It is a flowchart of Embodiment 3 of the household appliance control method provided by the present invention; Figure 4 exist Figure 2 , 3 Based on this, a detailed description is given of the method for other family members to guide other offline home appliances to reconnect to the network, such as Figure 4 As shown, the method includes:
[0116] S401: Storing the first routing information and the second routing information according to the family identifier.
[0117] Among them, when multiple home appliances and multiple user terminals are networked as a family, the first routing information and the second routing information also include a family identifier. The cloud platform stores the received first routing information and the second routing information according to the family identifier. It can be understood that the first routing information and the second routing information of the same family have the same family identifier.
[0118] S402: Determine whether the first routing information and the second routing information are consistent, if so, execute S403, if not, the process ends.
[0119] The first routing information is the routing information uploaded to the cloud platform in advance when the home appliance is in the network state, and the second routing information is the routing information of the network to which the user terminal is currently connected. After guiding the home appliance to the network, the user terminal uploads the second routing information to the cloud platform. The cloud platform compares whether the first routing information and the second routing information are consistent, that is, compares whether the routing passwords of the first routing information and the second routing information are the same when the routing names are the same. If the routing passwords of the first routing information and the second routing information are different in the router names, it can be proved that the user has modified the routing password.
[0120] S403: Sending the route change information to other user terminals in the home network, so that the other user terminals can guide other offline home appliances to reconnect to the network.
[0121] If the first routing information and the second routing information have different routing passwords when the router names are the same, it proves that the user has modified the routing information of the home network after guiding the home appliances to connect to the network. The cloud platform sends the routing change information to other user terminals in the home network. After receiving the routing change information, other family members can guide other offline home appliances to connect to the network again through their own user terminals.
[0122] S404: Obtain a home networking list and the network status of each other home appliance.
[0123] Among them, when multiple home appliances and multiple user terminals are networked in a home, the home networking list stores the identifiers of all home appliances in the home. The user terminal can obtain information about all home appliances in the home based on the identifiers of the home appliances, and then obtain the network status of the home appliances.
[0124] S405: Determine whether there are other home appliances whose network status is offline. If yes, execute S406; if no, the process ends.
[0125] When the user terminal determines that there are still home appliances whose network status is offline in the current home, the user terminal can guide the home appliances to reconnect to the network.
[0126] S406: Redirecting other offline home appliances to connect to the Internet in sequence according to the second routing information.
[0127] When the user terminal determines that there are still home appliances with offline network status in the current home, the user terminal can redirect other offline home appliances to connect to the network in turn according to the routing information to which it is currently connected, that is, the second routing information. It can be understood that the name and password of the router to which the home appliances that are online after being redirected by the user terminal are connected are the same as the name and password of the router in the second routing information.
[0128] S407: Obtain the usage frequency of each other offline home appliance device, and determine the priority of each other offline device according to the usage frequency.
[0129] Among them, different home appliances have different usage frequencies, and home appliances that are used frequently have high priorities. The user terminal can obtain the usage frequency of each other offline home appliance, and then determine the priority of each other offline home appliance.
[0130] S408: Redirecting the other offline home appliances to connect to the network in sequence according to the priority of each of the other offline home appliances.
[0131] Among them, the user terminal can redirect the other offline home appliances to connect to the Internet in sequence according to the second routing information in order of priority from high to low, that is, in order of frequency of use of the home appliances from high to low, so as to bring the home appliances that are offline due to the user changing the password back online to complete different tasks controlled by the user through the user terminal.
[0132] In the home appliance control method provided in this embodiment, after the user terminal uploads the currently used routing information to the cloud platform, the cloud platform stores the routing information of the home appliance and the routing information currently used by the user terminal with the family as the identifier, and determines whether the routing information is consistent based on the routing information, and then determines the routing information change, and then sends the change information to other user terminals in the home network, so that other user terminals can guide other offline home appliances to reconnect to the network. This avoids the situation where the home appliance cannot connect to the network and displays an offline state due to the user modifying the routing information, and the user cannot know the specific reason; at the same time, it can also guide other offline home appliances to connect to the network in order according to the frequency of use of the home appliance and the priority, thereby improving the use efficiency of the home appliance and the user experience.
[0133] Figure 5 Schematic diagram of the structure of the household appliance control device provided by the present invention. Figure 5 As shown, the home appliance control device 40 includes:
[0134] The first acquisition module 51: when the user terminal detects that the network state of the current home appliance is offline, acquires first routing information from the cloud platform; the first routing information is the routing information pre-uploaded to the cloud platform when the home appliance is in the network state;
[0135] A second acquisition module 52 is configured to acquire second routing information of the user terminal, where the second routing information is routing information of a network to which the user terminal is currently connected;
[0136] Determining module 53: determining whether the first routing information of the household appliance is correct according to the first routing information and the second routing information;
[0137] The guiding module 54 is configured to redirect the home appliance to connect to the Internet according to the second routing information if the first routing information of the home appliance is incorrect.
[0138] Optionally, the first acquisition module 51 is further configured to acquire a first router name and a first routing password from the first routing information;
[0139] The second acquisition module 52 is further used to obtain a second router name and a second routing password from the second routing information;
[0140] The determination module 53 is further configured to determine that the first routing information is incorrect if the first router name is the same as the second router name and the first routing password is different from the second routing password.
[0141] Optionally, the device further includes: an uploading module 55;
[0142] The first acquisition module 51 is further configured to acquire the first routing information of the current network after the user terminal guides the home appliance to connect to the network, wherein the user terminal and the home appliance are connected to the same router;
[0143] The uploading module 55 is used to associate the identification of the home appliance with the first routing information and upload it to the cloud platform, so that the cloud platform can associate and store the identification of the home appliance with the first routing information.
[0144] Optionally, the uploading module 55 is further used to associate the identification of the household appliance with the second routing information and upload them to the cloud platform, so that the cloud platform associates and stores the identification of the household appliance with the second routing information.
[0145] Optionally, the device further includes: a storage module 56 and a judgment module 57;
[0146] The storage module 56 is used to store the first routing information and the second routing information according to the family identifier when multiple home appliances and multiple user terminals are networked as a family;
[0147] The judging module 57 is used to judge whether the first routing information and the second routing information are consistent;
[0148] The guiding module 54 is also used to send routing change information to other user terminals in the home network when the first routing information and the second routing information are inconsistent, so that other user terminals can guide other offline home appliances to reconnect to the network, and the routing change information includes the second routing information.
[0149] Optionally, the device further includes: a third acquisition module 58:
[0150] The third acquisition module 58 is used to acquire a home networking list, where the home networking list stores other home appliances in the same home networking as the user terminal; and acquire the network status of each other home appliance;
[0151] The guiding module 54 is further configured to, when there are other offline home appliances whose network status is offline, sequentially redirect the other offline home appliances to connect to the network according to the second routing information.
[0152] Optionally, the device further includes: a fourth acquisition module 59;
[0153] The fourth acquisition module 59 is used to acquire the usage frequency of each other offline household appliance;
[0154] The determination module 53 is further used to determine the priority of each other offline household appliance according to the usage frequency;
[0155] The guiding module 54 is further used to redirect the other offline home appliances to connect to the network in sequence according to the priority of each other offline home appliance.
[0156] Figure 6 : is a structural schematic diagram of a household appliance control device provided by the present invention, wherein the household appliance control device comprises:
[0157] at least one processor and memory;
[0158] The memory stores computer-executable instructions;
[0159] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the household appliance control method according to any one of claims 1 to 7.
[0160] The present invention also provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the household appliance control method described in any one of the first aspects.
[0161] 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 program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention 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 devices. The computer instructions 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 instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, 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 or a data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling a household appliance, characterized in that: The method comprises: When the user terminal detects that the network state of the current home appliance is offline, first routing information is obtained from the cloud platform; the first routing information is the routing information pre-uploaded to the cloud platform when the home appliance is in the network state; Acquire second routing information of the user terminal, where the second routing information is routing information of a network to which the user terminal is currently connected; Determining whether the first routing information of the home appliance is correct according to the first routing information and the second routing information; If it is incorrect, the home appliance is redirected to connect to the network according to the second routing information.
2. The method according to claim 1, characterized in that: The determining, according to the first routing information and the second routing information, whether the first routing information of the household appliance is correct includes: Acquire a first router name and a first routing password from the first routing information; Acquire a second router name and a second router password from the second routing information; When the first router name is the same as the second router name, if the first routing password is different from the second routing password, the first routing information is incorrect.
3. The method according to claim 1, characterized in that Before obtaining the first routing information from the cloud platform, the method further includes: After the user terminal guides the home appliance to connect to the network, acquiring the first routing information of the current network, wherein the user terminal and the home appliance are connected to the same router; The identification of the household appliance and the first routing information are associated and uploaded to the cloud platform, so that the cloud platform stores the identification of the household appliance and the first routing information in an associated manner.
4. The method according to claim 1, characterized in that: After the home appliance is rebooted to connect to the network, the method further includes: The identification of the household appliance and the second routing information are associated and uploaded to the cloud platform, so that the cloud platform stores the identification of the household appliance and the second routing information in an associated manner.
5. The method according to claim 4, characterized in that A plurality of household appliances and a plurality of user terminals are networked as a family, the first routing information and the second routing information further include a family identifier, and the cloud platform is specifically used for: storing the first routing information and the second routing information according to the family identifier; Determining whether the first routing information and the second routing information are consistent; If not, the route change information is sent to other user terminals in the home network, so that the other user terminals guide other offline home appliances to reconnect to the network, and the route change information includes the second route information.
6. The method according to claim 1, characterized in that After the home appliance is redirected to connect to the network according to the second routing information, the method further includes: Acquire a home networking list, where the home networking list stores other home appliances in the same home networking as the user terminal; Get the network status of each other home appliance; If there are other offline home appliances whose network status is offline, then the other offline home appliances are redirected to connect to the network in sequence according to the second routing information.
7. The method according to claim 6, characterized in that The step of sequentially redirecting the other offline household appliances to connect to the Internet according to the second routing information includes: Obtain the usage frequency of each other offline home appliance; Determine the priority of each other offline home appliance according to the usage frequency; According to the priority of each other offline home appliance, the other offline home appliances are redirected to connect to the network in turn.
8. A household appliance control device, characterized in that: include: A first acquisition module: when the user terminal detects that the network status of the current home appliance is offline, acquires the first routing information from the cloud platform; The first routing information is routing information uploaded to the cloud platform in advance when the home appliance is in a networked state; A second acquisition module: acquires second routing information of the user terminal, where the second routing information is routing information of a network to which the user terminal is currently connected; A determination module: determining whether the first routing information of the home appliance is correct according to the first routing information and the second routing information; A boot module: if the first routing information of the home appliance is incorrect, then the home appliance is rebooted to connect to the Internet according to the second routing information.
9. A household appliance control device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the household appliance control method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the household appliance control method as described in any one of claims 1 to 7 is implemented.
