CN116016006B - Household appliance and control method thereof - Google Patents
Household appliance and control method thereofInfo
- Publication number
- CN116016006B CN116016006B CN202211621004.2A CN202211621004A CN116016006B CN 116016006 B CN116016006 B CN 116016006B CN 202211621004 A CN202211621004 A CN 202211621004A CN 116016006 B CN116016006 B CN 116016006B
- Authority
- CN
- China
- Prior art keywords
- nfc
- service
- hidl
- chip
- system service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The embodiment of the application provides a household appliance and a control method thereof, relates to the technical field of household appliances, and is used for improving the flexibility of the household appliance in configuring NFC chips. The household appliance comprises an appliance main body, one or more Near Field Communication (NFC) chips positioned in the appliance main body, a controller in communication connection with the one or more NFC chips, and the controller is configured to receive a starting instruction of the first NFC chip, acquire configuration information of the first NFC chip in response to a control instruction for starting the first NFC chip, control a multi-NFC service starting module to start first NFC system service from one or more NFC system services according to the configuration information of the first NFC chip, transmit the starting 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 load the first NFC HIDL service module corresponding to the first NFC system service to be started.
Description
Technical Field
The application relates to the technical field of household appliances, in particular to a household appliance and a control method thereof.
Background
NFC (NEAR FIELD communication) technology is a short-distance high-frequency wireless communication technology, plays an important role in the field of household appliances, can provide short-distance wireless connection with simplicity, low cost, safety and low power consumption, and can provide various application functions, so that brand-new level of convenience is brought to the whole intelligent home.
The existing household electrical appliance is generally internally provided with an NFC chip, only one NFC service can be provided, and when a new NFC chip needs to be replaced for the intelligent household electrical appliance, a new version of system software needs to be developed again, so that the cost of software development and maintenance is greatly increased.
Disclosure of Invention
The application provides a household appliance and a control method thereof, which are used for improving the flexibility of the household appliance in configuring NFC chips.
In order to achieve the above purpose, the present application adopts the following technical scheme.
In a first aspect, an embodiment of the present application provides a home appliance, including an appliance main body, one or more NFC chips located in the appliance main body, a controller communicatively connected to the one or more NFC chips, the controller configured with an operating system, the operating system including a multi-NFC service start 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 one NFC system service, each NFC chip driver module corresponding to one NFC HIDL service module, the controller configured to receive a start 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 multi-NFC service start 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, transmit a start instruction to a first NFC service module corresponding to the first NFC system service to be started, and load the first NFC service module corresponding to the first NFC system service to be started.
The technical scheme provided by the embodiment of the application has the advantages that the household appliance provided by the application comprises a plurality of NFC chips and the multi-NFC service starting module, and when the household appliance is used, the multi-NFC service starting module can start one NFC system service of a plurality of NFC system services according to the identification information of the pre-configured NFC chips. Therefore, the household electrical appliance is provided with the service modules of the NFC chips, so that the household electrical appliance can support the NFC chips and support the services of the NFC systems, and the development and maintenance cost is greatly reduced.
In some embodiments, the controller is configured to receive an NFC handover instruction, where the NFC handover instruction includes identification information of a second NFC chip to be handed over, obtain configuration information of the second NFC chip in response to the NFC handover instruction, control, by the multi-NFC service activation module, the first NFC system service to stop serving and activate the second NFC system service from one or more NFC system services, transmit, according to the second NFC system service, an activation instruction to a second NFC HIDL service module corresponding to the second NFC system service to be activated, and load a second NFC HIDL service module corresponding to the second NFC system service to be activated.
It can be understood that based on the multiple NFC chips and the multiple NFC service activation module included in the home appliance provided by the present application, in a scenario that the home appliance configures the multiple NFC chips, the running NFC service module may be stopped according to an NFC switching instruction, and the NFC chip indicated in the switching instruction in the multiple NFC service modules may be activated. Therefore, the home appliance can flexibly switch NFC services according to the user demands, and the flexible adaptability of the home appliance is greatly improved.
In some embodiments, the controller is further configured to transmit a stop instruction to a first NFC HIDL service module corresponding to the second NFC system service, and to offload the first NFC HIDL service module corresponding to the first NFC system service to be started.
In some embodiments, the controller is further configured to receive a first NFC read instruction input by the user and read NFC device information of the user through a first NFC system service in response to the first NFC read instruction.
In a second aspect, an embodiment of the present application provides a control method of a home appliance, where the method includes receiving a start instruction of a first NFC chip, responding to a control instruction for starting the first NFC chip, obtaining configuration information of the first NFC chip, controlling a multi-NFC service start module according to the configuration information of the first NFC chip, starting a first NFC system service from one or more NFC system services, transmitting a start 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.
In a third aspect, an embodiment of the present application provides a controller, including one or more processors and one or more memories, where the one or more memories are configured to store computer program code, the computer program code including computer instructions, and when the one or more processors execute the computer instructions, the controller performs any of the methods for controlling home appliances provided in the second aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which when run on a computer, cause the computer to perform the control method of any one of the home appliances provided in the second aspect.
In a fifth aspect, embodiments of the present invention provide a computer program product directly loadable into a memory and including software code, when loaded and executed via a computer, for performing the method of controlling any of the home appliances as provided in the second aspect.
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 may be packaged separately from the processor of the controller, which is not limited in the present application.
The advantageous effects described in the second to fifth aspects of the present application may be referred to for the advantageous effect analysis of the first aspect, and will not be described here again.
Drawings
The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate and do not limit the application.
Fig. 1 is an application scenario schematic diagram of a control method of a home appliance according to an embodiment of the present application;
Fig. 2 is a diagram of an operating system architecture of a home appliance according to an embodiment of the present application;
Fig. 3 is a hardware configuration block diagram of a home appliance according to an embodiment of the present application;
fig. 4 is a flowchart of a control method of a home appliance according to an embodiment of the present application;
fig. 5 is a logic block diagram of a control method of a home appliance according to an embodiment of the present application;
Fig. 6 is a flowchart of another control method of a home appliance according to an embodiment of the present application;
fig. 7 is a logic block diagram of another control method of a home appliance according to an embodiment of the present application;
Fig. 8 is a schematic hardware structure of a controller according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear are used in the embodiments of the present invention) are merely for explaining the relative positional relationship, movement conditions, and the like between the components in a certain specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicators are changed accordingly.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be noted that, unless explicitly stated and limited otherwise, the terms "connected," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art. In addition, when describing a pipeline, the terms "connected" and "connected" as used herein have the meaning of conducting. The specific meaning is to be understood in conjunction with the context.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
At present, more and more home appliance manufacturers apply the NFC technology to the home appliances, but only one NFC chip is usually configured in the home appliances, and only one NFC service can be provided.
Based on this, the embodiment of the application provides a household appliance, which comprises a plurality of NFC chips and a multi-NFC service activation module, wherein the multi-NFC service activation module can activate one of a plurality of NFC system services according to the identification information of the pre-configured NFC chip when the household appliance is used. Therefore, the household electrical appliance is provided with the service modules of the NFC chips, so that the household electrical appliance can support the NFC chips and support the services of the NFC systems, and the development and maintenance cost is greatly reduced.
In the embodiment of the present application, the NFC chip may be all NFC chip types currently available in the market, which is not limited.
Fig. 1 is an application scenario schematic diagram of a control method of a home appliance according to some embodiments of the present application. As shown in fig. 1, the application scenario includes a home appliance 1 and an NFC device 2.
The home appliance 1 refers to various electric and electronic appliances used in households and the like. For example, the home appliance 1 shown in fig. 1 may be an air conditioner, a television, a washing machine, a sound, etc., and the home appliance should have at least one NFC chip. The present application is not particularly limited to the specific form of the home appliance 1.
The NFC device 2 may be a remote controller, a mobile phone, a tablet computer, a personal computer (personal computer, PC), a Personal Digital Assistant (PDA), a smart watch, a netbook, a wearable electronic device, or other terminal devices with network communication function, and the NFC device should have an NFC reading function. The NFC device 2 shown in fig. 1 is only one example of the NFC device 2, and the present application is not particularly limited to the specific form of the NFC device 2.
In some embodiments, the user may control the home device 1 with the NFC device 2. For example, the home appliance is a refrigerator, the NFC device is a mobile phone, and the user performs touch sensing on the mobile phone and the refrigerator to establish communication connection. After the mobile phone establishes communication connection with the refrigerator, a user can control the refrigerator through the mobile phone.
Fig. 2 is an operating system architecture diagram of a home appliance according to an exemplary embodiment of the present application. As shown in fig. 2, from top to bottom, the NFC API interface, the multi-NFC service activation module, the plurality of NFC system services, the plurality of NFC HIDL service modules, and the plurality of NFC chip driving modules are respectively.
The starting process of the operating system of the home appliance is a process from bottom to top. After the home appliance is started, the NFC chip driving module is loaded to control the running of the NFC chip, hardware parameters and the like of the NFC chip are abstracted, and the NFC HIDL service module is started. The NFC HIDL service module provides a hardware interface for NFC system service, and after the NFC HIDL service module is started, the NFC system service is started. After the NFC system service is started, a multi-NFC service starting module is loaded to flexibly adapt to a plurality of NFC HIDL service modules. After all the NFC related modules are started, an application program in the NFC device can switch the NFC chip through the NFC API interface.
Fig. 3 is a hardware configuration diagram of a home appliance according to an exemplary embodiment of the present application. As shown in fig. 3, the home appliance 100 includes a controller 150, a multi-NFC service initiation module 160, a plurality of NFC chips, such as an NFC chip 111, an NFC chip 112, etc., a plurality of NFC system services, such as an NFC system service 121, an NFC system service 122, etc., a plurality of NFC driving modules, such as an NFC driving module 131, an NFC driving module 132, etc., a plurality of NFC HIDL (HARDWARE INTERFACE fefinition language, HIDL) service modules, such as an NFC HIDL service module 141, an NFC HIDL service module 142, etc.
The NFC chips are respectively connected to the controller 150, and are used for supporting the communication function of the home appliance. Optionally, part of the NFC chip product contains an encryption logic circuit and an encryption/decryption module, so that the NFC chip may also encrypt/decrypt communications of the home appliance.
In some embodiments, the plurality of NFC chips may be pre-written with identification information for controlling the home device to perform specific functions, including, but not limited to, power on, power off, mode, wind speed, and the like. Optionally, the implementation form of the identification information stored in the NFC chip includes uniform resource locator (UniformResource Locator, URL) link information. Optionally, each identification information corresponds to a function, and the NFC chip may store different identification information to control the home appliance to perform different functions.
The multi NFC service activation module 160 is connected to the controller 150 and is configured to control activation or deactivation of a plurality of NFC system services.
The plurality of NFC system services are respectively connected to the controller 150 and are used for providing the plurality of NFC system services so as to control the start or stop of the NFC system services through the multi-NFC service starting module.
The plurality of NFC driving modules are respectively connected to the controller 150, and the NFC driving modules are used for ensuring normal operation of the NFC chip in the home appliance.
The plurality of NFC HIDL service modules are respectively connected to the controller 150, and the NFC HIDL service modules control the NFC chip through the NFC driving module.
In the illustrated embodiment of the present application, the controller 150 refers to a device that can generate an operation control signal according to a command operation code and a timing signal, to instruct an air conditioning system to execute a control command. By way of example, the controller 150 may be a central processing unit (central processing unit, CPU), a general purpose processor network processor (network processor, NP), a digital signal processor (DIGITAL SIGNAL processing, DSP), a microprocessor, a microcontroller, a programmable logic device (programmable logic device, PLD), or any combination thereof. The controller 150 may also be other devices with processing functions, such as a circuit, a device, or a software module, which is not limited in any way by the embodiments of the present application.
In addition, the controller 150 may be used to control the operation of various components within the home appliance such that the various components of the home appliance operate to perform various predetermined functions of the home appliance, such as a baking function of a smart oven, etc.
Optionally, as shown in fig. 3, the home device 100 may further include a communicator 180 and a memory 170.
In some embodiments, the communicator 180 is configured to establish a communication connection with other network entities, such as with a terminal device. The communicator 180 may include a Radio Frequency (RF) module, a cellular module, a wireless fidelity (WIRELESS FIDELITY, WIFI) module, a GPS module, and the like. Taking an RF module as an example, the RF module may be used for receiving and transmitting signals, in particular, transmitting received information to the controller 150 for processing, and in addition, transmitting signals generated by the controller 150. Typically, the RF circuitry may include, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (low noise amplifier, LNA), a duplexer, and the like.
Memory 170 may be used to store software programs and data. The controller 150 performs various functions and data processing of the home appliance by running software programs or data stored in the memory 170. Memory 170 may include high-speed random access memory, but may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The memory stores an operating system that enables the home device to operate. The memory 170 may store an operating system and various application programs, and may also store codes for executing the control method of the home appliance provided in the embodiment of the present application.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 3 is not limiting and that an electrical home device may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
The embodiments of the present application will be described in detail below with reference to the drawings attached to the specification.
As shown in fig. 4, an embodiment of the present application provides a control method of a home appliance, which is applied to the controller 150 in the home appliance shown in fig. 3, and the method includes the following steps:
s101, receiving a starting instruction of a first NFC chip.
The first NFC chip is one of a plurality of NFC chips of the household appliance. For example, the first NFC chip may be the NFC chip 111 or the NFC chip 112 in fig. 3, or the like.
It should be noted that, a home appliance having an NFC chip will generally default to one NFC chip. When the home appliance is activated for the first time, or when the home appliance is started each time, the controller of the home appliance may receive a start instruction of the NFC chip (i.e., the first NFC chip) configured by default, so as to provide a communication function for the home appliance by starting the NFC chip.
In some embodiments, the home device is powered on, and the controller receives a start instruction of the first NFC chip to provide a communication function for the home device by starting the first NFC chip.
For example, if a pre-configured NFC chip in the refrigerator may be the NFC chip 111 in fig. 3, the controller may obtain a start instruction of the NFC chip 111 when the refrigerator is started. Or if the pre-configured NFC chip in the air conditioner may be the NFC chip 112 in fig. 3, the controller may obtain the start instruction of the NFC chip 112 when the air conditioner is started.
S102, responding to a control instruction for starting the first NFC chip, and acquiring configuration information of the first NFC chip.
The configuration information of the first NFC chip may be information such as a model number of the NFC chip and a UID internal code of the chip.
Optionally, the memory of the home appliance may store configuration information of a plurality of NFC chips of the home appliance in advance. Thus, the controller may acquire the identification information of the first NFC chip from the configuration information of the plurality of NFC chips.
In some embodiments, the controller obtains the configuration information in the first NFC chip according to the received start instruction of the first NFC chip.
And S103, controlling a multi-NFC service starting module according to the configuration information of the first NFC chip, and starting the first NFC system service from one or more NFC system services.
The first NFC system service is one of a plurality of NFC system services of the household appliance.
Optionally, the plurality of NFC chips in the home device have a one-to-one correspondence with the plurality of NFC system services.
Illustratively, NFC chip 111 in fig. 3 corresponds to NFC system service 121, and NFC chip 112 corresponds to NFC system service 122.
Thus, if the first NFC chip is the NFC chip 111 in fig. 3, based on the configuration information of the NFC chip 111, the controller may determine the NFC system service 121 as the first NFC system service, so that the controller starts the NFC system service 121 to provide the first NFC system service.
In some embodiments, according to the configuration information of the first NFC chip, the multi-NFC service activation module activates a first NFC system service corresponding to the first NFC chip.
S104, transmitting a starting 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.
The first NFC HIDL service module is one of a plurality of NFC HIDL service modules of the home appliance.
Optionally, the plurality of NFC system services in the home device and the plurality of NFC HIDL service modules have a one-to-one correspondence.
Illustratively, NFC system service 121 in fig. 3 corresponds to NFC HIDL service module 141 and NFC system service 122 corresponds to NFC HIDL service module 142.
Thus, if the first NFC system service is the NFC system service 121 in fig. 3, the controller may determine the NFC HIDL service module 141 as the first NFC HIDL service module based on the NFC system service 121.
In some embodiments, after the first NFC HIDL service module is started, the controller loads a first NFC drive module corresponding to the plurality of NFC drive modules, and sends a start instruction to the first NFC HIDL service module to start the first NFC HIDL service module.
The plurality of NFC HIDL service modules in the household appliance have a one-to-one correspondence with the plurality of NFC driving modules.
Exemplary, the NFC HIDL service module 141 in fig. 3 corresponds to the NFC driving module 131, and the NFC HIDL service module 142 corresponds to the NFC driving module 132.
Thus, if the first NFC HIDL service module is the NFC HIDL service module 141 in fig. 3, the controller may determine the NFC driving module 131 as the first NFC driving module.
Further, the first NFC HIDL service module controls the first NFC chip through the first NFC driving module.
In some embodiments, the controller may receive a first NFC read instruction entered by a user. Further, in response to the first NFC reading instruction, NFC device information of the user is read through the first NFC system service.
In some embodiments, when the user places the NFC device within the communication range of the NFC chip in the home device, for example, the user touches the home device with a preset NFC sensing location on the home device, so as to input the first NFC reading instruction to the home device. It should be understood that the first NFC type is the type of NFC in the NFC device of the user.
In some embodiments, the home device may also receive an instruction from the user that the NFC device is connected to the home device.
Specifically, the user may initiate an NFC service function of the NFC device, so that the NFC device is in a to-be-connected state, and in this state, the NFC device may acquire other NFC devices within a nearby NFC communication range. In addition, in the running process of the home appliance, the home appliance is always in an NFC standby connection state, or the user can start an NFC service function of the home appliance, so that the home appliance is also in the NFC standby connection state. Thus, the home device can establish a communication connection with the NFC device when the NFC device and the home device are within NFC communication range.
In some embodiments, after the communication connection is established between the home appliance and the NFC device, the controller provides the NFC device with the NFC service through the first NFC system service, and obtains information of the NFC device, including information of a MAC address (MEDIA ACCESS control address), a device type, an machine code, and the like, so that based on the information of the NFC device, the home appliance and the NFC device are successfully bound.
In some embodiments, the home device provides NFC services in the NFC device according to the start-up procedure shown in fig. 2.
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, an application program of the NFC device may use the identification information to serve a user, so as to implement that the NFC chip in the home appliance provides NFC service for the NFC device.
The NFC device is a mobile phone, and the home appliance is a refrigerator. The user opens an APP, such as a smart home APP, on the handset for operating the home device. The user selects a connection mode at the intelligent home APP operation interface, and places the mobile phone in the communication range of the refrigerator NFC chip, so that NFC communication connection is established between the mobile phone and the refrigerator. After the NFC communication connection of the mobile phone and the refrigerator is completed, the refrigerator acquires information such as the MAC of the mobile phone, the model of the mobile phone and the like, and then the mobile phone and the air conditioner are successfully bound.
The household appliance provided by the application comprises a plurality of NFC chips and the multi-NFC service starting module, and when the household appliance is used, the multi-NFC service starting module can start one NFC system service of a plurality of NFC system services according to the identification information of the pre-configured NFC chips. Therefore, the household electrical appliance is provided with the service modules of the NFC chips, so that the household electrical appliance can support the NFC chips and support the services of the NFC systems, and the development and maintenance cost is greatly reduced.
The following describes the complete flow of the control method of the home appliance by way of example in combination with a logic block diagram:
as shown in fig. 5, when the home appliance has an NFC chip according to the embodiment shown in fig. 4, the control procedure includes:
The home appliance is started, and a user touches the NFC chip with default configuration in the home appliance by the NFC device and acquires configuration information in the NFC chip. And the multi-NFC service starting module starts NFC system services corresponding to the NFC chip according to the configuration information of the NFC chip. After the NFC system service is started, a corresponding NFC HIDL service module is started, and a corresponding NFC chip driving module is loaded. After all NFC-related modules are started, NFC chips configured by default in the household appliances provide control services for application programs of the NFC equipment.
In some embodiments, as shown in fig. 6, the method may further comprise the steps of:
s201, receiving an NFC switching instruction, wherein the NFC switching instruction comprises identification information of a second NFC chip to be switched.
When the home appliance is running the first NFC chip, the second NFC chip is another one of the plurality of NFC chips of the home appliance except the first NFC chip.
It should be understood that, as shown in fig. 3, 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 is the NFC capable chip 111.
In some embodiments, the user may issue a switch instruction to switch the NFC chip to the home device through an application in the NFC device. The switching instruction includes identification information of the second NFC chip to be switched.
Thus, if the second NFC chip is the NFC chip 112 in fig. 3, the controller receives the NFC switching instruction input by the user, and determines the type of the NFC chip based on the identification information of the second NFC chip in the NFC switching instruction.
S202, responding to an NFC switching instruction, and acquiring configuration information of a second NFC chip.
In some embodiments, the controller obtains configuration information of the second NFC chip according to the NFC switching instruction.
For example, 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.
S203, controlling the first NFC system service to stop service and starting the second NFC system service from one or more NFC system services through the multi-NFC service starting module.
In some embodiments, after obtaining the configuration information of the second NFC chip, the controller sends a stop instruction to a multi-NFC service activation module in the home appliance, where the multi-NFC service activation module controls the running first NFC system service to stop running.
Further, after the running first NFC system service stops running, the first NFC driving module is uninstalled, and the running first NFC HIDL service stops running.
For example, if the running NFC chip is the NFC chip 111, the controller sends a stop instruction to the multi-NFC service activation module in the home appliance, and the multi-NFC service activation module controls the NFC system service 121 to stop running. After the NFC system service 121 stops running, the NFC driving module 131 is uninstalled, and the NFC HIDL service module 141 stops running.
In some embodiments, after the running first NFC system service stops running, the controller sends a start instruction to the multi-NFC service activation module, and then the multi-NFC service activation module activates the second NFC system service according to the configuration information of the second NFC chip.
It should be appreciated that if the first NFC system service is NFC system service 121, the second NFC system service may be NFC system service 122, as shown in fig. 3. If the first NFC system service is NFC system service 122, the second NFC system service may be NFC system service 121.
For example, after the NFC system service 121 stops running, the controller sends a start instruction to the multi-NFC service start module in the home device, and the multi-NFC service start module starts the NFC system service 122 according to the NFC chip 112.
S204, transmitting a starting instruction to a second NFC HIDL service module corresponding to the second NFC system service to be started according to the second NFC system service, and loading the second NFC HIDL service module corresponding to the second NFC system service to be started.
In some embodiments, after the second NFC system service is started, the second NFC driver module is loaded.
It should be appreciated that, as shown in fig. 3, if the first NFC driving module is the NFC driving module 131, the second NFC system service may be the NFC driving module 132. If the first NFC driving module is the NFC driving module 132, the second NFC driving module may be the NFC driving module 131.
Illustratively, after the NFC system service 122 is booted, the NFC driver module 132 is loaded.
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.
It should be understood that, as shown in fig. 3, 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.
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.
It can be understood that based on the plurality of NFC chips and the plurality of NFC service modules included in the home appliance provided by the present application, in a scenario that the home appliance configures the plurality of NFC chips, the running NFC service module may be stopped according to an NFC switching instruction, and the NFC chip indicated in the switching instruction in the plurality of NFC service modules may be started. Therefore, the home appliance can flexibly switch NFC services according to the user demands, and the flexible adaptability of the home appliance is greatly improved.
As shown in fig. 7, when the home appliance has a plurality of NFC chips, for example, two NFC chips, based on the embodiment shown in fig. 4, the control procedure includes:
The home appliance is started, a user switches NFC chips in the home appliance through an application program in the NFC equipment, and according to the information of the switched NFC chips, the multi-NFC service starting module controls running NFC system service to stop running, and the running NFC HIDL service module is stopped, and the running NFC chip driving module is unloaded. After the running NFC chip driving module is unloaded, the multi-NFC service starting module starts corresponding NFC system services according to the configuration information of the NFC chip which is required to be switched by a user, starts a corresponding NFC HIDL service module and loads the corresponding NFC chip driving module. After all NFC related modules are started, the NFC chip after being switched in the household electrical appliance provides control service for the application program of the NFC equipment.
It can be seen that the foregoing description of the solution provided by the embodiments of the present application has been presented mainly from a method perspective. To achieve the above-mentioned functions, embodiments of the present application provide corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the controller according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present application is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
The embodiment of the present application further provides a schematic hardware structure of a controller, as shown in fig. 8, where 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 by a bus 3004.
The processor 3001 may be a central processing unit (central processing unit, CPU), a general purpose processor network processor (network processor, NP), a digital signal processor (DIGITAL SIGNAL processing, DSP), a microprocessor, a microcontroller, a programmable logic device (programmable logic device, PLD), or any combination thereof. The processor 3001 may also be any other apparatus having processing functionality, such as a circuit, a device, or a software module. The processor 3001 may also include a plurality of CPUs, and the processor 3001 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores for processing data (e.g., computer program instructions).
Memory 170 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that may store information and instructions, or an electrically erasable programmable read-only memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, as embodiments of the application are not limited in this respect. The memory 170 may be separate or integrated with the processor 3001. Wherein the memory 170 may contain computer program code. The processor 3001 is configured to execute computer program codes stored in the memory 170, thereby implementing a control method for a home appliance according to an embodiment of the present application.
The communication interface 3003 may be used to communicate with other devices or communication networks (e.g., ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), etc.). The communication interface 3003 may be a module, a circuit, a transceiver, or any device capable of enabling communications.
Bus 3004 may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The bus 3004 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
The embodiment of the invention also provides a computer readable storage medium, which comprises computer execution instructions, when the computer execution instructions run on a computer, the computer is caused to execute the control method of the household appliance provided by the embodiment.
The embodiment of the invention also provides a computer program product which can be directly loaded into a memory and contains software codes, and the computer program product can realize the control method of the household appliance provided by the embodiment after being loaded and executed by a computer.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and the division of modules or units, for example, is merely a logical function division, and other manners of division are possible when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present application. The storage medium includes various media capable of storing program codes such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211621004.2A CN116016006B (en) | 2022-12-05 | 2022-12-05 | Household appliance and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211621004.2A CN116016006B (en) | 2022-12-05 | 2022-12-05 | Household appliance and control method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116016006A CN116016006A (en) | 2023-04-25 |
| CN116016006B true CN116016006B (en) | 2025-09-05 |
Family
ID=86025869
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211621004.2A Active CN116016006B (en) | 2022-12-05 | 2022-12-05 | Household appliance and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116016006B (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| BR112016003676B1 (en) * | 2013-09-24 | 2022-10-18 | Intel Corporation | COMPUTER, DEVICE, AND SYSTEM DEPLOYED METHOD FOR NFC ACCESS CONTROL IN A SECURE ELEMENT-CENTERED NFC ARCHITECTURE |
| KR20150089468A (en) * | 2014-01-28 | 2015-08-05 | 허진만 | System and method of portable terminal device recognition and contents transition |
| CN106292565A (en) * | 2015-06-05 | 2017-01-04 | 博西华电器(江苏)有限公司 | The control method of home appliance and control system |
| CN111107525B (en) * | 2019-04-26 | 2022-01-14 | 华为技术有限公司 | Automatic routing method of SE (secure element) and electronic equipment |
| CN115086928A (en) * | 2021-03-16 | 2022-09-20 | 浙江绍兴苏泊尔生活电器有限公司 | Household appliance product |
-
2022
- 2022-12-05 CN CN202211621004.2A patent/CN116016006B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN116016006A (en) | 2023-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10278128B2 (en) | Communication apparatus, method of controlling a communication apparatus, and storage medium | |
| JP5726240B2 (en) | Wireless internet access device, SD control chip, and data communication method | |
| CN103281689B (en) | Method for network switching and version upgrading and terminal equipment | |
| US11252724B2 (en) | Electronic device for transmitting or receiving data in wireless communication system and method therefor | |
| CN104581872B (en) | Subscriber Identity Module Data Routing Apparatus and Method, Control Circuit and Method for Controlling Routing Change | |
| CN114205796B (en) | Method for connecting household electrical appliance to network | |
| EP1692622A1 (en) | Inter-processor parameter management in a multiple-processor wireless mobile communication device operating on a processor specific communication network | |
| CN116016006B (en) | Household appliance and control method thereof | |
| KR20090083103A (en) | Dual mode terminal and its data service processing method | |
| JP5392511B2 (en) | Data card, method for data card reporting port, and method for booting data card | |
| US11570702B2 (en) | Home appliance connection method and home appliance connection device | |
| KR101631875B1 (en) | Communications terminal and control method thereof | |
| EP3048858B1 (en) | Wireless customer premise equipment and accessing method therefor | |
| CN114124595B (en) | Method for connecting household electrical appliance to network | |
| KR101111753B1 (en) | Wireless access point device connected to portable terminal and control method thereof | |
| CN112055400B (en) | Electronic device and system for electronic device | |
| CN108696367A (en) | Things-internet gateway device and its reset method for restarting | |
| JP2003044182A (en) | Information processing equipment | |
| CN104252318A (en) | Data storing and processing method, device and terminal | |
| CN120631818A (en) | Method, device, communication module and electronic device for sharing USB channel | |
| US20250138807A1 (en) | Method for readily setting function of software of home appliance after completion of upgrade and device embodying the same | |
| KR100706409B1 (en) | Booting method of wide area CDM and CDM mobile terminal | |
| JP6888830B2 (en) | Network system | |
| CN108064035B (en) | Communication control method and device of electronic equipment and electronic equipment | |
| CN118590114A (en) | Modem control method, system and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |