CN112311736B - Remote control device, household appliance and communication protocol configuration method and device thereof - Google Patents

Remote control device, household appliance and communication protocol configuration method and device thereof Download PDF

Info

Publication number
CN112311736B
CN112311736B CN201910698863.3A CN201910698863A CN112311736B CN 112311736 B CN112311736 B CN 112311736B CN 201910698863 A CN201910698863 A CN 201910698863A CN 112311736 B CN112311736 B CN 112311736B
Authority
CN
China
Prior art keywords
communication protocol
storage
target communication
code
storage position
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
Application number
CN201910698863.3A
Other languages
Chinese (zh)
Other versions
CN112311736A (en
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 CN201910698863.3A priority Critical patent/CN112311736B/en
Publication of CN112311736A publication Critical patent/CN112311736A/en
Application granted granted Critical
Publication of CN112311736B publication Critical patent/CN112311736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a remote control device, household electrical appliance and a communication protocol configuration method and device thereof, wherein the method comprises the following steps: acquiring a device code of the household electrical appliance; acquiring a first storage position of a target communication protocol of the household appliance from the storage device according to the device code; and acquiring a target communication protocol according to the first storage position, and configuring a communication module of the household appliance. According to the communication protocol configuration method of the household appliance, the switching of the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and meanwhile, the complexity in production is greatly reduced.

Description

Remote control device, household appliance and communication protocol configuration method and device thereof
Technical Field
The present application relates to the field of home appliances, and in particular, to a remote control device, a home appliance, and a method and an apparatus for configuring a communication protocol of the home appliance.
Background
With more and more kinds of protocols of the home appliances, for example, suning protocol, the meju protocol, the national and american protocol, the ali protocol, and the like, the home appliance industry is generally implemented by software compatible with multiple protocols, for example, multiple protocols are supported on the same chip.
However, supporting multiple protocols on the same chip not only increases chip resources, but also increases cost, and the software is highly coupled, affecting fast iterations of new functions. In addition, the reproduction and after-sales links require reconfiguration of their protocols. For example, if the home appliance is initially set to the a protocol and the user is at home to the B protocol, it is cumbersome to change the a protocol to the B protocol after sale.
Disclosure of Invention
The embodiment of the application solves the technical problems of high production cost and complex operation caused by supporting a plurality of protocols on the same chip in the prior art by providing the household electrical appliance and the communication protocol configuration method and device of the household electrical appliance, realizes the switching of the multi-communication protocol and the communication protocol of the storage device, reduces the production cost and greatly reduces the complexity in production.
In order to achieve the above object, the present application provides a method for configuring a communication protocol of a home appliance, including the steps of: acquiring a device code of the household electrical appliance; according to the equipment code, a first storage position of a target communication protocol of the household appliance is obtained from a storage device; and acquiring the target communication protocol according to the first storage position, and configuring a communication module of the household appliance.
In addition, the communication protocol configuration method of the home appliance according to the above embodiment of the present application may further have the following additional technical features:
according to one embodiment of the present application, the obtaining, from a storage device, the first storage location of the target communication protocol of the home appliance according to the device code includes: the device code is sent to the storage device, so that the storage device queries a partition according to the device code to obtain the first storage position; or determining the identification information of the target communication protocol according to the equipment code; and sending the identification information to the storage device so that the storage device queries a partition according to the identification information to obtain the first storage position.
According to one embodiment of the present application, the acquiring the target communication protocol according to the first storage location includes: sending an acquisition request to the storage device according to the first storage position, and acquiring the target communication protocol from the storage device; or, according to the first storage location, sending a download request to a server storing the target communication protocol, and downloading the target communication protocol from the server.
According to one embodiment of the present application, the obtaining, from a storage device, the first storage location of the target communication protocol of the home appliance according to the device code includes: and receiving the equipment code sent by the household electrical appliance, acquiring the identification information of the target communication protocol according to the equipment code, and inquiring a partition according to the identification information to obtain the first storage position.
According to one embodiment of the present application, the obtaining the target communication protocol according to the first storage location configures a communication module of the home appliance, and further includes: feeding back the first storage location to the home device; and receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending the target communication protocol to the household appliance, and configuring the communication module.
According to one embodiment of the present application, before the obtaining, according to the device code, the first storage location of the target communication protocol of the home appliance from the storage device, the method further includes: and acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position.
According to one embodiment of the present application, before the acquiring the target communication protocol according to the first storage location, the method further includes: detecting and determining that the target communication protocol is valid.
According to one embodiment of the present application, further comprising: and detecting and determining that the target communication protocol is invalid, and recovering the existing communication protocol of the household appliance according to the second storage position.
According to an embodiment of the present application, before the obtaining the device code of the home appliance, the method further includes: in response to a trigger instruction to update a communication protocol for the home device.
In order to achieve the above object, the present application provides a communication protocol configuration apparatus for a home appliance, including: the first acquisition module is used for acquiring the equipment code of the household electrical equipment; the second acquisition module is used for acquiring a first storage position of a target communication protocol of the household appliance from a storage device according to the equipment code; and the configuration module is used for acquiring the target communication protocol according to the first storage position and configuring the communication module of the household appliance.
In addition, the communication protocol configuration apparatus of the home appliance according to the above embodiment of the present application may further have the following additional technical features:
according to an embodiment of the present application, the second obtaining module is specifically configured to: the device code is sent to the storage device, so that the storage device queries a partition according to the device code to obtain the first storage position; or determining the identification information of the target communication protocol according to the equipment code; and sending the identification information to the storage device so that the storage device queries a partition according to the identification information to obtain the first storage position.
According to one embodiment of the present application, the configuration module is specifically configured to: sending an acquisition request to the storage device according to the first storage position, and acquiring the target communication protocol from the storage device; or, according to the first storage location, sending a download request to a server storing the target communication protocol, and downloading the target communication protocol from the server.
According to an embodiment of the present application, the second obtaining module is specifically configured to: and receiving the equipment code sent by the household electrical appliance, acquiring the identification information of the target communication protocol according to the equipment code, and inquiring a partition according to the identification information to obtain the first storage position.
According to one embodiment of the present application, the configuration module is specifically configured to: feeding back the first storage location to the home device; and receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending the target communication protocol to the household appliance, and configuring the communication module.
According to an embodiment of the present application, before the obtaining, according to the device code, the first storage location of the target communication protocol of the home appliance from the storage device, the second obtaining module is further configured to: and acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position.
According to one embodiment of the present application, before the acquiring the target communication protocol according to the first storage location, the configuration module is further configured to: detecting and determining that the target communication protocol is valid.
According to an embodiment of the present application, the communication protocol configuration apparatus of the home appliance further includes: and the recovery module is used for detecting and determining that the target communication protocol is invalid, and recovering the existing communication protocol of the household appliance according to the second storage position.
According to an embodiment of the present application, before the acquiring the device code of the home device, the first acquiring module is further configured to: in response to a trigger instruction to update a communication protocol for the home device. In order to achieve the above object, the present application proposes a home appliance, which includes the communication protocol configuration device of the home appliance.
In order to achieve the above object, the present application proposes a remote control device comprising the communication protocol configuration device of the home appliance.
In order to achieve the above object, the present application proposes an electronic device including a memory, a processor; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the communication protocol configuration method of the household appliance.
In order to achieve the above object, the present application proposes a computer-readable storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the communication protocol configuration method of the home appliance described above.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. in the application, the equipment code of the household equipment can be obtained and sent to the storage equipment, so that the storage equipment obtains the first storage position according to the equipment code inquiry partition, and sends an obtaining request to the storage equipment according to the first storage position, and a target communication protocol is obtained from the storage equipment so as to configure the communication module of the household equipment. Therefore, the switching between the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and the complexity in production is greatly reduced.
2. In the application, the equipment code of the household appliance can be obtained, and the identification information of the target communication protocol is determined according to the equipment code; and sending the identification information to the storage device so that the storage device queries the partition according to the identification information to obtain a first storage position, sending a downloading request to a server storing the target communication protocol according to the first storage position, and downloading the target communication protocol from the server so as to configure the communication module of the household appliance. Therefore, the switching between the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and the complexity in production is greatly reduced.
3. In the application, a device code sent by a household appliance is received, the identification information of a target communication protocol is obtained according to the device code, a partition is inquired according to the identification information to obtain a first storage position, and the first storage position is fed back to the household appliance; and receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending a target communication protocol to the household appliance, and configuring a communication module of the household appliance. Therefore, the switching between the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and the complexity in production is greatly reduced.
Drawings
Fig. 1 is a flowchart of a communication protocol configuration method of an electric home appliance according to an embodiment of the present application
FIG. 2 is a block diagram of a remote control partition according to one embodiment of the application;
fig. 3 is a flowchart of a communication protocol configuration method of an electric home appliance according to an embodiment of the present application;
FIG. 4 is a block diagram of a WiFi module partition according to one embodiment of the application;
fig. 5 is a flowchart of a communication protocol configuration method of an electric home appliance according to another embodiment of the present application;
fig. 6 is a flowchart of a communication protocol configuration method of an electric home appliance according to a specific embodiment of the present application;
fig. 7 is a block schematic diagram of a communication protocol configuration apparatus of an electric home appliance according to an embodiment of the present application;
fig. 8 is a block schematic diagram of an electric home appliance according to an embodiment of the present application;
FIG. 9 is a block schematic diagram of a remote control device according to an embodiment of the application;
fig. 10 is a block schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
The application can acquire the equipment code of the household equipment, acquire the first storage position of the target communication protocol of the household equipment from the storage equipment according to the equipment code, acquire the target communication protocol according to the first storage position and configure the communication module of the household equipment. Therefore, the technical problems of high production cost and complicated operation caused by supporting a plurality of protocols on the same chip in the prior art are solved, the switching between the multi-communication protocols and the communication protocols of the storage device is realized, and the production cost is reduced.
In order that the above-described aspects may be better understood, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure 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.
The remote control device, the household electrical appliance and the communication protocol configuration method and device thereof according to the embodiment of the application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a home appliance and a communication protocol configuration method thereof according to an embodiment of the present application. As shown in fig. 1, the communication protocol configuration method of the home appliance includes the following steps:
s1, acquiring a device code of the household electrical appliance.
It should be understood that the device code, i.e. the product serial number, is the identification card number of the product, also known as: the embodiment of the application can acquire the equipment code of the household equipment through the WiFi module after the household equipment is connected with the network. The device code may be composed of an enterprise identification code, a server, a version, a product model, a protocol type, a sales country, a production place, a workshop, a bar code, etc., for example, the device code of a certain home appliance is D1100011699005US2B1199, where D11 is the enterprise identification code, 00 is the server, 0 is the version, 11699 is the product model, 005 is the protocol type, US is the sales country, 2 is the production place, B is the workshop, and 1199 is the bar code.
S2, according to the device code, a first storage position of a target communication protocol of the household appliance is obtained from the storage device.
The storage device may be a device with a WiFi function or a wireless internet function, and the storage device may be, but is not limited to, a remote controller, for example, the storage device may be any one of an infrared ray+wifi remote controller, a bluetooth+wifi remote controller, or an infrared ray+bluetooth remote controller; the target communication protocol includes any one or a plurality of sets of Meju protocol, beijing east protocol, ali protocol, suning protocol and the like.
Specifically, in general, the first storage location of the target communication protocol of the home appliance in the storage device is related to the device code of the home appliance, and for different device codes, for example, the device code of a certain home appliance may be 21122050791000JP6D9971, and the first storage location of the target communication protocol of the home appliance obtained from the storage device may be ADDRESS1; for another example, if the device code of another home device is D1100011699005US2B1199, the first storage location for obtaining the target communication protocol of the home device from the storage device may be ADDRESS2.
S3, acquiring a target communication protocol according to the first storage position, and configuring a communication module of the household appliance.
It should be appreciated that after the first storage location of the target communication protocol of the home device is obtained from the storage device, the target communication protocol of the storage device may be obtained according to the first storage location, so as to configure the home device.
For example, as shown in fig. 2, assuming that a first storage location where a target communication protocol of the home appliance is acquired from the storage device is ADDRESS1, the target communication protocol acquired according to the first storage location is the meiju protocol; assuming that a first storage location for acquiring a target communication protocol of the home appliance from the storage device is ADDRESS2, the target communication protocol acquired according to the first storage location is the meiju and ali dual protocol.
In summary, according to the method for configuring a communication protocol of a home appliance according to the embodiment of the present application, a device code of the home appliance may be obtained, and according to the device code, a first storage location of a target communication protocol of the home appliance may be obtained from a storage device, and according to the first storage location, the target communication protocol may be obtained, and a communication module of the home appliance may be configured. Therefore, the switching between the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and meanwhile, the complexity in production is greatly reduced.
It should be understood that, based on the above embodiments, according to the device code, the first storage location of the target communication protocol of the home appliance is obtained from the storage device, so that the manner in which the communication module of the home appliance is configured according to the first storage location to obtain the target communication protocol is different, and the following description is given by way of example with reference to the specific embodiments:
fig. 3 is a flowchart illustrating a communication protocol configuration method of an electric home appliance according to a specific exemplary embodiment of the present application. As shown in fig. 3, the method includes:
s301, acquiring a device code of the household electrical appliance.
S302, transmitting the device code to the storage device so that the storage device queries the partition according to the device code to obtain a first storage position; or determining the identification information of the target communication protocol according to the equipment code; and sending the identification information to the storage device so that the storage device queries the partition according to the identification information to obtain a first storage position.
As a possible implementation manner, the embodiment of the application may preset a mapping relationship between the device code and the partition of the storage device, and the partition of the storage device corresponds to the storage location, so after the device code is sent to the storage device, the storage device may obtain the partition corresponding to the device code by querying the mapping relationship between the device code and the partition of the storage device, so as to confirm the first storage location according to the partition, where each partition of the storage device is independent, and there is no mutual interference, and thus a new function may be iterated quickly.
As another possible implementation manner, the embodiment of the present application may query the partition for the first storage location through identification information, where the identification information may be determined through a product model in the device code. That is, in the embodiment of the present application, a mapping relationship between the identification information of the target communication protocol and the partition of the storage device may be set, and the partition of the storage device corresponds to the storage location, for example, the device code of a certain home appliance is 21122050791000JP6D9971, and the product model of the home appliance may be determined to be 50791 through the device code, so that the identification information of the target communication protocol may be obtained, and the storage device may obtain the partition corresponding to the device code by querying the mapping relationship between the identification information and the partition of the storage device, so that the first storage location is determined according to the partition.
It should be noted that the above examples are only exemplary, and are not meant to limit the present application.
S303, sending an acquisition request to the storage device according to the first storage position, and acquiring a target communication protocol from the storage device so as to configure a communication module of the household appliance; or according to the first storage position, sending a downloading request to a server storing the target communication protocol, and downloading the target communication protocol from the server to configure the communication module of the household appliance.
In one example, the embodiment of the present application may obtain the target communication protocol from the storage device according to the first storage location, for example, the first storage location is ADDRESS1, and the target communication protocol in ADDRESS1 in the storage device is the meiju protocol, and then the target communication protocol is acquired from the storage device as the meiju protocol; for another example, the first storage location is ADDRESS2, and the target communication protocol in ADDRESS2 in the storage device is the meiju and ali dual protocol, and the target communication protocol is the meiju and ali dual protocol, so that the communication module of the home appliance can be configured.
In another example, the embodiment of the present application may store, in advance, the target communication protocol corresponding to the first storage location in the server, and after obtaining the first storage location, the embodiment of the present application may download, from the server, the target communication protocol corresponding to the first storage location, thereby configuring the communication module of the home appliance. For example, a first memory location ADDRESS1 corresponding to a first meju protocol and a first memory location ADDRESS2 corresponding to a second meju protocol are stored in the server; the first storage location is ADDRESS3, and the first storage location is the ADDRESS3, and the ADDRESS, the second storage location, and the third storage location corresponding to ADDRESS3 may be downloaded from the server, so as to configure the communication module of the home appliance.
Fig. 4 is a flowchart illustrating a communication protocol configuration method of an electric home appliance according to another specific exemplary embodiment of the present application. As shown in fig. 4, the method includes:
s401, receiving a device code sent by the household appliance, acquiring identification information of a target communication protocol according to the device code, and inquiring the partition according to the identification information to obtain a first storage position.
It should be understood that, in the embodiment of the present application, a mapping relationship between the identification information and the partition may be preset, by receiving a device code sent by the home appliance, and determining the identification information of the target communication protocol according to the received device code, where a method for determining the identification information of the target communication protocol according to the device code is consistent with the foregoing method, so that, to avoid redundancy, detailed details are not described herein, and thus the first storage location may be obtained by querying the foregoing mapping relationship according to the identification information.
S402, feeding back a first storage position to the household appliance; and receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending a target communication protocol to the household appliance, and configuring the communication module.
For example, taking a remote controller as an example, the remote controller in the embodiment of the present application may feed back a first storage location ADDRESS1 to the home appliance, where the first storage location ADDRESS1 may be obtained by using identification information of a target communication protocol acquired according to a device code of the home appliance, the target communication protocol in the first storage location ADDRESS1 is a meiju protocol, and if the remote controller receives a target communication protocol acquisition request sent by the home appliance, the meiju protocol in the first storage location ADDRESS1 is sent to the home appliance, so as to configure a communication module.
According to one embodiment of the present application, before the first storage location of the target communication protocol of the home appliance is obtained from the storage device according to the device code, the method further includes: and acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position.
It should be understood that when the home appliance leaves the factory, the home appliance has an existing communication protocol, so the embodiment of the application can acquire the second storage location of the existing communication protocol of the home appliance before acquiring the first storage location of the target communication protocol of the home appliance from the storage device according to the device code, and back up the second storage location.
According to one embodiment of the present application, before the target communication protocol is acquired according to the first storage location, the method further includes: the target communication protocol is detected and determined to be valid.
Specifically, as shown in fig. 5, the WiFi module mainly has two partitions, where storage addresses corresponding to the two partitions are ADDRESS0 and ADDRESS1, and ADDRESS0 is mainly used for detecting a logic application of the target communication protocol. For example, before the target communication protocol is acquired according to the first storage location, whether the target communication protocol is valid or not may be detected and determined through the WiFi module, and after the target communication protocol is determined to be valid, content (such as partition size, protocol content, etc.) in the first storage location corresponding to the target communication protocol is read and saved. The method for determining whether the target communication protocol is valid may be a detection method in related art, and detailed description is omitted herein to avoid redundancy.
For example, the WiFi module of the embodiment of the present application may send a command for reading the home appliance type (a flag for determining a communication protocol or a home appliance type to be used), the protocol flag, and the ADDRESS to the remote controller, and the remote controller may reply to the home appliance type, the protocol flag, and the ADDRESS, so as to reply and detect and determine whether the target communication protocol is valid according to the remote controller, and read and store the content in the ADDRESS sn after determining that the target communication protocol is valid.
According to one embodiment of the present application, further comprising: and detecting and determining that the target communication protocol is invalid, and recovering the existing communication protocol of the household appliance according to the second storage position.
For example, if it is determined that the target communication protocol is invalid, the embodiment of the application may send an invalidation reply to the remote controller and read the backup second storage location in the remote controller to restore the existing communication protocol of the home appliance according to the second storage location, thereby configuring the communication module of the home appliance, and greatly improving the configuration efficiency.
According to one embodiment of the present application, before acquiring the device code of the home device, the method further includes: in response to a trigger instruction for an updated communication protocol for the home device.
It can be appreciated that the embodiment of the application can respond to the triggering instruction of the update communication protocol of the household appliance before acquiring the equipment code of the household appliance so as to effectively configure the communication module of the household appliance, thereby greatly reducing the complexity of configuration.
In a specific embodiment of the present application, as shown in fig. 6, the method for configuring a communication protocol of the home appliance includes the following steps:
s601, responding to a trigger instruction for updating a communication protocol for the home appliance.
S602, acquiring the equipment code of the household equipment.
S603, acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position.
S604, according to the device code, a first storage location of a target communication protocol of the household appliance is obtained from the storage device.
S605, judging whether the target communication protocol is valid, if so, executing step S606, otherwise, executing step S607.
S606, acquiring a target communication protocol according to the first storage position, and configuring a communication module of the household appliance.
S607, according to the second storage location, the existing communication protocol of the home appliance is restored.
That is, the embodiment of the application can firstly respond to the triggering instruction of updating the communication protocol for the household appliance, and enter the logic application for detecting the protocol through (3) the WiFi module (the ADDRESS is ADDRESS0 in the operating system at this stage), the WiFi module can detect whether the current subarea of the WiFi module has the protocol according to the device code of the household appliance, if so, the second storage position of the existing communication protocol of the household appliance is backed up, the remote controller returns a positive acknowledgement, that is, after the backup is completed, the WiFi module sends a command of reading the type, the communication protocol mark and the ADDRESS of the household appliance, the remote controller can reply the type, the protocol mark and the ADDRESS of the household appliance, the WiFi module detects and determines whether the protocol mark and the ADDRESS are valid, if the target communication protocol is invalid, the WiFi module sends an invalid reply to the remote controller, and reads the second storage position of the existing communication protocol of the household appliance backed up in the remote controller, and the WiFi module is configured to recover the existing communication protocol and restart the existing communication protocol; if the target communication protocol is effective, the WiFi module reads the content in the ADDRESS N corresponding to the remote controller, the remote controller replies the content in the corresponding ADDRESS N, the WIFI module receives the content in the ADDRESS N and stores the content in the WiFi module partition ADDRESS1, and the operation of the target communication protocol in the ADDRESS1 is restarted, so that the switching of the WiFi module multi-communication protocol and the communication protocol is realized through the remote controller, the problem that the production cost is high due to the fact that a plurality of protocols are supported on the same chip is avoided, the problem that only one protocol partition is allowed at the same time is solved, and meanwhile, the complexity in production is greatly reduced. According to the communication protocol configuration method of the household appliance, the device code of the household appliance can be obtained, the first storage position of the target communication protocol of the household appliance is obtained from the storage device according to the device code, the target communication protocol is obtained according to the first storage position, and the communication module of the household appliance is configured. Therefore, the switching between the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and meanwhile, the complexity in production is greatly reduced.
Fig. 7 is a block schematic diagram of a communication protocol configuration apparatus of an electric home appliance according to an embodiment of the present application. As shown in fig. 7, the communication protocol configuration apparatus 10 of the home appliance includes: a first acquisition module 100, a second acquisition module 200, and a configuration module 300.
The first obtaining module 100 is configured to obtain a device code of the home appliance. The second obtaining module 200 is configured to obtain, from the storage device, a first storage location of a target communication protocol of the home appliance according to the device code. The configuration module 300 is configured to obtain a target communication protocol according to the first storage location, and configure a communication module of the home appliance.
According to one embodiment of the present application, the second obtaining module 200 is specifically configured to: transmitting the device code to the storage device so that the storage device can query the partition according to the device code to obtain a first storage position; or determining the identification information of the target communication protocol according to the equipment code; and sending the identification information to the storage device so that the storage device queries the partition according to the identification information to obtain a first storage position.
According to one embodiment of the application, the configuration module 300 is specifically configured to: sending an acquisition request to the storage device according to the first storage position, and acquiring a target communication protocol from the storage device; or according to the first storage position, sending a downloading request to a server storing the target communication protocol, and downloading the target communication protocol from the server.
According to one embodiment of the present application, the second obtaining module 200 is specifically configured to: and receiving a device code sent by the household appliance, acquiring the identification information of the target communication protocol according to the device code, and inquiring the partition according to the identification information to obtain a first storage position.
According to one embodiment of the application, the configuration module 300 is specifically configured to: feeding back the first storage position to the household appliance; and receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending a target communication protocol to the household appliance, and configuring the communication module.
According to an embodiment of the present application, before the first storage location of the target communication protocol of the home appliance is acquired from the storage device according to the device code, the second acquisition module 200 is further configured to: and acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position.
According to one embodiment of the present application, before the target communication protocol is acquired according to the first storage location, the configuration module 300 is further configured to: the target communication protocol is detected and determined to be valid.
According to an embodiment of the present application, the communication protocol configuration apparatus of the home appliance further includes: a restoring module (not shown in the figure) is configured to detect and determine that the target communication protocol is invalid, and restore the existing communication protocol of the home appliance according to the second storage location.
According to an embodiment of the present application, before acquiring the device code of the home device, the first acquiring module 100 is further configured to: in response to a trigger instruction for an updated communication protocol for the home device. According to the communication protocol configuration device of the household appliance, provided by the embodiment of the application, the equipment code of the household appliance can be acquired through the first acquisition module, the first storage position of the target communication protocol of the household appliance is acquired from the storage equipment through the second acquisition module according to the equipment code, the target communication protocol is acquired through the third acquisition module according to the first storage position, and the communication module of the household appliance is configured. Therefore, the switching between the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and meanwhile, the complexity in production is greatly reduced.
As shown in fig. 8, an embodiment of the present application proposes a home appliance 20, which includes the communication protocol configuration apparatus 10 of the home appliance.
According to the household appliance provided by the embodiment of the application, the switching of the multi-communication protocol and the communication protocol of the storage device is realized, the production cost is reduced, and meanwhile, the complexity in production is greatly reduced.
As shown in fig. 9, an embodiment of the present application proposes a remote control device 30, which includes the communication protocol configuration device 10 of the home appliance.
According to the remote control device provided by the embodiment of the application, the switching of multiple communication protocols and communication protocols of the storage equipment is realized, the production cost is reduced, and meanwhile, the complexity in production is greatly reduced.
As shown in fig. 10, an embodiment of the present application further proposes an electronic device 1000, which includes: memory 1100, processor 1200; the processor 1200 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 1100, for implementing the communication protocol configuration method of the home appliance described above.
The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, which is characterized in that the program is executed by a processor to realize the communication protocol configuration method of the household appliance.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 may 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 use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While 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. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A method for configuring a communication protocol of a home appliance, comprising the steps of:
acquiring a device code of the household electrical appliance;
according to the equipment code, a first storage position of a target communication protocol of the household appliance is obtained from a storage device;
acquiring the target communication protocol according to the first storage position, and configuring a communication module of the household appliance;
wherein, according to the device code, the obtaining, from a storage device, the first storage location of the target communication protocol of the home appliance device includes: the device code is sent to the storage device, so that the storage device queries a partition according to the device code to obtain the first storage position; or determining the identification information of the target communication protocol according to the equipment code; sending the identification information to the storage device so that the storage device queries a partition according to the identification information to obtain the first storage position;
the obtaining the target communication protocol according to the first storage location includes: sending an acquisition request to the storage device according to the first storage position, and acquiring the target communication protocol from the storage device; or, according to the first storage location, sending a download request to a server storing the target communication protocol, and downloading the target communication protocol from the server;
the obtaining the target communication protocol according to the first storage location, configuring a communication module of the home appliance device, further includes: feeding back the first storage location to the home device; receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending the target communication protocol to the household appliance, and configuring the communication module;
before the first storage location of the target communication protocol of the home appliance is obtained from the storage device according to the device code, the method further includes: acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position;
before the target communication protocol is acquired according to the first storage location, the method further includes: detecting and determining that the target communication protocol is valid;
and detecting and determining that the target communication protocol is invalid, and recovering the existing communication protocol of the household appliance according to the second storage position.
2. The method of claim 1, wherein the retrieving the first storage location of the target communication protocol of the home device from the storage device based on the device code comprises:
and receiving the equipment code sent by the household electrical appliance, acquiring the identification information of the target communication protocol according to the equipment code, and inquiring a partition according to the identification information to obtain the first storage position.
3. The method according to any one of claims 1-2, further comprising, prior to the obtaining the device code of the home device:
in response to a trigger instruction to update a communication protocol for the home device.
4. A communication protocol configuration apparatus for a home appliance, comprising:
the first acquisition module is used for acquiring the equipment code of the household electrical equipment;
the second acquisition module is used for acquiring a first storage position of a target communication protocol of the household appliance from a storage device according to the equipment code;
the configuration module is used for acquiring the target communication protocol according to the first storage position and configuring the communication module of the household appliance;
the second obtaining module is specifically configured to: the device code is sent to the storage device, so that the storage device queries a partition according to the device code to obtain the first storage position; or determining the identification information of the target communication protocol according to the equipment code; sending the identification information to the storage device so that the storage device queries a partition according to the identification information to obtain the first storage position;
the configuration module is specifically configured to: sending an acquisition request to the storage device according to the first storage position, and acquiring the target communication protocol from the storage device; or, according to the first storage location, sending a download request to a server storing the target communication protocol, and downloading the target communication protocol from the server;
the configuration module is specifically configured to: feeding back the first storage location to the home device; receiving an acquisition request sent by the household appliance according to the first storage position, responding to the acquisition request, sending the target communication protocol to the household appliance, and configuring the communication module;
before the second obtaining module is configured to obtain, from a storage device, the first storage location of the target communication protocol of the home appliance according to the device code, the second obtaining module is further configured to: acquiring a second storage position of the existing communication protocol of the household appliance, and backing up the second storage position;
before the target communication protocol is acquired according to the first storage location, the configuration module is further configured to: detecting and determining that the target communication protocol is valid;
and the recovery module is used for detecting and determining that the target communication protocol is invalid, and recovering the existing communication protocol of the household appliance according to the second storage position.
5. An electrical home appliance, comprising: the communication protocol configuration apparatus of an electric home appliance according to claim 4.
6. A remote control device, comprising: the communication protocol configuration apparatus of an electric home appliance according to claim 4.
7. An electronic device, comprising a memory and a processor;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the communication protocol configuration method of the home appliance according to any one of claims 1 to 3.
8. A computer readable storage medium storing a computer program, characterized in that the program when executed by a processor implements a communication protocol configuration method of an electric home appliance according to any one of claims 1-3.
CN201910698863.3A 2019-07-31 2019-07-31 Remote control device, household appliance and communication protocol configuration method and device thereof Active CN112311736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910698863.3A CN112311736B (en) 2019-07-31 2019-07-31 Remote control device, household appliance and communication protocol configuration method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910698863.3A CN112311736B (en) 2019-07-31 2019-07-31 Remote control device, household appliance and communication protocol configuration method and device thereof

Publications (2)

Publication Number Publication Date
CN112311736A CN112311736A (en) 2021-02-02
CN112311736B true CN112311736B (en) 2023-10-27

Family

ID=74486106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910698863.3A Active CN112311736B (en) 2019-07-31 2019-07-31 Remote control device, household appliance and communication protocol configuration method and device thereof

Country Status (1)

Country Link
CN (1) CN112311736B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189400B (en) * 2021-10-29 2024-02-23 青岛海尔科技有限公司 Control method, device, system, storage medium and program product for home appliance

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607447A (en) * 2013-11-15 2014-02-26 中国联合网络通信集团有限公司 A software upgrade processing method and an apparatus
CN104426928A (en) * 2013-08-22 2015-03-18 中国科学院计算机网络信息中心 Heterogeneous intelligent household electrical appliance intercommunication control method based on identification service of Internet of things
CN108965019A (en) * 2018-07-27 2018-12-07 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the relevant device of communication protocol
CN109067734A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
CN109067735A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the smart machine of communication protocol
CN109525417A (en) * 2018-10-09 2019-03-26 广东美的制冷设备有限公司 Household appliance cut-in method, domestic electric appliances controller and storage medium based on network interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282478A1 (en) * 2013-03-15 2014-09-18 Silicon Graphics International Corp. Tcp server bootloader

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426928A (en) * 2013-08-22 2015-03-18 中国科学院计算机网络信息中心 Heterogeneous intelligent household electrical appliance intercommunication control method based on identification service of Internet of things
CN103607447A (en) * 2013-11-15 2014-02-26 中国联合网络通信集团有限公司 A software upgrade processing method and an apparatus
CN108965019A (en) * 2018-07-27 2018-12-07 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the relevant device of communication protocol
CN109067734A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
CN109067735A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the smart machine of communication protocol
CN109525417A (en) * 2018-10-09 2019-03-26 广东美的制冷设备有限公司 Household appliance cut-in method, domestic electric appliances controller and storage medium based on network interface

Also Published As

Publication number Publication date
CN112311736A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN109587018B (en) Equipment configuration method, device, network system and mobile terminal
CN109254789B (en) Intelligent device electric control firmware programming method and system, intelligent device and server
CN108074177B (en) Data reconciliation method, system and computer-readable storage medium
CN101645801B (en) Software version upgrading method based on cluster management and order exchanger
CN110971717B (en) Intelligent equipment identity identification code burning method and system, intelligent equipment and server
US20160174268A1 (en) Smart home controller and communication method thereof
CN108293060B (en) Method and system for updating firmware of slave station, master station and slave station
US11080404B2 (en) Firmware upgrade method, slave station of robot, and machine readable storage medium
US20180367441A1 (en) Routing table synchronization method, apparatus, and system
CN107357595B (en) Bus-based multi-driver firmware online updating system
CN112073471A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN110825772A (en) Method and device for synchronizing memory data of multiple service instances and storage medium
CN105677675A (en) Business processing method and device
CN107888434B (en) Network equipment configuration synchronization method and device
CN112311736B (en) Remote control device, household appliance and communication protocol configuration method and device thereof
CN107172039B (en) Method, device and system for acquiring protocol key value
CN104618136A (en) Configuration management method and device for blade server
CN112020050A (en) Networking method of wireless device, gateway device and storage medium
CN113535262B (en) Proxy node start control method, device, equipment and storage medium
CN113891317A (en) Network distribution method and network distribution device of intelligent equipment and electronic equipment
CN106375551B (en) Information interaction method, device and terminal
CN111385613B (en) Television system repairing method, storage medium and application server
CN110958287B (en) Operation object data synchronization method, device and system
CN114185804A (en) Interface testing method and device and terminal equipment
CN110851161B (en) Firmware updating method for intelligent household 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
GR01 Patent grant
GR01 Patent grant