Detailed Description
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings in conjunction with a washing machine and a smartphone. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention. And can be adjusted as needed by those skilled in the art to suit particular applications.
For example, although described herein in connection with a washing machine, it is apparent that the scope of the present invention is not limited to the washing machine, and those skilled in the art can apply it to other home appliances such as an air conditioner, a refrigerator, a water heater, etc., as needed. Furthermore, although described in conjunction with a smart phone, it is obvious that the scope of the present invention is not limited to the smart phone, and those skilled in the art may implement the technical solution of the present invention by using other smart terminals, such as a smart watch, a bracelet, a PAD, etc., as long as it has an NFC function.
In the description of the present application, the term "a and/or B" denotes all possible combinations of a and B, such as a alone, B alone or a and B.
Referring first to fig. 1, fig. 1 is a schematic structural diagram of an NFC household appliance system. The above-described NFC household appliance system is one example of an NFC household appliance control method for implementing the present invention. In general, the NFC household appliance system includes a washing machine 1, an APP2, an NFC tag 3, a server 5, and an internet of things module 6, the APP2 is installed on a smartphone 4, and the internet of things module 6 is installed on the washing machine 1.
In this embodiment, the washing machine 1 and the smart phone 4 are respectively connected to the router 7, the washing machine 1, the smart phone 4 and the router 7 form a local network, and the router 7 is connected to the server 5 to jointly form an NFC household appliance system application network.
In addition, in this embodiment, the washing machine 1 is provided with an internet of things module 6, and the washing machine 1 is connected to the router 7 through the internet of things module 6, and is in communication connection with the smart phone 4 and the server 5.
Referring next to fig. 2, fig. 2 is a schematic diagram of a main control module of the NFC household appliance controlled by the module of the internet of things according to the present invention. In this embodiment, the module 6 of internet of things is installed in the washing machine 1, the module 6 of internet of things and the washing machine 1 supply power separately, the power supply 21 provides power for the module 6 of internet of things, the input of the power control module 9 is the power supply 21, the output of the power control module 9 is the power supply 22, and the power supply 22 provides power for the main control module 8.
With continued reference to fig. 2, after the main power supply 21 of the washing machine 1 is switched on, the internet of things module 6 is always in a standby state; after the internet of things module 6 receives an operation command, for example, an operation command of the washing machine sent from the server 5, the internet of things module 6 may control the power control module 9 to switch on the power 21 and the power 22 through a standard digital peripheral interface or other means, and start the main control module 8 of the washing machine 1 to operate. After the washing machine 1 finishes working, the internet of things module 6 controls the power control module 9 to disconnect the power 22 of the main control module 8, and the washing machine 1 is shut down. The internet of things module 6 closes the washing machine 1, the washing machine 1 can be directly closed according to an instruction of the server 5, the washing machine 1 can be automatically closed when the washing machine is idle for a long time and data from the server or the washing machine are not received, and the idle shutdown time can be set by a user, for example, 2 minutes. And the internet of things module 6 can perform data interaction with the household appliance main control module 8 through a UART interface, an SPI interface or other data interface modes, and establishes communication connection with the server 5. The Internet of things module 6 is adopted to control the main control module 8 to work, so that extra power consumption caused by long-time standby of the main control module can be avoided, the probability of fire occurrence is reduced, and the maintenance and replacement cost of household appliances can be reduced.
As an example, the internet of things module 6 may be implemented by a single chip, such as an ESP8266EX chip, which integrates a 32-bit processor, a standard digital peripheral interface, a Wi-Fi radio frequency part, a UART interface, an SPI interface, and the like, and only a few peripheral circuits are required to construct the internet of things module. The function of the internet of things module 6 can also be quickly realized by adopting an internet of things module of a third party manufacturer, for example, a USR-C215 module of Jinan people internet of things technology Limited is selected. It should be noted that, although several implementations of the internet of things module are listed here, those skilled in the art can understand that these examples should not set any limit to the scope of the present invention. Without changing the basic principle of the present invention, a person skilled in the art can design the internet of things module by himself.
Also, in the present embodiment, the APP2 is installed on the NFC-enabled smartphone 4. The household appliances of different brands, different types and different models all have special APP work interfaces, and the user can control the household appliances to work through the APP work interfaces and check the operating parameters of the household appliances. Specifically, according to the application, the user needs to log in the APP2 dedicated to the washing machine 1, and after the APP successfully verifies the user identity information, the user can control the work of the washing machine 1 through the smart phone 4 or check the operation parameters of the washing machine 1.
In addition, in the present embodiment, the NFC tag 3 is written with information such as a product serial number or a MAC address of the washing machine 1 and a corresponding control interface website, and is disposed on the washing machine 1 and/or at other locations in the room, such as a bedside table, a tea table, and the like, which are convenient for the user to operate.
In this regard, it should be noted that although the present application describes an NFC tag, this is only a simple application form of an NFC device, and any other NFC device or module with the same or similar functions may be used in the technical solution of the present invention. Such modifications do not depart from the principles of the invention and are therefore intended to be within the scope of the invention.
As described above, the smartphone 4 has an NFC function, has installed the APP2 specific to the washing machine 1, and is connected to the router 7 via the Wi-Fi network, making communication connections with the washing machine 1 and the server 5.
In a more specific embodiment, the server 5 may be a smart home server of a home local network, a cloud-end smart home server, or another type of remote server. As described above with respect to NFC tags, the specific form of the server 5 may be adjusted as required, which should not limit the scope of the present invention. Specifically, the server 5 controls data communication between the washing machine 1 and the smartphone 4. More specifically, server 5 receives control commands from APP2 from smartphone 4, issues to washing machine 1 for execution, and receives and transmits from washing machine 1 its current operating parameters to smartphone 4 for display on APP 2. Meanwhile, the server 5 stores and verifies user identification information, and records the use condition of each user in each washing machine 1.
Working program interface corresponding to household appliance
Referring next to fig. 3, fig. 3 is a flowchart illustrating main steps of an NFC household appliance control method according to an embodiment of the present invention, where the NFC household appliance control method includes:
step S301: when an NFC-enabled smart terminal (a smart phone 4 in FIG. 1) reads tag data in an NFC tag (an NFC tag 3 in FIG. 1) by approaching the NFC tag, an APP program installed on the smart terminal is operated and directly jumps to a working program interface of the APP program, wherein the working program interface corresponds to a household appliance;
step S302: and directly operating the working program or operating the corresponding working program according to the confirmation condition of the user.
Wherein the NFC tag is provided on the household appliance (washing machine 1 in fig. 1) and/or elsewhere in the room.
In a preferred embodiment, as shown in fig. 1, the mounting position of the NFC tag 3 on the washing machine 1 may be any one or more of the following three situations: a sloping central back 11 below the detergent dispenser box handle cavity of the washing machine 1; the top surface 12 of the control knob of the washing machine 1; the rightmost side 13 of the control panel of the washing machine 1.
Most preferred is the first position: the advantage of this position of the sloping central back 11 below the detergent dispenser box handle cavity of the washing machine 1 is:
the periphery is a plastic piece, and no other electronic components are arranged, so that the problem of signal interference is not considered;
the inherent structure of the washing machine 1 can be used for limiting the smart phone 4, so that the NFC tag 3 can be conveniently aligned without being aligned intentionally;
here, there is usually an upward sloping slope, and the height and posture are very natural when a person stands and holds the smartphone 4 to touch, which is in line with ergonomics;
for the dryer type, when the drying function is used, the permeability is good, the heating element is far away and more isolated, the temperature is lowest, the dryer can be normally used without adding other protective measures, and the cost is favorably reduced;
the water inlet structure is separated from the water inlet structure, and water proofing is not needed.
Less preferred is the second position: the top surface 12 of the control knob of the washing machine 1, this position has the advantages of:
the position protrudes out of the body, and no matter which position the NFC module of the smart phone 4 is located, touch can be easily achieved;
the touch is used for realizing control, and the knob is also used for controlling, so that the purpose is the same between the two, and the association is easy.
More preferred is the third position: the rightmost side 13 of the control panel of the washing machine 1, this position has the advantage of:
the edge part is more striking;
the inclination angle of the intelligent mobile phone is beneficial to the touch of the intelligent mobile phone 4, and meets the ergonomics;
most people hold the smart phone 4 with the right hand, and the touch is more natural after the clothes throwing and shutdown.
In this embodiment, the data content contained in the NFC tag 3 includes:
product serial number of the household appliance (washing machine 1 in fig. 1);
MAC address of the home appliance;
the control interface website corresponding to the household appliance.
Each household appliance has a unique product serial number, and the product serial number of the household appliance comprises information such as a household appliance manufacturer, the type of the household appliance, the model number of the household appliance and the like.
The MAC address of the home appliance, a unique network identification for the server 5 to communicatively connect.
The control interface website corresponding to the household appliance, the storage address on the network cloud server of the household appliance control interface, and the control interface of each APP program correspond to the unique control interface website corresponding to the household appliance.
In this embodiment, a correspondence table between the home appliance and the NFC tag data as shown in fig. 4 may be stored in the server 5, and the contents of the correspondence table include: the NFC label ID, the product serial number of the household appliance, the MAC address of the household appliance and the control interface website corresponding to the household appliance. Any one of the data in the table shown in fig. 4 is obtained, and the server 3 inquires the data, so that all the information of the household appliance 1 can be obtained.
In this embodiment, the NFC tag ID, the product serial number of the home appliance, and the MAC address of the home appliance all have uniqueness, and therefore, a one-to-one correspondence relationship is established among the NFC tag ID, the product serial number of the home appliance, and the MAC address of the home appliance, that is, one piece of information is determined, and then, other information of the home appliance can be queried from the correspondence table of the home appliance and the NFC tag data shown in fig. 4.
In this embodiment, the control interfaces of the household appliances of the same model are the same, and therefore, the control interface website corresponding to one household appliance corresponds to a plurality of household appliances. As shown in FIG. 4, the network addresses of the control interfaces corresponding to the two household appliances with network MAC addresses of BC-17-B8-B7-D1-76 and BC-17-B8-B7-D1-77 are www.hanraylaw.com/A98/432 html, which indicates that the two household appliances are the same type of household appliance.
Further, the smart terminal (the smart phone 4 in fig. 1) reads any one of the information of the NFC tag ID, the product serial number of the home appliance, and the MAC address of the home appliance included in the NFC tag, and by querying the correspondence table between the home appliance and the NFC tag data shown in fig. 4, the control interface website of the home appliance can be obtained.
In the present embodiment, the data of the NFC tag 3 is written in a predetermined data storage area in the NFC tag 3 in a predetermined data format. As an example, fig. 5 shows the data and memory area definitions of the NFC tag 3. The data storage format of the product serial number of the household appliance is an ASCII format, the block address of a storage area in the NFC tag 3 is 0x05, and the address range of an area in the block is 0x 00-0 x 0D; the data storage format of the MAC address of the household appliance is a hexadecimal format, the block address of the storage area in the NFC tag 3 is 0x06, and the address range of the area in the block is 0x 00-0 x 05; the tag attribute data storage format is a hexadecimal format, the block address of the NFC tag 3 storage area is 0x07, and the address of the intra-block area is 0x 00.
It should be noted that although several examples of data content, data formats, and storage areas stored by the NFC tag are listed here. However, it will be understood by those skilled in the art that these examples should not be construed as limiting the scope of the present invention in any way. On the premise of not changing the basic principle of the present invention, a person skilled in the art can define the data format, the storage area and other contents stored in the NFC tag according to the actual conditions of the length of the product serial number of the home appliance, the type of the NFC tag and the like.
In a preferred embodiment, the working interface is determined by both the NFC tag data and the user identity information. That is to say, in the APP operation related to the present invention, the user needs to log in the APP in advance, and after the user logs in, the smart phone 4 automatically records the user login information, so that the user does not need to log in again for verification within a certain time, and after the smart phone 4 reads the NFC tag 3, the APP2 can be directly triggered to operate. For a new user, after the user needs to be registered, login operation can be carried out, when the new user is registered, the smart phone 4 transmits user identity information to the server 5, and the server 5 establishes a personal household appliance use file for the user. The login authentication method commonly used by the APP comprises the following steps: a user name and password verification mode, a mobile phone verification code mode, a WeChat/Paibao authorization mode, a face recognition mode, a fingerprint recognition mode, sharing login verification by a joined family member and the like. The login verification method is well known to many skilled persons, and will not be described herein.
In a preferred embodiment, as shown in fig. 6, the home appliance usage profile data of the user may be stored in the form of a table. The data content of the usage profile of the user's home appliances generally includes: user number, household appliance MAC address, use date, use time, working mode and other information. The user household appliance uses the archive data table to record the condition that each user uses the household appliance, such as which household appliance, the service time, the working mode of the household appliance and the like. Through big data analysis of the server 5, the usage habit of each user on each household appliance can be obtained.
In the preferred embodiment, the operation mode types of the washing machine 1 can be classified into three types: standard wash programs, self-learning wash programs, and custom wash programs. The standard washing program is a washing mode preset by a washing machine manufacturer, such as quick washing, mixed washing, pure cotton washing and the like. The self-learning washing program is a recommended working mode of the user on the household appliance obtained after the server analyzes and learns according to the use record data of the user on the household appliance. The customized washing program is a washing program which is set and stored on the household appliance according to personal preference of a user. If the washing program set by the user is not saved, the washing program data will also be uploaded to the server 5 as basic data for the self-learning washing program. That is, the operation mode of the standard washing program is independent of user information, and the self-learning washing program and the customized washing program are related to user identification information and to specific home appliances.
Continuing with FIG. 6, in this embodiment, the encoding of the operational mode may consist of three parts: a work mode type, a work mode number, and a user number. In the example of fig. 6, the operation mode type is composed of a one-digit letter, a represents a standard washing program, B represents a self-learning washing program, and C represents a customized washing program. The operation mode number is composed of two digits and represents a washing program in the corresponding operation mode type. The user code is used to distinguish between the exclusive working modes of different users, which may be missing from the standard washing program. For example: a-01 represents a quick wash in a standard wash program; a-02 represents the mix wash in the standard wash program; B-01-N0001 represents the self-learning washing program numbered 01 for the user numbered N0001; C-01-N0001 represents the customized washing program numbered 01 for the user numbered N0001; C-01-N0002 represents the custom wash program numbered 01 for the user numbered N0002.
In this embodiment, the work program interface may display the work mode of one or more home appliances. When only one operation mode is displayed, the operation mode may be any one operation mode from among a standard washing program, a self-learning washing program, and a customized washing program. When multiple wash programs are displayed, the wash programs may be any number, any form of combination from among standard wash programs, self-learning wash programs, and custom wash programs. For example, when three wash programs are displayed, the three wash programs are all from a standard wash program; or two from a standard wash program and one from a custom wash program; or other forms of combination. The number of working mode displays in the working program interface, the APP2 preferably defaults to one; the user can also set and display a plurality of working modes according to personal preferences.
In the present embodiment, the determination of the operation mode is performed on the server 5, and determination rules of a plurality of operation modes may be set in the server 5. For example, when the work program interface only displays one work mode, the following rules can be set: rule one, the last working mode used by the user; rule two, the most used one of the operation modes used by the user last 10 times, if there are a plurality of the same operation modes, the most used one is used. Also, a determination rule may be set when the operation program interface of the home appliance displays a plurality of operation modes. The selection of the operating mode may be a default for the server 5 or may be selected by the user at the APP 2.
In this embodiment, when the user sets that only one working mode is displayed, the working mode is the operating mode of the working mode, the APP2 default setting is delayed automatic operation, and during the delay timing waiting, the user can cancel the displayed mode and reselect another working mode; the APP2 has a default latency time of 10 seconds, which the user can modify. In addition, the user can also cancel the delayed automatic operation setting and change the delayed automatic operation setting into operation after clicking confirmation. When the user configuration shows a plurality of operation modes, the APP2 is typically configured to operate after a click confirmation, and the user may select one of the several operation modes shown, or reselect another operation mode. If the user has not selected it may directly run a default one of the several operating modes displayed if the waiting time is exceeded.
It should be noted that, although several examples of the data of the usage profile of the user's home appliances, the type of the operation mode, the encoding of the operation mode, the determination of the operation mode, and the number of the operation mode displays are listed here. However, it will be understood by those skilled in the art that these examples should not be construed as limiting the scope of the present invention in any way. Those skilled in the art can devise such data on an actual basis without altering the basic principles of the present invention.
As an example, the household appliance to be controlled is the washing machine 1 in the NFC household appliance system shown in fig. 1, the server 5 of the NFC household appliance system is a cloud smart home server, the washing machine 1 and the smart phone 4 have both been connected to a local network, and a communication link between the local network and the cloud smart home server is smooth, the NFC tag 3 has been written with data and is set on the washing machine 1 or at another location in the room where the operation by the user is convenient, the NFC function of the smart phone 4 has been turned on, and the APP2 has stored the login information of the user.
Referring next to fig. 7, a main working method flow of the NFC household appliance control includes:
step S701: the smart terminal (a smart phone 4 in fig. 1) approaches the NFC tag and reads data of the NFC tag (an NFC tag 3 in fig. 1);
step S702: the APP (APP 2 in FIG. 1) background service program analyzes the NFC label data;
step S703: the APP is connected with an intelligent home server (a server 5 in fig. 1) of the cloud through an intelligent terminal, and the NFC tag data and the user information are uploaded to the server;
step S704: the cloud intelligent home server establishes a data channel between the household appliance (the washing machine 1 in the figure 1) and the intelligent terminal through the internet of things module (the internet of things module 6 in the figure 1) according to the household appliance MAC address in the NFC label data;
step S705: the APP accesses the website of the household appliance control interface in the NFC label to obtain the control interface of the household appliance;
step S706: the APP displays a working program interface of the household appliance according to a working mode determination result fed back by the intelligent home server at the cloud end;
step S707: operating a working mode displayed by a working program interface after automatic operation or delayed automatic operation or click determination of a user;
step S708: the Internet of things module receives a server command to control the household appliance to work;
step S709: and the intelligent home server at the cloud end records the use data of the home appliances of the user.
As a premise of step S706, after receiving the NFC tag data and the user information, the server may analyze and determine the working mode applicable to the user according to the MAC address of the home appliance in the NFC tag data and the user information, according to a preset rule, and send the determined working mode to the APP.
Further, it is to be noted that steps S703, S705, and S706 are performed almost simultaneously. Specifically, when the APP uploads the NFC label data and the user information to the server, the APP can access a home appliance control interface website in the NFC label, and the server almost can send the working mode to the APP when receiving the NFC label data and the user information, so that in practice, as long as the smart phone is close to the NFC label, the operation is completely finished in a moment, and almost no time delay is sensed.
In step S707, "automatic operation" means that the program is directly operated without user confirmation after jumping to the operating program interface, "delayed automatic operation" means that a default program is executed when a set time length is reached because the user does not confirm or select the program within a predetermined time although user confirmation is required, "operating the operating mode displayed on the operating program interface after user click determination" means that the user performs a confirmation operation within a predetermined time or selects a specific operating mode, and accordingly executes the operating mode confirmed or selected by the user.
In some embodiments, since the data content of the NFC tag 3 may be copied, that is, a plurality of NFC tags 3 may be written with information such as the product serial number, the MAC address, and the corresponding control interface website of the same household appliance. Therefore, in the same home application environment, a plurality of tags can be configured for one home appliance.
It should be noted that, for safety reasons, only the NFC tag installed on the household appliance is allowed to control the household appliance to automatically operate, and other remotely set NFC tags can only be used to check the operating status, adjust the operating parameters, and suspend or continue the program, for example, when the user reads the NFC tag 3 installed on the washing machine 1, the user often checks whether there is a child or a pet in the drum of the washing machine, confirms that there is no foreign object in the drum of the washing machine, and closes the door of the washing machine, so that the functions of multiple tags generally configured for one household appliance are different. The difference in tag functionality can be distinguished by tag attributes in the data and memory area definitions of the NFC tag 3 shown in fig. 5. The label attribute data can be specified to be 0xAA, and the label can directly and automatically control the household appliance to work through the intelligent terminal; when the label attribute data is 0x00, the label attribute data indicates that the household appliance cannot be controlled to automatically operate through the intelligent terminal, but the working state of the washing machine is allowed to be checked in real time, and when the washing machine starts to operate, the washing machine can be controlled to pause and continue to operate.
As an example, a plurality of NFC tags 3 may be configured for the same washing machine 1, one of the NFC tags is usually disposed on the body of the washing machine 1, tag attribute data is 0xAA, for example, the NFC tag is disposed on the slope center back 11 below the handle cavity of the detergent dispenser box of the washing machine 1, the top surface 12 of the control knob of the washing machine 1, and the rightmost side 13 of the control panel of the washing machine 1, and other NFC tags 3 may be disposed at other locations in the room convenient for the user to operate according to actual conditions, and tag attribute data is 0x00, for example, a tea table, a bedside table, and the like, thereby implementing remote control of the washing machine 1. As an example scenario, the user is preparing to wash clothes, and a favorite ball game has also started, at this time, the user can put clothes into the washing machine 1 and close the door, and after touching the label on the washing machine with a smart phone, immediately run back to the front of the television, the washing machine can automatically run according to the washing mode recommended by the server; if the user feels that the ball is seen by the sound of the work of the washing machine, the NFC label configured on the tea table can be touched by the smart phone, the work program interface of the washing machine is displayed, the work of the washing machine is suspended through the work program interface of the smart phone, the work of the washing machine is continued through the smart phone when the competition is carried out for rest time or garbage time, and the washing and the ball-looking are not delayed.
In other embodiments, the server 5 may be a smart home server of a home local network, i.e. the server of the NFC household appliance system is deployed in the local network and the server is not connected to a public network. In this case, the smart home server of the home local network needs to store the control interface of the washing machine 1, and a mapping relationship between the "home appliance control interface website stored in the NFC tag" and the "home appliance control interface stored in the smart home server of the home local network" is established in the server.
In some cases, the smartphone 4 is connected to a network of a telecommunications carrier and has access to the internet. The APP2 installed on the smart phone 4 can perform data interaction with the cloud-side smart home server through the network of the telecom operator, and can perform data interaction with the washing machine 1 of the local network through the cloud-side smart home server. In this case, the smartphone 4 may also control the operation of the washing machine 1 and view the operating parameters of the washing machine 1 by reading the NFC tag 3 provided on the washing machine 1.
In other cases, the washing machine 1 may also directly access the network of the telecom operator through the modules such as 4G and 5G, and perform data interaction with the cloud-side smart home server. In this case, the smartphone 4 may also control the operation of the washing machine 1 and view the operating parameters of the washing machine 1 by reading the NFC tag 3 provided on the washing machine 1.
In some simple cases, the washing machine 1 and the smart phone 4 can communicate directly, the smart phone 4 starts a hot spot function, and the washing machine 1 and the smart phone 4 communicate directly through a Wi-Fi network; the washing machine 1 performs data interaction with the cloud-end smart home server through the telecommunication operator network of the smart phone 4. In this case, the smartphone 4 may also control the operation of the washing machine 1 and view the operating parameters of the washing machine 1 by reading the NFC tag 3 provided on the washing machine 1.
It is to be noted that, although a few networking scenarios of NFC household appliance systems are listed here, it can be understood by those skilled in the art that these examples should not constitute any limitation to the scope of protection of the present invention. Without changing the basic principle of the present invention, a person skilled in the art can network the NFC household appliance system according to the actual situation such as the configuration of the household appliance, the condition of the network, etc.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.