Washing machine control method and device

By establishing a mapping relationship table in the server, verifying and confirming the NFC identification and control instructions, the problem of washing machine NFC tag instructions being copied to other home appliances without the user's knowledge is solved, achieving accurate control of the washing machine, avoiding water and electricity waste and safety Hidden danger.

CN115478392BActive Publication Date: 2024-10-25HISENSE(SHANDONG)REFRIGERATOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211091145.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-07
Publication Date
2024-10-25
Estimated Expiration
2042-09-07

AI Technical Summary

Technical Problem

In the existing technology, the user's washing machine NFC tag control instructions are copied to the NFC tags of other home appliances without knowing it, causing the washing machine to start incorrectly, causing waste of water and electricity and safety hazards.

Method used

By establishing a mapping relationship table in the server, it receives the control request sent by the terminal device, verifies the target NFC identification and control instructions, determines whether there is a corresponding mapping relationship in the mapping relationship table, and sends control instructions to the target washing machine when it exists to ensure that the instructions accuracy.

Benefits of technology

It effectively avoids the mis-starting of the washing machine, prevents water and electricity waste and safety hazards, and ensures the correct binding and registration of NFC tags and control instructions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115478392B_ABST
    Figure CN115478392B_ABST
Patent Text Reader

Abstract

The present application relates to a method and device for controlling a washing machine, and relates to the field of household appliance technology. The method includes: being applied to a server, the method includes: the server receiving a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag. The server responds to the control request and determines whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table. The mapping relationship table includes multiple mapping relationships, and each mapping relationship includes an NFC tag identifier and a control instruction. When the server has a target mapping relationship in the mapping relationship table, the server sends a control instruction to the washing machine corresponding to the target control instruction. This can avoid controlling the wrong washing machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of household appliance technology, and in particular to a washing machine control method and device. Background Art

[0002] With the popularization of near field communication (NFC) technology, NFC tags bound to washing machines have appeared in user homes. Electronic devices control the operation of washing machines by reading control instructions in the NFC tags bound to washing machines.

[0003] However, if the control instructions of the NFC tag bound to the washing machine are copied to the NFC tag corresponding to the first home appliance (such as a range hood) by others without the user's knowledge, when the user reads the control instructions of the NFC tag corresponding to the first home appliance through an electronic device to control the first home appliance, the control instructions will be sent to the washing machine by mistake. In this way, the washing machine will be started without the user's knowledge, resulting in a waste of water and electricity, and even water entering the washing machine when the door is not closed, resulting in a safety hazard of water leakage. Summary of the invention

[0004] The present application provides a washing machine control method and device to at least solve the technical problem of how to avoid wrong washing machine control in the related art. The technical solution of the present application is as follows:

[0005] According to a first aspect of an embodiment of the present application, a washing machine control method is provided, which is applied to a server, and the method includes: receiving a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag. In response to the control request, it is determined whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table. The mapping relationship table includes multiple mapping relationships, each mapping relationship includes an NFC tag identifier and a control instruction. In the case that there is a target mapping relationship in the mapping relationship table, a control instruction is sent to the washing machine corresponding to the target control instruction.

[0006] In a possible implementation, the verification data further includes an identifier of the target washing machine, and each mapping relationship further includes an identifier of the washing machine.

[0007] In a possible implementation, the verification data further includes a target user identifier, and each mapping relationship further includes a user identifier.

[0008] In a possible implementation, the method further includes: when there is no target mapping relationship in the mapping relationship table, sending a confirmation request to the terminal device; the confirmation request is used to request the terminal device to confirm the target control instruction. When receiving a confirmation message sent by the terminal device, sending the target control instruction to the washing machine corresponding to the target control instruction; the confirmation message includes at least a confirmation identifier and verification data, and the confirmation identifier is generated by the terminal device in response to the user's confirmation operation.

[0009] In a possible implementation, the method further includes: when a confirmation message is received, updating the verification data to the mapping relationship table.

[0010] In a possible implementation, the method further includes: receiving a registration message sent by the terminal device; the registration message includes registration data, the registration data at least includes the first NFC tag identifier and the first control instruction; in response to the registration message, updating the registration data to the mapping relationship table.

[0011] In a possible implementation, the terminal device includes any one of a mobile phone, a tablet computer, a PDA, a wearable device, and a smart TV.

[0012] In a possible implementation, the NFC tag is located at any one of the surface of the washing machine, the interior of the washing machine, the first room where the washing machine is located, or other rooms except the first room.

[0013] In a possible implementation manner, the target control instruction is used to start a washing machine.

[0014] In a second aspect, a washing machine control device is provided, which is applied to a server, and the washing machine control device includes: a receiving unit, a judging unit, and a sending unit. The receiving unit is used to receive a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag. The judging unit is used to judge whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table in response to the control request; the mapping relationship table includes multiple mapping relationships, and each mapping relationship includes an NFC tag identifier and a control instruction. The sending unit is used to send a control instruction to the washing machine corresponding to the target control instruction when there is a target mapping relationship in the mapping relationship table.

[0015] In a possible implementation, the verification data further includes an identifier of the target washing machine, and each mapping relationship further includes an identifier of the washing machine.

[0016] In a possible implementation, the verification data further includes a target user identifier, and each mapping relationship further includes a user identifier.

[0017] In a possible implementation, the sending unit is further used to send a confirmation request to the terminal device when there is no target mapping relationship in the mapping relationship table; the confirmation request is used to request the terminal device to confirm the target control instruction. The sending unit is further used to send the target control instruction to the washing machine corresponding to the target control instruction when receiving a confirmation message sent by the terminal device; the confirmation message includes at least a confirmation identifier and verification data, and the confirmation identifier is generated by the terminal device in response to the user's confirmation operation.

[0018] In a possible implementation manner, the washing machine control device further includes an updating unit, where the updating unit is configured to update the verification data to the mapping relationship table when a confirmation message is received.

[0019] In a possible implementation, the receiving unit is further configured to receive a registration message sent by the terminal device; the registration message includes registration data, and the registration data includes at least a first NFC tag identifier and a first control instruction. The updating unit is further configured to update the registration data to the mapping relationship table in response to the registration message.

[0020] In a possible implementation, the terminal device includes any one of a mobile phone, a tablet computer, a PDA, a wearable device, and a smart TV.

[0021] In a possible implementation, the NFC tag is located at any one of the surface of the washing machine, the interior of the washing machine, the first room where the washing machine is located, or other rooms except the first room.

[0022] In a possible implementation manner, the target control instruction is used to start a washing machine.

[0023] In a third aspect, a server is provided, comprising: a processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the washing machine control method as in the first aspect.

[0024] In a fourth aspect, a computer-readable storage medium is provided. When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the washing machine control method as described in the first aspect.

[0025] In a fifth aspect, a computer program product is provided. The computer program product includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the washing machine control method according to the first aspect.

[0026] The washing machine control method of the first aspect provided by the embodiment of the present application brings the following beneficial effects: the NFC tag identifier and the control instruction are bound and registered in the mapping relationship table, and before the server sends the control instruction, it determines whether there is a target mapping relationship corresponding to the target NFC tag identifier and the target control instruction in the preset mapping relationship table. In the case that the target mapping relationship exists in the mapping relationship table, the server determines that the target control instruction and the target NFC tag have been registered, and the control instruction corresponding to the target NFC tag has not been modified. Then, the server sends the control instruction to the washing machine corresponding to the target control instruction. In this way, it is possible to avoid controlling the wrong washing machine.

[0027] It should be noted that the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.

[0028] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0030] Figure 1 A schematic diagram of an NFC tag application scenario provided in an embodiment of the present application;

[0031] Figure 2 A structural diagram of a washing machine control system provided in an embodiment of the present application;

[0032] Figure 3 One of the flow charts of a washing machine control method provided in an embodiment of the present application;

[0033] Figure 4 A second flowchart of a washing machine control method provided in an embodiment of the present application;

[0034] Figure 5 A third flowchart of a washing machine control method provided in an embodiment of the present application;

[0035] Figure 6 A fourth flowchart of a washing machine control method provided in an embodiment of the present application;

[0036] Figure 7 A fifth flowchart of a washing machine control method provided in an embodiment of the present application;

[0037] Figure 8 Flow chart six of a washing machine control method provided in an embodiment of the present application;

[0038] Fig. 9 A schematic diagram of the structure of a washing machine control device provided in an embodiment of the present application;

[0039] Fig.10 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0042] Before introducing the transaction method provided by this application in detail, a brief introduction to the relevant elements, application scenarios, and implementation environment involved in this application is first given.

[0043] First, a brief introduction to the relevant elements involved in this application is given.

[0044] NFC technology, terminal devices (such as mobile phones) using NFC technology can exchange data when they are close to NFC tags. NFC technology is the integration and evolution of contactless radio frequency identification (RFID) and interconnection technology. By integrating the functions of inductive card reader, inductive card and point-to-point communication on a single chip, mobile terminals are used to realize mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications.

[0045] Secondly, the application scenarios involved in this application are briefly introduced.

[0046] In the related art, with the popularization of NFC technology, various NFC tags bound to controlled devices (such as household appliances) have appeared in users' homes. Electronic devices control the operation of the controlled devices corresponding to the NFC tags by reading the control instructions of the NFC tags. However, if the control instructions of the NFC tag of the first controlled device (such as a washing machine) are copied to the corresponding NFC tag of the second controlled device (such as a range hood) by others without the user's knowledge, after the user reads the control instructions of the NFC tag of the second controlled device through the electronic device, the first controlled device will be mistakenly controlled. Therefore, how to avoid controlling the wrong controlled device is a technical problem that needs to be solved urgently.

[0047] For example, an NFC tag bound to a washing machine appears in a user's home. The electronic device controls the operation of the washing machine by reading the control instructions in the NFC tag bound to the washing machine. However, if the control instructions of the NFC tag bound to the washing machine are copied to the NFC tag corresponding to the first household appliance (such as a range hood) by others without the user's knowledge, when the user reads the control instructions of the NFC tag corresponding to the first household appliance through the electronic device to control the first household appliance, the control instructions will be mistakenly sent to the washing machine. In this way, the washing machine will be started without the user's knowledge, resulting in a waste of water and electricity, and even water will enter the washing machine when the door is not closed, resulting in a safety hazard of water leakage.

[0048] For example, Figure 1 As shown, NFC tag 10 is bound to controlled device 11, and NCF tag 12 is bound to controlled device 13. If the control instruction in NFC tag 10 is copied and pasted into NCF tag 12, the user reads NCF tag 12 through an electronic device to control the operation of controlled device 11.

[0049] In view of the above problems, the present application provides a washing machine control method, which is applied to a server, and the method includes: receiving a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag. In response to the control request, it is determined whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table. The mapping relationship table includes multiple mapping relationships, each of which includes an NFC identifier and a control instruction. In the case where there is a target mapping relationship in the mapping relationship table, the control instruction is sent to the washing machine corresponding to the target control instruction. In this way, the NFC tag identifier and the control instruction are bound and registered in the mapping relationship table. Before sending the control instruction, the server determines whether there is a target mapping relationship corresponding to the target NFC tag identifier and the target control instruction in the preset mapping relationship table. In the case where there is a target mapping relationship in the mapping relationship table, the server determines that the target control instruction and the target NFC tag have been registered, and the control instruction corresponding to the target NFC tag has not been modified. Then, the server sends the control instruction to the washing machine corresponding to the target control instruction. In this way, it is possible to avoid controlling the wrong appliance.

[0050] Finally, the implementation environment (implementation architecture) involved in the method provided in this application is briefly introduced.

[0051] Figure 2 This is the implementation architecture diagram of this application. Figure 2 The structural diagram of a washing machine control system provided by an embodiment of the present application is shown. The washing machine control system 20 may include: a server 21, a terminal device 22, a washing machine 23 and an NFC tag 24. The server 21 is connected to the terminal device 22 and the washing machine 23 respectively.

[0052] The server 21 includes a communication module and a first storage module. The server 21 is used to communicate with the terminal device 22 and the washing machine 23 through the communication module. The first storage module in the server 21 is used to store a mapping relationship table of verification data.

[0053] In some embodiments, the server 21 may be a cloud server, a single server, or a server cluster, which is not limited in the embodiments of the present application.

[0054] The terminal device 22 has an NFC function. When the NFC function is turned on, the terminal device 22 can read the tag data in the NFC tag 24 and send the tag data to the server 21 .

[0055] In actual applications, the terminal device 22 can be any electronic product that can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device, such as a mobile phone, tablet computer, PDA, personal computer (PC), wearable device, smart TV, etc.

[0056] The terminal device 22 includes a second storage module, wherein the second storage module stores user data corresponding to the tag data.

[0057] In some embodiments, the second storage module also stores an identifier of the washing machine corresponding to the NFC tag identifier.

[0058] The washing machine 23 includes a communication module. The washing machine 23 receives the control instruction sent by the server 21 through the communication module.

[0059] Exemplarily, the communication module is a wireless-fidelity (WIFI) module.

[0060] In some embodiments, the washing machine 23 is an electrical appliance.

[0061] Exemplarily, the washing machine 23 may be a smart washing machine, a dry-cleaning machine, or an all-in-one washing and drying machine, etc., to which the embodiments of the present application are not limited.

[0062] The NFC tag 24 includes a third storage module, wherein the third storage module is used to store the identification of the NFC tag 24 and the control instruction.

[0063] In some embodiments, the third storage module is used to store the identification of the NFC tag 24, the control instructions, and the identification of the washing machine.

[0064] The NFC tag 24 may be placed on the surface of the washing machine 23, may be placed inside the housing of the washing machine 23, or may be placed at other locations.

[0065] For example, the washing machine 23 is taken as an example. The NFC tag 24 can be placed on the surface of the washing machine, can be placed in the housing of the washing machine, and can also be placed in the room where the washing machine is located or in other rooms.

[0066] For ease of understanding, the washing machine control method provided in the present application is specifically introduced below with reference to the accompanying drawings.

[0067] Figure 3 FIG. 1 is a flow chart of a washing machine control method according to an exemplary embodiment, and the method is applied to a server. Figure 3 As shown, the data processing method includes the following steps: S301-S303.

[0068] S301: The server receives a control request sent by a terminal device.

[0069] The control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag.

[0070] As a possible implementation method, the server receives the control request sent by the terminal device through the communication module.

[0071] In some embodiments, the verification data includes a target NFC tag identification and a target control instruction.

[0072] In other embodiments, the verification data may include a target NFC tag identifier, a target control instruction, and an identifier of the washing machine, may include a target NFC tag identifier, a target control instruction, an identifier of the washing machine, and a user identifier, or may include a target NFC tag identifier, a target control instruction, and a user identifier. The embodiments of the present application do not limit the content of the verification data.

[0073] In some embodiments, the control request also includes an identification of the washing machine.

[0074] S302: In response to the control request, the server determines whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table.

[0075] The mapping relationship table includes multiple mapping relationships, and each mapping relationship includes an NFC tag identifier and a control instruction.

[0076] As a possible implementation method, after receiving the control request, the server parses the control request to obtain verification data, and determines whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table.

[0077] Exemplarily, the preset mapping relationship table is shown in Table 1, with the target NFC tag identifier being 02 and the target control instruction being 8001. After receiving the control request, the server parses the control request to obtain 02 and 8001, and determines whether there is a mapping relationship between 02 and 8001 in the preset mapping relationship table.

[0078] Table 1

[0079] NFC tag identification Control instructions 01 8002 02 8001 03 7003 04 6002

[0080] In some embodiments, the verification data includes a target NFC tag identifier and a target control instruction. After receiving the control request, the server parses the control request to obtain the target NFC tag identifier and the target control instruction. Further, the server determines whether there is a mapping relationship between the target NFC tag identifier and the target control instruction in a preset mapping relationship table.

[0081] In some embodiments, the NFC tag identifier may be a unique identifier (UID) of the NFC tag. The identifier of the washing machine may be a physical address (media access control, MAC) or a 32-bit unique identifier. The user identifier may be a user account.

[0082] S303: When the target mapping relationship exists in the mapping relationship table, the server sends a control instruction to the washing machine corresponding to the target control instruction.

[0083] As a possible implementation method, the verification data includes a target NFC tag identifier and a target control instruction. When the server finds a target mapping relationship corresponding to the target NFC tag identifier and the target control instruction in a preset mapping relationship table, the server connects to the target washing machine based on the identifier of the target washing machine in the control request. Further, the server sends a control instruction to the target washing machine.

[0084] As a possible implementation method, the verification data includes a target NFC tag identifier and a target control instruction. When the server finds a target mapping relationship corresponding to the target NFC tag identifier and the target control instruction in a preset mapping relationship table, based on the identifier of the washing machine, the server searches the first storage module for the identifier of the target washing machine corresponding to the target NFC tag identifier and / or the target control instruction. Further, based on the identifier of the target washing machine, the server connects to the target washing machine and sends a control instruction to the target device.

[0085] The washing machine control method provided by the embodiment of the present application brings the following beneficial effects: the NFC identifier and the control instruction are bound and registered in the mapping relationship table. Before sending the control instruction, the server determines whether there is a target mapping relationship corresponding to the target NFC identifier and the target control instruction in the preset mapping relationship table. In the case where the target mapping relationship exists in the mapping relationship table, the server determines that the target control instruction and the target NFC tag have been registered, and the control instruction corresponding to the target NFC tag has not been modified. Then, the server sends the control instruction to the washing machine corresponding to the target control instruction. In this way, the technical problem that the control instruction corresponding to the NFC tag is modified, resulting in changes in the washing machine corresponding to the NFC tag, can be avoided, thereby avoiding controlling the wrong appliance.

[0086] In one design, in order to avoid erroneous control of electrical appliances, in the washing machine control method provided in an embodiment of the present application, the verification data also includes an identifier of the target washing machine, and each mapping relationship also includes an identifier of the washing machine.

[0087] In some embodiments, after receiving the control request, the server parses the control request to obtain the target NFC tag identifier, the target control instruction, and the identifier of the target washing machine, and determines whether there is a target mapping relationship corresponding to the target NFC tag identifier, the target control instruction, and the identifier of the target washing machine in the preset mapping relationship table.

[0088] Exemplarily, the preset mapping relationship table is shown in Table 2, taking the target NFC tag identifier as 02, the target control instruction as 8001, and the target washing machine identifier as 00-01-6C-06-A6-29 as an example. After receiving the control request, the server parses the control request to obtain 02, 8001, and 00-01-6C-06-A6-29, and determines whether there is a mapping relationship between 02, 8001, and 00-01-6C-06-A6-29 in the preset mapping relationship table.

[0089] Table 2

[0090] NFC tag identification Control instructions Washing machine logo 01 8002 03-01-6C-06-A6-29 02 8001 00-01-6C-06-A6-29 03 7003 03-01-9C-06-A6-29 04 6002 03-01-6C-06-A8-29

[0091] It can be understood that in the embodiment of the present application, the NFC tag identifier, the control instruction and the identifier of the washing machine are bound. After receiving the control request, the server verifies whether there is a mapping relationship corresponding to the NFC tag identifier, the control instruction and the identifier of the washing machine in the preset mapping relationship table. In this way, the server can determine that the control instruction corresponding to the target NFC tag has not been modified, and thus send the control instruction to the washing machine corresponding to the target control instruction without modification. In this way, it is possible to avoid miscontrol of the electrical appliance.

[0092] In one design, in order to avoid erroneous control of the electrical appliance, in the washing machine control method provided in an embodiment of the present application, the verification data also includes a target user identifier, and each mapping relationship also includes a user identifier.

[0093] In some embodiments, after receiving the control request, the server parses the control request to obtain the target NFC tag identifier, the target control instruction, the target washing machine identifier, and the target user identifier, and determines whether there is a target mapping relationship corresponding to the target NFC tag identifier, the target control instruction, the target washing machine identifier, and the target user identifier in the preset mapping relationship table.

[0094] Exemplarily, the preset mapping relationship table is shown in Table 3, taking the target NFC tag identifier as 02, the target control instruction as 8001, the target washing machine identifier as 00-01-6C-06-A6-29, and the user identifier as zhangsan as an example. After receiving the control request, the server parses the control request to obtain 02, 8001, 00-01-6C-06-A6-29 and zhangsan, and determines whether there is a mapping relationship between 02, 8001, 00-01-6C-06-A6-29 and zhangsan in the preset mapping relationship table.

[0095] Table 3

[0096] NFC tag identification Control instructions Washing machine logo User ID 01 8002 03-01-6C-06-A6-29 lisi 02 8001 00-01-6C-06-A6-29 zhangsan 03 7003 03-01-9C-06-A6-29 wangwu 04 6002 03-01-6C-06-A8-29 liusan

[0097] It can be understood that in the embodiment of the present application, the NFC tag identifier, the control instruction, the identification of the washing machine and the user identification are bound. After receiving the control request, the server verifies whether there is a mapping relationship corresponding to the NFC tag identifier, the control instruction, the identification of the washing machine and the user identification in the preset mapping relationship table. In this way, the server can verify whether the user who sent the control request is an authenticated (or registered) user. After determining that the control instruction corresponding to the target NFC tag has not been modified and the user is an authenticated (or registered) user, the washing machine is controlled to prevent illegal users from controlling the wrong washing machine.

[0098] In one design, in order to accurately execute control instructions, such as Figure 4 As shown, the washing machine control method provided in the embodiment of the present application further includes: S304-S305.

[0099] S304: If the target mapping relationship does not exist in the mapping relationship table, the server sends a confirmation request to the terminal device.

[0100] The confirmation request is used to request the terminal device to confirm the target control instruction.

[0101] As a possible implementation method, when the target mapping relationship does not exist in the mapping relationship table, the server obtains the terminal device identifier, the target washing machine identifier, and the target control instruction, and encapsulates the terminal device identifier, the target washing machine identifier, and the target control instruction into a confirmation request. Further, the server sends a confirmation request to the terminal device.

[0102] In some embodiments, the confirmation request includes a target NFC tag identifier, an identifier of a target washing machine, and a target control instruction.

[0103] S305. When receiving the confirmation message sent by the terminal device, the server sends the target control instruction to the washing machine corresponding to the target control instruction.

[0104] The confirmation message at least includes a confirmation identifier and verification data, and the confirmation identifier is generated by the terminal device in response to a confirmation operation of the user.

[0105] As a possible implementation method, after receiving the confirmation message sent by the terminal device, the server parses the confirmation message to obtain a confirmation identifier. Further, the server sends a target control instruction to the washing machine corresponding to the target control instruction.

[0106] In some instances, the confirmation message also includes a user identifier. After receiving the confirmation message sent by the terminal device, the server parses the confirmation message to obtain the confirmation identifier and the user identifier. Further, the server verifies the user identifier and, if the verification is successful, sends the target control instruction to the washing machine corresponding to the target control instruction.

[0107] It can be understood that in the embodiment of the present application, when the target mapping relationship does not exist in the preset mapping relationship table, the server sends a confirmation request to the terminal device. In this way, the server performs a secondary authentication on the control instruction. When the server receives the confirmation message sent by the terminal device, it sends the target control instruction to the washing machine corresponding to the target control instruction. In this way, when the server confirms that the user wants to control the washing machine corresponding to the target control instruction, it sends the target control instruction to the washing machine. In this way, when the preset mapping relationship table does not have a mapping relationship corresponding to the verification data, the user is asked to perform a secondary confirmation on the control instruction, thereby accurately executing the control instruction.

[0108] In one design, in order to ensure that the mapping relationship between the NFC tag identifier and the control instruction is the latest mapping relationship, such as Figure 5 As shown, the washing machine control method provided in the embodiment of the present application further includes: S306.

[0109] S306: Upon receiving the confirmation message, the server updates the verification data to the mapping relationship table.

[0110] As a possible implementation method, after receiving the confirmation message, the server parses the confirmation message to obtain a confirmation identifier. Further, the server determines whether there is a first mapping relationship including the target NFC tag identifier in the preset mapping relationship table. In the case that the server has a first mapping relationship including the target NFC tag identifier in the preset mapping relationship table, the server generates a second mapping relationship based on the verification data and updates the first mapping relationship to the second mapping relationship. In the case that the server does not have the first mapping relationship including the target NFC tag identifier in the preset mapping relationship table, the server generates the second mapping relationship based on the verification data and generates the first mapping relationship in the preset mapping relationship table.

[0111] It should be noted that in Figure 5 In the example, it is shown that S305 is executed first and then S306 is executed. The server may also execute S306 first and then S305, or may execute S305 and S306 at the same time, which is not limited in the embodiment of the present application.

[0112] In one design, in order to generate a mapping relationship, such as Figure 6 As shown, the washing machine control method provided in the embodiment of the present application further includes: S307-S308.

[0113] S307: The server receives a registration message sent by the terminal device.

[0114] The registration message includes registration data, and the registration data at least includes a first NFC identifier and a first control instruction.

[0115] S308. The server updates the registration data to the mapping relationship table in response to the registration message.

[0116] As a possible implementation method, after receiving the registration message, the server obtains the data in the registration data, and generates a third mapping relationship based on the data in the registration data. Further, the server updates the third mapping relationship to a preset mapping relationship table.

[0117] In some embodiments, the registration data includes an NFC tag identifier and a control instruction. The server obtains the NFC tag identifier and the control instruction in the registration data, and generates a mapping relationship between the NFC tag identifier and the control instruction based on the NFC tag identifier and the control instruction. Further, the server updates the mapping relationship between the NFC tag identifier and the control instruction to a preset mapping relationship table.

[0118] In some embodiments, the registration data includes an NFC tag identifier, a control instruction, and a user identifier. The server obtains the NFC tag identifier, the control instruction, and the user identifier in the registration data, and generates a mapping relationship corresponding to the NFC tag identifier, the control instruction, and the user identifier based on the NFC tag identifier, the control instruction, and the user identifier. Further, the server updates the mapping relationship corresponding to the NFC tag identifier, the control instruction, and the user identifier to a preset mapping relationship table.

[0119] In one design, in order to avoid controlling the wrong washing machine. Figure 7 As shown, the washing machine control method provided in the embodiment of the present application is applied to a washing machine control system, wherein the washing machine control system includes a server, a terminal device, a washing machine and an NFC tag, and the washing machine control method includes: S401-S405.

[0120] S401: The terminal device obtains tag data in the NFC tag.

[0121] As a possible implementation method, when the terminal device is close to the NFC tag, it obtains the tag data in the NFC tag.

[0122] S402: The terminal device generates a control request based on the tag data.

[0123] In some embodiments, the tag data includes an NFC tag identifier and a control instruction. Based on the tag data, the terminal device searches the second storage module for an identifier of the washing machine corresponding to the control instruction, and obtains an identifier of the terminal device. Further, the terminal device generates a control request based on the tag data, the identifier of the terminal device, and the identifier of the washing machine.

[0124] In some embodiments, the tag data includes an NFC tag identifier, an identifier of the washing machine, and a control instruction. The terminal device obtains the identifier of the terminal device, and generates a control request based on the tag data and the identifier of the terminal device.

[0125] S403: The terminal device sends a control request to the server. Correspondingly, the server receives the control request sent by the terminal device.

[0126] S404: In response to the control request, the server determines whether there is a target mapping relationship corresponding to the verification data in the preset mapping relationship table.

[0127] S404 in the embodiment of the present application can refer to S302 and will not be described in detail.

[0128] S405: If the target mapping relationship exists in the mapping relationship table, the server sends a control instruction to the washing machine corresponding to the target control instruction. Correspondingly, the washing machine receives the control instruction sent by the server.

[0129] S405 in the embodiment of the present application can refer to S303 and will not be described in detail.

[0130] In one design, in order to accurately execute control instructions, such as Figure 8 As shown, the washing machine control method provided in the embodiment of the present application further includes: S406-S409.

[0131] S406: If the target mapping relationship does not exist in the mapping relationship table, the server sends a confirmation request to the terminal device. Correspondingly, the terminal device receives the confirmation request sent by the server.

[0132] S406 in the embodiment of the present application can refer to S304 and will not be described in detail.

[0133] S407: The terminal device generates a confirmation message in response to the user's confirmation operation.

[0134] Specifically, the terminal device receives the confirmation request through the control application and displays the operation control and the control instruction on the control application interface. Subsequently, the terminal device generates a confirmation message in response to the user's confirmation operation on the control application interface.

[0135] Exemplarily, the terminal device receives the confirmation request through the control application, and displays a "confirm" control, a "cancel" control, and a "start washing machine" command on the control application interface. Subsequently, the terminal device generates a confirmation message in response to the user touching the "confirm" control.

[0136] In some embodiments, the control instruction may also be a "run washing machine" instruction, a "pause washing machine" instruction, a "washing machine sterilization" instruction, or a "heating washing machine" instruction, etc.

[0137] S408: The terminal device sends a confirmation message to the server. Correspondingly, the server receives the confirmation message sent by the terminal device.

[0138] S409. When receiving the confirmation message sent by the terminal device, the server sends the target control instruction to the washing machine corresponding to the target control instruction.

[0139] S409 in the embodiment of the present application can refer to S305 and will not be described in detail.

[0140] In one case, the terminal device generates a cancellation message in response to the user's cancellation operation and sends the cancellation message to the server. The cancellation message includes verification data and a cancellation identifier. Accordingly, the server receives the cancellation message sent by the terminal device and no longer sends a control instruction to the terminal device.

[0141] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the transaction device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0142] The embodiment of the present application can divide the functional modules of the washing machine control device or the electronic device according to the above method. For example, the washing machine control device or the electronic device may include various functional modules corresponding to the various functional divisions, or two or more functions may be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0143] For example, an embodiment of the present application also provides a washing machine control device.

[0144] The present application embodiment provides a washing machine control device, which is applied to a server, such as Fig. 9 As shown, the washing machine control device 50 includes: a receiving unit 501, a judging unit 502 and a sending unit 503.

[0145] The receiving unit 501 is used to receive a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag.

[0146] The judgment unit 502 is used to judge whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table in response to the control request; the mapping relationship table includes multiple mapping relationships, each mapping relationship includes an NFC tag identifier and a control instruction.

[0147] The sending unit 503 is used to send a control instruction to the washing machine corresponding to the target control instruction when there is a target mapping relationship in the mapping relationship table.

[0148] In a possible implementation, the verification data further includes an identifier of the target washing machine, and each mapping relationship further includes an identifier of the washing machine.

[0149] In a possible implementation, the verification data further includes a target user identifier, and each mapping relationship further includes a user identifier.

[0150] In a possible implementation, the sending unit 503 is further used to send a confirmation request to the terminal device when there is no target mapping relationship in the mapping relationship table; the confirmation request is used to request the terminal device to confirm the target control instruction. The sending unit 503 is also used to send the target control instruction to the washing machine corresponding to the target control instruction when receiving a confirmation message sent by the terminal device; the confirmation message includes at least a confirmation identifier and verification data, and the confirmation identifier is generated by the terminal device in response to the user's confirmation operation.

[0151] In a possible implementation manner, the washing machine control device further includes an updating unit 504 .

[0152] The updating unit 504 is configured to update the verification data to the mapping relationship table when a confirmation message is received.

[0153] In a possible implementation, the receiving unit 501 is further configured to receive a registration message sent by the terminal device; the registration message includes registration data, and the registration data includes at least a first NFC tag identifier and a first control instruction.

[0154] The updating unit 504 is further configured to update the registration data to the mapping relationship table in response to the registration message.

[0155] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of the server involved in the above-mentioned embodiment. Fig.10 As shown, the server 60 includes a processor 601, a memory 602 and a bus 603. The processor 601 and the memory 602 may be connected via a bus 603.

[0156] The processor 601 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 601 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0157] As an embodiment, the processor 601 may include one or more CPUs, such as Fig.10 CPU 0 and CPU 1 are shown in .

[0158] The memory 602 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0159] As a possible implementation, the memory 602 may exist independently of the processor 601, and the memory 602 may be connected to the processor 601 via a bus 603 to store instructions or program codes. When the processor 601 calls and executes the instructions or program codes stored in the memory 602, the sensor determination method provided in the embodiment of the present application can be implemented.

[0160] In another possible implementation, the memory 602 may also be integrated with the processor 601 .

[0161] The bus 603 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0162] It should be pointed out that Fig.10 The structure shown does not constitute a limitation on the server 60. Fig.10 In addition to the components shown, the server 60 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0163] Optionally, the server 60 provided in the embodiment of the present application may further include a communication interface 604 .

[0164] The communication interface 604 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 604 may include a receiving unit for receiving data and a sending unit for sending data.

[0165] In one design, in the server 60 provided in the embodiment of the present application, the communication interface can also be integrated into the processor.

[0166] In another hardware structure of the server provided in an embodiment of the present application, the electronic device may include a processor and a communication interface. The processor is coupled to the communication interface.

[0167] The functions of the processor may refer to the description of the above processor. In addition, the processor also has a storage function, which may refer to the function of the above memory.

[0168] The communication interface is used to provide data to the processor. The communication interface can be an internal interface of the communication device or an external interface of the communication device.

[0169] It should be pointed out that the above-mentioned another hardware structure does not constitute a limitation on the server. In addition to the above-mentioned another hardware component, the TSN gateway may include more or fewer components, or a combination of certain components, or different component arrangements.

[0170] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the structural diagram of the middleware involved in the above-mentioned embodiments provided in the embodiments of the present application can refer to the structural diagram of the above-mentioned execution machine.

[0171] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the washing machine control method process shown in the above method embodiment.

[0172] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the washing machine control method in the above method embodiment.

[0173] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0174] Since the server, user equipment, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present application will not be repeated here.

[0175] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A washing machine control method, It is characterized in that Applied to a server, the method comprises: Receiving a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag; In response to the control request, determining whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table; the mapping relationship table includes a plurality of mapping relationships, each mapping relationship includes an NFC tag identifier and a control instruction; If the target mapping relationship exists in the mapping relationship table, sending the control instruction to the washing machine corresponding to the target control instruction; If the target mapping relationship does not exist in the mapping relationship table, sending a confirmation request to the terminal device; the confirmation request is used to request the terminal device to confirm the target control instruction; In the case of receiving a confirmation message sent by the terminal device, sending the target control instruction to the washing machine corresponding to the target control instruction; the confirmation message at least includes a confirmation mark and the verification data, and the confirmation mark is generated by the terminal device in response to the user's confirmation operation; Receiving a registration message sent by the terminal device; the registration message includes registration data, and the registration data includes at least a first NFC tag identifier and a first control instruction; In response to the registration message, the registration data is updated to the mapping relationship table.

2. The washing machine control method according to claim 1, It is characterized in that The verification data also includes an identification of a target washing machine, and each mapping relationship also includes an identification of a washing machine.

3. The washing machine control method according to claim 2, It is characterized in that The verification data also includes a target user identifier, and each mapping relationship also includes a user identifier.

4. The washing machine control method according to claim 1, It is characterized in that The method further comprises: When the confirmation message is received, the verification data is updated to the mapping relationship table.

5. The washing machine control method according to any one of claims 1 to 3, It is characterized in that The terminal device includes any one of a mobile phone, a tablet computer, a handheld computer, a wearable device and a smart TV.

6. The washing machine control method according to any one of claims 1 to 3, It is characterized in that The NFC tag is located at any one of the surface of the washing machine, the interior of the washing machine, the first room where the washing machine is located, or other rooms except the first room.

7. The washing machine control method according to any one of claims 1 to 3, It is characterized in that The target control instruction is used to start the washing machine.

8. A washing machine control device, It is characterized in that Applied to a server, the device comprises: a receiving unit, a judging unit, an updating unit and a sending unit; The receiving unit is used to receive a control request sent by a terminal device; the control request includes verification data, and the verification data includes a target NFC tag identifier and a target control instruction obtained by the terminal device from a near field communication NFC tag; The judgment unit is used to judge whether there is a target mapping relationship corresponding to the verification data in a preset mapping relationship table in response to the control request; the mapping relationship table includes a plurality of mapping relationships, each mapping relationship includes an NFC tag identifier and a control instruction; The sending unit is configured to send the control instruction to the washing machine corresponding to the target control instruction when the target mapping relationship exists in the mapping relationship table; The sending unit is further configured to send a confirmation request to the terminal device when the target mapping relationship does not exist in the mapping relationship table; the confirmation request is used to request the terminal device to confirm the target control instruction; The sending unit is further configured to send the target control instruction to the washing machine corresponding to the target control instruction when receiving a confirmation message sent by the terminal device; the confirmation message at least includes a confirmation mark and the verification data, and the confirmation mark is generated by the terminal device in response to a confirmation operation of a user; The receiving unit is further configured to receive a registration message sent by the terminal device; the registration message includes registration data, and the registration data includes at least a first NFC tag identifier and a first control instruction; The updating unit is used to update the registration data to the mapping relationship table in response to the registration message.