A washing machine remote control method, device, equipment and storage medium
By using temporary authorization information in shared washing machines and determining the validity period based on location or washing program, the problem of difficulty in rationalizing remote control of shared washing machines is solved, and orderly use and safe control of washing machines are achieved.
Patent Information
- Application Number
- CN202010450383.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-05-25
AI Technical Summary
It is difficult to rationalize the remote control of shared washing machines, leading to irregular use.
By establishing temporary authorization information between the washing machine and the handheld device, the validity period of the authorization information is determined based on the location of the washing machine or the washing program, ensuring that only users within the validity period can perform control operations.
It achieves reasonable control of the washing machine, ensures orderly use, facilitates subsequent user control, and improves the efficiency and safety of the washing machine.
Smart Images

Figure CN113718465B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to a washing machine, and more particularly to a washing machine remote control method, device, equipment and storage medium. Background Art
[0002] Washing machines are a must-have household appliance. With the development of technology, washing machines have become more intelligent and convenient. Washing machines are constantly developing in terms of washing cleanliness, water saving, energy saving, and aesthetic appearance. Washing machines with many new functions have emerged, such as washing machines that can be remotely controlled.
[0003] Among them, the remote control of the washing machine needs to be bound to the user's handheld device, so as to realize the remote control of the washing machine by the handheld device. However, when the washing machine is shared, it is difficult to realize the reasonable control of the washing machine, which leads to the improper use of the washing machine. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, equipment and storage medium for remotely controlling a washing machine, which can realize reasonable control of the washing machine, make the washing machine use orderly, and facilitate subsequent users to control the washing machine.
[0005] In a first aspect, an embodiment of the present invention provides a remote control method for a washing machine, the method being applied to a washing machine, the method comprising:
[0006] When the washing machine and the handheld device are in the same local area network, receiving a first control request sent by the handheld device; wherein the first control request carries temporary authorization information of the handheld device;
[0007] Determining whether the temporary authorization information is within a validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0008] If so, a corresponding operation is performed based on the first control request, and a notification message of successful control based on the first control request is sent to the handheld device.
[0009] In a second aspect, an embodiment of the present invention further provides a washing machine remote control method, the method being applied to a handheld device, the method comprising:
[0010] When the handheld device and the washing machine are in the same local area network, sending a first control request to the washing machine; wherein the first control request carries temporary authorization information of the handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0011] When the temporary authorization information is within a validity period, a notification message of successful control based on the first control request fed back by the washing machine is received.
[0012] In a third aspect, an embodiment of the present invention further provides a remote control method for a washing machine, the method being applied to a server, the method comprising:
[0013] Receiving identification information of the washing machine and identification information of the handheld device, and binding the identification information of the washing machine and the identification information of the handheld device;
[0014] Determine temporary authorization information of the handheld device based on the bound information;
[0015] The location of the washing machine is determined based on the identification information of the washing machine, and the validity period of the temporary authorization information is determined based on the location of the washing machine and the received washing program of the washing machine.
[0016] In a fourth aspect, an embodiment of the present invention provides a device, including:
[0017] one or more processors;
[0018] a storage device for storing one or more programs,
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the embodiment of the present invention.
[0020] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided by the embodiment of the present invention.
[0021] The technical solution provided by the embodiment of the present invention is that when the washing machine and the handheld device are in the same local area network, the washing machine receives the first control request sent by the handheld device, and when it is determined that the temporary authorization information of the handheld device carried by the first control request is within the validity period, the washing machine performs a corresponding operation based on the first control request, and feeds back a notification message of successful control, wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or the determined washing program. That is, when the washing machine receives the first control request sent by the handheld device, if it is determined that the temporary authorization information of the handheld device is within the validity period, the washing machine performs a corresponding operation based on the first control request, wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or the determined washing program. The technical solution provided by the embodiment of the present invention can control the washing machine as needed, can realize reasonable control of the washing machine, make the washing machine use orderly, and facilitate subsequent users to control the washing machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of a washing machine remote control method provided by an embodiment of the present invention;
[0023] Figure 2a is a flow chart of a washing machine remote control method provided by an embodiment of the present invention;
[0024] Figure 2b It is a flow chart of the washing machine reporting status change information;
[0025] Figure 3 is a flow chart of a washing machine remote control method provided by an embodiment of the present invention;
[0026] Figure 4 is a flow chart of a washing machine remote control method provided by an embodiment of the present invention;
[0027] Figure 5 is a flow chart of a washing machine remote control method provided by an embodiment of the present invention;
[0028] Figure 6a is a flow chart of a washing machine remote control method provided by an embodiment of the present invention;
[0029] Figure 6b It is a schematic structural diagram of a washing machine remote control system provided by an embodiment of the present invention;
[0030] Figure 6c It is a temporary authorization flow chart for handheld devices;
[0031] Figure 6d It is the control flow chart of the washing machine;
[0032] Figure 7 This is a structural block diagram of a washing machine remote control device provided by an embodiment of the present invention;
[0033] Figure 8 This is a structural block diagram of a washing machine remote control device provided by an embodiment of the present invention;
[0034] Fig. 9 This is a structural block diagram of a washing machine remote control device provided by an embodiment of the present invention;
[0035] Fig.10 It is a structural schematic diagram of a device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0037] Figure 1 This is a flow chart of a washing machine remote control method provided by an embodiment of the present invention. The method can be executed by a washing machine remote control device, which can be implemented by software and / or hardware, and can be configured in a washing machine. The method can be applied to scenarios where users use shared washing machines, where a shared washing machine is a washing machine that can be authorized to multiple users in sequence. Figure 1 As shown, the technical solution provided by the embodiment of the present invention includes:
[0038] S110: When the washing machine and the handheld device are in the same local area network, receiving a first control request sent by the handheld device; wherein the first control request carries temporary authorization information of the handheld device.
[0039] In an embodiment of the present invention, the washing machine can determine whether it is in the same local area network as the handheld device. For example, the judgment can be made by searching the local area network for the identification of the handheld device. When the identification information of the handheld device is searched, it can be determined that the washing machine and the handheld device are in the same local area network. When the identification information of the handheld device is not searched, it can be determined that the washing machine and the handheld device are not in the same local area network. The handheld device can be a smart phone, a tablet computer, or other device.
[0040] In an embodiment of the present invention, when a user uses a handheld device to remotely control a washing machine, if the handheld device and the washing machine are in the same local area network, a first control request can be directly sent to the washing machine through the handheld device, wherein the first control request carries temporary authorization information of the handheld device. The generation process of the temporary authorization information can be: the handheld device can obtain the identification information of the washing machine by scanning a QR code, or can obtain the identification information of the washing machine by selecting the washing machine in an application. The handheld device sends the identification information of the washing machine and the identification information of the handheld device to the server, and the server binds the identification information of the washing machine and the identification information of the handheld device, and determines the temporary authorization information of the handheld device based on the bound information. The handheld device can also send some information of the user to the server, and store it corresponding to the temporary authorization information. The server can send the temporary authorization information to the washing machine and the handheld device, and the temporary authorization information is the authorization information corresponding to the binding information of the identification information of the washing machine and the identification information of the handheld device, or can be the authorization information generated based on the identification information of the washing machine and the identification information of the handheld device. The temporary authorization information can be an authorization code, or certificate information with an authorization code.
[0041] S120: Determine whether the temporary authorization information is within the validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program.
[0042] In an embodiment of the present invention, the temporary authorization information has a set validity period. The validity period of the temporary authorization information can be determined by the server, and the washing machine can obtain the validity period corresponding to the temporary authorization information from the server, thereby determining whether the current time is within the validity period of the temporary authorization information, thereby completing the determination of whether the temporary authorization information is within the validity period. Alternatively, the temporary authorization information carries information about the validity period, and the server sends the temporary authorization information to the washing machine, and the washing machine determines whether the current time is within the validity period, thereby completing the determination of the validity period of the temporary authorization information.
[0043] In one implementation of an embodiment of the present invention, the server may determine the validity period of the temporary authorization information based on the location of the washing machine. Specifically, the server may query the location of the corresponding washing machine from the database based on the identification information of the washing machine, thereby determining the validity period of the temporary authorization information based on the location of the washing machine. In one implementation, the server may determine the validity period of the temporary authorization information based on the washing program determined by the washing machine. The location of the washing machine may be the location or place where the washing machine is located, wherein the location of the washing machine may include a laundry, an experience store, or other locations. The location of the washing machine may be used to understand the usage scenario or usage environment of the washing machine, thereby determining the validity period of the temporary authorization information based on the location of the washing machine. The method for determining the washing program of the washing machine may be that the user selects the washing program before the washing machine receives the first control request, and the washing machine sends it to the server and stores it on the server, or it may be other methods.
[0044] In one implementation of the embodiment of the present invention, when the washing machine is located in a washing machine store, the validity period of the temporary authorization information is a first preset time period; when the washing machine is located in an experience store, the validity period of the temporary authorization information is a second preset time period; wherein the first preset time period is greater than the second preset time period. Specifically, when the washing machine is located in a laundry store, the validity period of the temporary authorization information is longer, and when the washing machine is located in an experience store, the validity period of the temporary authorization information is longer. For a washing machine in a washing machine store, a user may need to use the washing machine for a long period of time, so the validity period of the temporary authorization information of the handheld device is set to a longer time to control the washing machine through the handheld device. For a washing machine in an experience store, the user only needs to experience the performance of the washing machine, so in the case of controlling the washing machine through a handheld device, the validity period of the temporary authorization information of the user's handheld device can be set to a shorter time. Among them, when the washing machine store can also pay for the corresponding control time, in the washing machine store, when a user applies for authorization through a handheld device, he cannot authorize other users' handheld devices within the validity period of the handheld device. When the washing machine is in an experience store, it is not necessary to enter the user's information to apply for the control authority of the handheld device, so that the handheld device is authorized.
[0045] Therefore, by determining the validity period of the temporary authorization information of the handheld device based on the location of the washing machine, the validity period of the handheld device can be authorized as needed, making it convenient for different users to use the washing machine.
[0046] In one implementation of the embodiment of the present invention, the validity period of the temporary authorization information corresponding to different washing programs is different. The washing program may be a washing program such as rinsing, spin drying, etc. For example, the validity period of the temporary authorization information corresponding to rinsing may be greater than the validity period of the temporary authorization information corresponding to spin drying. Therefore, by determining the validity period of the temporary authorization through the washing program, the washing machine can be reasonably controlled according to the washing situation to meet the user's needs.
[0047] S130: If yes, execute a corresponding operation based on the first control request, and send a notification message of successful control based on the first control request to the handheld device.
[0048] In the embodiment of the present invention, if the temporary authorization information of the handheld device is within the validity period, the washing machine performs the corresponding operation based on the first control request sent by the handheld device, and sends a notification message of successful control to the handheld device. If the temporary authorization information of the handheld device is not within the validity period, the washing machine determines that the operation of the handheld device is an illegal operation, issues a warning, and does not respond to the first control request.
[0049] The technical solution provided by the embodiment of the present invention is that when the washing machine and the handheld device are in the same local area network, the washing machine receives the first control request sent by the handheld device, and when it is determined that the temporary authorization information of the handheld device carried by the first control request is within the validity period, the washing machine performs a corresponding operation based on the first control request, and feeds back a notification message of successful control, wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or the determined washing program. That is, when the washing machine receives the first control request sent by the handheld device, if it is determined that the temporary authorization information of the handheld device is within the validity period, the washing machine performs a corresponding operation based on the first control request, wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or the determined washing program. The technical solution provided by the embodiment of the present invention can control the washing machine as needed, can realize reasonable control of the washing machine, make the washing machine use orderly, and facilitate subsequent users to control the washing machine.
[0050] Figure 2a This is a flow chart of a washing machine remote control method provided by an embodiment of the present invention. In this embodiment, optionally, the method may further include:
[0051] When the washing machine and the handheld device are not in the same local area network, receiving a second control request sent by the server; wherein the second control request is sent by the handheld device to the server, and the second control request carries temporary authorization information of the handheld device; wherein when the server determines that the temporary authorization information is within the validity period, sending the second control request to the washing machine;
[0052] A corresponding operation is performed based on the second control request, and a notification message of successful control based on the second control request is fed back to the handheld device through the server.
[0053] like Figure 2a As shown, the technical solution provided by the embodiment of the present invention includes:
[0054] S210: Determine whether the washing machine and the handheld device are in the same local area network.
[0055] If so, execute S220; if not, execute S260.
[0056] S220: Receive a first control request sent by a handheld device; wherein the first control request carries temporary authorization information of the handheld device.
[0057] S230: Determine whether the temporary authorization information is within the validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program.
[0058] If so, execute S240; if not, execute S260.
[0059] S240: Execute a corresponding operation based on the first control request, and send a notification message of successful control based on the first control request to the handheld device.
[0060] S250: Determine that the operation is illegal and issue a warning.
[0061] S260: Receive a second control request sent by the server; wherein, the second control request is sent by the handheld device to the server, and the second control request carries temporary authorization information of the handheld device; wherein, when the server determines that the temporary authorization information is within the validity period, the second control request is sent to the washing machine.
[0062] In the embodiment of the present invention, if the washing machine and the handheld device are not in the same local area network, the handheld device sends a second control request for the washing machine to the server, and the second control request carries the temporary authorization information of the handheld device, and the server determines whether the temporary authorization information is within the validity period. When the server determines that the temporary authorization information is within the validity period, it sends the second control request to the washing machine, and the washing machine receives the second control request.
[0063] S270: Execute a corresponding operation based on the second control request, and feed back a notification message of successful control based on the second control request to the handheld device through the server.
[0064] Therefore, the washing machine receives the second control request sent by the handheld device through the server, and when the server determines that the temporary authorization information of the handheld device carried in the second control request is valid, the server forwards the second control request to the washing machine, and the washing machine performs corresponding operations based on the second control request. The washing machine can be controlled as needed, which is convenient for other users to control the washing machine subsequently.
[0065] On the basis of the above embodiment, the solution provided by the embodiment of the present invention may further include: when the state of the washing machine changes, a state change message is sent to the handheld device to remind the user. When the washing machine and the handheld device are in the same local area network, the state change information is directly sent to the handheld device; when the washing machine and the handheld device are not in the same local area network, the state change information is sent to the handheld device via the server. The process of the washing machine reporting state change information can also be referred to Figure 2b .
[0066] Therefore, the washing machine can remind the user by sending information about state changes to the handheld device, thereby improving the use efficiency of the washing machine.
[0067] Figure 3 This is a flow chart of a washing machine remote control method provided by an embodiment of the present invention. The method can be executed by a washing machine remote control device. The device can be implemented by software and / or hardware. The device can be configured in a handheld device, wherein the handheld device can be an electronic device such as a smart phone and a tablet computer; the method can be applied to a scenario in which users use a shared washing machine, wherein a shared washing machine is a washing machine that can be authorized to multiple users for use in sequence.
[0068] like Figure 3 As shown, the technical solution provided by the embodiment of the present invention includes:
[0069] S310: When the handheld device and the washing machine are in the same local area network, send a first control request to the washing machine; wherein the first control request carries temporary authorization information of the handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program.
[0070] In the embodiment of the present invention, the handheld device can determine whether it is in the same local area network as the washing machine. For example, the determination can be made by determining whether the identification of the washing machine is searched in the local area network; when the identification of the washing machine is searched, it can be determined that the handheld device and the washing machine are in the same local area network; when the identification of the washing machine is not searched, it can be determined that the handheld device and the washing machine are not in the same local area network.
[0071] In an embodiment of the present invention, when a user uses a handheld device to remotely control a washing machine, if the handheld device and the washing machine are in the same local area network, the handheld device can directly send a first control request to the washing machine, wherein the first control request carries temporary authorization information of the handheld device. The generation process of the temporary authorization information can refer to the above embodiment. The determination of the validity period of the temporary authorization information can also refer to the above embodiment.
[0072] S320: When the temporary authorization information is within the validity period, receiving a notification message fed back by the washing machine indicating that control is successful based on the first control request.
[0073] In the embodiment of the present invention, the determination of the validity period of the temporary authorization information can refer to the above embodiment. When the temporary authorization information is valid, the washing machine directly or through the server sends a notification message based on the first control request to successfully control the washing machine, so as to remind the user that the washing machine is successfully controlled.
[0074] According to the technical solution provided by the embodiment of the present invention, the handheld device sends a first control request to the washing machine, and the first control request carries temporary authorization information of the handheld device. When the temporary authorization information is within the validity period, the handheld device receives a notification message from the washing machine indicating successful control based on the first control request, thereby achieving reasonable control of the washing machine and making the use of the washing machine orderly and standardized.
[0075] Figure 4 : is a flow chart of a washing machine remote control method provided by an embodiment of the present invention, such as Figure 4 As shown, the technical solution provided by the embodiment of the present invention includes:
[0076] S410: Determine identification information of the washing machine.
[0077] In the embodiment of the present invention, the handheld device may obtain the identification information of the washing machine by scanning a QR code, or may obtain the identification information of the washing machine by selecting the washing machine in an application.
[0078] S420: Send the identification information of the washing machine and the identification information of the handheld device to the server, so that the server binds the identification information of the washing machine and the identification information of the handheld device, and determines temporary authorization information of the handheld device based on the bound information.
[0079] In an embodiment of the present invention, the handheld device sends the identification information of the washing machine and the identification information of the handheld device to the server, the server binds the identification information of the washing machine and the identification information of the handheld device, and determines the temporary authorization information of the handheld device based on the bound information. The server can send the temporary authorization information to the washing machine and the handheld device. When the handheld device obtains the identification information of the washing machine, it can also obtain the user information input by the user and send the user information to the server so that the server stores the user information and the bound information in correspondence.
[0080] S430: Receive temporary authorization information of the handheld device fed back by the server.
[0081] S440: Determine whether the handheld device and the washing machine are in the same local area network.
[0082] If yes, execute S450; if no, execute S470.
[0083] S450: Sending a first control request to the washing machine; wherein the first control request carries temporary authorization information of a handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program.
[0084] S460: When the temporary authorization information is within the validity period, receiving a notification message fed back by the washing machine indicating that control is successful based on the first control request.
[0085] S470: Send a second control request for the washing machine to the server; wherein the second control request carries temporary authorization information of the handheld device; wherein, when the server determines that the temporary authorization information is within the validity period, the second control request is sent to the washing machine.
[0086] In the embodiment of the present invention, specifically, if the handheld device and the washing machine are not in the same local area network, the handheld device sends a second control request to the washing machine to the server, and the second control request carries the temporary authorization information of the handheld device, and the server determines whether the temporary authorization information is within the validity period. When the server determines that the temporary authorization information is within the validity period, it sends the second control request to the washing machine, and the washing machine performs the corresponding operation based on the second control request, and feeds back a notification message of successful control based on the second control request to the handheld device through the server, so as to remind the user.
[0087] S480: Receive, through the server, a notification message from the washing machine indicating that control is successful based on the second control request.
[0088] In the embodiment of the present invention, the handheld device receives a notification message from the washing machine through the server indicating that the control is successful based on the second control request, and can display or play the message to remind the user.
[0089] Thus, the handheld device sends a second control request to the washing machine through the server, and when the server determines that the temporary authorization information of the handheld device carried in the second control request is valid, the server forwards the second control request to the washing machine, and the handheld device receives the notification message of successful control based on the second control request fed back by the washing machine, which enables the handheld device at a farther distance to control the washing machine.
[0090] Figure 5 This is a flow chart of a washing machine remote control method provided by an embodiment of the present invention. The method can be executed by a washing machine remote control device, which can be implemented by software and / or hardware, and can be configured in a server. The method can be applied to a scenario where a user uses a shared washing machine, wherein a shared washing machine is a washing machine that can be authorized to multiple users in sequence. Figure 5 As shown, the technical solution provided by the embodiment of the present invention includes:
[0091] S510: receiving identification information of the washing machine and identification information of the handheld device, and binding the identification information of the washing machine and the identification information of the handheld device.
[0092] In an embodiment of the present invention, the handheld device can obtain the identification information of the washing machine by scanning a QR code, or by selecting the washing machine in an application. The handheld device sends the identification information of the washing machine and the identification information of the handheld device to the server, and the server binds the identification information of the washing machine and the identification information of the handheld device.
[0093] S520: Determine temporary authorization information of the handheld device based on the bound information.
[0094] In the embodiment of the present invention, specifically, the server can determine the temporary authorization information corresponding to the binding information, or the server can generate the temporary authorization information based on the identification information of the washing machine and the identification information of the handheld device. The temporary authorization information can be an authorization code, or can be certificate information carrying the authorization code.
[0095] S530: Determine the location of the washing machine based on the identification information of the washing machine, and determine the validity period of the temporary authorization information based on the location of the washing machine or the received washing program of the washing machine.
[0096] In the embodiment of the present invention, the server may query the location of the corresponding washing machine from the database based on the identification information of the washing machine, thereby determining the validity period of the temporary authorization information based on the location of the washing machine.
[0097] In an embodiment of the present invention, the method for determining the washing program by the washing machine may be that the user may select the washing program before the washing machine receives the first control request, and the washing machine sends the washing program to the server, which stores the washing program. The server determines the validity period of the temporary authorization information based on the received washing program, wherein the validity period of the temporary authorization information is different for different washing programs.
[0098] In the embodiment of the present invention, the server may also determine the validity period of the temporary authorization information in other ways. For example, the server may determine the validity period of the temporary authorization information by whether there is an authorization record on the handheld device. For example, in the case where the washing machine is located in an experience store, if the server queries the handheld device for an authorization record, indicating that the user has experienced the washing machine, the validity period of the temporary authorization information may be shortened.
[0099] According to the technical solution provided by the embodiment of the present invention, the server binds the identification information of the washing machine and the identification information of the handheld device, determines the temporary authorization information based on the bound information, and determines the validity period of the temporary authorization information based on the location of the washing machine or the received washing program of the washing machine. The handheld device can be temporarily authorized to achieve on-demand control of the washing machine.
[0100] Figure 6a is a flow chart of a washing machine remote control method provided by an embodiment of the present invention. The method can be performed by Figure 6b The system shown in FIG. Figure 6b As shown, the system includes a washing machine, a handheld device, a network management router and a server. The server may be a cloud server. Figure 6b As shown, the washing machine is connected to the gateway router and connected to the server through the wide area network. The handheld device can be in the same local area network as the washing machine and communicate with the washing machine and other devices, or the handheld device can be in a different local area network than the washing machine and communicate with the washing machine and other devices.
[0101] like Figure 6a As shown, the technical solution provided by the embodiment of the present invention includes:
[0102] S610: The handheld device determines identification information of the washing machine.
[0103] S620: The handheld device sends the identification information of the washing machine and the identification information of the handheld device to the server.
[0104] S630: The server binds the identification information of the washing machine and the identification information of the handheld device, and determines temporary authorization information of the handheld device based on the bound information.
[0105] S640: The server determines the location of the washing machine based on the identification information of the washing machine, and determines the validity period of the temporary authorization information based on the location of the washing machine or the received washing program of the washing machine.
[0106] In the embodiment of the present invention, S610-S640 is a process for applying for temporary authorization of control of a handheld device, wherein the temporary authorization process of a handheld device can refer to Figure 6c .
[0107] S650: Determine whether the handheld device and the washing machine are in the same local area network.
[0108] If it is S660, execute S690.
[0109] S660: The handheld device sends a first control request to the washing machine; wherein the first control request carries temporary authorization information of the handheld device.
[0110] S670: When the washing machine determines that the temporary authorization information is within the validity period, it performs a corresponding operation based on the first control request, and feeds back a notification message of successful control based on the first control request to the handheld device.
[0111] S680: The washing machine receives a notification message indicating that control is successful based on the first control request.
[0112] S690: The handheld device sends a second control request for the washing machine to the server; wherein the second control request carries temporary authorization information of the handheld device.
[0113] S691: When the server determines that the temporary authorization information is within the validity period, the server sends the second control request to the washing machine.
[0114] S692: The washing machine performs a corresponding operation based on the second control request, and sends a notification message of successful control based on the second control request to the server.
[0115] S693: The server sends a notification message indicating successful control based on the second control request to the washing machine.
[0116] S694: The washing machine receives a notification message indicating that control is successful based on the second control request.
[0117] Among them, when the temporary authorization information of the handheld device is not within the validity period, the control request of the handheld device is rejected, and the handheld device is reminded to obtain the temporary authorization information (that is, remind the user to apply for the temporary authorization process of the handheld device). Optionally, when the temporary authorization information of the handheld device is not within the validity period, the handheld terminal can automatically jump to the page of the temporary authorization application process to apply for temporary authorization.
[0118] Among them, S650-S694 can be the control process of the washing machine, and the control process of the washing machine can also refer to Figure 6d .
[0119] The technical solution provided by the embodiment of the present invention can obtain temporary authorization through a handheld device, obtain authorization to use the washing machine within a limited time or washing cycle, and the user can complete the control of the washing machine. It can also be conducive to the promotion and use of shared washing machines, and also conducive to users experiencing the remote control data synchronization function of washing machines in public environments such as shopping malls.
[0120] Figure 7 is a structural block diagram of a washing machine remote control device provided by an embodiment of the present invention, wherein the device is configured in the washing machine, such as Figure 7 As shown, the device provided by the embodiment of the present invention includes: a receiving module 710, a judging module 720 and an executing / sending module 730.
[0121] The receiving module 710 is used to receive a first control request sent by a handheld device when the washing machine and the handheld device are in the same local area network; wherein the first control request carries temporary authorization information of the handheld device;
[0122] A determination module 720, configured to determine whether the temporary authorization information is within a validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0123] The execution / sending module 730 is configured to execute a corresponding operation based on the first control request and send a notification message of successful control based on the first control request to the handheld device.
[0124] Optionally, the receiving module 710 is further used to: when the washing machine and the handheld device are not in the same local area network, receive a second control request sent by the server; wherein the second control request is sent by the handheld device to the server, and the second control request carries temporary authorization information of the handheld device; wherein when the server determines that the temporary authorization information is within the validity period, the second control request is sent to the washing machine;
[0125] The execution / sending module 730 is further configured to execute a corresponding operation based on the second control request, and to feed back a notification message of successful control based on the second control request to the handheld device through the server.
[0126] Optionally, the validity period of the temporary authorization information is determined based on the location of the washing machine, including:
[0127] When the washing machine is located in a washing machine store, the validity period of the temporary authorization information is a first preset time period;
[0128] When the washing machine is located in an experience store, the validity period of the temporary authorization information is a second preset time period; wherein the first preset time period is greater than the second preset time period.
[0129] Optionally, the apparatus further comprises: a sending module, configured to send a message of the state change to the handheld device to remind a user when the state of the washing machine changes.
[0130] The above-mentioned device can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0131] Figure 8 is a structural block diagram of a washing machine remote control device provided by an embodiment of the present invention, wherein the device is configured on a handheld device such as Figure 8 As shown, the device 800 provided by the embodiment of the present invention includes a request sending module 810 and a message receiving module 820.
[0132] The request sending module 810 is used to send a first control request to the washing machine when the handheld device and the washing machine are in the same local area network; wherein the first control request carries temporary authorization information of the handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0133] The message receiving module 820 receives a notification message of successful control based on the first control request fed back by the washing machine when the temporary authorization information is within a valid period.
[0134] Optionally, the request sending module 810 is further configured to send a second control request for the washing machine to the server when the handheld device and the washing machine are not in the same local area network; wherein the second control request carries temporary authorization information of the handheld device; wherein when the server determines that the temporary authorization information is within the validity period, the second control request is sent to the washing machine;
[0135] The message receiving module 820 is further configured to receive, through the server, a notification message from the washing machine indicating that control is successful based on the second control request.
[0136] Optionally, the device further includes a temporary authorization application module, configured to:
[0137] Determining identification information of the washing machine;
[0138] Sending the identification information of the washing machine and the identification information of the handheld device to a server, so that the server binds the identification information of the washing machine and the identification information of the handheld device, and determines temporary authorization information of the handheld device based on the bound information;
[0139] Receive temporary authorization information of the handheld device fed back by the server.
[0140] The above-mentioned device can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0141] Fig. 9 1 is a structural block diagram of a washing machine remote control device provided by an embodiment of the present invention. The device is configured in a server and includes a binding module 910 , a temporary authorization information determination module 920 and a validity period determination module 930 .
[0142] A binding module 910, configured to receive identification information of a washing machine and identification information of a handheld device, and bind the identification information of the washing machine and the identification information of the handheld device;
[0143] A temporary authorization information determination module 920, configured to determine temporary authorization information of the handheld device based on the bound information;
[0144] The validity period determination module 930 is used to determine the location of the washing machine based on the identification information of the washing machine, and determine the validity period of the temporary authorization information based on the location of the washing machine and the received washing program of the washing machine.
[0145] The above-mentioned device can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0146] Fig.10 is a schematic diagram of a device structure provided by an embodiment of the present invention, such as Fig.10 As shown, the device includes:
[0147] one or more processors 1010, Fig.10 A processor 1010 is taken as an example;
[0148] Memory 1020;
[0149] The device may further include: an input device 1030 and an output device 1040 .
[0150] The processor 1010, memory 1020, input device 1030 and output device 1040 in the device may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.
[0151] The memory 1020 is a non-transitory computer-readable storage medium that can be used to store software programs, computer executable programs, and modules, such as program instructions / modules corresponding to a washing machine remote control method in an embodiment of the present invention (for example, the attached Figure 7 The receiving module 710, the judging module 720 and the executing / sending module 730 shown in the figure, or the attached Figure 8 The request sending module 810 and the message receiving module 820 shown in the figure, or the attached Fig. 9 The processor 1010 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 1020, that is, a washing machine remote control method of the above method embodiment is implemented, that is,:
[0152] When the washing machine and the handheld device are in the same local area network, receiving a first control request sent by the handheld device; wherein the first control request carries temporary authorization information of the handheld device;
[0153] Determining whether the temporary authorization information is within a validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0154] If so, a corresponding operation is performed based on the first control request, and a notification message of successful control based on the first control request is sent to the handheld device.
[0155] or,
[0156] When the handheld device and the washing machine are in the same local area network, sending a first control request to the washing machine; wherein the first control request carries temporary authorization information of the handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0157] When the temporary authorization information is within a validity period, a notification message of successful control based on the first control request fed back by the washing machine is received.
[0158] or,
[0159] Receiving identification information of the washing machine and identification information of the handheld device, and binding the identification information of the washing machine and the identification information of the handheld device;
[0160] Determine temporary authorization information of the handheld device based on the bound information;
[0161] The location of the washing machine is determined based on the identification information of the washing machine, and the validity period of the temporary authorization information is determined based on the location of the washing machine and the received washing program of the washing machine.
[0162] The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1020 may optionally include a memory remotely arranged relative to the processor 1010, and these remote memories may be connected to the terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0163] The input device 1030 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the computer device. The output device 1040 may include a display screen, or an output interface, etc.
[0164] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a remote control method for a washing machine provided in an embodiment of the present invention is implemented:
[0165] When the washing machine and the handheld device are in the same local area network, receiving a first control request sent by the handheld device; wherein the first control request carries temporary authorization information of the handheld device;
[0166] Determining whether the temporary authorization information is within a validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0167] If so, a corresponding operation is performed based on the first control request, and a notification message of successful control based on the first control request is sent to the handheld device.
[0168] or,
[0169] When the handheld device and the washing machine are in the same local area network, sending a first control request to the washing machine; wherein the first control request carries temporary authorization information of the handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine or a determined washing program;
[0170] When the temporary authorization information is within a validity period, a notification message of successful control based on the first control request fed back by the washing machine is received.
[0171] or,
[0172] Receiving identification information of the washing machine and identification information of the handheld device, and binding the identification information of the washing machine and the identification information of the handheld device;
[0173] Determine temporary authorization information of the handheld device based on the bound information;
[0174] The location of the washing machine is determined based on the identification information of the washing machine, and the validity period of the temporary authorization information is determined based on the location of the washing machine and the received washing program of the washing machine.
[0175] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0176] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0177] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0178] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0179] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A washing machine remote control method, characterized in that: The method is applied to a washing machine, and the method comprises: When the washing machine and the handheld device are in the same local area network, receiving a first control request sent by the handheld device; wherein the first control request carries temporary authorization information of the handheld device; Determine whether the temporary authorization information is within a validity period; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine, and the location of the washing machine is queried from a database based on the identification information of the washing machine; the temporary authorization information is authorization information corresponding to binding information of the identification information of the washing machine and the identification information of the handheld device, and the temporary authorization information is an authorization code, or certificate information with the authorization code; If yes, executing a corresponding operation based on the first control request, and sending a notification message of successful control based on the first control request to the handheld device; The validity period of the temporary authorization information is determined based on the location of the washing machine, including: When the washing machine is located in a washing machine store, the validity period of the temporary authorization information is a first preset time period; When the washing machine is located in an experience store, the validity period of the temporary authorization information is a second preset time period; wherein the first preset time period is greater than the second preset time period.
2. The method according to claim 1, characterized in that Also includes: When the washing machine and the handheld device are not in the same local area network, receiving a second control request sent by a server; wherein the second control request is sent by the handheld device to the server, and the second control request carries temporary authorization information of the handheld device; wherein when the server determines that the temporary authorization information is within a validity period, sending the second control request to the washing machine; A corresponding operation is performed based on the second control request, and a notification message of successful control based on the second control request is fed back to the handheld device through the server.
3. The method according to claim 1, characterized in that Also includes: When the state of the washing machine changes, a message of the state change is sent to the handheld device to remind the user.
4. A washing machine remote control method, characterized in that: The method is applied to a handheld device, and the method comprises: In the case where the handheld device and the washing machine are in the same local area network, a first control request is sent to the washing machine; wherein the first control request carries temporary authorization information of the handheld device, and the first control request is used to instruct the washing machine to determine the validity period of the temporary authorization information; wherein the validity period of the temporary authorization information is determined based on the location of the washing machine, and the location of the washing machine is queried from a database based on the identification information of the washing machine; the temporary authorization information is authorization information corresponding to binding information of the identification information of the washing machine and the identification information of the handheld device, and the temporary authorization information is an authorization code, or certificate information with the authorization code; when the temporary authorization information is within the validity period, a notification message of successful control based on the first control request fed back by the washing machine is received; The validity period of the temporary authorization information is determined based on the location of the washing machine, including: When the washing machine is located in a washing machine store, the validity period of the temporary authorization information is a first preset time period; When the washing machine is located in an experience store, the validity period of the temporary authorization information is a second preset time period; wherein the first preset time period is greater than the second preset time period.
5. The method according to claim 4, characterized in that Also includes: When the handheld device and the washing machine are not in the same local area network, sending a second control request for the washing machine to the server; wherein the second control request carries temporary authorization information of the handheld device; wherein when the server determines that the temporary authorization information is within the validity period, sending the second control request to the washing machine; A notification message of successful control based on the second control request fed back by the washing machine is received through the server.
6. The method according to claim 4, characterized in that Also includes: Determining identification information of the washing machine; Sending the identification information of the washing machine and the identification information of the handheld device to a server, so that the server binds the identification information of the washing machine and the identification information of the handheld device, and determines temporary authorization information of the handheld device based on the bound information; Receive temporary authorization information of the handheld device fed back by the server.
7. A remote control method for a washing machine, characterized in that: The method is applied to a server, and the method comprises: Receiving identification information of the washing machine and identification information of the handheld device, and binding the identification information of the washing machine and the identification information of the handheld device; Determine temporary authorization information of the handheld device based on the bound information; The location of the washing machine is determined based on the identification information of the washing machine, and the validity period of the temporary authorization information is determined based on the location of the washing machine, wherein the location of the washing machine is queried from a database based on the identification information of the washing machine; the temporary authorization information is authorization information corresponding to binding information of the identification information of the washing machine and the identification information of the handheld device, and the temporary authorization information is an authorization code or certificate information with the authorization code; wherein determining the validity period of the temporary authorization information based on the location of the washing machine includes: When the washing machine is located in a washing machine store, the validity period of the temporary authorization information is a first preset time period; When the washing machine is located in an experience store, the validity period of the temporary authorization information is a second preset time period; wherein the first preset time period is greater than the second preset time period.
8. A device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
