CN113452550A - Information acquisition device, firmware updating method and system of embedded system device - Google Patents

Information acquisition device, firmware updating method and system of embedded system device Download PDF

Info

Publication number
CN113452550A
CN113452550A CN202110536203.2A CN202110536203A CN113452550A CN 113452550 A CN113452550 A CN 113452550A CN 202110536203 A CN202110536203 A CN 202110536203A CN 113452550 A CN113452550 A CN 113452550A
Authority
CN
China
Prior art keywords
firmware
firmware version
update
updating
embedded system
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
CN202110536203.2A
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.)
Mitac Computer Kunshan Co Ltd
Getac Technology Corp
Original Assignee
Mitac Computer Kunshan Co Ltd
Getac Technology Corp
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 Mitac Computer Kunshan Co Ltd, Getac Technology Corp filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN202110536203.2A priority Critical patent/CN113452550A/en
Publication of CN113452550A publication Critical patent/CN113452550A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (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 provides an information acquisition device, a firmware updating method and a system of an embedded system device, wherein the firmware updating method of the embedded system device comprises the steps of establishing wireless communication with a remote server through an application layer, detecting a firmware version of a corresponding embedded system device stored by the remote server when the wireless communication is established, downloading the firmware version and an updating strategy when a new firmware version exists, storing the downloaded firmware version and the downloaded updating strategy in a storage unit, sending an updating notice according to an updating object of the downloaded firmware version, reading the updating strategy according to the updating notice and updating the firmware version according to the read updating strategy. By using the information acquisition device, the firmware updating method and the firmware updating system of the embedded system device, the use convenience of the embedded system device is greatly improved, and the firmware version of the embedded system device can be always kept in the latest version so as to improve the stability of the embedded system device.

Description

Information acquisition device, firmware updating method and system of embedded system device
The application is a divisional application, the original application has the application number of 201910047612.9, the application date of 2019 is 1, 18 and the name of the invention is 'firmware updating method and system for an information acquisition device and an embedded system device'.
Technical Field
Embodiments of the present disclosure relate to the field of communications technologies, and in particular, to an information capturing apparatus, a firmware updating method and system for an embedded system apparatus.
Background
Firmware, a type of software embedded in a hardware device. Firmware is typically located in flash memory or Read Only Memory (ROM) within an Application Specific Integrated Circuit (ASIC) or Programmable Logic Device (PLD). Firmware is widely used in electronic products, and functions to be designed are achieved through cooperation between firmware setup software and hardware designed by developers of the electronic products. Before the electronic product is shipped, the developer may also test the electronic product to verify whether the function of the electronic product is normal, and if an abnormality is found in the verification process, a debugging operation is required to ensure that the electronic product can operate normally after being sold to consumers.
However, the functions of the electronic products are becoming more complex, it is very difficult to verify all the functions during the development process, and some errors that are not found during the development stage will be found through the actual use of the consumer, and at this time, the firmware in the electronic products needs to be modified, that is, the firmware needs to be updated to correct the errors. Therefore, a user of the electronic product must find the corresponding electronic product by himself or herself to a web page of a developer or a vendor of the electronic product, and determine whether the firmware is updated, and if the vendor releases a new firmware version, the user needs to download the firmware to the electronic product by himself or herself to perform an update operation of the firmware, and during the update process, the user cannot use the electronic product, which is very inconvenient.
Disclosure of Invention
The embodiment of the invention provides an information acquisition device, a firmware updating method and a firmware updating system of an embedded system device, which are used for realizing automatic updating of a firmware version.
In a first aspect, an embodiment of the present invention provides a firmware updating method for an embedded system device, including: the method comprises the steps of establishing wireless communication with a remote server through an application layer, detecting a firmware version of a corresponding embedded system device stored by the remote server when the wireless communication is established, downloading the firmware version and an updating strategy when a new firmware version exists, storing the downloaded firmware version and the downloaded updating strategy in a storage unit, sending an updating notice according to an updating object of the downloaded firmware version, reading the updating strategy according to the updating notice and updating the firmware version according to the read updating strategy.
Optionally, the method further comprises: receiving a reboot command from an intermediary layer when the update operation is completed; the reboot instruction is executed to start a boot layer for a reboot procedure.
Optionally, the step of performing the firmware version update job includes: reading the stored firmware version; updating the execution firmware of the embedded system device according to the read firmware version; and outputting a rebooting instruction after the firmware is updated.
Optionally, the step of performing the firmware version update job includes: reading the stored firmware version; closing the application layer; and updating the execution firmware of the application layer according to the read firmware version after the application layer is closed.
In a second aspect, an embodiment of the present invention provides an information retrieving apparatus, including: camera shooting component, storage unit, network module and processing unit. The camera component is used for shooting the surrounding environment to generate an environment image streaming presenting the surrounding environment. The storage unit is used for storing the environmental image series flow. The processing unit is coupled to the storage unit and the network module. The processing unit is provided with an application layer and an intermediate layer, the application layer detects the firmware version of the corresponding embedded system device stored in the remote server through the network module, and the application layer downloads the firmware version and an updating strategy when a new firmware version exists and stores the firmware version and the updating strategy in the storage unit. The intermediate layer reads the update strategy when receiving an update notice from the application layer and carries out the update operation of the firmware version according to the update strategy.
Optionally, the processing unit further has: the core layer receives a reboot command from the intermediate layer when the update operation is completed, and executes the reboot command to start the boot layer to perform a reboot procedure.
Optionally, the update job of the firmware version includes: reading the stored firmware version, updating the execution firmware of the embedded system device according to the read firmware version, and outputting a reboot command after the execution firmware is updated.
Optionally, the update job of the firmware version includes: the method includes shutting down the application layer, reading the stored firmware version, and updating the execution firmware of the application layer according to the read firmware version.
In a third aspect, an embodiment of the present invention provides a firmware update system for an embedded system device, including: a storage unit, an application layer and an intermediary layer. The application layer is used for establishing wireless communication with the remote server, wherein the application layer detects the firmware version of the corresponding embedded system device stored in the remote server when the wireless communication is established, the application layer downloads the firmware version and an updating strategy when a new firmware version exists, the application layer stores the downloaded firmware version and the downloaded updating strategy in the storage unit, and the application layer sends an updating notice according to an updating object of the firmware version. The intermediary layer is used for receiving the update notice from the application layer, and when receiving the update notice, the intermediary layer reads the update strategy and carries out the update operation of the firmware version according to the update strategy.
Optionally, the system further comprises: a boot layer; and the core layer is used for receiving a rebooting instruction from the intermediate layer when the updating operation is completed and executing the rebooting instruction so as to start the booting guiding layer to perform a rebooting procedure.
Optionally, the core layer includes an event control element, and the event control element executes a reboot command to start the boot layer to perform a reboot procedure.
Optionally, the update job of the firmware version includes: reading the stored firmware version, updating the execution firmware of the embedded system device according to the read firmware version, and outputting a reboot command after the execution firmware is updated.
Optionally, the update job of the firmware version includes: reading the stored firmware version, closing the application layer, and updating the execution firmware of the application layer according to the read firmware version.
Optionally, the application layer includes a network management component that establishes wireless communication with the remote server and confirms whether the remote server has a new firmware version corresponding to the embedded system device when the wireless communication is established.
Optionally, the intermediary layer includes a service element, and the service element performs an update operation of the firmware version according to the update policy when receiving the update notification.
In summary, according to the embodiment of the information retrieving device, the firmware updating method of the embedded system device and the system thereof of the present invention, the automatic firmware updating system can automatically download the new firmware version from the remote server and automatically perform the updating operation of the firmware version when the updating policy is satisfied, and the user of the embedded system device does not need to automatically determine whether the firmware version of the embedded system device is updated or not, or manually download the new firmware version from the remote server, and does not need to think when the updating operation of the new firmware version is performed. Therefore, the use convenience of the embedded system device is greatly improved, and the firmware version of the embedded system device can be always kept in the latest version so as to improve the stability of the embedded system device.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a block diagram of an embedded system device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a firmware update method for an embedded system device according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a firmware update method for an embedded system device according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a firmware update method for an embedded system device according to another embodiment of the present invention;
FIG. 5 is a block diagram of an embedded system device according to another embodiment of the present invention;
FIG. 6 is a block diagram of an embedded system device according to another embodiment of the present invention;
fig. 7 is a block diagram of an information capturing apparatus according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, software implementations, hardware implementations, and so on.
Fig. 1 is a block diagram of an embedded system device according to an embodiment of the present invention. As shown in fig. 1, the embedded system device 1 includes an automatic firmware update system 10, the automatic firmware update system 10 can be connected to the remote server 2 via a wireless communication link, the remote server 2 stores a firmware version corresponding to the embedded system device 1, and the automatic firmware update system 10 can perform an update operation of the firmware version of the embedded system device 1.
The automatic firmware update system 10 of the embedded system device 1 includes an application layer (application layer)11, a middleware layer (middleware)12 connected to the application layer 11, and a storage unit 15. The application layer 11 can wirelessly communicate with the remote server 2 to detect the firmware version of the corresponding embedded system device 1 stored in the remote server 2, and determine whether to update the firmware version of the embedded system device 1 according to whether the firmware version is updated.
Fig. 2 is a flowchart illustrating a firmware updating method of an embedded system device according to an embodiment of the present invention, including:
in step S01, the application layer first establishes wireless communication with the remote server.
Step S02, determining whether the firmware version of the corresponding embedded system device stored in the remote server is updated, if yes, performing step S03, otherwise, performing step S02.
Wherein the application layer 11 first establishes wireless communication with the remote server 2. When the wireless communication is established, the application layer 11 detects the firmware version of the corresponding embedded system device 1 stored in the remote server 2 to determine whether the firmware version of the corresponding embedded system device 1 stored in the remote server 2 is updated. For example, the application layer 11 can compare whether the version number of the firmware currently operated by the embedded system device 1 is the same as the version number of the firmware version corresponding to the embedded system device 1 stored in the remote server 2 to determine whether the firmware version corresponding to the embedded system device 1 stored in the remote server 2 is updated.
Step S03, the updated firmware version and the update policy are downloaded.
When the application layer 11 determines that the firmware version is new (yes), the application layer 11 downloads the firmware version and the update policy from the remote server 2, and performs step S04.
Step S04, storing the downloaded firmware version and the update policy.
Specifically, the downloaded firmware version and the downloaded update policy are stored in the storage unit 15.
In step S05, an update notification is issued.
Specifically, the application layer 11 issues an update notification to the intermediary layer 12 according to the update object of the firmware version.
Step S06, the update policy is read according to the update notification.
In particular, the interposer 12 reads the update policy from the storage unit 15 according to the update notification.
In step S07, it is determined whether the update policy is satisfied, if yes, step S08 is performed, otherwise, step S11 is performed.
The intermediate layer 12 determines whether the update policy is satisfied, and when the update policy is satisfied (yes), it indicates that the update job of the new firmware version is currently possible, and when the update policy is not satisfied (no), it indicates that the update job of the new firmware version is currently impossible.
In step S08, the firmware version is updated according to the read update policy.
Specifically, the intermediate layer 12 starts to update the new firmware version, and the developer of the embedded system device 1 can customize the update policy by himself and upload the new firmware version and the customized update policy to the remote server 2, the automatic firmware update system 10 can automatically download the new firmware version from the remote server 2 and automatically update the firmware version when the update policy is satisfied, and the user of the embedded system device 1 does not need to determine by himself whether the firmware version of the embedded system device 1 is updated or not, or manually download the new firmware version from the remote server 2, or think that it is a better time to perform the update operation of the new firmware version. Thus, the convenience of the embedded system device 1 is greatly improved, and the firmware version of the embedded system device 1 can be always maintained in the latest version, thereby improving the stability of the embedded system device 1.
In some embodiments, the remote server 2 stores a look-up table, as shown in table one below, in which a plurality of embedded system devices 1 supported by the remote server 2, a plurality of developers self-configured update policies, and a current firmware version are recorded. Therefore, when the embedded system device 1 establishes wireless communication with the remote server 2, the automatic firmware update system 10 can automatically confirm the comparison table stored in the remote server 2 to confirm whether the update is required based on the corresponding update policy in the comparison table and the current firmware version, and further automatically download the new firmware version from the remote server 2 and automatically perform the update operation of the firmware version when the update policy is satisfied.
Watch 1
Firmware version Device type # Update policy
0.1 5 1111.xml
2.2 5 000.xml
0.5 5 333.xml
The device type # of the embedded system device 1 may be, for example, a 5 th generation product, etc., and the embodiment is only exemplified by the example that the comparison table includes three firmware versions due to space limitation, and the specific content in the comparison table is not limited in practical application.
Step S11, wait for a period of time.
Specifically, when the update policy is not satisfied (the determination result is "no"), the interposer 12 may wait for a period of time and determine whether the update policy is satisfied after the period of time elapses. The cycle time set in the present embodiment may be 30 seconds, that is, the interposer 12 may determine whether the update policy is satisfied every 30 seconds after receiving the update notification. Of course, in the present embodiment, the cycle is only illustrated as 30 seconds, and the user can set the specific value of the cycle according to actual needs.
The update policy may be that the automatic firmware update system 10 does not perform the update operation of the new firmware version when the embedded system device 1 is not in the low power state or the embedded system device 1 does not perform the data synchronization with the remote server 2, that is, when the embedded system device 1 is in the low power state or the embedded system device 1 performs the data synchronization with the remote server 2, and the automatic firmware update system 10 starts to perform the update operation of the new firmware version when the embedded system device 1 leaves the low power state or stops performing the data synchronization with the remote server 2. Therefore, the new firmware version can not be shut down when the update operation of the new firmware version is not completed due to insufficient power, so that the embedded system device 1 can not operate normally due to incomplete firmware update, or the data synchronization operation between the embedded system device 1 and the remote server 2 is interrupted due to the update operation of the new firmware version, so that the data loss is avoided.
Optionally, the firmware update system of the embedded system device further includes: a boot layer; and the core layer is used for receiving a rebooting instruction from the intermediate layer when the updating operation is completed and executing the rebooting instruction so as to start the booting guiding layer to perform a rebooting procedure.
The firmware version update object may be the execution firmware of the entire embedded system apparatus 1, that is, the embedded system apparatus 1 must be rebooted after the update operation of the execution firmware is completed. As shown in fig. 1, the automatic firmware update system 10 of the embedded system device 1 further includes a kernel layer (kernel)13 and a boot loader (boot loader) 14. The core layer 13 is connected between the interposer 12 and the boot layer 14.
Referring to fig. 3, which is a flowchart illustrating a firmware updating method of an embedded system device according to another embodiment of the present invention, compared to the embodiment shown in fig. 2, the present embodiment specifically describes step S08 including step S081, step S082 and step S083, and adds step S09 and step S10. The other operation steps are the same as those in fig. 2 of the above embodiment, and are not described again in this embodiment.
In step S01, the application layer first establishes wireless communication with the remote server.
Step S02, determining whether the firmware version of the corresponding embedded system device stored in the remote server is updated, if yes, performing step S03, otherwise, performing step S02.
Step S03, the updated firmware version and the update policy are downloaded.
Step S04, storing the downloaded firmware version and the update policy.
In step S05, an update notification is issued.
Step S06, the update policy is read according to the update notification.
Step S07, determining whether the update policy is satisfied, if yes, performing step S081, otherwise, performing step S11.
Step S11, wait for a period of time.
In step S081, the stored firmware version is read.
When the update policy read by the interposer 12 according to the update notification is satisfied, the interposer 12 reads the stored firmware version from the storage unit 15, and then performs step S082 and step S083 sequentially.
In step S082, the execution firmware of the embedded system device is updated according to the read firmware version.
In particular, the interposer 12 updates the execution firmware of the embedded system device 1 according to the read firmware version.
And step S083, outputting a restart instruction.
In particular, the interposer 12 outputs the reboot instruction after the firmware update of the embedded system device 1 is completed. And step S09 and step S10 are sequentially performed after step S083.
In step S09, a restart instruction is received.
The core layer 13 receives the reboot instruction from the intermediary layer 12 after the firmware update of the embedded system device 1 is completed.
In step S10, a restart instruction is executed to perform a restart procedure.
The core layer 13 executes the reboot command to start the boot layer 14 to perform a reboot procedure of the embedded system device 1, so that the embedded system device 1 is rebooted after the firmware is updated and operates according to the new firmware version, thereby completing the update operation of the firmware executed by the embedded system 1.
Fig. 4 is a flowchart illustrating a firmware updating method of an embedded system device according to another embodiment of the present invention, and the embodiment specifically describes step S08 including step S081, step S084, and step S085, compared to the embodiment corresponding to fig. 2. The other operation steps are the same as those in fig. 2 of the above embodiment, and are not described again in this embodiment.
In the present embodiment, the update target of the firmware version may be the execution firmware of the application layer 11 only, that is, after the update operation of the execution firmware of the application layer 11 is completed, only the application layer 11 needs to be closed without rebooting the embedded system device 1.
In step S01, the application layer first establishes wireless communication with the remote server.
Step S02, determining whether the firmware version of the corresponding embedded system device stored in the remote server is updated, if yes, performing step S03, otherwise, performing step S02.
Step S03, the updated firmware version and the update policy are downloaded.
Step S04, storing the downloaded firmware version and the update policy.
In step S05, an update notification is issued.
Step S06, the update policy is read according to the update notification.
Step S07, determining whether the update policy is satisfied, if yes, performing step S081, otherwise, performing step S11.
Step S11, wait for a period of time.
In step S081, the stored firmware version is read.
When the update policy read by the interposer 12 according to the update notification is satisfied, the interposer 12 reads the stored firmware version from the storage unit 15, and then sequentially performs steps S084 and S085.
Step S084, the application layer is closed.
The interposer 12 closes the application layer 11.
In step S085, the execution firmware of the application layer is updated according to the read firmware version.
The interposer 12 updates the firmware executed by the application layer 11 according to the read firmware version after the application layer 11 is closed, so as to complete the firmware updating operation of the application layer 11, and the application layer 11 is restarted after being closed and operates according to the updated new firmware version.
FIG. 5 is a block diagram of an embedded system device according to another embodiment of the present invention. As shown in fig. 5, the embedded system device 1 further includes a network management component 111 controlled by the application layer 11 and a service component 121 controlled by the intermediary layer 12, and the network management component 111 and the service component 121 can update the firmware executed by the application layer 11.
In one embodiment, in step S01, the network management component 111 first establishes wireless communication with the remote server 2, the network management component 111 determines whether the remote server 2 has a new firmware version corresponding to the embedded system device 1 when the wireless communication is established (step S02), the network management component 111 downloads the new firmware version and the update policy from the remote server 2 when the new firmware version is determined (step S03) and stores the new firmware version and the update policy in the storage unit 15 (step S04), the network management component 111 then sends an update notification to the service component 121 controlled by the intermediary layer 12 (step S05), and the service component 121 reads the update policy according to the update notification (step S06) and determines whether the update policy is satisfied. When the update policy is satisfied, in step S08, the service 121 reads out the stored new firmware version from the storage unit 15 (step S081), and then the service 121 closes the application layer 11 (step S084), and the service 121 updates the execution firmware of the application layer 11 after the application layer 11 is closed (step S085), so that the update job of the execution firmware of the application layer 11 is completed through the network management element 111 and the service 121.
FIG. 6 is a block diagram of an embedded system device according to another embodiment of the present invention. As shown in fig. 6, the embedded system device 1 further includes an event control element 131 controlled by the core layer 13 and a micro control element 141 controlled by the boot layer 14. The update operation of the firmware executed by the entire embedded system device 1 can be performed by the network management component 111, the service component 121, the event control component 131 and the micro control component 141.
In one embodiment, in step S01, the network management component 111 first establishes wireless communication with the remote server 2, the network management component 111 determines whether the remote server 2 has a new firmware version corresponding to the embedded system device 1 when the wireless communication is established (step S02), the network management component 111 downloads the new firmware version and the update policy from the remote server 2 when the new firmware version is determined (step S03) and stores the new firmware version and the update policy in the storage unit 15 (step S04), the network management component 111 then sends an update notification to the service component 121 controlled by the intermediary layer 12 (step S05), and the service component 121 reads the update policy according to the update notification (step S06) and determines whether the update policy is satisfied. When the update policy is satisfied, in step S08, the service element 121 reads out the stored new firmware version from the storage unit 15 (step S081), the service element 121 then performs an update operation of the firmware executed by the embedded system device 1 (step S082), after the update operation is completed, the service element 121 outputs a reboot command (step S083), and the event control element 131 receives the reboot command from the service element 121 (step S09) and executes the reboot command to control the micro-control element 141 to execute a reboot procedure of the embedded system device 1 (step S10). In one embodiment, the micro-control element 141 may be a microprocessor.
In one embodiment, the embedded system device 1 may be an information capturing device, such as a wearable camera (body word camera). Fig. 7 is a block diagram of an information retrieving apparatus according to an embodiment of the present invention.
As shown in fig. 7, the embedded system device 1 of the information capturing apparatus in the present embodiment includes a camera module 16, a network module 17, a processing unit 18 and a storage unit 19. The processing unit 18 is coupled to the storage unit 19 and the network module 17. The processing unit 18 includes the automatic firmware update system 10 described above, and includes an application layer 11, an intermediary layer 12, a core layer 13, and a boot layer 14. The application layer 11 can be connected to the remote server 2 through the network module 17 to execute the steps S01, S02, and S03, and the working processes of the intermediary layer 12, the core layer 13, and the boot layer 14 included in the processing unit 18 are already described above, and therefore are not described in detail in this embodiment. The camera module 16 generates an environmental image stream representing the surrounding environment by capturing the surrounding environment, and the camera module 16 stores the environmental image stream in the storage unit 19. For example, the update policy may be that the camera module 16 does not perform a shooting operation or the camera module 16 does not perform a streaming storage operation of the environmental image streaming in the storage unit 19, so that the processing unit 18 does not perform an update operation of the new firmware version when the camera module 16 performs the shooting operation and the streaming storage operation, and the processing unit 18 automatically updates the new firmware version when the camera module 16 stops performing the shooting operation and the streaming storage operation, thereby preventing the environmental image streaming from being unable to be captured or stored due to the update operation of the new firmware version.
In one embodiment, the storage units 15 and 19 can be two storage devices having data storage functions, such as two non-volatile memories, or the storage units 15 and 19 can be different data storage areas of the same storage device, such as different data storage areas of the same non-volatile memory designated by different addresses.
In an embodiment, for example, the embedded system apparatus 1 is an information capturing apparatus, the update policy may be that the camera device 16 of the embedded system apparatus 1 is not in an information capturing state or that the camera device 16 is not storing the environmental image stream in the information storage operation of the storage unit 15.
In summary, according to the embodiment of the information retrieving device, the firmware updating method of the embedded system device and the system thereof of the present invention, the automatic firmware updating system can automatically download the new firmware version from the remote server and automatically perform the updating operation of the firmware version when the updating policy is satisfied, and the user of the embedded system device does not need to automatically determine whether the firmware version of the embedded system device is updated or not, or manually download the new firmware version from the remote server, and does not need to think when the updating operation of the new firmware version is performed. Therefore, the use convenience of the embedded system device is greatly improved, and the firmware version of the embedded system device can be always kept in the latest version so as to improve the stability of the embedded system device.
Although the present invention has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A firmware updating method of an embedded system device is characterized by comprising the following steps:
establishing wireless communication with a remote server through an application layer;
detecting a firmware version of a corresponding embedded system device stored by the remote server when the wireless communication is established;
downloading the firmware version and an updating strategy when the firmware version is new;
storing the downloaded firmware version and the downloaded update policy in a storage unit;
sending an update notification according to the downloaded update object of the firmware version;
reading the update policy according to the update notification;
and updating the firmware version according to the read updating strategy.
2. The firmware update method of an embedded system device according to claim 1, further comprising:
receiving a reboot command from an intermediary layer when the refresh operation is completed;
the reboot instruction is executed to start a boot layer for rebooting.
3. The firmware updating method of the embedded system device according to claim 2, wherein the step of performing the updating operation of the firmware version comprises:
reading the stored firmware version;
updating the execution firmware of the embedded system device according to the read firmware version;
and outputting the rebooting instruction after the execution firmware is updated.
4. The firmware updating method of the embedded system device according to claim 1, wherein the step of performing the updating operation of the firmware version comprises:
reading the stored firmware version;
closing the application layer;
and updating the execution firmware of the application layer according to the read firmware version after the application layer is closed.
5. An information retrieving apparatus, comprising:
a camera component for shooting the surrounding environment to generate an environment image stream showing the surrounding environment;
a storage unit for storing the environmental image stream;
a network module;
a processing unit coupled to the storage unit and the network module, wherein the processing unit has an application layer and an intermediary layer, the application layer detects a firmware version of a corresponding embedded system device stored in a remote server through the network module, the application layer downloads and stores the firmware version and an update policy in the storage unit when the firmware version is new, and the intermediary layer reads the update policy and performs an update operation of the firmware version according to the update policy when receiving an update notification from the application layer.
6. The information retrieval device of claim 5, wherein the processing unit further comprises: the core layer receives a reboot command from the intermediate layer when the update operation is completed, and executes the reboot command to start the boot layer to perform a reboot procedure.
7. The information retrieval device of claim 6, wherein the updating of the firmware version includes: reading the stored firmware version, updating the execution firmware of the embedded system device according to the read firmware version, and outputting the reboot command after the execution firmware is updated.
8. The information retrieval device of claim 5, wherein the updating of the firmware version includes: closing the application layer, reading the stored firmware version and updating the execution firmware of the application layer according to the read firmware version.
9. A firmware update system for an embedded system device, comprising:
a storage unit;
an application layer for establishing wireless communication with a remote server, wherein the application layer detects a firmware version of a corresponding embedded system device stored by the remote server when the wireless communication is established, the application layer downloads the firmware version and an update policy when a new firmware version exists, the application layer stores the downloaded firmware version and the downloaded update policy in the storage unit, and the application layer sends out an update notification according to an update object of the firmware version;
and the intermediate layer is used for receiving the update notice from the application layer, and reading the update strategy and carrying out the update operation of the firmware version according to the update strategy when receiving the update notice.
10. The firmware update system of an embedded system device according to claim 9, further comprising:
a boot layer;
and the core layer is used for receiving a rebooting instruction from the intermediate layer when the updating operation is completed and executing the rebooting instruction to start the booting guiding layer to perform a rebooting procedure.
11. The firmware update system of claim 10, wherein the core layer comprises an event control component, the event control component executing the reboot command to boot the boot layer for a reboot procedure.
12. The firmware update system of claim 10, wherein the update operation of the firmware version comprises: reading the stored firmware version, updating the execution firmware of the embedded system device according to the read firmware version, and outputting the reboot command after the execution firmware is updated.
13. The firmware update system of claim 9, wherein the update operation of the firmware version comprises: reading the stored firmware version, closing the application layer and updating the execution firmware of the application layer according to the read firmware version.
14. The firmware update system of claim 9, wherein the application layer comprises a network management component that establishes wireless communication with the remote server and determines whether the remote server has a new firmware version corresponding to the embedded system device when the wireless communication is established.
15. The firmware update system of claim 9, wherein the intermediary layer comprises a service component that performs the firmware version update according to the update policy when receiving the update notification.
CN202110536203.2A 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device Pending CN113452550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110536203.2A CN113452550A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110536203.2A CN113452550A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device
CN201910047612.9A CN111464321A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910047612.9A Division CN111464321A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device

Publications (1)

Publication Number Publication Date
CN113452550A true CN113452550A (en) 2021-09-28

Family

ID=71679755

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910047612.9A Withdrawn CN111464321A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device
CN202110536203.2A Pending CN113452550A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910047612.9A Withdrawn CN111464321A (en) 2019-01-18 2019-01-18 Information acquisition device, firmware updating method and system of embedded system device

Country Status (1)

Country Link
CN (2) CN111464321A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11627049B2 (en) * 2019-01-31 2023-04-11 Hewlett Packard Enterprise Development Lp Failsafe firmware upgrade for cloud-managed devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11627049B2 (en) * 2019-01-31 2023-04-11 Hewlett Packard Enterprise Development Lp Failsafe firmware upgrade for cloud-managed devices

Also Published As

Publication number Publication date
CN111464321A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN109933348B (en) Method and device for updating Bootloader in electronic control unit
TWI386847B (en) Method of safe and recoverable firmware update and device using the same
US9507604B2 (en) Boot method and boot system
US7991988B2 (en) Communication device and firmware update method thereof
EP2456257B1 (en) Method and system for upgrading wireless data card
US20090094450A1 (en) Firmware image update and management
US20070074201A1 (en) Method and system for updating software and computer readable recording medium storing the method
TWI533216B (en) Operating system updating method
CN109558160A (en) Upgrade method, embedded system
JP2007528534A (en) Using a loader to notify system software update services
CN109753299A (en) A kind of method for upgrading system, device and computer storage medium
US11106450B2 (en) Information extraction apparatus, and automatic firmware update system and method for embedded system
US5987625A (en) Method and apparatus for testing network bootable devices
CN106775873B (en) Method and equipment for updating mobile phone software and acquiring patch file
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN110580167A (en) system upgrading method, intelligent device and server
CN110007935B (en) Processing method, device and equipment for program upgrading
CN113452550A (en) Information acquisition device, firmware updating method and system of embedded system device
CN112463466B (en) Computer testing method
CN114020211B (en) Storage space management method, device, equipment and storage medium
CN115951920A (en) Mobile equipment upgrading method and device, storage unit and mobile equipment
CN113064611B (en) Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof
US11768669B2 (en) Installing application program code on a vehicle control system
CN109684134B (en) Method and server for rapidly deploying firmware settings among multiple devices
CN109428936B (en) APP upgrading method, device, system, 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