CN112232454A - Data writing method and system, terminal, household appliance and computer device - Google Patents

Data writing method and system, terminal, household appliance and computer device Download PDF

Info

Publication number
CN112232454A
CN112232454A CN201910636883.8A CN201910636883A CN112232454A CN 112232454 A CN112232454 A CN 112232454A CN 201910636883 A CN201910636883 A CN 201910636883A CN 112232454 A CN112232454 A CN 112232454A
Authority
CN
China
Prior art keywords
target data
terminal
household appliance
code
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910636883.8A
Other languages
Chinese (zh)
Inventor
颜林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201910636883.8A priority Critical patent/CN112232454A/en
Publication of CN112232454A publication Critical patent/CN112232454A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a data writing method and system, a terminal, household electrical appliance equipment and a computer device, wherein the data writing method comprises the following steps: reading the near field communication card to obtain target data, and checking the accuracy of the target data; establishing communication connection with the household appliance to acquire the equipment information of the household appliance; and sending the target data to the household appliance based on the accuracy of the target data and the matching of the target data and the equipment information so that the household appliance writes the target data. By applying the technical scheme provided by the invention, the code is read by using the NFC technology, and the household electrical appliance is written by using the Internet of things between the terminal and the household electrical appliance, so that the problems of one code for multiple machines and the like caused by the code-scanning gun code-string fault of infrared code scanning are avoided, and when the problem of one code for multiple machines appears, a consumer or an after-sales person can obtain the correct product code by only reading the near-field communication card through the terminal to complete the code writing operation, thereby improving the accuracy and convenience of the code writing operation.

Description

Data writing method and system, terminal, household appliance and computer device
Technical Field
The invention relates to the technical field of intelligent household appliances, in particular to a data writing method, a data writing system, a terminal, a data writing method, a data writing system, household appliance equipment, a computer device and a computer readable storage medium.
Background
Generally, in the production of an intelligent home appliance, a product code (SN code, which is a unique code for identifying a product) is written. Need use infrared yard rifle of sweeping to sweep the sign indicating number and write the sign indicating number when producing intelligent household electrical appliances, because infrared yard rifle of sweeping can appear bunching the sign indicating number problem when sweeping the sign indicating number and writing the sign indicating number, consequently can lead to the condition of a sign indicating number multimachine (product code is not unique) to appear, will cause the unable normal use problem of function of intelligent household electrical appliances when the user uses.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, a first aspect of the present invention proposes a data writing method.
A second aspect of the present invention proposes a data writing system.
A third aspect of the present invention provides a terminal.
A fourth aspect of the present invention provides a data writing method.
A fifth aspect of the present invention proposes a data writing system.
A sixth aspect of the present invention provides a home appliance.
A seventh aspect of the present invention provides a computer apparatus.
An eighth aspect of the present invention is directed to a computer-readable storage medium.
In view of this, a first aspect of the present invention provides a data writing method for a terminal, where the terminal is capable of interacting with a home appliance and a near field communication card, and the data writing method includes: reading the near field communication card to obtain target data, and checking the accuracy of the target data; establishing communication connection with the household appliance to acquire the equipment information of the household appliance; and sending the target data to the household appliance based on the accuracy of the target data and the matching of the target data and the equipment information so that the household appliance writes the target data.
In the technical scheme, a Near Field Communication (NFC) function of the terminal is used to read target data in the Near Field Communication card, for example, a product code in the Near Field Communication card is read, Communication is established with the target household appliance, and device information of the target household appliance is acquired. After the target data are read, the accuracy of the target data is verified, if the target data are accurate and the target data are matched with the equipment information of the target household appliance, the target data represent that the target data are correct data of the target household appliance, at the moment, the target data are sent to the target household appliance, and the target household appliance writes the received target data into a memory of the target household appliance.
Specifically, taking a household appliance as an air conditioner, a terminal as a smart phone, and target data as an SN code (i.e., a product code) of the air conditioner as an example, a user reads the SN code stored in an NFC card through an NFC function of the smart phone, wherein the NFC card is preferably packaged together with the air conditioner before leaving the factory, or is attached to an air conditioner housing, and after the SN code is read, the accuracy and the uniqueness of the SN code can be checked through a built-in database of the smart phone, or is connected to a server through a login application program, and the accuracy and the uniqueness of the SN code are checked through the server. The accuracy of the SN code includes the number of bits of the SN code, the format, and whether the SN code is within an allowable range.
Meanwhile, the smart phone establishes communication connection with the air conditioner in a wireless local area network or the like, and acquires equipment information of the air conditioner. And when the equipment information of the air conditioner is acquired and the SN code check result is accurate and unique, further judging whether the SN code is matched with the equipment information of the air conditioner. For example, taking the SN code as a character with a length of 10 bits as an example, where the first three bits represent the home appliance type, the fourth to sixth bits represent the product model of the home appliance, the seventh and eight bits represent the home appliance sales area, the ninth and ten bits are check bits, the current three-bit home appliance type is an air conditioner, the four to six bit product models are the same as the product model in the device information, the seven and eight bit sales areas are the same as the geographical position in the device information, that is, it is determined that the target data match the device information, at this time, the smart phone sends the read SN code and the code writing instruction of the operator to the air conditioner, and the air conditioner writes the SN code into the corresponding memory on the motherboard according to the code writing instruction.
By applying the technical scheme provided by the invention, the code is read by using the NFC technology, and the household electrical appliance is written by using the Internet of things between the terminal and the household electrical appliance, so that the problems of one code for multiple machines (namely, the product code is not unique) and the like caused by the code scanning gun code string fault of infrared light are avoided, and meanwhile, when the problem of one code for multiple machines appears, a consumer or a post-sale person can obtain the correct product code by only reading the near-field communication card through the terminal, the code writing operation is completed, and the accuracy and the convenience of the code writing operation are improved.
In addition, the data writing method in the above technical solution provided by the present invention may further have the following additional technical features:
in the above technical solution, further, the step of verifying the accuracy of the target data specifically includes: sending the target data to a server so that the server generates a verification result aiming at the target data; and receiving a verification result, and determining the accuracy of the target data according to the verification result.
In the technical scheme, the accuracy of the target data is verified through the server. Specifically, a specific application program may be installed in the terminal, and the terminal logs in to the server through the specific application program. After logging in the server, the target data are sent to the server, the server verifies the accuracy of the target data, generates a corresponding verification result and feeds the verification result back to the terminal, and the terminal can determine the accuracy of the target data according to the verification result after receiving the verification result.
Optionally, the target data is a product code of the household appliance, and after the terminal sends the product code to the server, the server verifies the digit, format and uniqueness of the product code and generates a corresponding verification result.
In any of the above technical solutions, further, the step of establishing a communication connection with the home appliance to obtain the device information of the home appliance specifically includes: determining a service set identifier of the household appliance equipment, and establishing wireless communication connection with the household appliance equipment through the service set identifier; and determining the management code of the household appliance in the server, and acquiring the equipment information through the management code of the household appliance.
In the technical scheme, when the communication connection is established with the household appliance through the terminal, firstly, a wireless local area network hotspot of the household appliance is started, wherein the hotspot Identifier is a Service Set Identifier (SSID) of the household appliance, then, the control terminal determines the SSID of the household appliance in an SSID list of the current wireless network environment, initiates a connection request to the SSID, and further establishes the wireless communication connection with the household appliance.
When the device information of the household appliance is acquired, the management code of the household appliance is determined in the server. Optionally, a specific application program is installed in the terminal, the terminal logs in to a server (the server may be a cloud server, or may be an intelligent gateway server in the same local area network) through the specific application program, enters a corresponding roommid (each roommid corresponds to one home appliance, and is used for managing multiple home appliances in one system) in the server, and then sends the roommid to the home appliances, so as to obtain device information of the home appliances.
In any of the above technical solutions, further, the data writing method further includes: and receiving a writing result of the target data returned by the household appliance equipment, and displaying the writing result.
In the technical scheme, after receiving target data, the household appliance generates a corresponding writing result according to the writing condition (success or failure) of the target data, the writing result is fed back to the terminal, and the terminal displays the corresponding writing result after receiving the writing result returned by the household appliance.
In any of the above technical solutions, further, the target data includes any one or a combination of the following: a product code of the home appliance, an appliance code of the home appliance, and a management code of the home appliance.
In the technical scheme, the target data includes a product code (SN code) of the home appliance, and the product code is a unique identifier corresponding to the home appliance. The target data also comprises a device code (DeviceID) of the household appliance, and the device code is an ID number which is distributed by the server obtained after normal distribution and networking of the household appliance and corresponds to the SN code. The object data also includes a management code (RoomID) of the home device, the management code corresponding to the device code for managing a plurality of home devices within a system (local area network).
A second aspect of the present invention provides a data writing system for a terminal, the terminal being capable of interacting with a home appliance and a near field communication card, the data writing system comprising: the card reading unit is used for reading the near field communication card to obtain target data and verifying the accuracy of the target data; the first communication unit is used for establishing communication connection with the household appliance to acquire the equipment information of the household appliance; and the first control unit is used for sending the target data to the household appliance based on the accuracy of the target data and the matching of the target data and the equipment information so as to write the target data into the household appliance.
In the technical scheme, a Near Field Communication (NFC) function of the terminal is used to read target data in the Near Field Communication card, for example, a product code in the Near Field Communication card is read, Communication is established with the target household appliance, and device information of the target household appliance is acquired. After the target data are read, the accuracy of the target data is verified, if the target data are accurate and the target data are matched with the equipment information of the target household appliance, the target data represent that the target data are correct data of the target household appliance, at the moment, the target data are sent to the target household appliance, and the target household appliance writes the received target data into a memory of the target household appliance.
Specifically, taking a household appliance as an air conditioner, a terminal as a smart phone, and target data as an SN code (i.e., a product code) of the air conditioner as an example, a user reads the SN code stored in an NFC card through an NFC function of the smart phone, wherein the NFC card is preferably packaged together with the air conditioner before leaving the factory, or is attached to an air conditioner housing, and after the SN code is read, the accuracy and the uniqueness of the SN code can be checked through a built-in database of the smart phone, or is connected to a server through a login application program, and the accuracy and the uniqueness of the SN code are checked through the server. The accuracy of the SN code includes the number of bits of the SN code, the format, and whether the SN code is within an allowable range.
Meanwhile, the smart phone establishes communication connection with the air conditioner in a wireless local area network or the like, and acquires equipment information of the air conditioner. And when the equipment information of the air conditioner is acquired and the SN code check result is accurate and unique, further judging whether the SN code is matched with the equipment information of the air conditioner. For example, taking the SN code as a character with a length of 10 bits as an example, where the first three bits represent the home appliance type, the fourth to sixth bits represent the product model of the home appliance, the seventh and eight bits represent the home appliance sales area, the ninth and ten bits are check bits, the current three-bit home appliance type is an air conditioner, the four to six bit product models are the same as the product model in the device information, the seven and eight bit sales areas are the same as the geographical position in the device information, that is, it is determined that the target data match the device information, at this time, the smart phone sends the read SN code and the code writing instruction of the operator to the air conditioner, and the air conditioner writes the SN code into the corresponding memory on the motherboard according to the code writing instruction.
By applying the technical scheme provided by the invention, the code is read by using the NFC technology, and the household electrical appliance is written by using the Internet of things between the terminal and the household electrical appliance, so that the problems of one code for multiple machines and the like caused by the code-scanning gun code-string fault of infrared code scanning are avoided, and when the problem of one code for multiple machines appears, a consumer or an after-sales person can obtain the correct product code by only reading the near-field communication card through the terminal to complete the code writing operation, thereby improving the accuracy and convenience of the code writing operation.
A third aspect of the present invention provides a terminal, where the terminal is capable of interacting with a home appliance and a near field communication card, and the terminal includes the data writing system provided in any one of the above technical solutions, so that the terminal includes all the beneficial effects of the data writing system provided in any one of the above technical solutions, and details are not repeated here.
A fourth aspect of the present invention provides a data writing method, which is used for a home appliance device, where the home appliance device includes a memory, and the home appliance device can interact with a terminal provided in any one of the above technical solutions, and the data writing method includes: establishing a communication connection with a terminal to receive a management code; based on the matching of the management code and the household appliance, sending the equipment information of the household appliance to the terminal; and receiving the target data sent by the terminal and writing the target data into the memory.
In the technical scheme, the household appliance comprises a storage and a communication module, accesses the Internet of things through the communication module, and interacts with the terminal. After establishing communication connection with the terminal, receiving a management code sent by the terminal, and judging whether the management code is matched with the household appliance. And if the management code sent by the terminal is matched with the household appliance, sending the equipment information of the household appliance to the corresponding terminal so that the terminal can judge whether the read target data is matched with the equipment information of the household appliance or not, and sending the target data to the household appliance when the target data is matched with the equipment information of the household appliance. After receiving the target data, the household appliance writes the target data into the memory of the household appliance.
In the above technical solution, further, the step of establishing a communication connection with the terminal to receive the management code specifically includes: opening a network hotspot to broadcast the service set identification of the household appliance equipment; and receiving a connection request aiming at the service set identification, and establishing a communication connection with the terminal through the connection request to receive the management code.
In the technical scheme, the household appliance firstly starts a network hotspot to broadcast a Service Set Identifier (SSID) of the household appliance in a wireless network environment, a terminal initiates a connection request aiming at the SSID after scanning the SSID of the household appliance, the household appliance establishes wireless communication connection with the terminal through the received connection request, and receives a management code sent by the terminal after establishing communication connection.
In any of the above technical solutions, further, after the step of writing the target data into the memory, the data writing method further includes: and generating a writing result aiming at the target data, and sending the writing result to the terminal so that the terminal displays the writing result.
In the technical scheme, after receiving the target data, the household appliance executes the step of writing the target data into the memory, and generates a corresponding writing result to be fed back to the terminal according to whether the target data is written successfully or not, so that the terminal side displays the corresponding writing result.
A fifth aspect of the present invention provides a data writing system for a home appliance, the data writing system comprising: the second communication unit is used for establishing communication connection with the terminal to acquire the management code; the second control unit is used for matching the household appliance equipment based on the management code and sending the equipment information of the household appliance equipment to the terminal; and receiving the target data transmitted by the terminal through the second communication unit, and writing the target data into the memory.
In the technical scheme, the household appliance accesses the Internet of things through the second communication module and interacts with the terminal. After establishing communication connection with the terminal, receiving a management code sent by the terminal, and judging whether the management code is matched with the household appliance. And if the management code sent by the terminal is matched with the household appliance, sending the equipment information of the household appliance to the corresponding terminal so that the terminal can judge whether the read target data is matched with the equipment information of the household appliance or not, and sending the target data to the household appliance when the target data is matched with the equipment information of the household appliance. After receiving the target data, the household appliance writes the target data into the memory of the household appliance.
A sixth aspect of the present invention provides a home appliance, including a memory and the data writing system provided in any one of the above technical solutions, so that the home appliance includes all technical effects of the data writing system provided in any one of the above technical solutions, which are not described herein again.
A seventh aspect of the present invention provides a computer apparatus, where the computer apparatus includes a processor, and the processor is configured to implement the data writing method provided in any of the above technical solutions when executing a computer program stored in a memory, and therefore, the computer apparatus includes all beneficial effects of the data writing method provided in any of the above technical solutions, which is not described herein again.
An eighth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data writing method provided in any of the above technical solutions, and therefore, the computer-readable storage medium includes all the beneficial effects of the data writing method provided in any of the above technical solutions, which are not described herein again.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 shows a flow diagram of a data writing method according to one embodiment of the invention;
FIG. 2 shows a flow diagram of a data writing method according to another embodiment of the invention;
FIG. 3 illustrates a flow chart of a data writing method according to still another embodiment of the present invention;
FIG. 4 shows a block diagram of a data writing system according to an embodiment of the invention;
FIG. 5 shows a flow chart of a data writing method according to yet another embodiment of the invention;
FIG. 6 shows a flow chart of a data writing method according to yet another embodiment of the invention;
FIG. 7 shows an interaction diagram of a data writing method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an interaction flow of a data writing method according to an embodiment of the present invention;
fig. 9 is a block diagram showing a structure of a data writing system according to another embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
A data writing method, a data writing system, a terminal, a data writing method, a data writing system, a home appliance, a computer apparatus, and a computer-readable storage medium according to some embodiments of the present invention are described below with reference to fig. 1 to 9.
As shown in fig. 1, in an embodiment of a first aspect of the present invention, there is provided a data writing method for a terminal, where the terminal is capable of interacting with a home appliance and a near field communication card, the data writing method includes:
s102, reading the near field communication card to obtain target data, and checking the accuracy of the target data;
s104, establishing communication connection with the household appliance to acquire the equipment information of the household appliance;
and S106, based on the accuracy of the target data and the matching of the target data and the equipment information, sending the target data to the household appliance, so that the household appliance writes the target data.
In this embodiment, the NFC (Near Field Communication) function of the terminal is used to read target data in the Near Field Communication card, for example, read a product code in the Near Field Communication card, establish Communication with the target household appliance, and acquire device information of the target household appliance. After the target data are read, the accuracy of the target data is verified, if the target data are accurate and the target data are matched with the equipment information of the target household appliance, the target data represent that the target data are correct data of the target household appliance, at the moment, the target data are sent to the target household appliance, and the target household appliance writes the received target data into a memory of the target household appliance.
Specifically, taking a household appliance as an air conditioner, a terminal as a smart phone, and target data as an SN code (i.e., a product code) of the air conditioner as an example, a user reads the SN code stored in an NFC card through an NFC function of the smart phone, wherein the NFC card is preferably packaged together with the air conditioner before leaving the factory, or is attached to an air conditioner housing, and after the SN code is read, the accuracy and the uniqueness of the SN code can be checked through a built-in database of the smart phone, or is connected to a server through a login application program, and the accuracy and the uniqueness of the SN code are checked through the server. The accuracy of the SN code includes the number of bits of the SN code, the format, and whether the SN code is within an allowable range.
Meanwhile, the smart phone establishes communication connection with the air conditioner in a wireless local area network or the like, and acquires equipment information of the air conditioner. And when the equipment information of the air conditioner is acquired and the SN code check result is accurate and unique, further judging whether the SN code is matched with the equipment information of the air conditioner. For example, taking the SN code as a character with a length of 10 bits as an example, where the first three bits represent the home appliance type, the fourth to sixth bits represent the product model of the home appliance, the seventh and eight bits represent the home appliance sales area, the ninth and ten bits are check bits, the current three-bit home appliance type is an air conditioner, the four to six bit product models are the same as the product model in the device information, the seven and eight bit sales areas are the same as the geographical position in the device information, that is, it is determined that the target data match the device information, at this time, the smart phone sends the read SN code and the code writing instruction of the operator to the air conditioner, and the air conditioner writes the SN code into the corresponding memory on the motherboard according to the code writing instruction.
According to the embodiment provided by the invention, the NFC technology is used for reading codes, and the Internet of things between the terminal and the household appliance is used for writing the codes to the household appliance, so that the problems of one code for multiple machines and the like caused by the code string fault of the infrared code scanning gun are solved, and when the problem of one code for multiple machines appears, a consumer or after-sales personnel can obtain correct product codes by only reading the near-field communication card through the terminal to complete the code writing operation, so that the accuracy and the convenience of the code writing operation are improved.
In an embodiment of the present invention, as shown in fig. 2, the step of verifying the accuracy of the target data specifically includes:
s202, sending the target data to a server so that the server generates a verification result aiming at the target data;
and S204, receiving the verification result, and determining the accuracy of the target data according to the verification result.
In this embodiment, the accuracy of the target data is verified by the server. Specifically, a specific application program may be installed in the terminal, and the terminal logs in to the server through the specific application program. After logging in the server, the target data are sent to the server, the server verifies the accuracy of the target data, generates a corresponding verification result and feeds the verification result back to the terminal, and the terminal can determine the accuracy of the target data according to the verification result after receiving the verification result.
Optionally, the target data is a product code of the household appliance, and after the terminal sends the product code to the server, the server verifies the digit, format and uniqueness of the product code and generates a corresponding verification result.
In an embodiment of the present invention, as shown in fig. 3, the step of establishing a communication connection with the home appliance to obtain the device information of the home appliance specifically includes:
s302, determining a service set identifier of the household appliance, and establishing wireless communication connection with the household appliance through the service set identifier;
and S304, determining the management code of the household appliance in the server, and acquiring the equipment information through the management code of the household appliance.
In this embodiment, when establishing a communication connection with a home appliance device through a terminal, a wireless local area network hotspot of the home appliance device is first opened, where the hotspot Identifier is a Service Set Identifier (SSID) of the home appliance device, and then the control terminal determines the SSID of the home appliance device in an SSID list of a current wireless network environment, and initiates a connection request to the SSID, thereby establishing a wireless communication connection with the home appliance device.
When the device information of the household appliance is acquired, the management code of the household appliance is determined in the server. Optionally, a specific application program is installed in the terminal, the terminal logs in to a server (the server may be a cloud server, or may be an intelligent gateway server in the same local area network) through the specific application program, enters a corresponding roommid (each roommid corresponds to one home appliance, and is used for managing multiple home appliances in one system) in the server, and then sends the roommid to the home appliances, so as to obtain device information of the home appliances.
In an embodiment of the present invention, further, the data writing method further includes: and receiving a writing result of the target data returned by the household appliance equipment, and displaying the writing result.
In this embodiment, after receiving the target data, the home appliance generates a corresponding writing result according to a writing condition (success or failure) of the target data, and feeds the writing result back to the terminal, and after receiving the writing result returned by the home appliance, the terminal displays the corresponding writing result.
In an embodiment of the present invention, further, the target data includes any one or a combination of the following: a product code of the home appliance, an appliance code of the home appliance, and a management code of the home appliance.
In this embodiment, the target data includes a product code (SN code) of the home device, where the product code is a unique identifier of the corresponding home device. The target data also comprises a device code (DeviceID) of the household appliance, and the device code is an ID number which is distributed by the server obtained after normal distribution and networking of the household appliance and corresponds to the SN code. The object data also includes a management code (RoomID) of the home device, the management code corresponding to the device code for managing a plurality of home devices within a system (local area network).
As shown in fig. 4, in an embodiment of the second aspect of the present invention, there is provided a data writing system 400 for a terminal, the terminal being capable of interacting with an electric home appliance and a near field communication card, the data writing system 400 including: the card reading unit 402 is configured to read a near field communication card to obtain target data, and check accuracy of the target data; a first communication unit 404, configured to establish a communication connection with a home appliance to obtain device information of the home appliance; and the first control unit 406 is configured to send the target data to the home appliance device based on that the target data is accurate and the target data matches the device information, so that the home appliance device writes the target data.
In this embodiment, the NFC (Near Field Communication) function of the terminal is used to read target data in the Near Field Communication card, for example, read a product code in the Near Field Communication card, establish Communication with the target household appliance, and acquire device information of the target household appliance. After the target data are read, the accuracy of the target data is verified, if the target data are accurate and the target data are matched with the equipment information of the target household appliance, the target data represent that the target data are correct data of the target household appliance, at the moment, the target data are sent to the target household appliance, and the target household appliance writes the received target data into a memory of the target household appliance.
Specifically, taking a household appliance as an air conditioner, a terminal as a smart phone, and target data as an SN code (i.e., a product code) of the air conditioner as an example, a user reads the SN code stored in an NFC card through an NFC function of the smart phone, wherein the NFC card is preferably packaged together with the air conditioner before leaving the factory, or is attached to an air conditioner housing, and after the SN code is read, the accuracy and the uniqueness of the SN code can be checked through a built-in database of the smart phone, or is connected to a server through a login application program, and the accuracy and the uniqueness of the SN code are checked through the server. The accuracy of the SN code includes the number of bits of the SN code, the format, and whether the SN code is within an allowable range.
Meanwhile, the smart phone establishes communication connection with the air conditioner in a wireless local area network or the like, and acquires equipment information of the air conditioner. And when the equipment information of the air conditioner is acquired and the SN code check result is accurate and unique, further judging whether the SN code is matched with the equipment information of the air conditioner. For example, taking the SN code as a character with a length of 10 bits as an example, where the first three bits represent the home appliance type, the fourth to sixth bits represent the product model of the home appliance, the seventh and eight bits represent the home appliance sales area, the ninth and ten bits are check bits, the current three-bit home appliance type is an air conditioner, the four to six bit product models are the same as the product model in the device information, the seven and eight bit sales areas are the same as the geographical position in the device information, that is, it is determined that the target data match the device information, at this time, the smart phone sends the read SN code and the code writing instruction of the operator to the air conditioner, and the air conditioner writes the SN code into the corresponding memory on the motherboard according to the code writing instruction.
According to the embodiment provided by the invention, the NFC technology is used for reading codes, and the Internet of things between the terminal and the household appliance is used for writing the codes to the household appliance, so that the problems of one code for multiple machines and the like caused by the code string fault of the infrared code scanning gun are solved, and when the problem of one code for multiple machines appears, a consumer or after-sales personnel can obtain correct product codes by only reading the near-field communication card through the terminal to complete the code writing operation, so that the accuracy and the convenience of the code writing operation are improved.
In an embodiment of the third aspect of the present invention, a terminal is provided, where the terminal is capable of interacting with a home appliance and a near field communication card, and the terminal includes the data writing system provided in any one of the above technical solutions, so that the terminal includes all beneficial effects of the data writing system provided in any one of the above technical solutions, and details are not repeated here.
As shown in fig. 5, in an embodiment of a fourth aspect of the present invention, a data writing method is provided, where the data writing method is used for a home appliance, where the home appliance includes a memory, and the home appliance can interact with a terminal provided in any one of the above technical solutions, and the data writing method includes:
S502, establishing communication connection with a terminal to receive a management code;
s504, based on the matching of the management code and the household appliance, the equipment information of the household appliance is sent to the terminal;
s506, receiving the target data sent by the terminal, and writing the target data into a memory.
In this embodiment, the home device includes a memory and a communication module, accesses the internet of things through the communication module, and interacts with the terminal. After establishing communication connection with the terminal, receiving a management code sent by the terminal, and judging whether the management code is matched with the household appliance. And if the management code sent by the terminal is matched with the household appliance, sending the equipment information of the household appliance to the corresponding terminal so that the terminal can judge whether the read target data is matched with the equipment information of the household appliance or not, and sending the target data to the household appliance when the target data is matched with the equipment information of the household appliance. After receiving the target data, the household appliance writes the target data into the memory of the household appliance.
In an embodiment of the present invention, as shown in fig. 6, the step of establishing a communication connection with the terminal to receive the management code specifically includes:
S602, starting a network hotspot to broadcast the service set identifier of the household appliance;
s604, receiving a connection request aiming at the service set identification, and establishing communication connection with the terminal through the connection request to receive the management code.
In this embodiment, the home appliance first starts a network hotspot to broadcast a Service Set Identifier (SSID) of the home appliance in a wireless network environment, the terminal initiates a connection request for the SSID after scanning the SSID identified by the home appliance, and the home appliance establishes a wireless communication connection with the terminal through the received connection request and receives a management code sent by the terminal after establishing the communication connection.
In an embodiment of the present invention, further, after the step of writing the target data into the memory, the data writing method further includes: and generating a writing result aiming at the target data, and sending the writing result to the terminal so that the terminal displays the writing result.
In this embodiment, after receiving the target data, the home appliance performs the step of writing the target data into the memory, and generates a corresponding writing result according to whether the target data is successfully written or not, and feeds the writing result back to the terminal, so that the terminal side displays the corresponding writing result.
In an embodiment of the present invention, as shown in fig. 7, the smart phone and the NFC card interact with each other through NFC technology, and the smart phone and the air conditioner interact with each other through Wi-Fi (wireless local area network technology based on IEEE 802.11 standard created by Wi-Fi alliance).
Specifically, as shown in fig. 8, the smart phone reads the SN code stored in the NFC card through the NFC function, and the interactive process of writing the SN code into the air conditioner includes:
1. the user starts the hot spot of the air conditioner according to the description, and the mobile phone can see the SSID (such as midea _ ac _ xxxx) of the air conditioner in the SSID list;
2. opening a hot spot of the mobile phone connected with the air conditioner;
3. opening a house APP (Application) on the mobile phone, and logging in the house APP by using a user account;
4. finding a target air conditioner under RoomID corresponding to the American APP entering the air conditioner;
5. reading equipment information of the air conditioner;
6. entering a code writing operation;
7. the mobile phone is close to the NFC card, and the SN code is read through the NFC function of the mobile phone;
8. the NFC card returns SN code data, and the mobile phone automatically checks the accuracy of the SN code according to the read air conditioner information;
9. the mobile phone displays the verification result of the SN code;
10. a user executes code writing operation through the Meiju APP;
11. The mobile phone displays the return state of the code writing result;
12. after the code writing operation is finished, the air conditioner exits the code writing operation process and enters a normal working process;
13. after the mobile phone code writing operation is finished, returning to the home page of the American household APP;
14. the code writing process is completed.
As shown in fig. 9, in an embodiment of the fifth aspect of the present invention, there is provided a data writing system 900 for a home appliance, the data writing system 900 including: a second communication unit 902, configured to establish a communication connection with a terminal to acquire a management code; a second control unit 904, configured to send device information of the home appliance to the terminal based on the management code matching the home appliance; and receiving the target data transmitted by the terminal through the second communication unit, and writing the target data into the memory.
In the embodiment, the household appliance accesses the internet of things through the second communication module and interacts with the terminal. After establishing communication connection with the terminal, receiving a management code sent by the terminal, and judging whether the management code is matched with the household appliance. And if the management code sent by the terminal is matched with the household appliance, sending the equipment information of the household appliance to the corresponding terminal so that the terminal can judge whether the read target data is matched with the equipment information of the household appliance or not, and sending the target data to the household appliance when the target data is matched with the equipment information of the household appliance. After receiving the target data, the household appliance writes the target data into the memory of the household appliance.
In an embodiment of the sixth aspect of the present invention, a home appliance is provided, which includes a memory and the data writing system provided in any one of the above embodiments, and therefore, the home appliance includes all technical effects of the data writing system provided in any one of the above embodiments, which are not described herein again.
In an embodiment of the seventh aspect of the present invention, a computer apparatus is provided, where the computer apparatus includes a processor, and the processor is configured to implement the data writing method provided in any one of the above embodiments when executing a computer program stored in a memory, and therefore, the computer apparatus includes all beneficial effects of the data writing method provided in any one of the above embodiments, which are not described herein again.
In an embodiment of the eighth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the data writing method provided in any of the above embodiments, so that the computer-readable storage medium includes all the beneficial effects of the data writing method provided in any of the above embodiments, and details are not described herein again.
In the description of the present invention, the terms "plurality" or "a plurality" refer to two or more, and unless otherwise specifically defined, the terms "upper", "lower", and the like indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention; the terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description of the present invention, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the present invention, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A data writing method for a terminal, wherein the terminal is capable of interacting with a home appliance and a near field communication card, the data writing method comprising:
reading the near field communication card to obtain target data, and checking the accuracy of the target data;
Establishing communication connection with the household appliance to acquire the equipment information of the household appliance;
and sending the target data to the household appliance based on the accuracy of the target data and the matching of the target data and the equipment information, so that the household appliance writes the target data.
2. The data writing method according to claim 1, wherein the step of verifying the accuracy of the target data specifically comprises:
sending the target data to a server so that the server generates a verification result aiming at the target data;
and receiving the verification result, and determining the accuracy of the target data according to the verification result.
3. The data writing method according to claim 2, wherein the step of establishing a communication connection with the home appliance device to obtain device information of the home appliance device specifically includes:
determining a service set identifier of the household appliance equipment, and establishing wireless communication connection with the household appliance equipment through the service set identifier;
and determining the management code of the household appliance in the server, and acquiring the equipment information through the management code of the household appliance.
4. The data writing method according to any one of claims 1 to 3, further comprising:
and receiving a writing result of the target data returned by the household appliance equipment, and displaying the writing result.
5. A data writing method according to any one of claims 1 to 3, wherein the target data comprises any one or a combination of:
the product code of the household appliance, the device code of the household appliance and the management code of the household appliance.
6. A data writing system for a terminal capable of interacting with an appliance device and a near field communication card, the data writing system comprising:
the card reading unit is used for reading the near field communication card to obtain target data and verifying the accuracy of the target data;
the first communication unit is used for establishing communication connection with the household appliance to acquire the equipment information of the household appliance;
and the first control unit is used for sending the target data to the household appliance based on the accuracy of the target data and the matching of the target data and the equipment information, so that the household appliance writes the target data.
7. A terminal, characterized in that it is capable of interacting with an electric household appliance and a near field communication card, said terminal comprising:
the data writing system of claim 6.
8. A data writing method for a home device, the home device comprising a memory, wherein the home device is capable of interacting with the terminal of claim 7, the data writing method comprising:
establishing a communication connection with the terminal to receive a management code;
based on the matching of the management code and the household appliance, sending the equipment information of the household appliance to the terminal;
and receiving target data sent by the terminal, and writing the target data into the memory.
9. The data writing method according to claim 8, wherein the step of establishing a communication connection with the terminal to receive the management code specifically includes:
opening a network hotspot to broadcast the service set identification of the household appliance equipment;
and receiving a connection request aiming at the service set identification, and establishing a communication connection with the terminal through the connection request to receive the management code.
10. The data writing method according to claim 8 or 9, wherein after the step of writing the target data to the memory, the data writing method further comprises:
And generating a writing result aiming at the target data, and sending the writing result to the terminal so as to enable the terminal to display the writing result.
11. A data writing system for a home device, the home device comprising a memory, wherein the home device is capable of interacting with the terminal of claim 7, the data writing system comprising:
the second communication unit is used for establishing communication connection with the terminal to acquire a management code;
the second control unit is used for sending the equipment information of the household electrical equipment to the terminal based on the matching of the management code and the household electrical equipment; and
and receiving target data sent by the terminal through the second communication unit, and writing the target data into the memory.
12. An appliance, comprising:
a memory;
the data writing system of claim 11, the data writing system coupled to the memory.
13. A computer arrangement, characterized in that the computer arrangement comprises a processor for implementing, when executing a computer program stored in a memory:
The data writing method according to any one of claims 1 to 5; and/or
The data writing method according to any one of claims 8 to 10.
14. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements:
the data writing method according to any one of claims 1 to 5; and/or
The data writing method according to any one of claims 8 to 10.
CN201910636883.8A 2019-07-15 2019-07-15 Data writing method and system, terminal, household appliance and computer device Pending CN112232454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910636883.8A CN112232454A (en) 2019-07-15 2019-07-15 Data writing method and system, terminal, household appliance and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910636883.8A CN112232454A (en) 2019-07-15 2019-07-15 Data writing method and system, terminal, household appliance and computer device

Publications (1)

Publication Number Publication Date
CN112232454A true CN112232454A (en) 2021-01-15

Family

ID=74111151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910636883.8A Pending CN112232454A (en) 2019-07-15 2019-07-15 Data writing method and system, terminal, household appliance and computer device

Country Status (1)

Country Link
CN (1) CN112232454A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783863A (en) * 2021-09-02 2021-12-10 北京奕斯伟计算技术有限公司 Number writing method and system
CN114007278A (en) * 2021-10-29 2022-02-01 歌尔光学科技有限公司 Multi-device pairing method, system, device and computer readable storage medium
CN115209520A (en) * 2022-06-27 2022-10-18 珠海格力电器股份有限公司 Timing control method and device based on BLE, terminal and storage medium
CN115514394A (en) * 2021-06-07 2022-12-23 杭州九阳小家电有限公司 But near field communication's intelligent household electrical appliances and communication system based on NFC
CN114007278B (en) * 2021-10-29 2024-06-07 歌尔科技有限公司 Multi-device pairing method, system, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN103559261A (en) * 2013-11-04 2014-02-05 深圳中兴网信科技有限公司 Server, terminal, data verification system and data verification method
CN104006496A (en) * 2014-05-26 2014-08-27 邯郸美的制冷设备有限公司 Air-conditioning system, control method thereof and control method of air-conditioner
CN106100951A (en) * 2016-08-22 2016-11-09 美的智慧家居科技有限公司 Scene mode control method, equipment and the system of intelligent home device
CN106973083A (en) * 2017-03-08 2017-07-21 美的集团股份有限公司 Wiring method, system and its equipment of internet of things home appliance device identification
WO2017124681A1 (en) * 2016-01-20 2017-07-27 深圳Tcl数字技术有限公司 Method and system for smart television identity recognition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN103559261A (en) * 2013-11-04 2014-02-05 深圳中兴网信科技有限公司 Server, terminal, data verification system and data verification method
CN104006496A (en) * 2014-05-26 2014-08-27 邯郸美的制冷设备有限公司 Air-conditioning system, control method thereof and control method of air-conditioner
WO2017124681A1 (en) * 2016-01-20 2017-07-27 深圳Tcl数字技术有限公司 Method and system for smart television identity recognition
CN106100951A (en) * 2016-08-22 2016-11-09 美的智慧家居科技有限公司 Scene mode control method, equipment and the system of intelligent home device
CN106973083A (en) * 2017-03-08 2017-07-21 美的集团股份有限公司 Wiring method, system and its equipment of internet of things home appliance device identification

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514394A (en) * 2021-06-07 2022-12-23 杭州九阳小家电有限公司 But near field communication's intelligent household electrical appliances and communication system based on NFC
CN113783863A (en) * 2021-09-02 2021-12-10 北京奕斯伟计算技术有限公司 Number writing method and system
CN114007278A (en) * 2021-10-29 2022-02-01 歌尔光学科技有限公司 Multi-device pairing method, system, device and computer readable storage medium
CN114007278B (en) * 2021-10-29 2024-06-07 歌尔科技有限公司 Multi-device pairing method, system, device and computer readable storage medium
CN115209520A (en) * 2022-06-27 2022-10-18 珠海格力电器股份有限公司 Timing control method and device based on BLE, terminal and storage medium
CN115209520B (en) * 2022-06-27 2023-09-08 珠海格力电器股份有限公司 BLE-based timing control method, BLE-based timing control device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN106102184B (en) System and method for managing binding connection of Bluetooth equipment
TWI544825B (en) Communication system for establishing p2p connections and the corresponding devices using the same
US9459604B2 (en) Methods and system for joining a smart energy device to a zigbee network
CN112232454A (en) Data writing method and system, terminal, household appliance and computer device
CN104378145A (en) Pairing method and system of Bluetooth device
KR101328779B1 (en) Mobile terminal, server and information providing method using the same
EP3179758A1 (en) Building intercom method, nfc unlocking device and building intercom system
CN104144420A (en) Wireless access method and related equipment and system
CN105898790B (en) A kind of network speed measurement method and equipment
CN113132185A (en) Equipment distribution network binding method and system, mobile terminal and storage medium
CN105426938A (en) Information acquisition method and device for air conditioners, mobile communication terminal and air conditioner server
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN109391699A (en) Device network configuration method, device and server
EP3764673A1 (en) Air conditioner unit wireless networking method, apparatus and system
CN112152887A (en) Network distribution method and device of household appliance, electronic device and storage medium
CN110942160A (en) Household appliance maintenance service system
CN112752325A (en) Network distribution method and device of household appliance, computer readable storage medium and processor
JP5887536B2 (en) Device management system and device management method
CN106797329A (en) Special-purpose terminal and its operating method for measuring the Internet wire quality
KR102134826B1 (en) Apparatus and method for controlling charging of an electric vehicle
US10726405B2 (en) System and method for implementing networking transfer service
CN109802886A (en) A kind of method, apparatus, air conditioner and storage medium for binding third party's public platform
CN112152888B (en) Information writing method and device for household appliance and equipment
CN113411792A (en) Equipment network distribution method and device, household electrical appliance and terminal equipment

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