Component upgrading method and device
By cross-executing component upgrade tasks in the vehicle and charging the battery, the problem of insufficient battery power when upgrading parts in the vehicle is solved, improving the upgrade success rate and extending the battery life.
Patent Information
- Application Number
- PCT/CN2024/071208
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-18
- Filing Date
- 2024-01-08
- Publication Date
- 2024-11-21
AI Technical Summary
In a vehicle, when some parts are upgraded only by batteries, if the battery power is insufficient, the upgrade may be interrupted, resulting in unusable parts and affecting the use of the vehicle.
By charging the second type of power supply when performing the upgrade task of the first type of component, and cross-execute the two types of component upgrade tasks, the continuous power supply time of the battery is reduced, and the battery is prevented from being in a discharge state all the time, ensuring that its power can support the upgrade of the component .
It increases the probability of successful upgrade of parts, reduces the risk of unavailability of vehicles due to failed upgrades, and extends the service life of the battery.
Smart Images

Figure CN2024071208_21112024_PF_FP_ABST
Abstract
Description
Component upgrade method and equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 18, 2023, with application number 202310568171.3 and application name “Component Upgrading Method and Equipment”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a component upgrading method and device. Background Art
[0003] As vehicle technology continues to advance, vehicles are becoming increasingly versatile. To continuously improve vehicle functionality, vehicle components require regular upgrades. Currently, vehicle component upgrades can be made through over-the-air (OTA) technology. For example, a vehicle can establish a connection with a server and download an upgrade package from the server, which then upgrades the corresponding component.
[0004] However, some components in the vehicle need to be upgraded when the vehicle is powered only by the battery. If the battery power is insufficient to support the completion of the component upgrade process, the component upgrade may be interrupted, rendering the component unusable, thereby affecting the use of the vehicle.
[0005] Summary of the Invention
[0006] The present application provides a component upgrade method and device, which can increase the probability of successful component upgrades in a vehicle and reduce the risk of vehicle unavailability due to component upgrade failures.
[0007] To achieve the above objectives, this application adopts the following technical solutions:
[0008] In a first aspect, a component upgrade method is provided, which is applied to a device including multiple components, the method comprising: obtaining multiple upgrade tasks corresponding to a first batch of components, the first batch of components including first type components and second type components, when the first type of components are upgraded, the device is powered by the first type of power supply, and when the second type of components are upgraded, the device is powered by the second type of power supply; executing the multiple upgrade tasks corresponding to the first batch of components respectively; wherein the multiple upgrade tasks corresponding to the first batch of components include a first upgrade task and a second upgrade task, the first upgrade task is a task for upgrading a first component of the first type, and the second upgrade task is a task for upgrading a second component of the second type; when executing the first upgrade task, charging the second type of power supply.
[0009] Optionally, each component in the first batch of components corresponds one-to-one to multiple upgrade tasks corresponding to the first batch of components.
[0010] Based on the above technical solution, while executing an upgrade task requiring power from the first type of power supply to the device (i.e., the first upgrade task), the second type of power supply is charged. The second type of power supply can then power the device while executing the second upgrade task. This prevents the second type of power supply from being permanently discharged, allowing the power of the second type of power supply to be replenished promptly, ensuring that the power of the second type of power supply is sufficient to complete the upgrade task of the second type of component, such as the second upgrade task. This increases the probability of successfully upgrading the second type of component, such as a component in a vehicle, and reduces the risk of vehicle unavailability due to component upgrade failure.
[0011] In one possible design, the acquisition time of multiple upgrade tasks corresponding to the first batch of components is a first time period; the method also includes: acquiring multiple upgrade tasks corresponding to the second batch of components in a second time period, the second batch of components including components of the first type and components of the second type; executing the multiple upgrade tasks corresponding to the second batch of components separately; wherein the multiple upgrade tasks corresponding to the second batch of components include the first upgrade task and the second upgrade task; when executing the first upgrade task, the second type of power supply is not charged. Based on this design, when upgrade tasks corresponding to the same first type of component are acquired in different time periods, in some cases, the second type of power supply can be charged while the upgrade task corresponding to the component is executed. In some cases, the second type of power supply can be not charged while the upgrade task corresponding to the component is executed. In this way, while increasing the probability of successful component upgrade, the charging operation of the second type of power supply can meet actual needs.
[0012] Optionally, in different time periods, the upgrade content included in the first upgrade task may be the same or different.
[0013] Optionally, in different time periods, the upgrade content included in the second upgrade task may be the same or different.
[0014] In one possible design, the upgrade tasks corresponding to the first batch of components also include a third upgrade task and a fourth upgrade task, the third upgrade task is a task of upgrading the third component of the first type, and the fourth upgrade task is a task of upgrading the fourth component of the second type; the method also includes: executing the first upgrade task, the second upgrade task, the third upgrade task and the fourth upgrade task in sequence, and charging the second type of power supply when executing the third upgrade task.
[0015] Based on this design, upgrade tasks for devices powered by the first type of power supply and upgrade tasks for devices powered by the second type of power supply are executed alternately, that is, upgrade tasks for devices powered by the second type of power supply are executed in a decentralized manner, which reduces the duration of continuous power supply by the second type of power supply and can reduce dependence on the capacity of the second type of power supply. At the same time, when executing upgrade tasks for devices powered by the first type of power supply, charging the second type of power supply can prevent the second type of power supply from being in a discharged state. Timely replenishment of the power of the second type of power supply can ensure that the power of the second type of power supply can support the completion of the upgrade tasks corresponding to the second type of components. This increases the probability of successful upgrades of components in the vehicle and reduces the risk of vehicle unavailability due to component upgrade failures.
[0016] In one possible design, the multiple upgrade tasks for the first batch of components also include a fifth upgrade task, which upgrades the fifth component of the first type. During the execution of the fifth upgrade task, the second type of power source is not charged. This design reduces the number of times the second type of power source is charged, increasing the probability of a successful component upgrade and extending the service life of the second type of power source.
[0017] In one possible design, before executing the multiple upgrade tasks corresponding to the first batch of components, the method further includes determining that the power supply of the second type of power supply is insufficient to complete the upgrade task for the second type of component included in the multiple upgrade tasks corresponding to the first batch of components. Based on this design, if it is determined that the power supply of the second type of power supply is insufficient to complete the upgrade task for the second type of component, the second type of power supply will be charged while the first upgrade task is executed. This avoids wasted charging of the second type of power supply, reduces the number of times the second type of power supply needs to be charged, and increases the probability of a successful component upgrade while extending the service life of the second type of power supply.
[0018] In one possible design, during each charging of the second-type power source, the number of first-type component upgrade tasks performed is determined based on at least one of the following: the upgrade duration of each first-type component, the power level of the second-type power source, the charging efficiency of the second-type power source, and a preset power threshold, which limits the power level of the second-type power source after charging. This design ensures that the power level of the second-type power source is sufficient to complete the upgrade tasks corresponding to several second-type components during charging, thereby increasing the probability of successful component upgrades in the vehicle and reducing the risk of vehicle unavailability due to component upgrade failures.
[0019] In one possible design, after each charging of the second-type power supply, the number of second-type component upgrade tasks performed is determined based on at least one of the following: the upgrade duration of each second-type component, the power consumption corresponding to each second-type component upgrade (i.e., the power required to complete the upgrade of each second-type component), and the power level of the second-type power supply. This design ensures that the power level of the second-type power supply is sufficient to complete the corresponding second-type component upgrade tasks, thereby increasing the probability of successful component upgrades in the vehicle and reducing the risk of vehicle unavailability due to component upgrade failures.
[0020] In one possible design, before executing the multiple upgrade tasks corresponding to the second batch of components, the method further includes: determining whether the power level of the second type of power supply is sufficient to complete the upgrade tasks for the second type of components included in the multiple upgrade tasks corresponding to the second batch of components. Based on this design, if it is determined that the power level of the second type of power supply is sufficient to complete the upgrade tasks for the second type of components, the second type of power supply will not be charged while the first upgrade task is executed. This avoids wasted charging of the second type of power supply, reduces the number of times the second type of power supply needs to be charged, and increases the probability of a successful component upgrade while extending the service life of the second type of power supply.
[0021] In one possible design, before charging the second type of power supply during the execution of the first upgrade task, the method further includes: obtaining a power level of the second type of power supply; and determining whether the power level is less than or equal to a preset threshold. Based on this design, the second type of power supply is only charged when the power level is less than the preset threshold, thereby reducing the frequency of charging the second type of power supply. This improves the component upgrade success rate and extends the service life of the second type of power supply.
[0022] In one possible design, before the second type of power supply is deactivated during the fifth upgrade task, the method further includes: obtaining a charge level of the second type of power supply; and determining that the charge level is greater than a preset threshold. Based on this design, if the charge level of the second type of power supply is greater than the preset threshold, the second type of power supply is not charged, thereby reducing the frequency of charging the second type of power supply. This improves the component upgrade success rate and extends the service life of the second type of power supply.
[0023] In one possible design, charging the second type of power supply includes: charging the second type of power supply through the first type of power supply. Based on this design, directly charging the second type of power supply through the first type of power supply can reduce implementation complexity.
[0024] In one possible design, the component includes at least one of software and parts.
[0025] In one possible design, the component comprises a component of a vehicle.
[0026] In one possible design, the first type of power supply includes a power battery, and the second type of power supply includes a storage battery.
[0027] In one possible design, the upgrade tasks corresponding to the first type of components include upgrading at least one of the in-vehicle infotainment system, the automatic parking assistance system APA, and the vehicle controller VCU; the upgrade tasks corresponding to the second type of components include upgrading at least one of the battery management system BMS, the body controller BCM, the DC converter DCDC, the motor controller MCU, and the generator controller GCU.
[0028] Optionally, the upgrade task corresponding to the first type of component or the upgrade task corresponding to the second type of component also includes upgrading the electric tailgate PLG.
[0029] In a second aspect, a device is provided, which has the function of implementing the method described in the first aspect and any one of the designs thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In a possible example, the device includes an acquisition unit (or acquisition module) and a processing unit (or processing module); the acquisition unit is used to acquire multiple upgrade tasks corresponding to a first batch of components, the first batch of components including a first type of component and a second type of component, when the first type of component is upgraded, the device is powered by the first type of power supply, and when the second type of component is upgraded, the device is powered by the second type of power supply; the processing unit is used to execute the multiple upgrade tasks corresponding to the first batch of components respectively; wherein the multiple upgrade tasks corresponding to the first batch of components include a first upgrade task and a second upgrade task, the first upgrade task is a task for upgrading the first component of the first type, and the second upgrade task is a task for upgrading the second component of the second type; when executing the first upgrade task, the second type of power supply is charged.
[0030] In one possible design, the acquisition time of multiple upgrade tasks corresponding to the first batch of components is the first time period; the acquisition unit is also used to acquire multiple upgrade tasks corresponding to the second batch of components in the second time period, and the second batch of components includes components of the first type and components of the second type; the processing unit is also used to execute the multiple upgrade tasks corresponding to the second batch of components respectively; wherein the multiple upgrade tasks corresponding to the second batch of components include the first upgrade task and the second upgrade task; when executing the first upgrade task, the second type of power supply is not charged.
[0031] Optionally, in different time periods, the upgrade content included in the first upgrade task may be the same or different.
[0032] Optionally, in different time periods, the upgrade content included in the second upgrade task may be the same or different.
[0033] In one possible design, the upgrade tasks corresponding to the first batch of components also include a third upgrade task and a fourth upgrade task, the third upgrade task is a task of upgrading the third component of the first type, and the fourth upgrade task is a task of upgrading the fourth component of the second type; the processing unit is also used to execute the first upgrade task, the second upgrade task, the third upgrade task and the fourth upgrade task in sequence, and charge the second type of power supply when executing the third upgrade task.
[0034] In one possible design, the multiple upgrade tasks corresponding to the first batch of components also include a fifth upgrade task, which is a task of upgrading the fifth component of the first type; when executing the fifth upgrade task, the second type of power supply is not charged.
[0035] In one possible design, the processing unit is further used to determine that the power of the second type of power supply is unable to support the completion of the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components.
[0036] In one possible design, during each charging process of the second type of power supply, the number of tasks performed to upgrade the first type of components is determined based on at least one of the following: the upgrade duration of each first type of component, the power of the second type of power supply, the charging efficiency of the second type of power supply, and a preset power threshold, which is used to limit the power of the second type of power supply after charging.
[0037] In one possible design, after each charging of the second type of power supply, the number of tasks performed to upgrade the second type of components is determined based on at least one of the following: the upgrade duration of each second type of component, the power consumption corresponding to the upgrade of each second type of component, and the power rate of the second type of power supply.
[0038] In one possible design, the processing unit is further used to determine whether the power of the second type of power supply can support the completion of the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the second batch of components.
[0039] In one possible design, the acquisition unit is further used to obtain the power of the second type of power supply; the processing unit is further used to determine whether the power is less than or equal to a preset threshold.
[0040] In one possible design, the acquisition unit is further used to obtain the power of the second type of power supply; the processing unit is further used to determine whether the power is greater than a preset threshold.
[0041] In one possible design, the processing unit is further configured to charge the second type of power supply via the first type of power supply.
[0042] In one possible design, the component includes at least one of software and parts.
[0043] In one possible design, the component comprises a component of a vehicle.
[0044] In one possible design, the first type of power supply includes a power battery, and the second type of power supply includes a storage battery.
[0045] In one possible design, the upgrade tasks corresponding to the first type of components include upgrading at least one of the in-vehicle infotainment system, the automatic parking assistance system APA, and the vehicle controller VCU; the upgrade tasks corresponding to the second type of components include upgrading at least one of the battery management system BMS, the body controller BCM, the DC converter DCDC, the motor controller MCU, and the generator controller GCU.
[0046] Optionally, the upgrade task corresponding to the first type of component or the upgrade task corresponding to the second type of component also includes upgrading the electric tailgate PLG.
[0047] In a third aspect, a device is provided, comprising a processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and the processor reads the computer instructions from the memory so that the device executes the method described in the first aspect and any one of the designs thereof.
[0048] In one possible design, the device further includes a communication interface that can be used for the device to communicate with other devices (such as a server, etc.). Exemplarily, the communication interface can be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuits.
[0049] In a fourth aspect, a computer-readable storage medium is provided, which includes a computer program or instructions. When the computer program or instructions are run on a device, the device executes the method described in the first aspect and any one of the designs thereof.
[0050] In a fifth aspect, a computer program product is provided. When the computer program product is run on a computer, the computer can execute the method described in the first aspect and any one of the designs thereof.
[0051] In a sixth aspect, a circuit system is provided, the circuit system including a processing circuit, and the processing circuit is configured to execute the method described in any one of the designs of the first aspect above.
[0052] In the seventh aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the method described in the first aspect and any one of the designs therein.
[0053] It should be noted that the technical effects brought about by any design in the above-mentioned second to seventh aspects can refer to the technical effects brought about by the corresponding design in the first or second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] FIG1 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0055] FIG2 is a schematic structural diagram of a vehicle provided in an embodiment of the present application;
[0056] FIG3 is a schematic structural diagram of a device provided in an embodiment of the present application;
[0057] FIG4 is a flow chart of a component upgrade method provided in an embodiment of the present application;
[0058] FIG5 is a flow chart of another component upgrade method provided in an embodiment of the present application;
[0059] FIG6 is a schematic diagram of a component upgrade scenario provided in an embodiment of the present application;
[0060] FIG7 is a schematic structural diagram of another device provided in an embodiment of the present application;
[0061] FIG8 is a schematic structural diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In the description of this application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
[0063] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, a, b, and c, where a, b, and c can be single or plural.
[0064] In addition, to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first" and "second" do not limit the quantity or execution order, and the words "first" and "second" do not necessarily mean different.
[0065] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.
[0066] The features, structures, or characteristics of this application may be combined in any suitable manner in one or more embodiments. In the various embodiments of this application, the order of the sequence numbers of the processes does not necessarily indicate the order of execution. The order of execution of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation of the embodiments of this application.
[0067] Some optional features in the embodiments of the present application can be implemented independently in certain scenarios without relying on other features to solve corresponding technical problems and achieve corresponding effects. They can also be combined with other features in certain scenarios as needed.
[0068] In this application, unless otherwise specified, the same or similar parts between the various embodiments can be referenced to each other. In the various embodiments of this application, unless otherwise specified and there is no logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships. The implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0069] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0070] Currently, when upgrading vehicle components via OTA technology, the vehicle typically establishes a connection with a server via a wireless communication network and downloads the upgrade package from the server. A component in the vehicle then acts as an agent, sending the upgrade package to each component, completing the upgrade. However, some vehicle components must be upgraded while powered solely by the battery. If the battery charge is insufficient to complete the component upgrade, the upgrade may be interrupted, resulting in component damage or unusability, which could affect the vehicle's usability.
[0071] To solve the above technical problems, one solution is to test the battery power before upgrading the vehicle's parts. Upgrading the vehicle's parts is only allowed when the battery power is greater than a certain threshold (for example, 50%). However, this solution does not take into account the situation where the vehicle's battery power may drop sharply due to loss (or aging, etc.). In this scenario, even if the battery power is greater than a threshold, it may not be enough to support the completion of the parts upgrade process, and the parts upgrade may be interrupted. Therefore, this solution cannot solve the above technical problems.
[0072] Another solution is to split the component upgrade task into multiple shorter tasks on the server, then distribute these tasks to the vehicle separately, allowing the user to perform multiple upgrades. However, this solution requires the user to perform multiple upgrades on the vehicle, consuming their time and energy and causing inconvenience. Furthermore, this solution increases the number of vehicle upgrades and may also introduce the risk of upgrade failures.
[0073] Based on this, an embodiment of the present application provides a component upgrade method, which, when executing the upgrade task corresponding to the first type of component and the upgrade task corresponding to the second type of component, cross-executes the upgrade task corresponding to the first type of component and the upgrade task corresponding to the second type of component, and charges the battery when executing the upgrade task corresponding to the first type of component. When executing the upgrade task corresponding to the first type of component, the vehicle is powered by the power battery, and when executing the upgrade task corresponding to the second type of component, the vehicle is powered by the battery. In this way, the upgrade tasks corresponding to the second type of component are executed in a dispersed manner, which reduces the duration of continuous power supply by the battery and reduces the dependence on the battery capacity. At the same time, when executing the upgrade task corresponding to the first type of component, charging the battery can avoid the battery being in a discharged state all the time, replenishing the battery's power in time, and ensuring that the battery's power can support the completion of the upgrade task corresponding to the second type of component. The probability of successful upgrade of components in the vehicle is increased, and the risk of vehicle unavailability due to failure of component upgrade is reduced.
[0074] For example, Figure 1 shows a schematic diagram of the architecture of a communication system for a component upgrade method provided in an embodiment of the present application. As shown in Figure 1 , the communication system 10 includes an upgrade device 101 and a service device 102 .
[0075] The upgrade device 101 includes one or more components. Exemplarily, the components may include, but are not limited to, one or more of software, hardware, a combination of software and hardware, and parts. Optionally, the parts may be parts in a vehicle or parts in other devices. The upgrade device 101 may perform upgrade operations on the one or more components based on user operations or system settings. Exemplarily, the upgrade device 101 may include, but is not limited to, various devices such as vehicles, mobile phones, wearable devices, network devices, augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, in-vehicle devices, and / or smart city devices. Vehicles may include, but are not limited to, cars, sedans, trucks, motorcycles, buses, boats, airplanes, helicopters, lawn mowers, recreational vehicles, amusement park vehicles, construction equipment, trams, golf carts, trains, and carts. In some embodiments, the upgrade device 101 may be a fixed device or a portable device.
[0076] Optionally, the service device 102 may be a device that can provide corresponding upgrade tasks for components in the upgrade device 101, and the upgrade tasks can be used to upgrade the corresponding components. For example, the upgrade tasks may include but are not limited to component upgrade files, etc. Exemplarily, the service device 102 may include but is not limited to various devices such as mobile phones, tablet computers, artificial intelligence (AI) devices, smart city devices, servers, etc. Exemplarily, the server may be a device or server with computing functions such as a cloud server or a network server. The server may be a single server, a server cluster consisting of multiple servers, or a cloud computing service center. In some embodiments, the service device 102 may be a fixed device or a portable device.
[0077] Optionally, the service device 102 and the upgrade device 101 may be devices of the same type or may be devices of different types.
[0078] Optionally, the operating systems installed on the upgrade device 101 and the service device 102 may include but are not limited to: This application does not limit the specific types of the upgrade device 101 and the service device 102, nor the installed operating systems.
[0079] Optionally, the upgrade device 101 and the service device 102 may establish a communication connection via wired communication technology and / or wireless communication technology. Exemplary wireless communication technologies include, but are not limited to, at least one of the following: near field communication (NFC), Bluetooth (BT) (e.g., traditional Bluetooth or Bluetooth low energy (BLE)), wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) networks), Zigbee, frequency modulation (FM), infrared (IR), and a wide area network (WAN) relayed via a relay device.
[0080] Exemplarily, when the wireless communication technology is the above-mentioned wide area network, the wireless communication technology can be a third-generation wireless telephone technology (3G) network, a fourth-generation mobile communication technology (4G) network, a fifth-generation mobile communication technology (5G) network, a future evolved public land mobile network (PLMN) or the Internet, etc.
[0081] Optionally, FIG1 is a simplified schematic diagram for ease of understanding. In actual applications, the above system may further include other devices, which are not shown in the figure.
[0082] Taking the upgrade device 101 as a vehicle as an example, FIG2 shows a structural schematic diagram of a vehicle 100 provided in an embodiment of the present application.
[0083] The vehicle 100 may include various subsystems, such as a travel system 110, a sensor system 120, a control system 130, one or more peripheral devices 140, a power source 150, a computer system 160, and a user interface 170. Alternatively, the vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and component of the vehicle 100 may be interconnected via wired or wireless connections.
[0084] The propulsion system 110 includes components that provide powered motion for the vehicle 100. In one embodiment, the propulsion system 110 includes an engine 111, a transmission 112, an energy source 113, and wheels 114. The engine 111 converts the energy source 113 into mechanical energy. Examples of energy source 113 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. The energy source 113 can also provide energy for other systems of the vehicle 100. The transmission 112 can transmit the mechanical power from the engine 111 to the wheels 114.
[0085] The sensor system 120 may include several sensors that sense information about the environment surrounding the vehicle 100. For example, the sensor system 120 includes a positioning system 121 (the positioning system may be a global positioning system (GPS), a BeiDou system, or other positioning systems), an inertial measurement unit (IMU) 122, a radar 123, a lidar 124, and a camera 125.
[0086] The control system 130 may control the operation of the vehicle 100 and its components. The control system 130 may include various elements, such as a steering system 131 , a throttle 132 , a brake unit 133 , a computer vision system 134 , a path control system 135 , and an obstacle avoidance system 136 .
[0087] The steering system 131 is operable to adjust the forward direction of the vehicle 100. For example, in one embodiment, it may be a steering wheel system.
[0088] The throttle 132 is used to control the operating speed of the engine 111 and, in turn, the speed of the vehicle 100 .
[0089] The braking unit 133 is used to control the vehicle 100 to decelerate.
[0090] Computer vision system 134 may be operable to process and analyze images captured by camera 125 to identify objects and / or features in the environment surrounding vehicle 100 , as well as physical and facial features of a driver within the vehicle cabin.
[0091] The route control system 135 is used to determine the driving route of the vehicle 100 .
[0092] The obstacle avoidance system 136 is used to identify, assess, and avoid or otherwise negotiate potential obstacles in the environment of the vehicle 100 .
[0093] Of course, in one example, the control system 130 may include additional or alternative components other than those shown and described, or may also include a portion of the components shown above.
[0094] Vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users via peripheral devices 140. Peripheral devices 140 may include a wireless communication system 141, an onboard computer 142, a microphone 143, and / or a speaker 144. In some embodiments, peripheral devices 140 provide a means for a user of vehicle 100 to interact with user interface 170.
[0095] The wireless communication system 141 can communicate with one or more devices wirelessly directly or via a communication network. In some embodiments of the present application, the wireless communication system 141 can be used to receive upgrade tasks of one or more components from the service device 102.
[0096] The power supply 150 can provide power to various components of the vehicle 100. In some embodiments of the present application, the power supply 150 includes a first type of power supply and a second type of power supply. In some embodiments, the first type of power supply can be a large-capacity battery, such as a large-capacity battery can include a power battery. The power battery has a large capacity and can be used to drive the vehicle 100 for a long time and provide power to the components in the vehicle 100. The second type of power supply can be a small-capacity battery. For example, a small-capacity battery can include a storage battery. The capacity of the storage battery is small. When the storage battery alone powers the vehicle 100, the power supply time that the storage battery can support is about 15 to 60 minutes. In the case of aging of the battery, the power supply time that the battery can support may be shorter.
[0097] Some or all functions of the vehicle 100 are controlled by a computer system 160. The computer system 160 may include at least one processor 161 that executes instructions 1621 stored, for example, in a data storage device 162. The computer system 160 may also be a plurality of computing devices that control individual components or subsystems of the vehicle 100 in a distributed manner.
[0098] Processor 161 can be any conventional processor, such as a CPU or ASIC or other hardware-based processor's dedicated equipment. Although Fig. 2 functionally illustrates a processor, data storage device and other elements in the same physical housing, those skilled in the art will appreciate that the processor, computer system, or data storage device can actually include multiple processors, computer systems, or data storage devices stored in the same physical housing, or can include multiple processors, computer systems, or data storage devices stored in different physical housings. For example, the data storage device can be a hard drive, or can be located at other storage media different from the physical housing. Therefore, reference to a processor or computer system will be understood to include reference to a set of processors or computer systems or data storage devices that can operate in parallel, or reference to a set of processors or computer systems or data storage devices that can not operate in parallel. Different from using a single processor to perform the steps described herein, each of some components such as steering assembly and deceleration assembly can have its own processor, and the processor only performs the calculation related to the function specific to the component.
[0099] In various aspects described herein, the processor can be located remotely from the vehicle and in wireless communication with the vehicle. In other aspects, some of the processes described herein are performed on a processor disposed within the vehicle while others are performed by a remote processor, including taking the necessary steps to perform a single maneuver.
[0100] In some embodiments of the present application, the processor 161 may further include an OTA controller, which may be used to upgrade components in the vehicle 100 using an OTA approach.
[0101] In some embodiments, data storage device 162 may include instructions 1621 (e.g., program logic) that may be executed by processor 161 to perform various functions of vehicle 100, including those described above. Data storage device 162 may also include additional instructions, including instructions for sending data to, receiving data from, interacting with, and / or controlling one or more of travel system 110, sensor system 120, control system 130, and peripherals 140.
[0102] In addition to the instructions 1621, the data storage device 162 may also store data such as road maps, route information, the vehicle's location, direction, speed, and other such vehicle data, as well as other information. This information may be used by the vehicle 100 and the computer system 160 during operation of the vehicle 100 in autonomous, semi-autonomous, and / or manual modes.
[0103] The user interface 170 is used to provide information to or receive information from a user of the vehicle 100 .
[0104] Computer system 160 may control vehicle 100 based on information acquired from various subsystems (eg, travel system 110 , sensor system 120 , and control system 130 ) and information received from user interface 170 .
[0105] Alternatively, one or more of the above components may be installed or associated separately from the vehicle 100. For example, the data storage device 162 may be partially or completely separate from the vehicle 100. The above components may be coupled together for communication via wired and / or wireless means.
[0106] Optionally, the above components are only an example. In actual applications, the components in the above modules may be added or deleted according to actual needs. Figure 2 should not be understood as a limitation to the embodiments of the present application.
[0107] The above only uses a vehicle as an example to illustrate the structure of the upgrade device 101 in the embodiment of the present application, but does not constitute a limitation on the structure and form of the upgrade device 101. The embodiment of the present application does not limit the structure and form of the upgrade device 101.
[0108] Exemplarily, the upgrade device 101 may also be implemented by the upgrade device shown in FIG3 . FIG3 is a schematic diagram of the structure of another upgrade device provided in an embodiment of the present application. The upgrade device 101 includes at least one processor 301 , a communication line 302 , a memory 303 , and at least one communication interface 304 .
[0109] The processor 301 can be a general-purpose CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.
[0110] The communication link 302 may include a pathway for transmitting information between the aforementioned components.
[0111] Communication interface 304 is used to communicate with other devices. In embodiments of the present application, communication interface 304 may be a module, circuit, bus, interface, transceiver, or other device capable of implementing communication functions. Optionally, when the communication interface is a transceiver, the transceiver may be a standalone transmitter that can be used to send information to other devices, or a standalone receiver that can be used to receive information from other devices. The transceiver may also be a component that integrates the functions of sending and receiving information. Embodiments of the present application do not limit the specific implementation of the transceiver.
[0112] The memory 303 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer. The memory 303 may exist independently and be connected to the processor 301 via the communication line 302. The memory 303 may also be integrated with the processor 301.
[0113] The memory 303 is used to store computer-executable instructions for implementing the solution of the present application. The processor 301 is used to execute the computer-executable instructions stored in the memory 303, thereby implementing the method provided by the embodiment of the present application.
[0114] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer programs or other names, which are not specifically limited in the embodiments of the present application.
[0115] In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 3 .
[0116] In a specific implementation, as an example, the upgrade device 101 may include multiple processors, such as processor 301 and processor 305 in FIG3 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0117] The aforementioned upgrade device 101 may be a general device or a dedicated device, and the embodiment of the present application does not limit the type of the upgrade device 101 .
[0118] In other embodiments of the present application, the upgrade device 101 may include more or fewer components than those shown in Figures 2 and 3, or may combine certain components, separate certain components, replace certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0119] The technical solutions involved in the following embodiments can all be implemented in devices having the structures shown in Figures 2 and 3.
[0120] It is understood that in the following embodiments, a device may perform some or all of the steps in the embodiments of the present application. These steps or operations are merely examples, and the embodiments of the present application may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be performed.
[0121] For example, consider a vehicle as the upgrade device and its components. In some embodiments, the vehicle can charge its battery while upgrading components that require power from the power battery. This prevents the battery from being permanently discharged and allows for timely replenishment. Furthermore, when upgrading components that require power from the power battery, the battery's charge is sufficient to complete the upgrade. This increases the probability of a successful component upgrade and reduces the risk of vehicle unavailability due to a failed component upgrade.
[0122] For example, FIG4 shows a flow chart of a component upgrade method provided in an embodiment of the present application. As shown in FIG4 , the method includes the following steps:
[0123] S401: The vehicle obtains an upgrade task corresponding to component 1 and an upgrade task corresponding to component 2.
[0124] The upgrade task corresponding to component 1 can be used to upgrade component 1. During the upgrade of component 1, the vehicle can be powered by a power battery, etc. The upgrade task corresponding to component 2 can be used to upgrade component 2. During the upgrade of component 2, the vehicle can be powered by a storage battery, etc.
[0125] It is understandable that since some components in the vehicle are unusable during the upgrade process, or for safety reasons, these components need to be powered by a power source such as a battery during the upgrade.
[0126] Optionally, the vehicle may include one or more components of the same type as component 1, i.e., components that require power from a power battery or the like during the upgrade. Similarly, the vehicle may also include one or more components of the same type as component 2, i.e., components that require power from a storage battery or the like during the upgrade.
[0127] Optionally, the upgrade task corresponding to component 1 and the upgrade task corresponding to component 2 can be obtained by the vehicle at the same time. For example, the vehicle can obtain the upgrade task corresponding to component 1 and the upgrade task corresponding to component 2 from a service device such as that shown in FIG1 .
[0128] S402: The vehicle executes the upgrade task corresponding to component 1 and charges the battery at the same time.
[0129] S403: The vehicle executes the upgrade task corresponding to component 2.
[0130] It will be appreciated that the embodiment depicted in FIG4 is based on an example in which the upgrade device is a vehicle and the components are vehicle parts. In other embodiments, the upgrade device may be another device, such as a mobile phone, and the components may be components within such another device. Similarly, in other embodiments, the power battery may be another power source capable of providing long-term power to the device, and the storage battery may be another power source capable of providing short-term power to the device.
[0131] Hereinafter, power supplies capable of providing long-term power to a device will be referred to as "first-type power supplies," and power supplies capable of providing short-term power to a device will be referred to as "second-type power supplies." Components requiring power from the first-type power supply during an upgrade will be referred to as "first-type components," while components requiring power from the second-type power supply during an upgrade will be referred to as "second-type components." In other words, components requiring power from the first-type power supply during an upgrade will be referred to as "first-type components," while components requiring power from the second-type power supply during an upgrade will be referred to as "second-type components."
[0132] For example, FIG5 shows a flow chart of another component upgrade method provided in an embodiment of the present application, which is applied to a device. For example, the device can be the upgrade device described above, or it can be a processor in the upgrade device. The method includes the following steps:
[0133] S501: Obtain multiple upgrade tasks corresponding to the first batch of components.
[0134] In some embodiments, the first batch of components includes components of the first type and components of the second type. Optionally, the number of components of the first type included in the first batch of components may be one or more, and the number of components of the second type may also be one or more.
[0135] In some embodiments, each component in the first batch of components has a one-to-one correspondence with multiple upgrade tasks corresponding to the first batch of components, that is, there is a one-to-one correspondence between the components and the upgrade tasks, and the components can be upgraded according to the upgrade tasks corresponding to each component.
[0136] Exemplarily, the upgrade tasks corresponding to the first type of components may include upgrading at least one of an in-vehicle infotainment system, an automatic parking assist system (APA), and a vehicle control unit (VCU).
[0137] The upgrade tasks corresponding to the second type of components may include upgrading at least one of the battery management system (BMS), body control module (BCM), direct current to direct current (DCDC), motor control unit (MCU), and generator control unit (GCU).
[0138] Optionally, the upgrade task corresponding to the first type of component or the upgrade task corresponding to the second type of component may further include upgrading a power lift gate (PLG) and the like.
[0139] S502: Execute multiple upgrade tasks corresponding to the first batch of components respectively.
[0140] In some embodiments, the multiple upgrade tasks corresponding to the first batch of components include a first upgrade task and a second upgrade task. The first upgrade task is a task for upgrading a first component of a first type (e.g., component 1 described above), and the second upgrade task is a task for upgrading a second component of a second type (e.g., component 2 described above). While executing the first upgrade task, the second type of power supply is charged.
[0141] Exemplarily, charging the second type of power supply may include, but is not limited to, using the first type of power supply to charge the second type of power supply.
[0142] Based on the above technical solution, the second type of power supply can be charged while the first upgrade task is being performed. This prevents the second type of power supply from being permanently discharged, allowing the power of the second type of power supply to be replenished in a timely manner, ensuring that the power of the second type of power supply is sufficient to complete the task of upgrading the second type of components, such as the second upgrade task. This increases the probability of successfully upgrading the second type of components, such as parts in the vehicle, and reduces the risk of vehicle unavailability due to component upgrade failures.
[0143] In some embodiments, before executing step S502, it is also possible to determine whether the second type of power supply is aging, the degree of aging of the second type of power supply, whether the power of the second type of power supply can support the completion of the tasks of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components. Optionally, the power of the second type of power supply can be the current power of the second type of power supply or the power of the second type of power supply when fully charged. Optionally, the tasks of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components can refer to all the tasks of upgrading the second type of components or to some of the tasks of upgrading the second type of components.
[0144] For example: when it is determined that the second type of power supply is aging, and / or the aging degree of the second type of power supply is greater than or equal to a preset degree threshold, and / or the power of the second type of power supply is unable to support the completion of the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components, the above step S502 is executed.
[0145] If it is determined that the second type of power supply has not aged, and / or the degree of aging of the second type of power supply is less than a preset threshold, and / or the power of the second type of power supply is sufficient to complete the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components, then step S502 may not be performed. For example, the non-interleaved execution scheme described below may be used to execute the multiple upgrade tasks corresponding to the first batch of components.
[0146] For example, the capacity and energy storage capacity of the second type of power supply can be judged based on the power and resistance parameters of the second type of power supply, and then whether the second type of power supply has aged and / or the degree of aging of the second type of power supply can be determined. The embodiments of the present application do not impose any restrictions on the specific methods of determining whether the second type of power supply has aged and determining the degree of aging of the second type of power supply.
[0147] Exemplarily, when judging whether the power of the second type of power supply can support the completion of the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components, it can be determined based on at least one of the number of second type components included in the first batch of components, the upgrade time of each second type component, the power consumption for completing the upgrade of each second type component, the discharge efficiency of the second type of power supply, etc.
[0148] In some embodiments, when performing a task of upgrading a first type of component, before charging the second type of power supply, it may be determined whether to charge the second type of power supply based on the power level of the second type of power supply.
[0149] In a specific example, whether to charge the second type of power supply can be determined based on the power level of the second type of power supply and a preset threshold. For example, before executing the task of upgrading the first type of component, the power level of the second type of power supply is obtained. Optionally, the power level can be the current power level of the second type of power supply. When the power level is greater than the preset threshold, it can be determined not to charge the second type of power supply. Conversely, when the power level is less than or equal to the preset threshold, it can be determined to charge the second type of power supply. In this way, the second type of power supply will only be charged when the power level of the second type of power supply is less than the preset threshold, which can reduce the frequency of charging the second type of power supply. While improving the success rate of component upgrades, the service life of the second type of power supply is extended.
[0150] For example, before executing the first upgrade task, the amount of electricity of the second type of power supply may be obtained. If it is determined that the amount of electricity is less than or equal to a preset threshold, the second type of power supply may be charged.
[0151] For another example, the multiple upgrade tasks corresponding to the first batch of components may also include a fifth upgrade task, which is a task for upgrading the fifth component of the first type. During the execution of the fifth upgrade task, the power level of the second type of power supply may also be obtained. If the power level is determined to be greater than a preset threshold, the second type of power supply is not charged.
[0152] For another example, the acquisition time for the multiple upgrade tasks corresponding to the first batch of components may be a first time period. Alternatively, multiple upgrade tasks corresponding to a second batch of components may be acquired during a second time period. The second batch of components includes components of the first type and components of the second type, and the multiple upgrade tasks corresponding to the second batch of components are executed separately. The multiple upgrade tasks corresponding to the second batch of components also include the first upgrade task and the second upgrade task. While executing the first upgrade task, the power level of the second type of power supply may also be acquired. If the power level is determined to be greater than a preset threshold, power is not supplied to the second type of power supply.
[0153] Optionally, the upgrade contents included in the first upgrade tasks obtained at different time periods may be the same or different. Similarly, the upgrade contents included in the second upgrade tasks obtained at different time periods may be the same or different.
[0154] For example, the preset threshold can be determined based on at least one of the upgrade duration of the second type of component, the discharge efficiency of the second type of power supply, and the capacity of the second type of power supply. Alternatively, the preset threshold can be directly set to a higher value, such as 80% or 90%. The specific value of the preset threshold can be set by the developer based on actual needs and is not specifically limited in this application.
[0155] Optionally, in this embodiment, if the power level of the second type of power supply is less than or equal to a preset threshold, the second type of power supply may not be charged. For example, when performing multiple tasks of upgrading first type components and second type components in sequence, if the last task was to upgrade the first type of components, then since all second type components have already been upgraded, the second type of power supply may not be charged during the last task of upgrading the first type of components.
[0156] In other embodiments, the second type of power supply can be charged while the task of upgrading the first type of component is being performed. In other words, the aforementioned determination of whether to charge the second type of power supply based on the power level of the second type of power supply can be omitted. This ensures that the power level of the second type of power supply is always high, thereby ensuring that the power level of the second type of power supply can support the upgrade process of the second type of component, thereby increasing the probability of a successful upgrade of the second type of component.
[0157] For example, the upgrade tasks for the first batch of components also include a third upgrade task and a fourth upgrade task. The third upgrade task upgrades the third component of the first type, and the fourth upgrade task upgrades the fourth component of the second type. The first, second, third, and fourth upgrade tasks are executed sequentially. While the first and third upgrade tasks are executing, the second type of power supply is charged.
[0158] Similarly, in this embodiment, the second type of power supply may not be charged. For example, when performing multiple tasks of upgrading first type components and second type components in sequence, if the last task was to upgrade the first type of components, then since all second type components have already been upgraded, the second type of power supply may not be charged during the last task of upgrading the first type of components.
[0159] Optionally, when performing multiple tasks of upgrading components of the first type and tasks of upgrading components of the second type in sequence, the embodiment of the present application does not specifically limit whether the first upgrade task performed is a task of upgrading several components of the first type or a task of upgrading several components of the second type.
[0160] In some scenarios, the first upgrade task performed may be a task of upgrading several components of the first type. For example, when the current power of the second type of power supply is less than the above-mentioned preset threshold, or is insufficient to support the completion of the task of upgrading several components of the second type, the task of upgrading several components of the first type may be performed first.
[0161] In other scenarios, the upgrade task executed for the first time may be a task of upgrading several components of the second type. For example, when the current power of the second type of power supply is greater than or equal to the above-mentioned preset threshold, or is sufficient to support the completion of the task of upgrading several components of the second type, the task of upgrading several components of the second type may be performed first.
[0162] In some embodiments, the task of upgrading the first type of component and the task of upgrading the second type of component can be interspersed. For example: perform the task of upgrading the first type of component once, then perform the task of upgrading the second type of component once, then perform the task of upgrading the second type of component again, and so on, until all components to be upgraded are upgraded. In this way, the upgrade task of the device powered by the first type of power supply and the upgrade task of the device powered by the second type of power supply are executed alternately, that is, the upgrade task of the device powered by the second type of power supply is executed in a decentralized manner, which can reduce the dependence on the large capacity of the second type of power supply and reduce the duration of continuous power supply of the second type of power supply.
[0163] In some embodiments, when performing multiple tasks of upgrading components of the first type and tasks of upgrading components of the second type in sequence, the number of upgrade tasks included in the tasks of upgrading components of the first type performed at different times may be the same or different. For example, the task of upgrading components of the first type is performed three times, wherein the first task of upgrading components of the first type includes three upgrade tasks, namely, tasks for upgrading component 1, component 2, and component 3; the second task of upgrading components of the first type includes two upgrade tasks, namely, tasks for upgrading component 4 and component 5; the third task of upgrading components of the first type includes two upgrade tasks, namely, tasks for upgrading component 6 and component 7.
[0164] Similarly, the number of upgrade tasks included in different executions of the second-type component upgrade task can be the same or different. For example, if the second-type component upgrade task is executed twice, the first execution of the second-type component upgrade task includes one upgrade task for component 8, and the second execution of the second-type component upgrade task includes one upgrade task for component 9.
[0165] In some embodiments, when executing a task to upgrade a second-type component, the number of upgrade tasks included can be relatively small, such as one upgrade task, two upgrade tasks, and so on. Thus, when executing an upgrade task that requires power from the second-type power supply, executing a smaller number of upgrade tasks at a time can reduce reliance on the capacity of the second-type power supply and shorten the duration of continuous power supply from the second-type power supply. This allows the second-type power supply, which may be experiencing aging, to support the completion of the upgrade tasks corresponding to the second-type components. This increases the probability of successful component upgrades in the vehicle and reduces the risk of vehicle unavailability due to component upgrade failures.
[0166] In other embodiments, the number of upgrade tasks included in each execution of the task of upgrading the second type of components can also be determined based on at least one of the following: the upgrade duration of each second type of component, the power consumption corresponding to each second type of component upgrade, the power of the second type of power supply, the discharge efficiency of the second type of power supply, etc. Optionally, the power of the second type of power supply can be the power before the task of upgrading the second type of components is executed. Based on this design, the number of upgrade tasks corresponding to the second type of components executed each time can also be determined based on the upgrade duration of each second type of component, the power consumption corresponding to each second type of component upgrade, the power of the second type of power supply, the charging efficiency of the second type of power supply, etc. In this way, it can be ensured that the power of the second type of power supply can support the completion of the upgrade tasks corresponding to these second type of components, thereby increasing the probability of successful component upgrades in the vehicle and reducing the risk of vehicle unavailability due to component upgrade failures.
[0167] In some embodiments, when executing a task to upgrade a first-type component, the number of upgrade tasks included can be relatively large, such as three upgrade tasks, four upgrade tasks, etc. Thus, when executing an upgrade task that requires power from the first-type power source, executing a larger number of upgrade tasks simultaneously can increase the charging time of the second-type power source, thereby ensuring that the power of the second-type power source can support the completion of the upgrade tasks corresponding to the second-type components. This increases the probability of successful component upgrades in the vehicle and reduces the risk of vehicle unavailability due to component upgrade failures.
[0168] In other embodiments, the number of upgrade tasks included in each execution of a first-type component upgrade task can also be determined based on at least one of the following: the upgrade duration of each first-type component, the power level of the second-type power supply, the charging efficiency of the second-type power supply, a preset power threshold, the power consumption corresponding to the upgrade of each second-type component, the upgrade duration of each second-type component, the discharge efficiency of the second-type power supply, etc. The preset power threshold can be used to limit the amount of power after the second-type power supply is charged. That is, when the power level of the second-type power supply reaches the preset power threshold, charging of the second-type power supply can be stopped. In this way, the number of first-type component upgrade tasks performed each time is determined based on at least one of the upgrade duration of each first-type component, the power level of the second-type power supply, the charging efficiency of the second-type power supply, the preset power threshold, etc. This ensures that when the second-type power supply is charged, the power level of the second-type power supply is sufficient to support the completion of the upgrade tasks corresponding to several second-type components, thereby increasing the probability of successful component upgrades in the vehicle and reducing the risk of vehicle unavailability due to component upgrade failures.
[0169] Optionally, when executing a task to upgrade a first-type component, if the second-type power supply is being charged, the duration of executing the first-type component upgrade and the duration of charging the second-type power supply may be the same or different. In some embodiments, the total number of tasks to upgrade the first-type components and the total number of tasks to upgrade the second-type components executed may be determined based on at least one of the total number of upgrade tasks corresponding to the first-type components and the total number of upgrade tasks corresponding to the second-type components, the number of upgrade tasks included in each execution of the first-type component upgrade task, and the number of upgrade tasks included in each execution of the second-type component upgrade task.
[0170] As a specific example, suppose there are 16 upgrade tasks corresponding to components of the first type and 4 upgrade tasks corresponding to components of the second type. You can first execute the upgrade task corresponding to the component of the second type. Then execute the upgrade tasks corresponding to the 4 components of the first type while charging the second type of power supply. Next, execute the upgrade task corresponding to the component of the second type. Then execute the upgrade tasks corresponding to the 4 components of the first type while charging the second type of power supply. Next, execute the upgrade task corresponding to the component of the second type. Then execute the upgrade tasks corresponding to the 4 components of the second type while charging the second type of power supply. Finally, execute the upgrade task corresponding to the component of the second type. Then execute the upgrade tasks corresponding to the 4 components of the second type while charging the second type of power supply. At this point, all upgrade tasks have been completed.
[0171] FIG6 illustrates another example provided by an embodiment of the present application, taking as an example a case where the first type of components includes an in-vehicle infotainment system, APA, and VCU, the second type of components includes a BCM, PLG, and DCDC, and the second type of power supply includes a battery. As shown in FIG6 , a 5-minute upgrade task corresponding to the BMS is executed, during which the battery discharges for 5 minutes. Next, a 20-minute upgrade task corresponding to the in-vehicle infotainment system is executed, during which the battery charges for 20 minutes. Next, a 3-minute upgrade task corresponding to the BCM is executed, during which the battery discharges for 3 minutes. Next, a 20-minute upgrade task corresponding to the APA is executed, during which the battery charges for 20 minutes. Next, a 4-minute upgrade task corresponding to the PLG is executed, during which the battery discharges for 4 minutes. Next, a 4-minute upgrade task corresponding to the VCU is executed, during which the battery charges for 4 minutes. Finally, a 6-minute upgrade task corresponding to the DCDC is executed, during which the battery discharges for 6 minutes.
[0172] In other embodiments, the tasks of upgrading the first type of components and the tasks of upgrading the second type of components may not be interspersed, for example, all the tasks of upgrading the first type of components are executed first, and then all the tasks of upgrading the second type of components are executed.
[0173] During the execution of all the tasks for upgrading the second type of components, if it is determined that the power of the second type of power supply is insufficient to support the completion of the remaining tasks for upgrading the second type of components, the second type of power supply can be charged. After charging is completed, the remaining tasks for upgrading the second type of components can continue to be executed. Optionally, the second type of power supply can be charged once or multiple times, which is not limited in the embodiments of the present application. In this way, it can be ensured that the power of the second type of power supply is sufficient to support the completion of the upgrade tasks corresponding to the second type of components, thereby increasing the probability of successful component upgrades in the vehicle and reducing the risk of vehicle unavailability due to component upgrade failures.
[0174] Optionally, in this embodiment, the duration of each charging of the second type power supply can also be determined based on at least one of the upgrade duration of each second type component, the power consumption corresponding to the upgrade of each second type component, the power of the second type power supply, the discharge efficiency of the second type power supply, the charging efficiency of the second type power supply, a preset power threshold, etc.
[0175] In some embodiments, the upgrade solution can be determined based on different scenarios. For example, during the daytime, due to the high user demand for the device, it may be desirable to upgrade all components in a shorter time. In this case, the staggered execution solution can be adopted, that is, each upgrade task can be completed in a shorter time.
[0176] Another example: In a nighttime scenario, since the user's demand for using the device is relatively small, there are not too many requirements for the time it takes to complete the component upgrade. In this case, the above-mentioned non-interleaved execution solution can be adopted. Of course, the above-mentioned interleaved execution solution can also be adopted. Of course, in this scenario, when the interleaved execution solution is adopted, the upgrade tasks corresponding to the first type of components and the operation of charging the second type of power supply can also be executed non-synchronously, and can also be executed one after another. For example: after completing the upgrade tasks corresponding to several first type components, charge the second type of power supply. Then, execute several upgrade tasks corresponding to the second type of components.
[0177] It will be appreciated that the above embodiments are based on the example of upgrading both the first and second type components. In other embodiments, it is possible that only the second type components require upgrading. In such cases, the above non-interleaved execution scheme can also be used to upgrade these second type components.
[0178] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method. It is understandable that, in order to realize the above functions, the device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in this application, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer-driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present application.
[0179] The present application is an embodiment that can divide the functional modules of the device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0180] FIG7 is a schematic diagram of the structure of a device provided in an embodiment of the present application. The device 600 can be used to implement the methods described in the above method embodiments. Optionally, the device can be the upgrade device 101 shown in FIG1 , or a module (such as a chip) applied to the upgrade device 101. Exemplarily, the device 600 can specifically include: an acquisition unit 601 and a processing unit 602.
[0181] The acquisition unit 601 is used to support the device 600 to execute any acquisition function in FIG. 1 to FIG. 6 .
[0182] The processing unit 602 is used to support the device 600 to perform any processing function in Figures 1 to 6.
[0183] Optionally, the device 600 shown in FIG7 may further include a communication unit 603, wherein the communication unit 603 is configured to support the device 600 in executing the steps of communicating between the device and other devices in the embodiments of the present application.
[0184] Optionally, the device 600 shown in FIG7 may further include a storage unit (not shown in FIG7 ) storing a program or instruction. When the processing unit 602 executes the program or instruction, the device 600 shown in FIG7 may execute the method described in the above method embodiment.
[0185] The technical effects of the device 600 shown in FIG7 can be referenced to the technical effects described in the above method embodiments and will not be repeated here. The processing unit 602 involved in the device 600 shown in FIG7 can be implemented by a processor or processor-related circuit components, and can be a processor or processing module. The communication unit 603 can be implemented by a transceiver or transceiver-related circuit components, and can be a transceiver or transceiver module.
[0186] An embodiment of the present application also provides a chip system, as shown in Figure 8, which includes at least one processor 701 and at least one interface circuit 702. The processor 701 and the interface circuit 702 can be interconnected via lines. For example, the interface circuit 702 can be used to receive signals from other devices. For another example, the interface circuit 702 can be used to send signals to other devices (such as the processor 701). Exemplarily, the interface circuit 702 can read instructions stored in the memory and send the instructions to the processor 701. When the instructions are executed by the processor 701, the device can execute the various steps executed by the device in the above embodiment. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.
[0187] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0188] Optionally, the memory in the chip system may be one or more memories. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in this application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. This application does not specifically limit the type of memory or the configuration of the memory and the processor.
[0189] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0190] It should be understood that each step in the above method embodiment can be completed by hardware integrated logic circuits in a processor or by software instructions. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0191] An embodiment of the present application further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on a device, the device executes the method described in the above method embodiment.
[0192] An embodiment of the present application provides a computer program product, which includes: a computer program or instructions, which, when executed on a computer, causes the computer to execute the method described in the above method embodiment.
[0193] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the device to execute the methods in the above-mentioned method embodiments.
[0194] Among them, the equipment, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0195] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0196] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The various embodiments can be combined with each other or referenced to each other without conflict. The device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0197] Units described as separate components may or may not be physically separate, and components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0198] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0199] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0200] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A component upgrade method, characterized in that: Applied to a device comprising a plurality of components, the method comprises: Acquire multiple upgrade tasks corresponding to a first batch of components, the first batch of components including a first type of components and a second type of components, when the first type of components are upgraded, the device is powered by a first type of power supply, and when the second type of components are upgraded, the device is powered by a second type of power supply; Execute multiple upgrade tasks corresponding to the first batch of components respectively; Among them, the multiple upgrade tasks corresponding to the first batch of components include a first upgrade task and a second upgrade task, the first upgrade task is a task for upgrading the first component of the first type, and the second upgrade task is a task for upgrading the second component of the second type; when executing the first upgrade task, the second type of power supply is charged.
2. The method according to claim 1, characterized in that The acquisition time of the multiple upgrade tasks corresponding to the first batch of components is a first period; the method further includes: Acquire multiple upgrade tasks corresponding to a second batch of components in a second period, where the second batch of components includes components of the first type and components of the second type; respectively executing a plurality of upgrade tasks corresponding to the second batch of components; Among them, the multiple upgrade tasks corresponding to the second batch of components include the first upgrade task and the second upgrade task; when executing the first upgrade task, the second type of power supply is not charged.
3. The method according to claim 1 or 2, characterized in that: The upgrade tasks corresponding to the first batch of components also include a third upgrade task and a fourth upgrade task, wherein the third upgrade task is a task for upgrading the third component of the first type, and the fourth upgrade task is a task for upgrading the fourth component of the second type; The method further comprises: The first upgrade task, the second upgrade task, the third upgrade task and the fourth upgrade task are executed in sequence, and the second type of power supply is charged when the third upgrade task is executed.
4. The method according to any one of claims 1 to 3, characterized in that: The multiple upgrade tasks corresponding to the first batch of components also include a fifth upgrade task, and the fifth upgrade task is a task for upgrading the fifth component of the first type; When executing the fifth upgrading task, the second type power supply is not charged.
5. The method according to any one of claims 1, 3-4, characterized in that: Before respectively executing the multiple upgrade tasks corresponding to the first batch of components, the method further includes: It is determined that the power of the second type of power supply is unable to support the completion of the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the first batch of components.
6. The method according to any one of claims 1, 3-5, characterized in that: In each process of charging the second type of power supply source, the number of tasks performed to upgrade the first type of components is determined according to at least one of the following: The upgrade time of each first type component, the power of the second type power supply, the charging efficiency of the second type power supply, and a preset power threshold, wherein the preset power threshold is used to limit the power of the second type power supply after charging.
7. The method according to any one of claims 1, 3-6, characterized in that: After charging the second type of power supply source each time, the number of tasks performed to upgrade the second type of components is determined according to at least one of the following: The upgrade time of each second type component, the power consumption corresponding to the upgrade of each second type component, and the power of the second type power supply.
8. The method according to claim 2, characterized in that: Before respectively executing the multiple upgrade tasks corresponding to the second batch of components, the method further includes: It is determined that the power of the second type of power supply can support the completion of the task of upgrading the second type of components included in the multiple upgrade tasks corresponding to the second batch of components.
9. The method according to claim 1, characterized in that: When performing the first upgrade task, before charging the second type of power supply source, the method further includes: Obtaining the power of the second type of power supply; It is determined that the power level is less than or equal to a preset threshold.
10. The method according to claim 5, characterized in that Before not supplying power to the second type of power supply when performing the fifth upgrade task, the method further includes: Obtaining the power of the second type of power supply; It is determined that the power level is greater than a preset threshold.
11. The method according to any one of claims 1 to 10, characterized in that: Charging the second type of power supply, comprising: The second type of power supply is charged by the first type of power supply.
12. The method according to any one of claims 1 to 11, characterized in that: The component includes at least one of software and parts.
13. The method according to claim 12, characterized in that The parts include parts of a vehicle.
14. The method according to any one of claims 1 to 13, characterized in that: The first type of power supply includes a power battery, and the second type of power supply includes a storage battery.
15. The method according to any one of claims 1 to 14, characterized in that: The upgrade tasks corresponding to the first type of components include upgrading at least one of the in-vehicle infotainment system, the automatic parking assistance system APA, and the vehicle controller VCU; the upgrade tasks corresponding to the second type of components include upgrading at least one of the battery management system BMS, the body controller BCM, the DC converter DCDC, the motor controller MCU, and the generator controller GCU.
16. A device, characterized in that The method comprises modules for executing the steps of the method as claimed in any one of claims 1 to 15.
17. A device, characterized in that The device comprises a processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and the processor reads the computer instructions from the memory so that the device executes the method according to any one of claims 1 to 15.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is run on a device, the device is caused to perform the method according to any one of claims 1 to 15.
19. A computer program product, characterized in that The computer program product comprises: a computer program or instructions, and when the computer program or instructions are run on a computer, the computer is caused to perform the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Power adapter and power supply method
CN105119330A
Remote upgrading method, device and system for vehicle-mounted system and storage medium
CN112416371A
Vehicle upgrading method, device and equipment, vehicle and storage medium
CN113364867A
Vehicle Software Upgrade Method and Related System
US20230021129A1
Cited By
Software upgrading method and device and electronic equipment
CN120675876A
