Upgrading method and device of vehicle system, electronic equipment and storage medium
By obtaining the upgrade function status and LAN list information in the vehicle system, automatically determine the target LAN and obtaining the upgrade package data, the automated upgrade of the vehicle system is achieved, solving the problem of low manual upgrade efficiency, and improving the upgrade efficiency and progress tracking capabilities.
Patent Information
- Application Number
- CN202411508728.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, manual vehicle system upgrades have problems such as large workload and low efficiency, especially when the number of vehicles is large and the speed of system updates and iterations are fast.
By obtaining the vehicle's system upgrade function status, and when the system upgrade function status is in the startup state, the target LAN is determined based on the vehicle's local area network list information, the upgrade package data is obtained through the target LAN, and the vehicle system is upgraded based on the upgrade package data, and the vehicle system is obtained to obtain the vehicle system Upgrade results.
There is no need to manually upgrade each vehicle with a separate USB connection, which solves the problems of large workload and low efficiency, and can timely and effectively collect and record the progress and situation of vehicle system upgrade, improving the efficiency of vehicle system upgrade.
Smart Images

Figure CN119402350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a vehicle system upgrading method, device, electronic equipment and storage medium. Background Art
[0002] With the continuous development of vehicle technology, the functional systems configured in vehicles are also increasing, such as smart cockpit systems, infotainment systems, air-conditioning systems, etc., and the update and iteration speed of various systems in the vehicle is also accelerating. At this time, upgrading various systems in the vehicle has become an indispensable operation; in traditional technology, the upgrade of vehicle systems is usually done by staff connecting the vehicle to external devices through a universal serial bus (USB) to upgrade the vehicle system. This method requires staff to perform a separate USB connection upgrade for each vehicle. However, the number of vehicles is relatively large and the system updates and iterations are relatively fast. If the vehicle system is upgraded manually, there will be a problem of low efficiency. Summary of the invention
[0003] The present application provides a vehicle system upgrade method, device, electronic device and storage medium to solve the problem of heavy workload and low efficiency in manual vehicle system upgrade in the existing related technology.
[0004] In a first aspect, the present application provides a method for upgrading a vehicle system, comprising:
[0005] Get the system upgrade function status of the vehicle;
[0006] When the system upgrade function is in an activated state, determining a target local area network based on the local area network list information of the vehicle;
[0007] Obtaining upgrade package data through the target local area network;
[0008] The vehicle system is upgraded according to the upgrade package data to obtain a vehicle system upgrade result.
[0009] Optionally, performing a vehicle system upgrade according to the upgrade package data to obtain a vehicle system upgrade result includes:
[0010] Execute a vehicle system upgrade operation based on the upgrade package data;
[0011] After the vehicle upgrade operation is completed, determining the node mode of the vehicle as the main node mode;
[0012] Based on the master node mode, sending a local area network broadcast message carrying the upgrade package data;
[0013] The vehicle system upgrade result is generated based on the local area network broadcast information and the operation result corresponding to the vehicle system upgrade operation.
[0014] Optionally, after the vehicle upgrade operation is completed, determining the node mode of the vehicle as a master node mode includes:
[0015] After the vehicle upgrade operation is completed, generating first upgrade completion information;
[0016] The first upgrade completion information is sent to a target node through the target local area network, and the node mode of the vehicle is determined to be the master node mode. The target node is the node in the target local area network that sends the upgrade package data.
[0017] Optionally, the sending of local area network broadcast information carrying the upgrade package data based on the master node mode includes:
[0018] Based on the master node mode, turning on the hotspot function of the vehicle;
[0019] Generating the local area network broadcast information according to the upgrade package data;
[0020] The local area network broadcast information is sent via a hotspot signal corresponding to the hotspot function.
[0021] Optionally, the sending of the local area network broadcast information through a hotspot signal corresponding to the hotspot function further includes:
[0022] Obtaining second upgrade completion information corresponding to the local area network broadcast information;
[0023] The second upgrade completion information is forwarded to the target node through the target local area network.
[0024] Optionally, after turning on the hotspot function of the vehicle, the step further includes:
[0025] Based on the master node mode, determining whether the vehicle is connected to a slave node vehicle terminal;
[0026] When the vehicle is not connected to the slave node vehicle terminal, record the idle time corresponding to the master node mode;
[0027] When the idle time reaches a preset idle time threshold, the hotspot function of the vehicle is turned off.
[0028] Optionally, determining the target local area network based on the local area network list information of the vehicle includes:
[0029] Determining local area network information corresponding to each local area network based on the local area network list information of the vehicle;
[0030] According to the local area network information, determining as target local area network information;
[0031] The local area network corresponding to the target local area network information is used to determine the target local area network.
[0032] Optionally, determining the target LAN information based on the LAN information includes:
[0033] Extracting a local area network identifier and a local area network strength from the local area network information;
[0034] Determining whether the local area network identifier meets a preset local area network identifier condition;
[0035] In the case where the LAN identifier meets the preset LAN identifier condition, determining whether the LAN strength meets the preset LAN strength condition;
[0036] In a case where the LAN strength meets the preset LAN strength condition, the LAN information is determined as the target LAN information.
[0037] Optionally, determining the target LAN information based on the LAN information includes:
[0038] Extracting a local area network identifier and a local area network strength from the local area network information;
[0039] Determining whether the local area network strength meets a preset local area network strength condition;
[0040] In the case where the LAN strength meets the preset LAN strength condition, determining whether the LAN identifier meets the preset LAN identifier condition;
[0041] In a case where the LAN identifier meets the preset LAN identifier condition, the LAN information is determined as the target LAN information.
[0042] In a second aspect, the present application provides an upgrade device for a vehicle system, comprising:
[0043] A first acquisition module is used to acquire the system upgrade function status of the vehicle;
[0044] A determination module, configured to determine a target local area network based on the local area network list information of the vehicle when the system upgrade function state is in an activated state;
[0045] A second acquisition module, used for acquiring upgrade package data through the target local area network;
[0046] The vehicle system upgrade module is used to upgrade the vehicle system according to the upgrade package data to obtain the vehicle system upgrade result.
[0047] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0048] Memory, used to store computer programs;
[0049] The processor is used to implement the vehicle system upgrade method described in any one of the first aspects when executing the program stored in the memory.
[0050] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vehicle system upgrade method as described in any one of the first aspects is implemented.
[0051] The embodiment of the present application obtains the system upgrade function status of the vehicle, and when the system upgrade function status is in the activated state, determines the target local area network based on the local area network list information of the vehicle, so as to obtain the upgrade package data through the target local area network, and then performs the vehicle system upgrade according to the upgrade package data to obtain the vehicle system upgrade result, thereby eliminating the need for manual USB connection upgrade for each vehicle separately, solving the problems of heavy workload and low efficiency in the existing related technology that requires manual vehicle system upgrade, and can effectively improve the efficiency of vehicle system upgrade. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A schematic diagram of a process flow of a vehicle system upgrade method provided in an embodiment of the present application;
[0053] Figure 2 A schematic diagram of a transmission scenario of upgrade package data in a vehicle system upgrade method provided in an embodiment of the present application;
[0054] Figure 3 A schematic diagram of an application scenario of a vehicle system upgrade method provided in an embodiment of the present application;
[0055] Figure 4 A schematic diagram of another application scenario of a vehicle system upgrade method provided in an embodiment of the present application;
[0056] Figure 5 A schematic diagram of another application scenario of a vehicle system upgrade method provided in an embodiment of the present application;
[0057] Figure 6 A schematic diagram of another application scenario of an upgrade device for a vehicle system provided in an embodiment of the present application;
[0058] Figure 7A schematic diagram of a specific application scenario of an upgrade device for a vehicle system provided in an embodiment of the present application;
[0059] Figure 8 A schematic diagram of the structure of an upgrading device for a vehicle system provided in an embodiment of the present application;
[0060] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0062] The traditional vehicle system upgrade method is to use manual USB upgrade. Due to the large number of vehicles and the rapid replacement speed of vehicle systems, manual USB connection to the vehicle for upgrading not only has the problems of large workload and large personnel requirements; but also because different staff members use different external devices to upgrade the vehicle system, and each vehicle is upgraded separately, the progress and status of the vehicle system upgrade cannot be effectively counted and tracked. This is the problem of high workload and low efficiency in the existing related technology of manual vehicle system upgrade.
[0063] In order to solve the problem of high workload and low efficiency in manual vehicle system upgrade in the existing related technology, the present application provides a vehicle system upgrade method, device, electronic device and storage medium, by obtaining the system upgrade function status of the vehicle, and when the system upgrade function status is in the activated state, based on the vehicle's LAN list information, determining the target LAN, so as to obtain the upgrade package data through the target LAN, and then performing the vehicle system upgrade according to the upgrade package data to obtain the vehicle system upgrade result; thereby, there is no need for manual USB connection upgrade for each vehicle, avoiding the problem of high workload and low efficiency in manual vehicle system upgrade in the existing related technology, and because the vehicle system upgrade relies on the target LAN, it is possible to timely and effectively collect and record information such as the progress and status of the vehicle system upgrade, thereby solving the problem that the progress and status of the vehicle system upgrade cannot be effectively counted and tracked, and the efficiency of the vehicle system upgrade can be effectively improved.
[0064] Figure 1A flow chart of a vehicle system upgrade method provided in an embodiment of the present application. This method can be applied to one or more electronic devices such as a vehicle, a vehicle terminal, a client, a server, etc. In addition, the execution subject of this method can be hardware or software. When the above-mentioned execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute this method, or multiple electronic devices can cooperate with each other to execute this method. When the above-mentioned execution subject is software, this method can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.
[0065] like Figure 1 As shown, a vehicle system upgrade method provided by an embodiment of the present application may specifically include the following steps:
[0066] Step S110: Obtain the system upgrade function status of the vehicle.
[0067] Among them, vehicle represents a vehicle that currently needs to perform a vehicle system upgrade. The vehicle system may be a system configured in the vehicle, such as a smart cockpit system, an infotainment system, and an air-conditioning system, and the system upgrade function status may indicate the functional status of whether to perform a system upgrade, that is, the system upgrade function status may be an on state or an off state, so that different steps may be executed when the system upgrade function status is in different states. For example, when the system upgrade function status is an on state, it indicates that the system upgrade function of the vehicle is turned on, and subsequent steps may be executed at this time. When the system upgrade function status is an off state, it indicates that the system upgrade function of the vehicle is turned on, and subsequent steps may not be executed at this time.
[0068] It should be noted that, in the present embodiment, the system upgrade function status can be determined according to the user input instruction, that is, the user input instruction can be obtained, and the system upgrade function status can be determined according to the user input instruction. The specific user input instruction can be an upgrade function on instruction or an upgrade function off instruction, wherein the upgrade function on instruction can switch the system upgrade function status of the vehicle to the on state, and the upgrade function off instruction can switch the system upgrade function status of the vehicle to the off state; of course, the above is only an example for explanation, and adaptive adjustments can be made according to the scenario and needs during specific implementation, and the present embodiment does not make specific limitations on this.
[0069] Step S120: When the system upgrade function is in the activated state, determine the target local area network based on the local area network list information of the vehicle.
[0070] Specifically, after obtaining the system upgrade function status, it can be determined whether the system upgrade function status is in the startup state, and when the system upgrade function status is in the startup state, the local area network list information of the vehicle can be obtained. The local area network list information can represent the local area network information obtained by the vehicle through the local area network search function, that is, the local area network list information can contain N local area network information, where N is 0 or a positive integer; thereby, the target local area network can be determined based on the vehicle's local area network list information, where the target local area network can represent the local area network that the current vehicle needs to connect to.
[0071] It should be noted that, in the present embodiment, the method of determining the target LAN based on the LAN list information can be to screen the LANs represented by the LAN list information according to preset screening conditions to determine the target LAN. The specific screening method can be to screen by features such as LAN strength and LAN identification. Of course, when there is no LAN that meets the preset screening conditions, there is no need to determine the target LAN, and at this time there is no need to execute subsequent steps. After the target LAN is screened and determined according to the screening conditions, subsequent steps can be executed.
[0072] Step S130: Acquire upgrade package data through the target local area network.
[0073] Specifically, after determining the target local area network, a connection can be established with the target local area network, so that the upgrade package data can be obtained through the target local area network. The upgrade package data represents relevant data for upgrading the vehicle system received through the target local area network.
[0074] In one example, the process of obtaining upgrade package data through the target local area network may be to receive multiple byte streams in sequence, request the next byte stream after each byte stream is received, and when the last byte stream is received, all the received byte stream related data may be merged to form the upgrade package data; of course, the above is only an example for illustration, and in specific implementation, adaptive adjustments can be made according to the scenario and requirements, and this embodiment does not make specific limitations on this.
[0075] In addition, the upgrade package data in this embodiment can be broadcasted by the master node device of the target local area network through the target local area network, and the master node device represents the device that builds the target local area network. At this time, the vehicle in this embodiment can be used as a slave node device, specifically the vehicle-mounted end of the vehicle in this embodiment can be used as a slave node device, and the master node device can be the vehicle-mounted end of other vehicles, or it can be an application terminal such as a computer, server and other devices. This embodiment does not make any specific limitations on this.
[0076] Step S140: Upgrade the vehicle system according to the upgrade package data to obtain a vehicle system upgrade result.
[0077] Specifically, after obtaining the upgrade package data, the vehicle system can be upgraded based on the upgrade package data to obtain a vehicle system upgrade result. The vehicle system upgrade result can indicate the result of the vehicle system upgrade, that is, the vehicle system upgrade result can be upgrade completed, upgrade abnormal, and other results.
[0078] It can be seen that this embodiment obtains the system upgrade function status of the vehicle, and when the system upgrade function status is in the activated state, determines the target local area network based on the vehicle's local area network list information, so as to obtain the upgrade package data through the target local area network, and then performs the vehicle system upgrade according to the upgrade package data to obtain the vehicle system upgrade result, thereby eliminating the need for manual USB connection upgrade for each vehicle, thereby solving the problems of large workload and low efficiency in the existing related technologies that require manual vehicle system upgrades, and can effectively improve the efficiency of vehicle system upgrades; and, since the vehicle system upgrade relies on the target local area network, it can also timely and effectively collect and record information such as the progress and status of the vehicle system upgrade, thereby solving the problem that the progress and status of the vehicle system upgrade cannot be effectively counted and tracked, and can also effectively improve the efficiency of the vehicle system upgrade.
[0079] In an optional embodiment of the present application, step S140 performs a vehicle system upgrade based on the upgrade package data to obtain a vehicle system upgrade result, which may specifically include the following sub-steps: performing a vehicle system upgrade operation based on the upgrade package data; after the vehicle upgrade operation is completed, determining the node mode of the vehicle as a master node mode; based on the master node mode, sending a local area network broadcast message carrying the upgrade package data; based on the local area network broadcast message and the operation result corresponding to the vehicle system upgrade operation, generating a vehicle system upgrade result. Among them, the master node mode refers to the mode in which the vehicle or the vehicle terminal serves as the master node of the local area network.
[0080] Specifically, after obtaining the upgrade package data, the vehicle terminal in this embodiment can perform a vehicle system upgrade operation based on the upgrade package data. The vehicle system upgrade operation can be an operation of upgrading the vehicle system using the upgrade package data through a preset upgrade strategy; thus, after the vehicle upgrade operation is completed, the node mode of the vehicle can be determined as the main node mode, and then based on the main node mode, a local area network broadcast information carrying the upgrade package data can be sent to send the upgrade package data to other vehicle terminals through the local area network broadcast information, so that other vehicle terminals can upgrade the vehicle system according to the upgrade package data, and after completing the upgrade operation, other vehicle terminals can also execute the steps in this embodiment, thereby achieving the effect of link-type vehicle system upgrades, thereby solving the problem that manual vehicle system upgrades cannot meet the current vehicle system upgrade needs, and the vehicle system can be upgraded efficiently.
[0081] In an optional embodiment of the present application, the node mode of the vehicle is determined as the main node mode, which may specifically include the following sub-steps: after the vehicle upgrade operation is completed, generating first upgrade completion information; sending the first upgrade completion information to the target node through the target local area network, and determining the node mode of the vehicle as the main node mode, the target node is the node that sends the upgrade package data in the target local area network.
[0082] In this embodiment, after the vehicle upgrade operation is completed, an operation result corresponding to the vehicle system upgrade operation can be generated, and the operation result can be a successful upgrade, a failed upgrade, an abnormal upgrade, etc. At this time, it can be determined whether the operation result is a successful upgrade result. If the operation result is not a successful upgrade result, then the upgrade problem prompt information can be output based on the operation result. When the operation result is a successful upgrade result, the first upgrade completion information can be generated based on the operation result. The first upgrade completion information can include but is not limited to relevant information such as the upgrade time and the upgrade version; thereby, the first upgrade completion information can be sent to the target node through the target local area network, and the node mode of the vehicle can be determined as the main node mode. The target node is the node that sends the upgrade package data in the target local area network, that is, the target node can be a main node device that broadcasts and sends the upgrade package data through the target local area network, thereby playing the role of feeding back the first upgrade completion information to the target node, so as to achieve the purpose of statistics and tracking the vehicle system upgrade status.
[0083] In an optional embodiment of the present application, based on the master node mode, a local area network broadcast information carrying upgrade package data is sent, which may specifically include the following sub-steps: based on the master node mode, turning on the hotspot function of the vehicle; generating a local area network broadcast information based on the upgrade package data; and sending the local area network broadcast information through a hotspot signal corresponding to the hotspot function.
[0084] In this embodiment, after the node mode of the vehicle is determined as the main node mode, the hotspot function of the vehicle can be turned on based on the main node mode. The hotspot function can refer to the wireless fidelity (Wireless Fidelity, WIFI) function of the vehicle. After turning on the hotspot function, the vehicle can send hotspot signals to the outside to build a local area network; then, local area network broadcast information can be generated based on the upgrade package data. Specifically, the upgrade package data can be converted into local area network broadcast information suitable for local area network transmission, so that the local area network broadcast information can be sent through the hotspot signal corresponding to the hotspot function.
[0085] In one example, a specific method of generating LAN broadcast information based on upgrade package data may be to split the upgrade package data into multiple byte streams according to the byte stream for transmission, thereby obtaining LAN broadcast information containing multiple byte streams. In the process of sending the LAN broadcast information through the hotspot signal corresponding to the hotspot function, each byte stream may be transmitted in sequence through the hotspot signal corresponding to the hotspot function, and each byte stream may be recorded after being transmitted, so as to achieve the purpose of statistics and tracking the vehicle system upgrade status, such as Figure 2 As shown; since each byte stream signal will be recorded when a LAN broadcast information of multiple byte streams occurs to obtain sending record information, the sending record information can indicate whether each byte stream is successfully sent or not, so that if the sending is interrupted due to network anomalies or hardware anomalies during the sending process, the last byte stream sent before the interruption of sending can be determined through the sending record information, and the byte stream sent last can be resent, thereby achieving the effect of breakpoint resumption and ensuring the complete sending of the upgrade package data.
[0086] In an optional embodiment of the present application, local area network broadcast information is sent through a hotspot signal corresponding to the hotspot function, and the following sub-steps may be included: obtaining second upgrade completion information corresponding to the local area network broadcast information; forwarding the second upgrade completion information to the target node through the target local area network.
[0087] Specifically, since the LAN broadcast information can be sent through the hotspot signal corresponding to the hotspot function in the master node mode, other vehicles can upgrade the vehicle system by receiving the LAN broadcast information, and after the other vehicles upgrade the vehicle system according to the LAN broadcast information, a second upgrade completion information can be generated. The first upgrade completion information can include the upgrade time, upgrade version and other related information corresponding to the vehicle upgrade performed by other vehicles, and other vehicles can feed back the second upgrade completion information to the vehicle through the hotspot signal, so that the second upgrade completion information corresponding to the LAN broadcast information can be obtained, and then the second upgrade completion information can be forwarded to the target node through the target LAN, which plays a role in collecting and summarizing the upgrade completion information corresponding to each vehicle.
[0088] It can be seen that in this embodiment, after the vehicle determines the node mode as the main node mode, it will not only send the local area network broadcast information to other vehicle terminals through the hotspot function, but also receive the second upgrade completion information corresponding to the local area network broadcast information for aggregation, and forward the second upgrade completion information to the target node. In this way, while realizing the chained sending of upgrade package data, it also realizes the purpose of chaining the upgrade completion information of each vehicle terminal after the vehicle system upgrade to the target node.
[0089] In one example, if Figure 3As shown, Terminal is the target node, Master is the master node, Slave is the slave node, and the specific target node can be a node device for building a target local area network. The slave node Slave can represent the vehicle end that needs to upgrade the vehicle and the system upgrade function status is in the startup state, while the Master is the vehicle end that determines the node mode of the vehicle as the master node mode after executing the vehicle system upgrade operation based on the upgrade package data.
[0090] It can be understood that in the present embodiment, during the process of upgrading the vehicle system at the vehicle-machine end, the node identity of the vehicle-machine end in the local area network will change with the change of the vehicle state. For example, when the vehicle system needs to be upgraded, after the system upgrade function state of the vehicle is switched to the startup state, the vehicle-machine end of the vehicle becomes the slave node Slave. Then, based on the vehicle's local area network list information, the target local area network can be determined, and the upgrade package data can be obtained through the target local area network. After the vehicle system is upgraded according to the upgrade package data, the node mode of the vehicle can be determined as the master node mode. At this time, the vehicle-machine end of the vehicle becomes the Master node. It should be noted that when the vehicle-machine end of the vehicle is in the slave node Slave stage, the determined target local area network can be a local area network constructed by the Terminal target node, or a local area network constructed by the M aster master node to build a local area network; for data transmission, when the slave node Slave can connect to the target local area network built by the Terminal target node, after receiving the upgrade package data sent by the Terminal target node to upgrade the vehicle system, the generated first upgrade completion information can be sent directly to the Terminal target node, and when the slave node Slave can connect to the target local area network built by the Master master node, after receiving the upgrade package data sent by the Master master node to upgrade the vehicle system, the generated second upgrade completion information can be sent to the Master master node, and the Master master node forwards the second upgrade completion information to the Terminal target node; the purpose of chaining the upgrade completion information after the vehicle system upgrade of each vehicle terminal to the target node is achieved.
[0091] In addition, after receiving the first upgrade completion information and the second upgrade completion information, the target node can output display information corresponding to the first upgrade completion information and the second upgrade completion information in the display interface according to the first upgrade completion information and the second upgrade completion information, such as Figure 4 as shown, or Figure 5 Of course, not only the upgrade completion information can be uniformly aggregated to the target node, but also the abnormal upgrade information generated during the upgrade process can be uniformly aggregated to the target node through the steps of the aforementioned embodiment, and the target node outputs the display information corresponding to the abnormal upgrade information in the display interface, such as Figure 6shown.
[0092] In an optional embodiment of the present application, the hotspot function of the vehicle is turned on, and the following sub-steps may be included thereafter: based on the master node mode, determining whether the vehicle is connected to a slave node vehicle terminal; when the vehicle is not connected to a slave node vehicle terminal, recording the idle time corresponding to the master node mode; when the idle time reaches a preset idle time threshold, turning off the hotspot function of the vehicle.
[0093] In this embodiment, after the hotspot function of the vehicle is turned on, it can be determined based on the master node mode whether the vehicle is connected to a slave node vehicle terminal. The slave node vehicle terminal represents the vehicle terminal corresponding to other vehicles connected to the vehicle through the hotspot signal corresponding to the hotspot function. When the vehicle is connected to a slave node vehicle terminal, it means that it is also necessary to send local area network broadcast information to the slave node vehicle terminal through the hotspot signal corresponding to the hotspot function, or obtain the second upgrade completion information corresponding to the local area network broadcast information through the hotspot signal corresponding to the hotspot function. At this time, the steps of the aforementioned embodiment can be executed; and when the vehicle is not connected to a slave node vehicle terminal, it means that there is no vehicle terminal that needs to be connected within the scope of the current hotspot function, and the hotspot function corresponding to the master node mode is in an idle state. At this time, the idle time corresponding to the master node mode can be recorded, and it can be determined whether the idle time reaches the preset idle time threshold. The preset idle time threshold represents the pre-configured time threshold. When the idle time reaches the preset idle time threshold, it means that the hotspot function is in an idle state for a long time, that is, there is no vehicle terminal that needs to be connected within the scope of the hotspot function for a long time. At this time, the hotspot function of the vehicle can be turned off.
[0094] Since each vehicle can obtain upgrade package data through the local area network to upgrade the vehicle system, and vehicles in a region may collect information from multiple local area networks, when a local area network needs to be connected, the traditional method is for the user or staff to manually select the local area network to be connected. Manually connecting to the local area network will result in low connection efficiency and low accuracy.
[0095] In an optional embodiment of the present application, the target LAN is determined based on the LAN list information of the vehicle, which may specifically include the following sub-steps: based on the LAN list information of the vehicle, determining the LAN information corresponding to each LAN; based on the LAN information, determining the target LAN information; determining the LAN corresponding to the target LAN information as the target LAN.
[0096] In this embodiment, after obtaining the LAN list information of the vehicle, the LAN information corresponding to each LAN can be determined based on the LAN list information. The LAN information indicates that the current vehicle has collected information corresponding to the LAN that can receive the hotspot signal, that is, the LAN information can include but is not limited to information such as the LAN identification and the LAN strength. Therefore, the target LAN information can be determined based on the LAN information. The target LAN information indicates the LAN information that meets the preset target LAN conditions, and the preset target LAN conditions can be pre-configured LAN conditions that can receive upgrade package data, that is, the target LAN information is the LAN information corresponding to the LAN that can receive the upgrade package data, and the preset target LAN conditions can include but are not limited to the preset LAN identification, the preset LAN strength and other conditions. Then, the LAN corresponding to the target LAN information can be determined as the target LAN.
[0097] It can be seen that in this embodiment, the target LAN information is obtained by screening the LAN information, thereby determining the target LAN that can receive the upgrade package data, thereby avoiding the problems of low connection efficiency and low accuracy when manually connecting to the LAN, and can effectively improve the connection efficiency and accuracy of the LAN.
[0098] In an optional embodiment of the present application, based on the LAN information, the target LAN information is determined, which may specifically include the following sub-steps: extracting the LAN identification and the LAN strength from the LAN information; determining whether the LAN identification meets the preset LAN identification condition; if the LAN identification meets the preset LAN identification condition, determining whether the LAN strength meets the preset LAN strength condition; if the LAN strength meets the preset LAN strength condition, determining the LAN information as the target LAN information.
[0099] In this embodiment, in the process of determining the target LAN information based on the LAN information, the LAN identifier and the LAN strength can be extracted from the LAN information. The LAN identifier represents an identifier used to represent the LAN, and the LAN identifier can be a LAN name, a LAN IP, etc.; thereby, it can be determined whether the LAN identifier meets the preset LAN identifier condition. The preset LAN identifier condition can represent a pre-configured condition for detecting the LAN identifier. When the LAN identifier does not meet the preset LAN identifier condition, it means that there is currently no LAN that meets the requirement, and there is no need to perform subsequent steps at this time. When the LAN identifier meets the preset LAN identifier condition, it means that there is a LAN that meets the requirement. At this time, it can be determined whether the LAN strength meets the preset LAN strength condition. The preset LAN strength condition can represent a pre-configured condition for detecting the LAN strength. When the LAN strength does not meet the preset LAN strength condition, there is no need to perform subsequent steps at this time. When the LAN strength meets the preset LAN strength condition, the LAN information can be determined as the target LAN information.
[0100] It should be noted that the preset LAN identification condition in this embodiment can be a pre-configured LAN identification key field, or a pre-configured preset LAN identification, etc. For example, when the preset LAN identification condition is the LAN identification key field, it can be determined whether the LAN identification contains the LAN identification key field. If the LAN identification contains the LAN identification key field, it can be determined that the LAN identification meets the preset LAN identification condition. If the LAN identification does not contain the LAN identification key field, it can be determined that the LAN identification does not meet the preset LAN identification condition; when the preset LAN identification condition is the preset LAN identification, it can be determined whether the LAN identification is consistent with the preset LAN identification. If the LAN identification is consistent with the preset LAN identification, it can be determined that the LAN identification meets the preset LAN identification condition. If the LAN identification is inconsistent with the preset LAN identification, it can be determined that the LAN identification does not meet the preset LAN identification condition; of course, the above is only an example for illustration. In specific implementation, it can be adaptively adjusted according to the scenario and needs. This embodiment does not make specific limitations on this.
[0101] In addition, the preset LAN strength condition in this embodiment can be a pre-configured LAN strength threshold or a LAN strength range, etc. For example, when the preset LAN strength condition is the LAN strength threshold, it can be determined whether the LAN strength reaches the LAN strength threshold. When the LAN strength does not reach the LAN strength threshold, it can be determined that the current LAN strength does not meet the preset LAN strength condition. When the LAN strength reaches the LAN strength threshold, it can be determined that the current LAN strength meets the preset LAN strength condition. When the preset LAN strength condition is the LAN strength range, it can be determined whether the LAN strength falls within the LAN strength range. When the LAN strength does not fall within the LAN strength range, it can be determined that the current LAN strength does not meet the preset LAN strength condition. When the LAN strength falls within the LAN strength range, it can be determined that the current LAN strength meets the preset LAN strength condition. Of course, the above is only an example for illustration. In specific implementation, adaptive adjustments can be made according to scenarios and needs. This embodiment does not make specific limitations on this.
[0102] In one example, the preset LAN identification condition is a pre-configured preset LAN identification: CHANAN-UP-TERMINAL or CHANAN-UP-MASTER; at this time, it is determined whether each LAN identification is consistent with CHANAN-UP-TERMINAL or CHANAN-UP-MASTER. When the LAN identification is consistent with CHANAN-UP-TERMINAL or CHANAN-UP-MASTER, it can be determined whether the LAN strength corresponding to the LAN identification meets the preset LAN strength condition. The preset LAN strength condition is the strongest signal. At this time, the LAN strength difference corresponding to each CHANAN-UP-TERMINAL or CHANAN-UP-MASTER can be compared, and the target LAN strength with the greatest strength can be determined according to the LAN strength difference, and the LAN information corresponding to the target LAN strength is determined as the target LAN information; of course, the above is only an example for illustration. In specific implementation, adaptive adjustments can be made according to scenarios and needs, and this embodiment does not make specific limitations on this.
[0103] In an optional embodiment of the present application, based on the LAN information, the target LAN information is determined, which may specifically include the following sub-steps: extracting the LAN identifier and the LAN strength from the LAN information; determining whether the LAN strength meets the preset LAN strength condition; if the LAN strength meets the preset LAN strength condition, determining whether the LAN identifier meets the preset LAN identifier condition; if the LAN identifier meets the preset LAN identifier condition, determining the LAN information as the target LAN information.
[0104] In this embodiment, in the process of determining the target LAN information based on the LAN information, the LAN identifier and the LAN strength can be extracted from the LAN information. The LAN identifier represents an identifier used to represent the LAN, and the LAN identifier can be a LAN name, a LAN IP, etc.; thereby, it can be determined whether the LAN strength meets the preset LAN strength condition. The preset LAN strength condition can represent a pre-configured condition for detecting the LAN strength. When the LAN strength does not meet the preset LAN strength condition, there is no need to perform subsequent steps. When the LAN strength meets the preset LAN strength condition, it can be determined whether the LAN identifier meets the preset LAN identifier condition. The preset LAN identifier condition can represent a pre-configured condition for detecting the LAN identifier. When the LAN identifier does not meet the preset LAN identifier condition, it means that there is no LAN that meets the requirement at present. At this time, there is no need to perform subsequent steps. When the LAN identifier meets the preset LAN identifier condition, it means that there is a LAN that meets the requirement. At this time, the LAN information can be determined as the target LAN information.
[0105] In one example, the preset LAN strength condition is a LAN strength threshold. At this time, it is determined whether the LAN strength of each LAN information reaches the LAN strength threshold. When the LAN strength reaches the LAN strength threshold, it can be determined whether the LAN identifier corresponding to the LAN strength meets the preset LAN identifier condition. The preset LAN identifier condition is a pre-configured preset LAN identifier: CHANAN-UP-TERMINAL or CHANAN-UP-MASTER; at this time, it is determined whether the LAN identifier is consistent with CHANAN-UP-TERMINAL or CHANAN-UP-MASTER. When the LAN identifier is consistent with CHANAN-UP-TERMINAL or CHANAN-UP-MASTER, the LAN information corresponding to the LAN identifier can be determined to determine the target LAN information; of course, the above is only an example for illustration. In specific implementation, adaptive adjustments can be made according to scenarios and needs, and this embodiment does not make specific limitations on this.
[0106] In specific implementation, Figure 7 As shown, the target node is the Terminal application control terminal. The Terminal application control terminal builds a target LAN through a hardware medium such as a WIFI transmitter. For each vehicle in the Master vehicle queue, when the system upgrade function state of the vehicle is in the startup state, the target LAN is determined based on the vehicle's LAN list information, so that the vehicle system can be upgraded according to the upgrade package data to obtain the vehicle system upgrade result; then the vehicle system upgrade operation is performed based on the upgrade package data. After the vehicle upgrade operation is completed, the node mode of the vehicle is determined to be the master node mode, and then based on the master node mode, the carrier is sent. The LAN broadcast information with upgrade package data can be received by the Slave vehicle terminal, so that the Slave vehicle terminal can upgrade the vehicle system according to the upgrade package data. It can be seen that the present application constructs a link-type upgrade method by interconnecting the vehicle terminals with each other, and can be controlled by an application terminal that supports recording upgrade device data, real-time tracking of the upgrade status of each vehicle in the wireless LAN and data analysis. At the same time, the vehicle system that has failed or interrupted an upgrade can be re-upgraded through terminal control, and upgrades can be pushed to a single vehicle terminal to ensure the reliability and correctness of batch upgrades, greatly reduce manpower investment and improve efficiency.
[0107] like Figure 8 As shown, the present application also discloses an embodiment, providing an upgrading device for a vehicle system, comprising:
[0108] A first acquisition module 810 is used to acquire the system upgrade function status of the vehicle;
[0109] A determination module 820, configured to determine a target local area network based on the local area network list information of the vehicle when the system upgrade function state is in an activated state;
[0110] The second acquisition module 830 is used to acquire the upgrade package data through the target local area network;
[0111] The vehicle system upgrade module 840 is used to upgrade the vehicle system according to the upgrade package data to obtain a vehicle system upgrade result.
[0112] In an optional embodiment of the present application, the vehicle system upgrade module 840 may include:
[0113] an execution unit, configured to execute a vehicle system upgrade operation based on the upgrade package data;
[0114] A first determining unit, configured to determine the node mode of the vehicle as a master node mode after the vehicle upgrade operation is completed;
[0115] A first sending unit, configured to send local area network broadcast information carrying the upgrade package data based on the master node mode;
[0116] The first generating unit is used to generate the vehicle system upgrade result based on the local area network broadcast information and the operation result corresponding to the vehicle system upgrade operation.
[0117] In an optional embodiment of the present application, the first determining unit may include:
[0118] A first generating subunit, configured to generate first upgrade completion information after the vehicle upgrade operation is completed;
[0119] The first sending subunit is used to send the first upgrade completion information to a target node through the target local area network, and determine the node mode of the vehicle as the main node mode. The target node is the node in the target local area network that sends the upgrade package data.
[0120] In an optional embodiment of the present application, the first sending unit may include:
[0121] An activation subunit, used to activate the hotspot function of the vehicle based on the master node mode;
[0122] A second generating subunit, used for generating the local area network broadcast information according to the upgrade package data;
[0123] The second sending subunit is used to send the local area network broadcast information through the hotspot signal corresponding to the hotspot function.
[0124] In an optional embodiment of the present application, the first sending unit may further include:
[0125] An acquiring subunit, configured to acquire second upgrade completion information corresponding to the local area network broadcast information;
[0126] The forwarding subunit is used to forward the second upgrade completion information to the target node through the target local area network.
[0127] In an optional embodiment of the present application, the first sending unit may further include:
[0128] A first determination subunit is used to determine whether the vehicle is connected to a slave node vehicle terminal based on the master node mode;
[0129] A recording subunit, used for recording the idle time corresponding to the master node mode when the vehicle is not connected to the slave node vehicle terminal;
[0130] The shut-down subunit is used to shut down the hotspot function of the vehicle when the idle time reaches a preset idle time threshold.
[0131] In an optional embodiment of the present application, the determining module 820 may include:
[0132] A second determining unit, configured to determine local area network information corresponding to each local area network based on the local area network list information of the vehicle;
[0133] A third determining unit, configured to determine the target LAN information based on the LAN information;
[0134] The fourth determining unit is used to determine the target LAN by matching the LAN to the target LAN information.
[0135] In an optional embodiment of the present application, the third determining unit includes:
[0136] A first extraction subunit, configured to extract a local area network identifier and a local area network strength from the local area network information;
[0137] A second determining subunit is used to determine whether the local area network identifier meets a preset local area network identifier condition;
[0138] A third determining subunit is used to determine whether the LAN strength meets the preset LAN strength condition when the LAN identification meets the preset LAN identification condition;
[0139] The fourth determining subunit is used to determine the local area network information as the target local area network information when the local area network strength meets the preset local area network strength condition.
[0140] In an optional embodiment of the present application, the third determining unit includes:
[0141] A second extraction subunit, used to extract a local area network identifier and a local area network strength from the local area network information;
[0142] A fifth determining subunit, configured to determine whether the local area network strength meets a preset local area network strength condition;
[0143] A sixth determining subunit, configured to determine whether the local area network identifier meets a preset local area network identifier condition if the local area network strength meets the preset local area network strength condition;
[0144] The seventh determining subunit is used to determine the local area network information as the target local area network information when the local area network identifier meets the preset local area network identifier condition.
[0145] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0146] like Fig. 9 As shown, an embodiment of the present application provides an electronic device, including a processor 910, a communication interface 920, a memory 990 and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 990 communicate with each other through the communication bus 940.
[0147] Memory 990, used for storing computer programs;
[0148] In one embodiment of the present application, the processor 910 is used to execute the program stored in the memory 990 to implement the control method for upgrading the vehicle system provided by any of the aforementioned method embodiments, by obtaining the system upgrade function status of the vehicle, and when the system upgrade function status is in the activated state, based on the LAN list information of the vehicle, determine the target LAN, so as to obtain the upgrade package data through the target LAN, and then perform the vehicle system upgrade according to the upgrade package data to obtain the vehicle system upgrade result; thereby, there is no need to manually perform a separate USB connection upgrade for each vehicle, thereby avoiding the problem of large workload and low efficiency in the existing related technology of manual vehicle system upgrade, and because the vehicle system upgrade relies on the target LAN, it is possible to timely and effectively collect and record information such as the progress and status of the vehicle system upgrade, thereby solving the problem that the progress and status of the vehicle system upgrade cannot be effectively counted and tracked, and the efficiency of the vehicle system upgrade can be effectively improved.
[0149] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the vehicle system upgrade method provided in any of the aforementioned method embodiments are implemented, by obtaining the system upgrade function status of the vehicle, and when the system upgrade function status is in the startup state, based on the vehicle's local area network list information, determining the target local area network, so as to obtain the upgrade package data through the target local area network, and then performing the vehicle system upgrade according to the upgrade package data to obtain the vehicle system upgrade result; thereby, there is no need to manually perform a separate USB connection upgrade for each vehicle, thereby avoiding the problem of large workload and low efficiency in the existing related technology of manual vehicle system upgrade, and because the vehicle system upgrade relies on the target local area network, it is possible to timely and effectively collect and record information such as the progress and status of the vehicle system upgrade, thereby solving the problem that the progress and status of the vehicle system upgrade cannot be effectively counted and tracked, and the efficiency of the vehicle system upgrade can be effectively improved.
[0150] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0152] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0153] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for upgrading a vehicle system, characterized in that: include: Get the system upgrade function status of the vehicle; When the system upgrade function is in an activated state, determining a target local area network based on the local area network list information of the vehicle; Obtaining upgrade package data through the target local area network; The vehicle system is upgraded according to the upgrade package data to obtain a vehicle system upgrade result.
2. The vehicle system upgrade method according to claim 1, characterized in that: The step of performing a vehicle system upgrade according to the upgrade package data to obtain a vehicle system upgrade result includes: Execute a vehicle system upgrade operation based on the upgrade package data; After the vehicle upgrade operation is completed, determining the node mode of the vehicle as the main node mode; Based on the master node mode, sending a local area network broadcast message carrying the upgrade package data; The vehicle system upgrade result is generated based on the local area network broadcast information and the operation result corresponding to the vehicle system upgrade operation.
3. The vehicle system upgrade method according to claim 2, characterized in that: After the vehicle upgrade operation is completed, determining the node mode of the vehicle as the main node mode includes: After the vehicle upgrade operation is completed, generating first upgrade completion information; The first upgrade completion information is sent to a target node through the target local area network, and the node mode of the vehicle is determined to be the master node mode. The target node is the node in the target local area network that sends the upgrade package data.
4. The vehicle system upgrade method according to claim 2, characterized in that: The sending of the local area network broadcast information carrying the upgrade package data based on the master node mode includes: Based on the master node mode, turning on the hotspot function of the vehicle; Generating the local area network broadcast information according to the upgrade package data; The local area network broadcast information is sent via a hotspot signal corresponding to the hotspot function.
5. The vehicle system upgrade method according to claim 4, characterized in that: The hotspot signal corresponding to the hotspot function is used to send the local area network broadcast information, and then further includes: Obtaining second upgrade completion information corresponding to the local area network broadcast information; The second upgrade completion information is forwarded to the target node through the target local area network.
6. The vehicle system upgrade method according to claim 4, characterized in that: After the hotspot function of the vehicle is turned on, the method further includes: Based on the master node mode, determining whether the vehicle is connected to a slave node vehicle terminal; When the vehicle is not connected to the slave node vehicle terminal, record the idle time corresponding to the master node mode; When the idle time reaches a preset idle time threshold, the hotspot function of the vehicle is turned off.
7. The vehicle system upgrade method according to claim 1, characterized in that: The determining of the target local area network based on the local area network list information of the vehicle includes: Determining local area network information corresponding to each local area network based on the local area network list information of the vehicle; According to the local area network information, determining as target local area network information; The local area network corresponding to the target local area network information is used to determine the target local area network.
8. The vehicle system upgrade method according to claim 7, characterized in that: The step of determining the target LAN information based on the LAN information includes: Extracting a local area network identifier and a local area network strength from the local area network information; Determining whether the local area network identifier meets a preset local area network identifier condition; In the case where the LAN identifier meets the preset LAN identifier condition, determining whether the LAN strength meets the preset LAN strength condition; In a case where the LAN strength meets the preset LAN strength condition, the LAN information is determined as the target LAN information.
9. The vehicle system upgrade method according to claim 7, characterized in that: The step of determining the target LAN information based on the LAN information includes: Extracting a local area network identifier and a local area network strength from the local area network information; Determining whether the local area network strength meets a preset local area network strength condition; In the case where the LAN strength meets the preset LAN strength condition, determining whether the LAN identifier meets the preset LAN identifier condition; In a case where the LAN identifier meets the preset LAN identifier condition, the LAN information is determined as the target LAN information.
10. A vehicle system upgrade device, characterized in that: include: A first acquisition module is used to acquire the system upgrade function status of the vehicle; A determination module, configured to determine a target local area network based on the local area network list information of the vehicle when the system upgrade function state is in an activated state; A second acquisition module, used for acquiring upgrade package data through the target local area network; The vehicle system upgrade module is used to upgrade the vehicle system according to the upgrade package data to obtain the vehicle system upgrade result.
11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the vehicle system upgrade method described in any one of claims 1-9 when executing the program stored in the memory.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the vehicle system upgrade method according to any one of claims 1 to 9 is implemented.