CN113641377A - Method, device, equipment and storage medium for upgrading firmware of dumb equipment - Google Patents

Method, device, equipment and storage medium for upgrading firmware of dumb equipment Download PDF

Info

Publication number
CN113641377A
CN113641377A CN202110753637.8A CN202110753637A CN113641377A CN 113641377 A CN113641377 A CN 113641377A CN 202110753637 A CN202110753637 A CN 202110753637A CN 113641377 A CN113641377 A CN 113641377A
Authority
CN
China
Prior art keywords
firmware
dummy
updated
equipment
upgrading
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
CN202110753637.8A
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.)
Foshan Qite Technology Co Ltd
Original Assignee
Foshan Qite Technology 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 Foshan Qite Technology Co Ltd filed Critical Foshan Qite Technology Co Ltd
Priority to CN202110753637.8A priority Critical patent/CN113641377A/en
Publication of CN113641377A publication Critical patent/CN113641377A/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

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)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for upgrading the firmware of dummy equipment, wherein the embodiment of the invention obtains the updated firmware which needs to be upgraded for different types of dummy equipment; receiving firmware information of current firmware of each dummy device uploaded by a gateway, and determining a first dummy device in each dummy device according to the firmware information, wherein the first dummy device is a dummy device of which the current firmware needs to be updated; and acquiring first update firmware corresponding to the first dummy equipment from the update firmware, and sending the first update firmware to the gateway so that the gateway upgrades the current firmware of the first dummy equipment to the first update firmware. The technical problem that in the prior art, due to the fact that the user neglects to not upgrade the firmware of the dumb equipment, partial functions of a whole-house intelligent home system cannot be achieved is solved.

Description

Method, device, equipment and storage medium for upgrading firmware of dumb equipment
Technical Field
The embodiment of the application relates to the field of firmware upgrading, in particular to a method, a device, equipment and a storage medium for upgrading the firmware of a dummy device.
Background
At present, an end-edge-pipe-cloud architecture is basically adopted in a whole-house intelligent home system, the cloud refers to an internet of things platform cloud, the pipe refers to a wired/wireless communication mode, the edge refers to edge computing, and the end covers intelligent sensing, intelligent terminals and intelligent equipment. In the end-side-pipe-cloud architecture, end-side equipment is connected to a cloud platform through a gateway in an abutting mode, and uploading and issuing of messages and upgrading management of firmware are completed through the gateway.
Currently, when firmware of a peer-to-peer device needs to be upgraded, a user needs to operate an App to complete the upgrade of the firmware. However, the scheme has high subjective initiative and high dependence on users, and is easy to cause the situation that the users forget or do not upgrade the firmware of a certain device because the upgrading list is not checked carefully, and if the firmware of the certain device needs to be upgraded due to functional defects, the functions of the device are lost, so that partial functions of the whole-house intelligent home system cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for upgrading the firmware of a dumb device, which solve the technical problem that part of functions of a whole-house intelligent home system cannot be realized because a user fails to upgrade the firmware of the dumb device due to negligence.
In a first aspect, an embodiment of the present invention provides a method for upgrading firmware of a dummy device, including the following steps:
acquiring updated firmware required to be updated by different types of dummy equipment;
receiving firmware information of current firmware of each dummy device uploaded by a gateway, and determining a first dummy device in each dummy device according to the firmware information, wherein the first dummy device is a dummy device of which the current firmware needs to be updated;
and acquiring first update firmware corresponding to the first dummy equipment from the update firmware, and sending the first update firmware to the gateway so that the gateway upgrades the current firmware of the first dummy equipment to the first update firmware.
Preferably, the firmware information includes a firmware version number of the current firmware and a type of the dummy device.
Preferably, the specific process of determining the first dummy device in each dummy device according to the firmware information is as follows:
searching first updating firmware corresponding to the type of each dummy device from the updating firmware, and judging whether the firmware version number of the current firmware of each dummy device is the same as the firmware version number of the first updating firmware;
and if not, determining the dummy equipment as first dummy equipment of which the current firmware needs to be upgraded.
Preferably, the specific process of sending the first updated firmware to the gateway to enable the gateway to upgrade the current firmware of the first dummy device to the first updated firmware is as follows:
and sending a download link of the first updated firmware to the gateway, so that the gateway downloads the first updated firmware according to the download link and upgrades the current firmware of the first dummy equipment to the first updated firmware.
Preferably, after sending the updated firmware to the gateway, the method further includes the following steps:
and acquiring a firmware upgrading result fed back by the gateway, wherein the firmware upgrading result is generated by the first dummy equipment and fed back to the gateway, and the firmware upgrading result comprises a result of whether the first dummy equipment successfully upgrades the current firmware into the first updated firmware.
Preferably, after obtaining the firmware upgrade result fed back by the gateway, the method further includes the following steps:
determining whether the current firmware of the first dummy equipment is successfully upgraded into a first updated firmware according to the firmware upgrading result;
and if the firmware is successfully upgraded into the first updating firmware, sending the firmware upgrading result to the user terminal.
Preferably, after acquiring the updated firmware that needs to be updated by the different types of dummy devices, the method further includes:
acquiring function upgrading information of each updating firmware;
correspondingly, after sending the firmware upgrading result to the user terminal, the method further includes:
and acquiring first function information corresponding to the first updating firmware from the function upgrading information, and sending the first function information to the user terminal.
In a second aspect, an embodiment of the present invention provides a device for upgrading firmware of a dummy device, including the following:
the firmware acquisition module is used for acquiring updated firmware which needs to be updated by different types of dummy equipment;
the first dummy equipment determining module is used for receiving firmware information of current firmware of each dummy equipment uploaded by the gateway, and determining first dummy equipment in each dummy equipment according to the firmware information, wherein the first dummy equipment is the dummy equipment of which the current firmware needs to be updated;
and the firmware upgrading module is used for acquiring first updated firmware corresponding to the first dummy equipment from the updated firmware and sending the first updated firmware to the gateway so that the gateway upgrades the current firmware of the first dummy equipment to the first updated firmware.
In a third aspect, an embodiment of the present invention provides a device for upgrading firmware of a dummy device, where the device includes: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for firmware upgrade of a dummy device as described in the first aspect.
In a fourth aspect, embodiments of the present invention provide a storage medium storing computer-executable instructions for performing the method of upgrading firmware of a dumb device as described in the first aspect when executed by a computer processor.
In the embodiment of the invention, firstly, the updated firmware which is required to be updated by different types of dummy equipment is obtained, then, the current firmware information of each dummy equipment uploaded by the gateway is received, the first dummy equipment is determined in each dummy equipment according to the firmware information, the first dummy equipment is the dummy equipment of which the current firmware is required to be updated, finally, the first updated firmware corresponding to the first dummy equipment is obtained from the updated firmware, and the first updated firmware is sent to the gateway, so that the gateway can update the current firmware of the first dummy equipment to the first updated firmware. According to the scheme, after the updated firmware of the latest version of the dumb equipment is acquired, the first dumb equipment of which the current firmware needs to be updated is determined through the firmware information, the first updated firmware corresponding to the first dumb equipment is determined, the current firmware of the first dumb equipment is updated to the first updated firmware of the latest version through the gateway, so that the current firmware on the first dumb equipment can be updated in time, the technical problem that partial functions of a whole-house intelligent home system cannot be realized due to the fact that the firmware of the dumb equipment is not updated due to negligence of a user is solved, the normal work of the dumb equipment is guaranteed, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of a method for upgrading a firmware of a dummy device according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a full-house smart home system according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method for upgrading a firmware of a dummy device according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a firmware upgrading apparatus for a dummy device according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a firmware upgrading device of a dummy device according to an embodiment of the present invention.
Detailed Description
The following description and the annexed drawings set forth in detail certain illustrative embodiments of the application so as to enable those skilled in the art to practice them. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the embodiments of the present application includes the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the structures, products and the like disclosed by the embodiments, the description is relatively simple because the structures, the products and the like correspond to the parts disclosed by the embodiments, and the relevant parts can be just described by referring to the method part.
The method for upgrading the firmware of the dummy equipment provided by the embodiment of the application can be executed by the firmware upgrading equipment of the dummy equipment, the firmware upgrading equipment of the dummy equipment can be realized in a software and/or hardware mode, and the firmware upgrading equipment of the dummy equipment can be formed by two or more physical entities or formed by one physical entity.
Example one
Fig. 1 is a flowchart of a method for upgrading a firmware of a dummy device according to an embodiment of the present invention, where the method is applicable to upgrading a firmware of a dummy device, and the method may be executed by a computing device such as a cloud server, and specifically includes the following steps:
and step 101, acquiring updated firmware which needs to be updated by different types of dummy equipment.
Dumb devices, which represent simple computer terminals with limited functionality and a single interaction means, have specific meanings that vary depending on the situation (context). For example, the dumb device may be a smart curtain, a smart switch, a smart light, and the like. It is understood that the specific type of the dummy device may be set according to actual situations, and the specific type of the dummy device is not limited in this embodiment.
Firmware refers to "drivers" stored inside a device, and is program code that allows the device to operate, and determines the functions and capabilities of the hardware device. Exemplarily, firmware is arranged in the intelligent switch, and the intelligent switch can be enabled to realize the function of intelligently controlling the on-off of the switch through the firmware.
In this embodiment, since the firmware used by each type of dummy device is also different, it is necessary to acquire updated firmware that the different types of dummy devices need to be upgraded. The mode of acquiring the update firmware can be set according to actual needs, for example, the update firmware which is uploaded by a Portal (website) and needs to be updated by different types of dummy equipment can be acquired, and the update firmware which needs to be updated by different types of dummy equipment can also be directly acquired in a network.
In one embodiment, after the intelligent switch issues the latest update firmware, the latest update firmware issued by the intelligent switch is uploaded to the cloud server through the Portal, so that the update firmware required to be updated by the intelligent switch is acquired.
And 102, receiving firmware information of the current firmware of each dummy device uploaded by the gateway, and determining a first dummy device in each dummy device according to the firmware information, wherein the first dummy device is a dummy device of which the current firmware needs to be updated.
After acquiring updated firmware which needs to be updated by different types of dummy equipment, the gateway collects the firmware information of the current firmware of each dummy equipment and uploads the firmware information of the current firmware of each dummy equipment. In this embodiment, the way of the firmware information of the current firmware of each dummy device uploaded by the gateway may be set according to actual needs. Illustratively, the gateway queries the firmware information of the current firmware of each dummy device at certain time intervals and uploads the firmware information of the current firmware of each dummy device to the cloud server.
After receiving the firmware information of the current firmware of each dummy device uploaded by the gateway, according to the firmware information of the current firmware of each dummy device, the firmware information of the current firmware of each dummy device can be acquired, whether the current firmware of each dummy device needs to be updated is judged according to the firmware information of the current firmware, and the dummy device of which the current firmware needs to be updated is determined as the first dummy device. In one embodiment, the firmware information includes a version number of the current firmware of each dummy device, and after the firmware information of the current firmware of each dummy device uploaded by the gateway is received, it is determined whether the version number of the current firmware of each dummy device is the latest version number, and if not, it is determined that the current firmware of the dummy device is not the latest version of firmware and needs to be upgraded, so as to determine the first dummy device whose current firmware needs to be upgraded.
And 103, acquiring first updating firmware corresponding to the first dummy equipment from the updating firmware, and sending the first updating firmware to the gateway so that the gateway can upgrade the current firmware of the first dummy equipment to the first updating firmware.
After the first dummy equipment of which the current firmware needs to be upgraded is determined, each first dummy equipment corresponds to different firmware, so that first updated firmware corresponding to the first dummy equipment needs to be acquired from the updated firmware, and the function of the first dummy equipment can be normally realized. In this embodiment, the manner of obtaining the first update firmware corresponding to the first dummy device from the update firmware may be set according to actual needs, and in one embodiment, the first update firmware corresponding to the type of the first dummy device may be obtained from the update firmware according to the type of the first dummy device, for example, if the type of the first dummy device is a smart window shade, the first update firmware corresponding to the smart window shade is obtained from the update firmware.
After the first update firmware corresponding to the first dumb device is acquired, the first update firmware is sent to the gateway, the gateway upgrades the current firmware of the first dumb device, and the current firmware of the first dumb device is upgraded into the first update firmware, so that the firmware of the first dumb device is the firmware of the latest version, and the function of the first dumb device can be normally realized.
In one embodiment, the whole-house smart home system is structured as shown in fig. 2, the firmware upgrading device of the dummy device is a cloud server, the cloud server obtains the updated firmware that is uploaded by the Portal and needs to be upgraded by different types of dummy devices, and then, the gateway collects the current firmware information of each local dummy device at regular time and uploads the firmware information to the cloud server, after receiving the current firmware information of each dummy device uploaded by the gateway, judging whether the current firmware of each dummy device is the latest firmware, determining the dummy device whose current firmware is not the latest firmware as the first dummy device whose current firmware needs to be upgraded, acquiring first updated firmware corresponding to the type of the first dummy device from the updated firmware, and thereafter, and the cloud server sends the first updating firmware to the gateway, and the current firmware of the first dummy equipment is upgraded into the first updating firmware through the gateway.
The method comprises the steps of obtaining the updated firmware of the latest version of the dumb device, determining the first dumb device of which the current firmware needs to be updated through the firmware information, determining the first updated firmware corresponding to the first dumb device, updating the current firmware of the first dumb device to the first updated firmware of the latest version through the gateway, enabling the current firmware on the first dumb device to be updated in time, solving the technical problem that partial functions of the whole-house intelligent home system cannot be realized due to the fact that the firmware of the dumb device is not updated due to negligence of a user, ensuring that the dumb device can work normally, and improving the use experience of the user.
Example two
Fig. 3 is a flowchart of another method for upgrading the firmware of the dummy device according to the embodiment of the present invention, which specifically includes the following steps:
and step 201, acquiring updated firmware which needs to be updated by different types of dummy equipment.
Step 202, function upgrade information of each updated firmware is obtained.
And after the update firmware is obtained, obtaining the function upgrading information of each update firmware, wherein the function upgrading information comprises the content of upgrading the corresponding function of the dummy equipment by the update firmware. Illustratively, the function upgrade information includes content for upgrading the start speed of the intelligent switch by updating the firmware, and the content is the function upgrade information.
And step 203, receiving the firmware information of the current firmware of each dummy device uploaded by the gateway, and determining a first dummy device in each dummy device according to the firmware information, wherein the first dummy device is a dummy device of which the current firmware needs to be updated.
In one embodiment, the firmware information includes a firmware version number of the current firmware and a type of the dummy device. The version number of the firmware is a unique identifier for distinguishing the firmware, and it can be understood that different firmware corresponds to different version numbers. The naming mode of the version number may be set according to actual needs, for example, the version number of the firmware is named in a form of a combination of numbers and letters, or the version number of the firmware is named in a version release time, and in this embodiment, the naming mode of the version number of the firmware is not specifically limited.
The specific process of determining the first dummy device in each dummy device according to the firmware information may be executed by step 2031 and step 2032, specifically:
step 2031, searching for a first update firmware corresponding to the type of each dummy device from the update firmware, and determining whether the firmware version number of the current firmware of each dummy device is the same as the firmware version number of the first update firmware.
Since the firmware information includes the type of each dummy device, the first update firmware corresponding to the type of each dummy device can be found from the update firmware according to the type of each dummy device. For example, if the type of the certain dummy device is a smart window shade, the first update firmware corresponding to the smart window shade may be obtained from the update firmware. After the first update firmware corresponding to the type of each dummy device is searched, since the first update firmware is the latest firmware, whether the current firmware of each dummy device is the first update firmware is judged, and whether the current firmware of each dummy device needs to be updated is judged. The method for judging whether the current firmware of each dummy device is the first update firmware can be realized by judging whether the firmware version number of the current firmware of each dummy device is the same as the firmware version number of the first update firmware, because the firmware version number is the unique identifier for identifying the firmware, if the firmware version number is not the same, the current firmware of the dummy device is not the first update firmware, and if the firmware version number is the same, the current firmware of the dummy device is the first update firmware.
Step 2032, if not, determining the dummy device as the first dummy device whose firmware needs to be upgraded.
If the firmware version number of the current firmware of the dummy device is different from the firmware version number of the first updating firmware, the current firmware of the dummy device is not the latest first updating firmware, and the current firmware of the dummy device needs to be upgraded. Therefore, the first dummy equipment of which the current firmware needs to be upgraded can be determined by judging whether the firmware version number of the current firmware of each dummy equipment is the same as the firmware version number of the first updating firmware.
In one embodiment, one dumb device is an intelligent curtain, the version number of the current firmware of the intelligent curtain is 010001, a first update firmware corresponding to the type of the intelligent curtain is searched from the update firmware, whether the version number of the current firmware is the same as the firmware version number of the first update firmware is judged, if the version number of the first update firmware is 010005, the current firmware of the intelligent curtain is not the latest first update firmware, the current firmware of the intelligent curtain needs to be upgraded, and therefore the intelligent curtain is determined to be the first dumb device of which the current firmware needs to be upgraded.
And 204, acquiring a first updating firmware corresponding to the first dummy equipment from the updating firmware, and sending a downloading link of the first updating firmware to the gateway, so that the gateway downloads the first updating firmware according to the downloading link and upgrades the current firmware of the first dummy equipment into the first updating firmware.
After determining first dummy equipment of which the current firmware needs to be upgraded, acquiring first updated firmware corresponding to the type of the first dummy equipment from the updated firmware, generating a download link of the first updated firmware, sending the download link of the first updated firmware to the gateway, downloading the first updated firmware to the local according to the download link after receiving the download link of the first updated firmware by the gateway, and upgrading the current firmware of the local first dummy equipment into the first updated firmware, thereby finishing the firmware upgrade of the first dummy equipment. In one embodiment, after determining that a first dumb device of which the current firmware needs to be updated is an intelligent switch, the cloud server acquires a first update firmware corresponding to the type of the intelligent switch from the update firmware, generates a download link of the first update firmware, sends the download link of the first update firmware to the gateway, and after receiving the download link, the gateway downloads the first update firmware to the local according to the download link, updates the current firmware of the intelligent switch in the local, and updates the current firmware of the intelligent switch to the first update firmware.
And step 205, obtaining a firmware upgrading result fed back by the gateway, wherein the firmware upgrading result is generated by the first dummy device and fed back to the gateway, and the firmware upgrading result comprises a result of whether the first dummy device successfully upgrades the current firmware into the first updated firmware.
In the embodiment, after the downloading link of the first updating firmware is sent to the gateway by the firmware upgrading device of the dummy device, the current firmware of the first dummy device is upgraded into the first updating firmware through the gateway, the first dummy device generates a firmware upgrading result, the firmware upgrading result includes a result that whether the first dummy device successfully upgrades the current firmware into the first updating firmware and feeds back the firmware upgrading result to the gateway, after the gateway receives the firmware upgrading result, the firmware upgrading result is sent to the firmware upgrading device of the dummy device, and the firmware upgrading device can acquire whether the current firmware of the first dummy device is successfully upgraded according to the firmware upgrading result.
And step 206, determining whether the current firmware of the first dummy equipment is successfully upgraded into the first updated firmware according to the firmware upgrading result.
After the firmware upgrading result of the first dumb device is obtained, the firmware upgrading result comprises a result of whether the first dumb device successfully upgrades the current firmware into the first updated firmware, so that whether the current firmware of the first dumb device is successfully upgraded into the first updated firmware can be judged according to the firmware upgrading result.
And step 207, if the firmware is successfully upgraded into the first updating firmware, sending the firmware upgrading result to the user terminal.
And if the upgrading is successful, sending the firmware upgrading result to the user terminal, so that the user knows that the current firmware of the first dummy equipment is upgraded to the first updated firmware. Illustratively, the first dumb device is an intelligent switch, if the intelligent switch successfully upgrades the current firmware to the first updated firmware, the firmware upgrade result includes a word "upgrade success of the firmware of the intelligent switch", if the first dumb device does not upgrade the current firmware to the first updated firmware, the firmware upgrade result includes a word "upgrade failure of the firmware of the intelligent switch", the dumb device firmware upgrade device can judge whether the current firmware of the first dumb device is successfully upgraded to the first updated firmware according to the word included in the firmware upgrade result, and if the firmware upgrade result includes a word "upgrade success of the firmware of the intelligent switch", the firmware upgrade result is sent to a terminal of a user, so that the user knows that the firmware of the intelligent switch is upgraded to the latest firmware.
And step 208, acquiring first function information corresponding to the first updating firmware from the function upgrading information, and sending the first function information to the user terminal.
In this embodiment, after the firmware upgrade result is sent to the user terminal, the first function information corresponding to the first updated firmware is obtained from the function upgrade information, and the first function information is sent to the user terminal, so that the user can know the content of upgrading the function of the first dummy device by the first updated firmware. For example, in this embodiment, after the current firmware of the intelligent switch is successfully upgraded to the first updated firmware, the firmware upgrade result of the intelligent switch is sent to the user terminal, the first function information corresponding to the first updated firmware is obtained from the function upgrade information, and the first function information is sent to the user terminal, so that the user can obtain the content of upgrading the function of the intelligent switch by the first updated firmware this time.
The method comprises the steps of obtaining the updated firmware of the latest version of the dumb device, determining the first dumb device of which the current firmware needs to be updated through the firmware information, determining the first updated firmware corresponding to the first dumb device, updating the current firmware of the first dumb device to the first updated firmware of the latest version through the gateway, enabling the current firmware on the first dumb device to be updated in time, solving the technical problem that partial functions of the whole-house intelligent home system cannot be realized due to the fact that the firmware of the dumb device is not updated due to negligence of a user, ensuring that the dumb device can work normally, and improving the use experience of the user.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a multi-dummy device firmware upgrading apparatus according to an embodiment of the present invention, in this embodiment, the multi-dummy device firmware upgrading apparatus includes:
a firmware obtaining module 301, configured to obtain updated firmware that needs to be updated for different types of dummy devices;
a first dummy device determining module 302, configured to receive firmware information of a current firmware of each dummy device uploaded by a gateway, and determine, according to the firmware information, a first dummy device in each dummy device, where the first dummy device is a dummy device whose current firmware needs to be updated;
a firmware upgrading module 303, configured to acquire a first updated firmware corresponding to the first dummy device from the updated firmware, and send the first updated firmware to the gateway, so that the gateway upgrades the current firmware of the first dummy device to the first updated firmware.
On the basis of the above embodiment, the firmware information includes the firmware version number of the current firmware and the type of the dummy device.
On the basis of the foregoing embodiment, the first dummy device determining module 302 further includes a firmware version determining module, configured to search the first update firmware corresponding to the type of each dummy device from the update firmware, and determine whether the firmware version number of the current firmware of each dummy device is the same as the firmware version number of the first update firmware; and the first dummy equipment determining module is used for determining the dummy equipment as the first dummy equipment of which the current firmware needs to be upgraded.
On the basis of the foregoing embodiment, the firmware upgrading module 303 is specifically configured to send a download website of the first updated firmware to the gateway, so that the gateway downloads the first updated firmware according to the download website, and upgrades the current firmware of the first dumb device to the first updated firmware.
On the basis of the above embodiment, the system further includes a result obtaining module, configured to obtain a firmware upgrade result fed back by the gateway, where the firmware upgrade result is generated by the first dummy device and fed back to the gateway, and the firmware upgrade result includes a result indicating whether the first dummy device successfully upgrades the current firmware to the first updated firmware.
On the basis of the above embodiment, the system further comprises an upgrade judging module, configured to determine whether the current firmware of the first dummy device is successfully upgraded to the first updated firmware according to a firmware upgrade result; and the result sending module is used for sending the firmware upgrading result to the user terminal if the firmware is successfully upgraded into the first updating firmware.
On the basis of the above embodiment, the firmware updating device further comprises a function information obtaining module, configured to obtain function update information of each updated firmware; and the function information sending module is used for acquiring first function information corresponding to the first updating firmware from the function upgrading information and sending the first function information to the user terminal.
Fig. 5 is a schematic structural diagram of a firmware upgrading apparatus for a dummy device according to an embodiment of the present invention, as shown in fig. 5, the apparatus includes a processor 401, a memory 402, an input device 403, and an output device 404; the number of the processors 401 in the device may be one or more, and one processor 401 is taken as an example in fig. 5; the processor 401, the memory 402, the input device 403 and the output device 404 in the apparatus may be connected by a bus or other means, and fig. 5 illustrates an example of a connection by a bus. Memory 402, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for upgrading firmware of a dummy device in an embodiment of the present invention. The processor 401 executes various functional applications and data processing of the device, i.e., implements the above-described dummy device firmware upgrade method, by running software programs, instructions, and modules stored in the memory 402. The input device 403 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus. The output device 404 may include a display device such as a display screen.
Embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for upgrading firmware of a dummy device, where the method includes:
acquiring updated firmware required to be updated by different types of dummy equipment;
receiving firmware information of current firmware of each dummy device uploaded by a gateway, and determining a first dummy device in each dummy device according to the firmware information, wherein the first dummy device is a dummy device of which the current firmware needs to be updated;
and acquiring first update firmware corresponding to the first dummy equipment from the update firmware, and sending the first update firmware to the gateway so that the gateway upgrades the current firmware of the first dummy equipment to the first update firmware.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (10)

1. The method for upgrading the firmware of the dummy equipment is characterized by comprising the following steps:
acquiring updated firmware required to be updated by different types of dummy equipment;
receiving firmware information of current firmware of each dummy device uploaded by a gateway, and determining a first dummy device in each dummy device according to the firmware information, wherein the first dummy device is a dummy device of which the current firmware needs to be updated;
and acquiring first update firmware corresponding to the first dummy equipment from the update firmware, and sending the first update firmware to the gateway so that the gateway upgrades the current firmware of the first dummy equipment to the first update firmware.
2. The method as claimed in claim 1, wherein the firmware information includes a firmware version number of the current firmware and a type of the dummy device.
3. The method for upgrading firmware of the dummy device according to claim 2, wherein the specific process of determining the first dummy device in each dummy device according to the firmware information is as follows:
searching first updating firmware corresponding to the type of each dummy device from the updating firmware, and judging whether the firmware version number of the current firmware of each dummy device is the same as the firmware version number of the first updating firmware;
and if not, determining the dummy equipment as first dummy equipment of which the current firmware needs to be upgraded.
4. The method for upgrading firmware of the dummy device according to claim 1, wherein sending the first updated firmware to the gateway, so that the gateway upgrades the current firmware of the first dummy device to the first updated firmware comprises:
and sending a download link of the first updated firmware to the gateway, so that the gateway downloads the first updated firmware according to the download link and upgrades the current firmware of the first dummy equipment to the first updated firmware.
5. The method for upgrading firmware of the dummy equipment according to claim 1, further comprising the following steps after sending the updated firmware to the gateway:
and acquiring a firmware upgrading result fed back by the gateway, wherein the firmware upgrading result is generated by the first dummy equipment and fed back to the gateway, and the firmware upgrading result comprises a result of whether the first dummy equipment successfully upgrades the current firmware into the first updated firmware.
6. The method for upgrading the firmware of the dummy equipment according to claim 5, further comprising the following steps after obtaining the firmware upgrading result fed back by the gateway:
determining whether the current firmware of the first dummy equipment is successfully upgraded into the first updated firmware according to the firmware upgrading result;
and if the firmware is successfully upgraded into the first updating firmware, sending the firmware upgrading result to a user terminal.
7. The method for upgrading firmware of the dummy device according to claim 6, after acquiring the updated firmware which needs to be upgraded for the different types of dummy devices, further comprising:
acquiring function upgrading information of each updating firmware;
correspondingly, after sending the firmware upgrading result to the user terminal, the method further includes:
and acquiring first function information corresponding to the first updating firmware from the function upgrading information, and sending the first function information to the user terminal.
8. The device for upgrading the firmware of the dummy equipment is characterized by comprising the following steps:
the firmware acquisition module is used for acquiring updated firmware which needs to be updated by different types of dummy equipment;
the first dummy equipment determining module is used for receiving firmware information of current firmware of each dummy equipment uploaded by the gateway, and determining first dummy equipment in each dummy equipment according to the firmware information, wherein the first dummy equipment is the dummy equipment of which the current firmware needs to be updated;
and the firmware upgrading module is used for acquiring first updated firmware corresponding to the first dummy equipment from the updated firmware and sending the first updated firmware to the gateway so that the gateway upgrades the current firmware of the first dummy equipment to the first updated firmware.
9. A dumb device firmware upgrade device, the device comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method of firmware upgrade for a dummy device as claimed in any one of claims 1 to 7.
10. A storage medium storing computer executable instructions for performing the dummy device firmware upgrade method of any one of claims 1-7 when executed by a computer processor.
CN202110753637.8A 2021-07-02 2021-07-02 Method, device, equipment and storage medium for upgrading firmware of dumb equipment Pending CN113641377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110753637.8A CN113641377A (en) 2021-07-02 2021-07-02 Method, device, equipment and storage medium for upgrading firmware of dumb equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110753637.8A CN113641377A (en) 2021-07-02 2021-07-02 Method, device, equipment and storage medium for upgrading firmware of dumb equipment

Publications (1)

Publication Number Publication Date
CN113641377A true CN113641377A (en) 2021-11-12

Family

ID=78416633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110753637.8A Pending CN113641377A (en) 2021-07-02 2021-07-02 Method, device, equipment and storage medium for upgrading firmware of dumb equipment

Country Status (1)

Country Link
CN (1) CN113641377A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246633A1 (en) * 2009-09-29 2012-09-27 Lg Innotek Co., Ltd. Electronic book and system for firmware upgrade of electronic book
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
CN109522036A (en) * 2018-10-10 2019-03-26 北京金茂绿建科技有限公司 A kind of firmware upgrade method, device, medium and smart home system
CN109754511A (en) * 2019-01-14 2019-05-14 深圳前海微众银行股份有限公司 Shopping cart equipment firmware update method, system, platform, gateway and storage medium
CN110875850A (en) * 2019-09-27 2020-03-10 深圳市中电数通智慧安全科技股份有限公司 Firmware upgrading method and system, readable storage medium and terminal equipment
CN112612497A (en) * 2020-12-30 2021-04-06 欧普照明股份有限公司 Firmware upgrading method based on gateway and firmware upgrading method of equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246633A1 (en) * 2009-09-29 2012-09-27 Lg Innotek Co., Ltd. Electronic book and system for firmware upgrade of electronic book
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
CN109522036A (en) * 2018-10-10 2019-03-26 北京金茂绿建科技有限公司 A kind of firmware upgrade method, device, medium and smart home system
CN109754511A (en) * 2019-01-14 2019-05-14 深圳前海微众银行股份有限公司 Shopping cart equipment firmware update method, system, platform, gateway and storage medium
CN110875850A (en) * 2019-09-27 2020-03-10 深圳市中电数通智慧安全科技股份有限公司 Firmware upgrading method and system, readable storage medium and terminal equipment
CN112612497A (en) * 2020-12-30 2021-04-06 欧普照明股份有限公司 Firmware upgrading method based on gateway and firmware upgrading method of equipment

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
US20140351807A1 (en) Method and communication device for updating web application
KR20180098562A (en) Page jump method and device
CN101405723A (en) Estimation of initial dynamic rendering control data
CN110535776B (en) Gateway current limiting method, device, gateway, system and storage medium
CN113835726B (en) Method for determining upgrade package and server
CN103312489A (en) Method and device for synchronizing terminal and server
CN113238791A (en) OTA differential upgrading method and system of master-slave architecture
CN113064685A (en) H5 page loading method and device
CN109462666B (en) Remote automatic transmission method and device of file and storage medium
CN105530323B (en) File upgrading method, related equipment and system
CN111475190A (en) Information updating method and device, electronic equipment and readable storage medium
CN112269588B (en) Algorithm upgrading method, device, terminal and computer readable storage medium
CN110990038A (en) Method, apparatus, electronic device, and medium for applying local updates
KR20180050001A (en) Firmware upgrade system and method for IoT
EP3276505B1 (en) Method and system for uploading a file
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN107643858B (en) Information processing method, terminal and server
CN113641377A (en) Method, device, equipment and storage medium for upgrading firmware of dumb equipment
CN111061504A (en) Multi-system version matching method, system, server, client and electronic equipment
CN105975296A (en) Mobile application upgrading method and device
CN105490852A (en) Upgrade detection method and device
CN115934130A (en) ECU (electronic control Unit) upgrading method, device, equipment and medium
CN113596795B (en) Device binding method, device and computer readable storage medium
CN115328520A (en) Remote upgrading method and device, electronic equipment 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