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

Data writing method, device and equipment Download PDF

Info

Publication number
CN114584957A
CN114584957A CN202111350605.XA CN202111350605A CN114584957A CN 114584957 A CN114584957 A CN 114584957A CN 202111350605 A CN202111350605 A CN 202111350605A CN 114584957 A CN114584957 A CN 114584957A
Authority
CN
China
Prior art keywords
nfc
product
user
data area
module
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.)
Pending
Application number
CN202111350605.XA
Other languages
Chinese (zh)
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
Publication of CN114584957A publication Critical patent/CN114584957A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The present specification provides a data writing method, device and apparatus. The NFC module of the household appliance product is provided with a custom data area which is configured to use a non-NFC data exchange format which can be identified by a product application, and an operating system of a user mobile device can read and write the custom data area; the product application is installed on the user mobile device. The product application sends a write-in instruction to the operating system, wherein the write-in instruction comprises data to be written in; and the operating system calls an 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 apparatus.
Background
The NFC module can be configured in the existing household appliance, and the NFC module of the user mobile equipment can be called by the product application installed on the user mobile equipment through the operating system of the user mobile equipment, so that data can be written into the NFC module of the household appliance.
In practical applications, manufacturers of home appliances sometimes want the operating system (maintained by the manufacturer of the user mobile device) of the user mobile device to be only readable and unwritable for data in NFC without permission, due to the important business data security considerations. In other words, the operating system of the mobile device of the user is required to write data to the NFC of the home appliance when the operating system cannot rewrite the data in the NFC of the home appliance by default, or when the operating system of the mobile device of the user is required by a manufacturer of the home appliance.
To this end, a data writing scheme is provided that can achieve the above object.
Disclosure of Invention
In view of the above technical problems, the present specification provides the following technical solutions:
in a first aspect, a data writing method is provided, in which an NFC module of an appliance product has a custom data area configured to use a non-NFC data exchange format recognizable 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 equipment, and the method comprises the following steps:
the product application sends a write-in instruction to the operating system, wherein the write-in instruction comprises data to be written in;
and the operating system calls an 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: and (4) distribution network information.
In some embodiments, the home appliance further has a Wi-Fi module that identifies the non-NFC data exchange format, and the method further comprises:
and the Wi-Fi module reads the distribution network information from the custom data area of the NFC module of the household appliance and performs distribution network.
In some embodiments, the step of the Wi-Fi module configuring the network comprises:
executing in the terminal Station keeping mode: reading distribution network information from the NFC chip, passing the default verification under the condition that the usability verification is not executed, and accessing the network through the Wi-Fi antenna according to the read distribution network information;
wherein the availability check comprises: and verifying the availability of the distribution network information according to the hotspot identification list scanned in the AP mode.
In some embodiments, the reading, by the Wi-Fi module, distribution network information from a custom data area of an NFC module of the home appliance product includes:
and 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 equipment, and when the situation that the level changes from low level to high level is monitored, the distribution network information is read from a custom data area of the NFC module of the household appliance.
In some embodiments, the method further comprises:
under the condition that the Wi-Fi module is in a Station mode, when the Wi-Fi module monitors that the Wi-Fi module changes from a high level to a low level for the first time, setting a write-in control mark in the self-defined data area as a first mark, and after a specified time length, setting the write-in control mark in the self-defined data area from the first mark as a second mark;
when the product application meets a writing condition, sending a writing instruction to the operating system; the writing conditions include: and the writing control mark in the user-defined data area is a second mark.
In some embodiments, when it is monitored that the low level changes to the high level, reading distribution network information from a custom data area of an NFC module of the household appliance includes:
after the write-in control mark in the NFC module of the household appliance is set to be the second mark from the first mark, when the change from the low level to the high level is monitored, the distribution network information is read from the custom data area of the NFC module of the household appliance.
In some embodiments, the NFC module of the home appliance further has a standard data area, the standard data area is configured to use an NFC data exchange format, and the operating system is readable and non-writable 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 comprises a product client program or a product light application; the standard data area comprises a first NFC record, and the first NFC record has a URL type NFC data exchange format;
the first NFC record contains a URL for triggering the operating system to perform: 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 following steps:
before the product application writes 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 a URL in the first NFC record.
In a second aspect, a data writing apparatus is provided, an NFC module of an appliance product has a custom data area configured to use a non-NFC data exchange format recognizable 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 equipment, and the device is applied to the product application and comprises:
and the sending module sends a writing instruction to the operating system, wherein the writing instruction contains data to be written, so that the operating system calls the NFC module of the user mobile equipment to write the data to be written into a custom data area in the NFC module of the household appliance.
In a third aspect, a data writing device is provided, where an NFC module of an appliance product has a custom data area configured to use a non-NFC data exchange format recognizable 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 equipment, the device is applied to the operating system, and the device comprises:
calling 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 write instruction, and the write 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 specification.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flow chart of a current distribution network scheme provided in this specification;
fig. 2 is a schematic structural diagram of a type a household electrical appliance provided in the present specification;
fig. 3 is a schematic flow chart of a distribution network manner provided in this specification;
fig. 4 is a schematic structural diagram of a type B household appliance provided in this specification;
fig. 5 is a flowchart illustrating a method for accessing a type B home appliance to a network according to the present disclosure;
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 this specification;
fig. 8 is a schematic diagram of induced signal level changes of NFC modules with different specifications provided in this specification;
fig. 9 is a schematic structural diagram of a computer device proposed in this specification.
Detailed Description
In the present specification, a plurality of technical means having different concepts are described. In each conceived solution there are one or more embodiments, while also further embodiments may be combined with each other between different conceived solutions. After reading this description, those skilled in the art can combine technical solutions with different concepts to obtain new technical solutions, and these new technical solutions should also fall within the scope of the description.
The technical solutions of these different concepts are presented in turn below. Some of these concepts may appear in multiple different conceptual scenarios, and for these concepts, the description herein is made for the first time they appear, and will not be repeated in the following.
The household appliance product described herein generally refers to various electric appliances applied to 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 household electrical appliance described in the present specification has the conventional structure and function (such as a product housing, a power interface, a basic household electrical appliance function, etc.) of the household electrical appliance on the market at present, and is not specifically described herein.
Some household electrical appliances on the market at present can be connected to a network through a built-in Wi-Fi module. When a user uses a household appliance with a networking function for the first time, the distribution network information for accessing a network is generally required to be transmitted to a Wi-Fi module of the household appliance, so that a distribution network is completed. The distribution network information generally refers to authentication information for connecting the Wi-Fi module to the router, and is generally a wireless network identification SSID and a wireless network password corresponding to the router.
As shown in fig. 1, one existing distribution network method is that when a user needs to distribute a network for a home appliance, the Wi-Fi module of the home appliance is first switched from a factory default Station mode to an AP mode, and when the home appliance is placed in the AP mode, the user can search for a hotspot of the Wi-Fi module of the home appliance by using a mobile device of the user, such as a mobile phone, and then connect the mobile device of the user to the hotspot of the Wi-Fi module of the home appliance. Therefore, equivalently, an information transmission channel is established between the user mobile equipment and the Wi-Fi module of the household appliance, and the user mobile equipment can transmit the distribution network information to the Wi-Fi module of the household appliance.
It should be noted here that the manner in which the user mobile device obtains the distribution network information may be that the user provides the user mobile device, for example, the user may input the distribution network information into an interface of a product application corresponding to a home appliance installed on the user mobile device.
In addition, in practical application, the user mobile device is often already configured by the user, that is, the user mobile device is already connected to the router in the user's home, and in this case, the user mobile device actually has the configuration network information that has already acquired the router. If the operating system of the user mobile device opens the authority for obtaining the distribution network information to the product application, the product application can directly obtain the distribution network information from the operating system without inputting the distribution network information by the user.
With 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 distribution network information corresponding to a hotspot of a router existing in a surrounding environment, the distribution network information needs to be maintained in an AP mode, the distribution network information is checked, that is, a hotspot identification list existing in the surrounding environment is detected, and it is determined whether a wireless network identification included in the received distribution network information is in the hotspot list, if the distribution network information exists, the Wi-Fi module is switched to a Station mode again, and the Wi-Fi module can be used as a Station and connected to the router according to the distribution network information, and if the distribution network information does not exist, 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 connect to an external network through the router using the assigned intranet IP address. Generally, the purpose of connecting the home appliance to the external network is to communicate with a product server of the home appliance, so as to upload some data (such as product usage records) on the home appliance to the product server and receive some data (such as control instructions) issued by the product server.
In the process, a user needs to trigger the household appliance to start the AP mode, the distribution network information can be transmitted to the household appliance, and after the transmission is completed, the Wi-Fi module of the household appliance needs to be restarted to be switched from the AP mode to the Station mode, so that the household appliance can be accessed to the network based on the distribution network information. In the whole process, firstly, a user needs to manually switch the Wi-Fi module of the household appliance from the Station mode to the AP mode, and then, after the Wi-Fi module of the household appliance obtains the distribution network information, the mode switching (switching from the AP mode to the Station) is carried out once again, so that a certain time is consumed, and for the user, the time for waiting for completion of the distribution network is longer. In addition, in the above process, the user often needs to operate the mobile device of the user to temporarily disconnect the connection with the hot spot of the router, and temporarily connect the hot spot of the Wi-Fi module of the home appliance (so as to transmit the distribution network information), which is also troublesome for the user.
In order to improve user experience, the description provides a network distribution mode, which is applied to an improved household appliance. For convenience of description, such home appliances are referred to as type a home appliances. The A-type household appliance product 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.
It should be noted that the household 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, data interaction can be carried out between the modules through the interface.
Fig. 2 is a schematic structural diagram of an a-type home appliance provided in this specification. As shown in fig. 1, the household electrical control module may be constructed based on the electrical control board and a control chip on the electrical control board, and the NFC module (Wi-Fi module) is connected to the electrical control board through a Universal Asynchronous Receiver/Transmitter (UART) serial port.
The distribution network mode based on the type a household electrical appliance can be as shown in fig. 3. Firstly, when a user needs to distribute a network for a household appliance, a Wi-Fi module of the household appliance is switched to an AP mode from a factory default Station mode, specifically, the user can enable a mobile device with an NFC function to be close to the NFC module of the household appliance, and then a control instruction triggering the Wi-Fi module to enter a distribution network state is sent to the NFC module, after the NFC module receives the instruction, the control instruction is transmitted to an electric control board through a UART serial port, and then the electric control board transmits the control instruction to the Wi-Fi module through the UART serial port, and then the Wi-Fi module can enter the distribution network state, namely, the Station mode is switched to the AP mode, a result is fed back to the electric control board, and then the feedback result is sent to the mobile device.
Continuing to refer to fig. 3, after determining that the Wi-Fi module of the household appliance is switched to the AP mode, the user may transmit the distribution network information to the NFC module of the household appliance through the mobile device, the NFC module transmits the distribution network information to the MCU through the UART serial port, the MCU transmits the configuration information to the Wi-Fi module through the UART serial port, and after receiving the distribution network information, the Wi-Fi module remains in the AP mode, checks the distribution network information (the same as the method shown in fig. 1, which is not described again), and thus connects to the router when the check is passed.
The mode shown in fig. 3 can prevent the user from manually switching the Wi-Fi module of the home appliance from the default Station mode to the AP mode, and also prevent the user from operating the mobile device to temporarily disconnect the router and temporarily establish a connection with the Wi-Fi module of the home appliance to perform distribution network information transmission. The user can use the NFC module (touch-and-dash mode) of the mobile device induction household appliance product to trigger the Wi-Fi module of the household appliance product to be switched from the default Station mode to the AP mode, and the distribution network information is transmitted to the Wi-Fi module of the household appliance product through the NFC way. However, in the method shown in fig. 3, the Wi-Fi module of the home appliance still needs to check the distribution network information in the AP mode, which means that mode switching still needs to be performed, and a user still needs to wait for a long time during the distribution network process.
In addition, in the distribution network mode shown in fig. 3, the distribution network information is transmitted by using a path from the NFC module of the household appliance product to the MCU to the Wi-Fi module, and the path is too long, so that the problems of too long transmission time and unreliable transmission (for example, the MCU may transmit wrong distribution network information to the Wi-Fi module) exist.
In summary, the network distribution method shown in fig. 1 or the network distribution method shown in fig. 3 require the home appliance to perform mode switching. The reason why the Wi-Fi module of the household appliance needs to switch the mode in the distribution network process is that, in order to meet the reliability requirement of the product function, it is necessary to ensure that the Wi-Fi module is within the hot spot coverage of the router to ensure that the Wi-Fi can be successfully connected to the router based on the distribution network information corresponding to the router (otherwise, the connection fails and the product function is unreliable), which requires that the Wi-Fi module first switch to the AP mode to detect a hot spot list that can be connected to the surrounding environment before connecting to the router, and if the hot spot of the router corresponding to the distribution network information is in the hot spot list, it is ensured that the connection can be successfully connected to the Station mode to connect. Therefore, the networking logic of the existing Wi-Fi module is generally configured to have to be subjected to 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 specification further provides a network distribution method, where the network distribution method is applied to another improved household appliance, which is called a B-type household appliance. The B type household appliance is further improved on the basis of the A type household appliance.
B type household electrical appliances: the device 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.
It should be noted that the household appliance control module and the communication module may 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, data interaction can be carried out between the modules through the interface.
The communication module integrates an NFC chip, an NFC antenna, a Wi-Fi chip and a Wi-Fi antenna, and can be understood as integrating the NFC chip, the NFC antenna, the Wi-Fi chip and the Wi-Fi antenna on one circuit board, and the Wi-Fi antenna can be designed on board or externally. The circuit board is used as a communication module, and an interface is exposed to the household appliance control board. In the layout design of the circuit board, the NFC antenna and the Wi-Fi antenna are guaranteed to be not interfered with each other as much as possible, and the performance of the NFC antenna and the performance of the Wi-Fi antenna are guaranteed to be optimal on the premise that the circuit board is in specification and size as much as possible.
The NFC chip in the communication module can adopt an active NFC chip or a double-interface passive NFC chip.
Fig. 4 is a schematic structural diagram of a type B household appliance provided in this specification. As shown in fig. 2, the appliance control module of the a-type appliance product is structurally retained, and the communication module is connected with the electronic control board through a UART serial port.
In addition, 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 the NFC module of the home appliance product actually means reading and writing the NFC chip in the NFC module of the home appliance product. For convenience of description herein, when "NFC of home appliances" is stated, it means that a type a home appliance is not distinguished from a type B home appliance; when "NFC module of a household appliance" is stated, it means for a type a household appliance; when "NFC chip of communication module" is stated or "NFC chip" is stated separately, it means for type B home appliances.
For B-type household appliances, the NFC function and the Wi-Fi function of the household appliances are integrated in the same module, and the purpose is to realize that the Wi-Fi chip directly acquires the distribution network information from the NFC chip in the same module, so that a middle 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 illustrating a method for accessing a type B home appliance to a network according to an embodiment of the present disclosure. The method of fig. 5 is applied to a system including a user mobile device and an electric home appliance; the user mobile device has a product application installed.
The method shown in fig. 5 comprises the following steps:
s500: after the product application is started, determining distribution network information used by the user mobile equipment under the condition that the mobile equipment is determined to have access 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 makes the user mobile device approach the NFC sensing area of the household appliance (i.e., the NFC chip in the household appliance can sense the area), and the NFC module of the user mobile device can be triggered to establish NFC connection with the NFC chip of the household appliance. After the NFC connection is established, the operating system of the user mobile device may 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 home appliance.
It should be noted that, after the NFC connection is established, the operating system of the user mobile device generally first reads all data in the data area of the NFC chip of the household appliance, and whether to write data into the NFC chip later depends on whether the operating system executes a preset write logic or whether the operating system receives a write instruction sent by an installed application.
The applications described herein are installed in the operating system of the user's mobile device (again, it is not ambiguous that the application is installed on the user's mobile device). The application may be a client program (e.g., APP installed on a mobile phone) or a light application (e.g., a web application, an android application, etc.). Light applications can be understood as lightweight programs that do not require downloading of clients.
The product application described herein refers to an application developed by a manufacturer of an electric home appliance, and is used for providing a service related to the electric home appliance for a user on a mobile device side of the user.
The product server described herein refers to a server maintained by a manufacturer of a home appliance product. On one hand, the product application may perform network interaction with the product server, for example, after the user operates the mobile device to start the product application, the user may log in to the product server through the product application, in this case, it is equivalent that the product application has a binding relationship with the user identifier of the user. On the other hand, under the condition that the household appliance is connected to the network, the product server can interact with the household appliance, and the product server can monitor the running condition of the household appliance by acquiring the running parameters uploaded by the household appliance and can also issue a control instruction to the household appliance to control the household appliance to execute corresponding operation.
The product server may be a server or a cluster of servers. In addition, the product server can be functionally divided into a server for monitoring the running state of the product and a server on the business level. For example, the server for monitoring the operating state of the product may be an M2M platform, which needs to maintain a long connection with the home appliance, and the home appliance reports the state change of the home appliance to the M2M platform. And the service end of the service layer can be an IOT platform, communicates with household appliances through short connection, and is responsible for account management, account binding, instruction issuing, push message issuing and the like.
In some embodiments, a user may manually open a product application installed in the operating system of the user's mobile device. In particular, if a user mobile device has a product client program installed, the user typically manually opens the product client program. In the case where the product application is not installed, the user may choose to manually download and install the product client program, or to manually open the product light application.
After the product application is started, whether the user mobile equipment has 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 a Wi-Fi module of the user mobile device is enabled, whether the Wi-Fi module of the user mobile device is connected to a router, and whether the router is connected to the internet.
In some embodiments, after the product application is started, it is necessary to determine whether the Wi-Fi module of the user mobile device is started or not, determine whether the Wi-Fi module of the user mobile device is connected to the router, and if the determination result is yes, request connection to the product server by using the network capability of the user mobile device. If the product application is successfully connected to the product server, the router connected with the user mobile equipment is indicated to have access to the internet, and the distribution network information used by the user mobile equipment can be acquired under the condition that the user mobile equipment is determined to have access 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 operator'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 distribution network information.
S502: and the user mobile equipment establishes NFC connection with the NFC chip through an 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 specification of the NFC modules of different mobile devices, a write control flag is deployed in NFC of a product, and logic is deployed in product application: the writing control mark is a first mark and can not be written; the write control flag is a second flag, and can be written.
After the Wi-Fi chip monitors that the mobile equipment enters the field, the write-in control mark is determined to be the first mark, and therefore the product application cannot execute information write-in, and write-in failure cannot occur. And after the Wi-Fi chip enters the field from the mobile equipment, delaying, wherein the delay time duration can be a first specified time duration, and after the delay, modifying the write-in control mark into a second mark again.
Wherein the first specified duration is N x 10 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 different in size, typically have a time between 20 ms and 50 ms, and in many cases no longer than 40 ms, from approach to level plateau.
S506: and the Wi-Fi chip of the household appliance reads the distribution network information from the NFC chip in the Station mode, and accesses the network according to the distribution network information.
The Wi-Fi chip can acquire the distribution network information from the NFC chip after a second specified time from the time point when the write-in control mark is modified into a second mark, and the reading success rate is improved.
Further, the second specified duration is an estimated value of duration required for the product application to write the distribution network information to the NFC chip through NFC connection.
In addition, the Wi-Fi chip may also acquire the distribution network 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 modified to the second flag.
That is, the Wi-Fi chip can read the distribution network information when determining that the user mobile device is out of the field (proving that the writing is completed).
According to 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, namely the NFC function is configured for the Wi-Fi chip, the Wi-Fi chip can directly acquire distribution network information from the NFC chip instead of transmitting the distribution network information received by the NFC to the Wi-Fi chip by the household appliance control module, and therefore the efficiency and reliability of distribution network information transmission are improved.
In addition, the user establishes the NFC connection with the NFC chip of the home appliance product by using the NFC function of the user mobile device, and the user can write the distribution network information into the NFC chip only when the user needs to start a product application installed on the mobile device and determines that the user mobile device has accessed the network through its own Wi-Fi module.
The user mobile equipment provides distribution network information for the household appliance through NFC connection, which means that the household appliance and the user mobile equipment are in the same family environment; and in case that the product application installed on the mobile device starts and determines that the user mobile device has accessed the network through its own Wi-Fi module, it means that the user mobile device is currently connected to the router in the environment, and it must be said that the home appliance can also be connected to the router. Therefore, the distribution network information transmitted to the household appliance by the user mobile device does not need to be checked, which means that the Wi-Fi chip of the household appliance does not need to be switched to the AP mode and can be always kept in the Station mode.
In the whole distribution network process, the Wi-Fi chip of the household appliance product does not need to be switched in mode, and the distribution network information can be transmitted to the Wi-Fi chip without passing through the household appliance control module.
In some embodiments, the product application can also write the IP address of the product server into NFC, and the Wi-Fi chip can read the distribution network information and the IP address from NFC, and access the product server through the network after the distribution network is successful.
It should be noted that, in practical applications, the correspondence between the domain name and the IP address of the product server is not fixed, and a new IP address may be updated for the domain name of the product server on the DNS server, so that it is difficult to pre-configure the IP address of the product server to a home appliance product shipped from a factory in practice. In the embodiment, when the product is applied to a network distribution of a household appliance, the IP address of the product server at that time can be acquired, 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 overall process of connecting the home appliance to the product server by applying the scheme is described with respect to the reduced waiting time for the user experience. According to the scheme, on one hand, the time for mode switching of Wi-Fi of the household appliance in the distribution network process can be saved, and on the other hand, the time for DNS analysis of the household appliance accessing the product server after the distribution network is successful can be saved.
In practical applications, NFC of home appliances is usually in the card mode. The NFC of the household appliance can be connected with any user mobile equipment with an NFC module. The permission corresponding to the NFC of the home appliance is usually set to enable the home appliance side to read and write data.
In some embodiments, if data security in NFC of the home appliance is not considered, the right corresponding to NFC of the home appliance may also be set to be generally readable and writable by the user mobile device side (in a software layer, it is an operating system of the user mobile device). The mobile device of any user can write the user identification into the NFC data area of the household appliance. In this case, the product application may not be installed on the user mobile device, and any user mobile device may obtain the user identifier of the user having the user mobile device.
It should be noted that, the existing NFC data area generally includes several NFC records, and the NFC records are data structures agreed by the NFC protocol, and use the NFC data exchange format, i.e., NDEF. The existing NFC protocol specifies several general NFC data exchange formats (e.g. URL, picture) and also allows device manufacturers to define other kinds of NFC data exchange formats.
Generally, an NFC-enabled device will default to supporting the NFC protocol and may identify NFC records in the NFC data area that have a common NFC data exchange format. If the device vendor defines other kinds of NFC data exchange formats, logic for identifying NFC records of the other kinds of NFC data exchange formats may also be built into the operating system of the factory device.
However, in practical applications, some important service data may need to be stored in the NFC of the home appliance, and for the security of the important service data, manufacturers of home appliances sometimes want the operating system (maintained by the manufacturer of the user mobile device) of the user mobile device to be only readable and unwritable for the data in the NFC without permission. In other words, it is necessary that the operating system of the user mobile device cannot rewrite the data in the NFC of the home appliance product by default, and that the operating system of the user mobile device writes data, such as the user identifier and the distribution network information provided by the user, into the NFC of the home appliance product when the operating system of the user mobile device is required by the manufacturer of the home appliance product.
For this reason, a data area that cannot be identified by the operating system of the mobile device of the user may be added to the NFC data area of the home appliance, and for convenience of description, the added data area is referred to as a (home appliance manufacturer) custom data area, and the custom data area uses a non-NFC data exchange format (a data exchange format agreed by a private protocol of the home appliance manufacturer may also be referred to as a private data exchange format). In addition, a data area other than the custom data area in the NFC data area of the home appliance product 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 an operating system of the user mobile equipment and cannot be written; the custom data area may be set and written by the operating system of the user's mobile device. Because the data exchange format used in 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 recognize the data in the custom data area even if the operating system can read the data in the custom data through the NFC module of the user mobile device.
Accordingly, for important service data in the custom data area, only software (product service end system, product application, firmware in home appliance products) developed by a product manufacturer can be identified. Therefore, under the condition that the NFC of the home appliance product has the custom data area, the user mobile device needs to install the product application, and after the product application is started, the product application identifies data in the custom data area read by the NFC module of the user mobile device, and in addition, the product application can instruct the operating system moved by the user to write data in the custom data area.
Therefore, through the above series of technical settings, the user mobile device needs to write data into the product NFC, and uniformly writes the data into the custom data area. The data in the NFC of the household appliance cannot be rewritten by an operating system of the mobile equipment of the user under the default condition, and the data can be written 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 in 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 a URL-type NFC data exchange format. 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 the data area of the NFC chip. The first NFC record contains a URL for triggering an operating system of the mobile device to perform: and 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.
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 an Android application type (Android PKG). The second NFC record contains an android application identifier, and is used for triggering an operating system of the mobile device to execute when the operating system is an android system: and under the condition that the product client program is not installed, entering a downloading way associated with the android system to download the product client program, or opening the product light application supported by the android system.
That is to say, in this embodiment, before step S500, in a case that the user has not started the product application, the user mobile device may first approach the NFC sensing area of the home appliance product, and read all data from the NFC data area of the home appliance product, where the data includes the first NFC record. In this manner, 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 first NFC record, the second NFC record, and more NFC records may also be included.
It should be noted that, for convenience of description, in the case where the data area of the NFC chip does not include the custom data area, the data area including several NFC records is referred to as a standard data area.
Furthermore, if the user triggers the product application to start by NFC before step S500, then there are two cases:
step S502 is executed before step S500, after the user mobile device establishes NFC connection with the home appliance product, data is read from NFC of the home appliance product, and after the product application is triggered and started, the product application writes distribution network information into NFC. In the process, the mobile device of the user cannot leave the NFC sensing area of the household appliance, otherwise, the connection is interrupted.
Step S502 is that the user actually approaches the NFC sensing area of the product with the user mobile device for the second time. The user firstly brings the user mobile device close to the NFC sensing area of the product, reads data in NFC, and then the user mobile device leaves the sensing area, and after the distribution network information is determined to be acquired after the product application is started, the user brings the user mobile device close to the NFC sensing area of the household appliance product, so as to implement step S502.
Additionally, in some embodiments, the first NFC record further includes at least one of the following information:
the household appliance product corresponds to the goods-mixing-preventing code;
the WIFI chip is provided with a unique identifier corresponding to the WIFI chip;
a communication failure flag; when the failure of the Wi-Fi chip of the household appliance is monitored, the household appliance control module modifies the communication failure mark into a characteristic failure; when the Wi-Fi chip fault is monitored to be repaired, the communication fault mark is modified to represent no fault;
the number of triggered NFC chips accumulated; the Wi-Fi chip adds 1 to the accumulated number when monitoring that the NFC chip establishes NFC connection;
a networking related flag; and when the network is disconnected, the networking mark is set as a mark for representing the non-networking state.
The first NFC record may also carry some product-related information, which may be transferred to a product application, and further uploaded to a product server by the product application.
The product server side can count the goods mixing condition of household electrical appliances on the market for the goods mixing prevention codes of the household electrical appliances.
The unique identification of the Wi-Fi chip can play a role in uniquely identifying the household appliance. The product server can definitely upload the user identification bound by the product application of the unique identification, so that the user identity of the household appliance product corresponding to the unique identification is definitely used at present.
For the communication fault mark, the product application can judge whether the household appliance can carry out the distribution network at present according to the read communication fault mark.
For the triggered accumulative quantity of the NFC chip, the product server can analyze the used condition of the NFC function of the household appliance according to the accumulative quantity.
For the networking related marks, the product application can judge whether the household appliances need to be distributed according to the read communication fault marks.
In addition, it should be noted that the technical means that after the product application is started, the distribution network information used by the user mobile device is determined and the distribution network information is written into the NFC of the household appliance through the NFC connection between the user mobile device and the household appliance under the condition that the user mobile device is determined to have access to the network through the Wi-Fi module of the user mobile device can be applied to the a-type household appliance.
The structure of the data area of NFC is explained in more detail herein. Fig. 6 is a schematic structural diagram of an NFC data area.
As shown in fig. 6, the data area of NFC 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 requirements of the product manufacturer are not considered.
The NFC header data area generally stores identification information of an NFC chip, and data locking flag information, which is classified into static locking and dynamic locking. The locking mark information has the functions of locking the data in the standard data area to ensure that the user mobile equipment side can only read and can not write, ensuring the data security, and opening the user-defined data area permission to the user mobile equipment side, so that the user mobile equipment side can read and write. In addition, the side of the home appliance (the home appliance control module and the Wi-Fi chip of the type B 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 an NFC protocol, and since the NFC protocol is usually built in an operating system of the user mobile device having an NFC function, data in the standard data area can be identified, so that it is not necessary to release the write right for the standard data area on the user mobile device side for data security.
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 sequence, and the standard data area may include the first NFC record, the second NFC record and at least one other NFC record if the standard data area includes more NFC records in addition to the first NFC record and the second NFC record, which is referred to as another NFC record.
The custom data area is a data area using a non-NDEF format, and specifically adopts a proprietary protocol of a home appliance manufacturer. Because the operating system of the user mobile device with the NFC function does not have a built-in proprietary protocol of a home appliance manufacturer, even if the operating system of the user mobile device has a right to write data in the custom data area, the operating system of the user mobile device does not have an ability to write data in the custom data area. The product application installed on the mobile equipment of the user is developed by a household appliance manufacturer, so that a private protocol can be built in, and the user-defined data area can be identified and written. The data in the custom data area can be stored in a plaintext mode or in an encrypted mode.
Fig. 7 is a schematic structural diagram of a more specific NFC data area provided in this specification.
In addition, the following table 1 exemplarily shows an internal structure of a custom data area.
Figure BDA0003355706270000131
TABLE 1
The SSID and the PWD are respectively a wireless network identifier and a wireless network password, and the SSID and the PWD form distribution network information. The distribution network mark is used for marking whether distribution network information in the user-defined data area is read by the Wi-Fi chip. The distribution network mark may be specifically a first mark (e.g., 0) or a second mark (e.g., 1). The product application modifies the first mark into a second mark after the distribution network information is written into the custom data area; and after the Wi-Fi chip reads the distribution network information from the NFC chip, the second mark is modified into the first mark. The Wi-Fi chip can read the distribution network information from the user-defined data area 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 the home appliance server. The product application writes an Internet Protocol (IP) address of a product server into the custom data area; and 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 according to KLV, k (Key) is identification, L is byte length (total length of Key and vlaue), and V is value. Wherein N is1And N2Can be set according to actual requirements.
In other embodiments, the product application may also write the user identifier bound to the product application in the custom data area (the user identifier written in the custom data area last time represents a master user currently using the product), and the product application may also write the BSSID of the 5GHZ access point to which the user mobile device corresponding to the product application is connected, in the custom data area, see table 2.
Figure BDA0003355706270000141
TABLE 2
Wherein N is3、N4Can be set according to actual requirements.
A method for launching a product application that is convenient for the user is presented herein. The product application starting method can be realized by combining the type-A household appliance and the type-B household appliance introduced in the specification, and can also be realized by integrating other household appliances with NFC.
Specifically, the household appliance has an NFC module; the data area of the NFC module of the household appliance product 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 NFC data exchange formats specific to the mobile device operating system.
Each other NFC record corresponds to different first-class product light applications respectively; for each other NFC record, the record contains the identification of the corresponding first-class product light application; the first NFC record includes a URL.
When a product application installed on user mobile equipment needs to be started, the NFC module of the user mobile equipment is close to the NFC module of the household appliance, so that the NFC connection is established between the NFC module of the user mobile equipment and the NFC module of the household appliance.
As such, the operating system of the user mobile device may perform the following steps:
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 a product client program is determined not to be installed, judging whether the identification mark in the record has an NFC data exchange format special for the operating system or not for each other NFC record, and if so, starting corresponding first-class product light application;
3. starting a product client program under the condition that the installation of the product client program is determined according to the URL in the first NFC record; and in the case that the product client program is not installed and the identification mark with the NFC data exchange format specific to 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 the general development protocol.
Considering that in practical applications, different mobile device manufacturers develop their own light applications (first-class product light applications) and define an NFC data exchange format specific to their own operating systems for the booting operation of their own light applications, at least one other NFC record is stored in the NFC data area of the home appliance in addition to the first NFC record for booting the product client program and booting the general-purpose product light applications (second-class product light applications). Different NFC records correspond to different NFC data exchange formats specific to the mobile device operating system, and also to different first class product light applications.
In this way, in the case that the operating system has a dedicated NFC data exchange format, the dedicated first-class product light applications developed for the mobile device by the manufacturer can be preferentially started (which may often provide a better user experience).
In addition, the home appliance may be a type a home appliance. In this case, each other NFC record is initially configured to contain noise information that causes: the operating system using the data exchange format of the identification mark contained in the record as a special data exchange format cannot recognize 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 appliance control module may delete the 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 product light application, when the home appliance product is shipped, the identifiers in each other NFC record may be added with noise, so that the operating system cannot identify the self-dedicated identifiers.
Further, the Wi-Fi module may receive a second configuration instruction from a product server and send the second configuration instruction to the appliance control module. The 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 a user wants to use a first class of product light application developed by a vendor of his mobile device, he 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 product also comprises a second NFC record;
the second NFC record may include an android identification identifier, and is used to trigger the operating system of the mobile device to execute, if the operating system is an android system: and under the condition that the product client program is not installed, entering a downloading way associated with the android system, and downloading the product client program, or opening the product light application supported by the android system.
The NFC data area can further comprise a second NFC record, and the second NFC record is used for providing an official downloading path of the android operating system aiming at the android operating system or opening a general product light application of the android operating system.
The above-mentioned product application starting method is applied to the embodiment of the B-type household appliance product, and follows the above-mentioned technical principle, and is not described again.
Here, the present specification proposes a method for writing information into NFC of a product by a product application with a high success rate.
At present, specifications of NFC modules of various user mobile devices in the market are different, and after some mobile devices with NFC modules are connected with home appliances, fluctuation conditions of levels of sensing signals are different. On the other hand, if the mobile device side wants to write information into the NFC of the home appliance product, it needs to write the information under the condition that the sensing signal is stable, otherwise, the writing is easy to fail, and the user is disturbed, and the user has to take the mobile device away from the NFC sensing area of the product and try to establish the NFC connection again.
This means that if the mobile device starts writing information to the NFC of the product soon after establishing the NFC connection, the level of the inductive signal may not be stable at this time, and writing may fail easily.
Specifically, in order to prevent the problem that the induction signal is unstable and the writing of the distribution network information fails after the NFC module of some user mobile devices establishes connection with the NFC of the household appliance product, the following technical means are adopted: the Wi-Fi chip on the household appliance side can modify a write-in control mark in the NFC chip, and when the fact that a user mobile device enters a field is monitored (when an acquired induction signal is changed from a high level to a low level for the first time), the write-in control mark is set to be a first mark, so that distribution network information is not written in when the product application reads the first mark; and after delaying the first specified time, the Wi-Fi chip modifies the first specified time into a second mark, so that the distribution network information begins to be written when the product application reads the second mark. Therefore, the time delay of the distribution network information writing time for product application can be realized, and writing is executed when the level is more stable, so that the writing success rate is improved, and the disturbance to a user is reduced.
Fig. 8 is a schematic diagram of induced signal level changes of NFC modules with different specifications provided in this specification. As shown in fig. 8, when the NFC module of the apple phone enters the field (establishes NFC connection with the product NFC), the level changes from high to low once, and then it will be stable for a long time. For the other two android mobile phones, a fluctuation period of repeated high-low change of the level is experienced from the beginning of the approach, and then the stability is maintained, especially for the last android mobile phone, after the connection of the NFC, the product application writes information into the NFC of the product, and the success rate is very low.
To this end, 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, while 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, and can be written.
After monitoring that the mobile equipment enters the field, the product side determines the write-in control mark as a first mark, so that the product application cannot execute information write-in, and write-in failure cannot occur. And after the product side enters the field from the mobile equipment, delaying, wherein the delay time duration can be a first specified time duration, and after the delay, modifying the write-in control mark into a second mark again.
Wherein the first specified duration is N x 10 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 different in size, typically have a time between 20 ms and 50 ms, and in many cases no longer than 40 ms, from approach to level plateau.
Further, if the product side needs to acquire information written into the NFC by the product application, the distribution network information may be acquired from the NFC chip after a second specified duration from a time point when the write control flag is modified to the second flag.
The product side can wait for the second designated time length from the time point when the product application writes in the distribution network information, and then reads the distribution network information from the NFC chip, so that the reading success rate is improved.
Further, the second specified time length is obtained by writing an estimated value of the time length required for distribution network information into the NFC chip through NFC connection by the product application.
In addition, the product side may also acquire the distribution network 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 modified to the second flag.
That is, the product side can read the distribution network information when determining that the user mobile device is out of the field (proving that the writing is completed).
It should be noted that the method for writing information into NFC of a product by using the product may be specifically applied to a type a household appliance or a type B household appliance. When the device is applied to the A-type household appliance, the device is realized by the household appliance control module, and when the device is applied to the B-type household appliance, the device is realized by the household appliance control module or the Wi-Fi chip.
In addition, in real life, a household appliance of a user may have a fault, and in this case, the household appliance control module of the household appliance will usually remind the user of a fault type identifier corresponding to the detected fault. The user can inquire the product specification according to the fault type identification to know the fault details.
However, such a method for knowing the failure details of the home appliance is cumbersome for the user.
Here, the present specification proposes a failure detail information acquisition method of a home appliance product. The method is applied to product applications installed on user mobile devices. The household appliance in the method can be a household appliance with a household appliance control module and an NFC module, and can also be an A-type household appliance or a B-type household appliance.
Specifically, the household appliance control module acquires a corresponding fault type identifier when detecting that the household appliance product fails, and writes the fault type identifier into the NFC chip through the interface. Further, the data can be written into a custom data area of the NFC chip.
The product application can read the fault type identifier from the NFC of the household appliance through the NFC module of the user mobile equipment; and uploading the read fault type identifier to a product server, and receiving fault detail information corresponding to the fault type identifier sent by the product server.
According to the fault detail information acquisition method, the household appliance product can send the fault type identifier to the product application on the user mobile equipment by utilizing the NFC, the fault detail information is acquired and displayed by means of the product application of the user mobile equipment, a user does not need to inquire a product specification according to the fault type identifier, and user experience is improved. In addition, the technical scheme can also be applied to household appliances which do not have the networking function or have the networking function but are not networked, and can also be applied to household appliances with simpler display function.
In some embodiments, the fault detail information includes: information describing the cause of the failure, and/or information describing the solution to the failure.
In some embodiments, the fault detail information includes: fault detail information in multimedia form.
In addition, this specification also proposes a technical scheme for connecting a router to a home appliance, which is specifically described as follows:
in practical application, the product application acquires a wireless network identifier SSID and a wireless network password of a router to which the user mobile equipment is currently connected, and then transmits the wireless network identifier and the wireless network password to the household appliance product for distribution through communication connection between the user mobile equipment and the household appliance product. The communication connection may be the communication connection between the Wi-Fi module of the user mobile device and the Wi-Fi (AP mode) of the home appliance as described above, or may be the NFC connection as described above.
Routers currently on the market often support dual frequency channels (2.4GHZ and 5 GHZ). Some routers can set a unified SSID for a 2.4GHZ channel and a 5GHZ channel, and under the condition, the SSID and the password are transmitted to the Wi-Fi of the household appliance, and the Wi-Fi of the household appliance can be smoothly connected to a 2.4GHZ access point of the router through the 2.4GHZ channel.
Some routers set different SSIDs for the 2.4GHZ channel and the 5GHZ channel, respectively, for example, the SSID corresponding to the 2.4GHZ channel is "XXY", and the 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, and therefore, 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. Due to cost considerations, the Wi-Fi of the home appliance often only supports a 2.4GHZ access point connected to the router through a 2.4GHZ channel, and therefore, 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 when the SSID transmitted according to the product application fails, the Wi-Fi of the home appliance means that the router currently needing to connect sets different SSIDs for the 2.4GHZ channel and the 5GHZ channel, respectively, and therefore, the Wi-Fi of the home appliance can scan and acquire an SSID list from the surrounding environment, where the SSID list includes not only the SSID corresponding to the 2.4GHZ channel and the SSID corresponding to the 5GHZ channel of the router currently needing to connect (i.e., the router in the home of the user), but also SSIDs of other routers in the surrounding environment (e.g., the routers in the neighboring of the user). In many cases, two SSIDs of the same router are similar, so that an SSID similar to an SSID transmitted by a product application can be determined from the scanned SSID list, and the SSID is determined to be an SSID corresponding to a 2.4GHZ channel of the same router, so that the Wi-Fi of the home appliance can connect to the router according to the similar SSID.
However, the distribution network success rate of this scheme is not high. The reason is that in practical applications, naming rules of two SSIDs of dual-frequency routers of different styles are often uncertain, and two SSIDs of the same router are not necessarily similar. Moreover, the user can modify the two SSIDs of the router at will, which makes it more difficult to successfully distribute networks to home appliances by using the scheme.
For this purpose, the present specification provides another solution, for an electric home appliance product that only supports a router connected by a 2.4GHZ signal, when a network is configured, a product application may transmit, to the electric home appliance product, a BSSID of a 5GHZ access point of a router to which a user mobile device is connected and a wireless network password corresponding to the router, and a target module with a Wi-Fi function of the electric home appliance product may scan BSSIDs of a plurality of 2.4GHZ access points in a surrounding environment, determine, in a scanning result, BSSIDs of 2.4GHZ access points similar to the BSSID of the 5GHZ access point of the router, and then connect to the router through the determined BSSIDs of the 2.4GHZ access points.
The principle of the above scheme is that, although SSID naming rules of various styles of dual-frequency routers in the market are uncertain, users can also modify SSIDs, but the naming rules of physical addresses BSSIDs of wireless access points of the routers are uniform, and the users do not have the ability to modify BSSIDs. In practical applications, even though the dual-band router sets different access points for the 2.4GHZ channel and the 5GHZ channel, respectively, BSSIDs of different access points are often very similar. Therefore, the network distribution for the household appliances can be ensured to be successful.
Specifically, the present specification provides a method for connecting a home appliance to a router, in which 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 including:
the product application acquires a physical address BSSID of a 5GHZ access point connected with the user mobile equipment and acquires a wireless network password corresponding to the router;
the product application transmits the BSSID and the password of the 5GHZ access point 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;
under the condition that the target module confirms that the specified conditions are met, BSSIDs of a plurality of 2.4GHz access points in the surrounding environment are scanned and obtained through a Wi-Fi function, and BSSIDs similar to BSSIDs of 5GHz access points in the scanned and obtained BSSIDs are confirmed;
and 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.
The home appliance in the above method for connecting a router may be any home appliance having a Wi-Fi function, for example, an a-type home appliance or a B-type home appliance. When the household appliance is an A-type household appliance, the target module of the household appliance is specifically an independent Wi-Fi module; when the communication module is a B-type home appliance, the target module of the home appliance is specifically the integrated communication module integrating the NFC function and the Wi-Fi function 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 product is in the AP mode, the Wi-Fi module of the user mobile equipment is in communication connection with the target module. Of course, the communication connection may be: the household appliance is connected with the user mobile device through Near Field Communication (NFC).
In some embodiments, any BSSID is in the format: a 48-bit binary identifier; the BSSID of a 5GHZ access point for the same router is the same as at least the first 40-bit binary identifier of the BSSID of a 2.4GHZ access point. As such, the target module may determine, from the BSSIDs obtained by the scanning, the BSSID of the 2.4GHZ access point of at least the first 40-bit binary identifier and the BSSID of the 5GHZ access point.
The BSSID of the 5GHZ access point of the current commercial dual band channel router of each brand is identical to at least the first 40 binary characters of the BSSID of the 2.4GHZ access point, and therefore, by using this criterion to identify "similarity", it is possible to match more accurately the BSSID of the 5GHZ access point transmitted with the product application to the BSSID of the 2.4GHZ access point belonging to one router.
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 are not described herein again.
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 in turn according to the determined BSSID of each 2.4GHZ access point and the wireless network password, until the 2.4GHZ access point is connected to the router.
In some embodiments, the product application may further obtain a wireless network identifier SSID corresponding to the router to which the user mobile device is connected, and transmit the SSID to the target module through the communication connection.
Some routers with dual-frequency channels can connect the 5GHZ access point and the 2.4GHZ access point through a uniform SSID, under the condition, household appliances can be successfully connected to the 2.4GHZ access point of the router by directly using the SSID without scanning a BSSID list of the 2.4GHZ in the surrounding environment, and the speed of a distribution network can be improved. After the distribution of the network based on the SSID fails, the BSSID list is scanned and acquired, connection is performed based on similar BSSIDs, and the success of distribution of the network can be guaranteed.
In some embodiments, the target module connects to the router based on the SSID and the wireless network password before scanning for BSSIDs of a plurality of 2.4GHZ access points in a surrounding environment; and if the connection fails, determining that the specified condition is met.
The household appliance can use SSID to connect with the router, if the connection fails, the BSSID of the 2.4GHz access point of the surrounding environment is scanned, and the router is connected by using the similar BSSID.
In some embodiments, the target module may determine whether the SSID contains only ASCII encoding prior to scanning BSSIDs of a plurality of 2.4GHZ access points in the surrounding environment. If the judgment result is yes, the router is connected based on the SSID and the wireless network password, and if the connection is determined to be failed, the specified condition is determined to be met. If the judgment result is determined to be negative, the specified condition is also determined to be met.
In practical applications, the target module of the home appliance may often parse ASCII codes, but may not be successfully parsed for other codes. The SSID of some routers may not be in a pure ASCII encoded form, and it is easy for home appliances to fail to resolve the SSID and thus cannot connect to the router. Therefore, the target module of the home appliance may first determine whether the SSID contains only the ASCII code, and then determine whether to preferentially connect to the router based on the SSID.
The method for connecting the home appliance to the router may be combined with the method shown in fig. 5. As such, the product application may write the BSSID also in the NFC of the product, and in some embodiments, may write in a custom data area of the NFC of the product.
The specification also provides a user determination method which can be applied to household appliances with the NFC function. The concrete description is as follows:
sometimes, a product server of the home appliance needs to determine the identity of a user currently using the home appliance, so as to perform some business processes for the user currently using the home appliance.
However, in practical applications, the same home appliance may be used by more than one user in turn (e.g., multiple family members of a family share a home appliance). Therefore, the product server is difficult to distinguish the identities of different users using the household appliance product at present.
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 own mobile device. When any user wants to use the household appliance, the user uses the mobile device to trigger the NFC function of the household appliance, a latest accumulated value can be read from the NFC data area of the household appliance, and then a user confirmation notice containing the read accumulated value and the user identification can be sent to the product server side through the mobile device. For the product server, the primary user confirmation notification with the largest accumulated value is the primary user confirmation notification sent by the mobile device of the user who uses the home appliance currently, and the user identifier in the primary user confirmation notification represents the user who uses the home appliance currently.
Therefore, by utilizing the near field property of the NFC connection and the one-way increment property of the accumulated value, the product server can determine the identity of the user using the product at present at any time.
The user determination method is applied to a system comprising a household appliance with an NFC function, a product server and at least two user mobile devices with the NFC function, wherein the different user mobile devices belong to different users.
The NFC data area of the household appliance product stores an accumulated value, and when the household appliance product monitors that NFC connection is established, the accumulated value is added by M, wherein M is a natural number larger than 0. Alternatively, M may be set to 1.
Any user can approach his own mobile device to the household appliance when needing to use the household appliance, and it can be understood that the approach refers to approach the NFC sensing area of the mobile device to the NFC sensing area of the household appliance.
Specifically, the user determination method may include the following steps:
1. and after the mobile equipment of any user establishes NFC connection with the household appliance, reading the accumulated value in the NFC data area of the household appliance through the established NFC connection.
2. And the mobile equipment of any user sends a main user confirmation notice to the product service side.
3. And the product server side determines the master user with the largest accumulated value to confirm, informs the user identification contained in the master user and determines the user identification as the user identification currently using the household appliance.
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 the user mobile device that reads the at least one NFC record to launch an installed product application; the running total is stored in an NFC record.
Before the mobile device of any user sends a primary user confirmation notification to the product service end, the method may further include: the operating system of any user's mobile device launches the installed product application based on the at least one NFC record and provides the read running total to the product application. Therefore, after the product application is started, the accumulated value provided by the operating system is received, the user identification bound to the product application is obtained, and then a master user confirmation notice is constructed and sent to the product server.
In some embodiments, the product service side may count the number of received primary user confirmation notifications containing any user identifier; and the product service side analyzes the product use frequency corresponding to any user identification based on the counted number.
Therefore, the using frequency of each user on the household appliance can be counted, and marketing promotion can be carried out based on the using frequency of each user.
In some embodiments, the household appliance determines a product use record and sends the product use record to the product server side in the use process; and when the product server receives the product use record, establishing the corresponding relation between the product use record and the user identification using the household appliance at present.
Therefore, the product service end can distinguish the product use records of different users on the same household appliance product, so that the product use habits of the users can be accurately analyzed according to the product use records of each user.
In addition, in some embodiments, the product service end 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 identification based on the determined product use record. For example, the household electrical appliance is a cooking appliance, and the product usage record generated by the household electrical appliance is a cooking record. The product server side can analyze the cooking habits corresponding to the user identification based on the determined cooking records, and further can push the menu to the user according to the cooking habits.
Further, the product server can perform message pushing on the product bound with the user identifier or issue service information to the household appliance product according to the product use habit corresponding to the user identifier.
The present specification also provides a message pushing method, which can be implemented by participating in a type a home appliance, and can also be implemented by referring to a type B home appliance. The service information display method is described as follows:
at present, some household electrical appliance products on the market have a message reminding function. For example, when a user cooks with a home appliance (a home appliance), if the cooking is completed, the home appliance can remind the user in a voice broadcast manner.
However, at present, the method of pushing the message to the user is too dependent on the end of the home appliance, which is not convenient for the user.
In order to achieve the purpose, the message pushing method can push the message to the user currently using the household appliance product, not only contacts the dependence of the message pushing on the product and does not need the user to stay beside the product, but also accurately pushes the message to the master user currently using the household appliance product under the condition that a plurality of users in a family are likely to use the household appliance product.
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, the NFC of the home appliance may express the meaning of the NFC module of the home appliance (a-type home appliance), or may express the meaning of the NFC chip in the communication module of the home appliance (B-type home appliance). The Wi-Fi of the household appliance can express a Wi-Fi module (A type household appliance) of the household appliance and can also express a Wi-Fi chip in a communication module of the household appliance.
For convenience of description, the user mobile device in which any of the product applications is installed is referred to as any user mobile device.
After the application of any user mobile equipment 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, the user is usually required to input a user identifier to the product application, the product application interacts with the product server, the user identifier is authenticated, and after the authentication passes, the user identifier is confirmed to log in, so that the product application and the user identifier are bound; the user identity is typically already bound if the product application is not first launched in the operating system of any of the user's mobile devices.
The product application may provide the bound user identification to an operating system of the any of the user mobile devices upon determining that the write condition is satisfied. The writing condition may be that the NFC of the home appliance product does not include the user identifier bound to the product application. Therefore, the operating system of any user mobile equipment writes the user identification provided by the product application into the NFC of the household appliance through the NFC module of any user mobile equipment.
In some embodiments, any of the product applications described above may write the user identification to a standard data area in NFC of the home appliance. In some embodiments, any of the product applications described above may write the user identifier into a custom data area in NFC of the home appliance.
It is understood that the user identifier recently written in the NFC of the home appliance can be regarded as the user identifier 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 identifiers except the user identifier provided by the product application, the operating system of any user mobile device replaces the user identifier provided by the product application with the other user identifiers in the custom data area through the NFC module of any user mobile device. In this way, the custom data area contains only one user identifier, which is always the user identifier of the user currently using the home appliance.
2. And the household electrical appliance control module acquires the latest written user identification from the NFC of the household electrical appliance product.
In the embodiment that the NFC of the home appliance product has the custom data area and the custom data area only contains one user identifier, the home appliance control module directly reads the user identifier from the NFC of the home appliance product, and can naturally obtain the user identifier written at the last time.
In other embodiments, the appliance control module may need to determine which user identifier was most recently written.
3. And the household appliance control module sends a master user confirmation notice containing the acquired user identification to the Wi-Fi of the household appliance.
4. And the Wi-Fi of the household appliance uploads the received master user confirmation notice to the product server.
The user id written recently in NFC of the home appliance represents the user currently using the home appliance. Generally speaking, all users who have transmitted user identifiers to home appliances through their own user mobile devices may all belong to users bound to the home appliances, and a user who uses a home appliance at present is a master user among users bound to the home appliance.
The household appliance side informs the product server side of the user identification of the current master user so that the product server side can determine the user identity of the household appliance currently used.
5. And when determining that the message pushing is required, the household appliance control module sends a pushing request to the Wi-Fi of the household appliance product.
6. And uploading the received push request to the product server by the Wi-Fi of the household appliance.
7. And the product server side executes message pushing aiming at any pushing request sent by the Wi-Fi of the household appliance product when receiving the pushing request.
The product server side specifically executes, at the time point, any push request sent by the Wi-Fi of the household appliance when receiving the push request:
and determining a corresponding message to be pushed, and pushing the determined message to be pushed to a corresponding product application aiming at the user identification in the master user confirmation notice received from the Wi-Fi of the household appliance at the last time.
In some embodiments, the product server may add the user identifier received in each master user confirmation request notification to a user list corresponding to the home appliance; and pushing the determined message to be pushed to the product application bound by at least one other user identification except the user identification received recently in the user list.
Thus, the message can be pushed to each user commonly using the same household appliance. For example, messages are pushed to members of the same family at the same time.
In some embodiments, the product server may receive a list configuration instruction sent by a product application bound with an authorized user identifier, and delete the user identifier from the user list according to the list configuration instruction; the authority user identification is the user identification of the user with the configuration authority.
In this way, the update of the user list by the authorized user can be realized. For example, the authorized user does not allow any user in the user list to reuse the home appliance, and thus the user can be deleted from the user list.
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 product for a certain time.
The authorized user may be a user who purchases the home appliance, or a user who uses the home appliance the most frequently. In practical application, when a user uses a household appliance, the NFC function of the mobile device can be used to trigger the master user bound with the household appliance to be switched into the master user. In this way, the product server counts the times of receiving the primary user confirmation notification containing the user identification for each user identification, and determines the user identification with the largest times as the authority user identification.
In some embodiments, the product server may receive a policy configuration instruction sent by a product application bound to the authorized user identifier, determine a message push policy according to the policy configuration instruction, and push a message based on the determined message push policy; the authority user identification is the user identification of the user with the configuration authority.
Therefore, the configuration of the product server side message pushing strategy by the authorized user can be realized.
One implementation manner is that the product server may determine, according to the message push policy, a user sub-list included in the user list and a push condition corresponding to the user sub-list; and when a pushing request is received, judging whether the pushing condition is met, and if so, pushing the message to the product application bound to each user identifier in the user sub-list. In this way, conditional push of messages to a part of the users in the user list can be achieved.
For example, children in the family in the sub-user list may be set, the corresponding push condition is set to 8-10 am every day, and the cooking appliance determines that cooking is completed. As such, a breakfast completion notification may be pushed to the product application on the user's mobile device of the child in the household at 8-10 am each day, informing the child to eat breakfast.
In some embodiments, the home appliance control module may determine that a message needs to be pushed when it is monitored that the Wi-Fi of the home appliance is connected to the network, so as to remind the user of successful network distribution.
Under the condition that the household appliance product is a cooking appliance, the household appliance control module can determine that message pushing is needed when monitoring that the household appliance product starts cooking so as to remind a user of cooking starting and remind the user of how long the cooking is finished. And when the fact that the household appliance finishes cooking is monitored, the fact that information pushing is needed is determined to remind a user of finishing cooking and what dishes finished by cooking are. It should be noted that, in order to eliminate the false touch of the user, the household appliance control module may determine that the cooking appliance starts to cook after monitoring that the cooking appliance starts to work for a certain period of time (e.g., half the time of the first cooking step in the recipe).
In some embodiments, the home appliance control module may perform message pushing by using a voice broadcasting function of the home appliance when it is determined that the message pushing is required.
The message to be pushed in this context may include: a message in the form of multimedia and/or a message in the form of text.
In some embodiments, any product application may acquire environment information acquired by a corresponding user mobile device, and send the acquired environment information to the product server; the environment information comprises at least one of geographical location information, weather information and time information. And the product server side can determine the menu matched with the environment information according to the received environment information and push the determined menu to the product application.
The menu matched with the environmental information may be a menu of dishes suitable for eating in an environment corresponding to the environmental information from the nutritional perspective.
In addition, the product server side can also analyze the eating habits of each user according to the cooking records of each user uploaded by the cooking electric appliance, and recommend a menu which may be interested by each user.
Additionally, the present specification provides a method of creating an improved recipe. The concrete description is as follows:
at present, a user can often obtain a menu from a network path and cook with a cooking appliance according to the menu. In the cooking process, users often improve the cooking method of dishes based on their preferences.
However, when the user wants to reproduce the last improved dish in the future, the user often forgets the details of the improvement, and thus, the improved dish is difficult to reproduce.
Therefore, the cooking appliance capable of automatically cooking is provided (the cooking appliance can have a structure of an A-type household appliance product or a B-type household appliance product), the cooking appliance can receive a menu issued by a product server and a control parameter set for realizing the menu, and a user can intervene the cooking process to a certain extent 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, record the adjusted control parameters and upload the control parameters to a product server. And the product server side creates an improved menu on the basis of the original menu according to the control parameters adjusted by the user, and establishes a corresponding relation between the improved menu and the user.
So, cooking electrical apparatus can in time catch the culinary art inspiration that the user produced using cooking electrical apparatus to cook the in-process, record this kind of user's follow-up culinary art inspiration that hardly recalls to feed back to product service end formation improvement menu. The user can subsequently directly request the product server to push the improved menu generated historically to the user, and the user can easily reproduce the improved menu.
The method for creating the improved menu comprises the following steps:
1. and the product server issues a menu to the cooking appliance and a control parameter set for controlling the cooking appliance to realize the menu.
The method for improving the menu is applied to a cooking system. The cooking system comprises a cooking appliance and a product service end corresponding to the cooking appliance. The cooking electric appliance can display the menu list to the user through the menu display function, so that the user can browse the menu list. The user can select a menu desired to be implemented from a menu list displayed by the cooking 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 user mobile equipment, and a user can interact with the product server through the product application to select a menu to be realized from menus pushed by the product server.
In practical applications, recipes are usually presented in a sequence of pages, one page for each cooking step. Among the cooking steps of the recipe, some cooking steps may not require the involvement of cooking appliances, such as steps for prompting the user for which food items to prepare, and some cooking steps may require the execution of cooking appliances, such as frying, boiling, frying and the like types of steps.
The set of control parameters for implementing the recipe refers to the control parameters corresponding to each cooking step of the recipe that needs to be performed by the cooking appliance. It is the cooking appliance that performs the cooking step based on the control parameters.
A set of control parameters for controlling the cooking appliance to implement the recipe, including at least one type of parameter of: temperature, power, speed, duration.
For a heating type cooking appliance, temperature is an important control parameter. Generally, 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 influences the taste or mouthfeel of dishes. Some cooking appliances have rotating devices, such as a stirring head for realizing a stirring function, and the rotating speed of the rotating devices can influence the taste or mouthfeel of dishes. The duration of a cooking step performed by the cooking appliance (e.g., the duration of a stew) also affects the taste or mouthfeel of the dish.
In some embodiments, the product server issues the recipe and a set of control parameters for controlling the cooking appliance to implement the recipe to the cooking appliance in advance. That is to say, 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 recipe recommendation list containing the recipe to the user. And when the cooking electric appliance monitors the cooking request which is input by the user and aims at the menu, determining that the cooking electric appliance determines that the user request realizes the menu.
In practical application, the cooking appliance can have a menu display function, the cooking appliance recommends menus to a user, and the user can select the menus from the recommended menus to cook through interaction with the cooking appliance.
In other embodiments, in the case that the cooking system includes a product application, the product application may present a recipe recommendation list including the recipe to the user, and send a cooking request to a product server after monitoring the cooking request for the recipe input by the user. In this way, the product service end may send the cooking request to the cooking appliance. Further, the cooking appliance may determine that the user requests to implement the recipe after 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 appliance sequentially executes the cooking steps corresponding to the menu and needing to be executed by the cooking appliance according to the control parameters for realizing the cooking steps.
3. And in the process of realizing the menu, if the cooking electric appliance monitors that the user adjusts the control parameter for realizing any cooking step, recording the adjusted control parameter corresponding to the cooking step.
For example, the user may turn a knob of the cooking appliance, setting a duration of the cooking step of the cooking appliance performing a simmer.
4. And the cooking electrical appliance uploads the adjusted control parameters recorded in the recipe cooking process to the product server.
5. And the product server side creates an improved menu on the basis of the menu according to the adjusted control parameters recorded by the cooking electric appliance in the menu cooking process, and establishes the corresponding relation between the improved menu and the user.
In some embodiments, the user may sometimes attempt an improvement that may be a failure, in which case the user does not actually wish to keep an improved recipe. Therefore, the product server can obtain the dish evaluation given by the user after the cooking appliance realizes the menu, and the product server creates an improved menu on the basis of the menu under the condition that the dish evaluation is determined to represent a good evaluation.
Specifically, the user can feed back the dish evaluation to the product server through the product application or the cooking appliance.
In some embodiments, the product server sends the improved recipe and the set of control parameters for implementing the improved recipe to the cooking appliance, so that the user calls the improved recipe when using the cooking appliance.
In some embodiments, the product application may obtain the modified recipe from the product service and present the modified recipe to the user in response to a request from the user.
In addition, the user may think some cooking steps in the recipe are unnecessary and/or want to add cooking steps according to his/her preference, in which case the cooking appliance will also record and feed back to the product server for constructing an improved recipe.
Specifically, if it is monitored that the user skips any cooking step and/or adds a cooking step for implementing the recipe during the implementation of the recipe, the skipped and/or added cooking step may be recorded by the cooking appliance. The cooking appliance may feed back skipped and/or added cooking steps recorded during cooking of the recipe to the product server.
The product server side carries out target cooking according to the adjusted control parameters recorded by the cooking appliance in the recipe cooking process; an improved recipe is created on the basis of 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 improperly or change the food materials and/or ingredients according to the preference of the user, and the cooking appliance may record and feed back to the product server for constructing the improved recipe. Herein, the food material and/or ingredients are referred to as a cooking object.
Specifically, in the process of implementing the recipe, if it is monitored that the user modifies the cooking object and/or the amount of the cooking object specified by the recipe, the modified cooking object and/or the amount of the cooking object may be recorded. Then, the cooking appliance may feed back the modified cooking object and/or the cooking object usage amount recorded in the cooking recipe process to the product server.
And the product server side creates an improved recipe on the basis of the recipe according to the adjusted control parameters and the modified cooking object and/or the cooking object usage recorded by the cooking appliance in the cooking process of the recipe.
Fig. 9 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via 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, and is configured to execute 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 a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the functions of a product application or a 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 computer storage media 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 Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented 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., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.

Claims (15)

1. A data writing method is characterized in that an NFC module of a household appliance product 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 product application, and an operating system of a user mobile device can read and write the custom data area; the product application is installed on the user mobile equipment, and the method comprises the following steps:
the product application sends a write-in instruction to the operating system, wherein the write-in instruction comprises data to be written in;
and the operating system calls an 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.
2. The method of claim 1, wherein the data to be written comprises: and (4) distribution network information.
3. The method of claim 2, wherein the home appliance product further has a Wi-Fi module that identifies 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 performs distribution network.
4. The method of claim 3, wherein the step of the Wi-Fi module configuring the network comprises:
executing in the terminal Station keeping mode: reading distribution network information from the NFC chip, passing the default verification under the condition that the usability verification is not executed, and accessing the network through the Wi-Fi antenna according to the read distribution network information;
wherein the availability check comprises: and verifying the availability of the distribution network information according to the hotspot identification list scanned in the AP mode.
5. The method of claim 3, wherein the reading of the distribution network information by the Wi-Fi module from the custom data area of the NFC module of the home appliance comprises:
and 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 equipment, and when the situation that the level changes from low level to high level is monitored, the distribution network information is read from a custom data area of the NFC module of the household appliance.
6. The method of claim 5, wherein the method further comprises:
under the condition that the Wi-Fi module is in a Station mode, when the Wi-Fi module monitors that the Wi-Fi module changes from a high level to a low level for the first time, setting a write-in control mark in the self-defined data area as a first mark, and after a specified time length, setting the write-in control mark in the self-defined data area from the first mark as a second mark;
when the product application meets a writing condition, sending a writing instruction to the operating system; the writing conditions include: and the writing control mark in the custom data area is a second mark.
7. The method of claim 6, wherein reading distribution network information from a custom data area of an NFC module of the household appliance when a change from a low level to a high level is monitored comprises:
after the write-in control mark in the NFC module of the household appliance is set to be the second mark from the first mark, when the change from the low level to the high level is monitored, the distribution network information is read from the custom data area of the NFC module of the household 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 appliance further has a standard data area, wherein the standard data area is configured to use an NFC data exchange format, and wherein the operating system is readable and non-writable to the standard data area.
10. The method of claim 9, wherein the data to be written comprises distribution network information; the product application comprises a product client program or a product light application; the standard data area comprises a first NFC record, and the first NFC record has a URL type NFC data exchange format;
the first NFC record contains a URL to trigger the operating system to perform: 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 following steps:
before the product application writes 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 a URL in the first NFC record.
11. A data writing method is characterized in that an NFC module of an electric appliance product 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 a user mobile device can read and write the custom data area; the product application is installed on the user mobile equipment, and the method comprises the following steps:
and the product application sends a writing instruction to the operating system, wherein the writing instruction contains data to be written, so that 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 product.
12. A data writing method is characterized in that an NFC module of a household appliance product 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 product application, and an operating system of a user mobile device can read and write the custom data area; the product application is installed on the user mobile equipment, and the method comprises the following steps:
the operating system calls an NFC module of the user mobile equipment, 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 write instruction, and the write instruction is sent to the operating system by the product application.
13. A data writing apparatus, wherein an NFC module of an appliance product has a custom data area configured to use a non-NFC data exchange format recognizable by a product application, and wherein 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 equipment, and the device is applied to the product application and comprises:
and the sending module sends a writing instruction to the operating system, wherein the writing instruction contains data to be written, so that the operating system calls the NFC module of the user mobile equipment to write the data to be written into a custom data area in the NFC module of the household appliance.
14. A data writing apparatus, wherein an NFC module of an appliance product has a custom data area configured to use a non-NFC data exchange format recognizable by a product application, and wherein 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 equipment, the device is applied to the operating system, and the device comprises:
calling 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 write instruction, and the write instruction is sent to the operating system by the product application.
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 11 or 12 when executing the computer program.
CN202111350605.XA 2021-03-16 2021-06-17 Data writing method, device and equipment Pending CN114584957A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202110283134 2021-03-16
CN2021102831349 2021-03-16
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 (1)

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

Family

ID=77188490

Family Applications (2)

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

Family Applications Before (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) CN113259921B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115823622A (en) * 2022-08-29 2023-03-21 浙江绍兴苏泊尔生活电器有限公司 Cooking operation data writing and cooking operation executing method and device

Families Citing this family (2)

* 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
CN115242572B (en) * 2022-03-31 2024-02-27 浙江绍兴苏泊尔生活电器有限公司 Household electrical appliance and data interaction method between household electrical appliance and user

Citations (4)

* 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
WO2020007158A1 (en) * 2018-07-03 2020-01-09 阿里巴巴集团控股有限公司 Network access method and apparatus
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance

Family Cites Families (5)

* 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
CN112305924A (en) * 2019-07-31 2021-02-02 广东美的制冷设备有限公司 Control method and device of household appliance, electronic device and storage medium
CN112802518B (en) * 2021-03-25 2021-07-02 深圳市汇顶科技股份有限公司 Data writing method, system-on-chip and computer readable storage medium

Patent Citations (4)

* 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
WO2020007158A1 (en) * 2018-07-03 2020-01-09 阿里巴巴集团控股有限公司 Network access method and apparatus
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115823622A (en) * 2022-08-29 2023-03-21 浙江绍兴苏泊尔生活电器有限公司 Cooking operation data writing and cooking operation executing method and device

Also Published As

Publication number Publication date
CN113259921A (en) 2021-08-13
CN113259921B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN113259920B (en) Household appliance product
CN113259921B (en) Household appliance product
JP6941679B2 (en) Network slice selection method, user equipment, and network equipment
EP3195691B1 (en) Providing network service to an external electronic device
US20220326959A1 (en) Method and device for efficiently providing profile for communication service
CN102612052A (en) Wireless communication device, program, and wireless communication system
US10908889B2 (en) Method, user equipment, and application server for downloading application
CN104917762A (en) Permission assignment method, first electronic equipment and system
CN113923067A (en) Method for connecting household appliance to product server
CN109725543B (en) Equipment control code configuration method and device, cloud server and network system
CN104507141A (en) File receiving method for client side and receiver client side
CN114205796A (en) Method for connecting household electrical appliance to network
KR102214940B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN108476462A (en) The communication means of electronic equipment, the communication means of electronic equipment and mobile terminal
JP2023539038A (en) Method and apparatus for installing and managing multiple eSIM profiles
US20230076852A1 (en) Electronic device supporting plurality of sims and operating method therefor
CN115086926A (en) Household appliance product
CN115086930A (en) Household appliance product
CN115086931A (en) Household appliance product
CN115150793A (en) Household appliance product
CN115150794A (en) Household appliance product
CN115080841A (en) Method for creating improved menu
CN115086927A (en) Message pushing system
CN115086929A (en) User determination method
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system

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