WO2020143574A1 - Method and apparatus for updating firmware in vci device, and automobile fault diagnosis instrument - Google Patents
Method and apparatus for updating firmware in vci device, and automobile fault diagnosis instrument Download PDFInfo
- Publication number
- WO2020143574A1 WO2020143574A1 PCT/CN2020/070472 CN2020070472W WO2020143574A1 WO 2020143574 A1 WO2020143574 A1 WO 2020143574A1 CN 2020070472 W CN2020070472 W CN 2020070472W WO 2020143574 A1 WO2020143574 A1 WO 2020143574A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- firmware
- vci
- vci device
- current
- updated
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Definitions
- the present application relates to the technical field of automobiles and software, in particular to a method and device for updating firmware of VCI equipment and an automobile fault diagnostic instrument.
- the embodiment of the present invention aims to provide a method and device for updating the firmware of a VCI device and an automobile fault diagnostic instrument, which can update the firmware in the VCI device in real time, so that the VCI equipment meets the diagnostic needs of the automobile fault diagnostic instrument and improves the automobile fault diagnosis Instrument security.
- a technical solution adopted by the embodiments of the present invention is: to provide a method for updating firmware of a VCI device, which is applied to an automobile fault diagnostic instrument, and the method includes:
- the VCI device includes firmware, an operating system, and startup management, the firmware is used to implement a communication protocol and/or communication standard supported by the VCI device, and the operating system is used to manage the Describe the product model of the VCI device and the version information of the current firmware;
- a target update firmware is determined according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
- the method before establishing the connection with the VCI device, the method further includes:
- the server stores the first firmware
- the method before determining the target to update the firmware according to the product model and the version information of the current firmware, the method further includes:
- the second firmware adapted to the product model does not exist, the product If the second firmware integrity check of the model adaptation fails at least one item, the first firmware is downloaded to replace the second firmware.
- the determining the target update firmware according to the product model and the current firmware version information includes:
- the version information includes a version number
- determining whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware includes:
- the firmware to be updated is an updated version of the current firmware.
- the method further includes:
- the method further includes:
- the method further includes:
- performing a security check on the current firmware according to the version information of the current firmware includes:
- the trigger operation includes a function to be diagnosed
- a connection is established with the VCI device via WiFi, USB or Bluetooth.
- another technical solution adopted by the embodiments of the present invention is to provide a device for updating firmware of a VCI device, which is applied to an automobile fault diagnostic apparatus, and the device includes:
- a connection module configured to establish a connection with a VCI device; wherein the VCI device includes firmware, an operating system, and startup management, the firmware is used to implement a communication protocol and/or communication standard supported by the VCI device , The operating system is used to manage the product model of the VCI device and the version information of the current firmware;
- An obtaining module is used to obtain the product model of the VCI device and the version information of the current firmware
- a determination module is configured to determine a target update firmware according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
- connection module is also used to:
- the server Before establishing a connection with the VCI device, connect with a server, the server storing the first firmware
- connection module is also used to:
- the second firmware adapted to the product model does not exist, the product If the second firmware integrity check of the model adaptation fails at least one item, the first firmware is downloaded to replace the second firmware.
- the determination module is used to:
- the version information includes a version number
- the determination module is further used to:
- the firmware to be updated is an updated version of the current firmware.
- the device further includes:
- a sending module the sending module is used to send a firmware update command to the VCI device to switch the VCI device to an update mode;
- It is used to send the target update firmware to the VCI device, so that the VCI device performs data verification on the target update firmware, and if the verification is passed, the current firmware is updated to the target update firmware.
- connection module is also used to:
- the VCI device fails the verification of the target update firmware data, the VCI device is controlled to interrupt the update and prompt the cause of the interruption.
- the device further includes:
- a security check module configured to perform a security check on the current firmware according to the version information of the current firmware, and if the security check fails, then based on the product model and the version information of the current firmware Determine the target to update the firmware.
- the security check module is specifically used for:
- the trigger operation includes a function to be diagnosed
- connection module establishes a connection with the VCI device via WiFi, USB or Bluetooth.
- an automobile fault diagnostic instrument including:
- At least one processor At least one processor
- a memory in communication connection with the at least one processor
- the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can be used to execute the VCI device firmware described above Update method.
- another technical solution adopted by the embodiments of the present invention is to provide a non-volatile computer-readable storage medium that stores computer-executable instructions.
- the computer-executable instructions are used to enable the automobile fault diagnostic apparatus to perform the method for updating the firmware of the VCI device described above.
- the embodiments of the present invention provide a method and device for updating firmware of a VCI device and an automobile fault diagnostic instrument.
- the automobile malfunctions
- the diagnostic instrument establishes a connection with the VCI device, it obtains the product model and current firmware version information of the VCI device, and determines the target update firmware according to the acquired product model and current firmware version information, so that the car fault diagnostic instrument can determine the VCI in real time.
- the firmware updated by the current firmware in the device when the vehicle fault diagnosis instrument determines the target update firmware, the vehicle fault diagnosis instrument controls the VCI device to update the current firmware to the target update firmware, so that the firmware in the VCI device can be updated in real time, and because of the VCI
- the firmware in the device is used to implement the communication protocol and/or communication standard supported by the VCI device, so when the firmware in the VCI device is updated in real time, the communication protocol and/or communication standard in the VCI device is also updated in real time, making VCI
- the equipment can meet the diagnosis needs of automobile fault diagnosis instrument and improve the safety of automobile fault diagnosis instrument.
- FIG. 1 is a schematic structural diagram of an implementation environment of a method for updating firmware of a VCI device according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a method for updating firmware of a VCI device according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of the method step S800 of updating the firmware of the VCI device shown in FIG. 2;
- FIG. 4 is a schematic flowchart of a method for updating firmware of a VCI device according to another embodiment of the present invention.
- FIG. 5 is a schematic flowchart of a method for updating firmware of a VCI device according to another embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of an apparatus for updating firmware of a VCI device according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a device for updating firmware of a VCI device according to another embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a device for updating firmware of a VCI device according to another embodiment of the present invention.
- FIG. 9 is a schematic diagram of a hardware structure of an automobile fault diagnostic apparatus provided by an embodiment of the present invention.
- the invention provides a method and a device for updating the firmware of a VCI device.
- the method and the device are applied to an automobile fault diagnostic instrument, so that when the automobile fault diagnostic instrument is connected to the VCI equipment, it can be based on the product model and current firmware of the VCI equipment.
- the version information of the VCI device updates the firmware in the VCI device in real time, so as to avoid that the communication protocol and/or communication standard supported by the firmware in the VCI device does not meet the diagnostic requirements of the automobile fault diagnostic instrument and cause safety problems.
- the VCI device is a vehicle communication interface (Vehicle Communication Interface) device, which is used to connect the car fault diagnostic instrument and the car to complete the communication between the car fault diagnostic instrument and the car.
- vehicle communication interface Vehicle Communication Interface
- FIG. 1 is a schematic structural diagram of an implementation environment of a method for updating firmware of a VCI device according to an embodiment of the present invention.
- the implementation environment includes a server 10, a VCI device 20, and an automobile fault diagnostic apparatus 30.
- the server 10 stores first firmware, which is firmware that can run on the VCI device 20, and includes all versions of firmware that the VCI device 20 can run, and each version of the firmware stores version information correspondingly.
- the version information of the first firmware includes: a version number and an adapted VCI device model.
- the version number is composed of numbers, which are arranged according to the preset version number sequence, the greater the version number sequence, the newer the firmware. For example: when the preset version number sequence is arranged in positive order according to the number size, the larger the number, the larger the number sequence, the newer the firmware; when the preset version number sequence is arranged in reverse order, according to the number size, The smaller the number, the greater the number sequence of the version number, and the newer the firmware.
- the server 10 may be one server, or a server cluster composed of several servers, or may be a cloud computing service center.
- VCI device 20 includes boot management 21, firmware 22, and operating system 23.
- the startup management 21 is used to complete the startup management of the VCI device 20.
- the firmware 22 is used to implement the communication protocol and/or communication standard supported by the VCI device 20. By updating the firmware 22, the communication protocol and/or communication standard is updated.
- the operating system 23 is used to manage the product model of the VCI device 20 and the version information of the current firmware.
- the version information of the current firmware is the version information of the firmware 22 that the VCI device 20 is running.
- the version information of the current firmware includes the version number and the adapted VCI device model.
- the version information of the current firmware is also adaptively updated as the firmware 22 is updated.
- the car fault diagnosis instrument 30 is a tool for checking car faults, and is connected to the car through a VCI device, and can realize various car diagnostic functions.
- the car fault diagnosis instrument 30 is located on the user's side and is used to interact with the user.
- one or more input/output devices are provided, such as a display screen, buttons, touch screens, etc., which display the diagnostic functions that can be provided to the user through the input/output devices.
- the trigger operation of the function to be diagnosed on the input/output device can enable the automobile fault diagnostic apparatus 30 to receive the trigger operation including the function to be diagnosed.
- the trigger operation may be an action instruction such as clicking, double-clicking, pressing, sliding, and long-pressing.
- a comparison table of the relationship between the diagnosis function and the firmware version number is stored. Since all versions of the firmware are forward compatible, as long as a certain version of the firmware can support a certain diagnostic function, subsequent versions of the firmware can support the diagnostic function, so the relationship between the diagnostic function and the firmware version number in the comparison table, The firmware version number corresponding to the diagnosis function is the smallest version number that can realize the diagnosis function. At this time, the vehicle fault diagnosis apparatus 30 can determine whether the current firmware in the VCI device 20 can meet the function to be diagnosed through the received function to be diagnosed and the version information of the current firmware in the VCI device 20.
- a second firmware is stored in the automobile fault diagnosis apparatus 30, and the second firmware is a firmware that can run on the VCI device 20, which includes the latest version of firmware that can be run by the VCI device 20 of each model, and the VCI device of each model
- the latest version of the firmware that the 20 can run has one and only one, that is, as many types of VCI devices 20 as there are as many firmwares.
- the automobile fault diagnostic instrument 30 is connected to the server 10, and downloads and stores as the second firmware the first version of the latest firmware that can be operated by the VCI device 20 of each type in the server 10.
- vehicle fault diagnosis apparatus 30 needs to update the firmware in the VCI device 20, it needs to be connected to the VCI device 20.
- the car trouble diagnosis instrument 30 Before connecting to the VCI device 20, the car trouble diagnosis instrument 30 first connects to the server 10 via a network, determines the updateable firmware corresponding to the preset VCI model from the first firmware stored in the server 10 according to the preset time interval, and determines The updatable firmware is stored as the second firmware, so that when the vehicle fault diagnostic device 30 updates the firmware in the VCI device 20, it can determine the firmware used to update the firmware in the VCI device 20 from the second firmware, shortening Update time and improve efficiency.
- the preset time interval is a preset query interval, which represents the frequency with which the automobile fault diagnostic apparatus 30 queries the server 10. Querying whether there is an updateable firmware in the server 10 according to a preset time interval can prevent the vehicle fault diagnostic apparatus 30 from being missed.
- the preset VCI model is the product model of all VCI devices preset. Based on this, the updateable firmware corresponding to the preset VCI model is determined, that is, the updateable firmware corresponding to each model of the VCI device is determined. For example, if the preset VCI models include Type A and Type B, when determining the updateable firmware corresponding to the preset VCI model, it is necessary to separately determine the updateable firmware corresponding to the Type A VCI device and the updateable firmware corresponding to the Type B VCI device.
- the car fault diagnostic device 30 determines the adapted first firmware according to each preset VCI model, and then The first firmware with the largest number sequence of the version numbers in the first firmware determined by the VCI model is determined as the updateable firmware for each preset VCI model. For example, the automobile fault diagnosis apparatus 30 determines that the first firmware adapted to the A-type VCI device is firmware 1 and firmware 2, and determines that the first firmware adapted to the B-type VCI device is firmware 1, where the version number of the firmware 1 is 1. The version number of firmware 2 is 2, and the number sequence of the version numbers is arranged in positive order according to the number size.
- the number sequence of the version number of firmware 2 is the largest, and firmware 2 is determined as the type A VCI device.
- Updatable firmware In the B-type VCI device, the version number of the firmware 1 is the largest, and the firmware 1 is determined as the updatable firmware of the B-type VCI device.
- the automobile fault diagnostic instrument 30 obtains the product model of the VCI device 20 and the current firmware version information if a connection is established with the VCI device 20.
- the automobile fault diagnostic instrument 30 establishes a connection with the VCI device 20 through WiFi, USB or Bluetooth, and the automobile fault diagnostic instrument 30 can only be connected to the VCI device 20 in one way.
- the Bluetooth name of the VCI device 20 or the SSID of the WiFi has a characteristic that distinguishes it from other wireless devices, so after the car troubleshooter 30 obtains the Bluetooth name or the SSID of the WiFi, according to the Bluetooth
- the name or the SSID of WiFi determines the VCI device 20, and automatically performs password verification with the determined VCI device 20 to establish a connection.
- the car fault diagnostic device 30 After successfully connecting with the VCI device 20, the car fault diagnostic device 30 stores the Bluetooth name or the SSID of the connected VCI device 20, so that the car fault diagnostic device 30 recognizes the stored Bluetooth name or the SSID of the WiFi again.
- the VCI device 20 corresponding to the Bluetooth name or the SSID of the WiFi automatically restores the connection, improving the connection speed between the car fault diagnostic apparatus 30 and the VCI device 20.
- the car fault diagnostic instrument 30 When connected to the VCI device 20 via USB, the car fault diagnostic instrument 30 detects the PID and VID of the VCI device 20, and runs a USB driver according to the PID and VID to establish a connection.
- the priority of the connection method between the car fault diagnostic instrument 30 and the VCI device 20 it is possible to set the priority of the connection method between the car fault diagnostic instrument 30 and the VCI device 20.
- the USB connection is set to the highest priority, and the WiFi and Bluetooth connections are set to the same priority .
- the car fault diagnosis instrument 30 obtains the first firmware of the first firmware adapted to the product model from the server 10 if it is connected to the server 10 again Version Information.
- the model of the VCI device adapted in the first firmware includes the product model acquired by the automobile fault diagnostic instrument 30 from the VCI device 20, it is determined that the first firmware is the first firmware that is adapted to the product model.
- the product model of the VCI device 20 obtained by the automobile fault diagnosis instrument 30 is type C
- the model of the VCI device adapted by firmware 1 is type B and type C.
- the model of the VCI device adapted by firmware 1 includes product model C Type, it is determined that the firmware 1 is the first firmware adapted to the product model.
- the automobile fault diagnostic apparatus 30 acquires the version information of the first firmware with the largest number order of the version numbers.
- the automobile fault diagnosis apparatus 30 determines that the first firmware is the updated version and product model of the second firmware adapted to the product model according to the acquired version information of the first firmware If the adapted second firmware does not exist, and the integrity verification of the second firmware of the product model does not pass at least one, the first firmware is downloaded to replace the second firmware adapted to the product model, so that the car fault diagnostic instrument The second firmware in 30 can maintain the latest version.
- the model of the VCI device adapted in the second firmware includes the product model acquired by the vehicle fault diagnostic device 30 from the VCI device 20, it is determined that the second firmware is the second firmware that is adapted to the product model.
- the second firmware adapted to the product model can verify its integrity through the verification code.
- the obtained version number of the first firmware is compared with the version number of the second firmware adapted to the product model. If the number sequence of the first firmware version number is greater than the number sequence of the second firmware version number, It is determined that the first firmware is an updated version of the second firmware.
- model of the VCI device adapted in the second firmware does not include the product model acquired by the vehicle fault diagnostic device 30 from the VCI device 20, it is determined that the second firmware adapted to the product model does not exist.
- the car fault diagnostic apparatus 30 determines the target update firmware according to the product model and the current firmware version information.
- the car fault diagnosis apparatus 30 determines that the second firmware adapted to the VCI device 20 is the firmware to be updated according to the product model, and then determines whether the firmware to be updated is the updated version of the current firmware according to the version information of the current firmware.
- the car fault diagnosis instrument 30 determines that the second firmware adapted to the VCI device 20 is the firmware to be updated according to the product model
- the second firmware including the product model of the adapted VCI device is determined to be the firmware to be adapted to the VCI device Update the firmware.
- the automobile fault diagnosis apparatus 30 there is only one second firmware adapted to the VCI device 20 of each product model.
- determining whether the firmware to be updated is the updated version of the current firmware according to the version information of the current firmware includes: comparing the version number of the current firmware with the version number of the firmware to be updated according to a preset version number sequence; determining the version number of the firmware to be updated Whether the number sequence is greater than the number sequence of the current firmware version number.
- the firmware to be updated is the updated version of the current firmware.
- the firmware to be updated passed the verification is determined to be the target firmware to be updated.
- the VCI device updates the current firmware to the target update firmware.
- the car fault diagnosis instrument 30 sends a firmware update command to the VCI device 20 to switch the VCI device 20 to the update mode; then sends the determined target update firmware to the VCI device, so that the VCI device performs data calibration on the target update firmware If the verification is passed, the current firmware is updated as the target update firmware; if the verification is not passed, the VCI device is controlled to interrupt the update, and the reason for the interruption is prompted, so that the user can adjust the car fault diagnosis instrument 30 according to the cause of the interruption to restart Update the firmware in the VCI device.
- the VCI device 20 performs data verification on the target update firmware through the verification code.
- the automobile fault diagnostic apparatus 30 can also perform a security check on the current firmware in the VCI device 20 according to the acquired version information of the current firmware.
- the automobile fault diagnosis instrument 30 performs a safety check on the current firmware in the VCI device 20 according to the acquired version information of the current firmware, which specifically includes: after receiving the trigger operation including the function to be diagnosed, the automobile malfunction diagnosis instrument 30 is based on the acquired The current firmware version information determines whether the current firmware in the VCI device 20 can satisfy the function to be diagnosed.
- determining whether the current firmware in the VCI device 20 can satisfy the function to be diagnosed based on the acquired version information of the current firmware includes: the car fault diagnostic apparatus 30 determines the received function to be diagnosed according to the relationship table between the diagnosis function and the firmware version number Corresponding firmware version number; compare the current firmware version number with the firmware version number determined according to the function to be diagnosed, if the number sequence of the current firmware version number is not less than the firmware version number determined according to the function to be diagnosed, then determine the VCI device 20 Of the current firmware can satisfy the function to be diagnosed; otherwise, it is determined that the current firmware in the VCI device 20 cannot satisfy the function to be diagnosed.
- the car fault diagnostic device 30 determines the target update firmware according to the product model and the current firmware version information.
- the car fault diagnostic apparatus 30 determines the target update firmware according to the product model and the current firmware version information
- the car fault diagnostic apparatus 30 determines that the second firmware adapted to the VCI device 20 is the firmware to be updated according to the product model, Then, determine whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware; if it is determined that the firmware to be updated is an updated version of the current firmware, determine whether the number sequence of the version numbers of the firmware to be updated is not less than that according to the function to be diagnosed
- the firmware version number of the firmware if it is, the integrity check of the firmware to be updated is performed, and the firmware to be updated passed the verification is determined as the target firmware update; if not, it is connected to the server 10, based on the firmware version number and product model.
- the first firmware of 10 determines the target update firmware.
- the vehicle fault diagnostic instrument when connected to the VCI device, it can update the firmware in the VCI device in real time according to the product model of the VCI device and the current firmware version information, and then the communication protocol and /Or communication standards are also updated in real time, so that VCI equipment can meet the diagnostic needs of automotive fault diagnostics, and improve the safety of automotive fault diagnostics.
- FIG. 2 is a schematic flow chart of a method for updating firmware of a VCI device according to an embodiment of the present invention, which is applied to a car fault diagnostic instrument.
- the car fault diagnostic instrument is the car fault diagnostic instrument described in the above embodiments 30.
- the VCI device firmware update method includes:
- the server stores the first firmware
- the first firmware is firmware that can run on the VCI device, which includes all versions of the firmware that the VCI device can run, and each version of the firmware correspondingly stores a version information.
- the version information of the first firmware includes: a version number and an adapted VCI device model.
- the version number is composed of numbers, which are arranged according to the preset version number sequence, the greater the version number sequence, the newer the firmware. For example: when the preset version number sequence is arranged in positive order according to the number size, the larger the number, the larger the number sequence, the newer the firmware; when the preset version number sequence is arranged in reverse order, according to the number size, The smaller the number, the greater the number sequence of the version number, and the newer the firmware.
- the server In order to prevent the process of updating the firmware in the VCI device, it also takes time to temporarily connect to the server to obtain the updateable firmware from the server. Before connecting the vehicle diagnostic tool to the VCI device, first connect it to the server through the wireless LAN to connect The updateable firmware in the server is stored locally in advance, shortening the time to update the VCI device and improving efficiency.
- S200 Determine an updateable firmware corresponding to a preset VCI model from the first firmware according to a preset time interval, and store the updateable firmware as the second firmware.
- the preset time interval is a preset query interval, which represents the frequency of querying the server by the automobile fault diagnosis instrument. Querying whether there is updateable firmware in the server according to the preset time interval can prevent the car fault diagnostic instrument from missing detection.
- the preset VCI model is the product model of all VCI devices preset. Based on this, the updateable firmware corresponding to the preset VCI model is determined, that is, the updateable firmware corresponding to each model of the VCI device is determined. For example, if the preset VCI models include Type A and Type B, when determining the updateable firmware corresponding to the preset VCI model, it is necessary to separately determine the updateable firmware corresponding to the Type A VCI device and the updateable firmware corresponding to the Type B VCI device.
- the car fault diagnostic instrument determines the adapted first firmware according to each preset VCI model, and then sets each preset VCI
- the first firmware with the largest number sequence of the version numbers in the first firmware determined by the model is determined as the updatable firmware for each preset VCI model.
- the car fault diagnostic apparatus determines that the first firmware for the A-type VCI device is firmware 1 and firmware 2, and the first firmware for the B-type VCI device is firmware 1, where the version number of the firmware 1 is 1.
- the version number of 2 is 2, and the number sequence of the version number is arranged in a positive order according to the number size.
- the number sequence of the firmware 2 version number is the largest, and the firmware 2 is determined as the type A VCI device. Update the firmware; In the B-type VCI device, the version number of the firmware 1 is the largest, and the firmware 1 is determined as the updatable firmware of the B-type VCI device.
- the determined updatable firmware is stored as the second firmware
- the second firmware is the firmware that can run on the VCI device, which includes the latest version of each model of the VCI device that can run firmware.
- each type of VCI device can run the latest version of firmware with only one, that is, as many types of VCI devices as there are as many second firmwares.
- the automobile fault diagnosis instrument can determine the firmware for updating the VCI device from the second firmware, shorten the update time, and improve the efficiency.
- the VCI device includes firmware, an operating system, and boot management.
- Startup management is used to complete the startup management of VCI equipment.
- the firmware is used to implement the communication protocol and/or communication standard supported by the VCI device. By updating the firmware, the communication protocol and/or communication standard is updated.
- the operating system is used to manage the product model of the VCI device and the current firmware version information.
- the version information of the current firmware is the version information of the firmware that the VCI device is running.
- the version information of the current firmware includes the version number and the model of the adapted VCI device.
- the current firmware version information is also adaptively updated with the firmware update.
- the car fault diagnosis instrument updates the firmware in the VCI device by connecting with the VCI device.
- the car fault diagnosis instrument can establish a connection with the VCI device through WiFi, USB or Bluetooth, and it can only be connected to the VCI device through one of the methods.
- the Bluetooth name of the VCI device or the SSID of the WiFi has a characteristic that distinguishes it from other wireless devices, so after obtaining the Bluetooth name or the SSID of the WiFi, the car fault diagnosis instrument, according to the Bluetooth name or the WiFi.
- the SSID determines the VCI device, and automatically performs password verification with the determined VCI device to establish a connection.
- the car fault diagnostic device After successfully connecting with the VCI device, the car fault diagnostic device stores the Bluetooth name or SSID of the connected VCI device, so that the car fault diagnostic device recognizes the stored Bluetooth name or WiFi SSID again, and then The VCI device corresponding to the SSID of WiFi automatically restores the connection, improving the connection speed between the car fault diagnostic instrument and the VCI device.
- the car fault diagnostic instrument When connecting with a VCI device via USB, the car fault diagnostic instrument detects the PID and VID of the VCI device, and runs a USB driver according to the PID and VID to establish a connection.
- a priority can be set for the connection method between the car fault diagnostic instrument and the VCI device.
- the USB connection is set to the highest priority, and the WiFi and Bluetooth connections are set to the same priority.
- the car fault diagnosis instrument obtains the product model of the VCI device and the version information of the currently running firmware of the VCI device from the operating system of the VCI device.
- S800 Determine a target update firmware according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
- the target update firmware according to the product model and the current firmware version information specifically includes:
- S810 Determine, according to the product model, that the second firmware adapted to the VCI device is firmware to be updated.
- the second firmware of the adapted VCI device model including the product model is determined as the firmware to be updated adapted to the VCI device.
- the product model of the VCI device is type C
- the model of the VCI device adapted by firmware 1 is type B and C.
- the model of the VCI device adapted by firmware 1 includes the product model C, then determine that firmware 1 is The firmware to be updated adapted to the VCI device.
- step S820 Determine whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware, and if yes, go to step S830.
- the version number of the current firmware and the version number of the firmware to be updated are compared according to the preset version number sequence; if the number sequence of the version number of the firmware to be updated is greater than the number sequence of the version number of the current firmware, it is determined that the firmware to be updated is The updated version of the current firmware.
- S830 Perform an integrity check on the firmware to be updated, and determine the firmware to be updated that passes the verification as the target firmware to be updated.
- causing the VCI device to update the current firmware to the target update firmware specifically includes: sending a firmware update command to the VCI device to switch the VCI device to the update mode; sending the target update firmware to the VCI device to make the VCI device target the target Update the firmware to verify the data. If the verification passes, the current firmware is updated to the target update firmware; if the VCI device fails to verify the target update firmware data, the VCI device is controlled to interrupt the update and prompt the reason for the interruption.
- the VCI device performs data verification on the target update firmware through the verification code.
- the method further includes:
- S500 When connected to the server, obtain version information of the first firmware adapted to the product model from the server.
- the model of the VCI device adapted in the first firmware includes the product model acquired by the vehicle fault diagnostic instrument from the VCI device, it is determined that the first firmware is the first firmware that is adapted to the product model.
- the product model of the VCI device obtained by the automobile fault diagnosis instrument is type C
- the model of the VCI device adapted by firmware 1 is type B and type C.
- the model of the VCI device adapted by firmware 1 includes the product model C.
- the firmware 1 is the first firmware adapted to the product model.
- the automobile fault diagnostic apparatus acquires the version information of the first firmware with the largest number sequence of version numbers.
- the model of the adapted VCI device in the second firmware includes the model of the product obtained from the VCI device by the automobile fault diagnostic apparatus, it is determined that the second firmware is the second firmware adapted to the model of the product.
- the model-matched second firmware can verify its integrity through the verification code.
- the obtained version number of the first firmware is compared with the version number of the second firmware adapted to the product model. If the number sequence of the first firmware version number is greater than the number sequence of the second firmware version number, It is determined that the first firmware is an updated version of the second firmware.
- the model of the VCI device adapted in the second firmware does not include the product model obtained by the vehicle fault diagnosis instrument from the VCI device, it is determined that the second firmware adapted to the product model does not exist.
- the method before step S800, the method further includes:
- S700 Perform a security check on the current firmware according to the version information of the current firmware, and if the security check fails, determine a target update firmware according to the product model and the version information of the current firmware.
- the car fault diagnosis instrument performs a safety check on the current firmware in the VCI device according to the obtained version information of the current firmware, which specifically includes: after the car fault diagnosis instrument receives the trigger operation including the function to be diagnosed, according to the acquired current firmware
- the version information determines whether the current firmware in the VCI device can satisfy the function to be diagnosed.
- the automobile fault diagnosis instrument displays the diagnosis function that can be provided to the user through the input/output device.
- the user can make the automobile malfunction diagnosis instrument receive the trigger operation including the function to be diagnosed.
- the trigger operation may be an action instruction such as clicking, double-clicking, pressing, sliding, and long-pressing.
- determining whether the current firmware in the VCI device can meet the function to be diagnosed according to the obtained version information of the current firmware includes: the car fault diagnosis instrument determines the corresponding function of the received function to be diagnosed according to the relationship table between the diagnosis function and the firmware version number Firmware version number; compare the current firmware version number with the firmware version number determined according to the function to be diagnosed, if the sequence number of the current firmware version number is not less than the firmware version number determined according to the function to be diagnosed, determine the current firmware in the VCI device It can satisfy the function to be diagnosed; otherwise, it is determined that the current firmware in the VCI device cannot satisfy the function to be diagnosed.
- the comparison table of the relationship between the diagnosis function and the firmware version number is the correspondence relationship between the diagnosis function and the firmware version number pre-stored in the automobile fault diagnosis apparatus. Since all versions of the firmware are forward compatible, as long as a certain version of the firmware can support a certain diagnostic function, subsequent versions of the firmware can support this diagnostic function, so in the relationship between the diagnostic function and the firmware version number in the comparison table,
- the firmware version number corresponding to the diagnosis function is the version number of the smallest firmware that can realize the diagnosis function.
- the car fault diagnosis instrument determines the target update firmware based on the product model and the current firmware version information.
- the car fault diagnosis apparatus determines the target update firmware according to the product model and the current firmware version information
- the car fault diagnosis apparatus determines that the second firmware adapted to the VCI device is the firmware to be updated according to the product model, and then according to the current
- the version information of the firmware determines whether the firmware to be updated is an updated version of the current firmware; if it is determined that the firmware to be updated is an updated version of the current firmware, it is determined whether the number sequence of the version numbers of the firmware to be updated is not less than the firmware version determined according to the function to be diagnosed No.
- the integrity check of the firmware to be updated is performed, and the verified firmware to be updated is determined as the target update firmware; if not, it is connected to the server, and the first firmware is on the server according to the firmware version number and product model Confirm the target update firmware.
- the vehicle fault diagnostic instrument when connected to the VCI device, it can update the firmware in the VCI device in real time according to the product model of the VCI device and the current firmware version information, and then the communication protocol and /Or communication standards are also updated in real time, so that VCI equipment can meet the diagnostic needs of automotive fault diagnostics, and improve the safety of automotive fault diagnostics.
- module is a combination of software and/or hardware that can realize a predetermined function.
- devices described in the following embodiments may be implemented in software, implementation of hardware or a combination of software and hardware may also be conceived.
- FIG. 6 is a schematic structural diagram of a device for updating firmware of a VCI device according to one embodiment of the present invention, which is applied to a car fault diagnostic instrument.
- the car fault diagnostic instrument is the car fault diagnostic instrument described in the above embodiments 30.
- the VCI device firmware update device includes:
- connection module 100 the connection module 100 is used to establish a connection with a VCI device; wherein the VCI device includes firmware, an operating system, and startup management, the firmware is used to implement a communication protocol and/or supported by the VCI device Communication standards, the operating system is used to manage the product model of the VCI device and the version information of the current firmware;
- An obtaining module 200 which is used to obtain the product model of the VCI device and the version information of the current firmware
- the determination module 300 is configured to determine a target update firmware according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
- connection module 100 establishes a connection with the VCI device through WiFi, USB or Bluetooth.
- connection module 100 is also used for:
- the server Before establishing a connection with the VCI device, connect with a server, the server storing the first firmware
- connection module 100 is also used for:
- the second firmware adapted to the product model does not exist, the product If the second firmware integrity check of the model adaptation fails at least one item, the first firmware is downloaded to replace the second firmware.
- determination module 300 is specifically used for:
- the determining module 300 is also used to:
- the firmware to be updated is an updated version of the current firmware.
- the VCI device firmware update device further includes:
- a sending module 400 the sending module 400 is used to send a firmware update command to the VCI device to switch the VCI device to an update mode;
- It is used to send the target update firmware to the VCI device, so that the VCI device performs data verification on the target update firmware, and if the verification is passed, the current firmware is updated to the target update firmware.
- connection module 400 is also used to:
- the VCI device fails the verification of the target update firmware data, the VCI device is controlled to interrupt the update and prompt the cause of the interruption.
- the VCI device firmware update device further includes:
- a security check module 500 the security check module 500 is used to perform a security check on the current firmware according to the version information of the current firmware, and if the security check fails, then based on the product model and the current firmware The version information determines the target to update the firmware.
- security check module 500 is specifically used for:
- the trigger operation includes a function to be diagnosed
- the content of the device embodiment can refer to the method embodiment under the premise that the content does not conflict with each other, which will not be repeated here.
- the vehicle fault diagnostic instrument when connected to the VCI device, it can update the firmware in the VCI device in real time according to the product model of the VCI device and the version information of the current firmware, and then the communication protocol and /Or communication standards are also updated in real time, so that VCI equipment can meet the diagnostic needs of automotive fault diagnostics, and improve the safety of automotive fault diagnostics.
- FIG. 9 is a schematic diagram of the hardware structure of an automobile fault diagnostic apparatus provided by one embodiment of the present invention.
- the automobile fault diagnostic apparatus 30 can execute the method for updating a firmware of a VCI device described in the above embodiment, and The functions of each module of the apparatus for updating firmware of a VCI device described in the above embodiments.
- the car fault diagnosis instrument 30 includes:
- processors 31 and memory 32 are taken as an example in FIG. 9.
- the processor 31 and the memory 32 may be connected through a bus or in other ways.
- the connection through a bus is used as an example.
- the memory 32 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as a VCI device firmware update in the foregoing embodiments of the present invention
- the program instruction corresponding to the method and the module corresponding to a device for updating the firmware of the VCI device (for example, the connection module 100, the acquisition module 200, and the determination module 300, etc.).
- the processor 31 executes various functional applications and data processing of a method for updating VCI device firmware by running non-volatile software programs, instructions, and modules stored in the memory 32, that is, one of the above method embodiments is implemented A method for updating the firmware of a VCI device and the function of each module in the above device embodiments.
- the memory 32 may include a storage program area and a storage data area, wherein the storage program area may store an operating system and at least one function required application program; the storage data area may store a device created by using a VCI device firmware update device Data etc.
- the stored data area also stores preset data, including a preset time interval, a preset VCI model, a preset version number number sequence, a comparison table of relationships between diagnostic functions and firmware version numbers, and so on.
- the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
- the memory 32 may optionally include memories remotely provided with respect to the processor 31, and these remote memories may be connected to the processor 31 through a network. Examples of the above network include but are not limited to the Internet, intranet, local area network, mobile communication network, and combinations thereof.
- the program instructions and one or more modules are stored in the memory 32, and when executed by the one or more processors 31, each of the methods for updating a VCI device firmware in any of the above method embodiments is performed Step, or, implement the functions of each module of an apparatus for updating firmware of a VCI device in any of the foregoing apparatus embodiments.
- the above products can execute the method provided by the above embodiments of the present invention, and have the corresponding function modules and beneficial effects of the execution method.
- the above products can execute the method provided by the above embodiments of the present invention, and have the corresponding function modules and beneficial effects of the execution method.
- An embodiment of the present invention also provides a non-volatile computer-readable storage medium that stores computer-executable instructions that are executed by one or more processors, such as FIG. 9
- a processor 31 in the computer can cause the computer to execute the steps of a method for updating the firmware of a VCI device in any of the above method embodiments, or each of the devices for updating the firmware of a VCI device in any of the above device embodiments The function of the module.
- An embodiment of the present invention also provides a computer program product.
- the computer program product includes a computer program stored on a non-volatile computer-readable storage medium.
- the computer program includes program instructions. When the program instructions are Or executed by multiple processors, such as a processor 31 in FIG. 9, which can cause the computer to execute the steps of a method for updating the firmware of a VCI device in any of the above method embodiments, or implement the method in any of the above device embodiments A function of each module of a device for updating firmware of a VCI device.
- the device embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located One place, or can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware.
- the program may be stored in a computer-readable storage medium, and the program is being executed At this time, it may include the flow of the method for implementing the above methods.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
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
Description
本申请要求于2019年01月07日提交中国专利局、申请号为201910012440.1、申请名称为“一种VCI设备固件更新的方法、装置及汽车故障诊断仪”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted to the China Patent Office on January 07, 2019, with the application number 201910012440.1 and the application titled "A VCI device firmware update method, device, and car fault diagnostic instrument." The content is incorporated into this application by reference.
本申请涉及汽车和软件技术领域,特别是涉及一种VCI设备固件更新的方法、装置及汽车故障诊断仪。The present application relates to the technical field of automobiles and software, in particular to a method and device for updating firmware of VCI equipment and an automobile fault diagnostic instrument.
随着汽车技术的迅猛发展,越来越多汽车通信标准和通信协议的出现,使得已售出的VCI设备中的汽车通信标准和通信协议无法满足汽车故障诊断仪的诊断需求,若汽车故障诊断仪继续通过VCI设备与汽车通信进行诊断,则容易出现安全隐患,于是,如何使VCI设备中的汽车通信标准和通信协议随着汽车发展逐渐丰富成为亟待解决的技术问题。With the rapid development of automotive technology, the emergence of more and more automotive communication standards and communication protocols has made the automotive communication standards and communication protocols in the sold VCI equipment unable to meet the diagnostic needs of automotive fault diagnostic instruments. The instrument continues to diagnose through VCI equipment and vehicle communication, which is prone to potential safety hazards. Therefore, how to make vehicle communication standards and communication protocols in VCI equipment gradually enrich with the development of automobiles has become an urgent technical problem to be solved.
发明内容Summary of the invention
本发明实施例旨在提供一种VCI设备固件更新的方法、装置及汽车故障诊断仪,能够实时对VCI设备中的固件进行更新,使VCI设备满足汽车故障诊断仪的诊断需求,提高汽车故障诊断仪的安全性。The embodiment of the present invention aims to provide a method and device for updating the firmware of a VCI device and an automobile fault diagnostic instrument, which can update the firmware in the VCI device in real time, so that the VCI equipment meets the diagnostic needs of the automobile fault diagnostic instrument and improves the automobile fault diagnosis Instrument security.
为解决上述技术问题,本发明实施例采用的一个技术方案是:提供一种VCI设备固件更新的方法,应用于汽车故障诊断仪,所述方法包括:In order to solve the above technical problems, a technical solution adopted by the embodiments of the present invention is: to provide a method for updating firmware of a VCI device, which is applied to an automobile fault diagnostic instrument, and the method includes:
与VCI设备建立连接;其中,所述VCI设备包括固件、操作系统以及启动管理,所述固件用于实现所述VCI设备所支持的通信协议和/或通信标准,所述操作系统用于管理所述VCI设备的产品型号以及当前固件的版本信息;Establish a connection with a VCI device; wherein, the VCI device includes firmware, an operating system, and startup management, the firmware is used to implement a communication protocol and/or communication standard supported by the VCI device, and the operating system is used to manage the Describe the product model of the VCI device and the version information of the current firmware;
获取所述VCI设备的产品型号和当前固件的版本信息;Obtain the product model and current firmware version information of the VCI device;
根据所述产品型号和所述当前固件的版本信息确定目标更新固件,以使所述VCI设备将所述当前固件更新为所述目标更新固件。A target update firmware is determined according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
可选地,所述与VCI设备建立连接之前,所述方法还包括:Optionally, before establishing the connection with the VCI device, the method further includes:
与服务器连接,所述服务器存储有第一固件;Connected to a server, the server stores the first firmware;
根据预设时间间隔从所述第一固件中确定与预设VCI型号对应的可更新固件,并将所述可更新固件存储为第二固件。Determine an updatable firmware corresponding to a preset VCI model from the first firmware according to a preset time interval, and store the updatable firmware as a second firmware.
可选地,所述根据所述产品型号和所述当前固件的版本信息确定目标更新固件之前,所述方法还包括:Optionally, before determining the target to update the firmware according to the product model and the version information of the current firmware, the method further includes:
当与所述服务器连接时,从所述服务器获取与所述产品型号适配的第一固件的版本信息;When connected to the server, obtain version information of the first firmware adapted to the product model from the server;
若根据所获取的所述第一固件的版本信息确定所述第一固件是所述产品型号适配的第二固件的更新版本、所述产品型号适配的第二固件不存在、所述产品型号适配的第二固件完整性校验不通过至少一项成立,则下载所述第一固件替换所述第二固件。If it is determined according to the acquired version information of the first firmware that the first firmware is an updated version of the second firmware adapted to the product model, the second firmware adapted to the product model does not exist, the product If the second firmware integrity check of the model adaptation fails at least one item, the first firmware is downloaded to replace the second firmware.
可选地,所述根据所述产品型号和所述当前固件的版本信息确定目标更新固件,包括:Optionally, the determining the target update firmware according to the product model and the current firmware version information includes:
根据所述产品型号确定与所述VCI设备适配的第二固件为待更新固件;Determining, according to the product model, that the second firmware adapted to the VCI device is the firmware to be updated;
根据所述当前固件的版本信息确定所述待更新固件是否是所述当前固件的更新版本;Determine whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware;
若是,则对所述待更新固件进行完整性校验,将校验通过的待更新固件确定为目标更新固件。If yes, perform an integrity check on the firmware to be updated, and determine the firmware to be updated that passed the verification as the target update firmware.
可选地,所述版本信息包括版本号,所述根据所述当前固件的版本信息确定所述待更新固件是否是所述当前固件的更新版本,包括:Optionally, the version information includes a version number, and determining whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware includes:
根据预设版本号编号顺序比较所述当前固件的版本号和所述待更新固件的版本号;Comparing the version number of the current firmware with the version number of the firmware to be updated according to a preset version number number sequence;
若所述待更新固件的版本号的编号顺序大于所述当前固件的版本号的编号顺序,则确定所述待更新固件是所述当前固件的更新版本。If the number sequence of the version numbers of the firmware to be updated is greater than the number sequence of the version numbers of the current firmware, it is determined that the firmware to be updated is an updated version of the current firmware.
可选地,所述方法还包括:Optionally, the method further includes:
向所述VCI设备发送固件更新命令,以使所述VCI设备切换到更新模式;Send a firmware update command to the VCI device, so that the VCI device switches to the update mode;
将所述目标更新固件发送至所述VCI设备,以使所述VCI设备对所述目标更新固件进行数据校验,校验通过则将所述当前固件更新为所述目标更新固件。Sending the target update firmware to the VCI device, so that the VCI device performs data verification on the target update firmware, and if the verification is passed, the current firmware is updated to the target update firmware.
可选地,若所述VCI设备对所述目标更新固件数据校验不通过,所述方法还包括:Optionally, if the VCI device fails to verify the target update firmware data, the method further includes:
控制所述VCI设备中断更新,并提示中断原因。Control the VCI device to interrupt the update, and prompt the reason for the interruption.
可选地,所述方法还包括:Optionally, the method further includes:
根据所述当前固件的版本信息对所述当前固件进行安全检查,若所述安全检查不通过,则根据所述产品型号和所述当前固件的版本信息确定目标更新固件。Perform a security check on the current firmware according to the version information of the current firmware, and if the security check fails, determine a target update firmware according to the product model and the version information of the current firmware.
可选地,所述根据所述当前固件的版本信息对所述当前固件进行安全检查,包括:Optionally, performing a security check on the current firmware according to the version information of the current firmware includes:
接收触发操作,所述触发操作包括待诊断功能;Receiving a trigger operation, the trigger operation includes a function to be diagnosed;
根据所述当前固件的版本信息确定所述当前固件是否能够满足所述待诊断功能,若否,则安全检查不通过。It is determined according to the version information of the current firmware whether the current firmware can satisfy the function to be diagnosed, and if not, the security check fails.
可选地,通过WiFi、USB或者蓝牙与所述VCI设备建立连接。Optionally, a connection is established with the VCI device via WiFi, USB or Bluetooth.
为解决上述技术问题,本发明实施例采用的另一个技术方案是:提供一种VCI设备固件更新的装置,应用于汽车故障诊断仪,所述装置包括:In order to solve the above technical problems, another technical solution adopted by the embodiments of the present invention is to provide a device for updating firmware of a VCI device, which is applied to an automobile fault diagnostic apparatus, and the device includes:
连接模块,所述连接模块用于与VCI设备建立连接;其中,所述VCI设备 包括固件、操作系统以及启动管理,所述固件用于实现所述VCI设备所支持的通信协议和/或通信标准,所述操作系统用于管理所述VCI设备的产品型号以及当前固件的版本信息;A connection module configured to establish a connection with a VCI device; wherein the VCI device includes firmware, an operating system, and startup management, the firmware is used to implement a communication protocol and/or communication standard supported by the VCI device , The operating system is used to manage the product model of the VCI device and the version information of the current firmware;
获取模块,所述获取模块用于获取所述VCI设备的产品型号和当前固件的版本信息;An obtaining module, the obtaining module is used to obtain the product model of the VCI device and the version information of the current firmware;
确定模块,所述确定模块用于根据所述产品型号和所述当前固件的版本信息确定目标更新固件,以使所述VCI设备将所述当前固件更新为所述目标更新固件。A determination module, the determination module is configured to determine a target update firmware according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
可选地,所述连接模块还用于:Optionally, the connection module is also used to:
在与VCI设备建立连接之前,与服务器连接,所述服务器存储有第一固件;Before establishing a connection with the VCI device, connect with a server, the server storing the first firmware;
根据预设时间间隔从所述第一固件中确定与预设VCI型号对应的可更新固件,并将所述可更新固件存储为第二固件。Determine an updatable firmware corresponding to a preset VCI model from the first firmware according to a preset time interval, and store the updatable firmware as a second firmware.
可选地,所述连接模块还用于:Optionally, the connection module is also used to:
在根据所述产品型号和所述当前固件的版本信息确定目标更新固件之前,当与所述服务器连接时,从所述服务器获取与所述产品型号适配的第一固件的版本信息;Before determining the target update firmware according to the product model and the version information of the current firmware, when connected to the server, acquiring version information of the first firmware adapted to the product model from the server;
若根据所获取的所述第一固件的版本信息确定所述第一固件是所述产品型号适配的第二固件的更新版本、所述产品型号适配的第二固件不存在、所述产品型号适配的第二固件完整性校验不通过至少一项成立,则下载所述第一固件替换所述第二固件。If it is determined according to the acquired version information of the first firmware that the first firmware is an updated version of the second firmware adapted to the product model, the second firmware adapted to the product model does not exist, the product If the second firmware integrity check of the model adaptation fails at least one item, the first firmware is downloaded to replace the second firmware.
可选地,所述确定模块用于:Optionally, the determination module is used to:
根据所述产品型号确定与所述VCI设备适配的第二固件为待更新固件;Determining, according to the product model, that the second firmware adapted to the VCI device is the firmware to be updated;
根据所述当前固件的版本信息确定所述待更新固件是否是所述当前固件的更新版本;Determine whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware;
若是,则对所述待更新固件进行完整性校验,将校验通过的待更新固件确定为目标更新固件。If yes, perform an integrity check on the firmware to be updated, and determine the firmware to be updated that passed the verification as the target update firmware.
可选地,所述版本信息包括版本号,所述确定模块还用于:Optionally, the version information includes a version number, and the determination module is further used to:
根据预设版本号编号顺序比较所述当前固件的版本号和所述待更新固件的版本号;Comparing the version number of the current firmware with the version number of the firmware to be updated according to a preset version number number sequence;
若所述待更新固件的版本号的编号顺序大于所述当前固件的版本号的编号顺序,则确定所述待更新固件是所述当前固件的更新版本。If the number sequence of the version numbers of the firmware to be updated is greater than the number sequence of the version numbers of the current firmware, it is determined that the firmware to be updated is an updated version of the current firmware.
可选地,所述装置还包括:Optionally, the device further includes:
发送模块,所述发送模块用于向所述VCI设备发送固件更新命令,以使所述VCI设备切换到更新模式;以及,A sending module, the sending module is used to send a firmware update command to the VCI device to switch the VCI device to an update mode; and,
用于将所述目标更新固件发送至所述VCI设备,以使所述VCI设备对所述目标更新固件进行数据校验,校验通过则将所述当前固件更新为所述目标更新固件。It is used to send the target update firmware to the VCI device, so that the VCI device performs data verification on the target update firmware, and if the verification is passed, the current firmware is updated to the target update firmware.
可选地,所述连接模块还用于:Optionally, the connection module is also used to:
若所述VCI设备对所述目标更新固件数据校验不通过,则控制所述VCI设备中断更新,并提示中断原因。If the VCI device fails the verification of the target update firmware data, the VCI device is controlled to interrupt the update and prompt the cause of the interruption.
可选地,所述装置还包括:Optionally, the device further includes:
安全检查模块,所述安全检查模块用于根据所述当前固件的版本信息对所述当前固件进行安全检查,若所述安全检查不通过,则根据所述产品型号和所述当前固件的版本信息确定目标更新固件。A security check module, the security check module is configured to perform a security check on the current firmware according to the version information of the current firmware, and if the security check fails, then based on the product model and the version information of the current firmware Determine the target to update the firmware.
可选地,所述安全检查模块具体用于:Optionally, the security check module is specifically used for:
接收触发操作,所述触发操作包括待诊断功能;Receiving a trigger operation, the trigger operation includes a function to be diagnosed;
根据所述当前固件的版本信息确定所述当前固件是否能够满足所述待诊断功能,若否,则安全检查不通过。It is determined according to the version information of the current firmware whether the current firmware can satisfy the function to be diagnosed, and if not, the security check fails.
可选地,所述连接模块通过WiFi、USB或者蓝牙与所述VCI设备建立连接。Optionally, the connection module establishes a connection with the VCI device via WiFi, USB or Bluetooth.
为解决上述技术问题,本发明实施例采用的另一个技术方案是:提供一种汽车故障诊断仪,包括:In order to solve the above technical problems, another technical solution adopted by the embodiments of the present invention is to provide an automobile fault diagnostic instrument, including:
至少一个处理器;以及At least one processor; and
与所述至少一个处理器通信连接的存储器;A memory in communication connection with the at least one processor;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够用于执行以上所述的VCI设备固件更新的方法。Wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can be used to execute the VCI device firmware described above Update method.
为解决上述技术问题,本发明实施例采用的另一个技术方案是:提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使汽车故障诊断仪执行以上所述的VCI设备固件更新的方法。To solve the above technical problems, another technical solution adopted by the embodiments of the present invention is to provide a non-volatile computer-readable storage medium that stores computer-executable instructions. The computer-executable instructions are used to enable the automobile fault diagnostic apparatus to perform the method for updating the firmware of the VCI device described above.
本发明实施例的有益效果是:区别于现有技术的情况下,本发明实施例提供一种VCI设备固件更新的方法、装置及汽车故障诊断仪,在VCI设备固件更新的方法中,汽车故障诊断仪与VCI设备建立连接后,获取VCI设备的产品型号和当前固件的版本信息,并根据所获取的产品型号和当前固件的版本信息确定目标更新固件,使得汽车故障诊断仪能够实时确定比VCI设备中的当前固件更新的固件;当汽车故障诊断仪确定目标更新固件后,汽车故障诊断仪控制VCI设备将当前固件更新为目标更新固件,使得VCI设备中的固件能够实时进行更新,并且由于VCI设备中的固件用于实现VCI设备所支持的通信协议和/或通信标准,故将VCI设备中的固件实时进行更新时,VCI设备中的通信协议和/或通信标准也实时进行更新,使得VCI设备能够满足汽车故障诊断仪的诊断需求,提高汽车故障诊断仪的安全性。The beneficial effects of the embodiments of the present invention are: different from the prior art, the embodiments of the present invention provide a method and device for updating firmware of a VCI device and an automobile fault diagnostic instrument. In the method of updating firmware of a VCI device, the automobile malfunctions After the diagnostic instrument establishes a connection with the VCI device, it obtains the product model and current firmware version information of the VCI device, and determines the target update firmware according to the acquired product model and current firmware version information, so that the car fault diagnostic instrument can determine the VCI in real time. The firmware updated by the current firmware in the device; when the vehicle fault diagnosis instrument determines the target update firmware, the vehicle fault diagnosis instrument controls the VCI device to update the current firmware to the target update firmware, so that the firmware in the VCI device can be updated in real time, and because of the VCI The firmware in the device is used to implement the communication protocol and/or communication standard supported by the VCI device, so when the firmware in the VCI device is updated in real time, the communication protocol and/or communication standard in the VCI device is also updated in real time, making VCI The equipment can meet the diagnosis needs of automobile fault diagnosis instrument and improve the safety of automobile fault diagnosis instrument.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示 为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplary descriptions do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute a scale limitation.
图1是本发明一实施例提供的VCI设备固件更新方法的实施环境的结构示意图;1 is a schematic structural diagram of an implementation environment of a method for updating firmware of a VCI device according to an embodiment of the present invention;
图2是本发明一实施例提供的VCI设备固件更新的方法的流程示意图;2 is a schematic flowchart of a method for updating firmware of a VCI device according to an embodiment of the present invention;
图3是图2所示的VCI设备固件更新的方法步骤S800的流程示意图;FIG. 3 is a schematic flowchart of the method step S800 of updating the firmware of the VCI device shown in FIG. 2;
图4是本发明又一实施例提供的VCI设备固件更新的方法的流程示意图;4 is a schematic flowchart of a method for updating firmware of a VCI device according to another embodiment of the present invention;
图5是本发明又一实施例提供的VCI设备固件更新的方法的流程示意图;5 is a schematic flowchart of a method for updating firmware of a VCI device according to another embodiment of the present invention;
图6是本发明一实施例提供的VCI设备固件更新的装置的结构示意图;6 is a schematic structural diagram of an apparatus for updating firmware of a VCI device according to an embodiment of the present invention;
图7是本发明又一实施例提供的VCI设备固件更新的装置的结构示意图;7 is a schematic structural diagram of a device for updating firmware of a VCI device according to another embodiment of the present invention;
图8是本发明又一实施例提供的VCI设备固件更新的装置的结构示意图;8 is a schematic structural diagram of a device for updating firmware of a VCI device according to another embodiment of the present invention;
图9是本发明一实施例提供的一种汽车故障诊断仪的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an automobile fault diagnostic apparatus provided by an embodiment of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
需要说明的是,当元件被表述“固定于”另一个元件,它可以直接在另一个元件上、或者其间可以存在一个或多个居中的元件。当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。本说明书所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when an element is expressed as "fixed" to another element, it may be directly on the other element, or there may be one or more centered elements in between. When an element is expressed as "connecting" another element, it may be directly connected to the other element, or one or more centered elements may be present therebetween. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.
此外,下面所描述的本发明各个实施例中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the embodiments of the present invention described below can be combined with each other as long as there is no conflict with each other.
本发明提供了一种VCI设备固件更新的方法及装置,该方法及装置应用于汽车故障诊断仪,从而使得该汽车故障诊断仪在与VCI设备连接时,能够根据VCI设备的产品型号和当前固件的版本信息对VCI设备中的固件进行实时更新,以避免VCI设备中的固件所支持的通信协议和/或通信标准不满足汽车故障诊断仪的诊断需求而导致安全问题。其中,VCI设备即汽车通信接口(Vehicle Communication Interface)设备,其用于连接汽车故障诊断仪和汽车,完成汽车故障诊断仪和汽车之间的通信。The invention provides a method and a device for updating the firmware of a VCI device. The method and the device are applied to an automobile fault diagnostic instrument, so that when the automobile fault diagnostic instrument is connected to the VCI equipment, it can be based on the product model and current firmware of the VCI equipment The version information of the VCI device updates the firmware in the VCI device in real time, so as to avoid that the communication protocol and/or communication standard supported by the firmware in the VCI device does not meet the diagnostic requirements of the automobile fault diagnostic instrument and cause safety problems. Among them, the VCI device is a vehicle communication interface (Vehicle Communication Interface) device, which is used to connect the car fault diagnostic instrument and the car to complete the communication between the car fault diagnostic instrument and the car.
下面,将通过具体实施例对本发明进行具体阐述。In the following, the present invention will be described in detail through specific examples.
实施例一Example one
请参阅图1,是本发明其中一实施例提供的VCI设备固件更新方法的实施环境的结构示意图,该实施环境包括:服务器10、VCI设备20以及汽车故障诊断仪30。Please refer to FIG. 1, which is a schematic structural diagram of an implementation environment of a method for updating firmware of a VCI device according to an embodiment of the present invention. The implementation environment includes a
其中,服务器10存储有第一固件,该第一固件为可以运行于VCI设备20的固件,其包括VCI设备20能够运行的所有版本的固件,并且每个版本的固件均对应存储有版本信息。The
在本发明实施例中,第一固件的版本信息包括:版本号和适配的VCI设备型号等。其中,版本号由数字组成,其按照预设版本号编号顺序进行编排,版本号的编号顺序越大,则固件越新。比如:当预设版本号编号顺序为按照数字大小正序排列时,则数字越大的版本号的编号顺序越大,固件越新;当预设版本号编号顺序为按照数字大小倒序排列时,则数字越小的版本号的编号顺序越大,固件越新。In the embodiment of the present invention, the version information of the first firmware includes: a version number and an adapted VCI device model. Among them, the version number is composed of numbers, which are arranged according to the preset version number sequence, the greater the version number sequence, the newer the firmware. For example: when the preset version number sequence is arranged in positive order according to the number size, the larger the number, the larger the number sequence, the newer the firmware; when the preset version number sequence is arranged in reverse order, according to the number size, The smaller the number, the greater the number sequence of the version number, and the newer the firmware.
该服务器10可以是一台服务器,也可以是由若干台服务器组成的服务器集群,或者,也可以是一个云计算服务中心。The
VCI设备20则包括启动管理21、固件22以及操作系统23。
其中,启动管理21用于完成VCI设备20的启动管理工作。Among them, the startup management 21 is used to complete the startup management of the
固件22则用于实现VCI设备20所支持的通信协议和/或通信标准,通过对固件22进行更新,实现对通信协议和/或通信标准的更新。The firmware 22 is used to implement the communication protocol and/or communication standard supported by the
操作系统23则用于管理VCI设备20的产品型号以及当前固件的版本信息。其中,当前固件的版本信息即VCI设备20正在运行的固件22的版本信息,该当前固件的版本信息包括版本号以及适配的VCI设备型号等。当固件22进行更新时,当前固件的版本信息也随着固件22的更新进行适应性更新。The operating system 23 is used to manage the product model of the
汽车故障诊断仪30则为用于汽车故障检查的工具,通过VCI设备与汽车进行连接,能够实现多种汽车诊断功能。The car
该汽车故障诊断仪30位于用户一侧,用于与用户进行交互。在该汽车故障诊断仪30中,设置有一个或者多个输入/输出设备,例如:显示屏、按钮、触控屏幕等,其通过输入/输出设备向用户显示能够提供的诊断功能,用户通过在输入/输出设备上对待诊断功能进行触发操作,就能使得汽车故障诊断仪30接收到包括待诊断功能的触发操作。其中,触发操作可以为点击、双击、按压、滑动、长按等动作指令。The car
在汽车故障诊断仪30中存储有诊断功能与固件版本号的关系对照表。由于所有版本的固件都是向前兼容的,只要某一版本的固件能够支持某一诊断功能,则后续版本的固件均能够支持该诊断功能,故诊断功能与固件版本号的关系对照表中,诊断功能对应的固件版本号为能够实现该诊断功能的最小版本号。此时,汽车故障诊断仪30通过接收到的待诊断功能和VCI设备20中的当前固件的版本信息就能确定VCI设备20中的当前固件能否满足待诊断功能。In the automobile
在汽车故障诊断仪30中存储有第二固件,该第二固件为可以运行于VCI设备20的固件,其包括每种型号的VCI设备20能够运行的最新版本的固件,每种型号的VCI设备20能够运行的最新版本的固件有且只有一个,即有多少种型号的VCI设备20,就有多少个固件。A second firmware is stored in the automobile
其中,汽车故障诊断仪30通过与服务器10连接,将服务器10中每种型 号的VCI设备20能够运行的最新版本的第一固件下载后存储为第二固件。Wherein, the automobile fault
而汽车故障诊断仪30若要对VCI设备20中的固件进行更新,则需要与VCI设备20连接。If the vehicle
基于此,在汽车故障诊断仪30执行的VCI设备固件更新的方法中,为了防止在对VCI设备20中的固件进行更新的过程中,还要花费时间临时联网从服务器10中获取可更新固件,汽车故障诊断仪30在与VCI设备20连接之前,先联网与服务器10连接,根据预设时间间隔从服务器10存储的第一固件中确定与预设VCI型号对应的可更新固件,并将所确定的可更新固件存储为第二固件,使得汽车故障诊断仪30在对VCI设备20中的固件进行更新时,能够从第二固件中确定用于对VCI设备20中的固件进行更新的固件,缩短更新时间,提高效率。Based on this, in the method of updating the firmware of the VCI device performed by the automobile fault
其中,预设时间间隔为预先设置的查询间隔,表征汽车故障诊断仪30查询服务器10的频率。根据预设时间间隔查询服务器10中是否存在可更新固件,能够防止汽车故障诊断仪30出现漏检的情况。Wherein, the preset time interval is a preset query interval, which represents the frequency with which the automobile fault
预设VCI型号则为预先设置的所有VCI设备的产品型号。基于此,确定与预设VCI型号对应的可更新固件,即确定每个型号的VCI设备对应的可更新固件。比如:预设VCI型号包括A型、B型,则确定与预设VCI型号对应的可更新固件时,需要分别确定A型VCI设备对应的可更新固件以及B型VCI设备对应的可更新固件。The preset VCI model is the product model of all VCI devices preset. Based on this, the updateable firmware corresponding to the preset VCI model is determined, that is, the updateable firmware corresponding to each model of the VCI device is determined. For example, if the preset VCI models include Type A and Type B, when determining the updateable firmware corresponding to the preset VCI model, it is necessary to separately determine the updateable firmware corresponding to the Type A VCI device and the updateable firmware corresponding to the Type B VCI device.
其中,从服务器10存储的第一固件中确定与预设VCI型号对应的可更新固件时,汽车故障诊断仪30根据每个预设VCI型号分别确定适配的第一固件后,将每个预设VCI型号所确定的第一固件中版本号的编号顺序最大的第一固件确定为每个预设VCI型号的可更新固件。比如:汽车故障诊断仪30确定适配A型VCI设备的第一固件为固件1和固件2,确定适配B型VCI设备的第一固件为固件1,其中,固件1的版本号为1,固件2的版本号为2,而版本号的编号顺序为按照数字大小正序排列,则在A型VCI设备中,固件2的版本号的编号顺序最大,将固件2确定为A型VCI设备的可更新固件;在B型VCI设备中,固件1的版本号的编号顺序最大,将固件1确定为B型VCI设备的可更新固件。When the updateable firmware corresponding to the preset VCI model is determined from the first firmware stored in the
进一步地,汽车故障诊断仪30在将可更新固件存储为第二固件后,若与VCI设备20建立连接,则汽车故障诊断仪30获取VCI设备20的产品型号和当前固件的版本信息。Further, after storing the updatable firmware as the second firmware, the automobile fault
其中,汽车故障诊断仪30通过WiFi、USB或者蓝牙与VCI设备20建立连接,汽车故障诊断仪30只能通过一种方式与VCI设备20连接。Among them, the automobile fault
当通过蓝牙或者WiFi与VCI设备20连接时,VCI设备20的蓝牙名称或者WiFi的SSID具有与其他无线设备区分开来的特征,故汽车故障诊断仪30获取蓝牙名称或者WiFi的SSID后,根据蓝牙名称或者WiFi的SSID确定VCI设备20,并自动与所确定的VCI设备20进行密码校验,建立连接。When connecting to the
汽车故障诊断仪30在与VCI设备20连接成功后,对所连接的VCI设备20的蓝牙名称或者WiFi的SSID进行存储,使得汽车故障诊断仪30再次识别到存储的蓝牙名称或者WiFi的SSID后,与蓝牙名称或者WiFi的SSID对应的VCI设备20自动恢复连接,提高汽车故障诊断仪30与VCI设备20的连接速度。After successfully connecting with the
当通过USB与VCI设备20连接时,汽车故障诊断仪30检测VCI设备20的PID和VID,并根据PID和VID运行USB驱动程序,建立连接。When connected to the
在一些实施例中,能够对汽车故障诊断仪30与VCI设备20的连接方式设置优先级,优选地,基于传输速率和稳定性,将USB连接设置最高优先级,WiFi和蓝牙连接设置相同优先级。In some embodiments, it is possible to set the priority of the connection method between the car fault
进一步地,汽车故障诊断仪30获取VCI设备20的产品型号和当前固件的版本信息后,若再次与服务器10连接,则汽车故障诊断仪30从服务器10获取与产品型号适配的第一固件的版本信息。Further, after obtaining the product model of the
其中,若第一固件中适配的VCI设备型号包括汽车故障诊断仪30从VCI设备20所获取的产品型号时,则确定该第一固件为与产品型号适配的第一固件。比如:汽车故障诊断仪30获取的VCI设备20的产品型号为C型,而固件1适配的VCI设备型号为B型和C型,此时,固件1适配的VCI设备型号包括产品型号C型,则确定固件1为与产品型号适配的第一固件。Wherein, if the model of the VCI device adapted in the first firmware includes the product model acquired by the automobile fault
当确定与产品型号适配的第一固件为多个时,汽车故障诊断仪30获取版本号的编号顺序最大的第一固件的版本信息。When it is determined that there are a plurality of first firmwares adapted to the product model, the automobile fault
进一步地,汽车故障诊断仪30获取所确定的第一固件的版本信息后,若根据所获取的第一固件的版本信息确定第一固件是产品型号适配的第二固件的更新版本、产品型号适配的第二固件不存在、产品型号适配的第二固件完整性校验不通过至少一项成立,则下载该第一固件替换与产品型号适配的第二固件,使得汽车故障诊断仪30中的第二固件能保持最新版本。Further, after acquiring the determined version information of the first firmware, the automobile
其中,若第二固件中适配的VCI设备型号包括汽车故障诊断仪30从VCI设备20所获取的产品型号时,则确定该第二固件为与产品型号适配的第二固件,该确定的与产品型号适配的第二固件能够通过校验码来校验其完整性。Wherein, if the model of the VCI device adapted in the second firmware includes the product model acquired by the vehicle fault
此时,将所获取的第一固件的版本号与产品型号适配的第二固件的版本号进行比较,若第一固件的版本号的编号顺序大于第二固件的版本号的编号顺序,则确定第一固件是第二固件的更新版本。At this time, the obtained version number of the first firmware is compared with the version number of the second firmware adapted to the product model. If the number sequence of the first firmware version number is greater than the number sequence of the second firmware version number, It is determined that the first firmware is an updated version of the second firmware.
若第二固件中适配的VCI设备型号不包括汽车故障诊断仪30从VCI设备20所获取的产品型号时,则确定产品型号适配的第二固件不存在。If the model of the VCI device adapted in the second firmware does not include the product model acquired by the vehicle fault
进一步地,汽车故障诊断仪30下载第一固件替换第二固件后,根据产品型号和当前固件的版本信息确定目标更新固件。Further, after downloading the first firmware to replace the second firmware, the car fault
具体地,汽车故障诊断仪30根据产品型号确定与VCI设备20适配的第二固件为待更新固件,然后根据当前固件的版本信息确定待更新固件是否是当前固件的更新版本。Specifically, the car
其中,汽车故障诊断仪30根据产品型号确定与VCI设备20适配的第二固件为待更新固件时,将适配的VCI设备型号包括产品型号的第二固件确定为与VCI设备适配的待更新固件。在汽车故障诊断仪30中,每种产品型号的VCI设备20适配的第二固件有且只有一个。Wherein, when the car
其中,根据当前固件的版本信息确定待更新固件是否是当前固件的更新版本,包括:根据预设版本编号顺序比较当前固件的版本号和待更新固件的版本号;确定待更新固件的版本号的编号顺序是否大于当前固件的版本号的编号顺序。Among them, determining whether the firmware to be updated is the updated version of the current firmware according to the version information of the current firmware includes: comparing the version number of the current firmware with the version number of the firmware to be updated according to a preset version number sequence; determining the version number of the firmware to be updated Whether the number sequence is greater than the number sequence of the current firmware version number.
若待更新固件的版本号的编号顺序大于当前固件的版本号的编号顺序,则确定待更新固件是当前固件的更新版本,此时,汽车故障诊断仪30对待更新固件进行完整性校验,将校验通过的待更新固件确定为目标更新固件。If the numbering sequence of the version numbers of the firmware to be updated is greater than the numbering sequence of the version numbers of the current firmware, it is determined that the firmware to be updated is the updated version of the current firmware. The firmware to be updated passed the verification is determined to be the target firmware to be updated.
进一步地,汽车故障诊断仪30确定目标更新固件后,使VCI设备将当前固件更新为目标更新固件。Further, after the vehicle
具体地,汽车故障诊断仪30向VCI设备20发送固件更新命令,以使VCI设备20切换到更新模式;然后将确定的目标更新固件发送至VCI设备,以使VCI设备对目标更新固件进行数据校验,校验通过则将当前固件更新为目标更新固件;若校验不通过,则控制VCI设备中断更新,并提示中断原因,以使用户根据中断原因对汽车故障诊断仪30进行调整,以重新更新VCI设备中的固件。Specifically, the car
其中,VCI设备20切换到更新模式时,停止所有与汽车通信相关的业务。When the
VCI设备20通过校验码对目标更新固件进行数据校验。The
进一步地,在其他一些实施例中,汽车故障诊断仪30还能够根据所获取的当前固件的版本信息对VCI设备20中的当前固件进行安全检查。Further, in some other embodiments, the automobile fault
其中,汽车故障诊断仪30根据所获取的当前固件的版本信息对VCI设备20中的当前固件进行安全检查,具体包括:汽车故障诊断仪30接收包括待诊断功能的触发操作后,根据所获取的当前固件的版本信息确定VCI设备20中的当前固件是否能够满足待诊断功能。Wherein, the automobile
其中,根据所获取的当前固件的版本信息确定VCI设备20中的当前固件是否能够满足待诊断功能包括:汽车故障诊断仪30根据诊断功能与固件版本号的关系对照表确定接收到的待诊断功能对应的固件版本号;比较当前固件的版本号与根据待诊断功能确定的固件版本号,若当前固件的版本号的编号顺序不小于根据待诊断功能确定的固件版本号,则确定VCI设备20中的当前固件能够满足待诊断功能;否则,则确定VCI设备20中的当前固件不能满足待诊断功能。Wherein, determining whether the current firmware in the
若VCI设备20中的当前固件不能满足待诊断功能,则确定安全检查不通过,此时,汽车故障诊断仪30根据产品型号和当前固件的版本信息确定目标更新固件。If the current firmware in the
在该实施例中,汽车故障诊断仪30根据产品型号和当前固件的版本信息 确定目标更新固件时,汽车故障诊断仪30根据产品型号确定与VCI设备20适配的第二固件为待更新固件,然后根据当前固件的版本信息确定待更新固件是否是当前固件的更新版本;若确定待更新固件是当前固件的更新版本,则确定待更新固件的版本号的编号顺序是否不小于根据待诊断功能确定的固件版本号,若是,则对待更新固件进行完整性校验,并将校验通过的待更新固件确定为目标更新固件;若否,则与服务器10连接,根据固件版本号和产品型号在服务器10的第一固件中确定目标更新固件。In this embodiment, when the car fault
在本发明实施例中,汽车故障诊断仪在与VCI设备连接时,能够根据VCI设备的产品型号和当前固件的版本信息对VCI设备中的固件进行实时更新,进而对VCI设备中的通信协议和/或通信标准也实时进行更新,使得VCI设备能够满足汽车故障诊断仪的诊断需求,提高汽车故障诊断仪的安全性。In the embodiment of the present invention, when the vehicle fault diagnostic instrument is connected to the VCI device, it can update the firmware in the VCI device in real time according to the product model of the VCI device and the current firmware version information, and then the communication protocol and /Or communication standards are also updated in real time, so that VCI equipment can meet the diagnostic needs of automotive fault diagnostics, and improve the safety of automotive fault diagnostics.
实施例二Example 2
请参阅图2,是本发明其中一实施例提供的一种VCI设备固件更新的方法的流程示意图,应用于汽车故障诊断仪,该汽车故障诊断仪为上述实施例中所述的汽车故障诊断仪30,该VCI设备固件更新方法包括:Please refer to FIG. 2, which is a schematic flow chart of a method for updating firmware of a VCI device according to an embodiment of the present invention, which is applied to a car fault diagnostic instrument. The car fault diagnostic instrument is the car fault diagnostic instrument described in the
S100:与服务器连接。S100: Connect to the server.
在本发明实施例中,服务器存储有第一固件,该第一固件为可以运行于VCI设备的固件,其包括VCI设备能够运行的所有版本的固件,并且每个版本的固件均对应存储有版本信息。In the embodiment of the present invention, the server stores the first firmware, and the first firmware is firmware that can run on the VCI device, which includes all versions of the firmware that the VCI device can run, and each version of the firmware correspondingly stores a version information.
第一固件的版本信息包括:版本号和适配的VCI设备型号等。其中,版本号由数字组成,其按照预设版本号编号顺序进行编排,版本号的编号顺序越大,则固件越新。比如:当预设版本号编号顺序为按照数字大小正序排列时,则数字越大的版本号的编号顺序越大,固件越新;当预设版本号编号顺序为按照数字大小倒序排列时,则数字越小的版本号的编号顺序越大,固件越新。The version information of the first firmware includes: a version number and an adapted VCI device model. Among them, the version number is composed of numbers, which are arranged according to the preset version number sequence, the greater the version number sequence, the newer the firmware. For example: when the preset version number sequence is arranged in positive order according to the number size, the larger the number, the larger the number sequence, the newer the firmware; when the preset version number sequence is arranged in reverse order, according to the number size, The smaller the number, the greater the number sequence of the version number, and the newer the firmware.
为了防止在对VCI设备中的固件进行更新的过程中,还要花费时间临时联网从服务器中获取可更新固件,汽车故障诊断仪在与VCI设备连接之前,先通过无线局域网与服务器连接,以将服务器中的可更新固件事先存储于本地,缩短对VCI设备进行更新的时间,提高效率。In order to prevent the process of updating the firmware in the VCI device, it also takes time to temporarily connect to the server to obtain the updateable firmware from the server. Before connecting the vehicle diagnostic tool to the VCI device, first connect it to the server through the wireless LAN to connect The updateable firmware in the server is stored locally in advance, shortening the time to update the VCI device and improving efficiency.
S200:根据预设时间间隔从所述第一固件中确定与预设VCI型号对应的可更新固件,并将所述可更新固件存储为第二固件。S200: Determine an updateable firmware corresponding to a preset VCI model from the first firmware according to a preset time interval, and store the updateable firmware as the second firmware.
其中,预设时间间隔为预先设置的查询间隔,表征汽车故障诊断仪查询服务器的频率。根据预设时间间隔查询服务器中是否存在可更新固件,能够防止汽车故障诊断仪出现漏检的情况。Among them, the preset time interval is a preset query interval, which represents the frequency of querying the server by the automobile fault diagnosis instrument. Querying whether there is updateable firmware in the server according to the preset time interval can prevent the car fault diagnostic instrument from missing detection.
预设VCI型号则为预先设置的所有VCI设备的产品型号。基于此,确定与预设VCI型号对应的可更新固件,即确定每个型号的VCI设备对应的可更新固件。比如:预设VCI型号包括A型、B型,则确定与预设VCI型号对应的可更新固件时,需要分别确定A型VCI设备对应的可更新固件以及B型VCI设备对应的可更新固件。The preset VCI model is the product model of all VCI devices preset. Based on this, the updateable firmware corresponding to the preset VCI model is determined, that is, the updateable firmware corresponding to each model of the VCI device is determined. For example, if the preset VCI models include Type A and Type B, when determining the updateable firmware corresponding to the preset VCI model, it is necessary to separately determine the updateable firmware corresponding to the Type A VCI device and the updateable firmware corresponding to the Type B VCI device.
其中,从服务器存储的第一固件中确定与预设VCI型号对应的可更新固件时,汽车故障诊断仪根据每个预设VCI型号分别确定适配的第一固件后,将每个预设VCI型号所确定的第一固件中版本号的编号顺序最大的第一固件确定为每个预设VCI型号的可更新固件。比如:汽车故障诊断仪确定适配A型VCI设备的第一固件为固件1和固件2,确定适配B型VCI设备的第一固件为固件1,其中,固件1的版本号为1,固件2的版本号为2,而版本号的编号顺序为按照数字大小正序排列,则在A型VCI设备中,固件2的版本号的编号顺序最大,将固件2确定为A型VCI设备的可更新固件;在B型VCI设备中,固件1的版本号的编号顺序最大,将固件1确定为B型VCI设备的可更新固件。Wherein, when the updateable firmware corresponding to the preset VCI model is determined from the first firmware stored in the server, the car fault diagnostic instrument determines the adapted first firmware according to each preset VCI model, and then sets each preset VCI The first firmware with the largest number sequence of the version numbers in the first firmware determined by the model is determined as the updatable firmware for each preset VCI model. For example, the car fault diagnostic apparatus determines that the first firmware for the A-type VCI device is firmware 1 and
汽车故障诊断仪确定可更新固件后,将所确定的可更新固件存储为第二固件,该第二固件为可以运行于VCI设备的固件,其包括每种型号的VCI设备能够运行的最新版本的固件。在汽车故障诊断仪中,每种型号的VCI设备能够运行的最新版本的固件有且只有一个,即有多少种型号的VCI设备就有多少个第二固件。After the vehicle fault diagnosis instrument determines the updatable firmware, the determined updatable firmware is stored as the second firmware, and the second firmware is the firmware that can run on the VCI device, which includes the latest version of each model of the VCI device that can run firmware. In the automobile fault diagnosis apparatus, each type of VCI device can run the latest version of firmware with only one, that is, as many types of VCI devices as there are as many second firmwares.
汽车故障诊断仪在对VCI设备中的固件进行更新时,能够从第二固件中确定用于对VCI设备进行更新的固件,缩短更新时间,提高效率。When updating the firmware in the VCI device, the automobile fault diagnosis instrument can determine the firmware for updating the VCI device from the second firmware, shorten the update time, and improve the efficiency.
S300:与VCI设备建立连接。S300: Establish a connection with the VCI device.
在本发明实施例中,VCI设备包括固件、操作系统以及启动管理。In the embodiment of the present invention, the VCI device includes firmware, an operating system, and boot management.
启动管理用于完成VCI设备的启动管理工作。Startup management is used to complete the startup management of VCI equipment.
固件用于实现VCI设备所支持的通信协议和/或通信标准,通过对固件进行更新,实现对通信协议和/或通信标准的更新。The firmware is used to implement the communication protocol and/or communication standard supported by the VCI device. By updating the firmware, the communication protocol and/or communication standard is updated.
操作系统用于管理VCI设备的产品型号以及当前固件的版本信息。其中,当前固件的版本信息即VCI设备正在运行的固件的版本信息,该当前固件的版本信息包括版本号以及适配的VCI设备型号等。当固件进行更新时,当前固件的版本信息也随着固件的更新进行适应性更新。The operating system is used to manage the product model of the VCI device and the current firmware version information. The version information of the current firmware is the version information of the firmware that the VCI device is running. The version information of the current firmware includes the version number and the model of the adapted VCI device. When the firmware is updated, the current firmware version information is also adaptively updated with the firmware update.
汽车故障诊断仪通过与VCI设备连接对VCI设备中的固件进行更新。其中,汽车故障诊断仪能够通过WiFi、USB或者蓝牙与VCI设备建立连接,其只能通过其中一种方式与VCI设备连接。The car fault diagnosis instrument updates the firmware in the VCI device by connecting with the VCI device. Among them, the car fault diagnosis instrument can establish a connection with the VCI device through WiFi, USB or Bluetooth, and it can only be connected to the VCI device through one of the methods.
当通过蓝牙或者WiFi与VCI设备连接时,VCI设备的蓝牙名称或者WiFi的SSID具有与其他无线设备区分开来的特征,故汽车故障诊断仪获取蓝牙名称或者WiFi的SSID后,根据蓝牙名称或者WiFi的SSID确定VCI设备,并自动与所确定的VCI设备进行密码校验,建立连接。When connecting to a VCI device via Bluetooth or WiFi, the Bluetooth name of the VCI device or the SSID of the WiFi has a characteristic that distinguishes it from other wireless devices, so after obtaining the Bluetooth name or the SSID of the WiFi, the car fault diagnosis instrument, according to the Bluetooth name or the WiFi The SSID determines the VCI device, and automatically performs password verification with the determined VCI device to establish a connection.
汽车故障诊断仪在与VCI设备连接成功后,对所连接的VCI设备的蓝牙名称或者WiFi的SSID进行存储,使得汽车故障诊断仪再次识别到存储的蓝牙名称或者WiFi的SSID后,与蓝牙名称或者WiFi的SSID对应的VCI设备自动恢复连接,提高汽车故障诊断仪与VCI设备的连接速度。After successfully connecting with the VCI device, the car fault diagnostic device stores the Bluetooth name or SSID of the connected VCI device, so that the car fault diagnostic device recognizes the stored Bluetooth name or WiFi SSID again, and then The VCI device corresponding to the SSID of WiFi automatically restores the connection, improving the connection speed between the car fault diagnostic instrument and the VCI device.
当通过USB与VCI设备连接时,汽车故障诊断仪检测VCI设备的PID和VID,并根据PID和VID运行USB驱动程序,建立连接。When connecting with a VCI device via USB, the car fault diagnostic instrument detects the PID and VID of the VCI device, and runs a USB driver according to the PID and VID to establish a connection.
在一些实施例中,能够对汽车故障诊断仪与VCI设备的连接方式设置优先级,优选地,基于传输速率和稳定性,将USB连接设置最高优先级,WiFi和蓝牙连接设置相同优先级。In some embodiments, a priority can be set for the connection method between the car fault diagnostic instrument and the VCI device. Preferably, based on the transmission rate and stability, the USB connection is set to the highest priority, and the WiFi and Bluetooth connections are set to the same priority.
S400:获取所述VCI设备的产品型号和当前固件的版本信息。S400: Obtain the product model and current firmware version information of the VCI device.
汽车故障诊断仪从VCI设备的操作系统中获取VCI设备的产品型号和VCI设备当前运行的固件的版本信息。The car fault diagnosis instrument obtains the product model of the VCI device and the version information of the currently running firmware of the VCI device from the operating system of the VCI device.
S800:根据所述产品型号和所述当前固件的版本信息确定目标更新固件,以使所述VCI设备将所述当前固件更新为所述目标更新固件。S800: Determine a target update firmware according to the product model and the version information of the current firmware, so that the VCI device updates the current firmware to the target update firmware.
请参阅图3,根据产品型号和当前固件的版本信息确定目标更新固件具体包括:Please refer to FIG. 3, the target update firmware according to the product model and the current firmware version information specifically includes:
S810:根据所述产品型号确定与所述VCI设备适配的第二固件为待更新固件。S810: Determine, according to the product model, that the second firmware adapted to the VCI device is firmware to be updated.
将适配的VCI设备型号包括产品型号的第二固件确定为与VCI设备适配的待更新固件。比如:VCI设备的产品型号为C型,而固件1适配的VCI设备型号为B型和C型,此时,固件1适配的VCI设备型号包括产品型号C型,则确定固件1为与VCI设备适配的待更新固件。The second firmware of the adapted VCI device model including the product model is determined as the firmware to be updated adapted to the VCI device. For example: the product model of the VCI device is type C, and the model of the VCI device adapted by firmware 1 is type B and C. At this time, the model of the VCI device adapted by firmware 1 includes the product model C, then determine that firmware 1 is The firmware to be updated adapted to the VCI device.
S820:根据所述当前固件的版本信息确定所述待更新固件是否是所述当前固件的更新版本,若是,则转步骤S830。S820: Determine whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware, and if yes, go to step S830.
具体地,根据预设版本号编号顺序比较当前固件的版本号和待更新固件的版本号;若待更新固件的版本号的编号顺序大于当前固件的版本号的编号顺序,则确定待更新固件是当前固件的更新版本。Specifically, the version number of the current firmware and the version number of the firmware to be updated are compared according to the preset version number sequence; if the number sequence of the version number of the firmware to be updated is greater than the number sequence of the version number of the current firmware, it is determined that the firmware to be updated is The updated version of the current firmware.
S830:对所述待更新固件进行完整性校验,将校验通过的待更新固件确定为目标更新固件。S830: Perform an integrity check on the firmware to be updated, and determine the firmware to be updated that passes the verification as the target firmware to be updated.
通过校验码来校验待更新固件的完整性。Check the integrity of the firmware to be updated through the check code.
进一步地,使VCI设备将当前固件更新为目标更新固件则具体包括:向VCI设备发送固件更新命令,以使VCI设备切换到更新模式;将目标更新固件发送至VCI设备,以使VCI设备对目标更新固件进行数据校验,校验通过则将当前固件更新为目标更新固件;若VCI设备对目标更新固件数据校验不通过,控制VCI设备中断更新,并提示中断原因。Further, causing the VCI device to update the current firmware to the target update firmware specifically includes: sending a firmware update command to the VCI device to switch the VCI device to the update mode; sending the target update firmware to the VCI device to make the VCI device target the target Update the firmware to verify the data. If the verification passes, the current firmware is updated to the target update firmware; if the VCI device fails to verify the target update firmware data, the VCI device is controlled to interrupt the update and prompt the reason for the interruption.
其中,VCI设备切换到更新模式时,停止所有与汽车通信相关的业务。Among them, when the VCI device is switched to the update mode, all services related to automobile communication are stopped.
VCI设备通过校验码对目标更新固件进行数据校验。The VCI device performs data verification on the target update firmware through the verification code.
请参阅图4,在其他一些实施例中,为了使汽车故障诊断仪中的第二固件能够保持最新版本,步骤S800之前还包括:Please refer to FIG. 4. In some other embodiments, in order to keep the second firmware in the automobile fault diagnosis instrument up to date, before step S800, the method further includes:
S500:当与所述服务器连接时,从所述服务器获取与所述产品型号适配的第一固件的版本信息。S500: When connected to the server, obtain version information of the first firmware adapted to the product model from the server.
其中,若第一固件中适配的VCI设备型号包括汽车故障诊断仪从VCI设备所获取的产品型号时,则确定该第一固件为与产品型号适配的第一固件。比如:汽车故障诊断仪获取的VCI设备的产品型号为C型,而固件1适配的VCI设备 型号为B型和C型,此时,固件1适配的VCI设备型号包括产品型号C型,则确定固件1为与产品型号适配的第一固件。Wherein, if the model of the VCI device adapted in the first firmware includes the product model acquired by the vehicle fault diagnostic instrument from the VCI device, it is determined that the first firmware is the first firmware that is adapted to the product model. For example, the product model of the VCI device obtained by the automobile fault diagnosis instrument is type C, and the model of the VCI device adapted by firmware 1 is type B and type C. At this time, the model of the VCI device adapted by firmware 1 includes the product model C. Then it is determined that the firmware 1 is the first firmware adapted to the product model.
当确定与产品型号适配的第一固件为多个时,汽车故障诊断仪获取版本号的编号顺序最大的第一固件的版本信息。When it is determined that there are a plurality of first firmwares adapted to the product model, the automobile fault diagnostic apparatus acquires the version information of the first firmware with the largest number sequence of version numbers.
S600:若根据所获取的所述第一固件的版本信息确定所述第一固件是所述产品型号适配的第二固件的更新版本、所述产品型号适配的第二固件不存在、所述产品型号适配的第二固件完整性校验不通过至少一项成立,则下载所述第一固件替换所述第二固件。S600: If it is determined according to the acquired version information of the first firmware that the first firmware is an updated version of the second firmware adapted to the product model, the second firmware adapted to the product model does not exist, all If the second firmware integrity check adapted to the product model fails at least one item, then download the first firmware to replace the second firmware.
其中,若第二固件中适配的VCI设备型号包括汽车故障诊断仪从VCI设备所获取的产品型号时,则确定该第二固件为与产品型号适配的第二固件,该确定的与产品型号适配的第二固件能够通过校验码来校验其完整性。Wherein, if the model of the adapted VCI device in the second firmware includes the model of the product obtained from the VCI device by the automobile fault diagnostic apparatus, it is determined that the second firmware is the second firmware adapted to the model of the product. The model-matched second firmware can verify its integrity through the verification code.
此时,将所获取的第一固件的版本号与产品型号适配的第二固件的版本号进行比较,若第一固件的版本号的编号顺序大于第二固件的版本号的编号顺序,则确定第一固件是第二固件的更新版本。At this time, the obtained version number of the first firmware is compared with the version number of the second firmware adapted to the product model. If the number sequence of the first firmware version number is greater than the number sequence of the second firmware version number, It is determined that the first firmware is an updated version of the second firmware.
若第二固件中适配的VCI设备型号不包括汽车故障诊断仪从VCI设备所获取的产品型号时,则确定产品型号适配的第二固件不存在。If the model of the VCI device adapted in the second firmware does not include the product model obtained by the vehicle fault diagnosis instrument from the VCI device, it is determined that the second firmware adapted to the product model does not exist.
请参阅图5,在其他一些实施例中,步骤S800之前还包括:Referring to FIG. 5, in some other embodiments, before step S800, the method further includes:
S700:根据所述当前固件的版本信息对所述当前固件进行安全检查,若所述安全检查不通过,则根据所述产品型号和所述当前固件的版本信息确定目标更新固件。S700: Perform a security check on the current firmware according to the version information of the current firmware, and if the security check fails, determine a target update firmware according to the product model and the version information of the current firmware.
其中,汽车故障诊断仪根据所获取的当前固件的版本信息对VCI设备中的当前固件进行安全检查,具体包括:汽车故障诊断仪接收包括待诊断功能的触发操作后,根据所获取的当前固件的版本信息确定VCI设备中的当前固件是否能够满足待诊断功能。Among them, the car fault diagnosis instrument performs a safety check on the current firmware in the VCI device according to the obtained version information of the current firmware, which specifically includes: after the car fault diagnosis instrument receives the trigger operation including the function to be diagnosed, according to the acquired current firmware The version information determines whether the current firmware in the VCI device can satisfy the function to be diagnosed.
汽车故障诊断仪通过输入/输出设备向用户显示能够提供的诊断功能,用户通过在输入/输出设备上对待诊断功能进行触发操作,就能使得汽车故障诊断仪接收到包括待诊断功能的触发操作。其中,触发操作可以为点击、双击、按压、滑动、长按等动作指令。The automobile fault diagnosis instrument displays the diagnosis function that can be provided to the user through the input/output device. By triggering the operation to be diagnosed on the input/output device, the user can make the automobile malfunction diagnosis instrument receive the trigger operation including the function to be diagnosed. Among them, the trigger operation may be an action instruction such as clicking, double-clicking, pressing, sliding, and long-pressing.
其中,根据所获取的当前固件的版本信息确定VCI设备中的当前固件是否能够满足待诊断功能包括:汽车故障诊断仪根据诊断功能与固件版本号的关系对照表确定接收到的待诊断功能对应的固件版本号;比较当前固件的版本号与根据待诊断功能确定的固件版本号,若当前固件的版本号的编号顺序不小于根据待诊断功能确定的固件版本号,则确定VCI设备中的当前固件能够满足待诊断功能;否则,则确定VCI设备中的当前固件不能满足待诊断功能。Wherein, determining whether the current firmware in the VCI device can meet the function to be diagnosed according to the obtained version information of the current firmware includes: the car fault diagnosis instrument determines the corresponding function of the received function to be diagnosed according to the relationship table between the diagnosis function and the firmware version number Firmware version number; compare the current firmware version number with the firmware version number determined according to the function to be diagnosed, if the sequence number of the current firmware version number is not less than the firmware version number determined according to the function to be diagnosed, determine the current firmware in the VCI device It can satisfy the function to be diagnosed; otherwise, it is determined that the current firmware in the VCI device cannot satisfy the function to be diagnosed.
其中,诊断功能与固件版本号的关系对照表为预先存储于汽车故障诊断仪中的诊断功能与固件版本号的对应关系。由于所有版本的固件都是向前兼容的,只要某一版本的固件能够支持某一诊断功能,后续版本的固件均能够支持该诊断功能,故在诊断功能与固件版本号的关系对照表中,诊断功能对应的固 件版本号为能够实现该诊断功能的最小固件的版本号。Among them, the comparison table of the relationship between the diagnosis function and the firmware version number is the correspondence relationship between the diagnosis function and the firmware version number pre-stored in the automobile fault diagnosis apparatus. Since all versions of the firmware are forward compatible, as long as a certain version of the firmware can support a certain diagnostic function, subsequent versions of the firmware can support this diagnostic function, so in the relationship between the diagnostic function and the firmware version number in the comparison table, The firmware version number corresponding to the diagnosis function is the version number of the smallest firmware that can realize the diagnosis function.
若VCI设备中的当前固件不能满足待诊断功能,则确定安全检查不通过,此时,汽车故障诊断仪根据产品型号和当前固件的版本信息确定目标更新固件。If the current firmware in the VCI device cannot satisfy the function to be diagnosed, it is determined that the safety check fails. At this time, the car fault diagnosis instrument determines the target update firmware based on the product model and the current firmware version information.
在该实施例中,汽车故障诊断仪根据产品型号和当前固件的版本信息确定目标更新固件时,汽车故障诊断仪根据产品型号确定与VCI设备适配的第二固件为待更新固件,然后根据当前固件的版本信息确定待更新固件是否是当前固件的更新版本;若确定待更新固件是当前固件的更新版本,则确定待更新固件的版本号的编号顺序是否不小于根据待诊断功能确定的固件版本号,若是,则对待更新固件进行完整性校验,并将校验通过的待更新固件确定为目标更新固件;若否,则与服务器连接,根据固件版本号和产品型号在服务器的第一固件中确定目标更新固件。In this embodiment, when the car fault diagnosis apparatus determines the target update firmware according to the product model and the current firmware version information, the car fault diagnosis apparatus determines that the second firmware adapted to the VCI device is the firmware to be updated according to the product model, and then according to the current The version information of the firmware determines whether the firmware to be updated is an updated version of the current firmware; if it is determined that the firmware to be updated is an updated version of the current firmware, it is determined whether the number sequence of the version numbers of the firmware to be updated is not less than the firmware version determined according to the function to be diagnosed No. If it is, the integrity check of the firmware to be updated is performed, and the verified firmware to be updated is determined as the target update firmware; if not, it is connected to the server, and the first firmware is on the server according to the firmware version number and product model Confirm the target update firmware.
在本发明实施例中,汽车故障诊断仪在与VCI设备连接时,能够根据VCI设备的产品型号和当前固件的版本信息对VCI设备中的固件进行实时更新,进而对VCI设备中的通信协议和/或通信标准也实时进行更新,使得VCI设备能够满足汽车故障诊断仪的诊断需求,提高汽车故障诊断仪的安全性。In the embodiment of the present invention, when the vehicle fault diagnostic instrument is connected to the VCI device, it can update the firmware in the VCI device in real time according to the product model of the VCI device and the current firmware version information, and then the communication protocol and /Or communication standards are also updated in real time, so that VCI equipment can meet the diagnostic needs of automotive fault diagnostics, and improve the safety of automotive fault diagnostics.
实施例三Example Three
以下所使用的术语“模块”为可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能被构想的。The term “module” used below is a combination of software and/or hardware that can realize a predetermined function. Although the devices described in the following embodiments may be implemented in software, implementation of hardware or a combination of software and hardware may also be conceived.
请参阅图6,是本发明其中一实施例提供的一种VCI设备固件更新的装置的结构示意图,应用于汽车故障诊断仪,该汽车故障诊断仪为上述实施例中所述的汽车故障诊断仪30,该VCI设备固件更新装置包括:Please refer to FIG. 6, which is a schematic structural diagram of a device for updating firmware of a VCI device according to one embodiment of the present invention, which is applied to a car fault diagnostic instrument. The car fault diagnostic instrument is the car fault diagnostic instrument described in the
连接模块100,所述连接模块100用于与VCI设备建立连接;其中,所述VCI设备包括固件、操作系统以及启动管理,所述固件用于实现所述VCI设备所支持的通信协议和/或通信标准,所述操作系统用于管理所述VCI设备的产品型号以及当前固件的版本信息;A
获取模块200,所述获取模块200用于获取所述VCI设备的产品型号和当前固件的版本信息;An obtaining
确定模块300,所述确定模块300用于根据所述产品型号和所述当前固件的版本信息确定目标更新固件,以使所述VCI设备将所述当前固件更新为所述目标更新固件。The
其中,连接模块100通过WiFi、USB或者蓝牙与所述VCI设备建立连接。Wherein, the
进一步地,连接模块100还用于:Further, the
在与VCI设备建立连接之前,与服务器连接,所述服务器存储有第一固件;Before establishing a connection with the VCI device, connect with a server, the server storing the first firmware;
根据预设时间间隔从所述第一固件中确定与预设VCI型号对应的可更新固件,并将所述可更新固件存储为第二固件。Determine an updatable firmware corresponding to a preset VCI model from the first firmware according to a preset time interval, and store the updatable firmware as a second firmware.
进一步地,连接模块100还用于:Further, the
在根据所述产品型号和所述当前固件的版本信息确定目标更新固件之前,当与所述服务器连接时,从所述服务器获取与所述产品型号适配的第一固件的版本信息;Before determining the target update firmware according to the product model and the version information of the current firmware, when connected to the server, acquiring version information of the first firmware adapted to the product model from the server;
若根据所获取的所述第一固件的版本信息确定所述第一固件是所述产品型号适配的第二固件的更新版本、所述产品型号适配的第二固件不存在、所述产品型号适配的第二固件完整性校验不通过至少一项成立,则下载所述第一固件替换所述第二固件。If it is determined according to the acquired version information of the first firmware that the first firmware is an updated version of the second firmware adapted to the product model, the second firmware adapted to the product model does not exist, the product If the second firmware integrity check of the model adaptation fails at least one item, the first firmware is downloaded to replace the second firmware.
进一步地,确定模块300具体用于:Further, the
根据所述产品型号确定与所述VCI设备适配的第二固件为待更新固件;Determining, according to the product model, that the second firmware adapted to the VCI device is the firmware to be updated;
根据所述当前固件的版本信息确定所述待更新固件是否是所述当前固件的更新版本;Determine whether the firmware to be updated is an updated version of the current firmware according to the version information of the current firmware;
若是,则对所述待更新固件进行完整性校验,将校验通过的待更新固件确定为目标更新固件。If yes, perform an integrity check on the firmware to be updated, and determine the firmware to be updated that passed the verification as the target update firmware.
进一步地,版本信息包括版本号时,确定模块300还用于:Further, when the version information includes a version number, the determining
根据预设版本号编号顺序比较所述当前固件的版本号和所述待更新固件的版本号;Comparing the version number of the current firmware with the version number of the firmware to be updated according to a preset version number number sequence;
若所述待更新固件的版本号的编号顺序大于所述当前固件的版本号的编号顺序,则确定所述待更新固件是所述当前固件的更新版本。If the number sequence of the version numbers of the firmware to be updated is greater than the number sequence of the version numbers of the current firmware, it is determined that the firmware to be updated is an updated version of the current firmware.
进一步地,请参阅图7,该VCI设备固件更新装置还包括:Further, referring to FIG. 7, the VCI device firmware update device further includes:
发送模块400,所述发送模块400用于向所述VCI设备发送固件更新命令,以使所述VCI设备切换到更新模式;以及,A sending
用于将所述目标更新固件发送至所述VCI设备,以使所述VCI设备对所述目标更新固件进行数据校验,校验通过则将所述当前固件更新为所述目标更新固件。It is used to send the target update firmware to the VCI device, so that the VCI device performs data verification on the target update firmware, and if the verification is passed, the current firmware is updated to the target update firmware.
进一步地,连接模块400还用于:Further, the
若所述VCI设备对所述目标更新固件数据校验不通过,则控制所述VCI设备中断更新,并提示中断原因。If the VCI device fails the verification of the target update firmware data, the VCI device is controlled to interrupt the update and prompt the cause of the interruption.
进一步地,请参阅图8,该VCI设备固件更新装置还包括:Further, referring to FIG. 8, the VCI device firmware update device further includes:
安全检查模块500,所述安全检查模块500用于根据所述当前固件的版本信息对所述当前固件进行安全检查,若所述安全检查不通过,则根据所述产品型号和所述当前固件的版本信息确定目标更新固件。A
进一步地,安全检查模块500具体用于:Further, the
接收触发操作,所述触发操作包括待诊断功能;Receiving a trigger operation, the trigger operation includes a function to be diagnosed;
根据所述当前固件的版本信息确定所述当前固件是否能够满足所述待诊断功能,若否,则安全检查不通过。It is determined according to the version information of the current firmware whether the current firmware can satisfy the function to be diagnosed, and if not, the security check fails.
由于装置实施例和方法实施例是基于同一构思,在内容不互相冲突的前提下,装置实施例的内容可以引用方法实施例的,在此不再一一赘述。Since the device embodiment and the method embodiment are based on the same concept, the content of the device embodiment can refer to the method embodiment under the premise that the content does not conflict with each other, which will not be repeated here.
在本发明实施例中,汽车故障诊断仪在与VCI设备连接时,能够根据VCI 设备的产品型号和当前固件的版本信息对VCI设备中的固件进行实时更新,进而对VCI设备中的通信协议和/或通信标准也实时进行更新,使得VCI设备能够满足汽车故障诊断仪的诊断需求,提高汽车故障诊断仪的安全性。In the embodiment of the present invention, when the vehicle fault diagnostic instrument is connected to the VCI device, it can update the firmware in the VCI device in real time according to the product model of the VCI device and the version information of the current firmware, and then the communication protocol and /Or communication standards are also updated in real time, so that VCI equipment can meet the diagnostic needs of automotive fault diagnostics, and improve the safety of automotive fault diagnostics.
实施例四Example 4
请参阅图9,是本发明其中一实施例提供的一种汽车故障诊断仪的硬件结构示意图,该汽车故障诊断仪30能够执行以上实施例所述的一种VCI设备固件更新的方法,还能实现以上实施例所述的一种VCI设备固件更新的装置的各个模块的功能。该汽车故障诊断仪30包括:Please refer to FIG. 9, which is a schematic diagram of the hardware structure of an automobile fault diagnostic apparatus provided by one embodiment of the present invention. The automobile fault
一个或多个处理器31以及存储器32。其中,图9中以一个处理器31为例。One or more processors 31 and memory 32. Among them, one processor 31 is taken as an example in FIG. 9.
处理器31和存储器32可以通过总线或者其他方式连接,图9中以通过总线连接为例。The processor 31 and the memory 32 may be connected through a bus or in other ways. In FIG. 9, the connection through a bus is used as an example.
存储器32作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明上述实施例中的一种VCI设备固件更新的方法对应的程序指令以及一种VCI设备固件更新的装置对应的模块(例如,连接模块100、获取模块200和确定模块300等)。处理器31通过运行存储在存储器32中的非易失性软件程序、指令以及模块,从而执行一种VCI设备固件更新的方法的各种功能应用以及数据处理,即实现上述方法实施例中的一种VCI设备固件更新的方法以及上述装置实施例的各个模块的功能。The memory 32 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as a VCI device firmware update in the foregoing embodiments of the present invention The program instruction corresponding to the method and the module corresponding to a device for updating the firmware of the VCI device (for example, the
存储器32可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据一种VCI设备固件更新的装置的使用所创建的数据等。The memory 32 may include a storage program area and a storage data area, wherein the storage program area may store an operating system and at least one function required application program; the storage data area may store a device created by using a VCI device firmware update device Data etc.
所述存储数据区还存储有预设的数据,包括预设时间间隔、预设VCI型号、预设版本号编号顺序、诊断功能与固件版本号的关系对照表等。The stored data area also stores preset data, including a preset time interval, a preset VCI model, a preset version number number sequence, a comparison table of relationships between diagnostic functions and firmware version numbers, and so on.
此外,存储器32可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器32可选包括相对于处理器31远程设置的存储器,这些远程存储器可以通过网络连接至处理器31。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 32 may optionally include memories remotely provided with respect to the processor 31, and these remote memories may be connected to the processor 31 through a network. Examples of the above network include but are not limited to the Internet, intranet, local area network, mobile communication network, and combinations thereof.
所述程序指令以及一个或多个模块存储在所述存储器32中,当被所述一个或者多个处理器31执行时,执行上述任意方法实施例中的一种VCI设备固件更新的方法的各个步骤,或者,实现上述任意装置实施例中的一种VCI设备固件更新的装置的各个模块的功能。The program instructions and one or more modules are stored in the memory 32, and when executed by the one or more processors 31, each of the methods for updating a VCI device firmware in any of the above method embodiments is performed Step, or, implement the functions of each module of an apparatus for updating firmware of a VCI device in any of the foregoing apparatus embodiments.
上述产品可执行本发明上述实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明上述实施例所提供的方法。The above products can execute the method provided by the above embodiments of the present invention, and have the corresponding function modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, refer to the method provided in the foregoing embodiment of the present invention.
本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可 读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图9中的一个处理器31,可使得计算机执行上述任意方法实施例中的一种VCI设备固件更新的方法的各个步骤,或者,实现上述任意装置实施例中的一种VCI设备固件更新的装置的各个模块的功能。An embodiment of the present invention also provides a non-volatile computer-readable storage medium that stores computer-executable instructions that are executed by one or more processors, such as FIG. 9 A processor 31 in the computer can cause the computer to execute the steps of a method for updating the firmware of a VCI device in any of the above method embodiments, or each of the devices for updating the firmware of a VCI device in any of the above device embodiments The function of the module.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被一个或多个处理器执行,例如图9中的一个处理器31,可使得计算机执行上述任意方法实施例中的一种VCI设备固件更新的方法的各个步骤,或者,实现上述任意装置实施例中的一种VCI设备固件更新的装置的各个模块的功能。An embodiment of the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the program instructions are Or executed by multiple processors, such as a processor 31 in FIG. 9, which can cause the computer to execute the steps of a method for updating the firmware of a VCI device in any of the above method embodiments, or implement the method in any of the above device embodiments A function of each module of a device for updating firmware of a VCI device.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located One place, or can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施方法的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Through the description of the above embodiments, a person of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Those of ordinary skill in the art may understand that all or part of the processes in the methods of the above embodiments may be completed by computer program instructions related hardware. The program may be stored in a computer-readable storage medium, and the program is being executed At this time, it may include the flow of the method for implementing the above methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by the description and drawings of the present invention, or directly or indirectly used in other related technologies In the field, the same reason is included in the patent protection scope of the present invention.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention, rather than limiting them; under the idea of the present invention, the technical features in the above embodiments or different embodiments may also be combined, The steps can be implemented in any order, and there are many other variations of the different aspects of the present invention as described above. For simplicity, they are not provided in the details; although the present invention has been described in detail with reference to the foregoing embodiments, it is common in the art The skilled person should understand that they can still modify the technical solutions described in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or replacements do not deviate from the essence of the corresponding technical solutions in the implementation of this application. Examples of technical solutions.
Claims (22)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910012440.1A CN109725921B (en) | 2019-01-07 | 2019-01-07 | Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument |
| CN201910012440.1 | 2019-01-07 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020143574A1 true WO2020143574A1 (en) | 2020-07-16 |
Family
ID=66298132
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/070472 Ceased WO2020143574A1 (en) | 2019-01-07 | 2020-01-06 | Method and apparatus for updating firmware in vci device, and automobile fault diagnosis instrument |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109725921B (en) |
| WO (1) | WO2020143574A1 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109725921B (en) * | 2019-01-07 | 2021-06-08 | 深圳市道通科技股份有限公司 | Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument |
| CN111190621A (en) * | 2019-12-23 | 2020-05-22 | 深圳优地科技有限公司 | Firmware burning method, device, system, terminal device and storage medium |
| CN112104708B (en) * | 2020-08-27 | 2023-08-08 | 深圳市元征科技股份有限公司 | Communication method and device of diagnostic equipment, electronic equipment and storage medium |
| CN112162765A (en) * | 2020-08-28 | 2021-01-01 | 深圳市元征科技股份有限公司 | Firmware upgrading method, upper computer and storage medium |
| CN112199238B (en) * | 2020-10-16 | 2024-05-28 | 深圳佰维存储科技股份有限公司 | Memory firmware updating method, device, storage medium and electronic device |
| CN112527343A (en) * | 2020-11-09 | 2021-03-19 | 西安广和通无线软件有限公司 | Firmware updating method and device, computer equipment and storage medium |
| CN113835729B (en) * | 2021-09-23 | 2024-01-05 | 深圳市元征科技股份有限公司 | Upgrading method, upgrading device, terminal equipment and computer readable storage medium |
| CN113986288A (en) * | 2021-10-25 | 2022-01-28 | 康佳集团股份有限公司 | Firmware switching method and device, communication module, terminal and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102073319A (en) * | 2011-01-25 | 2011-05-25 | 武汉理工大学 | Multifunctional comprehensive type electric control automobile fault diagnosis system |
| CN105045611A (en) * | 2015-06-24 | 2015-11-11 | 深圳市兰丁科技有限公司 | Upgrading method and apparatus |
| CN107168296A (en) * | 2017-06-30 | 2017-09-15 | 东南(福建)汽车工业有限公司 | A kind of automotive diagnostic installation software systems |
| CN108984200A (en) * | 2018-07-17 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of timing updates the method and device of firmware |
| CN109725921A (en) * | 2019-01-07 | 2019-05-07 | 深圳市道通科技股份有限公司 | A kind of method, apparatus and automobile fault diagnostic apparatus of the update of VCI equipment firmware |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103744707B (en) * | 2014-01-20 | 2017-01-04 | 深圳市道通科技股份有限公司 | A kind of VCI device program upgrade method, device and system |
| CN108062228A (en) * | 2017-12-11 | 2018-05-22 | 深圳市买买提信息科技有限公司 | A kind of document handling method and its device |
| CN108536121B (en) * | 2018-03-16 | 2021-04-23 | 深圳市道通科技股份有限公司 | Method and device for establishing logical channel and vehicle communication interface VCI |
| CN109144537A (en) * | 2018-07-17 | 2019-01-04 | 奇酷互联网络科技(深圳)有限公司 | The method, apparatus that mobile terminal and wearable device upgrade automatically |
-
2019
- 2019-01-07 CN CN201910012440.1A patent/CN109725921B/en active Active
-
2020
- 2020-01-06 WO PCT/CN2020/070472 patent/WO2020143574A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102073319A (en) * | 2011-01-25 | 2011-05-25 | 武汉理工大学 | Multifunctional comprehensive type electric control automobile fault diagnosis system |
| CN105045611A (en) * | 2015-06-24 | 2015-11-11 | 深圳市兰丁科技有限公司 | Upgrading method and apparatus |
| CN107168296A (en) * | 2017-06-30 | 2017-09-15 | 东南(福建)汽车工业有限公司 | A kind of automotive diagnostic installation software systems |
| CN108984200A (en) * | 2018-07-17 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of timing updates the method and device of firmware |
| CN109725921A (en) * | 2019-01-07 | 2019-05-07 | 深圳市道通科技股份有限公司 | A kind of method, apparatus and automobile fault diagnostic apparatus of the update of VCI equipment firmware |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109725921B (en) | 2021-06-08 |
| CN109725921A (en) | 2019-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020143574A1 (en) | Method and apparatus for updating firmware in vci device, and automobile fault diagnosis instrument | |
| CN111770169B (en) | Method, device, equipment and storage medium for upgrading equipment firmware | |
| CN111367545A (en) | Terminal upgrading method and device, server, terminal equipment and readable storage medium | |
| CN107332932B (en) | Robot system remote upgrading method based on FOTA | |
| WO2017161947A1 (en) | Multi-system ota upgrade method and multi-system device | |
| CN106027644B (en) | Service verification method and system | |
| WO2023123875A1 (en) | Bluetooth-based multi-device ota upgrade method, electronic device, storage medium and program product | |
| CN105307195B (en) | A method and device for updating access point name parameters | |
| CN104811979B (en) | Method for testing pressure based on FOTA upgrading and device | |
| CN108536452B (en) | Embedded device, system software upgrading method, system and terminal thereof | |
| CN107357601A (en) | Unmanned plane device for upgrading firmware, method and terminal | |
| US20160231997A1 (en) | Communication apparatus, communication system, communication method, and recording medium | |
| WO2016058133A1 (en) | Software upgrading method and device | |
| CN107844306B (en) | Application program repairing method and device, storage medium and terminal | |
| CN111901142A (en) | Firmware silent upgrading method and device for embedded equipment cluster | |
| CN110687888A (en) | An automatic upgrade test device and system applied to locomotives | |
| CN111147314A (en) | Switch upgrading method, device and storage medium | |
| CN109981747A (en) | Apparatus control method, device, electronic equipment and storage medium | |
| WO2021051370A1 (en) | Device control method and system as well as control terminal | |
| CN108182077A (en) | Equipment, the firmware upgrade method of equipment, device and storage medium | |
| CN115335803B (en) | Device upgrade method, intelligent device and computer-readable storage medium | |
| CN114185579A (en) | Software upgrading method and device, electronic equipment and readable storage medium | |
| CN116418791A (en) | Firmware upgrade method, firmware upgrade system, server and storage medium | |
| KR20180050001A (en) | Firmware upgrade system and method for IoT | |
| CN118963788A (en) | Method, system, device and medium for batch updating server BMC management firmware |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20738585 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20738585 Country of ref document: EP Kind code of ref document: A1 |