Software updating method and device

Through the software update method of short-distance communication between the vehicle-machine systems of intelligent vehicles, the problems of large network resources and low reliability of downloading software in the prior art are solved, and a more efficient and reliable software update process is achieved.

CN119485275APending Publication Date: 2025-02-18MERCEDES BENZ GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411482597.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art When upgrading the vehicle system software of smart vehicles, network resources are consumed greatly, and the flexibility and reliability of downloading software are low, especially when the vehicle fails to connect to the server while driving.

Method used

Through short-distance communication connection, the vehicle system broadcasts software update requests to the vehicle system of other vehicles, and after receiving feedback information, determines the target vehicle system, downloads the update software package from the target vehicle system, and uses the software package to update the existing ones. software.

Benefits of technology

It reduces the network resource consumption of vehicles downloading update software from the server, improves the flexibility and reliability of software download, and can still complete software updates when the network connection is unstable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485275A_ABST
    Figure CN119485275A_ABST
Patent Text Reader

Abstract

The invention discloses a software updating method and device, and belongs to the technical field of vehicle machine system software processing. A specific embodiment of the method comprises the following steps: broadcasting a software updating request to other in-vehicle entertainment systems of a plurality of other vehicles by an in-vehicle entertainment system needing to update a software package through a short-distance communication connection mode; after feedback information which is sent by one or more other vehicle machine systems and aims at the software updating request is received, one or more target vehicle machine systems are determined according to the feedback information, and an updating software package is downloaded from the target vehicle machine systems; according to the embodiment of the invention, software downloading and upgrading are executed between the vehicle-machine systems of the vehicles, so that the problems of network resource consumption, low software downloading flexibility and low software downloading reliability due to the fact that each vehicle needs to download the updating software from the server side are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle system software processing, and in particular to a software updating method and device. Background Art

[0002] With the popularization of smart vehicles, the functions of the vehicle computer systems running in smart vehicles are becoming more and more complex, and the frequency of the demand for various software upgrades for the vehicle computer systems is also increasing.

[0003] In the existing method, when there is a need to upgrade, the vehicle-mounted system of a general smart vehicle directly obtains the upgrade software package from the server (or the cloud) and then performs the software upgrade. When the number of smart vehicles that need to be upgraded is large, the file size of the upgrade software package is large, and the number of software upgrades is large, the existing method leads to a large consumption of network resources, and the smart vehicle may fail to connect to the server while driving, resulting in download interruption or inability to complete the download, reducing the efficiency and reliability of the smart vehicle software upgrade. Summary of the invention

[0004] In view of this, the present invention provides a software updating method, in which a vehicle system that needs to update a software package broadcasts a software update request to other vehicle systems of multiple other vehicles through a short-distance communication connection; after receiving feedback information regarding the software update request sent by one or more other vehicle systems, one or more target vehicle systems are determined according to the feedback information, and the update software package is downloaded from the target vehicle systems; the update software package is used to update the existing software. The embodiment of the present invention performs software downloads and upgrades between vehicle systems, thereby overcoming the problems of network resource consumption, inflexibility in downloading software, and low reliability when each vehicle needs to download update software from a server.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] In a first aspect, the present invention provides a software update method, which is applied to a vehicle system, comprising: in response to a software update, broadcasting a first software update request to other vehicle systems of multiple other vehicles via a short-distance communication connection; the software update request includes software identification information; after receiving feedback information sent by one or more of the other vehicle systems for the software update request, determining one or more target vehicle systems based on the feedback information, and downloading an update software package from the target vehicle systems; and using the update software package to update the existing software.

[0007] Optionally, downloading the update software package from the target vehicle system further includes: sending a download request for the update software package to one or more of the target vehicle systems, so that the target vehicle system divides the update software package into multiple data blocks; and downloading each of the data blocks from the one or more target vehicle systems.

[0008] Optionally, downloading the data blocks from one or more of the target vehicle systems includes: downloading all the data blocks directly from one of the target vehicle systems; or, downloading different data blocks from multiple target vehicle systems respectively; or, when multiple target vehicle systems are determined, downloading the data blocks from the first target vehicle system; and when the download is interrupted, downloading the remaining data blocks from the second target vehicle system.

[0009] Optionally, updating the existing software using the update software package includes: when the update software package is a plurality of data blocks, integrating the downloaded data blocks into a download software package, and using the download software package to update the existing software, and / or, the data blocks downloaded from one or more of the target vehicle systems are data blocks compressed by the target vehicle systems; updating the existing software using the update software package includes: performing a decompression operation on the downloaded compressed data blocks, integrating the decompressed data blocks into a download software package, and using the download software package to update the existing software.

[0010] Optionally, after integrating the downloaded data blocks into a download software package and before using the download software package to update the existing software, the method further includes: performing verification on the download software package to determine that the download software package is complete and has not been changed.

[0011] Optionally, downloading the update software package from the target vehicle system includes: in case a download interruption occurs during the download of the update software package from the target vehicle system, recording currently downloaded data information, and based on the currently downloaded information, using breakpoint resumption to execute downloading of undownloaded data.

[0012] Optionally, the software update method also includes: receiving a second software update request broadcast by other vehicle systems; when there is an update software package corresponding to the second software update request, sending feedback information for the second software update request to the other vehicle systems; after receiving a download instruction from the other vehicle systems, dividing the update software package into multiple data blocks, and performing compression on each data block to generate a compressed data block, so that the other vehicle systems can download the compressed data blocks.

[0013] In a second aspect, an embodiment of the present invention provides a software updating device, comprising: a signal management module, which is used to broadcast a first software update request to other vehicle systems of multiple other vehicles through a short-distance communication connection in response to a software update; the software update request includes software version information; a download module, which is used to determine one or more target vehicle systems according to the feedback information after receiving feedback information sent by one or more of the other vehicle systems for the software update request, and download an update software package from the target vehicle systems; an update module, which is used to use the update software package to update existing software.

[0014] Optionally, the software updating device, used to download an update software package from a target vehicle system, further includes: sending a download request for the update software package to one or more of the target vehicle systems so that the target vehicle system divides the update software package into multiple data blocks; and downloading each of the data blocks from one or more of the target vehicle systems.

[0015] Optionally, the software update device is used to download the data blocks from one or more of the target vehicle systems, including: directly downloading all the data blocks from one of the target vehicle systems; or, downloading different data blocks from multiple target vehicle systems respectively; or, when multiple target vehicle systems are determined, downloading the data blocks from the first target vehicle system; and when the download is interrupted, continuously downloading the remaining data blocks from the second target vehicle system.

[0016] Optionally, the software updating device is used to update the existing software using the update software package, including: when the update software package is a plurality of data blocks, integrating the downloaded data blocks into a download software package, and using the download software package to update the existing software; and / or, the data blocks downloaded from one or more of the target vehicle systems are data blocks compressed by the target vehicle systems; updating the existing software using the update software package includes: performing a decompression operation on the downloaded compressed data blocks, integrating the decompressed data blocks into a download software package, and using the download software package to update the existing software.

[0017] Optionally, the software updating device is used to further include: after integrating the downloaded data blocks into a download software package and before using the download software package to update the existing software, performing verification on the download software package to determine that the download software package is complete and has not been changed.

[0018] Optionally, the software updating device is used to download the update software package from the target vehicle system, including: in the event that the download of the update software package from the target vehicle system is interrupted, recording the currently downloaded data information, and based on the currently downloaded information, using breakpoint resumption to execute the download of the undownloaded data.

[0019] Optionally, the software update device is also used to receive a second software update request broadcast by other vehicle systems; when there is an update software package corresponding to the second software update request, send feedback information for the second software update request to the other vehicle systems; after receiving a download instruction from the other vehicle systems, divide the update software package into multiple data blocks, and perform compression on each data block to generate a compressed data block, so that the other vehicle systems can download the compressed data blocks.

[0020] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0021] one or more processors;

[0022] a storage device for storing one or more programs,

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the software updating method as described above in the embodiment of the present invention.

[0024] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program for implementing a software updating method is stored. When the computer program is executed by an on-board processor, the software updating method of the embodiment of the present invention is implemented.

[0025] The technical solution of the above invention has the following advantages or beneficial effects: the vehicle system that needs to update the software package broadcasts a software update request to other vehicle systems of multiple other vehicles through a short-distance communication connection; after receiving feedback information on the software update request sent by one or more other vehicle systems, one or more target vehicle systems are determined according to the feedback information, and the update software package is downloaded from the target vehicle systems; the update software package is used to update the existing software. The embodiment of the present invention executes software downloads and upgrades between the vehicle systems of the vehicles, thereby overcoming the problems of network resource consumption, inflexibility in downloading software and low reliability that each vehicle needs to download update software from the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flowchart of a software updating method provided according to an embodiment of the present invention;

[0027] Figure 2is a flowchart of a software updating method provided according to an embodiment of the present invention;

[0028] Figure 3 is a main structural diagram of a software updating device provided according to an embodiment of the present invention;

[0029] Figure 4 is an exemplary system architecture diagram suitable for implementing an embodiment of the present invention;

[0030] Figure 5 It is a schematic diagram of the structure of a computer system suitable for implementing the embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0032] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.

[0033] In addition, the terms "first", "second", "third", etc. included in the embodiments of the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific number or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances. This is just a way of distinguishing objects with the same attributes when describing them in the embodiments of the present invention.

[0034] Furthermore, the vehicle involved in the embodiment of the present invention may be an internal combustion engine vehicle using an engine as a power source, a hybrid vehicle using an engine and an electric motor as a power source, an electric vehicle using an electric motor as a power source, or the like.

[0035] Figure 1 The following is a schematic diagram showing the main steps of the software update method provided by the embodiment of the present invention:

[0036] Step S101: In response to a software update, a first software update request is broadcast to other vehicle systems of a plurality of other vehicles via a short-range communication connection; the software update request includes software identification information.

[0037] Specifically, an embodiment of the present invention provides a method for downloading software between vehicles (vehicle-machine systems). Vehicles can communicate with each other via short-distance communication, where the short-distance communication technology can be wireless USB, IEEE802.11, Bluetooth, infrared, Zigbee, and the embodiment of the present invention does not limit the specific short-distance communication technology used in the vehicle.

[0038] Through short-distance communication connections, vehicles can directly transmit data and download software, overcoming the problems of network resource waste and download anomalies caused by network interruptions when all vehicles need to connect to the server through network communication and download software from the server when software upgrades are required.

[0039] It is understandable that the embodiments of the present invention may also be applied to software upgrades between other smart devices other than vehicles (such as smart refrigerators, smart terminals, etc.).

[0040] Furthermore, when there is a need for software upgrade in the vehicle system of any vehicle, the vehicle uses the vehicle system to broadcast a first software update request to other vehicle systems of multiple other vehicles; wherein the software update request includes software identification information. Among them, the software identification information includes software version information, vehicle configuration information, etc.; it can be understood that each software package includes software version information, and carrying software identification information in the software update request can clarify the software package corresponding to the version required by the vehicle, as well as the software package compatible with the vehicle. It can be understood that the software versions run by the vehicle systems of different vehicles are different, so by broadcasting the first software update request to other vehicle systems of multiple other vehicles, the vehicle systems (vehicles) with software packages matching the software version information and matching the vehicle configuration information can provide corresponding feedback. For example: vehicles of the same model can provide each other with upgrade software packages, or vehicles of the same manufacturer can provide each other with upgrade software packages, or vehicles of different manufacturers but with the same type of vehicle systems can provide each other with upgrade software packages.

[0041] Step S102: after receiving feedback information regarding the software update request sent by one or more of the other vehicle systems, determining one or more target vehicle systems according to the feedback information, and downloading an update software package from the target vehicle systems.

[0042] Specifically, after receiving feedback information regarding the software update request sent by one or more other vehicle systems, the vehicle system that needs to upgrade software determines one or more target vehicle systems based on the feedback information, wherein the one or more target vehicle systems can provide the update software package.

[0043] Furthermore, when it is determined based on the feedback information that there are multiple target vehicle systems that can provide update software packages, the distance between the vehicle where each target vehicle system is located and the vehicle status, etc. can be further determined; in one scenario, vehicle A parked in a parking lot is the demander of the update software package, and vehicle B parked in the parking lot and vehicle C driving nearby are both providers of the update software package; vehicle A can choose to download the update software package from the target vehicle system of vehicle B based on the distance between the vehicles and the vehicle status (stopped or driving), thereby improving the efficiency and reliability of downloading the software package; it can be understood that if vehicle A is a moving vehicle, vehicle A can choose to download the update software package from the target vehicle system of vehicle C based on the distance between the vehicles and the vehicle status (stopped or driving).

[0044] Furthermore, there are two methods for downloading the update software package from the target vehicle system:

[0045] The first method is to download the update software package directly from the target vehicle system. If the download of the update software package is interrupted due to communication interruption, the remaining part is continued to be downloaded from other target vehicle systems through the breakpoint resume technology until the complete update software package is obtained. That is, the download of the update software package from the target vehicle system includes: in the case where the download of the update software package from the target vehicle system is interrupted, the currently downloaded data information is recorded, and based on the currently downloaded information, the undownloaded data is downloaded by using the breakpoint resume technology.

[0046] The second method: preferably, a download request for the update software package is sent to one or more target vehicle systems, so that the target vehicle systems divide the update software package into multiple data blocks; and each data block is downloaded from one or more target vehicle systems. For example, if the update software package is 10G, the update software package can be divided into multiple data blocks, each data block is 100MB, so that each data block can be downloaded in a short time. The present invention does not limit the size of the update software package and the number of divided data blocks; by dividing the update software package into multiple data blocks, the vehicle system can download different data blocks from one or more vehicle systems respectively, which further improves the download efficiency, download flexibility and reliability.

[0047] Further, downloading data blocks from one or more target vehicle systems includes the following methods:

[0048] The first method is to directly download all the data blocks from one target vehicle system.

[0049] The second method is to download different data blocks from the plurality of target vehicle systems respectively.

[0050] The third method: when multiple target vehicle systems are determined, download the data block from the first target vehicle system; when the download is interrupted, continue to download the remaining data blocks from the second target vehicle system.

[0051] That is, downloading the data blocks from one or more target vehicle systems includes: downloading all the data blocks directly from one target vehicle system; or, downloading different data blocks from multiple target vehicle systems respectively; or, when multiple target vehicle systems are determined, downloading the data blocks from the first target vehicle system; and when the download is interrupted, downloading the remaining data blocks from the second target vehicle system.

[0052] The embodiment of the present invention adopts different methods for downloading data blocks according to different scenarios, which further improves the flexibility of downloading data blocks, thereby improving the flexibility and reliability of downloading update software packages.

[0053] Further preferably, the target vehicle system providing the update software package may further compress the data blocks to obtain compressed data blocks in addition to dividing the update software package into a plurality of data blocks, thereby further improving download efficiency.

[0054] Furthermore, in the case where the downloading of the data block or compressed data block from the target vehicle system is interrupted, the currently downloaded data information is recorded, and based on the currently downloaded information, the download of the undownloaded data is performed by utilizing breakpoint resumption.

[0055] The embodiments of the present invention improve the reliability of downloading update software packages by dividing the update software package into data blocks, downloading data blocks from different vehicles, and performing breakpoint resumption operations, so that vehicles can still download data and complete software updates through short-distance communication with other vehicles in locations where there is a lack of network communication signals (such as underground parking lots).

[0056] Step S103: Use the update software package to update the existing software.

[0057] Specifically, after determining that the download of the update software package is complete, the vehicle system executes an update operation for the vehicle system software, so that the existing software is upgraded to the latest software version (ie, the updated software).

[0058] Furthermore, in the case that the downloaded update software package is a plurality of data blocks, the downloaded data blocks are integrated into a download software package, and the download software package is used to update the existing software.

[0059] Furthermore, in the case that the downloaded data blocks are compressed data blocks, a decompression operation is performed on each of the downloaded compressed data blocks, the decompressed data blocks are integrated into a download software package, and the download software package is used to update the existing software.

[0060] Further, after integrating the downloaded data blocks into a download software package and before using the download software package to update the existing software, verification is performed on the download software package to determine that the download software package is complete and has not been changed.

[0061] By integrating and verifying data blocks or compressed data blocks, the security and reliability of executing updated software are improved.

[0062] Furthermore, in an embodiment of the present invention, the vehicle system that sends the software update request may also be a vehicle system that provides the latest software package for the vehicle systems of other vehicles; specifically, when the vehicle system is the software package provider, the steps of dividing the update software package into multiple data blocks, compressing the data blocks, etc. are performed so that other vehicle systems can download the compressed data blocks from the vehicle system. That is, the second software update request broadcasted by other vehicle systems is received; in the case of having an update software package corresponding to the second software update request, feedback information for the second software update request is sent to the other vehicle systems; after receiving the download instruction of the other vehicle systems, the update software package is divided into multiple data blocks, and compression is performed on each data block to generate a compressed data block, so that the other vehicle systems can download the compressed data block.

[0063] Figure 2 A schematic diagram showing the main steps of another software updating method that can be applied to an embodiment of the present invention is shown:

[0064] Step S201: In response to the software update, the vehicle system broadcasts a first software update request to other vehicle systems of multiple other vehicles via a short-range communication connection.

[0065] Step S202: after receiving feedback information regarding the software update request sent by one or more of the other vehicle-mounted systems, determining one or more target vehicle-mounted systems according to the feedback information.

[0066] Step S203: sending a download request for the update software package to one or more of the target vehicle systems, so that the target vehicle systems divide the update software package into a plurality of data blocks (or compressed data blocks).

[0067] Step S204: downloading each of the data blocks (or compressed data blocks) from one or more of the target vehicle systems.

[0068] Step S205: Integrate the downloaded data blocks (or compressed data blocks) into a download software package, and use the download software package to update the existing software.

[0069] Specifically, the process described in steps S201 to S205 in which any one of the vehicle systems downloads data blocks from other vehicle systems and integrates the data blocks to complete the software update is consistent with the description of steps S101 to S103 and will not be repeated here.

[0070] like Figure 3 As shown, a software updating device provided by an embodiment of the present invention is applied to a vehicle system, comprising:

[0071] A signal management module 301, which is used to broadcast a first software update request to other vehicle systems of multiple other vehicles in response to the software update through a short-distance communication connection; the software update request includes software version information;

[0072] A download module 302, which is used to determine one or more target vehicle systems according to the feedback information after receiving feedback information sent by one or more other vehicle systems for the software update request, and download the update software package from the target vehicle systems;

[0073] The updating module 303 is used to update the existing software using the updating software package.

[0074] Furthermore, the embodiment of the present invention may also include an integration module for integrating the downloaded data blocks into a download software package; or, performing a decompression operation on the downloaded compressed data blocks and integrating the decompressed data blocks into a download software package; and a rule management module for managing the software identification information contained in different software packages.

[0075] Figure 4 1 is a system architecture diagram of a software update provided by an embodiment of the present invention. Figure 4 As shown, it includes vehicle computer systems V1, V2...Vn of multiple vehicles; wherein V1 is the party in need of the update software package, and in response to the software update, V1 broadcasts a first software update request to other vehicle computer systems of multiple other vehicles through a short-distance communication connection; after receiving feedback information regarding the software update request sent by one or more other vehicle computer systems, one or more target vehicle computer systems (V2...Vn) are determined according to the feedback information, and the update software package is downloaded from the target vehicle computer systems (V2...Vn); and the existing software is updated using the update software package.

[0076] At the same time, V1 can also act as an update software provider and receive second software update requests broadcast by other vehicle systems (V2...Vn); when it has an update software package corresponding to the second software update request, it sends feedback information for the second software update request to other vehicle systems (V2...Vn); after receiving the download instructions from other vehicle systems, it divides the update software package into multiple data blocks, and performs compression on each data block to generate compressed data blocks, so that other vehicle systems (V2...Vn) can download the compressed data blocks.

[0077] It should be understood that Figure 4 The number of vehicles in is only illustrative. Depending on the implementation needs, there can be any number of vehicles.

[0078] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 suitable for implementing an embodiment of the present invention. Figure 5 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0079] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0080] The following components are connected to the I / O interface 505: an input section 506; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0081] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0082] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0083] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0084] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device (e.g., a vehicle system). The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by one of the devices, the device includes: in response to a software update, broadcasting a first software update request to other vehicle systems of multiple other vehicles through a short-distance communication connection; the software update request includes software version identification information; after receiving feedback information sent by one or more of the other vehicle systems for the software update request, determining one or more target vehicle systems based on the feedback information, and downloading an update software package from the target vehicle system; and using the update software package to update the existing software.

[0085] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A software updating method, characterized in that: Applied to vehicle systems, including: In response to the software update, broadcasting a first software update request to other vehicle systems of a plurality of other vehicles via a short-range communication connection; the software update request including software identification information; After receiving feedback information regarding the software update request sent by one or more of the other vehicle systems, determining one or more target vehicle systems according to the feedback information, and downloading an update software package from the target vehicle systems; The existing software is updated using the update package.

2. The software updating method according to claim 1, characterized in that: The step of downloading the update software package from the target vehicle system further includes: Sending a download request for an update software package to one or more of the target vehicle systems, so that the target vehicle systems divide the update software package into a plurality of data blocks; Download each of the data blocks from one or more of the target vehicle systems.

3. The software updating method according to claim 2, characterized in that: The downloading of the data block from one or more target vehicle systems includes: Downloading all the data blocks directly from one of the target vehicle systems; or, Download different data blocks from the plurality of target vehicle systems respectively; or, When a plurality of the target vehicle system are determined, the data block is downloaded from the first target vehicle system; when the download is interrupted, the remaining data blocks are downloaded from the second target vehicle system.

4. The software updating method according to claim 2, characterized in that: Updating existing software using the update package includes: In the case where the update software package is a plurality of data blocks, Integrate the downloaded data blocks into a download software package, and use the download software package to update the existing software; and / or, Each of the data blocks downloaded from one or more of the target vehicle systems is a data block compressed by the target vehicle system; Using the update software package to update the existing software includes: performing a decompression operation on each of the downloaded compressed data blocks, integrating the decompressed data blocks into a download software package, and using the download software package to update the existing software.

5. The software updating method according to claim 4, characterized in that: After integrating the downloaded data blocks into a download software package and before using the download software package to update the existing software, the method further includes: Verification is performed on the downloaded software package to determine that the downloaded software package is complete and has not been altered.

6. The software updating method according to claim 1, characterized in that: The downloading of the update software package from the target vehicle system includes: When the download of the update software package from the target vehicle system is interrupted, The currently downloaded data information is recorded, and based on the currently downloaded information, the undownloaded data is downloaded by using breakpoint resume.

7. The software updating method according to claim 1, further comprising: Receiving a second software update request broadcasted by another vehicle system; In the case where there is an update software package corresponding to the second software update request, sending feedback information for the second software update request to the other vehicle system; After receiving the download instruction from the other vehicle system, the update software package is divided into a plurality of data blocks, and compression is performed on each data block to generate a compressed data block, so that the other vehicle system downloads the compressed data block.

8. A software updating device, characterized in that: Applied to vehicle systems, including: A signal management module, which is used to broadcast a first software update request to other vehicle systems of multiple other vehicles in response to the software update through a short-range communication connection; the software update request includes software version information; A download module, which is used to determine one or more target vehicle systems according to the feedback information after receiving feedback information sent by one or more other vehicle systems for the software update request, and download the update software package from the target vehicle systems; An update module is used to update the existing software using the update software package.

9. A software updating electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program for implementing software update stored thereon, characterized in that: include: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.