Household appliance and control method thereof

By introducing multiple NFC chips and service modules into home appliances, flexible switching and adaptation of NFC chips are achieved, solving the high cost problem of replacing NFC chips and improving the flexibility and applicability of the equipment.

CN116016006BActive Publication Date: 2025-09-05QINGDAO HISENSE BOSCH AIR CONDITIONING SYSTEM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211621004.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2025-09-05
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

When existing home appliances replace NFC chips, the system software needs to be redeveloped, resulting in high software development and maintenance costs.

Method used

It adopts the design of multiple NFC chips and multiple NFC service startup modules. The controller starts and switches NFC system services according to the identification information of the NFC chip, supporting multiple NFC chips and system services.

Benefits of technology

It reduces the development and maintenance costs when replacing NFC chips in home appliances and improves the flexibility and adaptability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016006B_ABST
    Figure CN116016006B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a home appliance and a control method thereof, which relate to the technical field of home appliance devices and are used to improve the flexibility of configuring NFC chips in home appliance devices. The home appliance device includes: a device body; one or more near-field communication NFC chips located in the device body; a controller in communication with the one or more NFC chips, the controller being configured to: receive a startup instruction from a first NFC chip; obtain configuration information of the first NFC chip in response to the control instruction to start the first NFC chip; control a multi-NFC service startup module to start a first NFC system service from one or more NFC system services based on the configuration information of the first NFC chip; transmit a startup instruction to a first NFC HIDL service module corresponding to the first NFC system service to be started, and load the first NFC HIDL service module corresponding to the first NFC system service to be started based on the first NFC system service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of household appliances, and in particular to a household appliance and a control method thereof. Background Art

[0002] Near field communication (NFC) technology is a short-range, high-frequency wireless communication technology. In the field of home appliances, NFC technology plays an important role. It not only provides simple, low-cost, secure, and low-power short-range wireless connections, but also provides many application functions, thus bringing a new level of convenience to the entire smart home.

[0003] Existing home appliances usually have a built-in NFC chip that can only provide one NFC service. When a new NFC chip needs to be replaced for a smart home appliance, a new version of the system software needs to be redeveloped, which greatly increases the cost of software development and maintenance. Summary of the Invention

[0004] The present application provides a home appliance and a control method thereof, which are used to improve the flexibility of configuring an NFC chip in the home appliance.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions.

[0006] In a first aspect, an embodiment of the present application provides a home appliance device, which includes: a device body; one or more near-field communication NFC chips located in the device body; a controller communicatively connected to the one or more NFC chips, the controller being configured with an operating system, the operating system including multiple NFC service startup modules, one or more NFC system services, one or more NFC HIDL service modules and one or more NFC chip driver modules, each NFC HIDL service module corresponding to an NFC system service, and each NFC chip driver module corresponding to an NFC HIDL service module; the controller being configured to: receive a startup instruction of a first NFC chip; obtain configuration information of the first NFC chip in response to a control instruction to start the first NFC chip; control the multiple NFC service startup modules according to the configuration information of the first NFC chip, and start the first NFC system service from one or more NFC system services; transmit the startup instruction to the first NFC HIDL service module corresponding to the first NFC system service to be started according to the first NFC system service, and load the first NFC HIDL service module corresponding to the first NFC system service to be started.

[0007] The technical solution provided by the embodiments of this application brings at least the following beneficial effects: The home appliance provided by this application includes multiple NFC chips and a multi-NFC service activation module. When the home appliance is used, the multi-NFC service activation module can activate one of the multiple NFC system services based on the pre-configured NFC chip identification information. In this way, the home appliance has added service modules for multiple NFC chips, thereby enabling the home appliance to support multiple NFC chips and multiple NFC system services, greatly reducing development and maintenance costs.

[0008] In some embodiments, the controller is configured to: receive an NFC switching instruction, the NFC switching instruction including identification information of the second NFC chip to be switched; obtain configuration information of the second NFC chip in response to the NFC switching instruction; control the first NFC system service to stop service through a multi-NFC service startup module, and start the second NFC system service from one or more NFC system services; according to the second NFC system service, transmit a startup instruction to a second NFC HIDL service module corresponding to the second NFC system service to be started, and load the second NFC HIDL service module corresponding to the second NFC system service to be started.

[0009] It is understood that based on the multiple NFC chips and multiple NFC service activation modules included in the home appliance provided by this application, in the scenario where the home appliance is configured with multiple NFC chips, the NFC service module currently in operation can be stopped according to the NFC switching instruction, and the NFC chip indicated in the switching instruction among the multiple NFC service modules can be activated. In this way, the home appliance can flexibly switch NFC services according to user needs, greatly increasing the flexibility and adaptability of the home appliance.

[0010] In some embodiments, the controller is further configured to: transmit a stop instruction to the first NFC HIDL service module corresponding to the second NFC system service, and uninstall the first NFC HIDL service module corresponding to the first NFC system service to be started.

[0011] In some embodiments, the controller is further configured to: receive a first NFC reading instruction input by a user; and read the user's NFC device information through a first NFC system service in response to the first NFC reading instruction.

[0012] In second aspect, an embodiment of the present application provides a control method for a household appliance, the method comprising: receiving a startup instruction of a first NFC chip; obtaining configuration information of the first NFC chip in response to the control instruction to start the first NFC chip; controlling a multi-NFC service startup module according to the configuration information of the first NFC chip, and starting a first NFC system service from one or more NFC system services; transmitting a startup instruction to a first NFC HIDL service module corresponding to the first NFC system service to be started according to the first NFC system service, and loading the first NFC HIDL service module corresponding to the first NFC system service to be started.

[0013] In a third aspect, an embodiment of the present application provides a controller comprising: one or more processors; one or more memories; wherein the one or more memories are used to store computer program codes, the computer program codes comprising computer instructions, and when the one or more processors execute the computer instructions, the controller executes any one of the control methods for household appliances provided in the second aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes any one of the control methods for household appliances provided in the second aspect.

[0015] In the fifth aspect, an embodiment of the present invention provides a computer program product, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the control method of any household appliance provided in the second aspect.

[0016] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the controller or separately from the processor of the controller, and this application does not limit this.

[0017] The beneficial effects described in the second to fifth aspects of this application can be analyzed by referring to the beneficial effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0019] Figure 1 A schematic diagram of an application scenario of a method for controlling household appliances provided in an embodiment of the present application;

[0020] Figure 2 An architecture diagram of an operating system for a home appliance provided in an embodiment of the present application;

[0021] Figure 3 A hardware configuration block diagram of a household appliance provided in an embodiment of the present application;

[0022] Figure 4 A flowchart of a method for controlling a household appliance provided in an embodiment of the present application;

[0023] Figure 5 A logic block diagram of a method for controlling a household appliance provided in an embodiment of the present application;

[0024] Figure 6 A flowchart of another method for controlling a household appliance provided in an embodiment of the present application;

[0025] Figure 7 A logic block diagram of another method for controlling a household appliance provided in an embodiment of the present application;

[0026] Figure 8 A schematic diagram of the hardware structure of a controller provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0028] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0029] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. Throughout this application, unless otherwise specified, "plurality" means two or more.

[0030] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "connected" and "connect" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances. Furthermore, when describing pipelines, the terms "connected" and "connected" used in this application have the meaning of conducting electricity. The specific meanings need to be understood in the context.

[0031] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0032] Currently, more and more home appliance manufacturers are applying NFC technology to home appliances. However, home appliances are usually only equipped with one type of NFC chip and can only provide one NFC service. When home appliance manufacturers need to replace the new NFC chip for home appliances, they need to redevelop a new version of the system software, which greatly increases the cost of software development and maintenance.

[0033] Based on this, an embodiment of the present application provides a home appliance device, including multiple NFC chips and a multi-NFC service activation module. When the home appliance device is used, the multi-NFC service activation module can activate one of the multiple NFC system services based on the pre-configured identification information of the NFC chip. In this way, the home appliance device has added service modules for multiple NFC chips, thereby enabling the home appliance device to support multiple NFC chips and multiple NFC system services, greatly reducing development and maintenance costs.

[0034] In the embodiments of the present application, the NFC chip may be any NFC chip model currently available on the market, and is not limited thereto.

[0035] Figure 1 This is a schematic diagram of an application scenario of the control method for household appliances provided in some embodiments of the present application. Figure 1 As shown, the application scenario includes a home appliance 1 and an NFC device 2.

[0036] Home appliances 1 refer to various electrical and electronic appliances used in homes and similar places. For example, Figure 1 The home appliance 1 shown in the figure can be an air conditioner, a television, a washing machine, a stereo, etc., and the home appliance should have at least one NFC chip. This application does not impose any special restrictions on the specific form of the home appliance 1.

[0037] The NFC device 2 can be a remote control, mobile phone, tablet computer, personal computer (PC), personal digital assistant (PDA), smart watch, netbook, wearable electronic device, etc. It can also be other forms of terminal devices with network communication functions, and the NFC device should have NFC reading function. Figure 1 The NFC device 2 shown in FIG. 1 is only an example of the NFC device 2 , and the present application does not impose any special limitation on the specific form of the NFC device 2 .

[0038] In some embodiments, a user can use an NFC device 2 to control a home appliance 1. For example, the home appliance is a refrigerator, and the NFC device is a mobile phone. The user touches the mobile phone to the refrigerator to establish a communication connection. After the mobile phone and the refrigerator are connected, the user can control the refrigerator through the mobile phone.

[0039] Figure 2 This is a diagram of an operating system architecture of a home appliance provided by this application according to an exemplary embodiment. Figure 2 As shown, from top to bottom are NFC API interface, multiple NFC service startup modules, multiple NFC system services, multiple NFC HIDL service modules and multiple NFC chip driver modules.

[0040] It should be noted that the startup process of the operating system of home appliances is a bottom-up process. After the home appliance is turned on, the NFC chip driver module is loaded to control the operation of the NFC chip, and the NFC chip hardware parameters are abstracted to start the NFC HIDL service module. The NFC HIDL service module provides a hardware interface for the NFC system service. After the NFC HIDL service module is started, the NFC system service is started. After the NFC system service is started, multiple NFC service startup modules are loaded to flexibly adapt to multiple NFC HIDL service modules. After all NFC-related modules are started, the application in the NFC device can switch the NFC chip through the NFC API interface.

[0041] Figure 3 This is a hardware configuration diagram of a household appliance provided by this application according to an exemplary embodiment. Figure 3As shown, the home appliance 100 includes: a controller 150, a multi-NFC service startup module 160, multiple NFC chips, such as NFC chip 111, NFC chip 112, etc., multiple NFC system services, such as NFC system service 121, NFC system service 122, etc., multiple NFC driver modules, such as NFC driver module 131, NFC driver module 132, etc., multiple NFC HIDL (hardware interface language, HIDL) service modules, such as NFC HIDL service module 141, NFC HIDL service module 142, etc.

[0042] Among them, multiple NFC chips are respectively connected to the controller 150, and the NFC chip is used to support the communication function of the home appliance. Optionally, some NFC chip products contain encryption logic circuits and encryption / decryption modules, so that the NFC chip can also encrypt / decrypt the communication of the home appliance.

[0043] In some embodiments, multiple NFC chips can be pre-written with identification information, which is used to control home appliances to perform specific functions, including but not limited to power on, power off, mode, wind speed, and other specific functions. Optionally, the identification information stored in the NFC chip is implemented as a Uniform Resource Locator (URL) link information. Optionally, each identification information corresponds to a function, and the NFC chip can store different identification information to control home appliances to perform different functions.

[0044] The multi-NFC service activation module 160 is connected to the controller 150 and is used to control the activation or deactivation of multiple NFC system services.

[0045] The multiple NFC system services are respectively connected to the controller 150 for providing the multiple NFC system services, so as to control the start or stop of the NFC system services through the multiple NFC service start modules.

[0046] Multiple NFC driver modules are respectively connected to the controller 150 , and the NFC driver modules are used to ensure the normal operation of the NFC chip in the home appliance.

[0047] Multiple NFC HIDL service modules are respectively connected to the controller 150 , and the NFC HIDL service modules control the NFC chip through the NFC driver module.

[0048] In the embodiments shown in this application, the controller 150 refers to a device that can generate an operation control signal based on an instruction opcode and a timing signal to instruct the air conditioning system to execute the control instruction. For example, the controller 150 can be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The controller 150 can also be other devices with processing functions, such as circuits, devices, or software modules, and the embodiments of this application do not impose any restrictions on this.

[0049] In addition, the controller 150 can be used to control the operation of various components inside the home appliance so that the various components of the home appliance can operate to achieve various predetermined functions of the home appliance, such as the baking function of the smart oven.

[0050] Optional, such as Figure 3 As shown, the home appliance 100 may further include a communicator 180 and a memory 170 .

[0051] In some embodiments, the communicator 180 is used to establish a communication connection with other network entities, such as establishing a communication connection with a terminal device. The communicator 180 may include a radio frequency (RF) module, a cellular module, a wireless fidelity (WIFI) module, and a GPS module. Taking the RF module as an example, the RF module can be used to receive and send signals. In particular, it can send the received information to the controller 150 for processing; in addition, it can send the signal generated by the controller 150. Typically, the RF circuit may include but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.

[0052] The memory 170 can be used to store software programs and data. The controller 150 executes various functions and data processing of the household appliance by running the software programs or data stored in the memory 170. The memory 170 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The memory stores an operating system that enables the household appliance to run. In the present application, the memory 170 can store the operating system and various application programs, and may also store code for executing the control method of the household appliance provided in the embodiments of the present application.

[0053] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation on the home appliance. The home appliance may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0054] The embodiments provided in this application are described in detail below with reference to the accompanying drawings.

[0055] like Figure 4 As shown, the embodiment of the present application provides a control method for household appliances, which is applied to the above Figure 3 The controller 150 in the household appliance shown in FIG. 1 includes the following steps:

[0056] S101: Receive a start-up instruction from a first NFC chip.

[0057] The first NFC chip is one of the multiple NFC chips of the home appliance. For example, the first NFC chip can be Figure 3 NFC chip 111 or NFC chip 112, etc.

[0058] It should be noted that home appliances equipped with NFC chips are usually configured with one type of NFC chip by default. When the home appliance is activated for the first time, or each time the home appliance is started, the controller of the home appliance can receive an activation instruction for the default NFC chip (i.e., the first NFC chip) to activate the NFC chip to provide communication functions for the home appliance.

[0059] In some embodiments, the home appliance is turned on, and the controller receives an activation instruction of the first NFC chip to provide a communication function for the home appliance by activating the first NFC chip.

[0060] For example, if a refrigerator is pre-configured with an NFC chip, Figure 3 If the NFC chip 111 in the refrigerator is installed, the controller can obtain the start-up instruction of the NFC chip 111 when the refrigerator is turned on. Alternatively, if the NFC chip pre-configured in an air conditioner can be Figure 3 If the NFC chip 112 is installed in the air conditioner, the controller can obtain the startup instruction of the NFC chip 112 when the air conditioner is turned on.

[0061] S102: In response to a control instruction for starting the first NFC chip, obtain configuration information of the first NFC chip.

[0062] The configuration information of the first NFC chip may include the model of the NFC chip, the chip UID code, and other information.

[0063] Optionally, the memory of the home appliance may pre-store configuration information of multiple NFC chips of the home appliance. Thus, the controller may obtain the identification information of the first NFC chip from the configuration information of the multiple NFC chips.

[0064] In some embodiments, the controller obtains configuration information in the first NFC chip according to a received activation instruction of the first NFC chip.

[0065] S103: Control the multi-NFC service startup module according to the configuration information of the first NFC chip to start a first NFC system service from one or more NFC system services.

[0066] The first NFC system service is one of multiple NFC system services of the home appliance.

[0067] Optionally, multiple NFC chips in the home appliance device have a one-to-one correspondence with multiple NFC system services.

[0068] For example, Figure 3 The NFC chip 111 corresponds to the NFC system service 121 , and the NFC chip 112 corresponds to the NFC system service 122 .

[0069] Therefore, if the first NFC chip is Figure 3 If the NFC chip 111 is present, the controller may determine the NFC system service 121 as the first NFC system service based on the configuration information of the NFC chip 111, and thus the controller may start the NFC system service 121 to provide the first NFC system service.

[0070] In some embodiments, the multi-NFC service activation module activates a first NFC system service corresponding to the first NFC chip according to configuration information of the first NFC chip.

[0071] S104: According to the first NFC system service, transmit a startup instruction to a first NFC HIDL service module corresponding to the first NFC system service to be started, and load the first NFC HIDL service module corresponding to the first NFC system service to be started.

[0072] The first NFC HIDL service module is one of multiple NFC HIDL service modules of the home appliance.

[0073] Optionally, multiple NFC system services in the home appliance device have a one-to-one correspondence with multiple NFC HIDL service modules.

[0074] For example, Figure 3The NFC system service 121 corresponds to the NFC HIDL service module 141, and the NFC system service 122 corresponds to the NFC HIDL service module 142.

[0075] Thus, if the first NFC system service is Figure 3 If the NFC system service 121 is present, the controller may determine the NFC HIDL service module 141 as the first NFC HIDL service module based on the NFC system service 121.

[0076] In some embodiments, after the first NFC HIDL service module is started, the controller loads a first NFC driver module corresponding to the plurality of NFC driver modules and sends a start instruction to the first NFC HIDL service module to start the first NFC HIDL service module.

[0077] Among them, multiple NFC HIDL service modules in the home appliance device have a one-to-one correspondence with multiple NFC driver modules.

[0078] For example, Figure 3 The NFC HIDL service module 141 corresponds to the NFC driver module 131 , and the NFC HIDL service module 142 corresponds to the NFC driver module 132 .

[0079] Thus, if the first NFC HIDL service module is Figure 3 If the NFC HIDL service module 141 is present in the NFC driver module 131, the controller may determine the NFC driver module 131 as the first NFC driver module.

[0080] Furthermore, the first NFC HIDL service module controls the first NFC chip through the first NFC driver module.

[0081] In some embodiments, the controller may receive a first NFC reading instruction input by a user, and then, in response to the first NFC reading instruction, read the user's NFC device information through the first NFC system service.

[0082] In some embodiments, when a user places an NFC device within the communication range of an NFC chip in a home appliance, for example, by touching the NFC device to a preset NFC sensing location on the home appliance, the user inputs the first NFC read command to the home appliance. It should be understood that the first NFC type is the NFC type in the user's NFC device.

[0083] In some embodiments, the home appliance may also receive an instruction to connect the user's NFC device to the home appliance.

[0084] Specifically, the user can activate the NFC service function of the NFC device to put the NFC device in a waiting state. In this state, the NFC device can obtain other NFC devices within the NFC communication range. Moreover, during the operation of the home appliance, it remains in the NFC waiting state. Alternatively, the user can also activate the NFC service function of the home appliance to put the home appliance in the NFC waiting state. As a result, when the NFC device and the home appliance are within the NFC communication range, the home appliance can establish a communication connection with the NFC device.

[0085] In some embodiments, after the home appliance device and the NFC device establish a communication connection, the controller provides NFC services to the NFC device through the first NFC system service, and obtains NFC device information including: MAC address (media access control address, MAC), device type, machine code and other information, and then based on the NFC device information, the home appliance device and the NFC device are successfully bound.

[0086] In some embodiments, the home appliance is configured according to Figure 2 The startup process shown provides NFC services in an NFC device.

[0087] It should be noted that after the identification information stored in the NFC chip of the home appliance is transmitted to the NFC device through the near-field communication connection, the application of the NFC device can use the above identification information to serve the user, so that the NFC chip in the home appliance can provide NFC services for the NFC device.

[0088] In this example, the NFC device is a mobile phone, and the home appliance is a refrigerator. A user opens an app on their phone that controls the home appliance, such as a smart home app. The user selects connection mode on the smart home app's interface and places the phone within range of the refrigerator's NFC chip. This establishes an NFC connection between the phone and the refrigerator. Once the NFC connection is established, the refrigerator retrieves the phone's MAC address, phone model, and other information, successfully binding the phone to the air conditioner.

[0089] The home appliance provided in this application includes multiple NFC chips and a multi-NFC service activation module. When the home appliance is used, the multi-NFC service activation module can activate one of the multiple NFC system services based on the pre-configured NFC chip identification information. In this way, the home appliance has added service modules for multiple NFC chips, allowing the home appliance to support multiple NFC chips and multiple NFC system services, greatly reducing development and maintenance costs.

[0090] The following is an example of the complete process of the control method for home appliances, combined with the logic block diagram:

[0091] like Figure 5 As shown, based on Figure 4 In the embodiment shown, when the home appliance has an NFC chip, the control process includes:

[0092] When a home appliance is powered on, the user touches the NFC device to the default NFC chip in the appliance and retrieves the chip's configuration information. The multi-NFC service startup module activates the NFC system service corresponding to the NFC chip based on the chip's configuration information. After the NFC system service is activated, the corresponding NFC HIDL service module is activated and the corresponding NFC chip driver module is loaded. After all NFC-related modules are activated, the default NFC chip in the home appliance provides control services for the NFC device's application.

[0093] In some embodiments, as Figure 6 As shown, the method may further include the following steps:

[0094] S201: Receive an NFC switching instruction, where the NFC switching instruction includes identification information of a second NFC chip to be switched.

[0095] When the home appliance is running the first NFC chip, the second NFC chip is another one of the multiple NFC chips of the home appliance except the first NFC chip.

[0096] It should be understood that Figure 3 As shown, if the first NFC chip is the NFC chip 111, the second NFC chip may be the NFC chip 112. If the first NFC chip is the NFC chip 112, the second NFC chip may be the NFC chip 111.

[0097] In some embodiments, the user can send a switching instruction to the home appliance through an application in the NFC device to switch the NFC chip. The switching instruction includes identification information of the second NFC chip to be switched.

[0098] Therefore, if the second NFC chip is Figure 3 If the NFC chip 112 is in the NFC switching instruction, the controller determines the type of the NFC chip based on the identification information of the second NFC chip in the NFC switching instruction after receiving the NFC switching instruction input by the user.

[0099] S202: In response to the NFC switching instruction, obtain configuration information of the second NFC chip.

[0100] In some embodiments, the controller obtains configuration information of the second NFC chip according to the NFC switching instruction.

[0101] Exemplarily, if the running NFC chip is the NFC chip 111 , the controller obtains the configuration information of the NFC chip 111 after receiving the NFC switching instruction.

[0102] S203: Control the first NFC system service to stop service through the multi-NFC service startup module, and start the second NFC system service from one or more NFC system services.

[0103] In some embodiments, after obtaining the configuration information of the second NFC chip, the controller sends a stop instruction to the multi-NFC service startup module in the home appliance, and the multi-NFC service startup module controls the running first NFC system service to stop running.

[0104] Furthermore, after the running first NFC system service stops running, the first NFC driver module is uninstalled, and the running of the first NFC HIDL service is stopped.

[0105] For example, if the running NFC chip is NFC chip 111, the controller sends a stop command to the multi-NFC service startup module in the home appliance, and the multi-NFC service startup module controls the NFC system service 121 to stop running. After the NFC system service 121 stops running, the NFC driver module 131 is uninstalled and the NFC HIDL service module 141 is stopped.

[0106] In some embodiments, after the running first NFC system service stops running, the controller sends a start instruction to the multi-NFC service start module, and then the multi-NFC service start module starts the second NFC system service according to the configuration information of the second NFC chip.

[0107] It should be understood that Figure 3 As shown, if the first NFC system service is the NFC system service 121, the second NFC system service may be the NFC system service 122. If the first NFC system service is the NFC system service 122, the second NFC system service may be the NFC system service 121.

[0108] Exemplarily, after the NFC system service 121 stops running, the controller sends a start instruction to the multi-NFC service start module in the home appliance, and the multi-NFC service start module starts the NFC system service 122 according to the NFC chip 112 .

[0109] S204: According to the second NFC system service, transmit a startup instruction to a second NFC HIDL service module corresponding to the second NFC system service to be started, and load the second NFC HIDL service module corresponding to the second NFC system service to be started.

[0110] In some embodiments, after the second NFC system service is started, the second NFC driver module is loaded.

[0111] It should be understood that Figure 3 As shown, if the first NFC driver module is the NFC driver module 131, the second NFC system service may be the NFC driver module 132. If the first NFC driver module is the NFC driver module 132, the second NFC driver module may be the NFC driver module 131.

[0112] Illustratively, after the NFC system service 122 is started, the NFC driver module 132 is loaded.

[0113] In some embodiments, after the second NFC driver module is started, the controller sends a start instruction to the second NFC HIDL service module and starts the second NFC HIDL service module.

[0114] It should be understood that Figure 3 As shown, if the first NFC HIDL service module is the NFC HIDL service module 141, the second NFC HIDL service module may be the NFC HIDL service module 142. If the first NFC HIDL service module is the NFC HIDL service module 142, the second NFC HIDL service module may be the NFC HIDL service module 141.

[0115] Illustratively, after the NFC system service 122 is started, the controller sends a start instruction to the NFC HIDL service module 142 and starts the NFC HIDL service module 142 .

[0116] It is understood that based on the multiple NFC chips and multiple NFC service modules included in the home appliance provided in this application, in the scenario where the home appliance is configured with multiple NFC chips, the NFC service module currently in operation can be stopped according to the NFC switching instruction, and the NFC chip indicated in the switching instruction among the multiple NFC service modules can be started. In this way, the home appliance can flexibly switch NFC services according to user needs, greatly increasing the flexibility and adaptability of the home appliance.

[0117] like Figure 7 As shown, based on Figure 4 In the embodiment shown, when the home appliance has multiple NFC chips, for example, two NFC chips, the control process includes:

[0118] When the home appliance is turned on, the user switches the NFC chip in the home appliance through the application in the NFC device. Based on the information of the switched NFC chip, the multi-NFC service startup module controls the running NFC system service to stop running, stops the running NFC HIDL service module, and uninstalls the running NFC chip driver module. After uninstalling the running NFC chip driver module, the multi-NFC service startup module starts the corresponding NFC system service according to the configuration information of the NFC chip that the user needs to switch, starts the corresponding NFC HIDL service module, and loads the corresponding NFC chip driver module. After all NFC-related modules are started, the switched NFC chip in the home appliance provides control services for the application of the NFC device.

[0119] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the embodiment of the present application provides hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0120] In the embodiment of the present application, the controller can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.

[0121] The present application also provides a hardware structure diagram of a controller, such as Figure 8 As shown, the controller 150 includes a processor 3001 and, optionally, a memory 170 and a communication interface 3003 connected to the processor 3001. The processor 3001, the memory 170 and the communication interface 3003 are connected via a bus 3004.

[0122] The processor 3001 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 3001 may also be any other device having a processing function, such as a circuit, a device, or a software module. The processor 3001 may also include multiple CPUs, and the processor 3001 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0123] The memory 170 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, and the present embodiment of the application does not impose any restrictions on this. The memory 170 may exist independently or be integrated with the processor 3001. Among them, the memory 170 may contain computer program code. The processor 3001 is used to execute the computer program code stored in the memory 170, thereby realizing a control method for a household appliance provided in an embodiment of the present application.

[0124] The communication interface 3003 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.) The communication interface 3003 can be a module, circuit, transceiver or any device capable of achieving communication.

[0125] The bus 3004 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus 3004 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0126] An embodiment of the present invention further provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes a method for controlling a household appliance as provided in the above embodiment.

[0127] An embodiment of the present invention further provides a computer program product, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement a control method for a household appliance provided in the above embodiment.

[0128] Those skilled in the art will appreciate that in one or more of the above examples, the functions described herein can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0129] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0130] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0131] In addition, the functional units in the various embodiments of the present invention can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0132] The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A household appliance, characterized in that: The household appliances include: Equipment body; One or more Near Field Communication (NFC) chips located within the device body; A controller communicatively connected to the one or more NFC chips, the controller being configured with an operating system, the operating system including a multi-NFC service startup module, one or more NFC system services, one or more NFC HIDL service modules, and one or more NFC chip driver modules, each NFC HIDL service module corresponding to an NFC system service, and each NFC chip driver module corresponding to an NFC HIDL service module; The controller is configured to: receiving a start instruction from the first NFC chip; In response to a control instruction for starting the first NFC chip, obtaining configuration information of the first NFC chip; controlling the multi-NFC service startup module to start a first NFC system service from the one or more NFC system services according to the configuration information of the first NFC chip; According to the first NFC system service, a startup instruction is transmitted to a first NFC HIDL service module corresponding to the first NFC system service to be started, and the first NFC HIDL service module corresponding to the first NFC system service to be started is loaded.

2. The household appliance according to claim 1, wherein: The controller is configured to: receiving an NFC switching instruction, wherein the NFC switching instruction includes identification information of a second NFC chip to be switched; In response to the NFC switching instruction, acquiring configuration information of the second NFC chip; Controlling, by the multi-NFC service startup module, the first NFC system service to stop service, and starting a second NFC system service from the one or more NFC system services; According to the second NFC system service, a startup instruction is transmitted to a second NFC HIDL service module corresponding to the second NFC system service to be started, and the second NFC HIDL service module corresponding to the second NFC system service to be started is loaded.

3. The household appliance according to claim 2, characterized in that: The controller is further configured to: A stop instruction is transmitted to the first NFC HIDL service module corresponding to the second NFC system service, and the first NFC HIDL service module corresponding to the first NFC system service to be started is uninstalled.

4. The household appliance according to any one of claims 1 to 3, characterized in that: The controller is further configured to: receiving a first NFC reading instruction input by a user; In response to the first NFC reading instruction, the user's NFC device information is read through the first NFC service module.

5. A method for controlling a household appliance, characterized in that: The method comprises: receiving a start instruction from the first NFC chip; In response to a control instruction for starting the first NFC chip, obtaining configuration information of the first NFC chip; Controlling, according to the configuration information of the first NFC chip, a multi-NFC service startup module to start a first NFC system service from the one or more NFC system services; According to the first NFC system service, a startup instruction is transmitted to a first NFC HIDL service module corresponding to the first NFC system service to be started, and the first NFC HIDL service module corresponding to the first NFC system service to be started is loaded.

6. The method according to claim 5, characterized in that The method further comprises: receiving an NFC switching instruction, wherein the NFC switching instruction includes identification information of a second NFC chip to be switched; In response to the NFC switching instruction, acquiring configuration information of the second NFC chip; Controlling, by the multi-NFC service startup module, the first NFC system service to stop service, and starting a second NFC system service from the one or more NFC system services; According to the second NFC system service, a startup instruction is transmitted to a second NFC HIDL service module corresponding to the second NFC system service to be started, and the second NFC HIDL service module corresponding to the second NFC system service to be started is loaded.

7. The method according to claim 5, characterized in that The method further comprises: A stop instruction is transmitted to the first NFC HIDL service module corresponding to the second NFC system service, and the first NFC HIDL service module corresponding to the first NFC system service to be started is uninstalled.

8. The method according to any one of claims 5 to 7, characterized in that The method further comprises: receiving a first NFC reading instruction input by a user; In response to the first NFC reading instruction, the user's NFC device information is read through the first NFC system service.

Citation Information

Patent Citations

  • Systems and methods for NFC access control in a secure element centric NFC architecture

    US20150089586A1