[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108965018B - Dynamic configuration method of communication protocol, wireless communication device and household appliance - Google Patents

Dynamic configuration method of communication protocol, wireless communication device and household appliance Download PDF

Info

Publication number
CN108965018B
CN108965018B CN201810847226.3A CN201810847226A CN108965018B CN 108965018 B CN108965018 B CN 108965018B CN 201810847226 A CN201810847226 A CN 201810847226A CN 108965018 B CN108965018 B CN 108965018B
Authority
CN
China
Prior art keywords
wireless communication
protocol
communication protocol
partition
target
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
CN201810847226.3A
Other languages
Chinese (zh)
Other versions
CN108965018A (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.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
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 GD Midea Air Conditioning Equipment Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN201810847226.3A priority Critical patent/CN108965018B/en
Publication of CN108965018A publication Critical patent/CN108965018A/en
Application granted granted Critical
Publication of CN108965018B publication Critical patent/CN108965018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides a dynamic configuration method of a communication protocol, a wireless communication device and a household appliance, wherein the method comprises the following steps: when the household appliance is monitored to be powered on and started, loading a logic application in the engineering mode partition through a bootstrap program in the system level chip module, wherein the logic application is used for detecting a wireless communication protocol supported by the household appliance; determining a target wireless communication protocol to be configured of the wireless communication device according to the detection result of the logic application; modifying the loading address information of the bootstrap program into address information of a target protocol partition corresponding to the stored target wireless communication protocol, and restarting the wireless communication device; and loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program during the restart of the wireless communication device. The technical problems of high software coupling, high chip resources and high cost in the prior art are solved, and the technical effects of reducing the requirements on the chip resources and reducing the production cost and the software coupling are achieved.

Description

Dynamic configuration method of communication protocol, wireless communication device and household appliance
Technical Field
The present application relates to the field of communications technologies, and in particular, to a dynamic configuration method of a communication protocol, a wireless communication device, and a home appliance.
Background
With the rapid development of the internet technology and the field of household appliances, more and more intelligent household appliances are produced. In order to realize modern smart home, more and more smart home appliances are built with wireless communication devices, so that the smart home appliances are connected to the internet of things through the wireless communication devices of the smart home appliances. However, as the variety of communication protocols in intelligent appliances increases, the general industry generally implements wireless communication between multiple protocols through software-compatible multiple protocols.
However, the present inventors have found that the above-mentioned techniques have at least the following technical problems:
the technical problem is that: for chips in a wireless communication device, supporting multiple protocols on the same chip necessarily increases chip resources and also increases cost;
the second technical problem is that: by software compatible multi-protocols, it may happen that two competing customers' protocols are run at the same time, for example, the protocols of both the ali and the kyoto are run simultaneously;
the technical problem three is as follows: the software coupling is high, and when the protocol function is changed, the complexity and the change efficiency are high.
Disclosure of Invention
The embodiment of the application provides a dynamic configuration method of a communication protocol, a wireless communication device and a household appliance, and solves the technical problems that in the prior art, wireless communication among multiple protocols is realized by software compatibility with multiple protocols, the software coupling is high, the protocols of two mutually competing clients can be operated at the same time, and the increase of chip resources and the increase of cost are caused. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
An embodiment of a first aspect of the present application provides a dynamic configuration method of a communication protocol, which is applied to a home appliance having a wireless communication device, where the wireless communication device includes a system-on-chip module and a flash memory module, the flash memory module has an engineering mode partition and a plurality of protocol partitions, the engineering mode partition stores a logic application for detecting a type of the wireless communication protocol supported by the home appliance, and each protocol partition stores an independently operable wireless communication protocol, and the dynamic configuration method includes:
when the household appliance is monitored to be powered on and started, loading a logic application in the engineering mode partition through a bootstrap program in the system-on-chip module, wherein the logic application is used for detecting a wireless communication protocol supported by the household appliance;
according to the detection result of the logic application, determining a target wireless communication protocol to be configured of the wireless communication device from a plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions;
modifying the loading address information of the bootstrap program into address information of a target protocol partition corresponding to the stored target wireless communication protocol, and restarting the wireless communication device; and
and loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program in the process of restarting the wireless communication device.
According to the dynamic configuration method of the communication protocol, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system-on-chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the wireless communication protocols correspondingly stored in the multiple protocol partitions according to the detection result of the logic application, the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device. Therefore, the dynamic configuration of the wireless communication protocols in the wireless communication device can be realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded to run by a bootstrap program at the same time can be ensured, the requirement on chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that two mutually competing clients operate the protocols at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
In a second aspect of the present application, a wireless communication device is provided, which is applied to a household appliance, and includes a system on chip module and a flash memory module, wherein,
the flash memory module is provided with an engineering mode partition and a plurality of protocol partitions, the engineering mode partition stores logic application used for detecting the type of the wireless communication protocol supported by the household appliance, and each protocol partition correspondingly stores an independently operable wireless communication protocol;
the system-on-chip module includes a boot program and a processor, the processor to:
when the household appliance is monitored to be powered on and started, loading a logic application in the engineering mode partition through a bootstrap program in the system-on-chip module, wherein the logic application is used for detecting a wireless communication protocol supported by the household appliance;
according to the detection result of the logic application, determining a target wireless communication protocol to be configured of the wireless communication device from a plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions;
modifying the loading address information of the bootstrap program into address information of a target protocol partition corresponding to the stored target wireless communication protocol, and restarting the wireless communication device;
and loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program in the process of restarting the wireless communication device.
According to the wireless communication device, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system-on-chip module, the logic application is used for detecting the wireless communication protocols supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the wireless communication protocols correspondingly stored in the multiple protocol partitions according to the detection result of the logic application, the loading address information of the bootstrap program is modified into the address information of the target protocol partition corresponding to the stored target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device. Therefore, the dynamic configuration of the wireless communication protocols in the wireless communication device can be realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded to run by a bootstrap program at the same time can be ensured, the requirement on chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that two mutually competing clients operate the protocols at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
An embodiment of a third aspect of the present application provides a household appliance, including: the wireless communication device as set forth in the second aspect of the embodiments of the present application.
A fourth aspect of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for dynamically configuring a communication protocol as set forth in the first aspect of the present application.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: on one hand, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system level chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions according to the detection result of the logic application, then the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device, so that the problem that the wireless communication among the plurality of protocols is realized through software compatibility with the plurality of protocols in the prior art can be effectively solved, the software coupling is high, the protocols of two mutually competing clients can be operated at the same time, and the technical problems of increasing chip resources and cost are caused, so that the dynamic configuration of the wireless communication protocol in the wireless communication device is realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded by a bootstrap program to operate at the same time can be ensured, the requirement on the chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that the protocols of the two mutually competing clients are operated at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
On the other hand, the wireless WiFi communication device which is high in popularization rate and mature in technology is adopted as the wireless communication device, so that the applicability of the method can be improved.
In another aspect, when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, a preset default wireless communication protocol is found out from the plurality of wireless communication protocols, and the default wireless communication protocol is used as the target wireless communication protocol, so that the success rate of loading the target wireless communication protocol by the bootstrap program can be ensured, the situation that the target wireless communication protocol cannot be loaded by the bootstrap program is prevented, and the wireless communication device can normally communicate.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a method for dynamically configuring a communication protocol according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a protocol partition table of a flash memory module according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a header address of a target protocol partition in an embodiment of the present application;
fig. 4 is a flowchart illustrating a dynamic configuration method of a communication protocol according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless communication device according to a third embodiment of the present application.
Detailed Description
The method for dynamically configuring the communication protocol mainly aims at the technical problems that in the prior art, wireless communication among multiple protocols is realized through software compatibility with multiple protocols, software coupling is high, two mutually competing clients can run at the same time, and chip resources and cost are increased.
According to the dynamic configuration method of the communication protocol, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system-on-chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the wireless communication protocols correspondingly stored in the multiple protocol partitions according to the detection result of the logic application, the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device. Therefore, the dynamic configuration of the wireless communication protocols in the wireless communication device can be realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded to run by a bootstrap program at the same time can be ensured, the requirement on chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that two mutually competing clients operate the protocols at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
In order to better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments. Before describing the embodiments of the present application in detail, for the sake of understanding, common technical terms are first introduced:
the boot program (Bootloader) is a program for booting the operating system, which runs before the operating system kernel runs, and can initialize hardware devices and establish a memory space mapping diagram, so that the software and hardware environment of the system reaches a proper state, and a correct environment is prepared for finally calling the operating system kernel.
Example one
Fig. 1 is a flowchart illustrating a dynamic configuration method of a communication protocol according to an embodiment of the present application.
The embodiment of the present application is exemplified by configuring the dynamic configuration method of the communication protocol in a wireless communication device, where the wireless communication device may be applied to a household appliance, and the household appliance may be, for example, a household air conditioner, a television, a refrigerator, and other intelligent household appliances.
The hardware of the household appliance mainly comprises an electric control module and a wireless communication device. The electric control module is used as the central nerve of the whole household appliance and has control and protection functions on the household appliance, for example, the electric control module of the variable frequency air conditioner has the functions of a frequency converter, a temperature controller, a timer, a protector and the like. A wireless communication device belongs to the transmission layer of the Internet of things, has the function of converting a serial port or TTL level into an embedded module which accords with the wireless network communication standard and is embedded into household appliances so as to realize networking, intellectualization and digitization of the household appliances.
In this embodiment, the wireless communication device may include a system on chip module and a flash memory module, where the flash memory module has an engineering mode partition and a plurality of protocol partitions, the engineering mode partition stores a logic application for detecting a wireless communication protocol type supported by the home appliance, and each protocol partition stores an independently operable wireless communication protocol.
For example, taking the WIreless communication device as a WIreless-Fidelity (WiFi) communication device (or referred to as a WiFi module), and the WIreless communication protocol as a WIreless WiFi communication protocol as an example, the main components of the WiFi module are: a WiFi SOC chip (i.e., a system on a chip) and a Flash memory module (Flash). The flash memory module may have an engineering mode partition for storing a logic application for detecting a type of a wireless communication protocol supported by the home appliance, and a plurality of protocol partitions, each of which may store an independently operable wireless communication protocol, that is, each of which is an application of an operating system + a protocol function. It is understood that each partition in the flash memory module corresponds to a partition address, and each partition has an independent corresponding space size.
As an example, the partition table of the flash memory module may be as shown in fig. 2, where fig. 2 is a schematic view of the partition table of the flash memory module in this embodiment. The partition table only lists partition schematic diagrams of multiple protocols, and each partition in the partition table sequentially stores corresponding protocols. For example, partition 1 may be an engineering mode partition, in which a logic application for detecting the type of wireless communication protocol supported by the household appliance is stored, and the corresponding partition Address is Address0, and the corresponding space size is size 0; the partitions 2, 3, 4 and … are protocol partitions, wherein the household appliance protocol is stored in the partition 2, the corresponding partition Address is Address1, and the corresponding space size is size 1; the protocol partition 3 stores a protocol of household appliance + e-commerce 1 (such as the kyoto), the corresponding partition Address is Address2, and the corresponding space size is size 2; the protocol partition 4 stores a household appliance + e-commerce 2 (such as ali) protocol, the corresponding partition Address is Address3, and the corresponding space size is size 3; in the protocol section 5, the household appliance + C protocol, etc. are stored, which are not listed here.
As shown in fig. 1, the method for dynamically configuring the communication protocol includes the following steps:
step 101, when the household appliance is monitored to be powered on and started, loading a logic application in the engineering mode partition through a bootstrap program in the system level chip module, wherein the logic application is used for detecting a wireless communication protocol supported by the household appliance.
In practical applications, when the household appliance leaves a factory, the wireless communication device therein may be compatible with a plurality of protocols, so that after a user purchases the household appliance home, if the wireless communication protocol used by the internet of things at home is not consistent with the default communication protocol of the wireless communication device in the household appliance, at this time, the wireless communication protocol currently configured by the wireless communication device needs to be updated.
In the embodiment of the application, when the household appliance is powered on and started, the wireless communication protocol in the wireless communication device can be configured. Specifically, the user may control the household appliance to be powered on and started, for example, a terminal device of the user may be bound to the household appliance, and the user may control the household appliance to be powered on and started through the terminal device, or the user may directly control the household appliance to be powered on and started by touching a power key on the household appliance, or the user may control the household appliance to be powered on and started through a remote controller of the household appliance, or the user may set a fixed turn-on or turn-off time of the household appliance, which is not limited to this. The household appliance can be provided with a monitor to monitor the power-on starting operation triggered by the user, and when the power-on starting operation triggered by the user is monitored, the household appliance can be powered on and started.
The terminal device can be a hardware device with various operating systems, curved touch screens and/or display screens, such as a mobile phone, a tablet computer, a personal digital assistant and a wearable device.
In the embodiment of the application, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition can be loaded through the bootstrap program in the system-on-chip module, wherein the logic application is used for detecting the wireless communication protocol supported by the household appliance.
Optionally, the default address in the loading address information may be read by the bootstrap program to load the logic application in the engineering mode partition, where the logic application is configured to read the model or protocol standard parameter, and detect the wireless communication protocol supported by the home appliance through the model or protocol standard parameter. The default Address is preset, for example, the default Address may be Address information corresponding to the first protocol partition, such as Address1 in fig. 2. For example, the wireless communication protocol supported by the household appliance may be determined from a pre-established comparison table according to model or protocol standard parameters of the household appliance. The pre-established comparison table may have a correspondence between a model and a wireless communication protocol type, or a correspondence between a protocol standard parameter and a wireless communication protocol type. For example, the protocol standard parameter is used to indicate an identifier of a type of wireless communication protocol supported by the household appliance, for example, the protocol standard parameter is 01, which may be denoted as a type a wireless communication protocol, the protocol standard parameter is 02, which may be denoted as a type B wireless communication protocol, and the like.
As an example, when it is monitored that the household appliance is powered on and started, a default address in the loading address information may be acquired, the loading address information of the bootstrap program is modified into the default address, then, the wireless communication device may be restarted, and the modified default address in the loading address information is loaded through the bootstrap program, so as to load a logic application in the engineering mode partition, where the logic application is configured to send an instruction for reading a model or protocol standard parameter to an electronic control module of the household appliance, and detect a wireless communication protocol supported by the household appliance through the model or protocol standard parameter.
For example, as shown in fig. 3, Address2 is an Address for the bootstrap program to read the loaded Address information, after the loaded Address is read, the Address2 Address value becomes 0x1234, and 0x1234 is the first Address corresponding to the logical application that needs to be actually run to detect the wireless communication protocol supported by the home appliance. That is, when the household appliance is monitored to be powered on and started, the loading address information of the bootstrap program can be modified to a default address (the first address is 0x1234), and then the wireless communication device is restarted. When the wireless communication device is restarted, in the boot program starting process, the first address 0x1234 in the loading address information is read, and the corresponding engineering mode partition is found through the first address, so that the loading of the logic application in the engineering mode partition is realized. When the logic application is in operation, the logic application can send an instruction for reading the model or protocol standard to the electric control module of the household appliance, and can detect which wireless communication protocol the household appliance supports according to the model or protocol standard when the model or protocol standard fed back by the electric control module is obtained.
And step 102, determining a target wireless communication protocol to be configured by the wireless communication device from a plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions according to the detection result of the logic application.
In the embodiment of the application, after the logic application detects the wireless communication protocols supported by the household appliance through model or protocol standard parameters, a target wireless communication protocol to be configured of the wireless communication device can be determined from a plurality of wireless communication protocols correspondingly stored in a plurality of protocol partitions according to a detection result of the logic application. That is, in the present application, it is possible to detect which wireless communication protocol is supported by the home appliance according to the model or the protocol standard parameter, and use the wireless communication protocol supported by the home appliance as the wireless communication protocol (i.e., the target wireless communication protocol) to which the wireless communication device is to be configured.
And 103, modifying the loading address information of the bootstrap program into the address information of the target protocol partition corresponding to the stored target wireless communication protocol, and restarting the wireless communication device.
In the embodiment of the application, each protocol partition in the flash memory module corresponds to one partition address, and each protocol partition has an independent corresponding space size. After the target wireless communication protocol to be configured by the wireless communication device is determined, the target protocol partition corresponding to the stored target wireless communication protocol can be determined, so that the address information of the target protocol partition can be determined.
Optionally, a corresponding relationship between each protocol partition, the wireless communication protocol stored in the protocol partition, and the address information of the protocol partition may be pre-established, and after a target wireless communication protocol to be configured by the wireless communication device is determined, the corresponding relationship may be queried to obtain the address information of the target protocol partition corresponding to the target wireless communication protocol.
It should be noted that the address information may be a first address of the target protocol partition, for example, referring to fig. 2 and fig. 3, assuming that the target wireless communication protocol is protocol 2, it may be determined that the address information of the target protocol partition corresponding to the storage protocol 2 is: address2, assuming that the first Address corresponding to the protocol partition storing protocol 2 is: 0x1234, it may be determined that the address information of the target partition is 0x 1234.
In the embodiment of the application, after the address information of the target protocol partition of the target wireless communication protocol is determined, the current loading address information of the boot program in the system-on-chip module may be modified to the address information of the target protocol partition of the corresponding storage target wireless communication protocol, so that the boot program loads the target wireless communication protocol stored in the target protocol partition according to the address information of the target protocol partition. Further, since the identification of the target protocol partition is performed in the boot program, the wireless communication apparatus needs to be restarted when the currently loaded address information of the boot program is modified.
And 104, loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program in the process of restarting the wireless communication device.
In the embodiment of the application, in the process of restarting the wireless communication device, the target wireless communication protocol stored in the target protocol partition can be loaded to run through the bootstrap program according to the address information of the target protocol partition. Still taking the above example as an example, after determining that the head address of the target protocol partition is 0x1234, the bootstrap program may load the corresponding protocol 2 according to the head address to run.
In the embodiment of the application, wireless communication among multiple protocols is realized by adopting a partition loading mode, so that the condition that a bootstrap program only loads one target wireless communication protocol to operate at the same time can be ensured, the requirement on chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that two mutually competing clients operate the protocols at the same time can be avoided. And the software coupling can be reduced, for example, when the function of the protocol 3 needs to be changed, only the code corresponding to the protocol 3 needs to be changed, and the codes corresponding to other protocols do not need to be changed, so that the complexity of the function change of the protocol can be reduced, and the change efficiency is improved. In addition, when the household appliance is produced, only the supported wireless communication protocol needs to be written, the firmware can be commonly used in a plurality of products, the applicability of the method can be improved, and the complexity in production can be reduced.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
on one hand, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system level chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions according to the detection result of the logic application, then the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device, so that the problem that the wireless communication among the plurality of protocols is realized through software compatibility with the plurality of protocols in the prior art can be effectively solved, the software coupling is high, the protocols of two mutually competing clients can be operated at the same time, and the technical problems of increasing chip resources and cost are caused, so that the dynamic configuration of the wireless communication protocol in the wireless communication device is realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded by a bootstrap program to operate at the same time can be ensured, the requirement on the chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that the protocols of the two mutually competing clients are operated at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
On the other hand, the wireless WiFi communication device which is high in popularization rate and mature in technology is adopted as the wireless communication device, so that the applicability of the method can be improved.
For clarity of the above embodiment, another dynamic configuration method of a communication protocol is provided in the embodiments of the present application, see embodiment two.
Example two
Fig. 4 is a flowchart illustrating a dynamic configuration method of a communication protocol according to a second embodiment of the present application.
As shown in fig. 4, the method for dynamically configuring a communication protocol may include the following steps:
step 201, when the household appliance is monitored to be powered on and started, loading the logic application in the engineering mode partition through a bootstrap program in the system level chip module, wherein the logic application is used for detecting the wireless communication protocol supported by the household appliance.
The execution process of step 201 may refer to the execution process of step 101 in the above embodiments, which is not described herein again.
Step 202, determining whether the logic application detects a corresponding wireless communication protocol according to the model or protocol standard parameters, and if so, executing step 203, otherwise, executing step 204.
In this embodiment of the application, after the logic application determines, according to the model or the protocol standard parameter, the wireless communication protocol corresponding to the model or the protocol standard parameter, it may be determined whether the wireless communication protocol determined by the logic application exists in a plurality of wireless communication protocols that should be stored in a plurality of protocol partitions, and specifically, it may be determined whether each protocol partition in the flash memory module is traversed to match the wireless communication protocol stored in each protocol partition with the wireless communication protocol determined by the logic application, and if the wireless communication protocol determined by the logic application exists in the plurality of wireless communication protocols, if the wireless communication protocol determined by the logic application is matched, step 203 may be executed, otherwise, step 204 is executed.
And step 203, taking the wireless communication protocol corresponding to the model or protocol standard parameter as a target wireless communication protocol.
In this embodiment of the application, when the logic application detects that the corresponding wireless communication protocol exists in the plurality of wireless communication protocols according to the model or protocol standard parameter, the wireless communication protocol corresponding to the model or protocol standard parameter may be used as the target wireless communication protocol. For example, when the logical application detects that the corresponding wireless communication protocol exists in the plurality of wireless communication protocols according to the model, the wireless communication protocol corresponding to the model may be taken as the target wireless communication protocol. Alternatively, when the logic application detects that the corresponding wireless communication protocol exists in the plurality of wireless communication protocols according to the protocol standard parameters, the wireless communication protocol corresponding to the protocol standard parameters may be taken as the target wireless communication protocol.
Step 204, finding out a preset default wireless communication protocol from the plurality of wireless communication protocols, and taking the default wireless communication protocol as a target wireless communication protocol.
In this embodiment of the application, the default wireless communication protocol may be preset for a built-in program of the household appliance, or the default wireless communication protocol may be set by a user, which is not limited to this. For example, when the default wireless communication protocol is preset for a built-in program of the household appliance, the default wireless communication protocol may be specified as a wireless communication protocol stored corresponding to a protocol partition arranged at the first position in the plurality of protocol partitions, for example, the protocol 1 in fig. 2, or the default wireless communication protocol may be a wireless communication protocol stored corresponding to any one protocol partition in the plurality of protocol partitions, for example, a wireless communication protocol stored corresponding to a protocol partition arranged at the last position, or the default wireless communication protocol may also be a wireless communication protocol currently configured by the wireless communication device, which is not limited thereto.
In the embodiment of the application, when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model, or when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the protocol standard parameters, a preset default wireless communication protocol can be found out from the plurality of wireless communication protocols, and the default wireless communication protocol is used as the target wireless communication protocol.
For example, when the default wireless communication protocol may be a wireless communication protocol stored in correspondence with a protocol partition arranged at the first bit in the plurality of protocol partitions, the protocol partition arranged at the first bit may be found from the plurality of protocol partitions, and then the wireless communication protocol stored in correspondence with the protocol partition arranged at the first bit is determined as the default wireless communication protocol, such as protocol 1 in fig. 2, and then the default wireless communication protocol is taken as the target wireless communication protocol.
Step 205, modify the loading address information of the bootstrap program into the address information of the target protocol partition corresponding to the storage target wireless communication protocol, and restart the wireless communication device.
Step 206, loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program in the process of restarting the wireless communication device.
The process of step 205-206 may refer to the process of step 103-104 in the above embodiments, which is not described herein again.
Compared with the previous embodiment, the technical solution in the embodiment of the present application at least has the following further technical effects or advantages:
when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, the preset default wireless communication protocol is found out from the plurality of wireless communication protocols, and the default wireless communication protocol is used as the target wireless communication protocol, so that the success rate of the bootstrap program for loading the target wireless communication protocol can be ensured, the condition that the bootstrap program cannot load the target wireless communication protocol is prevented, and the wireless communication device can normally communicate.
Based on the same inventive concept, the embodiment of the present application further provides apparatuses corresponding to the methods in the first to second embodiments, see the third embodiment.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a wireless communication device according to a third embodiment of the present application.
As shown in fig. 5, the wireless communication device 100 is applied to a household appliance, and the wireless communication device 100 includes a system-on-chip module 110 and a flash memory module 120, wherein,
the flash memory module 120 has an engineering mode partition 121 and a plurality of protocol partitions 122, wherein the engineering mode partition 121 stores a logic application for detecting a type of wireless communication protocol supported by the home appliance, and each protocol partition stores an independently operable wireless communication protocol.
The system-on-chip module 110 includes a boot program 111 and a processor 112, the processor 112 is configured to: when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition 121 is loaded through the bootstrap program 111 in the system-on-chip module 110, and the logic application is used for detecting the wireless communication protocol supported by the household appliance.
According to the detection result of the logic application, a target wireless communication protocol to be configured by the wireless communication device 100 is determined from the plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions 122.
The loading address information of the boot program is modified to address information corresponding to the target protocol partition storing the target wireless communication protocol, and the wireless communication apparatus 100 is restarted.
During the reboot of the wireless communication device 100, the target wireless communication protocol stored in the target protocol partition is loaded by the boot program 111.
As a possible implementation, the processor 112 is specifically configured to: and reading a default address in the loading address information through the bootstrap program 111 to load a logic application in the engineering mode partition 121, wherein the logic application is used for reading model or protocol standard parameters and detecting a wireless communication protocol supported by the household appliance through the model or protocol standard parameters.
As a possible implementation, the processor 112 is specifically configured to: when the logic application detects that the corresponding wireless communication protocol exists in a plurality of wireless communication protocols according to the model or protocol standard parameters, taking the wireless communication protocol corresponding to the model or protocol standard parameters as a target wireless communication protocol; when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, finding out a preset default wireless communication protocol from the plurality of wireless communication protocols, and taking the default wireless communication protocol as a target wireless communication protocol.
As one possible implementation, the processor 112 is configured to: finding a protocol partition arranged at a first bit from a plurality of protocol partitions; and determining the wireless communication protocol corresponding to the protocol partition arranged at the first bit as a default wireless communication protocol.
As one possible implementation, the wireless communication device 100 is a wireless WiFi communication device; the wireless communication protocol is a wireless WiFi communication protocol.
It should be noted that the explanations of the embodiments of the dynamic configuration method for two-pair communication protocols in the first to third embodiments are also applicable to the wireless communication device 100 of the embodiment, and are not repeated herein.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
on one hand, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system level chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions according to the detection result of the logic application, then the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device, so that the problem that the wireless communication among the plurality of protocols is realized through software compatibility with the plurality of protocols in the prior art can be effectively solved, the software coupling is high, the protocols of two mutually competing clients can be operated at the same time, and the technical problems of increasing chip resources and cost are caused, so that the dynamic configuration of the wireless communication protocol in the wireless communication device is realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded by a bootstrap program to operate at the same time can be ensured, the requirement on the chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that the protocols of the two mutually competing clients are operated at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
On the other hand, the wireless WiFi communication device which is high in popularization rate and mature in technology is adopted as the wireless communication device, so that the applicability of the method can be improved.
In another aspect, when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, a preset default wireless communication protocol is found out from the plurality of wireless communication protocols, and the default wireless communication protocol is used as the target wireless communication protocol, so that the success rate of loading the target wireless communication protocol by the bootstrap program can be ensured, the situation that the target wireless communication protocol cannot be loaded by the bootstrap program is prevented, and the wireless communication device can normally communicate.
Since the wireless communication device 100 described in the third embodiment of the present application is a device for implementing the methods of the first to second embodiments of the present application, those skilled in the art can understand the specific structure and variations of the device based on the methods described in the first to second embodiments of the present application, and thus will not be described herein again. All the devices adopted in the methods of the first to second embodiments of the present application fall within the intended scope of the present application.
Based on the same inventive concept, the embodiment of the present application further provides the home appliances corresponding to the methods of the first to second embodiments, see the fourth embodiment.
Example four
The domestic appliance of the embodiment of this application includes: the wireless communication device 100 as proposed in the third embodiment of the present application.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
on one hand, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system level chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions according to the detection result of the logic application, then the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device, so that the problem that the wireless communication among the plurality of protocols is realized through software compatibility with the plurality of protocols in the prior art can be effectively solved, the software coupling is high, the protocols of two mutually competing clients can be operated at the same time, and the technical problems of increasing chip resources and cost are caused, so that the dynamic configuration of the wireless communication protocol in the wireless communication device is realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded by a bootstrap program to operate at the same time can be ensured, the requirement on the chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that the protocols of the two mutually competing clients are operated at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
On the other hand, the wireless WiFi communication device which is high in popularization rate and mature in technology is adopted as the wireless communication device, so that the applicability of the method can be improved.
In another aspect, when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, a preset default wireless communication protocol is found out from the plurality of wireless communication protocols, and the default wireless communication protocol is used as the target wireless communication protocol, so that the success rate of loading the target wireless communication protocol by the bootstrap program can be ensured, the situation that the target wireless communication protocol cannot be loaded by the bootstrap program is prevented, and the wireless communication device can normally communicate.
Since the household appliance described in the fourth embodiment of the present application is a household appliance used for implementing the device described in the third embodiment of the present application, based on the device described in the third embodiment of the present application, a person skilled in the art can understand the specific structure and the deformation of the household appliance, and thus the details are not described herein. All household appliances adopted by the device in the third embodiment of the present application belong to the protection scope of the present application.
Based on the same inventive concept, the embodiment of the present application further provides a non-transitory computer-readable storage medium corresponding to the method in the first embodiment to the second embodiment, which is shown in the fifth embodiment.
EXAMPLE five
The non-transitory computer readable storage medium of the embodiment of the present application, on which the computer program is stored, is characterized in that the program, when executed by the processor, implements the method for dynamically configuring the communication protocol as set forth in the foregoing embodiments one to two of the present application.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
on one hand, when the household appliance is monitored to be powered on and started, the logic application in the engineering mode partition is loaded through the bootstrap program in the system level chip module, the logic application is used for detecting the wireless communication protocol supported by the household appliance, then the target wireless communication protocol to be configured of the wireless communication device is determined from the plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions according to the detection result of the logic application, then the loading address information of the bootstrap program is modified into the address information of the target protocol partition correspondingly storing the target wireless communication protocol, the wireless communication device is restarted, and finally the target wireless communication protocol stored in the target protocol partition is loaded through the bootstrap program in the restarting process of the wireless communication device, so that the problem that the wireless communication among the plurality of protocols is realized through software compatibility with the plurality of protocols in the prior art can be effectively solved, the software coupling is high, the protocols of two mutually competing clients can be operated at the same time, and the technical problems of increasing chip resources and cost are caused, so that the dynamic configuration of the wireless communication protocol in the wireless communication device is realized, the wireless communication among various protocols is realized by adopting a partition loading mode, the condition that only one target wireless communication protocol is loaded by a bootstrap program to operate at the same time can be ensured, the requirement on the chip resources can be reduced, the production cost is reduced, and meanwhile, the condition that the protocols of the two mutually competing clients are operated at the same time can be avoided. In addition, the software coupling can be reduced, and the complexity of protocol function change is reduced, so that the change efficiency is improved.
On the other hand, the wireless WiFi communication device which is high in popularization rate and mature in technology is adopted as the wireless communication device, so that the applicability of the method can be improved.
In another aspect, when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, a preset default wireless communication protocol is found out from the plurality of wireless communication protocols, and the default wireless communication protocol is used as the target wireless communication protocol, so that the success rate of loading the target wireless communication protocol by the bootstrap program can be ensured, the situation that the target wireless communication protocol cannot be loaded by the bootstrap program is prevented, and the wireless communication device can normally communicate.
Since the non-transitory computer-readable storage medium described in the fifth embodiment of the present application is a non-transitory computer-readable storage medium used for implementing the method in the first to second embodiments of the present application, a person skilled in the art can understand a specific structure and a modification of the computer-readable storage medium based on the method described in the first to second embodiments of the present application, and thus details are not described herein again. Any non-transitory computer readable storage medium used in the methods of embodiments one through two of the present application is intended to be within the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, device, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. A dynamic configuration method of a communication protocol is applied to a household appliance with a wireless communication device, the wireless communication device comprises a system-on-chip module and a flash memory module, the flash memory module has an engineering mode partition and a plurality of protocol partitions, the engineering mode partition stores a logic application for detecting the type of the wireless communication protocol supported by the household appliance, each protocol partition correspondingly stores an independently operable wireless communication protocol, the wireless communication protocols stored by the plurality of protocol partitions comprise protocols of at least two mutually competing clients, and the dynamic configuration method comprises the following steps:
when the household appliance is monitored to be powered on and started, loading a logic application in the engineering mode partition through a bootstrap program in the system-on-chip module, wherein the logic application is used for detecting a wireless communication protocol supported by the household appliance;
according to the detection result of the logic application, determining a target wireless communication protocol to be configured of the wireless communication device from a plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions;
modifying the loading address information of the bootstrap program into address information of a target protocol partition corresponding to the stored target wireless communication protocol, and restarting the wireless communication device; and
and loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program in the process of restarting the wireless communication device.
2. The method according to claim 1, wherein loading a logic application in the engineering mode partition through a boot program in the system-on-chip module, the logic application being configured to detect a wireless communication protocol supported by a home appliance, comprises:
and reading a default address in the loading address information through the bootstrap program to load a logic application in the engineering mode partition, wherein the logic application is used for reading a model or protocol standard parameter and detecting a wireless communication protocol supported by the household appliance through the model or protocol standard parameter.
3. The method of claim 2, wherein determining a target wireless communication protocol to be configured for the wireless communication device from a plurality of wireless communication protocols stored in correspondence with the plurality of protocol partitions according to the detection result of the logic application comprises:
when the logic application detects that the corresponding wireless communication protocol exists in the plurality of wireless communication protocols according to the model or protocol standard parameters, taking the wireless communication protocol corresponding to the model or protocol standard parameters as the target wireless communication protocol;
when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, finding out a preset default wireless communication protocol from the plurality of wireless communication protocols, and taking the default wireless communication protocol as the target wireless communication protocol.
4. The method of claim 3, wherein finding a default wireless communication protocol from the plurality of wireless communication protocols comprises:
finding a protocol partition arranged at a first bit from the plurality of protocol partitions;
and determining the wireless communication protocol corresponding to the protocol partition arranged at the first bit as the default wireless communication protocol.
5. The method of claim 1, wherein the wireless communication device is a wireless WiFi communication device.
6. A wireless communication device applied to a household appliance comprises a system-on-chip module and a flash memory module, wherein,
the flash memory module is provided with an engineering mode partition and a plurality of protocol partitions, the engineering mode partition stores logic application used for detecting the type of the wireless communication protocol supported by the household appliance, each protocol partition correspondingly stores an independently operable wireless communication protocol, and the wireless communication protocols stored by the plurality of protocol partitions comprise protocols of at least two mutually competing clients;
the system-on-chip module includes a boot program and a processor, the processor to:
when the household appliance is monitored to be powered on and started, loading a logic application in the engineering mode partition through a bootstrap program in the system-on-chip module, wherein the logic application is used for detecting a wireless communication protocol supported by the household appliance;
according to the detection result of the logic application, determining a target wireless communication protocol to be configured of the wireless communication device from a plurality of wireless communication protocols correspondingly stored in the plurality of protocol partitions;
modifying the loading address information of the bootstrap program into address information of a target protocol partition corresponding to the stored target wireless communication protocol, and restarting the wireless communication device;
and loading the target wireless communication protocol stored in the target protocol partition by the bootstrap program in the process of restarting the wireless communication device.
7. The wireless communications apparatus of claim 6, wherein the processor is further configured to:
and reading a default address in the loading address information through the bootstrap program to load a logic application in the engineering mode partition, wherein the logic application is used for reading a model or protocol standard parameter and detecting a wireless communication protocol supported by the household appliance through the model or protocol standard parameter.
8. The wireless communications apparatus of claim 7, wherein the processor is configured to:
when the logic application detects that the corresponding wireless communication protocol exists in the plurality of wireless communication protocols according to the model or protocol standard parameters, taking the wireless communication protocol corresponding to the model or protocol standard parameters as the target wireless communication protocol;
when the logic application detects that the corresponding wireless communication protocol does not exist in the plurality of wireless communication protocols according to the model or protocol standard parameters, finding out a preset default wireless communication protocol from the plurality of wireless communication protocols, and taking the default wireless communication protocol as the target wireless communication protocol.
9. The wireless communications apparatus of claim 8, wherein the processor is configured to:
finding a protocol partition arranged at a first bit from the plurality of protocol partitions;
and determining the wireless communication protocol corresponding to the protocol partition arranged at the first bit as the default wireless communication protocol.
10. The wireless communication device of claim 6, wherein the wireless communication device is a wireless WiFi communication device.
11. A household appliance, characterized in that it comprises: the wireless communication device of any of claims 6 to 10.
12. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method for dynamic configuration of a communication protocol according to any one of claims 1 to 5.
CN201810847226.3A 2018-07-27 2018-07-27 Dynamic configuration method of communication protocol, wireless communication device and household appliance Active CN108965018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810847226.3A CN108965018B (en) 2018-07-27 2018-07-27 Dynamic configuration method of communication protocol, wireless communication device and household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810847226.3A CN108965018B (en) 2018-07-27 2018-07-27 Dynamic configuration method of communication protocol, wireless communication device and household appliance

Publications (2)

Publication Number Publication Date
CN108965018A CN108965018A (en) 2018-12-07
CN108965018B true CN108965018B (en) 2021-08-20

Family

ID=64466277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810847226.3A Active CN108965018B (en) 2018-07-27 2018-07-27 Dynamic configuration method of communication protocol, wireless communication device and household appliance

Country Status (1)

Country Link
CN (1) CN108965018B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113207A (en) * 2019-05-08 2019-08-09 广州创想云科技有限公司 A kind of method for updating protocol based on Internet of Things, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489298A (en) * 2013-09-10 2014-01-01 无锡聚为传感科技有限公司 Multi-protocol wireless meter reading device
CN103645924A (en) * 2013-12-27 2014-03-19 金三立视频科技(深圳)有限公司 Method and device for managing program parameters of embedded device
CN105160282A (en) * 2015-07-31 2015-12-16 美的集团股份有限公司 Machine type selecting system and method and domestic appliance
CN106440386A (en) * 2016-09-24 2017-02-22 广东万家乐燃气具有限公司 WiFi water heater using multiple protocols
CN107018050A (en) * 2017-03-09 2017-08-04 广东美的制冷设备有限公司 Appliances equipment control method, Internet of Things module and home appliance

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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489298A (en) * 2013-09-10 2014-01-01 无锡聚为传感科技有限公司 Multi-protocol wireless meter reading device
CN103645924A (en) * 2013-12-27 2014-03-19 金三立视频科技(深圳)有限公司 Method and device for managing program parameters of embedded device
CN105160282A (en) * 2015-07-31 2015-12-16 美的集团股份有限公司 Machine type selecting system and method and domestic appliance
CN106440386A (en) * 2016-09-24 2017-02-22 广东万家乐燃气具有限公司 WiFi water heater using multiple protocols
CN107018050A (en) * 2017-03-09 2017-08-04 广东美的制冷设备有限公司 Appliances equipment control method, Internet of Things module and home appliance

Also Published As

Publication number Publication date
CN108965018A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN109067734B (en) Dynamic configuration method of communication protocol, wireless communication device and household appliance
CN105116734A (en) Control device and device for intelligent household electrical appliance and control terminal
CN110784538B (en) Household appliance configuration file generation method and device, household appliance and storage medium
CN112612214B (en) Method and system for generating functional interface and electronic equipment
CN111245714B (en) Access method and device of home gateway module, storage medium and electronic device
CN109067735B (en) Dynamic configuration method of communication protocol, wireless communication device and intelligent equipment
CN108989117B (en) Configuration method of communication protocol, wireless communication device and household appliance
CN109842515B (en) Method for multi-device network distribution, server and computer storage medium
AU2013388030A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN114019817A (en) Control method and control device of intelligent household equipment and Internet of things system
JP2016115338A (en) Device, system and method for allocating identifiers to components of control system
CN108965018B (en) Dynamic configuration method of communication protocol, wireless communication device and household appliance
CN108965019B (en) Dynamic configuration method of communication protocol, wireless communication device and related equipment
CN109471651A (en) A kind of firmware upgrade method, gateway and firmware upgrade system
CN104158709A (en) Optical module identification method and port extender
WO2019100704A1 (en) Starting method for multi-mode iot device, multi-mode iot device, and storage medium
CN112188486B (en) Household appliance, networking method thereof, local area network system and storage medium
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
CN112019409A (en) Equipment distribution network processing method, equipment distribution network processing device and electronic equipment
CN112311736A (en) Remote control device, household appliance and communication protocol configuration method and device thereof
CN111459034A (en) Household appliance
CN107613354B (en) Android-based method for enabling smart television to be compatible with various key boards
CN113564863B (en) Washing program control method of washing machine, server and washing machine
WO2018090381A1 (en) Connecting device between accessing terminals and radio communication device
CN118567582B (en) Storage server cluster starting method and storage server cluster

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