CN115421743A - System upgrading method, device, equipment and computer readable storage medium - Google Patents

System upgrading method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115421743A
CN115421743A CN202110604774.5A CN202110604774A CN115421743A CN 115421743 A CN115421743 A CN 115421743A CN 202110604774 A CN202110604774 A CN 202110604774A CN 115421743 A CN115421743 A CN 115421743A
Authority
CN
China
Prior art keywords
version
data
module
communication module
display module
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.)
Pending
Application number
CN202110604774.5A
Other languages
Chinese (zh)
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.)
Wuxi Filin Electronics Co Ltd
Original Assignee
Wuxi Filin Electronics 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 Wuxi Filin Electronics Co Ltd filed Critical Wuxi Filin Electronics Co Ltd
Priority to CN202110604774.5A priority Critical patent/CN115421743A/en
Publication of CN115421743A publication Critical patent/CN115421743A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a system upgrading method, a device, equipment and a computer readable storage medium, wherein the method is applied to household appliances, the household appliances at least comprise a communication module, a display module and a main control module, the communication module is in communication connection with the display module, and the method comprises the following steps: determining that the version updating time is reached, and controlling the communication module to send version updating data to the display module, wherein the version updating data is sent to the communication module by the server when the version updating is determined to exist; controlling the display module to transmit the received version updating data to the main control module; and upgrading the system based on the version updating data.

Description

System upgrading method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of system upgrade techniques, and relates to, but is not limited to, a method, an apparatus, a device, and a computer-readable storage medium for system upgrade.
Background
With the continuous spread of the internet and fifth generation mobile communication Technology (5 g), there are more and more models of washing machines capable of supporting Over-the-Air Technology (OTA). In addition, the wireless communication technology is more mature, so that the size of the wireless communication module is smaller and smaller, the original single module is developed into a patch-type communication board, the patch-type communication board can be flexibly inserted into a main control board of the washing machine, and the washing machine can be promoted to realize system upgrading based on OTA.
Therefore, when the main control board is researched and developed, compatibility and interface connection between the main control board and the communication module must be taken into consideration, so that the research and development period of the main control board can be prolonged, port resources of the main control board are occupied, running resources of the main control board are consumed, and stability and reliability of the main control board are affected. In addition, as the communication module is updated faster, it is not favorable for the standardized design of the main control board.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a device, and a computer-readable storage medium for system upgrade.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a system upgrading method, which is applied to household appliances, wherein the household appliances at least comprise a communication module, a display module and a main control module, the communication module is in communication connection with the display module, and the method comprises the following steps:
determining that the version updating time is reached, and controlling the communication module to send version updating data to the display module, wherein the version updating data is sent to the communication module by the server when the version updating is determined to exist;
controlling the display module to transmit the received version updating data to the main control module;
and upgrading the system based on the version updating data.
The embodiment of the application provides a system upgrading device, which comprises:
the first control module is used for determining that the version updating time is reached and controlling the communication module to send version updating data to the display module, wherein the version updating data are sent to the communication module by the server when the version updating is determined to exist;
the second control module is used for controlling the display module to transmit the received version updating data to the main control module;
and the upgrading module is used for upgrading the system based on the version updating data.
The embodiment of the application provides a household electrical appliances, household electrical appliances include at least: display module, communication module and host system, host system includes treater and memory, wherein:
the display module is used for displaying the visual content of the household appliance, receiving the version updating data sent by the communication module and transmitting the received version updating data to the main control module;
the communication module is used for sending version updating data to the display module;
the memory in the main control module is used for storing a computer program which can be run on the processor, and the processor in the main control module is used for realizing the system upgrading method.
An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the system upgrading method.
The embodiment of the application provides a system upgrading method, a device, equipment and a computer readable storage medium, which are applied to household appliances, wherein the household appliances at least comprise a communication module, a display module and a main control module, the communication module is in communication connection with the display module, and when the version updating time is determined to be reached, the communication module is controlled to send version updating data to the display module, wherein the version updating data is sent to the communication module by a server when the version updating is determined to exist; then, controlling the display module to transmit the received version updating data to the main control module; and finally, the main control module carries out system upgrading based on the version updating data. Through establishing the communication connection of the communication module and the display module, on the basis of ensuring the realization of system upgrading, the communication module does not need to be established between the communication module and the main control module, so that the compatibility between the main control module and the communication module and the interface connection between the main control module and the communication module do not need to be taken into consideration when the main control module is researched and developed, the research and development period of the main control module is shortened, the port resource and the running resource of the main control module are saved, the stability and the reliability of the main control module are improved, and therefore, the standardized design of the main control module is facilitated.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic flow chart of an implementation of a system upgrading method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another implementation flow of the system upgrading method according to the embodiment of the present application;
fig. 3 is a schematic flowchart of an implementation of a method for sending version update data to a display module by a communication module according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an implementation of the method for upgrading a system based on version update data according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a communication connection between a home appliance and a cloud server according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another implementation of the system upgrading method according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a component of a system upgrading apparatus provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a household electrical appliance according to an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Based on the problems existing in the related art, the embodiment of the application provides a system upgrading method, the method is applied to household appliances, the household appliances at least comprise a communication module, a display module and a main control module, the communication module is in communication connection with the display module, and the communication connection between the communication module and the display module can be established by connecting the communication module with a hardware interface of the display module. The method provided by this embodiment may be implemented by a computer program, and when the computer program is executed, each step in the system upgrading method provided by this embodiment is completed. In some embodiments, the computer program may control a processor in the home device to execute. Fig. 1 is a schematic flow chart of an implementation process of a system upgrading method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
step S101, determining the version updating time, and controlling the communication module to send version updating data to the display module.
Here, the version update data is sent to the communication module of the home appliance device by the server when it is determined that there is a version update, where the home appliance device may be a washing machine, an air conditioner, an electric cooker, an integrated cooker, or the like, and the communication module may be a wireless communication module or a wired communication module, and further, the wireless communication module may be a WIFI module, a bluetooth (bluetooth) module, a ZigBee (ZigBee) module or an air-drop module, or the like. On one hand, the communication module can establish communication connection with the server to realize data transmission between the communication module and the server; on the other hand, the communication module is also in communication connection with the display module so as to realize data transmission between the communication module and the display module.
The display module can be a liquid crystal display or a shadow map display, and can display the working state of the household appliance, the functions of the household appliance, the date and other information. The server can be a general server or a special server, and at least the latest version information of the household appliance is stored in the server.
In the embodiment of the application, the home appliance device may establish a communication connection with the server through the communication module, and further, when the server determines that the version update occurs, that is, a developer uploads a new version or patch to the server, the server may determine that the version update occurs based on the acquired new version or patch, and then the server may actively or based on current version information sent by the communication module, send version update data to the communication module. And then, when the communication module receives the version updating data sent by the server, determining that the version updating time is reached, and controlling the communication module to send the version updating data to the display module by the main control module.
In some embodiments, in order to avoid that the version update data with a large storage space occupies too many resources during the transmission process, the communication module may further divide the version update data, obtain a plurality of version update sub-data, and sequentially send the plurality of version update sub-data to the display module.
Step S102, controlling the display module to transmit the received version updating data to the main control module.
Here, the main control module at least includes a Central Processing Unit (CPU), a buffer register, a memory, and the like, and is configured to store version information of the home appliance, and run a system program corresponding to the stored version information, so that the home appliance can execute a corresponding process based on the stored version information, and implement a corresponding function.
In the embodiment of the application, in the household appliance, the display module and the main control module can be in communication connection based on serial port lines or pins. When communication is carried out, on one hand, transparent transmission or non-transparent transmission can be adopted; on the other hand, serial transmission or synchronous transmission may also be adopted, which is not limited in the embodiments of the present application. Then, after receiving the version update data sent by the communication module in step S101, the display module transmits the received version update data to the main control module.
In some embodiments, when the version update data received by the display module through step S101 is divided into a plurality of version update sub-data, the plurality of version update sub-data are sequentially transmitted to the main control module.
And step S103, upgrading the system based on the version updating data.
Here, after the main control module receives the version update data, the current version information of the home appliance is updated or upgraded based on the version update data, so as to implement system upgrade of the home appliance.
In some embodiments, whether the version updating data is version upgrading differential data or version data higher than the current version information can be further determined, wherein the version upgrading differential data refers to data for performing bug fixing or function improvement on the current version information; the version data higher than the current version information can be version data of latest version information in the server, is complete version data of the version information, and can be used for upgrading the household appliance system by replacing the version data of the current version information with the version data of the latest version information.
In some embodiments, when the version updating data is the version updating differential data, the current version information can be modified, increased or decreased through the version updating data, so as to achieve the purpose of system bug repair or function improvement, thereby completing the system updating of the household appliance; and when the version updating data is version data higher than the current version information, the version updating data can be used for replacing the version data of the current version information so as to upgrade the system of the household appliance to a higher version and realize the function corresponding to the higher version, thereby completing the system upgrade of the household appliance.
The embodiment of the application provides a system upgrading method, which is applied to household appliances, wherein the household appliances at least comprise a communication module, a display module and a main control module, the communication module is in communication connection with the display module, and when the version updating opportunity is determined to be reached, the communication module is controlled to send version updating data to the display module, wherein the version updating data is sent to the communication module by a server when the version updating is determined to exist; then, controlling the display module to transmit the received version updating data to the main control module; and finally, the main control module carries out system upgrading based on the version updating data. Through establishing the communication connection between the communication module and the display module, the communication module does not need to be established between the communication module and the main control module on the basis of ensuring the realization of system upgrading, so that the compatibility with the communication module and the interface connection with the communication module do not need to be taken into consideration when the main control module is researched and developed, the research and development period of the main control module is shortened, the port resource and the operation resource of the main control module are saved, the stability and the reliability of the main control module are improved, and the standardized design of the main control module is facilitated.
Based on the foregoing embodiment, a system upgrade method is further provided in the embodiments of the present application, which is applied to an electrical appliance, where the electrical appliance at least includes a communication module, a display module, and a main control module, and the communication module establishes a communication connection with the display module, as shown in fig. 2, the method includes:
in step S201, it is determined whether a query condition is reached.
In the embodiment of the present application, when it is determined that the query condition is reached, a query operation is started, and the process proceeds to step S202; if the query condition is determined not to have been reached, the query operation is not started, and the process returns to step S201 to continuously determine whether the query condition is reached.
Wherein, the query condition can be determined to be reached through the following two ways:
the first method is as follows: and when the household appliance is monitored to be powered on or started, determining that the query condition is reached.
In this embodiment, it may be determined that the query condition is met when it is monitored that the power line of the home appliance is powered on. Or when the 'power-on' button on the household appliance is monitored to be triggered, the household appliance is considered to be started, and therefore the query condition is determined to be reached.
The second method comprises the following steps: and under the condition that the household appliance is in a power-on state, determining that the interval duration between the current time and the historical time of sending the query request last time reaches the preset query duration, and determining that the query condition is reached.
Here, the power-on state refers to a state in which a power line of the home appliance is powered on, and at this time, the home appliance may be in a standby state or in a power-on state. Further, determining the current time and the historical time of the last sending of the query request; then, determining the interval duration of the two moments; finally, judging whether the interval duration reaches the preset query duration, and if the interval duration reaches the preset query duration, determining that the query condition is reached; and if the interval time does not reach the preset query time, determining that the query condition is not reached. The preset query duration may be a default value, for example, 0.5 hour, 1 hour, 2 hours, and the like; the preset query duration can also be a user-defined value, so that the flexibility of the preset query time can be increased.
And step S202, controlling the display module to acquire the current version information.
Here, the display module is controlled to acquire the current version information when it is determined that the query condition is reached. Because communication connection exists between the display module and the main control module in the household appliance device based on serial port lines or pins, the display module can be controlled to acquire the current version information of the household appliance device from the main control module through an instruction or a command line, wherein the current version information at least comprises the version number, release time, installation time, an installation package and the like of the current version of the current system of the household appliance device.
Step S203, the control display module sends the current version information to the communication module.
Here, the wireless communication module is also in communication connection with the display module, and further, the communication module may be in communication connection with the display module through a hardware interface and/or a communication bus, so that the display module may transmit the current version information to the communication module through the communication connection.
In the embodiment of the application, after the display module acquires the current version information, the current version information can be directly sent to the communication module, and of course, the display module can be controlled by an instruction or a command line to send the current version information to the communication module.
And step S204, controlling the communication module to send the current version information to the server.
Here, the communication module may transmit the current version information to the server by wireless communication, wherein the purpose of the communication module transmitting the current version information to the server is: so that the server determines the version update data and transmits the version update data to the communication module when determining that the current version information is not the latest version information.
In this embodiment of the application, the server may be a general server or a dedicated server, and the communication module may send the current version information to the server in a wired manner or a wireless manner.
In step S205, the server determines whether the current version information is the latest version information.
Here, the server can access the internet and store the latest version information of the home appliance. When the server receives the current version information sent by the communication module of the household appliance, whether the version number of the current version information is the version number of the latest version information or not can be judged, if the version number of the current version information is the version number of the latest version information, the household appliance is indicated not to need system upgrade, and the step S202 is returned; if the version number of the current version information is not the version number of the latest version information, it indicates that the household electrical appliance needs to perform system upgrade, and the server can determine version update data at least including the version number of the latest version, release time, and installation package based on the latest version information, and enter step S206, that is, send the version update data to the communication module.
In step S206, the server transmits the version update data to the communication module.
And sending the determined version updating data to a communication module of the household appliance so as to upgrade the system of the household appliance.
And step S207, controlling the display module to send a query request to the communication module.
Here, the display module may be controlled by an instruction or command line to transmit an inquiry request to the communication module, wherein the inquiry request is for inquiring whether version update data exists in the communication module.
Step S208, determining whether the communication module has version update data.
Here, the data in the communication module may be acquired, and if the data can be acquired, it is considered that the version update data exists in the communication module, and the process proceeds to step S209, that is, it is determined that the version update timing is reached. If the data cannot be acquired, the communication module is determined to have no version update data, and the process goes to step S202 to continue to control the display module to acquire the current version information.
In step S209, it is determined that the version update timing is reached.
Here, the version update timing means that the version update condition is already satisfied, that is, the preparation work such as communication connection and version update information is ready, and the version update operation can be performed.
Step S210, obtaining a storage space occupied by the version update data.
Here, the attribute information of the version-up data may be obtained by obtaining the attribute information, where the attribute information at least includes a size of the occupied storage space, and obtaining the storage space occupied by the version-up data based on the attribute information.
Step S211, determine whether the storage space exceeds the storage threshold.
Here, the storage threshold may be 150 kilobytes (K), 200K, etc., and if the storage space is greater than the storage threshold, the step S214 is entered, and the communication module is controlled to divide the version update data according to the preset specification; if the storage space is less than or equal to the storage threshold, the communication module does not need to be controlled to segment the version update sub-data, and step S212 is performed, that is, the communication module is controlled to send the version update data to the display module.
Step S212, the communication module is controlled to send version update data to the display module.
Here, the communication module transmits the version update data to the display module through the established communication connection between the communication module and the display module. As shown in fig. 3, this can be achieved by the following steps S2121 to S2122:
and S2121, performing security analysis on the version updating data based on a preset security policy to obtain an analysis result.
Here, in order to ensure the security of the version update data and prevent the version update data from including virus data such as network viruses and file viruses, it is necessary to perform security analysis on the version update data based on a preset security policy, where the preset security policy may be an identity-based security policy, a rule-based security policy, or a role security policy. Then, through the security analysis, an analysis result indicating whether the version update data is secure can be obtained.
Step S2122, determining that the version updating data meet the preset safety condition based on the analysis result, and controlling the communication module to send the version updating data to the display module.
Here, the preset safety condition may be that the probability of the existence of the virus in the version-up data is lower than a safety threshold, the safety threshold may be 0.8%, 1%, and so on, and taking the probability threshold as 1%, for example, if the analysis result indicates that the probability of the existence of the virus in the version-up data is 0.6%, it is determined that the version-up data meets the tongue safety condition, and the adjustment module is controlled to send the version-up data to the display.
Through the steps S2121 and S2122, the security analysis is performed on the version update data based on the preset security policy to obtain an analysis result, and when the analysis result determines that the version update data meets the preset security condition, the communication module is controlled to send the version update data to the display module, so that the security of the update data can be ensured, the home appliance device is prevented from receiving malignant attacks such as viruses, and the defense capability of the home appliance device is improved.
Step S213, the control display module transmits the received version update data to the main control module.
Here, since the main control module stores and runs the version-related information, after the display module receives the version-update data, the version-update data is transmitted to the main control module through the communication connection.
And step S214, controlling the communication module to divide the version updating data according to the preset specification to obtain a plurality of version updating subdata.
Here, the preset specification may be a value smaller than or equal to the storage threshold, for example, when the storage threshold is 150K, the preset specification may be 100K, 120K, and so on. Then, the control communication module divides the version update data according to the preset specification, and at least two version update subdata can be obtained. For example, when the storage space is 500K, the storage threshold is 150K, and the preset specification is 100K, 5 version update sub-data can be obtained.
Step S215, the communication module is controlled to sequentially send the plurality of version update sub-data to the display module.
Here, in the implementation process of step S215 and the implementation process of step S212, the only difference is that the transmitted data is replaced by the version update data with the plurality of version update sub-data, that is, from one transmission to a plurality of transmissions. Therefore, the implementation process of step S215 may refer to the implementation process of step S212.
Step S216, the control display module sequentially transmits the received multiple version update sub-data to the main control module.
Here, in the implementation process of step S216 and the implementation process of step S213, the only difference is that the transmitted data is replaced by the plurality of version update sub-data from the version update data, that is, one transmission is replaced by a plurality of transmissions. Therefore, the implementation process of step S216 may refer to the implementation process of step S213.
Step S217, verifying the version updating data based on a preset verification method to obtain a verification result.
Here, in order to ensure that the received version update data is complete data, the version update data is checked based on a predetermined checking method, wherein the predetermined checking method may be cyclic redundancy check, parity check, square matrix check, or the like. Based on this, a verification result capable of characterizing the integrity of the version update data is obtained.
And step S218, determining that the verification result representation version updating data meets the data integrity condition, and performing system upgrading based on the version updating data.
Here, the integrity condition is that the version update data received by the main control module is consistent with the version update data determined by the server, that is, the data is not lost in the transmission process, and then the system is upgraded based on the version update data. As shown in fig. 4, system upgrade may be implemented by the following steps S2181 and S2182:
step S2181, determining the version updating data as version updating differential data, and performing system updating based on the current version information and the version updating data.
The version upgrading differential data refers to data with a bug repair function or a complete function on the current version information, and when the version upgrading data is determined to be the version upgrading differential data, the current version information can be modified, increased or decreased through the version upgrading data, so that the purpose of system bug repair or complete function is achieved, and the system upgrading of the household appliance is completed.
Step S2182, determining that the version update data is version data higher than the current version information, and performing system upgrade based on the version update data.
Here, the version data higher than the current version information may be version data of the latest version information in the server, which is version data of one complete version information. And when the version updating data is determined to be the version data higher than the current version information, the version updating data can be used for replacing the version data of the current version information so as to upgrade the system of the household appliance to a higher version and realize the function corresponding to the higher version, thereby completing the system upgrade of the household appliance.
Through the steps S2181 and S2182, the home appliance device can further determine whether the version update data is version upgrade differential data or version data higher than the current version information, and perform different operations based on different version update data, and when the version update data is determined to be the version upgrade differential data, vulnerability repair and function improvement are performed on the current version information; and when the version updating data is version data higher than the current version information, the current version information is comprehensively upgraded. Therefore, different types of upgrading of the system can be realized.
In the embodiment of the present application, through the steps S201 to S218, when the home appliance is powered on and started, or in a powered-on state, and a preset query duration is separated from a historical time at which a query request was sent last time, it is determined that a query condition is reached; in some embodiments, when the server receives the current version information, the current version information is compared with the latest version information stored by the server, and when the current version information is compared to be not the latest version information, the server generates version update data based on the latest version information and sends the version update data to the communication module. In addition, in other embodiments, once the server finds that there is a version update, the server determines the version update data and actively sends the version update data to the communication module. Then, the control display module sends a query request to the communication module through communication connection, the query request is used for judging whether the communication module has version updating data, and when the communication module does not have the version updating data, the control display module continues to obtain the current version information; and when the communication module has the version updating data, determining that the version updating time is reached. The method comprises the steps that a storage space of version updating data is obtained, whether the storage space of the version updating data searches a storage threshold value or not is judged, and when the storage space exceeds the storage threshold value, in order to ensure the version updating data transmitted on the premise that the household appliance operates normally, a communication module can divide the version updating data, send version updating subdata to a display module in blocks, and the same display module can transmit the version updating subdata to a main control module in blocks; and under the condition that the storage space does not exceed the storage threshold, the communication module can directly send the version updating data to the display module, and the same display module transmits the version updating data to the main control module. And finally, the main control module checks the received version updating data or the version updating subdata, and when the checking result represents that the version updating data or the version updating subdata are complete, the system is upgraded based on the version updating data. In the whole upgrading process, the main control module does not directly communicate with the communication module, therefore, communication connection between the main control module and the communication module is not required to be established, namely, when the main control module is researched and developed, compatibility with the communication module and interface connection with the communication module are not required to be considered, so that the research and development period of the main control module is shortened, port resources and running resources of the main control module are saved, stability and reliability of the main control module are improved, and standardized design of the main control module is facilitated.
Based on the foregoing embodiment, an embodiment of the present application further provides a system upgrade method, which is applied to a washing machine, the washing machine includes a main control board, a WIFI module, and a display board, the WIFI module is embedded in the display board through a port, a home appliance can access a cloud server through the WIFI module, referring to fig. 5, a communication connection exists between the main control board 511 and the display board 513, since the WIFI module 512 is embedded in the display board 513, the display board 513 and the WIFI module 512 can establish a communication connection through the port, and the washing machine 51 can establish a communication connection with the cloud server 52 through a wireless communication function of the WIFI module 512. As shown in fig. 6, the method includes:
step S601, determining that the washing machine is powered on or started.
Here, the washing machine is powered on, that is, the washing machine is powered on, and the starting is that a 'switch' button of the washing machine is triggered, and at the moment, the operation program of the washing machine is ready.
And step S602, the display panel sends the current version information of the main control panel to the WIFI module.
Step S603, the WIFI module uploads the current version information to the cloud server.
In step S604, the cloud server determines whether the current version information is the latest version information.
Here, the cloud server may determine the latest version information stored by itself, and compare the current version information with the latest version information, and when the current version information is the latest version information, it indicates that the washing machine does not need to perform system upgrade, then step S602 is performed; when the current version information is not the latest version information, it indicates that the latest version information of a higher version exists at present, and the version of the latest version information is higher than that of the current version information, at this time, the washing machine needs to perform system upgrade, and the process proceeds to step S605.
Step S605, the cloud server controls downloading of version update data to the WIFI module.
Here, the cloud server determines version update data including a version number, a publication time, and an installation package based on the latest version information, and transmits the version update data to the WIFI module.
Step S606, the display panel inquires whether version update data exists in the WIFI module.
Here, the display panel sends an inquiry command to the WIFI module for determining whether version update data exists in the WIFI module, where the version update data may be OTA upgrade data. If the version updating data exists in the WIFI module, which indicates that the washing machine is going to update the version, the step S607 is executed; if the version updating data does not exist in the WIFI module, the washing machine does not need to be updated in version updating, and the step S602 is returned.
In step S607, the WIFI module divides the version update data into small pieces of data to be downloaded to the display panel.
Here, in order to ensure that each component inside the washing machine operates normally without being affected by the version update, the main control board, the display board and the WIFI module may respectively allocate 200K to 300K of storage space to store the version update data. Considering that the storage space occupied by the actual version update data is generally large and can exceed 300K, the WIFI module divides the version update data to obtain a plurality of small data blocks, and downloads the small data blocks to the display panel.
In step S608, the display panel transparently transmits the received small data to the main control panel.
Here, after the display panel receives the plurality of small pieces of data, the plurality of small pieces of data are sequentially transmitted to the main control panel, wherein the transmission efficiency can be improved through the transmission.
In step S609, the display panel determines whether the block data is transmitted completely.
Here, the display panel reads the version update data from the WIFI module, and if the version update data is not read, it indicates that the WIFI module has sent all the version update data, and the process goes to step S610; if the version update data can be read, it indicates that the WIFI module still has the version update data that is not sent, and the process returns to step S607.
Step S610, the main control board checks all the received small blocks of data, and completes system updating.
Here, after receiving the whole data packet in batch, the main control board performs data verification, and after the verification is successful, updates the main control program. And sending the message carrying the OTA upgrade success to the display panel. And after receiving the OTA upgrading success message, the display panel closes the transparent transmission function and finishes the transparent transmission.
In the embodiment of the application, through the steps S601 to S610, after the washing machine is powered on or started up, the display panel sends the current version information of the main control panel to the WIFI module, then, the WIFI module uploads the current version information to the cloud server, the cloud server judges whether the current version information is the latest version information, and if the current version information is the latest version information, the washing machine does not perform system upgrade and update, and the display panel continues to send the current version information of the main control panel to the WIFI module; under the condition that the current version information is not the latest version information, the washing machine needs to carry out system upgrading and updating, and the cloud server downloads version updating data to the WIFI module; then, the display panel inquires whether the WIFI module has version updating data or not, and under the condition that the WIFI module has the version updating data, the WIFI module sends the version updating data to the display panel according to small data; then, the display panel transmits the small data to the main control panel; and finally, when all the small data are transmitted to the main control board, the main control board performs integrity verification on all the small data, and after the verification is successful, the current version information is updated, and the system upgrade of the washing machine is completed. In the whole upgrading process, the main control board does not directly communicate with the WIFI module, therefore, communication connection between the main control board and the WIFI module is not required to be established, namely, when the main control board is researched and developed, compatibility with the WIFI module and interface connection with the WIFI module are not required to be considered, so that the research and development period of the main control board is shortened, port resources and running resources of the main control board are saved, stability and reliability of the main control board are improved, and standardized design of the main control board is facilitated.
Based on the foregoing embodiments, the present application provides a system upgrading apparatus, where each module included in the apparatus and each unit included in each module may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the processor may be a CPU, a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 7 is a schematic structural diagram of a system upgrade apparatus provided in an embodiment of the present application, and as shown in fig. 7, the system upgrade apparatus 700 includes:
a first control module 701, configured to determine that a version update opportunity is reached, and control a communication module to send version update data to a display module, where the version update data is sent to the communication module by a server when it is determined that a version update exists;
a second control module 702, configured to control the display module to transmit the received version update data to the main control module;
and an upgrade module 703, configured to perform system upgrade based on the version update data.
In some embodiments, the first control module 701 comprises:
the first determination unit is used for determining that a query condition is met and controlling the display module to send a query request to the communication module, wherein the query request is used for querying whether version update data exist in the communication module; determining that the version update opportunity is reached when version update data exists in the communication module; alternatively, the first and second electrodes may be,
a second determining unit, configured to receive, by the communication module, the version update data sent by the server, and determine that the version update time is reached.
In some embodiments, the first determination unit comprises:
the first determining subunit is used for monitoring that the household appliance is powered on or started, and determining that the query condition is met; alternatively, the first and second electrodes may be,
and the second determining subunit is configured to determine that the query condition is met when an interval duration between the current time and a historical time at which the query request was sent last time reaches a preset query duration under the condition that the household appliance is in the powered-on state.
In some embodiments, the first determining unit further comprises:
the first control subunit is used for controlling the display module to acquire the current version information;
the second control subunit is used for controlling the display module to send the current version information to the communication module;
a third control subunit, configured to control the communication module to send the current version information to the server, so that when the server determines that the current version information is not the latest version information, version update data is determined and sent to the communication module.
In some embodiments, the first control module 701 further comprises:
the acquisition unit is used for acquiring the storage space occupied by the version updating data;
the first control unit is used for determining that the storage space exceeds a storage threshold value, and controlling the communication module to divide the version updating data according to a preset specification to obtain a plurality of version updating subdata;
and the second control unit is used for controlling the communication module to sequentially send the plurality of version update subdata to the display module.
In some embodiments, the second control module 702 comprises:
and the third control unit is used for controlling the display module to sequentially transmit the received multiple version update subdata to the main control module.
In some embodiments, the first control module 701 further comprises:
the analysis unit is used for carrying out security analysis on the version updating data based on a preset security strategy to obtain an analysis result;
and the fourth control unit is used for controlling the communication module to send the version updating data to the display module based on the analysis result to determine that the version updating data meets the preset safety condition.
In some embodiments, the upgrade module 703 includes:
the checking unit is used for checking the version updating data based on a preset checking method to obtain a checking result;
and the first upgrading unit is used for determining that the verification result represents that the version updating data meets the data integrity condition and upgrading the system based on the version updating data.
In some embodiments, the upgrade module 703 further comprises:
the second upgrading unit is used for determining that the version updating data is version upgrading differential data and upgrading the system based on the current version information and the version updating data;
and the third upgrading unit is used for determining that the version updating data is version data higher than the current version information and upgrading the system based on the version updating data.
It should be noted that, in the embodiment of the present application, if the system upgrading method is implemented in the form of a software functional module and is sold or used as a standalone product, the system upgrading method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application or portions thereof that contribute to the related art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps in the system upgrade method provided in the foregoing embodiment.
The embodiment of the present application provides a household electrical appliance, fig. 8 is a schematic diagram of a composition structure of a household electrical appliance provided in the embodiment of the present application, as shown in fig. 8, the household electrical appliance 800 includes: the device comprises a main control module 801, at least one communication bus 802, a display module 803 and a communication module 804, wherein the main control module 801 comprises a processor 8011 and a memory 8012. The communication bus 802 is configured to implement connection and communication between the main control module 801 and the display module 803, and the display module 803 and the communication module 804 establish communication connection. The display module 803 may include a display screen, and is configured to receive version update data sent by the communication module 804 when it is determined that the version update time is reached, and transmit the received version update data to the main control module 801, where the version update data is sent by the server to the communication module when it is determined that the version update exists. The communication module 804 may include a standard wired interface and a wireless interface for receiving version update data sent by the server upon determining that a version update exists; upon determining that the version update opportunity is reached, the version update data is sent to the display module 803. The processor 8011 is configured to execute a program of a system upgrading method stored in the memory 8012, and is configured to control the communication module 804 to transmit version-update data to the display module 803 when it is determined that a version-update timing is reached; the control display module 803 transmits the received version update data to the main control module 801; and upgrading the system based on the version updating data to realize the steps in the system upgrading method provided by the embodiment.
The above description of the embodiments of the home device and the storage medium is similar to the description of the embodiments of the method described above, and has similar beneficial effects as the embodiments of the method. For technical details not disclosed in the embodiments of the household appliance and the storage medium of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an AC to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. The system upgrading method is characterized by being applied to household appliances, wherein the household appliances at least comprise a communication module, a display module and a main control module, the communication module is in communication connection with the display module, and the method comprises the following steps:
determining that a version updating time is reached, and controlling the communication module to send version updating data to the display module, wherein the version updating data is sent to the communication module by the server when the version updating is determined to exist;
controlling the display module to transmit the received version updating data to the main control module;
and upgrading the system based on the version updating data.
2. The method of claim 1, wherein the determining that the version update opportunity is reached comprises:
determining that a query condition is met, and controlling the display module to send a query request to the communication module, wherein the query request is used for querying whether version update data exist in the communication module; determining that the version update opportunity is reached when version update data exists in the communication module; alternatively, the first and second electrodes may be,
and the communication module receives the version updating data sent by the server and determines that the version updating time is up.
3. The method of claim 2, further comprising:
monitoring that the household appliance is powered on or started, and determining that the query condition is reached; alternatively, the first and second electrodes may be,
and under the condition that the household appliance is in a power-on state, determining that the interval duration between the current time and the historical time of sending the query request last time reaches the preset query duration, and determining that the query condition is reached.
4. The method of claim 2, wherein the communication module establishes a communication connection with the display module through a hardware interface, and before the controlling the display module sends the query request to the communication module, the method further comprises:
controlling the display module to acquire current version information;
controlling the display module to send the current version information to the communication module;
controlling the communication module to send the current version information to the server so that when the server determines that the current version information is not the latest version information, version update data is determined and sent to the communication module.
5. The method of claim 1, wherein said controlling said communication module to send version update data to said display module comprises:
acquiring a storage space occupied by the version updating data;
determining that the storage space exceeds a storage threshold, and controlling the communication module to divide the version update data according to a preset specification to obtain a plurality of version update subdata;
controlling the communication module to sequentially send the plurality of version update subdata to the display module;
correspondingly, the controlling the display module to transmit the received version update data to the main control module includes:
and controlling the display module to sequentially transmit the received version update subdata to the main control module.
6. The method of claim 5, wherein said controlling said communication module to send version update data to said display module further comprises:
based on a preset security policy, performing security analysis on the version updating data to obtain an analysis result;
and controlling the communication module to send the version updating data to the display module based on the analysis result to determine that the version updating data meets the preset safety condition.
7. The method of any of claims 1 to 6, wherein the performing a system upgrade based on the version update data comprises:
verifying the version updating data based on a preset verification method to obtain a verification result;
and determining that the verification result represents that the version updating data meets the data integrity condition, and performing system upgrading based on the version updating data.
8. The method of claim 4, wherein said performing a system upgrade based on said version update data comprises:
determining that the version updating data is version updating differential data, and performing system updating based on the current version information and the version updating data;
and determining that the version updating data is version data higher than the current version information, and performing system upgrading based on the version updating data.
9. A system upgrade apparatus, the apparatus comprising:
the first control module is used for determining that the version updating time is reached and controlling the communication module to send version updating data to the display module, wherein the version updating data are sent to the communication module by the server when the version updating is determined to exist;
the second control module is used for controlling the display module to transmit the received version updating data to the main control module;
and the upgrading module is used for upgrading the system based on the version updating data.
10. An appliance device, comprising: display module, communication module and host system, host system includes treater and memory, wherein:
the display module is used for displaying the visual content of the household appliance, receiving the version updating data sent by the communication module and transmitting the received version updating data to the main control module;
the communication module is used for sending version updating data to the display module;
the memory in the main control module is used for storing a computer program which can be run on the processor, and the processor in the main control module is used for realizing the system upgrading method in any one of claims 1 to 8.
11. A computer-readable storage medium having computer-executable instructions stored therein, the computer-executable instructions configured to perform the system upgrade method of any one of claims 1 to 8.
CN202110604774.5A 2021-05-31 2021-05-31 System upgrading method, device, equipment and computer readable storage medium Pending CN115421743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110604774.5A CN115421743A (en) 2021-05-31 2021-05-31 System upgrading method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110604774.5A CN115421743A (en) 2021-05-31 2021-05-31 System upgrading method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115421743A true CN115421743A (en) 2022-12-02

Family

ID=84230493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110604774.5A Pending CN115421743A (en) 2021-05-31 2021-05-31 System upgrading method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115421743A (en)

Similar Documents

Publication Publication Date Title
EP3125110A1 (en) Software upgrade method and terminal
EP2988191B1 (en) Method and electronic device for reducing current consumption by the electronic device
CN106020875B (en) Firmware update management method and device of embedded terminal
CN110730090B (en) Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
CN111182025A (en) Message processing method, device, server and storage medium
CN101741583A (en) Method, device and system for realizing data updating of intelligent household electrical appliance
US11895576B2 (en) Communication control method and communication system
CN114374602B (en) Master control equipment configuration method and device, cloud server and storage medium
CN110688146A (en) Method, device and storage medium for dynamically configuring monitoring system
CN105765533A (en) Method and apparatus for firmware virtualization
CN111026408A (en) Method and device for managing application and computer storage medium
CN115048181A (en) Heat deployment method and device based on Kubernetes container cloud platform and application
CN106020917B (en) A kind of software installation method and device, user terminal
CN103825937A (en) Method, device and system for controlling data updating of embedded equipment
EP2903247A1 (en) Communication adapter, identification code generation method, program, and network system
CN115421743A (en) System upgrading method, device, equipment and computer readable storage medium
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
WO2023198056A1 (en) Firmware update method for embedded device, and embedded device
CN111984287A (en) Equipment upgrading method and system
EP3719634A1 (en) Starting method for multi-mode iot device, multi-mode iot device, and storage medium
CN113934490B (en) Method and device for opening equipment control page, storage medium and electronic device
CN114978904A (en) Remote firmware upgrading method, system, device, embedded equipment and storage medium
KR20150109720A (en) Method for releasing applications and server-client system using the same
CN114662102A (en) File processing method and device and storage medium
KR20150029916A (en) Apparatus and method for setting up computting environments

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