CN109067734A - Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol - Google Patents

Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol Download PDF

Info

Publication number
CN109067734A
CN109067734A CN201810847216.XA CN201810847216A CN109067734A CN 109067734 A CN109067734 A CN 109067734A CN 201810847216 A CN201810847216 A CN 201810847216A CN 109067734 A CN109067734 A CN 109067734A
Authority
CN
China
Prior art keywords
wireless communication
protocol
communication device
communication protocol
address information
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.)
Granted
Application number
CN201810847216.XA
Other languages
Chinese (zh)
Other versions
CN109067734B (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
Guangdong Midea Refrigeration 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 Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Guangdong Midea Refrigeration Equipment Co Ltd
Priority to CN201810847216.XA priority Critical patent/CN109067734B/en
Publication of CN109067734A publication Critical patent/CN109067734A/en
Application granted granted Critical
Publication of CN109067734B publication Critical patent/CN109067734B/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
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application proposes Dynamic Configuration, wireless communication device and the household electrical appliance of a kind of communication protocol, wherein, method includes: when determining that being intended to the wireless communication protocol presently configured to wireless communication device is updated, by the Logic application in the boot program loads engineering mode subregion in system level chip module, the wireless communication protocol that household electrical appliance are supported is detected;According to testing result, wireless communication device target wireless communication agreement to be configured is determined;The load address information of bootstrap is revised as to the address information of the target protocol subregion of corresponding storage target wireless communication agreement, and restarts wireless communication device;In wireless communication device restarting process, pass through the target wireless communication agreement of boot program loads target protocol partitioned storage.It solves high software coupling in the prior art, resources of chip height and technical problem at high cost, has reached the requirement reduced to resources of chip, reduced the technical effect of production cost and software coupling.

Description

Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
Technical field
This application involves field of communication technology more particularly to a kind of Dynamic Configurations of communication protocol, wireless communication dress It sets and household electrical appliance.
Background technique
With the fast development of Internet technology and household appliance technical field, more and more intelligence household electrical appliance are met the tendency of And it gives birth to.In order to realize the smart home of modernization, it is built-in with wireless communication device in more and more intelligence household electrical appliance, with Just intelligent appliance is connected on Internet of Things by the wireless communication device of itself.However, for communication protocol kind in intelligent appliance Class is more and more, is usually the wireless communication realized between various protocols by software compatibility multi-protocols in general industry.
But present inventor has found, at least the foregoing technology has the following technical problems:
Technical problem one: for the chip in wireless communication device, support that multiple agreements are inevitable on the same chip The increase of resources of chip can be brought, while also implying that the increase of cost;
Technical problem two: pass through software compatibility multi-protocols, it may occur however that synchronization runs two clients competed with one another for Agreement, such as run the agreement in Ali and Jingdone district simultaneously;
Technical problem three: software coupling is high, when protocol function change, leads to that complexity when change is higher, change Efficiency is lower.
Summary of the invention
The embodiment of the present application is by providing Dynamic Configuration, wireless communication device and the household electric of a kind of communication protocol Device solves the wireless communication realized in the prior art by software compatibility multi-protocols between various protocols, software coupling It is high, it may occur however that synchronization runs the agreement of two clients competed with one another for, and causes the increase and cost of resources of chip Increase the technical issues of, realize in wireless communication device wireless communication protocol carry out dynamic configuration, and using point The mode of area's load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads one Target wireless communication agreement is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be kept away Exempt from the case where synchronization runs the agreement of two clients competed with one another for generation.Furthermore it is possible to reduce software coupling, reduce Complexity when protocol function is changed, to promote change efficiency.
The application first aspect embodiment proposes a kind of Dynamic Configuration of communication protocol, is applied to wireless communication dress It sets, the wireless communication device includes system level chip module and flash memory module, and the flash memory module has engineering mode subregion With multiple protocol partitions, the engineering mode partitioned storage is to detect wireless communication protocol type that household electrical appliance are supported Logic application, each protocol partition is corresponding store one kind can independently operated wireless communication protocol, the dynamic configuration side Method includes:
When determining that being intended to the wireless communication protocol presently configured to the wireless communication device is updated, by described Logic application in engineering mode subregion described in boot program loads in system level chip module, the Logic application is for reading The type or consensus standard parameter of household electrical appliance are taken, and by the type or consensus standard parameter to detect the household electrical appliance The wireless communication protocol supported;
According to the testing result of the Logic application, the backup protocol stored from the electronic control module of the household electrical appliance point In the corresponding communication protocol of regional address information and multiple wireless communication protocols of the corresponding storage of the multiple protocol partition, determine Wireless communication device target wireless communication agreement to be configured;
The load address information of the bootstrap is revised as the corresponding target for storing the target wireless communication agreement The address information of protocol partition, and restart the wireless communication device;
In the wireless communication device restarting process, pass through target protocol partitioned storage described in the boot program loads Target wireless communication agreement.
The Dynamic Configuration of the communication protocol of the embodiment of the present application, by being intended to institute current to wireless communication device in determination When the wireless communication protocol of configuration is updated, by the boot program loads engineering mode subregion in system level chip module Logic application, Logic application is used to read the type or consensus standard parameter of household electrical appliance, and passes through type or consensus standard Parameter is to detect the wireless communication protocol that household electrical appliance are supported, then according to the testing result of Logic application, from household electrical appliance Electronic control module in the corresponding communication protocol of backup protocol partition address information that stores and the corresponding storage of multiple protocol partitions In multiple wireless communication protocols, wireless communication device target wireless communication agreement to be configured is determined, then by bootstrap Load address information be revised as corresponding storage target wireless communication agreement target protocol subregion address information, and restart nothing Line communication device passes through the mesh of boot program loads target protocol partitioned storage finally in wireless communication device restarting process Mark wireless communication protocol.Dynamic configuration is carried out to the wireless communication protocol in wireless communication device thus, it is possible to realize, and is adopted The wireless communication between various protocols is realized with the mode that subregion loads, it is ensured that in synchronization, bootstrap is only loaded One target wireless communication agreement is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can The case where running the agreement of two clients competed with one another for avoid synchronization generation.Furthermore it is possible to software coupling is reduced, Complexity when protocol function change is reduced, to promote change efficiency.
The application second aspect embodiment proposes a kind of wireless communication device, including flash memory module and system level chip mould Block, wherein
The flash memory module has engineering mode subregion and multiple protocol partitions, and the engineering mode partitioned storage is to examine The Logic application for the wireless communication protocol type that household electrical appliance are supported is surveyed, each protocol partition correspondence stores one kind can be only The wireless communication protocol of vertical operation;
The system level chip module includes bootstrap and processor, and the processor is used for:
When determining that being intended to the wireless communication protocol presently configured to the wireless communication device is updated, by described Logic application in engineering mode subregion described in boot program loads in system level chip module, the Logic application is for reading The type or consensus standard parameter of household electrical appliance are taken, and by the type or consensus standard parameter to detect the household electrical appliance The wireless communication protocol supported;
According to the testing result of the Logic application, the backup protocol stored from the electronic control module of the household electrical appliance point In the corresponding communication protocol of regional address information and multiple wireless communication protocols of the corresponding storage of the multiple protocol partition, determine Wireless communication device target wireless communication agreement to be configured;
The load address information of the bootstrap is revised as the corresponding target for storing the target wireless communication agreement The address information of protocol partition, and restart the wireless communication device;
In the wireless communication device restarting process, pass through target protocol partitioned storage described in the boot program loads Target wireless communication agreement.
The wireless communication device of the embodiment of the present application, by determine be intended to it is presently configured to wireless communication device wireless When communication protocol is updated, answered by the logic in the boot program loads engineering mode subregion in system level chip module With Logic application is used to read the type or consensus standard parameter of household electrical appliance, and by type or consensus standard parameter to examine The wireless communication protocol that household electrical appliance are supported is surveyed, then according to the testing result of Logic application, from the automatically controlled mould of household electrical appliance The corresponding communication protocol of backup protocol partition address information stored in block and multiple protocol partitions correspond to the multiple wireless of storage In communication protocol, wireless communication device target wireless communication agreement to be configured is determined, then by the load of bootstrap Location information is revised as the address information of the target protocol subregion of corresponding storage target wireless communication agreement, and restarts wireless communication dress It sets, it is logical by the Target Wireless of boot program loads target protocol partitioned storage finally in wireless communication device restarting process Believe agreement.Dynamic configuration is carried out to the wireless communication protocol in wireless communication device thus, it is possible to realize, and is added using subregion The mode of load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads a target Wireless communication protocol is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid same One moment ran the generation of the case where agreement of two clients competed with one another for.Furthermore it is possible to reduce software coupling, agreement is reduced Complexity when functionality change, to promote change efficiency.
The application third aspect embodiment proposes a kind of household electrical appliance, comprising: as the application second aspect embodiment mentions Wireless communication device out.
The application fourth aspect embodiment proposes another wireless communication device, which is characterized in that including flash memory module With system level chip module, wherein
The flash memory module has engineering mode subregion and multiple protocol partitions, and the engineering mode partitioned storage is to examine The Logic application for the wireless communication protocol type that household electrical appliance are supported is surveyed, each protocol partition correspondence stores one kind can be only The wireless communication protocol of vertical operation;
The system level chip module includes memory, processor and is stored on the memory and can be in the processing The computer program run on device when the processor executes described program, realizes that the application first aspect embodiment such as proposes Communication protocol Dynamic Configuration.
The 5th aspect embodiment of the application proposes a kind of non-transitorycomputer readable storage medium, is stored thereon with meter Calculation machine program, which is characterized in that the communication proposed such as the application first aspect embodiment is realized when the program is executed by processor The Dynamic Configuration of agreement.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: one Aspect passes through due to using when determining that being intended to the wireless communication protocol presently configured to wireless communication device is updated The Logic application in boot program loads engineering mode subregion in system level chip module, Logic application is for reading household electric The type or consensus standard parameter of device, and by type or consensus standard parameter to detect the wireless communication that household electrical appliance are supported Agreement, then according to the testing result of Logic application, the backup protocol partition address that is stored from the electronic control module of household electrical appliance In the corresponding communication protocol of information and multiple wireless communication protocols of the corresponding storage of multiple protocol partitions, wireless communication dress is determined Target wireless communication agreement to be configured is set, the load address information of bootstrap is then revised as corresponding storage Target Wireless The address information of the target protocol subregion of communication protocol, and restart wireless communication device, finally restarted in wireless communication device Cheng Zhong can efficiently solve existing skill by the target wireless communication agreement of boot program loads target protocol partitioned storage The wireless communication between various protocols is realized in art by software compatibility multi-protocols, software coupling is high, it may occur however that same Moment runs the agreement of two clients competed with one another for, and the increase of resources of chip and the increased technology of cost is caused to ask Topic, and then realize and dynamic configuration is carried out to the wireless communication protocol in wireless communication device, and using the side of subregion load Formula realizes the wireless communication between various protocols, it is ensured that in synchronization, it is logical that bootstrap only loads a Target Wireless Letter agreement is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid synchronization The case where running the agreement of two clients competed with one another for generation.Furthermore it is possible to reduce software coupling, protocol function is reduced more Complexity when changing, to promote change efficiency.
On the other hand, due to wireless WiFi communication device higher and technology maturation using popularity rate, as wireless Communication device can promote the applicability of this method.
Another aspect, due to using in Logic application according to type or consensus standard parameter detecting to corresponding channel radio When letter agreement is not existed in multiple wireless communication protocols, the reading for being directed to backup protocol partition address information is sent to electronic control module Instruction fetch reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module, then standby by what is read The corresponding communication protocol of part protocol partition address information may be implemented as wireless communication protocol more by Logic application judgement When the wireless communication protocol for not having household electrical appliance to be supported in multiple wireless communication protocols of a protocol partition storage, by that will draw The address that the load address of lead sequence backs up before reverting to, to guarantee the normal communication of wireless communication device.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of the Dynamic Configuration of communication protocol provided by the embodiment of the present application one;
Fig. 2 is that the protocol partition of the flash memory module in the embodiment of the present application indicates to be intended to;
Fig. 3 is the first address schematic diagram of target protocol subregion in the embodiment of the present application;
Fig. 4 is the flow diagram of the Dynamic Configuration of communication protocol provided by the embodiment of the present application two;
Fig. 5 is the flow diagram of the Dynamic Configuration of communication protocol provided by the embodiment of the present application three;
Fig. 6 is the structural schematic diagram of wireless communication device provided by the embodiment of the present application four;
Fig. 7 is the structural schematic diagram of wireless communication device provided by the embodiment of the present application six.
Specific embodiment
The application is mainly for the channel radio realized in the prior art by software compatibility multi-protocols between various protocols Letter, software coupling are high, it may occur however that synchronization runs the agreement of two clients competed with one another for, and causes resources of chip Increase and cost increase the technical issues of, a kind of Dynamic Configuration of communication protocol is provided.
The Dynamic Configuration of the communication protocol of the embodiment of the present application, by being intended to institute current to wireless communication device in determination When the wireless communication protocol of configuration is updated, by the boot program loads engineering mode subregion in system level chip module Logic application, Logic application is used to read the type or consensus standard parameter of household electrical appliance, and passes through type or consensus standard Parameter is to detect the wireless communication protocol that household electrical appliance are supported, then according to the testing result of Logic application, from household electrical appliance Electronic control module in the corresponding communication protocol of backup protocol partition address information that stores and the corresponding storage of multiple protocol partitions In multiple wireless communication protocols, wireless communication device target wireless communication agreement to be configured is determined, then by bootstrap Load address information be revised as corresponding storage target wireless communication agreement target protocol subregion address information, and restart nothing Line communication device passes through the mesh of boot program loads target protocol partitioned storage finally in wireless communication device restarting process Mark wireless communication protocol.Dynamic configuration is carried out to the wireless communication protocol in wireless communication device thus, it is possible to realize, and is adopted The wireless communication between various protocols is realized with the mode that subregion loads, it is ensured that in synchronization, bootstrap is only loaded One target wireless communication agreement is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can The case where running the agreement of two clients competed with one another for avoid synchronization generation.Furthermore it is possible to software coupling is reduced, Complexity when protocol function change is reduced, to promote change efficiency.
In order to better understand the above technical scheme, the exemplary reality of the application is more fully described below with reference to accompanying drawings Apply example.Although showing the exemplary embodiment of the application in attached drawing, it being understood, however, that may be realized in various forms this Shen Please and should not be limited by the embodiments set forth herein.It is to be able to thoroughly understand this on the contrary, providing these embodiments Application, and scope of the present application can be fully disclosed to those skilled in the art.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.Before specifically describing the embodiment of the present application, in order to make it easy to understand, first to common skill Art word is introduced:
Bootstrap (Bootloader) refers to the program of guidance os starting, runs in operating system nucleus It runs before, hardware device can be initialized, establish memory headroom mapping graph, so that the hardware environment of system reaches one A proper states, to be the ready correct environment of final call operation system kernel.
Embodiment one
Fig. 1 is the flow diagram of the Dynamic Configuration of communication protocol provided by the embodiment of the present application one.
The embodiment of the present application is configured in wireless communication device to illustrate with the Dynamic Configuration of the communication protocol Bright, which can be applied to household electrical appliance, and household electrical appliance can be for example the intelligence such as domestic air conditioning, TV, refrigerator It can household electrical appliances.
Wherein, the hardware of household electrical appliance mainly includes electronic control module and wireless communication device.Electronic control module is as entire family The nervous centralis of electrical appliance plays control and defencive function, such as the electronic control module of convertible frequency air-conditioner to household electrical appliance, plays frequency conversion The functions such as device, thermostat, timer, protector.Wireless communication device, belongs to Internet of Things transport layer, and function is by serial ports or TTL Level switchs to the embedded module for meeting wireless network communication standards, is embedded in household electrical appliance, to realize household electrical appliance Networking, intelligence, digitlization.
In the embodiment of the present application, wireless communication device may include system level chip module and flash memory module, flash memory module With engineering mode subregion and multiple protocol partitions, channel radio that engineering mode partitioned storage is supported to detect household electrical appliance Believe the Logic application of protocol type, each protocol partition correspondence stores one kind can independently operated wireless communication protocol.
For example, being that wireless WIreless-Fidelity (abbreviation WiFi) communication device (or is with wireless communication device WiFi module), wireless communication protocol be wireless WiFi communication agreement for, the chief component of the WiFi module is: WiFi SOC chip (i.e. system level chip) and flash memory module (Flash).The flash memory module can have engineering mode subregion and multiple associations Subregion is discussed, which answers for storing to the logic for detecting the wireless communication protocol type that household electrical appliance are supported Can be corresponded to, each protocol partition store one kind can independently operated wireless communication protocol, that is to say, that each protocol partition is equal It is that operating system+protocol function is applied.It is understood that the corresponding partition address of each subregion in flash memory module, and Each subregion has independent corresponding space size.
As an example, the partition table of flash memory module can using as shown in Fig. 2, Fig. 2 as the flash memory in the embodiment of the present application The partitioned representation of module is intended to.Wherein, partition table only lists the subregion schematic diagram of multi-protocols, each subregion in the partition table Successively store corresponding agreement.For example, subregion 1 can be engineering mode subregion, store in subregion 1 to detect household electric The Logic application for the wireless communication protocol type that device is supported, corresponding partition address are Address0 and corresponding sky Between size be size0;Subregion 2,3,4 ..., be protocol partition, wherein store household electrical appliance agreement in subregion 2, correspond to Partition address be Address1 and corresponding space size is size1;Store household electrical appliance+electricity in protocol partition 3 Quotient 1 (such as Jingdone district) agreement, corresponding partition address is Address2 and corresponding space size is size2;In agreement Store household electrical appliance+electric business 2 (such as Ali) agreement in subregion 4, corresponding partition address is Address3, and corresponding Space size be size3;Store household electrical appliance+C agreement, etc. in protocol partition 5, it is numerous to list herein.
As shown in Figure 1, the Dynamic Configuration of the communication protocol the following steps are included:
Step 101, when determining that being intended to the wireless communication protocol presently configured to wireless communication device is updated, pass through The Logic application in boot program loads engineering mode subregion in system level chip module, Logic application is for reading household electric The type or consensus standard parameter of device, and by type or consensus standard parameter to detect the wireless communication that household electrical appliance are supported Agreement.
In practical applications, household electrical appliance when leaving the factory, the compatible various protocols of wireless communication device therein, in this way, After user buys this household electrical appliance back home, if wireless communication protocol used in the Internet of Things of family and the household electrical appliance The communication protocol that middle wireless communication device is defaulted is inconsistent, at this point, user can be somebody's turn to do by triggering household electrical appliance come dynamic configuration Wireless communication protocol in wireless communication device, i.e., wireless communication protocol presently configured to the wireless communication device carry out more Newly.
It is pressed for example, triggering can be arranged on household appliances or on the corresponding remote controler of household electrical appliance in the embodiment of the present application Button, user can trigger household electrical appliance by the trigger button come the wireless communication protocol in the dynamic configuration wireless communication device. When household electrical appliance detect that user triggers the button, wireless communication device can receive household electrical appliance transmission for household electric When the detection instruction for the wireless communication protocol that device is supported, determines and be intended to the wireless communication association presently configured to wireless communication device View is updated, and can be loaded in engineering mode subregion by the bootstrap (Bootloader) in system level chip module at this time Logic application, wherein Logic application is used to read the type or consensus standard parameter of household electrical appliance, and passes through type or agreement Standard parameter is to detect the wireless communication protocol that household electrical appliance are supported.
It is alternatively possible to be determined from the table of comparisons pre-established according to the type of household electrical appliance or consensus standard parameter The wireless communication protocol that household electrical appliance are supported.Wherein, can have type and wireless communication in the table of comparisons pre-established The corresponding relationship of protocol type, or, the corresponding relationship of consensus standard parameter and wireless communication protocol type.For example, the agreement Standard parameter is used to indicate the mark for the wireless communication protocol type that the household electrical appliance are supported, for example, consensus standard parameter It is 01, is represented by A class wireless communication protocol, consensus standard parameter is 02, is represented by B class wireless communication protocol etc..
As an example, determining that being intended to the wireless communication protocol presently configured to wireless communication device is updated When, the address information of engineering mode subregion can be obtained, and the load address information of bootstrap is revised as engineering mode subregion Address information can restart wireless communication device later, and it is corresponding by the modified load address information of boot program loads Engineering mode subregion in Logic application, wherein Logic application to the electronic control module of household electrical appliance send read type Or the instruction of consensus standard, and the wireless communication protocol that household electrical appliance are supported is detected by type or consensus standard.It needs Bright, address information can be the first address of engineering mode subregion.
For example, as shown in figure 3, Address2 is the address that bootstrap reads load address information, reading load address Address2 address value becomes 0x1234 afterwards, and what 0x1234 was directed toward is being supported to detect household electrical appliance for actual needs operation Wireless communication protocol the corresponding first address of Logic application.That is, being intended to currently match wireless communication device in determination When the wireless communication protocol set is updated, the load address information of bootstrap can be revised as to the first ground of engineering mode subregion Location 0x1234 restarts wireless communication device later.When wireless communication device is restarted, in bootstrap start-up course, reads and add First address 0x1234 in set address information, and corresponding engineering mode subregion is found by the first address, to realize to engineering The load of Logic application in mode subregion.Logic application at runtime, can send reading machine to the electronic control module of household electrical appliance The instruction of type or consensus standard, and when obtaining the type or consensus standard of electronic control module feedback, it can be according to the type or agreement Standard detection household electrical appliance support any wireless communication protocol.
Step 102, according to the testing result of Logic application, the backup protocol stored from the electronic control module of household electrical appliance point In the corresponding communication protocol of regional address information and multiple wireless communication protocols of the corresponding storage of multiple protocol partitions, determine wireless Communication device target wireless communication agreement to be configured.
In the embodiment of the present application, backup protocol partition address information be it is pre-set, for example, backup protocol partition address Information can be to be arranged in the corresponding address information of primary protocol partition in multiple protocol partitions, alternatively, backup protocol point Regional address information can be the corresponding address information of any one protocol partition in multiple protocol partitions, such as last to be arranged in The corresponding address information of one protocol partition, alternatively, nothing that can also be presently configured by corresponding storage wireless communication device The address information of the protocol partition of line communication protocol, as backup protocol partition address information, with no restriction to this.
In the embodiment of the present application, in Logic application by type or consensus standard parameter, detection household electrical appliance are supported , can be according to the testing result of Logic application after wireless communication protocol, the backup stored from the electronic control module of household electrical appliance is assisted In the multiple wireless communication protocols for discussing the corresponding communication protocol of partition address information and the corresponding storage of multiple protocol partitions, determine Wireless communication device target wireless communication agreement to be configured.That is, in the application, it can be according to type or consensus standard Detect household electrical appliance and support any wireless communication protocol, and that wireless communication protocol that the household electrical appliance are supported as Wireless communication device is the wireless communication protocol (i.e. target wireless communication agreement) that will be configured to.
Specifically, can will whether there is in the multiple wireless communication protocols for judging the corresponding storage of multiple protocol partitions organic Type or the corresponding wireless communication protocol of consensus standard parameter, in Logic application according to type or consensus standard parameter detecting to corresponding to Wireless communication protocol when being present in multiple wireless communication protocols, can be by type or the corresponding channel radio of consensus standard parameter Believe agreement as target wireless communication agreement.And in Logic application according to type or consensus standard parameter detecting to corresponding wireless It, can be by the corresponding communication protocol of backup protocol partition address information when communication protocol is not existed in multiple wireless communication protocols As target wireless communication agreement.
Step 103, the load address information of bootstrap is revised as to the target of corresponding storage target wireless communication agreement The address information of protocol partition, and restart wireless communication device.
In the embodiment of the present application, the corresponding partition address of each protocol partition in flash memory module, and each protocol partition There is independent corresponding space size.It, can be true after determining wireless communication device target wireless communication agreement to be configured The target protocol subregion of fixed corresponding storage target wireless communication agreement, may thereby determine that the address letter of the target protocol subregion Breath.
It is alternatively possible to pre-establish each protocol partition, the wireless communication protocol stored in protocol partition and agreement Corresponding relationship between the address information of subregion, after determining wireless communication device target wireless communication agreement to be configured, Above-mentioned corresponding relationship can be inquired, the address information of target protocol subregion corresponding with the target wireless communication agreement is obtained.
It should be noted that address information can be the first address of target protocol subregion, it is false for example, with reference to Fig. 2 and Fig. 3 If target wireless communication agreement is agreement 2, then the address information of the target protocol subregion of corresponding storage agreement 2 can be determined are as follows: Address2, it is assumed that the corresponding first address of protocol partition of storage agreement 2 are as follows: 0x1234 can then determine the ground of target partition Location information is 0x1234.
It, can be with after determining the address information of target protocol subregion of target wireless communication agreement in the embodiment of the present application By the current load address information of the bootstrap in system level chip module, it is revised as corresponding storage target wireless communication agreement The address information of target protocol subregion load target protocol so that address information of the bootstrap according to target protocol subregion The target wireless communication agreement of partitioned storage.Further, since identification target protocol subregion is carried out in bootstrap, because This needs to restart wireless communication device when the current load address information to bootstrap is modified.
Step 104, in wireless communication device restarting process, pass through the mesh of boot program loads target protocol partitioned storage Mark wireless communication protocol.
It, can be by bootstrap, according to target protocol in wireless communication device restarting process in the embodiment of the present application The target wireless communication agreement of the address information of subregion, load target protocol partitioned storage is run.Still it is with above-mentioned example Example, bootstrap can load corresponding association according to the first address after the first address for determining target protocol subregion is 0x1234 View 2 is run.
In the embodiment of the present application, the wireless communication between various protocols is realized by the way of subregion load, it is ensured that In synchronization, bootstrap only loads a target wireless communication agreement and is run, and can reduce and want to resources of chip It asks, to reduce production cost, while can be to avoid hair the case where the agreement of synchronization two clients competed with one another for of operation It is raw.And software coupling can be reduced, for example, need to only change the corresponding generation of agreement 3 when the function of agreement 3 needs to change Code can reduce complexity when protocol function change, to promote change effect without changing the corresponding code of other agreements Rate.In addition, the wireless communication protocol of support need to only be written in household electrical appliance production, firmware can be general into multiple products, The applicability of this method can be promoted, and reduces complexity when production.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, determining that being intended to the wireless communication protocol presently configured to wireless communication device carries out more due to using When new, by the Logic application in the boot program loads engineering mode subregion in system level chip module, Logic application is used for The type or consensus standard parameter of household electrical appliance are read, and is supported by type or consensus standard parameter with detecting household electrical appliance Wireless communication protocol, then according to the testing result of Logic application, the backup that is stored from the electronic control module of household electrical appliance association In the multiple wireless communication protocols for discussing the corresponding communication protocol of partition address information and the corresponding storage of multiple protocol partitions, determine The load address information of bootstrap is then revised as correspondence and deposited by wireless communication device target wireless communication agreement to be configured The address information of the target protocol subregion of target wireless communication agreement is stored up, and restarts wireless communication device, is finally being wirelessly communicated In device restarting process, by the target wireless communication agreement of boot program loads target protocol partitioned storage, can effectively it solve It has determined the wireless communication realized in the prior art by software compatibility multi-protocols between various protocols, software coupling is high, can Synchronization can occur and run the agreement of two clients competed with one another for, and cause the increase of resources of chip and the increase of cost The technical issues of, and then realize and dynamic configuration is carried out to the wireless communication protocol in wireless communication device, and use subregion The mode of load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads a mesh Mark wireless communication protocol is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid Synchronization runs the generation of the case where agreement of two clients competed with one another for.Furthermore it is possible to reduce software coupling, association is reduced Complexity when functionality change is discussed, to promote change efficiency.
On the other hand, due to wireless WiFi communication device higher and technology maturation using popularity rate, as wireless Communication device can promote the applicability of this method.
For an embodiment in clear explanation, the embodiment of the present application provides the dynamic configuration side of another communication protocol Method is shown in
Embodiment two.
Embodiment two
Fig. 4 is the flow diagram of the Dynamic Configuration of communication protocol provided by the embodiment of the present invention two.
As shown in figure 4, the Dynamic Configuration of the communication protocol may comprise steps of:
Step 201, it when determining that being intended to the wireless communication protocol presently configured to wireless communication device is updated, determines The protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device.
Step 202, the protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device is obtained Address information.
In the embodiment of the present application, in the association for determining the presently configured wireless communication protocol of corresponding storage wireless communication device After discussing subregion, the address of the protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device can be determined Information.For example, each protocol partition, the wireless communication protocol stored in protocol partition and protocol partition can be pre-established Corresponding relationship between address information, in the protocol partition for determining the presently configured wireless communication protocol of wireless communication device Afterwards, above-mentioned corresponding relationship can be inquired, address information corresponding with the protocol partition is obtained.
For example, with reference to Fig. 5, the embodiment of the present application can be arranged on household appliances or on the corresponding remote controler of household electrical appliance Trigger button, user can trigger household electrical appliance by the trigger button come the wireless communication in the dynamic configuration wireless communication device Agreement.When household electrical appliance detect that user triggers button (S1), the electronic control module in household electrical appliance can be filled to wireless communication It sets and is transmitted into engineering mode instruction (detection instruction for the wireless communication protocol supported for household electrical appliance) (S2).Wirelessly Communication device, can when receiving the detection instruction for the wireless communication protocol supported for household electrical appliance of household electrical appliance transmission Determine that being intended to the wireless communication protocol presently configured to wireless communication device is updated, then wireless communication device can determine The protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device, and send correspondence to electronic control module and deposit The address information for storing up the protocol partition of the presently configured wireless communication protocol of wireless communication device (is believed the address of i.e. original agreement Breath) (S3), while can be to electronic control module feedback acknowledgment information (S4).
Step 203, by the ground of the protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device Location information is sent to electronic control module and is stored as backup protocol partition address information.
That is, when determining that being intended to the wireless communication protocol presently configured to wireless communication device is updated, it can By the address of the currently used wireless communication protocol of wireless communication device, as backup protocol partition address information, and it is sent to Electronic control module is stored, i.e., by the address storage of the currently used wireless communication protocol of wireless communication device to electronic control module In, when to occur abnormal conditions in Dynamic Configuration Process, backup protocol partition address letter can be found from electronic control module Breath, is run to load the corresponding wireless communication protocol of backup protocol partition address information, guarantees wireless communication device It can be with normal communication.
Step 204, it by the Logic application in the boot program loads engineering mode subregion in system level chip module, patrols Collect type or consensus standard parameter of the application for reading household electrical appliance.
Step 205, by type or consensus standard parameter to detect the wireless communication protocol that household electrical appliance are supported.
Referring to Fig. 5, the address information of engineering mode subregion can be obtained, and the load address information of bootstrap is revised as The address information (S5) of engineering mode subregion can restart wireless communication device (S6) later, and be modified by boot program loads Logic application (S7) in the corresponding engineering mode subregion of load address information afterwards, wherein Logic application is to household electric The electronic control module of device sends the instruction (S8) for reading type or consensus standard, receives type or consensus standard that electronic control module returns (S9), later, the wireless communication protocol that household electrical appliance are supported can be detected by type or consensus standard.
Step 206, existed according to type or consensus standard parameter detecting to corresponding wireless communication protocol in Logic application When in multiple wireless communication protocols, using type or the corresponding wireless communication protocol of consensus standard parameter as target wireless communication Agreement.
Step 207, it is not deposited according to type or consensus standard parameter detecting to corresponding wireless communication protocol in Logic application When being in multiple wireless communication protocols, the reading instruction for backup protocol partition address information is sent to electronic control module, is read Instruction fetch is used to indicate the reading backup protocol partition address information from electronic control module.
Step 208, using the corresponding communication protocol of backup protocol partition address information read as target wireless communication Agreement.
Step 209, the load address information of bootstrap is revised as to the target of corresponding storage target wireless communication agreement The address information of protocol partition, and restart wireless communication device.
Optionally, it when detecting the wireless communication protocol that household electrical appliance are supported by Logic application, can determine whether multiple It whether is stored with the wireless communication protocol (S10) that household electrical appliance are supported in multiple wireless communication protocols of protocol partition storage, If so, being stored with the channel radio that household electrical appliance are supported in the multiple wireless communication protocols for judging multiple protocol partition storages Believe agreement when, the load address information of bootstrap can be revised as target protocol subregion address information (such as labeled as AddressN), and restart wireless communication device, the communication protocol of wireless communication device is configured to what household electrical appliance were supported Wireless communication protocol (S11).
If it is not, there is no household electrical appliance to be supported in the multiple wireless communication protocols for judging multiple protocol partition storages When wireless communication protocol, can sending configuration failure information to electronic control module, (such as wireless communication device does not support the wireless communication to assist View), and send and instruct to electronic control module, to obtain backup protocol partition address information (address backed up before i.e.) (S12), phase It answers, electronic control module can send backup protocol address information (S13) to wireless communication device, and then, wireless communication device can The load address Information recovering of bootstrap at the address backed up before, i.e., to be restored the communication protocol of wireless communication device Cheng Shangyi configures the communication protocol used, and restarts wireless communication device (S14).
Step 210, in wireless communication device restarting process, pass through the mesh of boot program loads target protocol partitioned storage Mark wireless communication protocol.
Technical solution in above-mentioned the embodiment of the present application at least also has further below compared to a upper embodiment Technical effect or advantage:
Due to use Logic application according to type or consensus standard parameter detecting to corresponding wireless communication protocol not When being present in multiple wireless communication protocols, the reading instruction for backup protocol partition address information is sent to electronic control module, It reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module, then by the backup protocol read point The corresponding communication protocol of regional address information may be implemented judging multiple agreements point by Logic application as wireless communication protocol When the wireless communication protocol for not having household electrical appliance to be supported in multiple wireless communication protocols of area's storage, by by bootstrap The address that load address backs up before reverting to, to guarantee the normal communication of wireless communication device.
Based on the same inventive concept, the embodiment of the present application also provides embodiments one into the embodiment three corresponding dress of method It sets, sees example IV.
Example IV
Fig. 6 is the structural schematic diagram of wireless communication device provided by the embodiment of the present application four.
As shown in fig. 6, the wireless communication device 100 includes: flash memory module 110 and system level chip module 120, wherein
Flash memory module 110 has engineering mode subregion 111 and multiple protocol partitions 112, and the storage of engineering mode subregion 111 is used To detect the Logic application for the wireless communication protocol type that household electrical appliance are supported, each correspondence of protocol partition 112 stores one kind It can independently operated wireless communication protocol.
120 module of system level chip includes bootstrap 121 and processor 122, and processor 122 is used for: being intended to pair determining When the presently configured wireless communication protocol of wireless communication device 100 is updated, pass through drawing in 120 module of system level chip Lead sequence 121 loads the Logic application in engineering mode subregion 111, and Logic application is used to read the type or agreement of household electrical appliance Standard parameter, and by type or consensus standard parameter to detect the wireless communication protocol that household electrical appliance are supported;According to logic The testing result of application, the corresponding communication protocol of backup protocol partition address information stored from the electronic control module of household electrical appliance In multiple wireless communication protocols of storage corresponding with multiple protocol partitions, the target to be configured of wireless communication device 100 is determined Wireless communication protocol;The load address information of bootstrap is revised as to the target protocol of corresponding storage target wireless communication agreement The address information of subregion, and restart wireless communication device 100;In 100 restarting process of wireless communication device, pass through bootstrap The target wireless communication agreement of 121 load target protocol partitioned storages.
As a kind of possible implementation, processor 122 is used for: in Logic application according to type or consensus standard parameter It is when detecting that corresponding wireless communication protocol is present in multiple wireless communication protocols, type or consensus standard parameter is corresponding Wireless communication protocol is as target wireless communication agreement;In Logic application according to type or consensus standard parameter detecting to corresponding When wireless communication protocol is not existed in multiple wireless communication protocols, sends to electronic control module and believe for backup protocol partition address The reading of breath instructs, and reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module;By what is read The corresponding communication protocol of backup protocol partition address information is as target wireless communication agreement.
As a kind of possible implementation, processor 122 is also used to: being intended to wireless communication device 100 currently determining After the wireless communication protocol configured is updated, work is being loaded by the bootstrap 121 in 120 module of system level chip Before Logic application in journey mode subregion 111, the presently configured wireless communication of corresponding storage wireless communication device 100 is determined The protocol partition of agreement;Obtain the protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device 100 Address information;By the address of the protocol partition of the presently configured wireless communication protocol of corresponding storage wireless communication device 100 Information is sent to electronic control module and is stored as backup protocol partition address information.
As a kind of possible implementation, wireless communication device 100 is wireless WiFi communication device;Wireless communication protocol For wireless WiFi communication agreement.
It should be noted that previous embodiment one is to embodiment three to the solution of the Dynamic Configuration embodiment of communication protocol The wireless communication device 100 that explanation is also applied for the embodiment is released, details are not described herein again.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, determining that being intended to the wireless communication protocol presently configured to wireless communication device carries out more due to using When new, by the Logic application in the boot program loads engineering mode subregion in system level chip module, Logic application is used for The type or consensus standard parameter of household electrical appliance are read, and is supported by type or consensus standard parameter with detecting household electrical appliance Wireless communication protocol, then according to the testing result of Logic application, the backup that is stored from the electronic control module of household electrical appliance association In the multiple wireless communication protocols for discussing the corresponding communication protocol of partition address information and the corresponding storage of multiple protocol partitions, determine The load address information of bootstrap is then revised as correspondence and deposited by wireless communication device target wireless communication agreement to be configured The address information of the target protocol subregion of target wireless communication agreement is stored up, and restarts wireless communication device, is finally being wirelessly communicated In device restarting process, by the target wireless communication agreement of boot program loads target protocol partitioned storage, can effectively it solve It has determined the wireless communication realized in the prior art by software compatibility multi-protocols between various protocols, software coupling is high, can Synchronization can occur and run the agreement of two clients competed with one another for, and cause the increase of resources of chip and the increase of cost The technical issues of, and then realize and dynamic configuration is carried out to the wireless communication protocol in wireless communication device, and use subregion The mode of load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads a mesh Mark wireless communication protocol is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid Synchronization runs the generation of the case where agreement of two clients competed with one another for.Furthermore it is possible to reduce software coupling, association is reduced Complexity when functionality change is discussed, to promote change efficiency.
On the other hand, due to wireless WiFi communication device higher and technology maturation using popularity rate, as wireless Communication device can promote the applicability of this method.
Another aspect, due to using in Logic application according to type or consensus standard parameter detecting to corresponding channel radio When letter agreement is not existed in multiple wireless communication protocols, the reading for being directed to backup protocol partition address information is sent to electronic control module Instruction fetch reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module, then standby by what is read The corresponding communication protocol of part protocol partition address information may be implemented as wireless communication protocol more by Logic application judgement When the wireless communication protocol for not having household electrical appliance to be supported in multiple wireless communication protocols of a protocol partition storage, by that will draw The address that the load address of lead sequence backs up before reverting to, to guarantee the normal communication of wireless communication device.
By the wireless communication device 100 that the embodiment of the present application four is introduced, to implement the embodiment of the present application one to implementation Device used by the method for example three, so based on the method that the embodiment of the present application one is introduced to embodiment three, this field institute Category personnel can understand specific structure and the deformation of the device, so details are not described herein.All the embodiment of the present application one are to reality It applies device used by the method for example three and belongs to the range to be protected of the application.
Based on the same inventive concept, the embodiment of the present application also provides the corresponding household electrical appliance of example IV device, see reality Apply example five.
Embodiment five
The household electrical appliance of the embodiment of the present application, comprising: the wireless communication device 100 that the application previous embodiment four proposes.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, determining that being intended to the wireless communication protocol presently configured to wireless communication device carries out more due to using When new, by the Logic application in the boot program loads engineering mode subregion in system level chip module, Logic application is used for The type or consensus standard parameter of household electrical appliance are read, and is supported by type or consensus standard parameter with detecting household electrical appliance Wireless communication protocol, then according to the testing result of Logic application, the backup that is stored from the electronic control module of household electrical appliance association In the multiple wireless communication protocols for discussing the corresponding communication protocol of partition address information and the corresponding storage of multiple protocol partitions, determine The load address information of bootstrap is then revised as correspondence and deposited by wireless communication device target wireless communication agreement to be configured The address information of the target protocol subregion of target wireless communication agreement is stored up, and restarts wireless communication device, is finally being wirelessly communicated In device restarting process, by the target wireless communication agreement of boot program loads target protocol partitioned storage, can effectively it solve It has determined the wireless communication realized in the prior art by software compatibility multi-protocols between various protocols, software coupling is high, can Synchronization can occur and run the agreement of two clients competed with one another for, and cause the increase of resources of chip and the increase of cost The technical issues of, and then realize and dynamic configuration is carried out to the wireless communication protocol in wireless communication device, and use subregion The mode of load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads a mesh Mark wireless communication protocol is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid Synchronization runs the generation of the case where agreement of two clients competed with one another for.Furthermore it is possible to reduce software coupling, association is reduced Complexity when functionality change is discussed, to promote change efficiency.
On the other hand, due to wireless WiFi communication device higher and technology maturation using popularity rate, as wireless Communication device can promote the applicability of this method.
Another aspect, due to using in Logic application according to type or consensus standard parameter detecting to corresponding channel radio When letter agreement is not existed in multiple wireless communication protocols, the reading for being directed to backup protocol partition address information is sent to electronic control module Instruction fetch reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module, then standby by what is read The corresponding communication protocol of part protocol partition address information may be implemented as wireless communication protocol more by Logic application judgement When the wireless communication protocol for not having household electrical appliance to be supported in multiple wireless communication protocols of a protocol partition storage, by that will draw The address that the load address of lead sequence backs up before reverting to, to guarantee the normal communication of wireless communication device.
By the household electrical appliance that the embodiment of the present application five is introduced, used by the device to implement the embodiment of the present application four Household electrical appliance, so based on the device that the embodiment of the present application four is introduced, the affiliated personnel in this field can understand the household electrical appliance Specific structure and deformation, so details are not described herein.Household electrical appliance used by the device of all the embodiment of the present application four are all Belong to the range to be protected of the application.
Based on the same inventive concept, it is corresponding wireless to three method of embodiment that the embodiment of the present application also provides embodiments one Communication device is shown in embodiment six.
Embodiment six
Fig. 7 is the structural schematic diagram of wireless communication device provided by the embodiment of the present application six.
As shown in fig. 7, the wireless communication device 100 includes: flash memory module 110 and system level chip module 120, wherein
Flash memory module 110 has engineering mode subregion 111 and multiple protocol partitions 112, and the storage of engineering mode subregion 111 is used To detect the Logic application for the wireless communication protocol type that household electrical appliance are supported, each correspondence of protocol partition 112 stores one kind It can independently operated wireless communication protocol.
System level chip module 120 includes memory 123, processor 122 and is stored on memory 123 and can handle The computer program run on device 122 when processor 122 executes program, is realized such as the application previous embodiment one to embodiment The Dynamic Configuration of three communication protocols proposed.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, determining that being intended to the wireless communication protocol presently configured to wireless communication device carries out more due to using When new, by the Logic application in the boot program loads engineering mode subregion in system level chip module, Logic application is used for The type or consensus standard parameter of household electrical appliance are read, and is supported by type or consensus standard parameter with detecting household electrical appliance Wireless communication protocol, then according to the testing result of Logic application, the backup that is stored from the electronic control module of household electrical appliance association In the multiple wireless communication protocols for discussing the corresponding communication protocol of partition address information and the corresponding storage of multiple protocol partitions, determine The load address information of bootstrap is then revised as correspondence and deposited by wireless communication device target wireless communication agreement to be configured The address information of the target protocol subregion of target wireless communication agreement is stored up, and restarts wireless communication device, is finally being wirelessly communicated In device restarting process, by the target wireless communication agreement of boot program loads target protocol partitioned storage, can effectively it solve It has determined the wireless communication realized in the prior art by software compatibility multi-protocols between various protocols, software coupling is high, can Synchronization can occur and run the agreement of two clients competed with one another for, and cause the increase of resources of chip and the increase of cost The technical issues of, and then realize and dynamic configuration is carried out to the wireless communication protocol in wireless communication device, and use subregion The mode of load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads a mesh Mark wireless communication protocol is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid Synchronization runs the generation of the case where agreement of two clients competed with one another for.Furthermore it is possible to reduce software coupling, association is reduced Complexity when functionality change is discussed, to promote change efficiency.
On the other hand, due to wireless WiFi communication device higher and technology maturation using popularity rate, as wireless Communication device can promote the applicability of this method.
Another aspect, due to using in Logic application according to type or consensus standard parameter detecting to corresponding channel radio When letter agreement is not existed in multiple wireless communication protocols, the reading for being directed to backup protocol partition address information is sent to electronic control module Instruction fetch reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module, then standby by what is read The corresponding communication protocol of part protocol partition address information may be implemented as wireless communication protocol more by Logic application judgement When the wireless communication protocol for not having household electrical appliance to be supported in multiple wireless communication protocols of a protocol partition storage, by that will draw The address that the load address of lead sequence backs up before reverting to, to guarantee the normal communication of wireless communication device.
By the wireless communication device that the embodiment of the present application six is introduced, to implement the embodiment of the present application one to embodiment three Method used by wireless communication device, so based on the method that the embodiment of the present application one is introduced to embodiment three, ability The affiliated personnel in domain can understand specific structure and the deformation of the wireless communication device, so details are not described herein.All the application Wireless communication device used by method of the embodiment one to embodiment three belongs to the range to be protected of the application.
Based on the same inventive concept, method that the embodiment of the present application also provides embodiments one into embodiment three is corresponding non- Provisional computer readable storage medium is shown in embodiment seven.
Embodiment seven
The non-transitorycomputer readable storage medium of the embodiment of the present application is stored thereon with computer program, feature It is, the dynamic of the communication protocol proposed such as the application previous embodiment one to embodiment three is realized when which is executed by processor State configuration method.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, determining that being intended to the wireless communication protocol presently configured to wireless communication device carries out more due to using When new, by the Logic application in the boot program loads engineering mode subregion in system level chip module, Logic application is used for The type or consensus standard parameter of household electrical appliance are read, and is supported by type or consensus standard parameter with detecting household electrical appliance Wireless communication protocol, then according to the testing result of Logic application, the backup that is stored from the electronic control module of household electrical appliance association In the multiple wireless communication protocols for discussing the corresponding communication protocol of partition address information and the corresponding storage of multiple protocol partitions, determine The load address information of bootstrap is then revised as correspondence and deposited by wireless communication device target wireless communication agreement to be configured The address information of the target protocol subregion of target wireless communication agreement is stored up, and restarts wireless communication device, is finally being wirelessly communicated In device restarting process, by the target wireless communication agreement of boot program loads target protocol partitioned storage, can effectively it solve It has determined the wireless communication realized in the prior art by software compatibility multi-protocols between various protocols, software coupling is high, can Synchronization can occur and run the agreement of two clients competed with one another for, and cause the increase of resources of chip and the increase of cost The technical issues of, and then realize and dynamic configuration is carried out to the wireless communication protocol in wireless communication device, and use subregion The mode of load realizes the wireless communication between various protocols, it is ensured that in synchronization, bootstrap only loads a mesh Mark wireless communication protocol is run, and the requirement to resources of chip can be reduced, to reduce production cost, while can be to avoid Synchronization runs the generation of the case where agreement of two clients competed with one another for.Furthermore it is possible to reduce software coupling, association is reduced Complexity when functionality change is discussed, to promote change efficiency.
On the other hand, due to wireless WiFi communication device higher and technology maturation using popularity rate, as wireless Communication device can promote the applicability of this method.
Another aspect, due to using in Logic application according to type or consensus standard parameter detecting to corresponding channel radio When letter agreement is not existed in multiple wireless communication protocols, the reading for being directed to backup protocol partition address information is sent to electronic control module Instruction fetch reads instruction and is used to indicate the reading backup protocol partition address information from electronic control module, then standby by what is read The corresponding communication protocol of part protocol partition address information may be implemented as wireless communication protocol more by Logic application judgement When the wireless communication protocol for not having household electrical appliance to be supported in multiple wireless communication protocols of a protocol partition storage, by that will draw The address that the load address of lead sequence backs up before reverting to, to guarantee the normal communication of wireless communication device.
By the non-transitorycomputer readable storage medium that the embodiment of the present application seven is introduced, to implement the application implementation Non-transitorycomputer readable storage medium used by method of the example one to embodiment three, so it is based on the embodiment of the present application one The method introduced to embodiment three, the affiliated personnel in this field can understand the computer readable storage medium specific structure and Deformation, so details are not described herein.Non-transitory used by method of all the embodiment of the present application one to embodiment three calculates Machine readable storage medium storing program for executing belongs to the range to be protected of the application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, apparatus, equipment or calculate Machine program product.Therefore, the application can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes computer usable program code that the application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should be noted that in the claims, any reference symbol between parentheses should not be configured to power The limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before component Word "a" or "an" does not exclude the presence of multiple such components.The application can be by means of including several different components It hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filled Several in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is not Indicate any sequence.These words can be construed to title.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (11)

1. a kind of Dynamic Configuration of communication protocol, which is characterized in that be applied to wireless communication device, the wireless communication dress It sets including system level chip module and flash memory module, the flash memory module has engineering mode subregion and multiple protocol partitions, institute Logic application of the engineering mode partitioned storage to detect the wireless communication protocol type that household electrical appliance are supported is stated, it is each described Protocol partition is corresponding store one kind can independently operated wireless communication protocol, the Dynamic Configuration includes:
When determining that being intended to the wireless communication protocol presently configured to the wireless communication device is updated, pass through the system Logic application in engineering mode subregion described in boot program loads in grade chip module, the Logic application is for reading house The type or consensus standard parameter of electrical appliance, and propped up by the type or consensus standard parameter with detecting the household electrical appliance The wireless communication protocol held;
According to the testing result of the Logic application, the backup protocol subregion that is stored from the electronic control module of the household electrical appliance In the corresponding communication protocol of location information and multiple wireless communication protocols of the corresponding storage of the multiple protocol partition, determine described Wireless communication device target wireless communication agreement to be configured;
The load address information of the bootstrap is revised as the corresponding target protocol for storing the target wireless communication agreement The address information of subregion, and restart the wireless communication device;
In the wireless communication device restarting process, pass through the mesh of target protocol partitioned storage described in the boot program loads Mark wireless communication protocol.
2. the Dynamic Configuration of communication protocol as described in claim 1, which is characterized in that according to the inspection of the Logic application It surveys as a result, the corresponding communication protocol of backup protocol partition address information stored from the electronic control module of the household electrical appliance and institute In the multiple wireless communication protocols for stating the corresponding storage of multiple protocol partitions, wireless communication device target to be configured is determined Wireless communication protocol, comprising:
Institute is present in corresponding wireless communication protocol according to the type or consensus standard parameter detecting in the Logic application When stating in multiple wireless communication protocols, using the type or the corresponding wireless communication protocol of consensus standard parameter as the target Wireless communication protocol;
It is not existed according to the type or consensus standard parameter detecting to corresponding wireless communication protocol in the Logic application When in the multiple wireless communication protocol, the reading for being directed to the backup protocol partition address information is sent to the electronic control module Instruction, the reading instruction is used to indicate reads the backup protocol partition address information from the electronic control module;
Using the corresponding communication protocol of the backup protocol partition address information read as the target wireless communication agreement.
3. the Dynamic Configuration of communication protocol as claimed in claim 2, which is characterized in that by following steps in advance by institute It states backup protocol partition address information and is sent to the electronic control module:
After determining that being intended to the wireless communication protocol presently configured to the wireless communication device is updated, by described Before Logic application in engineering mode subregion described in boot program loads in system level chip module, corresponding storage institute is determined State the protocol partition of the presently configured wireless communication protocol of wireless communication device;
Obtain the address of the corresponding protocol partition for storing the presently configured wireless communication protocol of the wireless communication device Information;
By the address letter of the corresponding protocol partition for storing the presently configured wireless communication protocol of the wireless communication device Breath is used as the backup protocol partition address information, and is sent to the electronic control module and is stored.
4. the Dynamic Configuration of communication protocol as claimed any one in claims 1 to 3, which is characterized in that described wireless Communication device is wireless WiFi communication device;The wireless communication protocol is wireless WiFi communication agreement.
5. a kind of wireless communication device, which is characterized in that including flash memory module and system level chip module, wherein
The flash memory module has engineering mode subregion and multiple protocol partitions, and the engineering mode partitioned storage is to detect house The Logic application for the wireless communication protocol type that electrical appliance is supported, each protocol partition correspondence, which stores one kind, independently to transport Capable wireless communication protocol;
The system level chip module includes bootstrap and processor, and the processor is used for:
When determining that being intended to the wireless communication protocol presently configured to the wireless communication device is updated, pass through the system Logic application in engineering mode subregion described in boot program loads in grade chip module, the Logic application is for reading house The type or consensus standard parameter of electrical appliance, and propped up by the type or consensus standard parameter with detecting the household electrical appliance The wireless communication protocol held;
According to the testing result of the Logic application, the backup protocol subregion that is stored from the electronic control module of the household electrical appliance In the corresponding communication protocol of location information and multiple wireless communication protocols of the corresponding storage of the multiple protocol partition, determine described Wireless communication device target wireless communication agreement to be configured;
The load address information of the bootstrap is revised as the corresponding target protocol for storing the target wireless communication agreement The address information of subregion, and restart the wireless communication device;
In the wireless communication device restarting process, pass through the mesh of target protocol partitioned storage described in the boot program loads Mark wireless communication protocol.
6. wireless communication device as claimed in claim 5, which is characterized in that the processor is used for:
Institute is present in corresponding wireless communication protocol according to the type or consensus standard parameter detecting in the Logic application When stating in multiple wireless communication protocols, using the type or the corresponding wireless communication protocol of consensus standard parameter as the target Wireless communication protocol;
It is not existed according to the type or consensus standard parameter detecting to corresponding wireless communication protocol in the Logic application When in the multiple wireless communication protocol, the reading for being directed to the backup protocol partition address information is sent to the electronic control module Instruction, the reading instruction is used to indicate reads the backup protocol partition address information from the electronic control module;
Using the corresponding communication protocol of the backup protocol partition address information read as the target wireless communication agreement.
7. wireless communication device as claimed in claim 6, which is characterized in that the processor is also used to:
After determining that being intended to the wireless communication protocol presently configured to the wireless communication device is updated, by described Before Logic application in engineering mode subregion described in boot program loads in system level chip module, corresponding storage institute is determined State the protocol partition of the presently configured wireless communication protocol of wireless communication device;
Obtain the address of the corresponding protocol partition for storing the presently configured wireless communication protocol of the wireless communication device Information;
By the address letter of the corresponding protocol partition for storing the presently configured wireless communication protocol of the wireless communication device Breath is used as the backup protocol partition address information, and is sent to the electronic control module and is stored.
8. the wireless communication device as described in any one of claim 5 to 7, which is characterized in that the wireless communication device is Wireless WiFi communication device;The wireless communication protocol is wireless WiFi communication agreement.
9. a kind of household electrical appliance characterized by comprising the wireless communication device as described in any one of claim 5 to 8.
10. a kind of wireless communication device, which is characterized in that including flash memory module and system level chip module, wherein
The flash memory module has engineering mode subregion and multiple protocol partitions, and the engineering mode partitioned storage is to detect house The Logic application for the wireless communication protocol type that electrical appliance is supported, each protocol partition correspondence, which stores one kind, independently to transport Capable wireless communication protocol;
The system level chip module includes memory, processor and is stored on the memory and can be on the processor The computer program of operation when the processor executes described program, is realized logical according to any one of claims 1 to 4 Believe the Dynamic Configuration of agreement.
11. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the journey The Dynamic Configuration of communication protocol according to any one of claims 1 to 4 is realized when sequence is executed by processor.
CN201810847216.XA 2018-07-27 2018-07-27 Dynamic configuration method of communication protocol, wireless communication device and household appliance Active CN109067734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810847216.XA CN109067734B (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
CN201810847216.XA CN109067734B (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
CN109067734A true CN109067734A (en) 2018-12-21
CN109067734B CN109067734B (en) 2021-08-20

Family

ID=64835796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810847216.XA Active CN109067734B (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) CN109067734B (en)

Cited By (4)

* 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
CN112231010A (en) * 2020-09-28 2021-01-15 四川新网银行股份有限公司 Application configuration information management and dynamic updating method based on OSGI (open service gateway initiative) specification
CN112311736A (en) * 2019-07-31 2021-02-02 广东美的制冷设备有限公司 Remote control device, household appliance and communication protocol configuration method and device thereof
CN113961260A (en) * 2021-12-21 2022-01-21 比亚迪股份有限公司 System control software operation method, system, computer device and storage medium

Citations (6)

* 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
US20140282478A1 (en) * 2013-03-15 2014-09-18 Silicon Graphics International Corp. Tcp server bootloader
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

Patent Citations (6)

* 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
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

Cited By (6)

* 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
CN112311736A (en) * 2019-07-31 2021-02-02 广东美的制冷设备有限公司 Remote control device, household appliance and communication protocol configuration method and device thereof
CN112311736B (en) * 2019-07-31 2023-10-27 广东美的制冷设备有限公司 Remote control device, household appliance and communication protocol configuration method and device thereof
CN112231010A (en) * 2020-09-28 2021-01-15 四川新网银行股份有限公司 Application configuration information management and dynamic updating method based on OSGI (open service gateway initiative) specification
CN112231010B (en) * 2020-09-28 2023-06-06 四川新网银行股份有限公司 Method for managing and dynamically updating application configuration information based on OSGI (open service gateway initiative) specification
CN113961260A (en) * 2021-12-21 2022-01-21 比亚迪股份有限公司 System control software operation method, system, computer device and storage medium

Also Published As

Publication number Publication date
CN109067734B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN109067734A (en) Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
US10608835B2 (en) Online system and method for using the same
US20160174268A1 (en) Smart home controller and communication method thereof
CN109587018B (en) Equipment configuration method, device, network system and mobile terminal
CN104995877B (en) Use the intelligent domestic system of portable unit
CN109257259A (en) Scene inter-linked controlling method, 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
CN112612214A (en) Method and system for generating functional interface and electronic equipment
CN110830334B (en) Household appliance control method, device, system, server and household appliance
CN113110147A (en) Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium
JP2017041180A (en) Program updating control device, home information appliance, program updating system, and program updating method
CN114019817A (en) Control method and control device of intelligent household equipment and Internet of things system
CN109067735B (en) Dynamic configuration method of communication protocol, wireless communication device and intelligent equipment
CN109688427A (en) A kind of smart television and its system repair
KR20150053203A (en) Method and apparatus for detecting device connected to a smart plug
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN108989117A (en) Configuration method, wireless communication device and the household electrical appliance of communication protocol
CN108965019A (en) Dynamic Configuration, wireless communication device and the relevant device of communication protocol
CN104777754B (en) Virtual equipment creating method and device
CN109343881A (en) Firmware upgrading and updating method and device and air conditioner
CN108965018A (en) Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
CN112099902A (en) Network adapter configuration method and device of virtual machine, electronic device and storage medium
CN104486449A (en) Calculation device controlling method and device
CN109595744B (en) Air conditioning equipment and control method and device thereof

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