CN112306009B - Control method and device of household appliance, electronic device and storage medium - Google Patents
Control method and device of household appliance, electronic device and storage medium Download PDFInfo
- Publication number
- CN112306009B CN112306009B CN201910703254.2A CN201910703254A CN112306009B CN 112306009 B CN112306009 B CN 112306009B CN 201910703254 A CN201910703254 A CN 201910703254A CN 112306009 B CN112306009 B CN 112306009B
- Authority
- CN
- China
- Prior art keywords
- near field
- field communication
- household appliance
- communication card
- serial number
- 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
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000004891 communication Methods 0.000 claims abstract description 149
- 238000009826 distribution Methods 0.000 claims description 38
- 238000012545 processing Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 14
- 238000009434 installation Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000007791 dehumidification Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/0723—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Selective Calling Equipment (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a control method and device of household electrical appliance, electronic equipment and a storage medium, wherein the method comprises the following steps: if the identifier read from the near field communication card is a preset blank card identifier, writing the household appliance type identifier into the near field communication card; writing the product serial number into the near field communication card; and writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. Therefore, the technical problems that the near field communication card can only control corresponding household appliances and cannot be changed, the selection of a user is not facilitated, and the use requirement of the user for convenience cannot be met are solved, and the household appliance type identifier, the product serial number and the contextual model information are written into the near field communication card when the preset blank identifier is identified when the near field communication card is read, so that the household appliances can be controlled according to the user requirement, and the requirement of the user on the convenience of control of the household appliances is improved.
Description
Technical Field
The present application relates to the field of household appliance technologies, and in particular, to a method and an apparatus for controlling a household appliance, an electronic device, and a storage medium.
Background
At present, along with the continuous development of communication technology, can improve the convenience of tame electric installation control through near field communication technique, however, among the correlation technique, the tame electric installation type and the tame electric installation product serial number of near field communication card control are directly set up when dispatching from the factory to this near field communication card can only control corresponding tame electric installation and can not change, has certain limitation, is unfavorable for user's selection, can't satisfy user's convenience user demand.
Disclosure of Invention
The embodiment of the application provides a control method and device for household appliances, an electronic device and a storage medium, and solves the technical problems that in the prior art, a Near Field Communication (NFC) card can only control corresponding household appliances and cannot be changed, has certain limitation, is not beneficial to selection of a user and cannot meet the user convenience requirement, and the preset blank identifier is written in the Near Field Communication card, and when the preset blank identifier is identified when the Near Field Communication card is read, the Near Field Communication card is written in according to a household appliance type identifier, a product serial number and contextual model information input by the user, so that the household appliances can be controlled according to the user requirement, the user requirement on the convenience of control of the household appliances is improved, and the user experience is improved.
An embodiment of a first aspect of the present application provides a method for controlling a home appliance, where the method includes:
reading an identifier in a near field communication card;
if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card;
receiving a product serial number input by the user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed;
and receiving the contextual model information input by the user, writing the contextual model information into the near field communication card, and controlling corresponding household electrical appliances to work according to the household electrical appliance type identifier, the product serial number and the contextual model information when reading the near field communication card.
An embodiment of a second aspect of the present application provides a control apparatus for a home appliance, where the apparatus includes:
the reading module is used for reading the identifier in the near field communication card;
the first receiving and writing module is used for receiving a household appliance type identifier input by a user and writing the household appliance type identifier into the near field communication card if the identifier is a preset blank card identifier;
the second receiving and writing module is used for receiving the product serial number input by the user, and writing the product serial number into the near field communication card if the household appliance equipment corresponding to the product serial number is provided with a network;
the third receiving and writing module is used for receiving the contextual model information input by the user and writing the contextual model information into the near field communication card;
and the processing module is used for controlling corresponding household appliance equipment to work according to the household appliance type identifier, the product serial number and the contextual model information when the near field communication card is read.
An embodiment of a third aspect of the present application provides an electronic device, including: the present invention relates to a home appliance control method, and more particularly, to a home appliance control method, and a computer program stored in a memory and executable on a processor.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for controlling an electric home appliance according to the first aspect of the present application.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: in one aspect, by reading an identifier in a near field communication card; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. From this, can effectively solve among the prior art near field communication card can only control the tame electric installation that corresponds and can not change, certain limitation has, be unfavorable for user's selection, can't satisfy the technical problem of user's convenience user demand, preset blank identifier has been realized through writing in at near field communication card, according to the tame electric type identifier of user input when discerning preset blank identifier when reading near field communication card, product serial number and profile information write in near field communication card, thereby can carry out the control to tame electric installation according to user's demand, promote the user to the demand of tame electric installation control convenience, promote user experience.
On the other hand, the household electrical appliance corresponding to the product serial number is controlled to distribute the network, and the network distribution information of the household electrical appliance is written into the near field communication card, so that the convenience of the control of the household electrical appliance is further improved.
In another aspect, information in the near field communication card can be switched according to user requirements, so that other household appliances can be controlled, and the flexibility and convenience of household appliance control are further improved.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for controlling a home appliance according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for controlling a home appliance according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a control device of a home appliance according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a control apparatus of a home appliance according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a control device of a home appliance according to a fifth embodiment of the present application.
Detailed Description
The application mainly aims at the technical problems that the cost of a control mode of household appliances is high and the accuracy is low in the prior art, and provides a control method of the household appliances. According to the control method of the household appliance, the identifier in the near field communication card is read; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. The near field communication card is written with the preset blank identifier, and the near field communication card is written with the preset blank identifier according to the household appliance type identifier, the product serial number and the contextual model information input by the user when the preset blank identifier is identified when the near field communication card is read, so that the household appliance can be controlled according to the user requirements, the requirement of the user on the convenience of control of the household appliance is improved, and the user experience is improved.
In order to better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Example one
Fig. 1 is a flowchart illustrating a method for controlling a home appliance according to an embodiment of the present application.
As shown in fig. 1, the method for controlling a home device may include the steps of:
And 102, if the identifier is a preset blank card identifier, receiving the household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card.
Specifically, the near field communication card is not written with the household appliance type identifier when leaving the factory, and may be replaced with a specific blank identifier, which may be in the form of a byte or a character string, so that when the NFC card is read, the identifier in the NFC card is determined, if the identifier is identified as the preset blank card identifier, the terminal device application program automatically jumps into the page for selecting the household appliance type, and the user performs selection input as needed, such as an air conditioner, a television, and the like, so as to write the household appliance type identifier input by the user into the near field communication card.
And 103, receiving the product serial number input by the user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed.
Specifically, jumping to a distribution network page corresponding to the type of the household appliance, selecting the corresponding household appliance, judging whether the household appliance is provided with a distribution network or not, writing the product serial number into the NFC card if the distribution network is provided, performing corresponding operation of the distribution network if the distribution network is not provided, and writing the product serial number of the corresponding appliance into the NFC card after the distribution network is successful.
And 104, receiving contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling corresponding household appliances to work according to the household appliance type identifier, the product serial number and the contextual model information when the near field communication card is read.
Specifically, after the distribution network is completed, the contextual model of the corresponding household appliance is jumped into the adding page, after a user clicks and selects, corresponding contextual model information is written into the NFC card, when the NFC card is touched again, the application program of the terminal device can automatically identify the household appliance type identifier, the server is informed through the application program of the terminal device through the product serial number and the contextual model information, and the WIFI module of the household appliance is issued with an instruction by the server to perform corresponding operation.
As a possible implementation manner, the near field communication card is read, the contextual model information of the home appliance is obtained, the target contextual model is determined according to the contextual model information, and the home appliance corresponding to the product serial number in the home appliance list corresponding to the home appliance type identifier is controlled to work in the target contextual model. Such as a dehumidification mode in which the household appliance is an air conditioner.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
by reading an identifier in a near field communication card; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. From this, can effectively solve among the prior art near field communication card can only control the tame electric installation that corresponds and can not change, certain limitation has, be unfavorable for user's selection, can't satisfy the technical problem of user's convenience user demand, preset blank identifier has been realized through writing in at near field communication card, according to the tame electric type identifier of user input when discerning preset blank identifier when reading near field communication card, product serial number and profile information write in near field communication card, thereby can carry out the control to tame electric installation according to user's demand, promote the user to the demand of tame electric installation control convenience, promote user experience.
Example two
Fig. 2 is a flowchart illustrating a method for controlling a home appliance according to a second embodiment of the present application.
As shown in fig. 2, the method for controlling a home device may include the steps of:
Specifically, the near field communication card is not written with the household appliance type identifier when leaving the factory, and may be replaced with a specific blank identifier, which may be in the form of a byte or a character string, so that when the NFC card is read, the identifier in the NFC card is determined, if the identifier is identified as the preset blank card identifier, the terminal device application program automatically jumps into the page for selecting the household appliance type, and the user performs selection input as needed, such as an air conditioner, a television, and the like, so as to write the household appliance type identifier input by the user into the near field communication card.
And 203, if the household appliance corresponding to the product serial number does not have a distribution network, controlling the household appliance corresponding to the product serial number to carry out distribution network, and writing the distribution network information of the household appliance into the near field communication card.
Specifically, jumping to a distribution network page corresponding to the type of the household appliance, selecting the corresponding household appliance, judging whether the household appliance is provided with a distribution network or not, writing the product serial number into the NFC card if the distribution network is provided, performing corresponding operation of the distribution network if the distribution network is not provided, and writing the product serial number of the corresponding appliance into the NFC card after the distribution network is successful.
And 204, receiving contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling corresponding household appliances to work according to the household appliance type identifier, the product serial number and the contextual model information when the near field communication card is read.
Specifically, after the distribution network is completed, the contextual model of the corresponding household appliance is jumped into the adding page, after a user clicks and selects, corresponding contextual model information is written into the NFC card, when the NFC card is touched again, the application program of the terminal device can automatically identify the household appliance type identifier, the server is informed through the application program of the terminal device through the product serial number and the contextual model information, and the WIFI module of the household appliance is issued with an instruction by the server to perform corresponding operation.
As a possible implementation manner, the near field communication card is read, the contextual model information of the home appliance is obtained, the target contextual model is determined according to the contextual model information, and the home appliance corresponding to the product serial number in the home appliance list corresponding to the home appliance type identifier is controlled to work in the target contextual model. Such as a dehumidification mode in which the household appliance is an air conditioner.
And step 205, acquiring a household appliance switching request, analyzing the household appliance switching request, and acquiring target household appliance information.
And step 206, processing the stored information in the near field communication card according to the target household appliance information.
Specifically, if the type of the household electrical appliance needs to be switched, a blank card switching page needs to be entered, a household electrical appliance switching request is clicked and sent, information written in the near field communication card is cleared, the type of the household electrical appliance is rewritten, and the previous operation is repeated.
More specifically, if the type of the target household appliance is determined to be different from the household appliance type identifier according to the information of the target household appliance, the household appliance type identifier, the product serial number, the contextual model information and the distribution network information of the household appliance in the near field communication card are deleted, and the preset blank identifier is written into the near field communication card. The user can freely select the controlled household appliance through the universal card, thereby being more beneficial to the multi-selectivity and convenience of the user
It should be noted that, if it is determined that the type of the target household appliance is the same as the household appliance type identifier according to the information of the target household appliance, the product serial number, the contextual model information, and the distribution network information of the household appliance are only required to be deleted, and the preset blank identifier is written into the near field communication card, so that the processing efficiency is further improved.
In one aspect, by reading an identifier in a near field communication card; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. From this, can effectively solve among the prior art near field communication card can only control the tame electric installation that corresponds and can not change, certain limitation has, be unfavorable for user's selection, can't satisfy the technical problem of user's convenience user demand, preset blank identifier has been realized through writing in at near field communication card, according to the tame electric type identifier of user input when discerning preset blank identifier when reading near field communication card, product serial number and profile information write in near field communication card, thereby can carry out the control to tame electric installation according to user's demand, promote the user to the demand of tame electric installation control convenience, promote user experience.
On the other hand, the household electrical appliance corresponding to the product serial number is controlled to distribute the network, and the network distribution information of the household electrical appliance is written into the near field communication card, so that the convenience of the control of the household electrical appliance is further improved.
In another aspect, information in the near field communication card can be switched according to user requirements, so that other household appliances can be controlled, and the flexibility and convenience of household appliance control are further improved.
Based on the same inventive concept, the embodiment of the present application further provides apparatuses corresponding to the methods in the first to second embodiments, see the third embodiment.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a control device of a home appliance according to a third embodiment of the present application.
As shown in fig. 3, the control device of the home appliance includes: a read module 301, a first receive write module 302, a second receive write module 303, a third receive write module 304, and a processing module 305.
The reading module 301 is configured to read an identifier in a near field communication card.
A first receiving and writing module 302, configured to receive a home appliance type identifier input by a user if the identifier is a preset blank card identifier, and write the home appliance type identifier into the near field communication card.
A second receiving and writing module 303, configured to receive the product serial number input by the user, and write the product serial number into the near field communication card if the household electrical appliance device corresponding to the product serial number has a distribution network.
A third receiving and writing module 304, configured to receive the contextual model information input by the user, and write the contextual model information into the near field communication card.
And a processing module 305, configured to control, when the near field communication card is read, a corresponding home appliance device to operate according to the home appliance type identifier, the product serial number, and the contextual model information.
In an embodiment of the present application, as shown in fig. 4, on the basis of fig. 3, the method further includes: a distribution network module 306 and a write-in module 307.
And the distribution network module 306 is configured to control the household electrical appliances corresponding to the product serial number to distribute a network if the household electrical appliances corresponding to the product serial number do not have a distribution network.
A writing module 307, configured to write the distribution network information of the household appliance into the near field communication card. In an embodiment of the present application, the processing module 305 is specifically configured to: reading the near field communication card, and acquiring the contextual model information of the household appliance; determining a target contextual model according to the contextual model information; and controlling the household appliances corresponding to the product serial numbers in the household appliance list corresponding to the household appliance type identifiers to work in the target contextual model.
In an embodiment of the present application, as shown in fig. 5, on the basis of fig. 3, the method further includes: an acquisition module 308, a parsing module 309 and a first processing module 310.
An obtaining module 308, configured to obtain a request for switching the home appliance device.
And an analyzing module 309, configured to analyze the request for switching the home appliance device, and obtain information of the target home appliance device.
The first processing module 310 is configured to process the storage information in the near field communication card according to the target household appliance information.
In an embodiment of the application, the first processing module 310 is specifically configured to, if it is determined that a target household appliance type is different from the household appliance type identifier according to the target household appliance information, delete the household appliance type identifier, the product serial number, the contextual model information, and the distribution network information of the household appliance in the near field communication card; and writing the preset blank identifier into the near field communication card.
It should be noted that the explanations of the embodiments of the control method for two pairs of home appliances in the first to third embodiments are also applicable to the control device for a home appliance in the third embodiment, and are not repeated herein.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
in one aspect, by reading an identifier in a near field communication card; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. From this, can effectively solve among the prior art near field communication card can only control the tame electric installation that corresponds and can not change, certain limitation has, be unfavorable for user's selection, can't satisfy the technical problem of user's convenience user demand, preset blank identifier has been realized through writing in at near field communication card, according to the tame electric type identifier of user input when discerning preset blank identifier when reading near field communication card, product serial number and profile information write in near field communication card, thereby can carry out the control to tame electric installation according to user's demand, promote the user to the demand of tame electric installation control convenience, promote user experience.
On the other hand, the household electrical appliance corresponding to the product serial number is controlled to distribute the network, and the network distribution information of the household electrical appliance is written into the near field communication card, so that the convenience of the control of the household electrical appliance is further improved.
In another aspect, information in the near field communication card can be switched according to user requirements, so that other household appliances can be controlled, and the flexibility and convenience of household appliance control are further improved.
Based on the same inventive concept, the embodiment of the present application further provides electronic devices corresponding to the methods of embodiments one to two, see embodiment six.
EXAMPLE six
The electronic equipment of the embodiment of the application comprises: the present invention relates to a home appliance, and more particularly, to a method for controlling a home appliance, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
in one aspect, by reading an identifier in a near field communication card; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. From this, can effectively solve among the prior art near field communication card can only control the tame electric installation that corresponds and can not change, certain limitation has, be unfavorable for user's selection, can't satisfy the technical problem of user's convenience user demand, preset blank identifier has been realized through writing in at near field communication card, according to the tame electric type identifier of user input when discerning preset blank identifier when reading near field communication card, product serial number and profile information write in near field communication card, thereby can carry out the control to tame electric installation according to user's demand, promote the user to the demand of tame electric installation control convenience, promote user experience.
On the other hand, the household electrical appliance corresponding to the product serial number is controlled to distribute the network, and the network distribution information of the household electrical appliance is written into the near field communication card, so that the convenience of the control of the household electrical appliance is further improved.
In another aspect, information in the near field communication card can be switched according to user requirements, so that other household appliances can be controlled, and the flexibility and convenience of household appliance control are further improved.
Since the electronic device described in the sixth embodiment of the present application is an electronic device used for implementing the methods of the first to second embodiments of the present application, a person skilled in the art can understand the specific structure and the modifications of the electronic device based on the methods described in the first to second embodiments of the present application, and thus the details are not described herein. All the electronic devices adopted in the methods of the first to second embodiments of the present application belong to the scope of protection of the present application.
Based on the same inventive concept, the embodiment of the present application further provides a computer-readable storage medium corresponding to the method in the first embodiment to the second embodiment, which is shown in the seventh embodiment.
Example (A) it
The computer-readable storage medium of the embodiment of the present application stores thereon a computer program, and is characterized in that the program, when executed by a processor, implements the method for controlling a home appliance as set forth in the foregoing embodiments one to two of the present application.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
in one aspect, by reading an identifier in a near field communication card; if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card; receiving a product serial number input by a user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; and receiving the contextual model information input by a user, writing the contextual model information into the near field communication card, and controlling the corresponding household appliance to work according to the household appliance type identifier, the product serial number and the contextual model information when reading the near field communication card. From this, can effectively solve among the prior art near field communication card can only control the tame electric installation that corresponds and can not change, certain limitation has, be unfavorable for user's selection, can't satisfy the technical problem of user's convenience user demand, preset blank identifier has been realized through writing in at near field communication card, according to the tame electric type identifier of user input when discerning preset blank identifier when reading near field communication card, product serial number and profile information write in near field communication card, thereby can carry out the control to tame electric installation according to user's demand, promote the user to the demand of tame electric installation control convenience, promote user experience.
On the other hand, the household electrical appliance corresponding to the product serial number is controlled to distribute the network, and the network distribution information of the household electrical appliance is written into the near field communication card, so that the convenience of the control of the household electrical appliance is further improved.
In another aspect, information in the near field communication card can be switched according to user requirements, so that other household appliances can be controlled, and the flexibility and convenience of household appliance control are further improved.
Since the computer-readable storage medium introduced in the embodiment of the present application is a computer-readable storage medium used for implementing the method in the first embodiment to the second embodiment of the present application, based on the method introduced in the first embodiment to the second embodiment of the present application, a person skilled in the art can understand the specific structure and the variation of the computer-readable storage medium, and thus details are not described here. Any computer readable storage medium used in the methods of the first embodiment to the second embodiment of the present application is within the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, device, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (8)
1. A control method of household electrical appliance is characterized by comprising the following steps:
reading an identifier in a near field communication card;
if the identifier is a preset blank card identifier, receiving a household appliance type identifier input by a user, and writing the household appliance type identifier into the near field communication card;
receiving a product serial number input by the user, and writing the product serial number into the near field communication card if the household appliance corresponding to the product serial number is distributed; if the household appliance equipment corresponding to the product serial number does not have a distribution network, controlling the household appliance equipment corresponding to the product serial number to carry out distribution network, and writing the distribution network information of the household appliance equipment into the near field communication card;
and receiving the contextual model information input by the user, writing the contextual model information into the near field communication card, and controlling corresponding household electrical appliances to work according to the household electrical appliance type identifier, the product serial number and the contextual model information when reading the near field communication card.
2. The method of claim 1, wherein the controlling the corresponding home appliance device to operate according to the home appliance type identifier, the product serial number, and the contextual model information when reading the near field communication card comprises:
reading the near field communication card, and acquiring the contextual model information of the household appliance;
determining a target contextual model according to the contextual model information;
and controlling the household appliances corresponding to the product serial numbers in the household appliance list corresponding to the household appliance type identifiers to work in the target contextual model.
3. The method of claim 1, further comprising:
acquiring a request for switching household electrical appliance equipment;
analyzing the household appliance switching request to acquire target household appliance information;
and processing the stored information in the near field communication card according to the target household appliance information.
4. The method of claim 3, wherein the processing the stored information in the near field communication card according to the target home device information comprises:
determining that the type of the target household appliance is different from the household appliance type identifier according to the target household appliance information, and deleting the household appliance type identifier, the product serial number, the contextual model information and the distribution network information of the household appliance in the near field communication card;
and writing the preset blank card identifier into the near field communication card.
5. A control device for a home appliance, comprising:
the reading module is used for reading the identifier in the near field communication card;
the first receiving and writing module is used for receiving a household appliance type identifier input by a user and writing the household appliance type identifier into the near field communication card if the identifier is a preset blank card identifier;
the second receiving and writing module is used for receiving the product serial number input by the user, and writing the product serial number into the near field communication card if the household appliance equipment corresponding to the product serial number is provided with a network;
the distribution network module is used for controlling the household appliances corresponding to the product serial number to distribute the network if the household appliances corresponding to the product serial number do not have the distribution network;
the writing module is used for writing the distribution network information of the household appliance into the near field communication card;
the third receiving and writing module is used for receiving the contextual model information input by the user and writing the contextual model information into the near field communication card;
and the processing module is used for controlling corresponding household appliance equipment to work according to the household appliance type identifier, the product serial number and the contextual model information when the near field communication card is read.
6. The apparatus of claim 5, wherein the processing module is specifically configured to:
reading the near field communication card, and acquiring the contextual model information of the household appliance;
determining a target contextual model according to the contextual model information;
and controlling the household appliances corresponding to the product serial numbers in the household appliance list corresponding to the household appliance type identifiers to work in the target contextual model.
7. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements a method of controlling a home appliance as claimed in any one of claims 1 to 4.
8. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements a method of controlling an electric home appliance according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703254.2A CN112306009B (en) | 2019-07-31 | 2019-07-31 | Control method and device of household appliance, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703254.2A CN112306009B (en) | 2019-07-31 | 2019-07-31 | Control method and device of household appliance, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112306009A CN112306009A (en) | 2021-02-02 |
CN112306009B true CN112306009B (en) | 2022-01-28 |
Family
ID=74486298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910703254.2A Active CN112306009B (en) | 2019-07-31 | 2019-07-31 | Control method and device of household appliance, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112306009B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115373281A (en) * | 2021-05-19 | 2022-11-22 | 青岛海尔洗衣机有限公司 | Control method and device for household electrical appliance |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260026A (en) * | 2015-10-16 | 2016-01-20 | 北京数码视讯科技股份有限公司 | Terminal device control method, apparatus and system |
CN105577486A (en) * | 2014-10-15 | 2016-05-11 | 珠海格力电器股份有限公司 | Control method of intelligent household appliance and household control center |
CN106155702A (en) * | 2016-08-01 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and apparatus controlling application state by NFC label |
CN106292565A (en) * | 2015-06-05 | 2017-01-04 | 博西华电器(江苏)有限公司 | The control method of home appliance and control system |
CN106375167A (en) * | 2016-10-13 | 2017-02-01 | 杭州鸿雁智能科技有限公司 | NFC-based intelligent home network distribution device and network distribution method |
CN106533850A (en) * | 2016-10-14 | 2017-03-22 | 杭州鸿雁智能科技有限公司 | Panel scene control method based on NFC card mode |
CN108337669A (en) * | 2018-04-03 | 2018-07-27 | 珠海格力电器股份有限公司 | Control method and device for intelligent household equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104093218A (en) * | 2014-07-09 | 2014-10-08 | 深圳市杰瑞特科技有限公司 | Mobile internet of things built based on NFC technology and information exchange method thereof |
CN105978873B (en) * | 2016-05-09 | 2020-08-14 | 腾讯科技(深圳)有限公司 | Customized equipment registration method and device |
CN106161164B (en) * | 2016-09-26 | 2019-12-17 | 美的智慧家居科技有限公司 | Method and system for controlling household appliances by mobile terminal |
-
2019
- 2019-07-31 CN CN201910703254.2A patent/CN112306009B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577486A (en) * | 2014-10-15 | 2016-05-11 | 珠海格力电器股份有限公司 | Control method of intelligent household appliance and household control center |
CN106292565A (en) * | 2015-06-05 | 2017-01-04 | 博西华电器(江苏)有限公司 | The control method of home appliance and control system |
CN105260026A (en) * | 2015-10-16 | 2016-01-20 | 北京数码视讯科技股份有限公司 | Terminal device control method, apparatus and system |
CN106155702A (en) * | 2016-08-01 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and apparatus controlling application state by NFC label |
CN106375167A (en) * | 2016-10-13 | 2017-02-01 | 杭州鸿雁智能科技有限公司 | NFC-based intelligent home network distribution device and network distribution method |
CN106533850A (en) * | 2016-10-14 | 2017-03-22 | 杭州鸿雁智能科技有限公司 | Panel scene control method based on NFC card mode |
CN108337669A (en) * | 2018-04-03 | 2018-07-27 | 珠海格力电器股份有限公司 | Control method and device for intelligent household equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112306009A (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102566917B (en) | Application-launching interface for multiple modes | |
CN112305924B (en) | Control method and device of household appliance, electronic equipment and storage medium | |
CN108986821B (en) | Method and equipment for setting relation between room and equipment | |
CN104881016A (en) | Intelligent household device control method and intelligent household controller | |
JP2019192211A (en) | Method and device for pushing information | |
CN106488539A (en) | The processing method of WiFi resource and system in terminal | |
CN111124280A (en) | Data additional writing method and device, electronic equipment and storage medium | |
CN110555073A (en) | data processing method and device, electronic equipment and storage medium | |
CN104580375A (en) | Method and equipment for determining UI style information of target application | |
CN112306009B (en) | Control method and device of household appliance, electronic device and storage medium | |
CN108023905B (en) | Internet of things application system and method | |
CN104424003A (en) | Information processing method and electronic device | |
CN105306725A (en) | Information processing method and electronic equipment | |
US20120239813A1 (en) | Methods for generating electronic appliance identifier and managing information by using electronic appliance identifier | |
CN108768802B (en) | Equipment information deleting method and device, server and mobile terminal | |
CN105933753B (en) | Game system, controller, game station, game station control method, computer readable storage medium | |
CN110457219B (en) | Method and device for selecting time when test script is recorded | |
CN104123342A (en) | Content recommendation method and device | |
CN104461603A (en) | Information processing method and electronic equipment | |
CN109799776B (en) | Data configuration method and device | |
CN109542775B (en) | Test script generation and execution method and device | |
CN103699552A (en) | Method and device for managing computer files, and equipment | |
CN111581915A (en) | Project task management method, platform, electronic equipment and storage medium | |
CN112181586A (en) | Workflow processing method and device based on Kubernetes architecture | |
CN108206784B (en) | Network topology generation method and device for smart home |
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 |