Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention. For example, although the present application is described in conjunction with a washing machine, the technical solution of the present invention is not limited thereto, and it is apparent that the program upgrade control method can also be applied to other laundry treating apparatuses such as a washer-dryer, a dryer, etc., without departing from the principle and scope of the present invention.
Based on the technical problems proposed in the background art, the invention provides a program upgrading control method for a washing machine, which aims to determine a mode of sending upgrading prompt information to all mobile terminals according to use conditions, provides the most reasonable upgrading prompt information sending mode for the washing machine, ensures that a user actually using the washing machine can receive the prompt information and timely upgrade programs of the washing machine, and avoids the occurrence of the situation that the upgrading prompt information is sent to the first mobile terminal bound with the washing machine and the user of the mobile terminal cannot timely upgrade the programs of the washing machine, so that the user can use the latest programs, and further improves the use experience of the user.
Referring to fig. 1 and 2, fig. 1 is a flowchart of a program upgrade control method of the present invention; fig. 2 is a flowchart of a program upgrade control method according to an embodiment of the present invention. As shown in fig. 1, at least one mobile terminal is bound with a washing machine; the program upgrading control method comprises the following steps:
s1, acquiring the use condition of the washing machine used by at least one user of the mobile terminal;
and S2, determining the mode of sending the upgrade prompt information to at least one mobile terminal according to the use condition.
Preferably, the mobile terminal includes a mobile terminal such as a mobile phone, a tablet computer, and a notebook, and the mobile terminal is provided with an APP for receiving the upgrade prompt information.
Preferably, the number of the mobile terminals bound to the washing machine may be one, two, three, four, five or any number, and those skilled in the art may flexibly adjust and set the number of the mobile terminals. The number of mobile terminals bound to the washing machine is two as an example to be further described below.
In a preferred embodiment, the usage includes a number of uses; in step S2, the step of "determining a manner of sending the upgrade hint information to at least one mobile terminal according to the usage" includes:
and S21, sending upgrading prompt information to the mobile terminal of the user corresponding to each use number in sequence from the most to the least according to all use numbers.
In step S21, if the number of times of use of the user is the largest, it indicates that the user is the user who uses or operates the washing machine most frequently among users of all mobile terminals, the user makes the efficiency of upgrading programs of the washing machine the highest, and can upgrade programs of the washing machine in time, and if the number of times of use of the user is the smallest, it indicates that the user is the user who uses or operates the washing machine least frequently among users of all mobile terminals, and the user makes the efficiency of upgrading programs of the washing machine the lowest.
Preferably, in each round of sending the upgrade prompt information, the upgrade prompt information is sent to the mobile terminal of the user corresponding to each number of usage times in sequence from the largest number to the smallest number of usage times. For example, a total of two mobile terminals are bound to the washing machine, where one mobile terminal is the mobile terminal of the user with the largest number of usage times, and the other mobile terminal is the mobile terminal of the user with the smallest number of usage times (i.e., the mobile terminal of the user with the smallest number of usage times).
Preferably, in step S21, the step of "sequentially sending the upgrade prompt information to the mobile terminal of the user corresponding to each usage number in the order of all usage numbers from high to low" specifically includes:
s211, sending upgrading prompt information to the mobile terminal of the user with the largest number of use times;
s212, detecting whether an upgrade control instruction is received within set time;
s213, if the upgrade control instruction is not received within the set time, selectively sending a new round of upgrade prompt information according to the judgment result of whether the upgrade prompt information is sent to each mobile terminal in the process of sending the upgrade prompt information in the current round;
and S214, if the upgrading control instruction is received within the set time, directly upgrading the program of the washing machine without sending upgrading prompt information.
In step S211, in each round of sending the upgrade prompting information, if the number of times of use is the largest, it indicates that the user is the user who uses or operates the washing machine most often among all users of the mobile terminal, the user makes the efficiency of upgrading programs of the washing machine the highest, and can upgrade programs of the washing machine in time.
In step S212, the upgrade control command may be an upgrade control command input by the user, for example, the washing machine provides the user with an upgrade control command option, which is displayed in the form of an icon "YES", selects "YES", i.e., the upgrade control command is input, if the program upgrade is directly performed, and indicates that the program upgrade is not performed or the program upgrade is performed later, if the user does not select "YES". Of course, the washing machine may also provide the user with a non-upgrade control instruction option, which is displayed in the form of an icon "NO", and if a program upgrade is later performed, or a program upgrade is not performed, "NO" is selected, i.e., a non-upgrade control instruction is input.
In step S213, if the upgrade control instruction is not received within the set time, it may be considered that the user does not receive the upgrade prompt information, and in order to accurately determine how to send the upgrade prompt information in the next step, the new round of upgrade prompt information is selectively sent according to the determination result of whether the upgrade prompt information has been sent to each mobile terminal in the process of sending the upgrade prompt information in the current round, so as to ensure that the user of at least one mobile terminal can receive the upgrade prompt information and perform program upgrade on the washing machine in time, and avoid a situation that the upgrade prompt information is sent only to the first mobile terminal bound to the washing machine and the user of the mobile terminal cannot perform program upgrade on the washing machine in time, so that the user can use the latest program, and further improve the user experience. In the step of sending the new round of upgrade prompt information, the upgrade prompt information is sent to the mobile terminal of the user corresponding to each use number in turn according to the sequence of all use numbers from high to low, that is, the upgrade prompt information is sent to the mobile terminal of the user with the largest use number again, and S212 to S214 are repeatedly executed.
In step S214, if the upgrade control instruction is received within the set time, it may be considered that the user has received the prompt information and expects to directly perform program upgrade on the washing machine, so that the washing machine directly performs program upgrade, and the upgrade prompt information is not sent, so that the washing machine can perform program upgrade in time, so that the user can use the latest program, thereby improving the user experience.
In the above process, the set time may be the shortest time for acquiring the upgrade control instruction, for example, 15s, 30s, and the like. Of course, the set time is not limited to the above-mentioned time, and may be other time, for example, experimental time obtained by a person skilled in the art according to an experiment under a specific working condition, or empirical time obtained according to an experience, as long as a requirement determined by the set time whether to selectively perform a new round of sending the upgrade prompt information according to a determination result of whether the upgrade prompt information has been sent to each mobile terminal in the current round of sending the upgrade prompt information is satisfied.
Preferably, in step S213, the step of selectively performing a new round of sending the upgrade prompt information according to a determination result of whether the upgrade prompt information has been sent to each mobile terminal in the current round of sending the upgrade prompt information specifically includes:
s2131, judging whether the upgrade prompt information is sent to each mobile terminal in the process of sending the upgrade prompt information in the current round;
s2132, if the upgrade prompt information is sent to each mobile terminal in the process of sending the upgrade prompt information in the current round, judging whether to send the upgrade prompt information in a new round or directly upgrading the program of the washing machine according to the number of rounds of sending the upgrade prompt information to all the mobile terminals;
and S2133, if the upgrade prompt information is not sent to each mobile terminal in the process of sending the upgrade prompt information in the current round, sending the upgrade prompt information to the mobile terminal of the user with the second use frequency.
In step S2132, if the upgrade prompt information has been sent to all the mobile terminals in the process of sending the upgrade prompt information in the current round, for example, a total of two mobile terminals are bound to the washing machine, one is the mobile terminal of the user with the most use times, the other is the mobile terminal of the user with the second use times, in the process of sending the upgrade prompt information in the current round, the upgrade prompt information is already sent to both the two mobile terminals, and the upgrade control instruction is not received all the time, which indicates that all the users are busy or not connected in the process of sending the upgrade prompt information in the current round, however, it is possible that after the upgrade prompt message is sent in the current round, some users are already busy or can be contacted, in order not to delay the program upgrade of the washing machine, judging whether to carry out a new round of upgrade prompt information transmission or directly carry out program upgrade on the washing machine according to the number of rounds of transmitting the upgrade prompt information to all the mobile terminals.
In step S2133, if the upgrade prompt information has not been sent to all the mobile terminals in the process of sending the upgrade prompt information in the current round, for example, a total of two mobile terminals are bound to the washing machine, where one is the mobile terminal of the user with the largest number of usage times and the other is the mobile terminal of the user with the second number of usage times, and in the process of sending the upgrade prompt information in the current round, the upgrade prompt information has been sent to all the mobile terminals of the user with the largest number of usage times, but the upgrade prompt information has not been sent to the mobile terminal of the user with the second number of usage times, the upgrade prompt information is sent to the mobile terminal of the user with the second number of usage times, and S212 to S215 are repeatedly executed.
Further, in step S2132, the step of "determining whether to perform a new round of sending the upgrade prompt information or directly perform program upgrade on the washing machine according to the number of rounds of sending the upgrade prompt information to all the mobile terminals" specifically includes:
s21321, judging whether the number of rounds is smaller than a preset round threshold value;
s21322, if the number of rounds is smaller than a preset round number threshold, sending a new round of upgrading prompt information;
and S21323, if the number of turns is greater than or equal to the preset number of turns threshold, directly upgrading the program of the washing machine, and no longer sending upgrading prompt information.
In step S21322, if the number of rounds is smaller than the preset number-of-rounds threshold, it indicates that the number of rounds in which the upgrade alert information has been sent to all mobile terminals is small, and the upgrade control instruction is not received within the set time, which indicates that users of all mobile terminals may miss the alert information but not receive the alert information, in order to ensure that the users can receive the upgrade alert information, a new round of upgrade alert information is sent, that is, the upgrade alert information is sent to the mobile terminal of the user with the largest number of uses again first, and S212 to S214 are repeatedly executed until the upgrade control instruction is received or the number of rounds is greater than or equal to the preset number-of-rounds threshold.
In step S21323, if the number of turns is greater than or equal to the preset number of turns threshold, it indicates that a large number of turns of upgrade prompt information have been sent to all mobile terminals, and no upgrade control instruction has been received all the time, it indicates that the user with the largest number of uses is busy or has no contact, and thus cannot receive the prompt information, and even if the prompt information continues to be sent, the user cannot necessarily receive the prompt information, and in order not to delay the program upgrade of the washing machine, the program upgrade is directly performed on the washing machine, and no prompt information is sent again.
Preferably, before "selectively performing a new round of sending the upgrade prompt information according to a determination result of whether the upgrade prompt information has been sent to each mobile terminal in the current round of sending the upgrade prompt information" in step S213, the program upgrade control method further includes:
s2121, counting the sending times of sending the upgrade prompt information to the mobile terminal of the user with the largest using times;
s2122, judging whether the sending times are greater than or equal to a preset time threshold value;
s2123, if the sending times are larger than or equal to a preset time threshold, selectively sending a new round of upgrading prompt information according to a judgment result of whether the upgrading prompt information is sent to each mobile terminal in the process of sending the upgrading prompt information in the current round;
and S2124, if the sending times are smaller than a preset time threshold value, selectively sending the new round of upgrading prompt information according to the judgment result of whether the upgrading prompt information is sent to each mobile terminal in the process of sending the upgrading prompt information in the current round, and continuously sending the upgrading prompt information to the mobile terminal of the user with the largest using times.
In step S2123, if the sending frequency is greater than or equal to the preset frequency threshold, it indicates that the mobile terminal of the user with the largest number of use frequencies has sent the upgrade prompt message for a very large number of times, and no upgrade control instruction is always received, and it indicates that the user with the largest number of use frequencies is busy or not connected, and therefore cannot receive the prompt message, and in order to not delay the program upgrade of the washing machine, the upgrade prompt message is selectively sent for a new round according to a determination result of whether the upgrade prompt message has been sent to each mobile terminal in the process of sending the upgrade prompt message in the current round, so as to ensure that the user with the largest number of use frequencies can receive the prompt message and upgrade the program of the washing machine.
In step S2124, if the sending frequency is less than the preset frequency threshold, it indicates that the number of times of sending the upgrade prompting information to the mobile terminal of the user with the largest number of times of use is less, and the upgrade control instruction is not received within the set time, it indicates that the user with the largest number of times of use may miss the prompting information and not receive the prompting information, and since the user with the largest number of times of use is the user who uses or operates the washing machine most often among all the users of the mobile terminals, and the user makes the efficiency of upgrading the program of the washing machine highest, the upgrade prompting information continues to be sent to the mobile terminal of the user with the largest number of times of use and the steps S212 to S214 are repeatedly executed until the upgrade control instruction is received or the sending frequency is greater than or equal to the preset frequency threshold.
It should be noted that the preset time threshold in the process of sending the upgrade prompt information to the mobile terminal in the N +1 th round is greater than the preset time threshold in the process of sending the upgrade prompt information to the mobile terminal in the nth round, and certainly, the preset time threshold in the process of sending the upgrade prompt information to the mobile terminal in the N +1 th round may also be less than or equal to the preset time threshold in the process of sending the upgrade prompt information to the mobile terminal in the nth round. Wherein N is a positive integer, for example, 1, 2, 3, 4, etc., the preset round number threshold may be 1 round, 2 rounds, 3 rounds, 4 rounds, 5 rounds or any round, the preset number threshold may be 2 times, 3 times, 4 times, 5 times or any number, and those skilled in the art can flexibly adjust and set the values of N, the preset round number threshold and the preset number threshold.
It should be further noted that, in the foregoing process, the upgrade prompting message may be sent to the mobile terminal through the washing machine or the server, and further, the upgrade prompting message may be sent in the form of voice, text, picture, light, and the like.
It should be noted that the method for sending the upgrade prompt information to all the mobile terminals in step S2 is not limited to the method listed in step S21, and the upgrade prompt information may be sent to the mobile terminals of the users corresponding to the number of uses in order of the number of uses from small to large; upgrading prompt information can be sent to all mobile terminals according to the use times and the preset sequence; and the upgrade prompt information can also be sent to the mobile terminal of the user with the largest number of times of use, and a person skilled in the art can flexibly adjust and set the mode for determining to send the upgrade prompt information to all mobile terminals according to the number of times of use.
Alternatively, the use case includes a use frequency; in step S2, the step of "determining a manner of sending the upgrade hint information to at least one mobile terminal according to the usage" includes:
and S22, sending the upgrade prompt information to the mobile terminal of the user corresponding to each use frequency in sequence from high to low.
In step S22, if the usage frequency of the user is the highest, it indicates that the user is the user who uses or operates the washing machine most frequently among users of all mobile terminals, the user makes the efficiency of upgrading programs of the washing machine the highest, and can upgrade programs of the washing machine in time, if the number of times of usage of the user is the smallest, it indicates that the user is the user who uses or operates the washing machine least frequently among users of all mobile terminals, and the user makes the efficiency of upgrading programs of the washing machine the lowest, and in order to ensure that the washing machine can upgrade programs in time, upgrade prompt information is sequentially sent to the mobile terminals of the users corresponding to each usage frequency in order from the highest to the lowest of all usage frequencies, so as to ensure that the users of the mobile terminals can receive the prompt information and upgrade programs of the washing machine, and further improve the usage experience of the user.
Further, the specific implementation manner of step S22 is similar to that of step S21, and will not be repeated here, see steps S211 to S214 described above.
Referring now to fig. 2, fig. 2 is a flowchart of a program upgrade control method according to an embodiment of the present invention.
As shown in fig. 2, in a preferred embodiment, the complete process of the program upgrade control method of the washing machine of the present invention may be:
s1, obtaining the use times of the washing machine used by the user of at least one mobile terminal;
s211, sending upgrading prompt information to the mobile terminal of the user with the largest number of use times;
s2120, detecting whether an upgrade control instruction is received within a set time;
s2121, if not, counting the sending times of sending the upgrade prompt information to the mobile terminal of the user with the largest using times; otherwise, go to step S2141;
s2122, judging whether the sending times are greater than or equal to a preset time threshold value;
s2131, if yes, judging whether the upgrade prompt information is sent to each mobile terminal in the process of sending the upgrade prompt information in the current round; otherwise, returning to the step S211 until the upgrade control instruction is received or the sending times are greater than or equal to the preset time threshold;
s21321, if yes, judging whether the number of rounds is smaller than a preset round threshold value; otherwise, go to step S2133;
s21322, if yes, returning to the step S211 until an upgrade control instruction is received or the round number is larger than or equal to a preset round number threshold value; otherwise, go to step S21323;
s21323, directly upgrading the program of the washing machine, and not sending upgrading prompt information;
s2133, sending upgrading prompt information to the mobile terminal of the user with the use times;
s21341, detecting whether an upgrade control instruction is received within a set time again;
s21342, if not, counting the sending times of sending the upgrade prompting information to the mobile terminal of the user with the use times; otherwise, go to step S2142;
s21343, judging whether the sending times are larger than or equal to a preset time threshold value again;
s21344, if yes, returning to the step S2131 until an upgrade control instruction is received or the round number is larger than or equal to a preset round number threshold value; otherwise, returning to the step S2133 until an upgrade control instruction is received or the number of times of sending is greater than or equal to a preset number of times threshold;
s2141, directly upgrading the program of the washing machine, and no longer sending upgrading prompt information;
s2142, the washing machine is directly upgraded, and the upgrade prompt information is not sent.
It should be noted that the above-mentioned embodiment is only a preferred embodiment of the present invention, and is only used for illustrating the principle of the method of the present invention, and is not intended to limit the protection scope of the present invention, and in practical applications, those skilled in the art can implement the above-mentioned function allocation by different steps, i.e. re-dividing or combining the steps in the embodiment of the present invention, as required. For example, the steps of the above embodiments may be combined into one step, or further divided into multiple sub-steps to complete all or part of the functions described above. For the names of the steps involved in the embodiments of the present invention, they are only for distinguishing the respective steps, and are not to be construed as limiting the present invention.
In addition, although not shown in the drawings, the present invention also provides a washing machine including a body, a chip provided on the body, a communication module, and a control module; wherein, a plurality of programs are stored in the chip; the washing machine is communicated with the server through the communication module, the washing machine is communicated with the mobile terminal through the communication module, and upgrading prompt information can be sent to the mobile terminal through the washing machine or the server; the control module is used for executing the program upgrading control method.
Preferably, the communication module may be one of a bluetooth module, a ZigBee module, a WIFI module, or an NFC module.
Preferably, the mobile terminal includes a mobile terminal such as a mobile phone, a tablet computer, and a notebook, and the mobile terminal is provided with an APP for receiving the upgrade prompt information.
Preferably, the server may be an existing server or a newly built server according to the program upgrade control method of the present invention, and all versions of any program stored in the chip, such as the first version, the second version, and the latest version of the washing program, are stored in the server.
Preferably, the control module may be a control module of the washing machine itself, or may be an additional control module or a mobile terminal, which is not described herein again. In physical form, the control module may be any type of controller, such as a programmable controller, a combinational logic controller, and the like.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.