CN114584957B - Data writing method, device and equipment - Google Patents

Data writing method, device and equipment Download PDF

Info

Publication number
CN114584957B
CN114584957B CN202111350605.XA CN202111350605A CN114584957B CN 114584957 B CN114584957 B CN 114584957B CN 202111350605 A CN202111350605 A CN 202111350605A CN 114584957 B CN114584957 B CN 114584957B
Authority
CN
China
Prior art keywords
nfc
data area
user
module
product
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111350605.XA
Other languages
Chinese (zh)
Other versions
CN114584957A (en
Inventor
张作强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Original Assignee
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd filed Critical Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority to CN202111350605.XA priority Critical patent/CN114584957B/en
Publication of CN114584957A publication Critical patent/CN114584957A/en
Application granted granted Critical
Publication of CN114584957B publication Critical patent/CN114584957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The specification provides a data writing method, device and equipment. The NFC module of the household appliance is provided with a custom data area, the custom data area is configured to use a non-NFC data exchange format which can be identified by a product application, and an operating system of the user mobile device can be read and written on the custom data area; the product application is installed on the user mobile device. The product application sends a writing instruction to the operating system, wherein the writing instruction comprises data to be written; and the operating system calls the NFC module of the user mobile equipment and writes the data to be written into a custom data area in the NFC module of the household appliance.

Description

Data writing method, device and equipment
Technical Field
The present disclosure relates to the field of intelligent home appliances, and in particular, to a data writing method, device and equipment.
Background
The current home appliance can be configured with an NFC module, and a product application installed on the user mobile device can call the NFC module of the user mobile device through an operating system of the user mobile device, and data can be written into the NFC module of the home appliance.
In practical applications, in view of important business data security, manufacturers of home appliances sometimes want an operating system of a user mobile device (maintained by the user mobile device manufacturer) to be only readable and not writable to data in NFC without being allowed. In other words, the operating system of the user mobile device is required to write data into the NFC of the home appliance when the operating system of the user mobile device is required by the home appliance manufacturer, while the operating system of the user mobile device is required by the home appliance manufacturer.
To this end, a data writing scheme is provided that can achieve the above-described objects.
Disclosure of Invention
Aiming at the technical problems, the specification provides the following technical scheme:
In a first aspect, a data writing method is provided, an NFC module of an electric home appliance has a custom data area configured to use a non-NFC data exchange format identifiable by a product application, and an operating system of a user mobile device is readable and writable to the custom data area; the product application is installed on the user mobile device, the method comprising:
The product application sends a writing instruction to the operating system, wherein the writing instruction comprises data to be written;
And the operating system calls the NFC module of the user mobile equipment and writes the data to be written into a custom data area in the NFC module of the household appliance.
In some embodiments, the data to be written comprises: distribution network information.
In some embodiments, the home appliance further has a Wi-Fi module that can identify the non-NFC data exchange format, the method further comprising:
and the Wi-Fi module reads the distribution network information from the custom data area of the NFC module of the household appliance and distributes the network.
In some embodiments, the step of the Wi-Fi module performing network configuration includes:
In the hold terminal Station mode: reading distribution network information from the NFC chip, enabling default verification to pass under the condition that availability verification is not executed, and accessing a network through the Wi-Fi antenna according to the read distribution network information;
Wherein the availability check comprises: and checking the availability of the distribution network information according to the hot spot identification list scanned in the AP mode.
In some embodiments, the Wi-Fi module reads the network configuration information from the custom data area of the NFC module of the home appliance, including:
the Wi-Fi module monitors the level of an induction signal between the NFC module of the household appliance and the NFC module of the user mobile device, and when the change from low level to high level is monitored, the network distribution information is read from a user-defined data area of the NFC module of the household appliance.
In some embodiments, the method further comprises:
when the Wi-Fi module is placed in a Station mode and changes from high level to low level is monitored for the first time, a writing control mark in the custom data area is set as a first mark, and after a specified duration time passes, the writing control mark in the custom data area is set as a second mark from the first mark;
When the product application meets the writing condition, a writing instruction is sent to the operating system; the writing conditions include: the writing control mark in the custom data area is a second mark.
In some embodiments, when the change from low level to high level is detected, the reading the network allocation information from the custom data area of the NFC module of the home appliance includes:
After a write control flag in an NFC module of the home appliance is set to a second flag from a first flag, when the change from low level to high level is monitored, network allocation information is read from a custom data area of the NFC module of the home appliance.
In some embodiments, the NFC module of the home appliance further has a standard data area configured to use an NFC data exchange format, and the operating system is readable and non-writable with respect to the standard data area.
In some embodiments, the data to be written comprises: configuration information for configuring the home appliance.
In some embodiments, the data to be written includes distribution network information; the product application includes a product client program or a product light application; the standard data area comprises a first NFC record, wherein the first NFC record has an NFC data exchange format of a URL type;
The first NFC record includes a URL for triggering the operating system to execute: under the condition that the product client program is installed, opening the product client program, and opening the product light application when the product client program is not installed;
The method further comprises the steps of:
Before the product application writes the distribution network information into the custom data area, the operating system calls an NFC module of the user mobile device, reads the first NFC record in the standard data area, and opens the product application based on the URL in the first NFC record.
In a second aspect, a data writing apparatus is provided, an NFC module of an electric home appliance has a custom data area configured to use a non-NFC data exchange format identifiable by a product application, and an operating system of a user mobile device is readable and writable to the custom data area; the product application is installed on the user mobile device, the apparatus is applied to the product application, the apparatus comprises:
And the sending module is used for sending a writing instruction to the operating system, wherein the writing instruction comprises data to be written, so that the operating system calls the NFC module of the user mobile equipment, and the data to be written is written into a custom data area in the NFC module of the household appliance.
In a third aspect, a data writing apparatus is provided, an NFC module of an electric home appliance has a custom data area configured to be readable and writable by an operating system of a user mobile device using a non-NFC data exchange format identifiable by a product application; the product application is installed on the user mobile device, the apparatus is applied to the operating system, the apparatus comprises:
invoking an NFC module of the user mobile equipment, and writing data to be written into a custom data area in the NFC module of the household appliance; the data to be written is contained in a writing instruction, and the writing instruction is sent to the operating system by the product application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present description, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
Fig. 1 is a schematic flow chart of a current network configuration method provided in the present specification;
Fig. 2 is a schematic structural diagram of an a-type home appliance provided in the present specification;
fig. 3 is a schematic flow chart of a network configuration method provided in the present specification;
fig. 4 is a schematic structural diagram of a B-type home appliance provided in the present specification;
fig. 5 is a flow chart of a method for accessing a B-type home appliance to a network provided in the present specification;
fig. 6 is a schematic structural diagram of an NFC data area;
Fig. 7 is a schematic structural diagram of a more specific NFC data area provided in the present specification;
fig. 8 is a schematic diagram of a change of a sensing signal level of NFC modules with different specifications provided in the present specification;
fig. 9 is a schematic structural view of the computer device proposed in the present specification.
Detailed Description
In the present description, a number of different conceptual solutions are described. In each technical solution of the concept, there are one or more embodiments, and the technical solutions of different concepts may be combined with each other to form further embodiments. After reading the present specification, those skilled in the art may combine the technical solutions of different concepts to obtain new technical solutions, and these new technical solutions should also fall within the scope of the present specification.
The technical solutions of these different concepts are described in turn below. Some of these concepts may be represented by a number of different concepts, and for these concepts, an explanation is given here when they first appear, and a description is not repeated hereinafter.
The household appliance product described herein generally refers to an electric appliance product applied to various applications in a home environment, and specifically may be a cooking appliance having a certain cooking function, such as an electric pressure cooker, an electric frying pan, and the like. In addition, the cooking appliance can also be a multifunctional cooking appliance with various cooking functions.
The home appliances described in the present specification have conventional structures and functions (such as product housing, power interface, basic home appliance functions, etc.) of home appliances currently on the market, and are not specifically described herein.
Some home appliances on the market today can connect to the network through a built-in Wi-Fi module. When a user uses a home appliance with a networking function for the first time, network allocation information for accessing a network is generally required to be transmitted to a Wi-Fi module of the home appliance to complete network allocation. The network configuration information described herein generally refers to authentication information for enabling a Wi-Fi module to connect to a router, which is generally a wireless network identification SSID and a wireless network password corresponding to the router.
As shown in fig. 1, in the current network configuration manner, when a user needs to configure a home appliance, firstly, a Wi-Fi module of the home appliance is switched from a factory default Station mode to an AP mode, and when the home appliance is in the AP mode, the user can search for a hotspot of the Wi-Fi module of the home appliance by using his mobile device, for example, a mobile phone, and then connect his mobile device to the hotspot of the Wi-Fi module of the home appliance. Therefore, the Wi-Fi module of the home appliance is equivalent to the fact that an information transmission channel is established between the user mobile device and the Wi-Fi module of the home appliance, and the user mobile device can transmit the distribution network information to the Wi-Fi module of the home appliance.
The method of obtaining the network allocation information by the user mobile device may be that the user provides the network allocation information to the user mobile device, for example, the user may input the network allocation information into an interface of a product application corresponding to the home appliance installed on the user mobile device.
In addition, in practical applications, the user mobile device is often already configured by the user, that is, the user mobile device is already connected to a router in the user's home, where the user mobile device actually has configuration information corresponding to the router already acquired. If the operating system of the user's mobile device opens the right to obtain the distribution network information to the product application, the product application may not require the user to input the distribution network information, but may directly obtain the distribution network information from the operating system.
With continued reference to fig. 1, after the Wi-Fi module receives the distribution network information, in order to ensure that the received distribution network information is the distribution network information corresponding to the hot spot of the router existing in the surrounding environment, the distribution network information needs to be kept in the AP mode, that is, a hot spot identification list existing in the surrounding environment is detected, whether the wireless network identification contained in the received distribution network information is in the hot spot list is judged, if so, the Wi-Fi module can be switched to the Station mode again, the Wi-Fi module can be used as a Station, and is connected to the router according to the distribution network information, if not, the distribution network fails.
With continued reference to fig. 1, after the Wi-Fi module of the home appliance is connected to the router, the router may assign an intranet IP address to the home appliance, and the home appliance may be connected to an external network through the router using the assigned intranet IP address. Typically, the home appliance is connected to the external network for communication with the product server of the home appliance, so as to upload some data (such as a product usage record) on the home appliance to the product server, and receive some data (such as a control command) issued by the product server.
In the above process, the user needs to trigger the home appliance to start the AP mode, so that the network configuration information can be transmitted to the home appliance, and after the transmission is completed, the Wi-Fi module of the home appliance needs to be restarted and switched from the AP mode to the Station mode, so that the network configuration information can be accessed to the network. In the whole process, firstly, a user is required to manually switch a Wi-Fi module of a household appliance from a Station mode to an AP mode, then, after the Wi-Fi module of the household appliance acquires the network distribution information, the mode is switched once again (the mode is switched back to the Station from the AP mode), a certain time is consumed, and the time for waiting for the completion of the network distribution is long for the user. In addition, in the above process, the user often needs to operate his mobile device to temporarily disconnect from the router hotspot, and temporarily connect to the hotspot of the Wi-Fi module of the home appliance (so as to transmit the network allocation information), which is also troublesome for the user.
In order to improve user experience, the present description provides a network distribution mode, which is applied to an improved household electrical appliance. For convenience of description, such home appliances are referred to as a type a home appliance. The A-type household appliance is provided with a household appliance control module, a near field communication NFC module and a wireless fidelity Wi-Fi module; the household appliance control module is connected with the NFC module through an interface, and the household appliance control module is connected with the Wi-Fi module through an interface.
The home appliance control module and the NFC module (Wi-Fi module) may be connected through a serial interface or a parallel interface. On one hand, the household appliance control module supplies power to the NFC module and the Wi-Fi module through the interface, and on the other hand, the data interaction between the modules can be carried out through the interface.
Fig. 2 is a schematic structural diagram of an a-type home appliance provided in the present specification. As shown in fig. 1, a home appliance control module can be constructed based on an electric control board and a control chip on the electric control board, and an NFC module (Wi-Fi module) is connected with the electric control board through a universal asynchronous receiver/Transmitter (UART) serial port.
The network distribution mode based on the type A household appliances can be shown in fig. 3. Firstly, when a user needs to perform network distribution for a household appliance, firstly, a Wi-Fi module of the household appliance is switched from a factory default Station mode to an AP mode, specifically, the user can enable a mobile device with NFC function to be close to the NFC module of the household appliance, further, a control instruction triggering the Wi-Fi module to enter a network distribution state is sent to the NFC module, after the NFC module receives the instruction, the instruction is transmitted to an electric control board through a UART serial port, and then the electric control board transmits the instruction to the Wi-Fi module through the UART serial port, further, the Wi-Fi module can enter the network distribution state, namely, the Station mode is switched to the AP mode, a feedback result is sent to the electric control board, and further, the feedback result is sent to the mobile device.
With continued reference to fig. 3, after determining that the Wi-Fi module of the home appliance switches to the AP mode, the user may transmit the configuration information to the NFC module of the home appliance through the mobile device, the NFC module may transmit the configuration information to the MCU through the UART serial port, the MCU may transmit the configuration information to the Wi-Fi module through the UART serial port, and the Wi-Fi module may maintain the AP mode after receiving the configuration information, and check the configuration information (the same checking manner as in the method shown in fig. 1, which is not repeated), thereby being connected to the router in case of passing the check.
The manner shown in fig. 3 can avoid that the user manually switches the Wi-Fi module of the home appliance from the default Station mode to the AP mode, and also avoid that the user operates the mobile device to temporarily disconnect the router and temporarily establish connection with the Wi-Fi module of the home appliance to perform network configuration information transmission. The user can use the NFC module (touch mode) of the mobile equipment induction home appliances to trigger the Wi-Fi module of the home appliances to switch from the default Station mode to the AP mode, and the network distribution information is transmitted to the Wi-Fi module of the home appliances through the NFC approach. However, in the manner shown in fig. 3, the Wi-Fi module of the home appliance still needs to check the network configuration information in the AP mode, which means that the mode switch still needs to be performed, and the user still needs to wait for a long time in the network configuration process.
In addition, in the network distribution mode shown in fig. 3, the network distribution information is transmitted by using the path from the NFC module of the home appliance to the electric control board MCU to the Wi-Fi module, and the path is too long, which has the problems of too long transmission time and unreliable transmission (for example, the MCU may transmit wrong network distribution information to the Wi-Fi module).
In summary, the home appliances are required to perform mode switching, either by the network distribution method shown in fig. 1 or the network distribution method shown in fig. 3. The reason why the Wi-Fi module of the home appliance needs to switch modes in the network distribution process is that, in order to meet the reliability requirement of the product function, it needs to be ensured that the Wi-Fi module is within the hot spot coverage range of the router, so that the Wi-Fi can be successfully connected to the router based on the network distribution information corresponding to the router (otherwise, the connection is failed, the product function is unreliable), and before the Wi-Fi module is connected to the router, it needs to switch to the AP mode to detect a hot spot list which can be connected to the surrounding environment, and if the router hot spot corresponding to the network distribution information is in the hot spot list, the connection can be ensured to be successful, then the Wi-Fi module needs to switch to the Station mode to connect. Thus, networking logic of existing Wi-Fi modules is generally configured to have to go through mode switching and distribution network information verification.
In order to solve the technical problems of the network distribution method shown in fig. 1 and the network distribution method shown in fig. 3, the present disclosure further provides a network distribution method, and the network distribution method is applied to another improved home appliance, which is called a B-type home appliance. The type B home appliances are further improved on the basis of the type A home appliances.
B-type household electrical appliance: the household appliance control system comprises a household appliance control module and a communication module, wherein the communication module integrates an NFC chip, an NFC antenna, a Wi-Fi chip and a Wi-Fi antenna; the household appliance control module is connected with the communication module through an interface.
The household appliance control module and the communication module can be connected through a serial interface or a parallel interface. On one hand, the household appliance control module supplies power to the communication module through the interface, and on the other hand, the data interaction between the modules can be carried out through the interface.
The communication module integrates the NFC chip, the NFC antenna, the Wi-Fi chip and the Wi-Fi antenna, so that the NFC chip, the NFC antenna, the Wi-Fi chip and the Wi-Fi antenna can be integrated on one circuit board, and the Wi-Fi antenna can be designed in an onboard mode or an external mode. The circuit board is used as a communication module, and an interface is exposed to a household appliance control board. On the layout design of the circuit board, the NFC antenna and the Wi-Fi antenna are ensured not to interfere with each other as much as possible, and the optimal performance of the NFC antenna and the Wi-Fi antenna on the premise of the specification and the size of the circuit board is ensured as much as possible.
The NFC chip in the communication module can be an active NFC chip or a double-interface passive NFC chip.
Fig. 4 is a schematic structural diagram of a B-type home appliance provided in the present specification. As shown in fig. 2, the structure of the home appliance control module of the a-type home appliance is reserved, and the communication module is connected with the electric control board through a UART serial port.
Furthermore, it is worth emphasizing that the NFC module may refer to a module mainly composed of an NFC chip and an NFC antenna, and the Wi-Fi module may refer to a module mainly composed of a Wi-Fi chip and a Wi-Fi antenna. In the description herein, reading and writing to the NFC module of the home appliance actually refers to reading and writing to the NFC chip in the NFC module of the home appliance. For convenience of description herein, when "NFC of home appliances" is stated, it is meant that the type a home appliances are not distinguished from the type B home appliances; when "NFC module of home appliance" is stated, it is meant for a type a home appliance; when "NFC chip of communication module" or "NFC chip" is stated separately, it is meant for a type B home appliance.
For the B-type household appliance, the NFC function and the Wi-Fi function of the household appliance are integrated in the same module, so that the Wi-Fi chip directly acquires the distribution network information from the NFC chip in the same module, an intermediate path is avoided, the time for transmitting the distribution network information to the Wi-Fi chip is shortened, and the reliability for transmitting the distribution network information to the Wi-Fi chip is improved.
Fig. 5 is a flowchart of a method for accessing a B-type home appliance to a network according to an embodiment of the present disclosure. The method shown in fig. 5 is applied to a system comprising user mobile equipment and home appliances; the user mobile device installs a product application.
The method shown in fig. 5 comprises the following steps:
S500: after the product application is started, the network allocation information used by the mobile equipment of the user is determined under the condition that the mobile equipment is determined to be accessed to the network through the Wi-Fi module of the mobile equipment.
The user mobile device applied in the embodiments provided in the present specification needs to have an NFC module. The NFC module of the user is typically controlled by the operating system of the user's mobile device. The user brings the user mobile device close to the NFC induction area of the home appliance (namely, the NFC chip in the home appliance can induce the area), and the NFC module of the user mobile device can be triggered to establish NFC connection with the NFC chip of the home appliance. After the NFC connection is established, the operating system of the user mobile device can control the NFC module of the user mobile device to serve as a card reader to read and write data in the data area of the NFC chip of the household appliance.
It should be noted that, after the NFC connection is established, the operating system of the user mobile device generally reads all data in the data area of the NFC chip of the home appliance first, and whether to write data into the NFC chip later depends on whether the operating system executes the preset writing logic or whether the operating system receives the writing instruction sent by a certain installed application.
The application described herein is installed in the operating system of the user's mobile device (described as the application being installed on the user's mobile device, again without ambiguity). The application may be a client program (e.g., APP installed on a cell phone) or a light application (e.g., web application, android application, etc.). A lightweight application may be understood as a lightweight program that does not require a download client.
The product application described herein refers to an application developed by a manufacturer of a home appliance and used for providing services related to the home appliance to a user on a mobile device side of the user.
The product server refers to a server maintained by a manufacturer of the home appliance. In one aspect, the product application may interact with the product server through a network, for example, after the user operates the mobile device to start the product application, the product application may log into the product server through the product application, where the product application has a binding relationship with a user identifier of the user. On the other hand, under the condition that the household electrical appliance is connected to the network, the product service end can interact with the household electrical appliance, and the product service end can monitor the running condition of the household electrical appliance by acquiring the running parameters uploaded by the household electrical appliance, and can also issue a control instruction to the household electrical appliance to control the household electrical appliance to execute corresponding operation.
The product server may be a server or a cluster of servers. And the product service end can be functionally divided into a service end for monitoring the running state of the product and a service end of a service layer. For example, the server for monitoring the operation state of the product may be an M2M platform, which needs to keep a long connection with the home appliance, and the home appliance reports the state change of the home appliance to the M2M platform. The service end of the service layer can be an IOT platform, and is in communication with the home appliances through short connection, and is responsible for account management, account binding, instruction issuing, push message issuing and the like.
In some embodiments, the user may manually open a product application installed in the operating system of the user's mobile device. Specifically, if the user mobile device installs a product client program, the user typically manually opens the product client program. In the case of a product application not installed, the user may choose to manually download and install the product client program, or manually open the product light application.
After the product application is started, whether the user mobile equipment is accessed to a network through a Wi-Fi module of the user mobile equipment needs to be judged. Specifically, the product application may determine whether the Wi-Fi module of the user mobile device is activated, whether the Wi-Fi module of the user mobile device is connected to a router, and whether the router has access to the internet.
In some embodiments, after the product application is started, whether the Wi-Fi module of the user mobile device is started or not needs to be judged, whether the Wi-Fi module of the user mobile device is connected to the router or not needs to be judged, and if yes, the network capability of the user mobile device is used for requesting to be connected to the product server. If the product application is successfully connected to the product server, the router connected with the user mobile equipment is indicated to be accessed to the Internet, and the network distribution information used by the user mobile equipment can be obtained under the condition that the user mobile equipment is determined to be accessed to the network through the Wi-Fi module of the user mobile equipment.
If the product application detects that the user mobile device is connected to the network through the carrier's base station, the product application may prompt the user to connect the user mobile device to the router.
In one or more embodiments, the product application may obtain, from the operating system, a wireless network identifier of a wireless network to which the user mobile device is connected, receive a wireless network password input by a user, and use the obtained wireless network identifier and the received wireless network password as the network allocation information.
S502: and the user mobile equipment establishes NFC connection with the NFC chip through the NFC module of the user mobile equipment.
S504: and the product application writes the determined distribution network information into the NFC chip through the NFC connection.
In order to be compatible with the specifications of NFC modules of different mobile devices, a write control mark is deployed in NFC of a product, and meanwhile logic is deployed in product application: the writing control mark is a first mark and cannot be written; the write control flag is a second flag, which can be written.
After the Wi-Fi chip monitors that the mobile device enters the field, the writing control mark is determined to be a first mark, so that the product application cannot execute information writing, and writing failure cannot occur. The Wi-Fi chip delays after entering the field from the mobile device, the delay time length can be a first designated time length, and after the delay, the written control mark is modified into a second mark, so that the product application can read the second mark through the NFC module of the mobile device, and information is written into the NFC of the product.
The first appointed duration is N10 milliseconds, N is an integer, and N is more than or equal to 2 and less than or equal to 5. Experiments have shown that the NFC modules of various mobile devices, although of different specifications, typically have a time from approach to level plateau of between 20 milliseconds and 50 milliseconds, in many cases not exceeding 40 milliseconds.
S506: and the Wi-Fi chip of the household appliance reads the distribution network information from the NFC chip in a Station mode, and accesses to a network according to the distribution network information.
The Wi-Fi chip can acquire the network distribution information from the NFC chip after the second designated time is long from the time point of changing the writing control mark into the second mark, so that the reading success rate is improved.
Further, the second designated duration is an estimated value of a duration required by the product application to write the network allocation information into the NFC chip through the NFC connection.
In addition, the Wi-Fi chip may acquire the network configuration information from the NFC chip when it is monitored that the acquired sensing signal changes from the low level to the high level after the write control flag is changed to the second flag.
I.e. the Wi-Fi chip can read the distribution network information when determining that the user mobile device leaves the field (proving that the writing is completed).
Through the technical scheme of the first aspect, the communication module integrates the near field communication NFC chip, the NFC antenna, the wireless fidelity Wi-Fi chip and the Wi-Fi antenna, which is equivalent to configuring the NFC function for the Wi-Fi chip, the Wi-Fi chip can directly acquire the distribution network information from the NFC chip, the household appliance control module is not used for transmitting the distribution network information received by NFC to the Wi-Fi chip, and the efficiency and the reliability of the distribution network information transmission are improved.
In addition, the user establishes NFC connection with the NFC chip of the home appliance by utilizing the NFC function of the user mobile device, and the user can write the distribution network information into the NFC chip only when the product application installed on the mobile device is started and the user determines that the user mobile device has access to the network through the Wi-Fi module of the user mobile device.
The user mobile equipment provides distribution network information for the household appliances through NFC connection, which means that the household appliances and the user mobile equipment are in the same home environment; in the case where the product application installed on the mobile device starts and determines that the user mobile device has access to the network via its own Wi-Fi module, meaning that the user mobile device is currently connected to a router in the environment, it must be stated that the home appliance can also be connected to the router. Therefore, in this case, the network allocation information transmitted to the home appliance by the user mobile device does not need to be checked any more, which means that the Wi-Fi chip of the home appliance does not need to be switched to the AP mode, and can be kept in the Station mode all the time.
In the whole network distribution process, the Wi-Fi chip of the household appliance does not need to switch modes, network distribution information can be transmitted to the Wi-Fi chip without passing through the household appliance control module, so that waiting time in the whole network distribution process is short for users, and user experience is good.
In some embodiments, the product application may also write the IP address of the product server into NFC, and the Wi-Fi chip may read the network allocation information and the IP address from NFC, and access the product server through the network after the network allocation is successful.
Here, it should be noted that, in practical application, the correspondence between the domain name of the product server and the IP address is not fixed, and the DNS server may update a new IP address for the domain name of the product server, so it is difficult to pre-configure the IP address of the product server to a home appliance product shipped from the factory in practice. In the above embodiment, when the product is applied to the network distribution of the home appliance, the IP address of the product server at that time can be obtained, so that the IP address can be written into the NFC of the product, and the product can be directly connected to the product server without DNS resolution after the network distribution is successful.
In summary, the reduced waiting time for the user experience is described in the whole process of connecting the home appliance to the product server by applying the scheme. According to the scheme, on one hand, the time for mode switching of Wi-Fi of the household appliance in the network distribution process can be saved, and on the other hand, the time required by DNS analysis of the household appliance after the network distribution is successful when the household appliance accesses the product server can be saved.
In practical applications, NFC of the home appliance is usually in a card mode. NFC of the home appliance may establish an NFC connection with any user mobile device having an NFC module. The authority corresponding to NFC of the home appliance is generally set so that the home appliance side can read and write data.
In some embodiments, if data security in NFC of the home appliance is not considered, the authority corresponding to NFC of the home appliance may also be generally set to be readable and writable on the user mobile device side (on the software level, an operating system of the user mobile device). The user identification may be written by any of the user mobile devices into the NFC data area of the home device. In this case, the product application may not be installed on the user mobile device, and any user mobile device may be able to obtain the user identification of the user holding the user mobile device.
It should be noted that the existing NFC data area generally includes several NFC records, which are data structures agreed by the NFC protocol, and the NFC records use the NFC data exchange format, i.e. NDEF. The existing NFC protocol specifies several common NFC data exchange formats (e.g. URL, picture) and also allows device manufacturers to define other kinds of NFC data exchange formats.
Generally, devices with NFC function will support the NFC protocol by default, and can identify NFC records with a universal NFC data exchange format in the NFC data area. If the device manufacturer defines other kinds of NFC data exchange formats, logic for identifying NFC records of the other kinds of NFC data exchange formats is also built into the operating system of the factory device.
However, in practical applications, some important service data may need to be stored in NFC of an electric home appliance, and in view of the security of the important service data, manufacturers of the electric home appliance sometimes want an operating system (maintained by the manufacturers of the user mobile device) of the user mobile device to be only readable and not writable to the data in NFC without being allowed. In other words, the operating system of the user mobile device is required to write data, such as a user identifier and network allocation information provided by a user, into the NFC of the home appliance when the operating system of the user mobile device is required by the home appliance manufacturer.
Therefore, a section of data area which cannot be identified by the operating system of the user mobile device can be added in the NFC data area of the home appliance, and for convenience of description, the added data area is called a (home appliance manufacturer) custom data area, and the custom data area uses a non-NFC data exchange format (the data exchange format agreed by the home appliance manufacturer in a private protocol can also be a private data exchange format). In addition, the data area except the custom data area in the NFC data area of the home appliance is referred to as a standard data area, and as described above, the standard data area includes at least one NFC record.
Meanwhile, the standard data area is set to be read only by the operating system of the mobile equipment of the user and not written; the set custom data field may be read and written by the operating system of the user's mobile device. Because the data exchange format used by the custom data area is not the NFC data exchange format specified by the NFC protocol, the operating system of the user mobile device cannot identify the data in the custom data area even if the data in the custom data can be read through the NFC module of the user mobile device.
Accordingly, only software developed by a product manufacturer (firmware in a product server system, a product application and a household appliance) can be identified for important business data in the custom data area. Therefore, in the case that the NFC of the home appliance has a custom data area, the user mobile device needs to install the product application, and after the product application is started, the product application identifies the data in the custom data area read by the NFC module of the user mobile device, and in addition, the product application may instruct the operating system of the user to move to write the data in the custom data area.
Thus, through the above series of technical settings, the user mobile device needs to write the data in the product NFC, uniformly writing the custom data area. The method and the device realize that the operating system of the user mobile equipment can not rewrite data in NFC of the household appliance under the default condition, and can write the data into the NFC of the household appliance under the control of the installed product application. For example, in the method shown in fig. 5, the distribution network information may be written into a custom data area in the product NFC.
In some embodiments, the data area of the NFC chip may include a first NFC record having an NFC data exchange format of URL type. Before the product application writes the distribution network information into the NFC chip, the operating system of the user mobile device reads all data in a data area of the NFC chip. The first NFC record includes a URL for triggering an operating system of the mobile device to execute: and opening the product client program when the product client program is installed, and opening the product light application when the product client program is not installed.
Further, the data area of the NFC chip further includes a second NFC record; the second NFC record uses an NFC data exchange format of Android application type (Android PKG). The second NFC record includes an android application identifier, and is configured to trigger, when the operating system of the mobile device is an android system, the operating system to execute: and under the condition that the product client program is not installed, entering a download path associated with the android system, downloading the product client program, or opening a product light application supported by the android system.
That is, in this embodiment, before step S500, the user may first approach the user mobile device to the NFC sensing area of the home appliance and read all data from the NFC data area of the home appliance, including the first NFC record, in the case that the product application has not been started yet. In this way, the start of the product application may be triggered. It should be noted that, in the case that the data area of the NFC chip does not include the custom data area, the data area may also include the first NFC record, the second NFC record, and more NFC records.
It should be further noted that, for convenience of description, in a case that the data area of the NFC chip does not include the custom data area, the data area including a plurality of NFC records is referred to as a standard data area.
Furthermore, if the user triggers the product application start by NFC before step S500, then there are two cases:
1. Step S502 is executed before step S500, after the user mobile device establishes an NFC connection with the home appliance, data is first read from the NFC of the home appliance, and after triggering to start the product application, the product application writes the distribution network information into the NFC. In this process, the user mobile device cannot leave the NFC sensing area of the home appliance, otherwise the connection is interrupted.
2. In step S502, the user actually brings the user mobile device close to the NFC sensing area of the product for the second time. The user first approaches the user mobile device to the NFC sensing area of the product, reads data in NFC, then leaves the sensing area, and approaches the user mobile device to the NFC sensing area of the home appliance after the product application is started and the network distribution information is obtained, so that step S502 is achieved.
In addition, in some embodiments, the first NFC record further includes at least one of the following information:
the household electrical appliance product is corresponding to the goods-preventing code;
unique identifiers corresponding to the WIFI chips;
A communication failure flag; the household appliance control module modifies the communication fault sign into a representation fault when monitoring the Wi-Fi chip fault of the household appliance product; when the Wi-Fi chip fault is detected to be repaired, modifying the communication fault sign to represent no fault;
The accumulated number of the NFC chips triggered; the Wi-Fi chip adds 1 to the accumulated number when the NFC chip is monitored to establish NFC connection;
Networking related flags; the Wi-Fi chip sets the networking flag as a flag for representing a networking state every time a network is accessed, and sets the networking flag as a flag for representing an non-networking state every time the network is disconnected.
The first NFC record may also carry some product related information, which may be transferred to the product application, and further uploaded to the product server by the product application.
The product server can count the goods-serial condition of household appliances on the market for the goods-serial preventing code of the household appliances.
The unique identification of the Wi-Fi chip can play a role in uniquely identifying the household appliance. The product server can explicitly upload the user identifier bound by the unique identifier product application, so that the user identity of the home appliance corresponding to the unique identifier is explicitly used at present.
For the communication fault sign, the product application can judge whether the household appliance can currently carry out network distribution according to the read communication fault sign.
For the accumulated number of triggered NFC chips, the product server can analyze the used condition of the NFC function of the household appliance according to the accumulated number.
For the networking related marks, the product application can judge whether the household electrical appliance needs to be distributed according to the read communication fault marks.
In addition, it should be noted that after the product application is started, in the case that the user mobile device is determined to have access to the network through the Wi-Fi module of the user mobile device, the network distribution information used by the user mobile device is determined, and the technical means of writing the network distribution information into the NFC of the home appliance is applied to the a-type home appliance through the NFC connection between the user mobile device and the home appliance, so that the Wi-Fi module of the a-type home appliance does not need to switch modes in the network distribution process.
The structure of the data area of NFC will be described in more detail herein. Fig. 6 is a schematic diagram of the structure of the NFC data area.
As shown in fig. 6, the NFC data area includes an NFC header data area, a standard data area, and a custom data area, where the standard data area may include a plurality of NFC records (records 1-N). It should be noted that, in some embodiments, the NFC data area may not include the custom data area if the data security requirement of the product vendor is not considered.
The NFC header data area generally stores identification information of the NFC chip and data locking flag information, and the data locking flag information is statically locked and dynamically locked. The locking mark information has the functions of locking data in the standard data area to ensure that the user mobile equipment side can only read and not write, ensure the data security, and open the authority of the user mobile equipment side for the user defined data area, and the user mobile equipment side can read and write. In addition, the home appliance side (home appliance control module and Wi-Fi chip of B-type home appliance) may have readable and writable rights to the NFC data area.
The standard data area refers to a data area in a data exchange format (NDEF format) agreed by the NFC protocol, and since the operating system of the user mobile device with the NFC function is usually built in with the NFC protocol, the data in the standard data area can be identified, so that for data security, it is not necessary to open a write right for the standard data area to the user mobile device side.
The standard data area includes one or more NFC records. For convenience of description herein, the NFC records in the standard data area are referred to as a first NFC record and a second NFC record in order, and if the standard data area further includes more NFC records in addition to the first NFC record and the second NFC record, the standard data area may include the first NFC record, the second NFC record and at least one other NFC record.
The custom data area is a data area using a non-NDEF format, and specifically adopts a private protocol of a manufacturer of the home appliance. Because the operating system of the user mobile device with the NFC function does not have a private protocol of a manufacturer of the home appliance, the operating system of the user mobile device has no capability to write the data in the custom data area even if the operating system has authority to write the data in the custom data area. The product application installed on the user mobile device is developed by the manufacturer of the household electrical appliance, so that a private protocol can be built in, the user mobile device has the capability of identifying the custom data area and the capability of executing writing operation. The data in the custom data area can be stored in the clear or in the encrypted form.
Fig. 7 is a schematic structural diagram of a more specific NFC data area provided in the present specification.
Further, the following table 1 exemplarily shows an internal structure of the custom data area.
TABLE 1
The SSID and the PWD are wireless network identification and wireless network password respectively, and form configuration network information. The function of the distribution network mark is to mark whether the distribution network information in the custom data area is read by the Wi-Fi chip. The configuration network flag may specifically be a first flag (e.g. 0) or a second flag (e.g. 1). After the distribution network information is written into the custom data area, the product application modifies the first mark into a second mark; the Wi-Fi chip modifies the second mark into a first mark after reading the distribution network information from the NFC chip. The Wi-Fi chip can read the distribution network information from the custom data area only under the condition of the second mark, so that dirty data can be prevented from being read.
In addition, the IP is an IP address of a home appliance server. The product application writes the Internet Protocol (IP) address of the product server into the custom data area; the Wi-Fi chip acquires the IP address of the product server from the custom data area, and sends a connection request to the product server based on the acquired IP address after accessing the network.
Wherein SSID, PWD and IP are all operated by KLV, K (Key) is the identification, L is the byte length (Key and vlaue total length), and V is the value. Wherein, N 1 and N 2 can be set according to actual needs.
In other embodiments, the user identifier of the product application binding may also be written into the custom data area by the product application (the user identifier in the custom data area that is written into the custom data area last time represents the main user who uses the product currently), and the BSSID of the 5GHZ access point to which the user mobile device corresponding to the product application is connected may also be written into the custom data area by the product application, see table 2.
TABLE 2
Wherein, N 3、N4 can be set according to the actual need.
A method for enabling a product application that is relatively convenient for a user is presented herein. The product application starting method can be realized by combining the A-type household appliance and the B-type household appliance introduced in the specification, and can also be realized by integrating other household appliances with NFC.
Specifically, the home appliance has an NFC module; the data area of the NFC module of the home appliance comprises a first NFC record and at least one other NFC record; the first NFC record has a URL type NFC data exchange format, and different other NFC records have different mobile device operating system specific NFC data exchange formats.
Each other NFC record corresponds to a different first-class product light application; for each other NFC record, the record containing an identification of the corresponding first type product light application; the first NFC record includes a URL.
When a product application installed on a user mobile device needs to be started, the NFC module of the user mobile device is close to the NFC module of the household appliance, so that NFC connection is established between the NFC module of the user mobile device and the NFC module of the household appliance.
As such, the operating system of the user mobile device may perform the steps of:
1. reading all data in a data area of an NFC module of the household appliance through the NFC connection;
2. For each other NFC record, under the condition that the product client program is not installed, judging whether the identification mark in the record has the NFC data exchange format special for the operating system or not according to each other NFC record, and if so, starting the corresponding first-class product light application;
3. according to the URL in the first NFC record, under the condition that the product client program is confirmed to be installed, starting the product client program; and in the case that the product client program is not installed and the identification mark with the NFC data exchange format special for the operating system is not identified from the at least one other NFC record, starting a second type of product light application developed based on a general development protocol.
Considering that in practical applications, different mobile device manufacturers develop their own light applications (first class product light applications) and define NFC data exchange formats dedicated to their own operating systems for their own launch operations, at least one other NFC record is stored in the NFC data area of the home product in addition to the first NFC record for launching the product client program and launching the generic product light applications (second class product light applications). Different NFC records correspond to different mobile device operating system specific NFC data exchange formats, i.e. to different first class product light applications.
In this way, in the case of an operating system with a proprietary NFC data exchange format, the vendor of the mobile device may be preferentially launched for its own development of proprietary first-class product light applications (often providing a better user experience).
Further, the home appliance may be specifically a type a home appliance. In this case, each other NFC record is initially configured to contain noise information that causes: an operating system using the data exchange format of the identification mark contained in the record as a special data exchange format cannot identify the identification mark. The Wi-Fi module can receive a first configuration instruction from a product server and send the first configuration instruction to the household appliance control module. The home appliance control module may delete noise information in at least one other NFC record in the NFC module according to the first configuration instruction.
Considering that some users may prefer to use a general product application, namely, a second type of product light application, when the home product leaves the factory, the identification identifier in each other NFC record may be noisy, so that the operating system cannot identify the unique identification identifier.
Further, the Wi-Fi module may receive a second configuration instruction from a product server and send the second configuration instruction to the home appliance control module. The home appliance control module may add noise information to at least one other NFC record in the NFC module according to the second configuration instruction.
If the user wants to use the first kind of product light application developed by the manufacturer of the mobile device, the user can request the product server to delete the noise information added to some other NFC record.
In addition, the data area of the NFC module of the household appliance also comprises a second NFC record;
The second NFC record may include an android identification identifier, configured to trigger, in a case where the operating system of the mobile device is an android system, the operating system to execute: and under the condition that the product client program is not installed, entering a download path associated with the android system, downloading the product client program, or opening a product light application supported by the android system.
The NFC data area may further include a second NFC record, which is used for providing an official download path of the android operating system for the android operating system, or opening a general product light application of the android operating system.
The above product application starting method is applied to the embodiment of the B-type home appliance, and also follows the above technical principle, and will not be repeated.
Here, the present specification proposes a method for writing information into NFC of a product by a product application with a higher success rate.
Currently, the specifications of NFC modules of various user mobile devices in the market are different, and after the mobile device en of some specifications of NFC modules establishes NFC connection with a home appliance, the fluctuation condition of the level of the sensing signal is different. On the other hand, if the mobile device side wants to write information into the NFC of the home appliance, writing is needed under the condition that the sensing signal is stable, otherwise, writing is easy to fail, the user is disturbed, the user has to take the mobile device off the NFC sensing area of the home appliance, and then re-try to establish the NFC connection.
This means that if the mobile device starts writing information to the NFC of the product soon after the NFC connection is established, the level of the sense signal may not be stable at this time, and writing failure is easy.
Specifically, in order to prevent the problem that writing of distribution network information fails due to unstable induction signals after the NFC module of some user mobile devices establishes connection with the NFC module of the home appliance, the following technical means are adopted: the Wi-Fi chip at the home appliance side can modify a writing control mark in the NFC chip, and when the approach of the user mobile device is monitored (when an acquired sensing signal is changed from a high level to a low level for the first time), the writing control mark is set as a first mark, so that when the first mark is read by the product application, the distribution network information is temporarily not written; after delaying the first appointed duration, the Wi-Fi chip is modified into a second mark, so that when the second mark is read by the product application, the network distribution information starts to be written. Therefore, the time delay of writing the information of the distribution network for the product application can be realized, and the writing is executed when the level is more stable, so that the writing success rate is improved, and the disturbance to the user is reduced.
Fig. 8 is a schematic diagram of a change of a sensing signal level of NFC modules with different specifications provided in the present specification. As shown in fig. 8, when the NFC module of the apple mobile phone enters the field (NFC connection is established with the product NFC), the level becomes stable for a longer time after being changed from high to low, so that after the NFC connection is connected to the apple mobile phone, the product application writes information into the product NFC, and the success rate is very high. For the other two android mobile phones, a fluctuation period with a level repeatedly changed from high to low is experienced from the beginning of approach, and then the android mobile phones are stable, and particularly for the last android mobile phone, after NFC connection is connected, information is written into the product NFC by the product application, so that the success rate is low.
For this reason, in order to be compatible with the specifications of NFC modules of different mobile devices, a write control flag is deployed in NFC of the product, and at the same time, logic is deployed in the product application: the writing control mark is a first mark and cannot be written; the write control flag is a second flag, which can be written.
After the product side monitors the approach of the mobile device, the writing control mark is determined to be a first mark, so that the product application cannot execute information writing, and writing failure cannot occur. After the product side enters the field from the mobile equipment, the time delay is carried out, the time delay time length can be the first designated time length, and after the time delay, the writing control mark is modified into the second mark, so that the product application can read the second mark through the NFC module of the mobile equipment, and the writing of information to the NFC of the product is started.
The first appointed duration is N10 milliseconds, N is an integer, and N is more than or equal to 2 and less than or equal to 5. Experiments have shown that the NFC modules of various mobile devices, although of different specifications, typically have a time from approach to level plateau of between 20 milliseconds and 50 milliseconds, in many cases not exceeding 40 milliseconds.
Further, if the product side needs to acquire information written in the NFC by the product application, the network allocation information may be acquired from the NFC chip after the second instruction time period from a time point when the writing control flag is modified to be the second flag.
The product side can read the distribution network information from the NFC chip after waiting for the second instruction from the time point of writing the distribution network information by the product application, so that the reading success rate is improved.
Further, the product application writes an estimated value of the duration required by the network allocation information to the NFC chip through the NFC connection for the second specified duration.
In addition, the product side may acquire the network allocation information from the NFC chip when it is detected that the acquired sensing signal changes from a low level to a high level after modifying the write control flag to the second flag.
That is, the product side can read the distribution network information when determining that the user mobile device leaves the field (the writing is proved to be completed).
The method for writing information into the NFC of the product may be specifically applied to a type-a or type-B home appliances. When the wireless communication system is applied to the A-type household appliance, the wireless communication system is realized by participation of a household appliance control module, and when the wireless communication system is applied to the B-type household appliance, the wireless communication system can be realized by participation of a household appliance control module or a Wi-Fi chip.
In addition, in real life, the home appliance of the user may fail, and in this case, the home appliance control module of the home appliance will generally remind the user of the failure type identifier corresponding to the detected failure. The user can inquire the product specification according to the fault type identification to know the fault details.
However, this way of knowing the details of the failure of the home appliance is cumbersome for the user.
Here, the present specification proposes a failure detail information acquisition method of a home appliance. The method application is a product application installed on a user mobile device. The home appliance in the method can be a home appliance with a home appliance control module and an NFC module, and also can be an A-type home appliance or a B-type home appliance.
Specifically, the home appliance control module acquires a corresponding fault type identifier under the condition that the home appliance is detected to be faulty, and writes the fault type identifier into the NFC chip through the interface. Further, the user-defined data area of the NFC chip may be written.
The product application can read the fault type identifier from NFC of the household appliance through the NFC module of the user mobile device; uploading the read fault type identifier to a product server, and receiving fault detail information corresponding to the fault type identifier issued by the product server.
According to the fault detail information acquisition method, the NFC is utilized, so that the household appliance can send the fault type identification to the product application on the user mobile device, the fault detail information is acquired and displayed by means of the product application of the user mobile device, a user is not required to inquire the product specification according to the fault type identification, and user experience is improved. In addition, the technical scheme can be applied to household appliances which do not have networking function or have networking function but are not networked, and can also be applied to household appliances with relatively simple display function.
In some embodiments, the fault details include: information describing the cause of the fault, and/or information describing the fault solution.
In some embodiments, the fault details include: fault details in the form of multimedia.
In addition, the specification also provides a technical scheme of the home appliance connection router, which is specifically described as follows:
In practical application, the product application obtains the wireless network identifier SSID and the wireless network password of the router to which the user mobile device is currently connected, and then the wireless network identifier and the wireless network password are transmitted to the household electrical appliance to carry out network distribution through communication connection between the user mobile device and the household electrical appliance. The communication connection may be a communication connection between the Wi-Fi module of the user mobile device and Wi-Fi (AP mode) of the home appliance, as described above, or may be an NFC connection, as described above.
Routers currently on the market often support dual frequency channels (2.4 GHZ and 5 GHZ). Some routers set a unified SSID for a 2.4GHZ channel and a 5GHZ channel, and in this case, the SSID and the password are transmitted to Wi-Fi of the home appliance, and the Wi-Fi of the home appliance can be smoothly connected to a 2.4GHZ access point of the router through the 2.4GHZ channel.
While some routers will set different SSID for the 2.4GHZ channel and the 5GHZ channel, respectively, for example, SSID corresponding to the 2.4GHZ channel is "XXY", SSID corresponding to the 5GHZ channel is "XXY-5G". In this case, the user mobile device is often connected to the 5GHZ access point of the router, so the SSID acquired by the product application is not the SSID corresponding to the 2.4GHZ channel, but the SSID corresponding to the 5GHZ channel. Because of cost considerations, wi-Fi of the home appliance often only supports 2.4GHZ access points connected to the router via a 2.4GHZ channel, and thus the home appliance cannot be successfully connected according to the SSID corresponding to the 5GHZ channel.
In order to solve the above problem, one solution is that Wi-Fi of the home appliance, when the SSID transmitted according to the product application fails, means that routers that need to be connected currently set different SSID for 2.4GHZ channels and 5GHZ channels respectively, so Wi-Fi of the home appliance can scan to obtain an SSID list from the surrounding environment, where SSID corresponding to 2.4GHZ channels of routers that need to be connected currently (i.e. routers in the home of the user) and SSID corresponding to 5GHZ channels are included, and SSID corresponding to other routers in the surrounding environment (such as routers in the surrounding of the user) are also included. In many cases, two SSID of the same router are similar, so that an SSID similar to an SSID transmitted by a product application can be determined from an SSID list obtained by scanning, and the SSID is considered to be an SSID corresponding to a 2.4GHZ channel of the same router, so that Wi-Fi of the home appliance can connect the router according to the similar SSID.
However, the success rate of the network allocation in this scheme is not high. The reason is that in practical application, naming rules of two SSID of a dual-frequency router with different styles are often uncertain, and two SSID of the same router are not necessarily similar. Moreover, the user can modify two SSIDs of the router at will, which makes it more difficult to successfully network home appliances by using the scheme.
For this purpose, the present specification provides another solution, for a home appliance that only supports a router connected through a 2.4GHZ signal, when a network is configured, a product application may transmit a BSSID of a 5GHZ access point of the router to which a user mobile device is connected and a wireless network password corresponding to the router to the home appliance, a target module with Wi-Fi function of the home appliance may scan BSSIDs of a plurality of 2.4GHZ access points in a surrounding environment, determine a BSSID of a 2.4GHZ access point similar to the BSSID of the 5GHZ access point of the router in the scan result, and then connect to the router through the determined BSSID of the 2.4GHZ access point.
The principle of the scheme is that the SSID naming rules of the dual-frequency routers in various modes on the market are uncertain, and users can also modify SSIDs, but the naming rules of the physical addresses BSSIDs of wireless access points of the routers are unified, and the users have no capability of modifying the BSSIDs. In practical applications, even though different access points are set for the 2.4GHZ channel and the 5GHZ channel respectively, the BSSIDs of the different access points tend to be very similar. Thus, the network distribution of the household appliances can be ensured to be successful.
Specifically, the present specification provides a method for connecting a home appliance to a router, where a user mobile device is connected to a 5GHZ access point of the router through a 5GHZ channel, and a product application is installed on the user mobile device, the method includes:
The product application obtains a physical address BSSID of a 5GHZ access point connected with the user mobile equipment and obtains a wireless network password corresponding to the router;
The product application transmits the BSSID of the 5GHZ access point and the password to a target module of the household appliance through communication connection between the user mobile equipment and the household appliance; the target module has Wi-Fi function and only supports 2.4GHZ channels;
The target module scans and acquires the BSSIDs of a plurality of 2.4GHZ access points in the surrounding environment by utilizing a Wi-Fi function under the condition that specified conditions are met, and determines the BSSID similar to the BSSID of the 5GHZ access point in the BSSIDs obtained by scanning;
The target module is connected to the 2.4GHZ access point of the router through a 2.4GHZ channel according to the determined BSSID of the 2.4GHZ access point and the wireless network password.
It should be noted that, the home appliances in the method of connecting the router may be any home appliances having Wi-Fi function, for example, a type-a home appliances and B type home appliances. When the home appliance is an A-type home appliance, the target module of the home appliance is specifically an independent Wi-Fi module; in the case of a B-type home appliance, the target module of the home appliance is specifically the communication module integrating the NFC function and the Wi-Fi function as described above.
In some embodiments, the communication connection may be: and under the condition that the Wi-Fi function of the target module of the household appliance is placed in an AP mode, the Wi-Fi module of the user mobile device is in communication connection with the target module. Of course, the communication connection may be: and the household appliance is connected with the NFC (near field communication) between the user mobile equipment.
In some embodiments, the format of any BSSID is: a 48-bit binary identifier; the BSSID of the 5GHZ access point of the same router is the same as at least the first 40 bits of the binary identifier of the BSSID of the 2.4GHZ access point. In this manner, the target module may determine the BSSID of the 2.4GHZ access point of the BSSID of the 5GHZ access point with at least the first 40 bits of binary identifier in the scan acquired BSSID.
The BSSID of the 5GHZ access point of the dual-channel router of each brand currently on the market is identical to at least the first 40 binary characters of the BSSID of the 2.4GHZ access point, so that the BSSID of the 5GHZ access point transmitted by the product application can be more precisely matched to the BSSID of the 2.4GHZ access point belonging to one router by using this criterion to identify "similar".
Of course, whether the BSSID of the 5GHZ access point is similar to the BSSID of the 2.4GHZ access point may also be determined according to other rules, which will not be described herein.
In some embodiments, the target module may determine the BSSID of more than one similar 2.4GHZ access point. In this way, connection can be performed through the 2.4GHZ channel according to the determined BSSID of each 2.4GHZ access point and the wireless network password, until the 2.4GHZ access point of the router is connected.
In some embodiments, the product application may further obtain a wireless network identifier SSID corresponding to the router connected to the user mobile device, and transmit the SSID to the target module through the communication connection.
Under the condition that the router of the double-frequency channel can connect the 5GHZ access point and the 2.4GHZ access point through the unified SSID, the home appliance can be successfully connected to the 2.4GHZ access point of the router by directly using the SSID, a BSSID list of 2.4GHZ of the surrounding environment does not need to be scanned, and the network distribution speed can be improved. After the network allocation failure based on the SSID, the BSSID list is obtained by scanning, and connection is performed based on similar BSSIDs, so that the success of the network allocation can be ensured.
In some embodiments, the target module connects the router based on the SSID and the wireless network password prior to scanning for BSSIDs of a plurality of 2.4GHZ access points in the surrounding environment; if the connection fails, the specified condition is determined to be satisfied.
The home appliance may first use the SSID to connect to the router, and if the connection fails, then scan the BSSID of the 2.4GHZ access point in the surrounding environment, using an approximate BSSID connection router.
In some embodiments, the target module may determine whether the SSID contains only ASCII encoding before scanning for BSSIDs of a plurality of 2.4GHZ access points in the surrounding environment. If the determination result is yes, the router is connected based on the SSID and the wireless network password, and if the connection failure is determined, the designated condition is determined to be met. If the determination result is negative, the specified condition is also determined to be satisfied.
In practical applications, the target module of the home appliance may often parse the ASCII code, but may not necessarily parse the ASCII code successfully for other codes. While the SSID of some routers may not be in pure ASCII encoded form, it is easy for home appliances to resolve SSID failure and thus not be able to connect to the router. Thus, the target module of the home appliance may first determine whether the SSID only contains an ASCII code, thereby deciding whether to connect to the router based on the SSID.
In addition, the method for connecting the router to the home appliance may be combined with the method shown in fig. 5. As such, the product application may also write the BSSID into the NFC of the product, and in some embodiments, into a custom data area of the NFC of the product.
The specification also provides a user determination method which can be applied to the household appliance with the NFC function. The concrete explanation is as follows:
Sometimes, a product server of a home appliance needs to determine the identity of a user currently using the home appliance, so as to perform some business processing for the user currently using the home appliance.
However, in practice, the same home product may be used by more than one user in turn (e.g., multiple family members of a family commonly use one home product). It can be seen that it is difficult for the product server to distinguish the identities of different users currently using the household electrical appliances.
For this purpose, an accumulated value for accumulating the number of times the home appliance establishes the NFC connection may be stored in the NFC data area of the home appliance, which corresponds to the number of times the user triggers the NFC function of the home appliance using his mobile device. When any user wants to use the home appliance, the user uses the mobile device to trigger the NFC function of the home appliance, and the latest accumulated value can be read from the NFC data area of the home appliance, so that the user can send a main user confirmation notice containing the read accumulated value and the user identifier to the product server through the mobile device. For the product service end, the main user confirmation notification with the largest accumulated value is the main user confirmation notification sent by the mobile equipment of the user using the household electrical product at present, and the user identification in the main user confirmation notification represents the user using the household electrical product at present.
Thus, by utilizing the near field property of the NFC connection and the unidirectional increasing property of the accumulated value, the product server can determine the identity of the user using the product at any time.
The user determining method is applied to a system comprising a home appliance product with an NFC function, a product server and at least two user mobile devices with NFC functions, and different user mobile devices belong to different users.
The NFC data area of the household electrical appliance stores an accumulated value, and the accumulated value is added with M when the household electrical appliance monitors that NFC connection is established every time, and M is a natural number larger than 0. Alternatively, M may be set to 1.
Any user may approach his mobile device to the home appliance when the home appliance is needed, and it is understood that the NFC sensing area of the mobile device is near the NFC sensing area of the home appliance.
Specifically, the user determination method may include the following steps:
1. After the mobile equipment of any user establishes NFC connection with the household appliance, the accumulated value in the NFC data area of the household appliance is read through the established NFC connection.
2. And the mobile equipment of any user sends a main user confirmation notice to the product server.
3. And the product server determines the main user identification with the largest included accumulated value, and determines the user identification included in the determined main user notification as the user identification of the household appliance at present.
In some embodiments, the NFC data area includes a standard data area using an NFC data exchange format, the standard data area including at least one NFC record for triggering an operating system of a user mobile device reading the at least one NFC record to launch an installed product application; the accumulated value is stored in an NFC record.
Before the mobile device of any user sends the main user confirmation notification to the product server, the method may further include: the operating system of the mobile device of any user starts the installed product application based on the at least one NFC record and provides the read accumulated value to the product application. Thus, after the product application is started, the accumulated value provided by the operating system is received, the user identifier bound by the product application is obtained, and then a main user confirmation notice is constructed and sent to the product server.
In some embodiments, the product server may count, for any user identifier, the number of received primary user confirmation notifications that include the user identifier; and the product service end analyzes the product use frequency corresponding to any user identifier based on the counted number.
Therefore, the use frequency of the household appliances by each user can be counted, and marketing promotion can be performed based on the use frequency of each user.
In some embodiments, the home appliance determines a product usage record and sends the product usage record to the product server during the usage process; when the product service end receives the product use record, the corresponding relation between the product use record and the user identification of the household appliance at present is established.
Therefore, the product service end can distinguish the product use records generated by different users on the same household appliance product, so that the product use habit of each user can be accurately analyzed according to the product use record of each user.
In addition, in some embodiments, the product server may determine, for any user identifier, a product usage record corresponding to the user identifier. And analyzing the product use habit corresponding to the user identifier based on the determined product use record. For example, the home appliance is a cooking appliance, and the product usage record generated by the home appliance is a cooking record. The product service end can analyze the cooking habit corresponding to the user identifier based on the determined cooking record, and can push the menu to the user according to the cooking habit.
Further, the product service end can push messages to the products binding the user identification according to the product using habit corresponding to the user identification, or send service information to the household appliance.
The specification also provides a message pushing method which can be realized by participation of the A-type household appliance or by participation of the B-type household appliance. The service information display method is described as follows:
At present, some home appliances in the market have a message reminding function. For example, when a user uses a home appliance (a home appliance) to cook, if cooking is completed, the home appliance can remind the user by means of voice broadcasting.
However, this way of pushing messages to users is currently too dependent on the home product end, which is not convenient for users.
In order to achieve the purpose of pushing messages to users currently using home products, the message pushing method not only contacts the dependence of message pushing on the products and does not need the users to be beside the products, but also accurately pushes the messages to the main users currently using the home products under the condition that a plurality of users in one family are likely to use the home products.
Specifically, the message pushing method includes the following steps:
1. And writing the user identifier bound by the product application into the NFC of the household appliance by any product application through the NFC module of the user mobile equipment provided with the product application.
For convenience of description, NFC of the home appliance may express meaning of an NFC module of the home appliance (type a home appliance) or meaning of an NFC chip in a communication module of the home appliance (type B home appliance). Wi-Fi of the household appliance can be expressed, so that a Wi-Fi module (A-type household appliance) of the household appliance can be expressed, and a Wi-Fi chip in a communication module of the household appliance can be expressed.
For convenience of description, a user mobile device in which any one of the product applications is installed will be referred to as any one of the user mobile devices.
After the product application of any user mobile device is started, the bound user identification can be obtained. It should be noted that if the product application is started in the operating system of any user mobile device for the first time, then a user is generally required to input a user identifier into the product application, the product application interacts with the product server, and after the identity authentication is passed, the user identifier is confirmed to log in, so that the binding between the product application and the user identifier is completed; if the product application is not first started in the operating system of any user mobile device, the user identification is typically already bound.
The product application may provide the bound user identification to the operating system of the any user mobile device if it is determined that the writing condition is satisfied. The writing condition may be that NFC of the home appliance does not include a user identifier to which the product application is bound. In this way, the operating system of any user mobile device writes the user identifier provided by the product application into the NFC of the home appliance through the NFC module of any user mobile device.
In some embodiments, any of the product applications described above may write the user identification to a standard data field in NFC of the home device. In some embodiments, any of the product applications described above may write the user identification to a custom data field in the NFC of the home device.
It will be appreciated that the user identification recently written in NFC of the home appliance may be regarded as the user identification of the user currently located beside the home appliance, i.e. representing the user currently using the home appliance.
Further, if the custom data area contains other user identifications except the user identifications provided by the product application, the operating system of any user mobile device replaces the other user identifications in the custom data area with the user identifications provided by the product application through the NFC module of any user mobile device. In this way, the custom data field contains only one user identification, which is always the user identification of the user currently using the household appliance.
2. And the household appliance control module acquires the user identifier which is written in the household appliance from NFC of the household appliance.
In the embodiment that the NFC of the home appliance has a custom data area and only one user identifier is included in the custom data area, the home appliance control module directly reads the user identifier from the NFC of the home appliance, and naturally can obtain the user identifier written last time.
In other embodiments, the appliance control module needs to determine which user identification was last written.
3. The home appliance control module sends a master user confirmation notification containing the acquired user identification to Wi-Fi of the home appliance.
4. And the Wi-Fi of the household appliance uploads the received main user confirmation notice to the product server.
The user identification recently written in NFC of the home appliance represents the user currently using the home appliance. Generally, all users transmitting user identification to home appliances through their own mobile devices can belong to home appliance binding users, and users currently using home appliances are master users among home appliance binding users.
The home appliance side notifies the user identification of the current main user to the product server side, so that the product server side can clearly determine the user identity of the current home appliance.
5. And when the home appliance control module determines that message pushing is needed, sending a pushing request to Wi-Fi of the home appliance.
6. And the Wi-Fi of the household appliance product uploads the received push request to the product server.
7. The product server side executes message pushing when receiving any pushing request sent by Wi-Fi of the household appliance.
The product server side specifically executes, when receiving any push request sent by Wi-Fi of the home appliance, at the time point:
and determining the corresponding message to be pushed, and pushing the determined message to be pushed to the corresponding product application aiming at the user identification in the main user confirmation notification received from Wi-Fi of the household appliance at the last time.
In some embodiments, the product server may add the user identifier in the received notification of each primary user confirmation request to a list of users corresponding to the home appliance; pushing the determined message to be pushed to the product application bound by at least one other user identifier except the most recently received user identifier in the user list.
In this way, pushing messages to users who commonly use the same home appliance can be achieved. For example, messages are pushed simultaneously to family members in the same family.
In some embodiments, the product server may receive a list configuration instruction sent by the product application to which the authority user identifier is bound, and delete the user identifier from the user list according to the list configuration instruction; the rights user identification is a user identification of a user having configuration rights.
In this way, an update of the list of users by the authorized user can be achieved. For example, a user in the list of users is not permitted to reuse the home product by the authorized user, and thus may be deleted from the list of users.
In addition, the product server may also delete each user in the user list from the user list if it is detected that the user has not used the home appliance for a certain period of time.
In addition, the authorized user may be the user who purchases the home electric product, or the user who uses the home electric product the largest number of times. In practical application, the home appliance binding master user can be switched to the home appliance binding master user by using the NFC function trigger of the mobile device every time the home appliance is used by the user. In this way, the product server counts the number of times of receiving the main user confirmation notification containing the user identifier for each user identifier, and determines the user identifier with the largest number of times as the authority user identifier.
In some embodiments, the product server may receive a policy configuration instruction sent by the product application to which the rights user identifier is bound, determine a message pushing policy according to the policy configuration instruction, and perform message pushing based on the determined message pushing policy; the rights user identification is a user identification of a user having configuration rights.
Thus, the configuration of the message pushing strategy of the product server side by the authority user can be realized.
The product server side can determine a user sub-list contained in the user list and a pushing condition corresponding to the user sub-list according to the message pushing strategy; and when a push request is received, judging whether the push condition is met, and if so, pushing the message to the product application bound by each user identifier in the user sub-list. In this way, conditional message pushing to some users in the user list may be achieved.
For example, children in the family in the child user list may be set, the corresponding pushing conditions are set to 8-10 points in the morning each day, and the cooking appliance determines that the cooking is completed. In this way, breakfast completion notifications can be pushed to the product application on the user's mobile device for children in the home 8-10 a day early, informing the children to eat breakfast.
In some embodiments, the home appliance control module may determine that message pushing is required when it is monitored that Wi-Fi of the home appliance is connected to the network, so as to remind a user that network allocation is successful.
In the case that the home appliance is a cooking appliance, the home appliance control module may determine that message pushing is required when it is monitored that the home appliance starts cooking, so as to remind the user of the start of cooking and how long the cooking is completed. And when the household appliance is detected to finish cooking, determining that message pushing is required to remind the user of finishing cooking and reminding the user of what dishes are cooked. It should be noted that, to eliminate the situation of user's false touch, the home appliance control module may determine that the cooking appliance starts to cook after detecting that the cooking appliance starts to operate for a period of time (for example, half of the time of the first cooking step in the recipe).
In some embodiments, the home appliance control module may utilize a voice broadcast function of the home appliance to push the message when it is determined that the message is required to be pushed.
The message to be pushed herein may include: a message in multimedia form, and/or a message in text form.
In some embodiments, any product application may acquire environmental information acquired by a corresponding user mobile device, and send the acquired environmental information to the product server; the environmental information includes at least one of geographical location information, weather information, and time information. And the product server can determine the menu matched with the environmental information according to the received environmental information and push the determined menu to the product application.
The menu matched with the environment information can be a menu of dishes suitable for eating in the environment corresponding to the environment information from the aspect of nutrition.
In addition, the product service end can analyze the eating habits of each user according to the cooking records of each user uploaded by the cooking electric appliance, and recommend the menu which is possibly interested in each user.
In addition, the present specification provides a method of creating an improved recipe. The concrete explanation is as follows:
Currently, users often can obtain a recipe from a network approach and cook with a cooking appliance according to the recipe. During the cooking process, users often make certain improvements to the cooking method of dishes based on their own preferences.
However, when the user wants to reproduce the last improved dish in the future, the user often forgets to improve the details, so that it is difficult to reproduce the improved dish.
Therefore, the cooking appliance (which can have the structure of an A-type household appliance or a B-type household appliance) capable of automatically cooking is provided, the cooking appliance can receive a menu issued by a product service end and a control parameter set for realizing the menu, and a user can perform certain intervention on the cooking process in the menu realization process by using the cooking appliance so as to improve dishes according to own preference. The cooking appliance can monitor that the control parameters of the cooking appliance are adjusted by a user, records the adjusted control parameters and uploads the control parameters to the product server. And the product server creates an improved menu based on the original menu according to the control parameters adjusted by the user, and establishes a corresponding relation between the improved menu and the user.
Therefore, the cooking appliance can timely capture the cooking inspiration generated by the user in the cooking process by using the cooking appliance, record the cooking inspiration which is difficult to recall later by the user, and feed back the cooking inspiration to the product server to form an improved menu. The user can directly request the product server to push the historically generated improved menu to the user, and the user can easily reproduce the improved dishes.
The method for creating the improved menu comprises the following steps:
1. And the product service end issues a menu and a control parameter set for controlling the cooking appliance to realize the menu to the cooking appliance.
The method for improving the menu is applied to a cooking system. The cooking system comprises a cooking electric appliance and a product service end corresponding to the cooking electric appliance. The cooking appliance can display a menu list to a user through a menu display function so as to be browsed by the user. The user can select a menu to be realized from a menu list displayed by the cooking electric appliance.
In some embodiments, the cooking system may further include a product application corresponding to the cooking appliance. The product application is installed on the mobile equipment of the user, the user can interact with the product server through the product application, and the menu to be realized is selected from the menus pushed by the product server.
In practical applications, the menu is usually displayed in a page sequence, one page corresponding to each cooking step. Among the cooking steps of the recipe, some cooking steps may not require the participation of a cooking appliance, such as a step of prompting the user which food materials to prepare, and some cooking steps may require the cooking appliance to perform, such as a type of step of frying, etc.
The control parameter set for realizing the menu refers to control parameters corresponding to each cooking step of the menu, which needs to be executed by the cooking appliance. The cooking appliance performs the cooking step according to the control parameters.
The control parameter set for controlling the cooking appliance to realize the menu comprises at least one of the following types of parameters: temperature, power, rotational speed, duration.
For heating-type cooking appliances, temperature is an important control parameter. In general, the power of the cooking appliance determines the operation range of the cooking appliance (such as the stir-frying range of an electric frying pan), and the operation range affects the taste or mouthfeel of dishes. Some cooking appliances have rotating devices, such as stirring heads for achieving a stirring function, and the rotation speed of the rotating devices also affects the taste or mouthfeel of dishes. The duration of a cooking step performed by the cooking appliance (e.g., the duration of a stewing) also affects the taste or mouthfeel of the dishes.
In some embodiments, the product server issues the menu and a control parameter set for controlling the cooking appliance to implement the menu in advance to the cooking appliance. That is, a plurality of recipes can be stored locally in the cooking appliance in advance, and the recipes are not required to be temporarily issued to the cooking appliance when a user wants to realize the recipes.
Further, the cooking appliance may present a menu recommendation list including the menu to the user. And after the cooking appliance monitors the cooking request for the menu input by the user, determining that the cooking appliance determines that the user requests to realize the menu.
In practical application, the cooking appliance can have a menu display function, the cooking appliance recommends a menu to a user, and the user can select the menu from the recommended menu to cook by interacting with the cooking appliance.
In other embodiments, where the cooking system includes a product application, the product application may present a menu recommendation list including the menu to the user and, upon monitoring a cooking request for the menu entered by the user, send the cooking request to a product server. In this way, the product server may send the cooking request to the cooking appliance. Further, the cooking appliance may determine that the user requests to implement the recipe when receiving a cooking request for the recipe. Further, the product server may also temporarily issue the recipe to the cooking appliance and a control parameter set for controlling the cooking appliance to implement the recipe according to the cooking request.
2. After determining that the user requests to realize the menu, the cooking electric appliance sequentially executes the cooking steps which are needed to be executed by the cooking electric appliance for each cooking step corresponding to the menu according to control parameters for realizing the cooking steps.
3. In the process of realizing the menu, if the cooking electric appliance monitors that the user adjusts the control parameters for realizing any cooking step, the adjusted control parameters corresponding to the cooking step are recorded.
For example, the user may turn a knob of the cooking appliance to set a duration of a cooking step in which the cooking appliance performs the stewing.
4. And the cooking appliance uploads the adjusted control parameters recorded in the menu cooking process to the product server.
5. And the product server creates an improved menu on the basis of the menu according to the adjusted control parameters recorded by the cooking appliance in the menu cooking process, and establishes a corresponding relation between the improved menu and the user.
In some embodiments, the user may sometimes attempt to improve may fail, in which case the user does not wish to actually retain the improvement recipe. Therefore, the product service end can acquire the dish evaluation given by the user after the cooking appliance realizes the menu, and the product service end creates an improved menu on the basis of the menu under the condition that the dish evaluation is well characterized.
Specifically, the user can feed back the dish evaluation to the product service end through the product application or the cooking electric appliance.
In some embodiments, the product server issues the improved recipe and the control parameter set for implementing the improved recipe to a cooking appliance, so that the user invokes the improved recipe when using the cooking appliance.
In some embodiments, the product application may obtain the improved recipe from the product server and display it to the user in response to the user's request.
In addition, the user may consider that some cooking steps in the recipe are unnecessary and/or want to add cooking steps according to his/her own preference, in which case the cooking appliance will also record and feed back to the product server for building the improved recipe.
In particular, in implementing the recipe, if it is monitored that the user skips any cooking step and/or adds a cooking step for implementing the recipe, the skipped and/or added cooking step may be recorded. The cooking appliance can feed skipped and/or added cooking steps recorded in the cooking menu process back to the product service end.
The product service end records adjusted control parameters and target cooking steps in the cooking menu process according to the cooking electric appliance; an improved recipe is created based on the recipe. The target cooking step includes: skipped and/or added cooking steps.
In addition, the user may not use some food materials and/or ingredients according to his own preference, or change the food materials and/or ingredients, and the cooking appliance may record and feed back to the product server for building the improved menu. Wherein the food material and/or ingredients are referred to as a cooking object.
Specifically, in the process of realizing the menu, if the cooking appliance monitors that the user modifies the cooking object and/or the cooking object consumption specified by the menu, the modified cooking object and/or the cooking object consumption can be recorded. Then, the cooking appliance can feed back the modified cooking object and/or the cooking object consumption recorded in the cooking menu process to the product service end.
And the product service end creates an improved menu on the basis of the menu according to the adjusted control parameters recorded by the cooking appliance in the menu cooking process and the modified cooking object and/or the cooking object consumption.
FIG. 9 illustrates a more specific hardware architecture diagram of a computing device provided by embodiments of the present description, which may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage, dynamic storage, etc. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The present description also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the functionality of a product application or product server.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
From the foregoing description of embodiments, it will be apparent to those skilled in the art that the present embodiments may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present specification.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The apparatus embodiments described above are merely illustrative, in which the modules illustrated as separate components may or may not be physically separate, and the functions of the modules may be implemented in the same piece or pieces of software and/or hardware when implementing the embodiments of the present disclosure. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely a specific implementation of the embodiments of this disclosure, and it should be noted that, for a person skilled in the art, several improvements and modifications may be made without departing from the principles of the embodiments of this disclosure, and these improvements and modifications should also be considered as protective scope of the embodiments of this disclosure.

Claims (15)

1. A data writing method, characterized in that an NFC module of an electric home appliance has a custom data area configured to use a non-NFC data exchange format identifiable by a product application, and an operating system of a user mobile device is readable and writable to the custom data area; the product application is installed on the user mobile device, the method comprising:
The product application sends a writing instruction to the operating system, wherein the writing instruction comprises data to be written;
The operating system calls an NFC module of the user mobile device, writes the data to be written into a custom data area in the NFC module of the household appliance, wherein when the product application monitors that an induction signal between the NFC module of the household appliance and the NFC module of the user mobile device changes from high level to low level for the first time, a writing control mark set in the custom data area is set as a first mark, and after a specified duration is passed, the writing control mark is set as a second mark by the first mark;
when the product application meets the writing condition, sending the writing instruction to the operating system; the writing conditions include: the writing control mark in the custom data area is a second mark.
2. The method of claim 1, wherein the data to be written comprises: distribution network information.
3. The method of claim 2, wherein the home appliance further has a Wi-Fi module that can identify the non-NFC data exchange format, the method further comprising:
and the Wi-Fi module reads the distribution network information from the custom data area of the NFC module of the household appliance and distributes the network.
4. The method of claim 3, wherein the Wi-Fi module performs the step of provisioning comprising:
In the hold terminal Station mode: reading distribution network information from the NFC module, enabling default verification to pass under the condition that availability verification is not executed, and accessing a network through the Wi-Fi module according to the read distribution network information;
Wherein the availability check comprises: and checking the availability of the distribution network information according to the hot spot identification list scanned in the AP mode.
5. The method of claim 3, wherein the Wi-Fi module reads the distribution network information from a custom data area of the NFC module of the home appliance, comprising:
the Wi-Fi module monitors the level of an induction signal between the NFC module of the household appliance and the NFC module of the user mobile device, and when the change from low level to high level is monitored, the network distribution information is read from a user-defined data area of the NFC module of the household appliance.
6. The method of claim 5, wherein the method further comprises:
when the Wi-Fi module is placed in a Station mode and changes from high level to low level is monitored for the first time, a writing control mark in the custom data area is set as a first mark, and after a specified duration time passes, the writing control mark in the custom data area is set as a second mark from the first mark;
When the product application meets the writing condition, a writing instruction is sent to the operating system; the writing conditions include: the writing control mark in the custom data area is a second mark.
7. The method of claim 6, wherein reading the distribution network information from the custom data area of the NFC module of the home appliance when the change from low level to high level is detected comprises:
After a write control flag in an NFC module of the home appliance is set to a second flag from a first flag, when the change from low level to high level is monitored, network allocation information is read from a custom data area of the NFC module of the home appliance.
8. The method of claim 1, wherein the data to be written comprises: configuration information for configuring the home appliance.
9. The method of claim 1, wherein the NFC module of the home device further has a standard data area configured to use an NFC data exchange format, and the operating system is readable and non-writable with respect to the standard data area.
10. The method of claim 9, wherein the data to be written comprises distribution network information; the product application includes a product client program or a product light application; the standard data area comprises a first NFC record, wherein the first NFC record has an NFC data exchange format of a URL type;
The first NFC record includes a URL for triggering the operating system to execute: under the condition that the product client program is installed, opening the product client program, and opening the product light application when the product client program is not installed;
The method further comprises the steps of:
Before the product application writes the distribution network information into the custom data area, the operating system calls an NFC module of the user mobile device, reads the first NFC record in the standard data area, and opens the product application based on the URL in the first NFC record.
11. The method of claim 9, wherein the NFC module further includes a header data area, where data lock flag information is stored in the header data area, and is used to lock data in the standard data area, so that a user mobile device side can read and write data in the standard data area in a readable and non-writable manner.
12. A data writing method, characterized in that an NFC module of an electric home appliance has a custom data area configured to use a non-NFC data exchange format identifiable by a product application, and an operating system of a user mobile device is readable and writable to the custom data area; the product application is installed on the user mobile device, the method comprising:
The operating system calls an NFC module of the user mobile device and writes data to be written into a custom data area in the NFC module of the household appliance; the data to be written is contained in a writing instruction, the writing instruction is sent to the operating system by the product application when the writing condition is met, and the writing condition comprises: the writing control mark in the self-defined data area is a second mark, when the product application monitors that the induction signal between the NFC module of the household appliance and the NFC module of the user mobile device changes from high level to low level for the first time, the writing control mark set in the self-defined data area is set as a first mark by the household appliance, and after the appointed duration, the writing control mark is set as a second mark by the first mark.
13. A data writing device, characterized in that an NFC module of an electric home appliance has a custom data area configured to use a non-NFC data exchange format identifiable by a product application, and to which an operating system of a user mobile device is readable and writable; the product application is installed on the user mobile device, the apparatus is applied to the product application, the apparatus comprises:
The system comprises a transmitting module, a writing module and a writing control module, wherein the transmitting module transmits a writing instruction to the operating system, the writing instruction comprises data to be written, so that the operating system calls an NFC module of the user mobile device, the data to be written is written into a custom data area in the NFC module of the household appliance, when the product application monitors that an induction signal between the NFC module of the household appliance and the NFC module of the user mobile device changes from high level to low level for the first time, a writing control mark set in the custom data area is set as a first mark, and after a specified duration is passed, the writing control mark is set as a second mark from the first mark;
when the product application meets the writing condition, sending the writing instruction to the operating system; the writing conditions include: the writing control mark in the custom data area is a second mark.
14. A data writing device, characterized in that an NFC module of an electric home appliance has a custom data area configured to use a non-NFC data exchange format identifiable by a product application, and to which an operating system of a user mobile device is readable and writable; the product application is installed on the user mobile device, the apparatus is applied to the operating system, the apparatus comprises:
Invoking an NFC module of the user mobile equipment, and writing data to be written into a custom data area in the NFC module of the household appliance; the data to be written is contained in a writing instruction, the writing instruction is sent to the operating system by the product application when the writing condition is met, and the writing condition comprises: the writing control mark in the self-defined data area is a second mark, when the product application monitors that the induction signal between the NFC module of the household appliance and the NFC module of the user mobile device changes from high level to low level for the first time, the writing control mark set in the self-defined data area is set as a first mark by the household appliance, and after the appointed duration, the writing control mark is set as a second mark by the first mark.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 12 when executing the computer program.
CN202111350605.XA 2021-03-16 2021-06-17 Data writing method, device and equipment Active CN114584957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111350605.XA CN114584957B (en) 2021-03-16 2021-06-17 Data writing method, device and equipment

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2021102831349 2021-03-16
CN202110283134 2021-03-16
CN202111350605.XA CN114584957B (en) 2021-03-16 2021-06-17 Data writing method, device and equipment
CN202110674071.XA CN113259921B (en) 2021-03-16 2021-06-17 Household appliance product

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110674071.XA Division CN113259921B (en) 2021-03-16 2021-06-17 Household appliance product

Publications (2)

Publication Number Publication Date
CN114584957A CN114584957A (en) 2022-06-03
CN114584957B true CN114584957B (en) 2024-06-25

Family

ID=77188490

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111350605.XA Active CN114584957B (en) 2021-03-16 2021-06-17 Data writing method, device and equipment
CN202110674071.XA Active CN113259921B (en) 2021-03-16 2021-06-17 Household appliance product

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110674071.XA Active CN113259921B (en) 2021-03-16 2021-06-17 Household appliance product

Country Status (1)

Country Link
CN (2) CN114584957B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709713A (en) * 2021-08-30 2021-11-26 北京紫光展锐通信技术有限公司 Mode switching method, device and equipment of WiFi chip
CN115250211B (en) * 2022-03-31 2024-04-26 浙江绍兴苏泊尔生活电器有限公司 NFC-based data acquisition method
CN115242572B (en) * 2022-03-31 2024-02-27 浙江绍兴苏泊尔生活电器有限公司 Household electrical appliance and data interaction method between household electrical appliance and user
CN115334126A (en) * 2022-04-24 2022-11-11 浙江绍兴苏泊尔生活电器有限公司 Interaction method between user and household appliance
CN115823622A (en) * 2022-08-29 2023-03-21 浙江绍兴苏泊尔生活电器有限公司 Cooking operation data writing and cooking operation executing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161164A (en) * 2016-09-26 2016-11-23 美的智慧家居科技有限公司 Mobile terminal controls the method and system of household electrical appliances
CN106375167A (en) * 2016-10-13 2017-02-01 杭州鸿雁智能科技有限公司 NFC-based intelligent home network distribution device and network distribution method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8582226B2 (en) * 2012-03-15 2013-11-12 Seagate Technology Llc Write delay stabilization
CN105785786B (en) * 2016-04-22 2019-01-22 广东格兰仕集团有限公司 Intelligent appliance equipment based on NFC control matches network method
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance
CN109041062A (en) * 2018-07-03 2018-12-18 阿里巴巴集团控股有限公司 A kind of method for network access and device
CN112305924A (en) * 2019-07-31 2021-02-02 广东美的制冷设备有限公司 Control method and device of household appliance, electronic device and storage medium
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance
CN112802518B (en) * 2021-03-25 2021-07-02 深圳市汇顶科技股份有限公司 Data writing method, system-on-chip and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161164A (en) * 2016-09-26 2016-11-23 美的智慧家居科技有限公司 Mobile terminal controls the method and system of household electrical appliances
CN106375167A (en) * 2016-10-13 2017-02-01 杭州鸿雁智能科技有限公司 NFC-based intelligent home network distribution device and network distribution method

Also Published As

Publication number Publication date
CN113259921A (en) 2021-08-13
CN113259921B (en) 2021-11-02
CN114584957A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN113259920B (en) Household appliance product
CN114584957B (en) Data writing method, device and equipment
US10212740B2 (en) Lighting system with cellular networking
US11146960B2 (en) Apparatus and method for handling eSIM profile for iSSP device
CN102612052A (en) Wireless communication device, program, and wireless communication system
CN111371657A (en) Network configuration method and system of intelligent household appliance and intelligent household appliance
CN115250213B (en) Method for connecting household electrical appliance to product server
CN114205796A (en) Method for connecting household electrical appliance to network
US20230076852A1 (en) Electronic device supporting plurality of sims and operating method therefor
EP3046371B1 (en) Method for exchanging information between a group of emitter receiver devices
US7836445B2 (en) Technique for installing a station device driver
CN115086930A (en) Household appliance product
CN115086926A (en) Household appliance product
CN115150793A (en) Household appliance product
CN115086927A (en) Message pushing system
CN115086931A (en) Household appliance product
CN115086929A (en) User determination method
CN114124595A (en) Method for connecting household electrical appliance to network
CN115150794A (en) Household appliance product
CN115080841A (en) Method for creating improved menu
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system
FR3022428A1 (en) TECHNIQUE FOR MANAGING AN ACTIVATION STATUS OF A RADIO ACCESS MODULE
WO2022195341A9 (en) A home appliance product
CN115086928A (en) Household appliance product
EP4309388A1 (en) A home appliance product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant