Washing machine program updating method
Technical Field
The invention relates to the field of washing machines, in particular to a washing machine program updating method.
Background
In the washing machines of various brands in the current market, no matter the impeller washing machine or the roller washing machine, the washing program of the computer board is well solidified, and a user can only select the corresponding program through the control interface. However, the life cycle of the washing machine is about 7 years, the garment materials of people are continuously updated, and the original program can not meet the requirement of people on the washing of new fabric clothes along with the time; in addition, with the continuous development of washing technology, new washing modes are continuously generated, higher washing rate can be obtained, and better water and electricity saving effects are achieved. Therefore, the washing machine with the program updating function can meet the requirements of a large number of users, and has a very good market prospect. However, the program of the current washing machine is solidified, if the program is updated, only the computer board can be replaced, the cost is high, and the user can not bear the program.
Some washing machines which are released by manufacturers and can update programs are mainly carried out by professional personnel through professional equipment, time and labor are wasted, and users cannot operate the washing machines by themselves. The utility model discloses a utility model patent application number 200820185269.1 discloses an intelligence program is from upgrading washing machine, including the computer board, be provided with asynchronous serial communication interface in the main control chip on the computer board, install on the washing machine outer box and be used for carrying out the asynchronous serial communication interface that communicates with the external data and can intercommunicate with asynchronous serial communication interface the same with the asynchronous serial communication interface of the inside computer board of washing machine. Through the interface, the program stored in the PC can be written into the main control chip of the computer board conveniently and quickly by using the special software and the downloading tool so as to complete the modification and the upgrade of the control program of the washing machine. The washing machine in the patent needs special software and a downloading tool to write the program stored on the PC into a computer board, so that the operation is inconvenient, resources are wasted, and the requirement on the specialty is high.
Based on the above description, there is a need for a method for updating a program of a washing machine, so as to solve the problems of inconvenient program updating and high professional requirement in the prior art.
Disclosure of Invention
In view of this, the present invention provides a washing machine program updating method, which allows a user to complete program updating on an intelligent terminal, and has the advantages of convenient operation, low professional requirement, and resource waste avoidance.
The invention adopts the following technical scheme:
a washing machine program updating method comprises a control module and a communication module, wherein the communication module is in communication connection with an intelligent terminal, and when the control module receives a program updating instruction sent by the intelligent terminal through the communication module, the control module receives an updating data packet from external equipment through the communication module to update the original washing program in the control module.
Preferably, the control module comprises a control unit and an external memory connected with the control unit, the update data packet is received by the external memory, and the control unit calls the update data packet in the external memory to update the original washing program.
Preferably, the control module comprises a first control unit and a second control unit, the washing program is programmed on the second control unit, the update data packet is received to the first micro control unit, and the second micro control unit calls the update data packet in the first micro control unit to update the original washing program.
Preferably, the control module has a read-only memory space, and the read-only memory space stores a default washing program.
Preferably, the update data packet includes a washing program or a plurality of operation parameters including a water level and/or a washing time and/or a dehydrating time and/or a pulsator rotation stop ratio.
Preferably, when the control module receives a program updating instruction sent by the intelligent terminal through the communication module, if the control module is in an idle state, the control module sends a scalable instruction through the communication module and receives an updating data packet; and if the control module is in a non-idle state, the control module sends out a non-upgradable instruction through the communication module.
Preferably, the external device is a cloud server, and the update data packet is directly transmitted to the control module by the cloud server through a communication module of the washing machine;
or the external equipment is an intelligent terminal, and the update data packet is transmitted to the intelligent terminal by the cloud server and then transmitted to the control module by the intelligent terminal through the communication module of the washing machine.
Preferably, the cloud server divides the update data packet into a plurality of sub data packets, the cloud server sequentially transmits the plurality of sub data packets to the control module through the communication module, and the control module sends an update data packet receiving completion instruction to the intelligent terminal after all the plurality of sub data packets are transmitted;
when the control module receives one sub data packet successfully, a receiving success instruction is sent to the cloud server once, and after the cloud server receives the receiving success instruction, the cloud server continues to send the next sub data packet;
and if the control module receives the sub data packet and the sub data packet is wrong, sending a receiving failure instruction to the cloud server, and after receiving the receiving failure instruction, the cloud server resends the sub data packet.
Preferably, when the number of times that the cloud server receives the failure instruction exceeds a preset value, the control module stops receiving the sub-data packet and sends an upgrade failure instruction to the intelligent terminal.
Preferably, if the time for updating the data packet exceeds the preset time, the intelligent terminal still does not receive the update data packet receiving completion instruction sent by the control module, and then the intelligent terminal sends an upgrade failure prompt.
The technical scheme provided by the invention has the beneficial effects that:
the washing machine program updating method of the invention sends out the program updating instruction by operating the intelligent terminal, the control module of the washing machine automatically receives the updating data packet from the external equipment through the communication module and updates the original washing program without replacing hardware such as a computer board and professional training or assistance of professionals, a user can share the latest washing program and autonomously complete the updating of the washing program, the washing experience of the user is improved, the operation is convenient, the professional requirement is low, and the waste of resources is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a washing machine according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a washing machine according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a washing machine according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a washing machine according to a fourth embodiment of the present invention.
In the figure:
1. MCU; 2. an external memory; 3. a communication module; 4. a router; 5. an intelligent terminal; 6. a cloud server; 7. a Bluetooth module; 8. MCU I; 9. and MCU II.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
fig. 1 is a schematic structural diagram of a washing machine according to the present embodiment. As shown in fig. 1, the washing machine has a control module and a communication module 3. The control module comprises a control unit MCU1 and an external memory 2 connected with the MCU 1. The communication module 3 is a wifi module or has a wired network port. The communication module 3 can be in communication connection with the intelligent terminal 5 and the cloud server 6 through the router 4. The MCU1 has an erasable storage space, a burning washing program is written in the erasable storage space, and the MCU1 controls the operation of the washing machine according to the washing program.
The washing machine program updating method comprises the steps that a user opens application software on an intelligent terminal 5, the intelligent terminal 5 is operated to send a program updating instruction, the program updating instruction is transmitted to an MCU1 through a router 4 and a communication module 3, if the MCU1 is in an idle state, the MCU1 sends a scalable instruction through the communication module 3, a cloud server 6 transmits an updating data packet to an external memory 2 through the communication module 3, and the MCU1 calls an updating data packet in the external memory 2 to update an original washing program in the external memory; if the MCU1 is not in the idle state, the MCU1 sends a non-upgradable command through the communication module 3.
In this embodiment, as a preferable mode, the update data packet is transmitted in a manner that the cloud server 6 divides the update data packet into a plurality of sub data packets, the cloud server 6 sequentially transmits the plurality of sub data packets to the MCU1 through the communication module 3, and when all of the plurality of sub data packets are transmitted, the MCU1 sends an update data packet reception completion instruction to the intelligent terminal 5. Each time the MCU1 successfully receives one sub data packet, it sends a successful reception instruction to the cloud server 6, and after the cloud server 6 receives the successful reception instruction, it continues to send the next sub data packet until all the transmissions are completed. If the MCU1 receives the sub data packet with an error, it sends a reception failure instruction to the cloud server 6, and after receiving the reception failure instruction, the cloud server 6 resends the sub data packet.
In this embodiment, as a preferable mode, when the number of times that the cloud server 6 receives the failure instruction exceeds a preset value, the MCU1 stops receiving the sub-packets, and sends an upgrade failure instruction to the intelligent terminal 5.
In this embodiment, as a preferable mode, if the time for updating the data packet exceeds the preset time, and the intelligent terminal 5 still does not receive the update data packet reception completion instruction sent by the MCU1, the intelligent terminal 5 sends an upgrade failure prompt, and the user may operate and select to continue the upgrade or stop the upgrade on the intelligent terminal 5.
The update data packet may be a complete washing program, and the MCU1 completely replaces the received updated washing program with the original washing program. In addition, although various washing machines have various programs, the processes are basically consistent, water inlet, washing, water discharge and dehydration are mainly performed, only some operation parameters, such as water level, washing/dehydration time, wave wheel rotation stopping ratio and the like, are different, so that different washing programs are presented, therefore, the update data packet can also be a plurality of operation parameters, the MCU1 only replaces the original operation parameters with the received updated operation parameters, and the whole washing program is not changed. Therefore, the requirements on the hardware of the washing machine can be reduced, and the cost is saved.
In this embodiment, as a preferred mode, the MCU1 has a read-only memory space, and a default washing program is fixed in the read-only memory space, so that once a program update failure, a program crash, or the like occurs, the default washing program can be restored to ensure that the washing machine can be used normally.
In addition, the intelligent terminal 5 can also be in communication connection with the cloud server 6 through the mobile base station.
Example two:
fig. 2 is a schematic structural diagram of the washing machine provided in the present embodiment. As shown in the figure, the washing machine has a structure substantially the same as that of the first embodiment, and includes a control module and a communication module. The control module comprises a control unit MCU1 and an external memory 2 connected with the MCU 1. The difference is that the communication module in this embodiment is a bluetooth module 7. The intelligent terminal 5 is in communication connection with the cloud server 6 through the router 4 or the mobile base station.
When the wifi signal is weaker or does not have the wifi signal, the washing machine is connected with the intelligent terminal 5 through the Bluetooth module 7 in a communication mode. The update data packet is firstly transmitted to the intelligent terminal 5 by the cloud server 6, and then transmitted to the MCU1 by the intelligent terminal 5 through the bluetooth module 7. The specific program updating method is similar to the embodiment and is not described herein again.
Example three:
fig. 3 is a schematic structural diagram of the washing machine provided in the present embodiment. As shown, the washing machine has a control module and a communication module 3. The control module comprises a first control unit MCU I8 and a second control unit MCU II 9, the MCU I8 is used for communication, a washing program is burnt on the MCU II 9, and the MCU II 9 controls the operation of the washing machine according to the washing program. The communication module 3 is a wifi module or has a wired network port. The communication module 3 can be in communication connection with the intelligent terminal 5 and the cloud server 6 through the router 4.
The washing machine program updating method comprises the steps that a user opens application software on an intelligent terminal 5, the intelligent terminal 5 is operated to send a program updating instruction, the program updating instruction is transmitted to an MCU I8 through a router 4 and a communication module 3, if the MCU I8 is in an idle state, the MCU I8 sends a scalable instruction through the communication module 3, a cloud server 6 transmits an updating data packet to the MCU I8 through the communication module 3, and the MCU II 9 calls the updating data packet in the MCU I8 to update an original washing program in the MCU I8; if MCU I8 is in non-idle state, MCU I8 sends out the instruction that can not upgrade through communication module 3. The transmission method of the update data packet is similar to that of the embodiment, and is not described herein again.
In this embodiment, as a preferred mode, the MCU ii 9 has a read-only memory space, and a default washing program is fixed in the read-only memory space, so that once the problems of program update failure, program crash, etc. occur, the default washing program can be restored to ensure that the washing machine can be used normally.
This embodiment uses two MCU through dual-core framework, divides the worker according to the function, and MCU I8 is responsible for communication function, and MCU II 9 is responsible for control function, and both can be in step and independently move mutually noninterfere, improve the reliability, can realize washing machine while moving the program update.
Example four:
fig. 4 is a schematic structural diagram of the washing machine provided in the present embodiment. As shown in the figure, the structure of the washing machine is basically the same as the third embodiment, and the washing machine is provided with a control module and a communication module. The control module comprises a first control unit MCU I8 and a second control unit MCU II 9, the MCU I8 is used for communication, a washing program is burnt on the MCU II 9, and the MCU II 9 controls the operation of the washing machine according to the washing program. The difference is that the communication module in this embodiment is a bluetooth module 7. The intelligent terminal 5 is in communication connection with the cloud server 6 through the router 4 or the mobile base station.
When the wifi signal is weaker or does not have the wifi signal, the washing machine is connected with the intelligent terminal 5 through the Bluetooth module 7 in a communication mode. The update data package is firstly transmitted to the intelligent terminal 5 by the cloud server 6, and then transmitted to the MCU I8 by the intelligent terminal 5 through the Bluetooth module 7. The specific program updating method is similar to the embodiment and is not described herein again.
The technical principle of the present invention is described above in connection with specific embodiments. The description is made for the purpose of illustrating the principles of the invention and should not be construed in any way as limiting the scope of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.