CN110543318A - control device program updating method and device, storage medium and control device - Google Patents

control device program updating method and device, storage medium and control device Download PDF

Info

Publication number
CN110543318A
CN110543318A CN201910827102.3A CN201910827102A CN110543318A CN 110543318 A CN110543318 A CN 110543318A CN 201910827102 A CN201910827102 A CN 201910827102A CN 110543318 A CN110543318 A CN 110543318A
Authority
CN
China
Prior art keywords
program
control device
firmware
firmware program
updating
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
CN201910827102.3A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910827102.3A priority Critical patent/CN110543318A/en
Publication of CN110543318A publication Critical patent/CN110543318A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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 

Abstract

The embodiment of the invention provides a method and a device for updating a control device program, a storage medium and a control device, wherein the method comprises the following steps: sending a program updating request message to a server according to a received operation instruction, wherein the program updating request message carries equipment information of target equipment to be controlled, so that the server can search a firmware program matched with the equipment information; receiving a program updating response message returned by the server, wherein the updating response message carries the downloading directory of the firmware program; acquiring the firmware program according to the downloading directory; and executing the firmware program to realize the program update of the control equipment. The invention realizes the generalization of the control equipment, enables one control equipment to be adapted to various brands and models and can be updated and upgraded synchronously with the target equipment to be controlled, and improves the user experience.

Description

Control device program updating method and device, storage medium and control device
Technical Field
the present invention relates to the field of intelligent control technologies, and in particular, to a method and an apparatus for updating a program of a control device, a storage medium, and a control device.
Background
The control program of the control equipment of the existing air conditioner, such as an air conditioner remote controller, is basically fixed, namely, a user cannot upgrade and update the function of the remote controller after the remote controller leaves a factory, after the air conditioner self upgrades the function through a WIFI module, the original remote controller cannot use the remote controller to experience new functions because of the incapability of upgrading and updating, and meanwhile, if the logic function of the subsequent remote controller function is adjusted, the remote controller program cannot be updated in time. In addition, because the functions of each air conditioner are different, the types of remote controllers are bound to be more and more, and the air conditioner is not convenient to generalize. Therefore, how to provide the control device program updating method has important significance in realizing the generalization of the control device.
disclosure of Invention
based on the above problems, the invention provides a control device program updating method, a control device program updating device, a storage medium and a control device, which solve the problems that the existing control device cannot update a firmware program along with the function upgrade of a device to be controlled, and cannot adapt to various different machine types.
in one aspect of the present invention, there is provided a control device program update method, the method including:
Sending a program updating request message to a server according to a received operation instruction, wherein the program updating request message carries equipment information of target equipment to be controlled, so that the server can search a firmware program matched with the equipment information;
Receiving a program updating response message returned by the server, wherein the updating response message carries the downloading directory of the firmware program;
acquiring the firmware program according to the downloading directory;
And executing the firmware program to realize the program update of the control equipment.
optionally, the obtaining the firmware program according to the download directory specifically includes:
Downloading the firmware program to an external memory of the control equipment according to the downloading catalog;
And carrying out data integrity check on the firmware program in the external memory, and generating a program updating identifier after the check is passed.
optionally, the obtaining the firmware program according to the download directory specifically includes:
Restarting the control device;
Detecting whether a program updating identifier exists;
If the program update identification is detected, backing up a current application program in an internal memory of the control equipment to obtain a backup program, and writing the firmware program into the internal memory.
Optionally, the executing the firmware program includes:
and carrying out data integrity verification on the firmware program in the internal memory, and executing the firmware program after the verification is passed.
Optionally, if the firmware program in the internal memory fails to pass the data integrity check, the backup program is written into the internal memory, and the backup program is executed to implement the program restoration of the control device.
Optionally, the downloading the firmware program to the external memory of the control device according to the download directory includes:
Displaying a plurality of download information included in the download directory;
And downloading the firmware program corresponding to the download information to an external memory of the control equipment according to the selected download information.
In another aspect of the present invention, there is provided a control device system update apparatus, including:
the request module is used for sending a program updating request message to the server according to the received operation instruction, wherein the program updating request message carries equipment information of target equipment to be controlled, so that the server can search a firmware program matched with the equipment information;
A receiving module, configured to receive a program update response message returned by the server, where the update response message carries a download directory of the firmware program;
the acquisition module is used for acquiring the firmware program according to the downloading catalog;
And the execution module is used for executing the firmware program and realizing the program update of the control equipment.
Optionally, the obtaining module includes:
A first processing unit configured to download the firmware program to an external memory of the control device according to the download directory;
and the first checking unit is used for carrying out data integrity checking on the firmware program in the external memory and generating a program updating identifier after the checking is passed.
Optionally, the obtaining module further includes:
a restart unit configured to restart the control device;
the detection unit is used for detecting whether the program updating identification exists or not;
And the second processing unit is used for backing up the current application program in the internal memory of the control equipment to obtain a backup program and writing the firmware program into the internal memory when the detection unit detects the program update identifier.
Optionally, the execution module includes:
a second checking unit, configured to perform data integrity checking on the firmware program in the internal memory before executing the firmware program;
and the execution unit is used for executing the firmware program after the verification is passed so as to realize the program updating of the control equipment.
optionally, the executing module further includes:
And the restoring unit is used for writing the backup program into the internal memory and executing the backup program to realize the program restoration of the control equipment when the firmware program in the internal memory fails to pass the data integrity check.
Optionally, the first processing unit includes:
the display subunit is used for displaying a plurality of download information included in the download directory;
and the downloading subunit is used for downloading the corresponding firmware program according to the downloading information selected by the user.
furthermore, the present invention provides a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the steps of the method as described above.
Furthermore, the present invention also provides a control device comprising an internal memory, an external memory, a display device, a communication device and a processor, and a computer program stored on the internal memory and executable on the processor, which when executing the program implements the steps of the method as described above.
according to the control equipment program updating method, device, storage medium and control equipment provided by the embodiment of the invention, the firmware programs of various brands, machine types and versions are stored in the server in advance for the user to download, and the user can select the firmware program matched with the equipment information to download and update according to the equipment information of the target equipment to be controlled, so that the effect that one control equipment can adapt to various brands and machine types and can be updated and upgraded synchronously with the target equipment is realized, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart of a program updating method for a control device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation process of obtaining the firmware program according to the download directory in the air conditioner remote controller program updating method according to another embodiment of the present invention;
Fig. 3 is a schematic flow chart illustrating an implementation process of executing the firmware program in the air conditioner remote controller program updating method according to another embodiment of the present invention;
FIG. 4 is a schematic sectional view of an internal memory and an external memory of an air conditioner remote controller according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a program updating apparatus of a control device in an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a control device in an embodiment of the present invention.
Detailed Description
exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Fig. 1 is a flowchart illustrating a method for updating a program of a control device according to an embodiment of the present invention. As shown in fig. 1, the method for updating a program of a control device according to an embodiment of the present invention specifically includes steps S11-S14, as follows:
And S11, sending a program updating request message to the server according to the received operation instruction, wherein the program updating request message carries the equipment information of the target equipment to be controlled, so that the server can search the firmware program matched with the equipment information.
The device information of the target device specifically includes a brand and model information of the target device, and corresponding master control hardware information.
in this embodiment, the user may issue an operation instruction to the control device in various manners such as a key, a touch screen, voice, and a gesture.
In this embodiment, the device information of the target device to be controlled may be implemented through manual input by a user, an image recognition machine type, scanning of two-dimensional code information, and the like.
in this embodiment, each time the target device has a program update and a function upgrade, the server stores the firmware program of the corresponding control device, and marks the firmware program with a version number, an adapter model, and corresponding main control hardware information, and the server may include firmware programs of multiple brands, multiple models, and multiple versions, so as to search for the firmware program matching with the device information carried in the program update request message when receiving the program update request message of the control device.
and S12, receiving a program updating response message returned by the server, wherein the updating response message carries the downloading directory of the firmware program.
in this embodiment, when the server receives a program update request message sent by the control device, all the firmware information matched with the device information is queried according to the device information of the target device carried in the update request message, and when the server queries all the firmware information matched with the device information, a download directory is generated according to the matched firmware information version number, the adapter model, the corresponding main control hardware information and other marks, so that a user can select an appropriate firmware program.
and S13, acquiring the firmware program according to the download directory.
in this embodiment, the download directory includes information marks and download information of a plurality of firmware programs, and when a user selects a firmware program to be downloaded, the control device downloads the firmware program from the server according to the download information of the corresponding firmware program.
And S14, executing the firmware program to realize program updating of the control equipment.
In this embodiment, after the control device obtains the firmware program according to the download directory, the firmware program is executed to complete program update and upgrade of the control device.
according to the method for updating the control equipment program, the firmware programs of various brands, machine types and versions are stored in the server in advance for being downloaded by the user, the user can select the firmware program matched with the equipment information to download and update according to the equipment information of the target equipment to be controlled, the effect that one control equipment can adapt to various brands and machine types and can be updated and updated synchronously with the target equipment is achieved, and user experience is improved.
The following explains a control device program update method provided by the present invention by a specific embodiment.
in this embodiment, the control device is an air conditioner remote controller, and the target device to be controlled is an air conditioner. The internal memory and the external memory in the embodiment can be realized by adopting FLASH, and the internal memory and the external memory are communicated by adopting interfaces such as SPI and the like to realize the storage of a firmware program.
in this embodiment, when the program of the air conditioner is updated or upgraded, the firmware program corresponding to the air conditioner is stored in the preset upgrade server, and a flag is generated for the firmware program of the air conditioner remote controller. The mark includes a version number of the corresponding firmware program, an applicable model, and corresponding main control hardware information.
the air conditioner remote controller acquires the equipment information of the air conditioner to be controlled, and sends a program updating request message to the server after receiving an operation instruction sent by a user to the air conditioner remote controller.
Specifically, the device information of the air conditioner to be controlled may be implemented by means of manual input by a user, image recognition of a model, scanning of a two-dimensional code information board, and the like, which is not limited herein. The device information of the air conditioner specifically comprises machine type information of the air conditioner, corresponding main control hardware information and the like.
in this embodiment, the user may issue an operation instruction to the remote controller of the air conditioner through a plurality of manners such as a key, a touch screen, voice, and a gesture.
and after receiving the program updating request message sent by the air conditioner remote controller, the server searches for a firmware program matched with the equipment information of the air conditioner to be controlled and sends a downloading directory to the air conditioner remote controller.
specifically, when the server receives a program update request message sent by the air conditioner remote controller, all firmware information matched with the equipment information and the main control hardware information of the air conditioner remote controller is inquired according to the equipment information of the air conditioner and the main control hardware information carried in the update request message, and when all the firmware information matched with the equipment information is inquired by the server, a download directory is generated according to marks such as the version number of the matched firmware information, the type of the adapter and the corresponding main control hardware information, so that a user can select a proper firmware program.
And the air conditioner remote controller acquires the firmware program according to the download directory.
Specifically, as shown in fig. 2, the acquiring the firmware program according to the download directory specifically includes the following steps:
s131, downloading the firmware program to an external memory of the air conditioner remote controller according to the downloading catalog.
Further, the method specifically includes displaying a plurality of pieces of download information included in the download directory, and downloading a firmware program corresponding to the download information to an external memory of the air conditioner remote controller according to the selected download information.
S132, integrity verification is carried out on the firmware program of the external memory, and a program updating identifier is generated after verification is passed.
In this embodiment, when the firmware program passes the integrity check, a program update identifier is generated, and if the integrity check fails, the firmware program of the external memory is cleared.
In this embodiment, the integrity check is implemented by being guided by a corresponding portion of an internal memory of the air conditioner remote controller. In an embodiment, the integrity of the firmware program may be verified by using MD5, where the MD5 verification method is to calculate the MD5 values of all resource files, store the values as a standard value in a file, calculate the MD5 value again after transmission or update is completed, compare the values with the previous standard value, and if the values are the same, indicate that the resource file is complete.
and S133, restarting the air conditioner remote controller.
In this embodiment, after the air conditioner remote controller is restarted, the program stored in the boot program area in the internal memory is run.
S134, whether a program updating mark exists is detected.
and S135, if the program updating identifier is detected, backing up the current application program in the internal memory of the air conditioner remote controller to obtain a backup program, and writing the firmware program into the internal memory.
it will be appreciated that the backup program may be stored in an external memory or may be stored in an internal memory.
And the air conditioner remote controller executes the firmware program to realize the program updating of the air conditioner remote controller.
specifically, as shown in fig. 3, executing the firmware program specifically includes the following steps:
S141, carrying out data integrity check on the firmware program in the internal memory;
if the integrity check is passed, executing step S142, and if the integrity check is not passed, executing step S142;
and S142, executing the firmware program.
and S143, writing the backup program into the internal memory, and executing the backup program to realize the program restoration of the air conditioner remote controller.
In this embodiment, the original program of the air conditioner remote controller may be backed up in advance, and the original program may be written into the external memory or the internal memory.
In this embodiment, when the integrity check fails, the firmware program of the external memory may be rewritten into the internal memory according to the user operation instruction.
in this embodiment, when there is no available application program in the internal memory and the external memory or the application program is damaged at any time, the backup program or the original program may be written in the internal memory according to the user operation instruction.
fig. 4 is a schematic diagram showing the partitions of the internal memory and the external memory of the remote controller according to an embodiment of the present invention.
as shown in fig. 4, the internal memory is composed of a parameter area, a boot program area, a backup program area, and an application program area, in which:
The parameter area is mainly used for storing program related information, firmware updating states and the like;
the guiding program area is mainly used for storing a guiding program for guiding the air conditioner remote controller, and the guiding program is firstly operated after the air conditioner remote controller is reset and restarted; the boot program can carry out integrity verification on the firmware program, read the firmware program from the external memory and write the firmware program to the application program area of the internal memory;
The application program area of the internal memory is mainly used for storing programs for controlling the air conditioner;
And the backup program area of the internal memory is used for storing the available remote control firmware program before program updating so as to restore.
as shown in fig. 4, the external memory is composed of a backup program area, an application program area, and other areas, in which:
The backup program area of the external memory is used for storing the available remote control firmware program before program updating so as to restore;
and the application program area of the external memory is mainly used for storing the downloaded firmware program.
According to the method for updating the program of the control equipment, provided by the embodiment of the invention, the function of the remote controller is upgraded, a user can experience the latest function and provide the use experience, the program of the remote controller is automatically adapted and downloaded to the firmware program according to the machine type, and the remote controller is adapted to a plurality of machine types.
for simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
fig. 5 schematically shows a schematic diagram of a control device program updating apparatus in an embodiment of the present invention. Referring to fig. 5, the control device program updating apparatus according to the embodiment of the present invention specifically includes a request module 501, a receiving module 502, an obtaining module 503, and an executing module 504, where:
a request module 501, configured to send a program update request message to a server according to a received operation instruction, where the program update request message carries device information of a target device to be controlled, so that the server searches for a firmware program matching the device information;
A receiving module 502, configured to receive a program update response message returned by the server, where the update response message carries a download directory of the firmware program;
An obtaining module 503, configured to obtain the firmware program according to the download directory;
the execution module 504 is configured to execute the firmware program to update the program of the control device.
in this embodiment of the present invention, the obtaining module 303 specifically includes a first processing unit, a first verifying unit, a restarting unit, a detecting unit, and a second processing unit, where:
A first processing unit configured to download the firmware program to an external memory of the control device according to the download directory;
And the first checking unit is used for carrying out data integrity checking on the firmware program in the external memory and generating a program updating identifier after the checking is passed.
a restart unit configured to restart the control device;
The detection unit is used for detecting whether the program updating identification exists or not;
And the second processing unit is used for backing up the current application program in the internal memory of the control equipment to obtain a backup program and writing the firmware program into the internal memory when the detection unit detects the program update identifier.
Further, the first processing unit specifically includes a display subunit and a download subunit, where:
the display subunit is configured to display a plurality of download information included in the download directory when the device receives the download directory;
And the downloading subunit is used for downloading the corresponding firmware program according to the downloading information selected by the user.
In this embodiment of the present invention, the execution module 304 specifically includes a second checking unit, an execution unit, and a restoring unit, where:
A second checking unit, configured to perform data integrity checking on the firmware program in the internal memory before executing the firmware program;
the execution unit is used for executing the firmware program after the verification is passed, so that the program of the control equipment is updated;
and the restoring unit is used for writing the backup program into the internal memory and executing the backup program to realize the program restoration of the control equipment when the firmware program in the internal memory fails to pass the data integrity check.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The above-described embodiments of the apparatus are merely illustrative, and 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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
in the embodiment of the invention, the method and the device for updating the control equipment program, provided by the embodiment of the invention, store the firmware programs of various brands, machine types and versions in the server in advance for the user to download, and the user can select the firmware program matched with the equipment information to download and update according to the equipment information of the target equipment to be controlled, so that the effect that one control equipment can adapt to various brands and machine types and can update and update synchronously with the target equipment is realized, and the user experience is improved.
furthermore, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method as described above.
In this embodiment, the module/unit integrated with the program updating apparatus of the control device may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The control device provided by the embodiment of the present invention includes an internal memory, an external memory, a display device, a communication device, a processor, and a computer program stored in the internal memory and executable on the processor, where the processor executes the computer program to implement the steps in the above-mentioned various control device program updating method embodiments, such as S11-S14 shown in fig. 1, or the processor executes the computer program to implement the functions of the modules/units in the above-mentioned various control device program updating device embodiments, such as the requesting module 501, the receiving module 502, the obtaining module 503, and the executing module 504 shown in fig. 5.
Fig. 6 is a schematic structural diagram of a control device according to an embodiment of the present invention, as shown in fig. 6, specifically including an internal memory, an external memory, a display device, a communication device, and a processor, where:
The communication device can be realized by adopting a WIFI module and is used for communication between the control equipment and the server.
And the internal memory is used for storing a main control program of the control equipment.
and the external memory is used for processing and storing the firmware program downloaded from the server.
optionally, the internal memory and the external memory may be implemented by using FLASH, where the internal memory and the external memory communicate using interfaces such as SPI;
The display device is used for displaying the received download catalog for the user to select;
the processor is configured to execute a program for controlling the device.
The control apparatus may include, but is not limited to, an internal memory, an external memory, a display device, a communication device, and a processor. Those skilled in the art will appreciate that the control device in this embodiment may include more or fewer components, or combine certain components, or different components, for example, the control device may also include an input-output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center for the control device, with various interfaces and lines connecting the various parts of the overall control device.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the control device by running or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. a control device program update method, comprising:
Sending a program updating request message to a server according to a received operation instruction, wherein the program updating request message carries equipment information of target equipment to be controlled, so that the server can search a firmware program matched with the equipment information;
receiving a program updating response message returned by the server, wherein the updating response message carries the downloading directory of the firmware program;
acquiring the firmware program according to the downloading directory;
And executing the firmware program to realize the program update of the control equipment.
2. The control device program update method according to claim 1, wherein the acquiring the firmware program from the download directory includes:
downloading the firmware program to an external memory of the control equipment according to the downloading catalog;
and carrying out data integrity check on the firmware program in the external memory, and generating a program updating identifier after the check is passed.
3. The control device program update method according to claim 2, wherein the acquiring the firmware program from the download directory further comprises:
restarting the control device;
detecting whether a program updating identifier exists;
if the program update identification is detected, backing up a current application program in an internal memory of the control equipment to obtain a backup program, and writing the firmware program into the internal memory.
4. the control device program update method of claim 3, wherein the executing the firmware program comprises:
And carrying out data integrity verification on the firmware program in the internal memory, and executing the firmware program after the verification is passed.
5. The program updating method for a control device according to claim 4, wherein if the firmware program in the internal memory fails the data integrity check, the backup program is written into the internal memory, and the backup program is executed to implement the program restoration of the control device.
6. the control device program update method according to claim 2, wherein the downloading the firmware program to an external memory of the control device according to the download directory includes:
Displaying a plurality of download information included in the download directory;
And downloading the firmware program corresponding to the download information to an external memory of the control equipment according to the selected download information.
7. A control device program update apparatus characterized by comprising:
The request module is used for sending a program updating request message to the server according to the received operation instruction, wherein the program updating request message carries equipment information of target equipment to be controlled, so that the server can search a firmware program matched with the equipment information;
A receiving module, configured to receive a program update response message returned by the server, where the update response message carries a download directory of the firmware program;
the acquisition module is used for acquiring the firmware program according to the downloading catalog;
And the execution module is used for executing the firmware program and realizing the program update of the control equipment.
8. The control device program updating apparatus according to claim 7, wherein the acquisition module includes:
A first processing unit configured to download the firmware program to an external memory of the control device according to the download directory;
And the first checking unit is used for carrying out data integrity checking on the firmware program in the external memory and generating a program updating identifier after the checking is passed.
9. The control device program updating apparatus according to claim 8, wherein the acquisition module further includes:
A restart unit configured to restart the control device;
The detection unit is used for detecting whether the program updating identification exists or not;
And the second processing unit is used for backing up the current application program in the internal memory of the control equipment to obtain a backup program and writing the firmware program into the internal memory when the detection unit detects the program update identifier.
10. The control device program updating apparatus according to claim 9, wherein the execution module includes:
A second checking unit, configured to perform data integrity checking on the firmware program in the internal memory before executing the firmware program;
and the execution unit is used for executing the firmware program after the verification is passed so as to realize the program updating of the control equipment.
11. the control device program updating apparatus according to claim 10, wherein the execution module further includes:
And the restoring unit is used for writing the backup program into the internal memory and executing the backup program to realize the program restoration of the control equipment when the firmware program in the internal memory fails to pass the data integrity check.
12. the control device program updating apparatus according to claim 8, wherein the first processing unit includes:
The display subunit is used for displaying a plurality of download information included in the download directory;
And the downloading subunit is used for downloading the corresponding firmware program according to the downloading information selected by the user.
13. a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
14. A control apparatus, characterized by comprising: internal memory, external memory, display device, communication device and processor and a computer program stored on the internal memory and executable on the processor, which when executing the program performs the steps of the method according to any of claims 1-6.
CN201910827102.3A 2019-08-30 2019-08-30 control device program updating method and device, storage medium and control device Pending CN110543318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910827102.3A CN110543318A (en) 2019-08-30 2019-08-30 control device program updating method and device, storage medium and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910827102.3A CN110543318A (en) 2019-08-30 2019-08-30 control device program updating method and device, storage medium and control device

Publications (1)

Publication Number Publication Date
CN110543318A true CN110543318A (en) 2019-12-06

Family

ID=68712477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910827102.3A Pending CN110543318A (en) 2019-08-30 2019-08-30 control device program updating method and device, storage medium and control device

Country Status (1)

Country Link
CN (1) CN110543318A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708565A (en) * 2020-05-29 2020-09-25 苏州浪潮智能科技有限公司 Method and equipment for Flash online check backup and update
CN112379902A (en) * 2020-11-06 2021-02-19 深圳市越疆科技有限公司 Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN113242145A (en) * 2021-04-30 2021-08-10 合肥移瑞通信技术有限公司 Wireless device, firmware upgrading method, firmware server and readable storage medium
CN113568633A (en) * 2021-06-24 2021-10-29 东莞市奥海科技股份有限公司 Server power supply online updating method and device, computer equipment and storage medium
CN113757906A (en) * 2021-09-27 2021-12-07 青岛中弘数字技术有限公司 Air conditioner wire controller, software upgrading method thereof and application software executing method
WO2023036064A1 (en) * 2021-09-07 2023-03-16 北京车和家信息技术有限公司 Firmware updating method and apparatus, electronic device and storage medium
WO2023123910A1 (en) * 2021-12-31 2023-07-06 深圳市广和通无线股份有限公司 Fault processing method and apparatus, and device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111459A1 (en) * 2011-11-02 2013-05-02 Canon Kabushiki Kaisha Delivery system and management method thereof
CN105119790A (en) * 2015-09-09 2015-12-02 小米科技有限责任公司 Apparatus control method and device
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN106325818A (en) * 2016-08-26 2017-01-11 珠海格力电器股份有限公司 Remote firmware upgrading method, remote firmware upgrading device, remote firmware upgrading system and air conditioner
CN108023765A (en) * 2017-11-03 2018-05-11 珠海格力电器股份有限公司 Device firmware upgrade method, apparatus and storage medium
CN108111331A (en) * 2017-11-06 2018-06-01 北京趣拿软件科技有限公司 Acquisition methods, device, storage medium, processor and the system of updated data package
CN109031965A (en) * 2018-07-19 2018-12-18 珠海格力电器股份有限公司 A kind of smart machine control method, equipment and computer can storage mediums
CN109669708A (en) * 2018-11-02 2019-04-23 金卡智能集团股份有限公司 Remote upgrade method for modularization internet-of-things terminal equipment
CN109905256A (en) * 2017-12-07 2019-06-18 阿里巴巴集团控股有限公司 A kind of firmware update and device
CN109916012A (en) * 2019-02-18 2019-06-21 珠海格力电器股份有限公司 A kind of air-conditioner control method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111459A1 (en) * 2011-11-02 2013-05-02 Canon Kabushiki Kaisha Delivery system and management method thereof
CN105119790A (en) * 2015-09-09 2015-12-02 小米科技有限责任公司 Apparatus control method and device
CN105912340A (en) * 2016-04-26 2016-08-31 江苏惠通集团有限责任公司 Primary device, remote control and overhead upgrading method of remote control
CN106325818A (en) * 2016-08-26 2017-01-11 珠海格力电器股份有限公司 Remote firmware upgrading method, remote firmware upgrading device, remote firmware upgrading system and air conditioner
CN108023765A (en) * 2017-11-03 2018-05-11 珠海格力电器股份有限公司 Device firmware upgrade method, apparatus and storage medium
CN108111331A (en) * 2017-11-06 2018-06-01 北京趣拿软件科技有限公司 Acquisition methods, device, storage medium, processor and the system of updated data package
CN109905256A (en) * 2017-12-07 2019-06-18 阿里巴巴集团控股有限公司 A kind of firmware update and device
CN109031965A (en) * 2018-07-19 2018-12-18 珠海格力电器股份有限公司 A kind of smart machine control method, equipment and computer can storage mediums
CN109669708A (en) * 2018-11-02 2019-04-23 金卡智能集团股份有限公司 Remote upgrade method for modularization internet-of-things terminal equipment
CN109916012A (en) * 2019-02-18 2019-06-21 珠海格力电器股份有限公司 A kind of air-conditioner control method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708565A (en) * 2020-05-29 2020-09-25 苏州浪潮智能科技有限公司 Method and equipment for Flash online check backup and update
CN112379902A (en) * 2020-11-06 2021-02-19 深圳市越疆科技有限公司 Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN113242145A (en) * 2021-04-30 2021-08-10 合肥移瑞通信技术有限公司 Wireless device, firmware upgrading method, firmware server and readable storage medium
CN113568633A (en) * 2021-06-24 2021-10-29 东莞市奥海科技股份有限公司 Server power supply online updating method and device, computer equipment and storage medium
WO2023036064A1 (en) * 2021-09-07 2023-03-16 北京车和家信息技术有限公司 Firmware updating method and apparatus, electronic device and storage medium
CN113757906A (en) * 2021-09-27 2021-12-07 青岛中弘数字技术有限公司 Air conditioner wire controller, software upgrading method thereof and application software executing method
WO2023123910A1 (en) * 2021-12-31 2023-07-06 深圳市广和通无线股份有限公司 Fault processing method and apparatus, and device and storage medium

Similar Documents

Publication Publication Date Title
CN110543318A (en) control device program updating method and device, storage medium and control device
EP1519268B1 (en) Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor
CN109634645B (en) Firmware upgrading method and terminal
JP5838527B2 (en) Method, apparatus and communication device for updating firmware
CN112416406B (en) Terminal equipment upgrading method, device, terminal equipment and medium
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
US20110302572A1 (en) Embedded network device and firmware upgrading method
WO2018032757A1 (en) Method and device for updating component
US9983791B2 (en) System management controller and method of configuration file backup and recovery
CN101393524A (en) Firmware update method and system using the same
CN103559065A (en) Method and system for OTA (Over-the-Air Technology) upgrade
US11379216B2 (en) Software update agent device and software patching method through the same
JP2003303028A (en) Version-up system of navigation system
US20170052779A1 (en) Method and Device for Running Version File
CN102999349B (en) A kind of method for upgrading software
CN111538523A (en) Differential upgrading method, device and storage medium
CN104484240A (en) Method and device for storing terminal data
CN105045671A (en) Method and device for upgrading systems of intelligent terminals
CN111190621A (en) Firmware burning method, device, system, terminal equipment and storage medium
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
CN106775874B (en) System upgrading method of terminal equipment
CN112860291A (en) Firmware upgrading method and device
CN104991796A (en) Method and apparatus for continuous upgrade
WO2017173924A1 (en) Method and device for switching between file systems
CN113805933A (en) Set top box system upgrading method and device, set top box, system and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191206

RJ01 Rejection of invention patent application after publication