CN117081925A - Upgrade data transmission method and device, electronic equipment and storage medium - Google Patents

Upgrade data transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117081925A
CN117081925A CN202311118751.9A CN202311118751A CN117081925A CN 117081925 A CN117081925 A CN 117081925A CN 202311118751 A CN202311118751 A CN 202311118751A CN 117081925 A CN117081925 A CN 117081925A
Authority
CN
China
Prior art keywords
target
vehicle
determining
target vehicle
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311118751.9A
Other languages
Chinese (zh)
Inventor
朱乾勇
唐小丽
袁正权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Seres New Energy Automobile Design Institute Co Ltd
Original Assignee
Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Seres New Energy Automobile Design Institute Co Ltd filed Critical Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority to CN202311118751.9A priority Critical patent/CN117081925A/en
Publication of CN117081925A publication Critical patent/CN117081925A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of data transmission, and provides an upgrade data transmission method, an upgrade data transmission device, electronic equipment and a storage medium. The method comprises the steps of determining the network state of a current vehicle based on network parameters by acquiring the network parameters of the current vehicle; if the network state meets the target state, acquiring at least one upgrade data from an upgrade server; the method comprises the steps of determining target vehicles from adjacent vehicles, determining target upgrading data corresponding to each target vehicle from at least one obtained upgrading data, determining target transfer paths corresponding to each target vehicle only by subsequently transmitting the target upgrading data to the corresponding target vehicle, and transmitting the target upgrading data corresponding to the target vehicle based on the target transfer paths corresponding to the target vehicles.

Description

Upgrade data transmission method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to an upgrade data transmission method, an upgrade data transmission device, an electronic device, and a storage medium.
Background
With the increasing number of vehicles and the continuous development of computer technology, network technology and the like, the intelligent requirements, safety requirements and the like of people on the vehicles are also higher, and the vehicles are more intelligent and multimedia. Various hardware and software (applications) are often deployed in the current vehicles, for example, intelligent cabins, sensing systems, automatic driving systems, on-board operating systems, navigation applications, video and audio playing applications and the like are configured in the vehicles. Such hardware, software, while making the vehicle more functional, is also more vulnerable to vulnerabilities, or needs to be replaced with more advanced versions, etc. Therefore, it is necessary to upgrade and update the hardware and software (application) systems of the vehicle.
At the time of the software update, the vehicle may download a vehicle upgrade package from an OTA upgrade server based on an Over The Air (OTA), and implement the software update through the vehicle upgrade package. In the related art, each time a vehicle issues an upgrade request, an OTA upgrade server needs to respond to the upgrade request of the vehicle and issue a vehicle upgrade package to the vehicle. However, because the OTA upgrade server is to provide a vehicle upgrade package for each vehicle, the load of the OTA server is large.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for transmitting upgrade data, so as to solve the problem in the prior art that an upgrade server needs to provide upgrade data for each vehicle, resulting in a larger load of the upgrade server.
In a first aspect of an embodiment of the present application, there is provided an upgrade data transmission method, including: acquiring network parameters of a current vehicle, and determining the network state of the current vehicle based on the network parameters; if the network state meets the target state, acquiring at least one upgrade data from an upgrade server; determining target vehicles from the adjacent vehicles, and determining target upgrading data corresponding to each target vehicle from the acquired at least one upgrading data; and determining a target transfer path corresponding to each target vehicle, and transmitting target upgrading data corresponding to the target vehicle based on the target transfer path corresponding to the target vehicle.
In a second aspect of the embodiment of the present application, there is provided an upgrade data transmission apparatus, including: the determining module is used for acquiring network parameters of the current vehicle and determining the network state of the current vehicle based on the network parameters; the acquiring module is used for acquiring at least one upgrade data from the upgrade server if the network state accords with the target state; the determining module is also used for determining target vehicles from the adjacent vehicles and determining upgrading data corresponding to each target vehicle; the transmission module is used for determining a target transmission path corresponding to each target vehicle and transmitting upgrading data corresponding to the target vehicle based on the target transmission path corresponding to the target vehicle.
In a third aspect of the embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect of the embodiments of the present application, there is provided a readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method.
Compared with the prior art, the embodiment of the application has the beneficial effects that: in the example of the application, the network state of the current vehicle is determined based on the network parameters by acquiring the network parameters of the current vehicle; if the network state meets the target state, acquiring at least one upgrade data from an upgrade server; the method comprises the steps of determining target vehicles from adjacent vehicles, determining target upgrading data corresponding to each target vehicle from at least one obtained upgrading data, realizing the subsequent transmission of the target upgrading data to the corresponding target vehicle only, further avoiding the problem that the data transmission pressure is overlarge because all obtained upgrading data are sent to the target vehicles, simultaneously avoiding the problem that invalid upgrading data are transmitted to the target vehicles and invalid transmission is caused, improving the efficiency and practicability of the transmission of the target upgrading data, determining a target transmission path corresponding to each target vehicle, and transmitting the target upgrading data corresponding to each target vehicle based on the target transmission path corresponding to the target vehicle.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of an upgrade data transmission method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating another method for transmitting upgrade data according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for transmitting upgrade data according to an embodiment of the present application;
FIG. 4 is a flowchart of another method for transmitting upgrade data according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a connection relationship between a current vehicle and a target vehicle according to an embodiment of the present application;
FIG. 6 is a flow chart of yet another alternative method for transmitting upgrade data according to an embodiment of the present application;
FIG. 7 is a flow chart of an alternative method for transmitting upgrade data according to an embodiment of the present application;
FIG. 8 is a flow chart of yet another alternative method for transmitting upgrade data according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an upgrade data transmission device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
An upgrade data transmission method and apparatus according to embodiments of the present application will be described in detail with reference to the accompanying drawings.
Fig. 1 is a diagram of an upgrade data transmission method according to an embodiment of the present application, where, as shown in fig. 1, the method includes:
s101, acquiring network parameters of a current vehicle, and determining the network state of the current vehicle based on the network parameters;
s102, if the network state meets the target state, acquiring at least one upgrade data from an upgrade server;
S103, determining target vehicles from adjacent vehicles, and determining target upgrading data corresponding to each target vehicle from the acquired at least one upgrading data;
s104, determining a target transfer path corresponding to each target vehicle, and transmitting target upgrading data corresponding to the target vehicle based on the target transfer path corresponding to the target vehicle.
Specifically, the upgrade data transmission method provided by the present example is applied to vehicles including vehicles with automatic driving or intelligent driving (including passenger function vehicles (e.g., sedans, buses, wagons, golf carts, etc.), cargo function vehicles (e.g., regular trucks, vans, dump trucks, closed trucks, tank trucks, flatcars, container cars, dump trucks, special structure trucks), special vehicles (e.g., logistics distribution vehicles, automated guided transport vehicles AGVs, patrol cars, cranes, excavators, bulldozers, forklift trucks, road loaders, off-road engineering vehicles, armored vehicles, sewage treatment vehicles, sanitation vehicles, dust trucks, floor washing vehicles, sprinkler vehicles, sweeping robots, meal delivery robots, shopping guide robots, mowers, golf carts, etc.), recreational vehicles (e.g., recreational vehicles, amusement park automatic driving devices, balance cars, etc.), rescue vehicles (e.g., fire trucks, ambulances, electric power repair vehicles, engineering emergency vehicles, etc.), and the like).
In some examples, the current vehicle obtains network parameters of the vehicle through a network detection module provided by itself, including but not limited to: network bandwidth, network delay, etc.; network bandwidth refers to the amount of data that can be transmitted per unit time (typically 1 second). Network latency refers to the round-trip time of a data packet from the current vehicle to the upgrade server and then back from the upgrade server to the current vehicle. In brief, network latency is the network response time between a visitor to a visited.
With the above example in mind, the network status of the vehicle includes, but is not limited to: after acquiring network parameters, determining the network state of the current vehicle based on the network parameters, specifically, presetting a target network bandwidth and a target network delay by related personnel, comparing the acquired network bandwidth of the current vehicle with the target network bandwidth, and comparing the network delay with the target network delay, wherein if the network bandwidth is not lower than the target network bandwidth and the network delay is not lower than the target network delay, the network state of the current vehicle is in a good state; if the network bandwidth is lower than the target network bandwidth or the network delay is lower than the target network delay, the current network state of the vehicle is in a non-good state.
In some examples, when the network state meets the target state, at least one upgrade data is obtained from the upgrade server, where the target state is a good state, that is, when the network state of the current vehicle is a good state, at least one upgrade data can be obtained from the upgrade server, so that the situations that when the network of the current vehicle is not good, a connection line with the upgrade server is unstable, packet loss occurs, delay increases, even interruption occurs when serious, and repeated attempt to obtain and system resources are wasted are avoided.
With the above example in mind, it can be appreciated that the current vehicle is able to obtain at least one upgrade data from an upgrade server; in some examples, when the current vehicle obtains at least two upgrade data from the upgrade server, the at least two upgrade data correspond to different vehicle systems; for example, the current vehicle acquires A, B two upgrade data from an upgrade server, wherein the upgrade data A is upgrade data corresponding to a cabin system, and the upgrade data B is upgrade data corresponding to an audio-visual system and the like; in some examples, when the current vehicle obtains at least two upgrade data from the upgrade server, the at least two upgrade data correspond to different versions of the same vehicle system; for another example, the current vehicle obtains A, B two upgrade data from the upgrade server, where the upgrade data a is one version of upgrade data corresponding to the cabin system, and the upgrade data B is another version of upgrade data corresponding to the cabin system.
In some examples, the current vehicle obtains at least one upgrade data from the upgrade server, then adjusts itself to a distribution mode that characterizes itself as currently having upgrade data, and is capable of transmitting the upgrade data to other vehicles.
In some examples, after the current vehicle obtains at least one upgrade data from the upgrade server, a target vehicle is determined from the neighboring vehicles, and target upgrade data corresponding to each target vehicle is determined from the obtained at least one upgrade data, so as to determine corresponding target upgrade data for each target vehicle. Specifically, for example, the current vehicle acquires N upgrade data from the upgrade server, and the current vehicle determines the first target vehicle and the second target vehicle, so that the current vehicle determines target upgrade data corresponding to the first target vehicle from the N upgrade data, and determines target upgrade data corresponding to the second target vehicle, thereby avoiding the problem that data transmission pressure is overlarge because all the acquired upgrade data are sent to the target vehicle, and simultaneously avoiding the problem that invalid upgrade data for the target vehicle are transmitted to the target vehicle, resulting in invalid transmission, and improving the efficiency and practicability of the transmission of the target upgrade data.
In some examples, a target transfer path corresponding to each target vehicle is determined and target upgrade data corresponding to the target vehicle is transmitted based on the target transfer path corresponding to the target vehicle. The target transmission link includes a transmission path and a transmission method, where the transmission method includes but is not limited to: at least one of WiFi communication transmission, bluetooth communication transmission, 3G-5G data communication transmission, NFC near field communication transmission, infrared communication transmission and zigbee communication transmission is realized by determining the target transmission path between each target vehicle and the current vehicle, so that the situations of too slow data transmission speed, data transmission blockage, data transmission interruption and the like caused by directly transmitting target upgrading data to the target vehicles are avoided.
According to the technical scheme provided by the embodiment of the application, the network parameters of the current vehicle are obtained, and the network state of the current vehicle is determined based on the network parameters; if the network state meets the target state, acquiring at least one upgrade data from an upgrade server; the method comprises the steps of determining target vehicles from adjacent vehicles, determining target upgrading data corresponding to each target vehicle from at least one obtained upgrading data, realizing the subsequent transmission of the target upgrading data to the corresponding target vehicle only, further avoiding the problem that the data transmission pressure is overlarge because all obtained upgrading data are sent to the target vehicles, simultaneously avoiding the problem that invalid upgrading data are transmitted to the target vehicles and invalid transmission is caused, improving the efficiency and practicability of the transmission of the target upgrading data, determining a target transmission path corresponding to each target vehicle, and transmitting the target upgrading data corresponding to each target vehicle based on the target transmission path corresponding to the target vehicle.
In some embodiments, as shown in fig. 2, determining a target vehicle from among neighboring vehicles includes:
s201, determining a position parameter of a current vehicle according to a position sensor of the current vehicle, and determining an adjacent vehicle based on the position parameter;
s202, determining a system state of each adjacent vehicle, and determining a target vehicle according to the system state of each adjacent vehicle, wherein the system state is used for representing the current upgrading requirement of the adjacent vehicle.
Specifically, a position sensor is arranged on a current vehicle, the position sensor is a satellite-based positioning system, a position parameter of the current vehicle is determined by receiving signals transmitted by satellites, then a vehicle adjacent to the current vehicle is determined based on the position parameter of the current vehicle and the position parameters of other vehicles, and the adjacent vehicle is used as an adjacent vehicle; in some examples, the current vehicle may enable positioning by wireless signals and determine neighboring vehicles; in some examples, the current vehicle may also be positioned by capturing images with a camera and determining neighboring vehicles.
It can be appreciated that in some examples, after the position parameters of other vehicles are obtained and the adjacent vehicles are determined, classification verification is required to be performed on the adjacent vehicles, and after the classification verification of the adjacent vehicles is passed, the adjacent vehicles are used as the adjacent vehicles; such classification verification includes, but is not limited to: the brand classification verification and the model classification verification are taken as examples, the brand classification verification is carried out on each adjacent vehicle after the adjacent vehicle is determined by the current vehicle, the adjacent vehicle is taken as the adjacent vehicle after the brand classification verification passes (in some examples, when the adjacent vehicle and the current vehicle are in the same brand, the brand classification verification passes), and if the brand classification verification fails (in some examples, when the adjacent vehicle and the current vehicle are not in the same brand, the brand classification verification does not pass), the adjacent vehicle is not taken as the adjacent vehicle.
In some examples, after determining the neighboring vehicles adjacent to the current vehicle, determining a system state of each neighboring vehicle, wherein the system state is used for representing the current upgrading requirement of the neighboring vehicle, matching the system state with a preset target system state, and taking the neighboring vehicle as the target vehicle when the system state of the neighboring vehicle meets the target system state; if the system state of the adjacent vehicle does not meet the target system state, the adjacent vehicle is not taken as the target vehicle; specifically, for example, the preset target system state is a power-down state, and any system in the vehicle is in a state to be upgraded; the method comprises the steps that a current vehicle obtains a system state of each adjacent vehicle, and when the system state of each adjacent vehicle is in a power-down state and any system in the vehicle is in a state to be upgraded, the adjacent vehicle is taken as a target vehicle; otherwise, if the system state of the adjacent vehicle is not in the power-down state or the system in the vehicle is not in the state to be upgraded, the adjacent state is not taken as the target vehicle.
According to the technical scheme provided by the embodiment of the application, the position parameters of the current vehicle are determined according to the position sensor of the current vehicle, and the adjacent vehicles are determined based on the position parameters; the system state of each adjacent vehicle is determined, and the target vehicle is determined according to the system state of each adjacent vehicle, so that the effect of accurately determining the target vehicle is realized, and the problem of overload caused by taking all the adjacent vehicles as the target vehicle is avoided.
In some embodiments, as shown in fig. 3, determining target upgrade data corresponding to each target vehicle from the acquired at least one upgrade data includes:
s301, acquiring a system version of each target vehicle;
s302, determining the target upgrading data corresponding to each target vehicle according to the matching degree of the system version of each target vehicle and the system version corresponding to each upgrading data.
Specifically, the current vehicle acquires a system version of each target vehicle, wherein the acquired system version of the target vehicle includes a system version corresponding to any system used by the target vehicle, for example, the target vehicle includes a cabin system and an audio-visual system, and the acquiring the system version of the target vehicle includes acquiring the system version of the cabin system and the system version of the audio-visual system of the target vehicle.
In some examples, the target upgrade data corresponding to each target vehicle is determined according to the matching degree of the system version of each target vehicle and the system version corresponding to each upgrade data, wherein the current vehicle matches the system version of the target vehicle with the obtained upgrade data one by one, further determines the matching degree of the system version and the upgrade data, and takes the upgrade data as the target upgrade data when the matching degree of the system version and the upgrade data is higher than a threshold value.
In some examples, the current vehicle classifies the system version and the upgrade data, and then matches the same type of system version and upgrade data to determine the target upgrade data corresponding to the target vehicle, e.g., the system version of the target vehicle includes: the system version corresponding to the cabin system and the system version corresponding to the audio-video system are matched, and target upgrading data corresponding to the target vehicle is determined according to the matching degree; the system version corresponding to the video and audio system is matched with the upgrade data corresponding to the video and audio system, and the target upgrade data corresponding to the target vehicle is determined according to the matching degree, so that invalid matching caused by matching the system version of different classifications with all the upgrade data is avoided, system resources are saved, and meanwhile, the matching speed is improved.
According to the technical scheme provided by the embodiment of the application, the system version of each target vehicle is acquired; according to the matching degree of the system version of each target vehicle and the system version corresponding to each upgrading data, the target upgrading data corresponding to each target vehicle is determined, the effect of accurately determining the target upgrading data according to the system version of the target vehicle is achieved, and further invalid upgrading data are prevented from being sent to the target vehicle, system loss is avoided, and system resources are saved.
In some embodiments, as shown in fig. 4, determining a corresponding target transfer path for each target vehicle includes:
s401, determining a connection relation between each target vehicle and the current vehicle, and determining connection relations among a plurality of target vehicles;
s402, acquiring at least one transmission path between each target vehicle and the current vehicle according to the determined connection relation;
s403, carrying out transmission quality evaluation on each transmission path, and determining a target transmission path corresponding to each target vehicle according to a transmission quality evaluation result.
Specifically, the current vehicle determines the connection relation between the target vehicle and the current vehicle, and builds the connection relation among a plurality of target vehicles, thereby realizing the construction of a connection relation diagram; wherein the connection relationship includes a communication-capable connection and a communication-incapable connection, for example, there are a target vehicle a and a target vehicle B, wherein it is first determined whether the current vehicle and the target vehicle a are capable of connecting communication, whether the current vehicle and the target vehicle B are capable of connecting communication, and then it is determined whether the target vehicle a and the target vehicle B are capable of connecting communication.
In some examples, after determining the connection relationship, at least one transfer path between each target vehicle and the current vehicle is obtained based on the connection relationship, the target vehicle and the current vehicle being capable of being communicatively connected via the transfer path; for example, as shown in fig. 5, there are target vehicles A, B and C, in which the target vehicle A, B and the current vehicle are capable of communication connection, and the target vehicle a and the target vehicle B are capable of communication connection, the target vehicle C is incapable of communication connection with the current vehicle, and the target vehicle C and the target vehicle a are capable of communication connection, then at this time, the transmission path between the current vehicle and the target vehicle a includes three kinds of: first kind: current vehicle-target vehicle a, second: current vehicle-target vehicle B-target vehicle a, third: current vehicle-target vehicle B-target vehicle C-target vehicle a; similarly, the transfer path between the current vehicle and the target vehicle B includes the following three types: first kind: current vehicle-target vehicle B, second: current vehicle-target vehicle a-target vehicle B, third: current vehicle-target vehicle a-target vehicle C-target vehicle B; likewise, the transfer path between the current vehicle and the target vehicle B includes four kinds of: first kind: current vehicle-target vehicle B-target vehicle C, second: current vehicle-target vehicle a-target vehicle C; third kind: current vehicle-target vehicle a-target vehicle B-target vehicle C; fourth kind: current vehicle-target vehicle B-target vehicle a-target vehicle C.
In some examples, after determining the transfer paths between the target vehicle and the current vehicle, quality evaluations are performed on each transfer path separately, and an optimal transfer path is selected as the target transfer path between the target vehicle and the current vehicle according to the quality evaluation result.
In the above example, the transmission path between the current vehicle and the target vehicle a includes the following three kinds of "first: current vehicle-target vehicle a, second: current vehicle-target vehicle B-target vehicle a, third: the present vehicle-target vehicle B-target vehicle C-target vehicle a″ is exemplified by determining transfer quality corresponding to each of the transfer paths by evaluating transfer quality of the first to third transfer paths, and if the first transfer path is highest in quality, the first transfer path is taken as a target transfer path between the target vehicle and the present vehicle, and if the second transfer path is highest in quality, the second transfer path is taken as a target transfer path between the target vehicle and the present vehicle, and if the third transfer path is highest in quality, the third transfer path is taken as a target transfer path between the target vehicle and the present vehicle.
According to the technical scheme provided by the embodiment of the application, the connection relation between each target vehicle and the current vehicle is determined, and the connection relation among a plurality of target vehicles is determined; acquiring at least one transfer path between each target vehicle and the current vehicle according to the determined connection relation; and carrying out transmission quality evaluation on each transmission path, and determining a target transmission path corresponding to each target vehicle according to a transmission quality evaluation result, wherein after determining at least the transmission paths, the transmission quality evaluation is carried out on each transmission path, so that the optimal transmission path is used as the target transmission path, and further, the subsequent transmission efficiency is improved.
In some examples, as shown in fig. 6, performing a transfer quality assessment for each transfer path includes:
s601, determining an initial score value corresponding to each transmission path according to the transmission length of each transmission path, and determining a weight corresponding to each transmission path according to the connection quality of each transmission path;
s602, carrying out transmission quality evaluation on each transmission path based on the weight corresponding to each transmission path and the initial score value of each transmission path.
Specifically, the longer the transfer length of the transfer path is, the lower the initial score value corresponding to the transfer path is, the shorter the transfer field of the transfer path is, the higher the initial score value corresponding to the transfer path is, and the initial score value corresponding to each transfer path is determined according to the rule, where the transfer length is the number of times the current vehicle transfers to the target vehicle, for example, the transfer path is: the transfer length of the transfer path is 1 when the current vehicle is the target vehicle a; for another example, the transfer path is: the transfer length of the transfer path is 2 when the vehicle is currently a vehicle-target vehicle B-target vehicle a.
In some examples, the weight corresponding to each transfer path is determined according to the connection quality of each transfer path, wherein the higher the connection quality of the transfer path, the greater the weight of the transfer path, whereas the lower the connection quality of the transfer path, the lower the weight of the transfer path, wherein the connection quality is used to characterize the data transmission data and the data transmission delay.
Finally, weighting the initial score value corresponding to each transmission path according to the weight of each transmission path to obtain the score value corresponding to each transmission path; and then sorting the obtained score values, and taking the transmission path with the highest score as the target transmission path corresponding to the target vehicle.
According to the technical scheme provided by the embodiment of the application, the initial score value corresponding to each transmission path is determined according to the transmission length of each transmission path, and the weight corresponding to each transmission path is determined according to the connection quality of each transmission path; and carrying out transmission quality evaluation on each transmission path based on the weight corresponding to each transmission path and the initial score value of each transmission path, wherein the transmission quality evaluation is carried out on the transmission path through the transmission length and the connection quality, so that the transmission path of the transmission path is accurately determined and visualized.
In some examples, as shown in fig. 7, before transmitting the target upgrade data corresponding to the target vehicle based on the transfer link corresponding to the target vehicle, the method further includes:
s701, acquiring upgrading priority of each target vehicle and upgrading urgency of each target vehicle;
s702, determining the upgrading sequence of each target vehicle according to the upgrading priority and the upgrading urgency of each target vehicle.
Specifically, the current vehicle acquires the upgrade priority of each target vehicle, for example, if a vehicle with a priority upgrade service is activated in a certain target vehicle, the upgrade priority of the target vehicle with the priority upgrade service activated is high, and how to set the upgrade priority of the target vehicle specifically can be flexibly set by related personnel.
In some examples, the current vehicle determines the upgrade urgency of each target vehicle, e.g., if the current vehicle determines that there is a safety hazard for the current system version of the target vehicle, the current vehicle determines that the upgrade urgency of the target vehicle is high, it being understood how the upgrade urgency of the target vehicle may be flexibly set by the relevant personnel.
In some examples, according to the upgrade priority and the upgrade urgency of each target vehicle, the upgrade order of each target vehicle is determined, for example, the upgrade priority and the upgrade urgency are added to obtain a score, then the upgrade order is determined according to the high-low value, and finally the target vehicles sequentially transmit target upgrade data to upgrade the target vehicles based on the upgrade order, so that the target vehicles are upgraded in stages, and the problems that the current vehicle load is overlarge and the data transmission speed is too slow due to simultaneous transmission of the target upgrade data to all the target vehicles are avoided.
According to the technical scheme provided by the embodiment of the application, the upgrading priority of each target vehicle and the upgrading emergency degree of each target vehicle are obtained; according to the upgrading priority and the upgrading emergency degree of each target vehicle, the upgrading sequence of each target vehicle is determined, the target vehicles are upgraded in stages, and the problems that the current vehicle load is overlarge and the data transmission speed is too slow due to the fact that target upgrading data are transmitted to all the target vehicles simultaneously are avoided.
In some examples, as shown in fig. 8, in a process of transmitting the target upgrade data corresponding to the target vehicle based on the target transfer path corresponding to the target vehicle, the method further includes:
s801, monitoring the link quality of a target transmission path and the data transmission quality of upgrade data in real time;
s802, adjusting a target transfer path corresponding to the target vehicle based on the link quality and the data transfer quality.
Specifically, the link quality of the target transfer path and the data transfer quality of the upgrade data are monitored in real time, wherein how to monitor the link quality and the data transfer quality can be flexibly set by related personnel.
Finally, based on the link quality and the data transmission quality, the target transmission path corresponding to the target vehicle is adjusted, for example, A, B and three transmission paths C exist, wherein A is the target transmission path, when the link quality or the data transmission quality is monitored to be too low, the B transmission path is converted into the target transmission path, and the problems of slow data transmission and unstable data transmission caused by the fact that the target transmission path is still used when the link quality or the data transmission quality of the target transmission path is too low are avoided.
According to the technical scheme provided by the embodiment of the application, the link quality of the target transmission path and the data transmission quality of the upgrade data are monitored in real time; based on the link quality and the data transmission quality, the target transmission path corresponding to the target vehicle is adjusted, so that the target transmission path corresponding to the target vehicle is dynamically monitored and adjusted, and further good link quality and data transmission quality are kept, and the problems of slow data transmission and unstable data transmission caused by the fact that the target transmission path is still used when the link quality of the target transmission path is too low or the data transmission quality is too low are solved.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
The embodiment also provides an upgrade data transmission device, as shown in fig. 9, which includes:
a determining module 901, configured to obtain a network parameter of a current vehicle, and determine a network state of the current vehicle based on the network parameter;
An obtaining module 902, configured to obtain at least one upgrade data from the upgrade server if the network status meets the target status;
the determining module 901 is further configured to determine target vehicles from neighboring vehicles, and determine upgrade data corresponding to each target vehicle;
the transmission module 903 is configured to determine a target transmission path corresponding to each target vehicle, and transmit upgrade data corresponding to the target vehicle based on the target transmission path corresponding to the target vehicle.
In some examples, the determination module 901 is further configured to determine a location parameter of the current vehicle from the location sensor of the current vehicle and determine a neighboring vehicle based on the location parameter; a system state of each neighboring vehicle is determined, and a target vehicle is determined based on the system state of each neighboring vehicle.
In some examples, the determination module 901 is further for obtaining a system version for each target vehicle; and determining the target upgrading data corresponding to each target vehicle according to the matching degree of the system version of each target vehicle and the system version corresponding to each upgrading data.
In some examples, the transmission module 903 is further configured to determine a connection relationship between each target vehicle and the current vehicle, and determine a connection relationship between a plurality of target vehicles; acquiring at least one transfer path between each target vehicle and the current vehicle according to the determined connection relation; and carrying out transmission quality evaluation on each transmission path, and determining a target transmission path corresponding to each target vehicle according to the transmission quality evaluation result.
In some examples, the transmission module 903 is further configured to determine an initial score value corresponding to each transmission path according to a transmission length of each transmission path, and determine a weight corresponding to each transmission path according to a connection quality of each transmission path; and carrying out transmission quality evaluation on each transmission path based on the weight corresponding to each transmission path and the initial score value of each transmission path.
In some examples, the transmission module 903 is further configured to obtain an upgrade priority level of each target vehicle and an upgrade urgency level of each target vehicle; and determining the upgrading sequence of each target vehicle according to the upgrading priority and the upgrading emergency degree of each target vehicle.
In some examples, the transmission module 903 is further configured to monitor in real time a link quality of the target transfer path and a data transfer quality of the upgrade data; and adjusting a target transfer path corresponding to the target vehicle based on the link quality and the data transfer quality.
According to the technical scheme provided by the embodiment of the application, the device of the embodiment of the application determines the network state of the current vehicle based on the network parameters by acquiring the network parameters of the current vehicle; if the network state meets the target state, acquiring at least one upgrade data from an upgrade server; the method comprises the steps of determining target vehicles from adjacent vehicles, determining target upgrading data corresponding to each target vehicle from at least one obtained upgrading data, realizing the subsequent transmission of the target upgrading data to the corresponding target vehicle only, further avoiding the problem that the data transmission pressure is overlarge because all obtained upgrading data are sent to the target vehicles, simultaneously avoiding the problem that invalid upgrading data are transmitted to the target vehicles and invalid transmission is caused, improving the efficiency and practicability of the transmission of the target upgrading data, determining a target transmission path corresponding to each target vehicle, and transmitting the target upgrading data corresponding to each target vehicle based on the target transmission path corresponding to the target vehicle.
Fig. 10 is a schematic diagram of an electronic device 10 according to an embodiment of the present application. As shown in fig. 10, the electronic device 10 of this embodiment includes: a processor 1001, a memory 1002 and a computer program 1003 stored in the memory 1002 and executable on the processor 1001. The steps of the various method embodiments described above are implemented by the processor 1001 when executing the computer program 1003. Alternatively, the processor 1001 implements the functions of the modules/units in the above-described respective device embodiments when executing the computer program 1003.
The electronic device 10 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 10 may include, but is not limited to, a processor 1001 and a memory 1002. It will be appreciated by those skilled in the art that fig. 10 is merely an example of the electronic device 10 and is not limiting of the electronic device 10 and may include more or fewer components than shown, or different components.
The processor 1001 may be a central processing unit (Central Processing Unit, CPU) or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
The memory 1002 may be an internal storage unit of the electronic device 10, for example, a hard disk or a memory of the electronic device 10. The memory 1002 may also be an external storage device of the electronic device 10, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 10. Memory 1002 may also include both internal and external storage units of electronic device 10. The memory 1002 is used to store computer programs and other programs and data required by the electronic device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit.
The integrated modules/units may be stored in a readable storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a readable storage medium, where the computer program may implement the steps of the method embodiments described above when executed by a processor. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the area and the patent practice, for example, in some areas, the computer readable medium does not include the electric carrier signal and the telecommunication signal according to the area requirements and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. An upgrade data transmission method, the method comprising:
acquiring network parameters of a current vehicle, and determining the network state of the current vehicle based on the network parameters;
if the network state meets the target state, acquiring at least one upgrade data from an upgrade server;
determining target vehicles from adjacent vehicles, and determining target upgrading data corresponding to each target vehicle from the acquired at least one piece of upgrading data;
and determining a target transfer path corresponding to each target vehicle, and transmitting the target upgrading data corresponding to the target vehicle based on the target transfer path corresponding to the target vehicle.
2. The method of claim 1, wherein determining the target vehicle from the neighboring vehicles comprises:
determining a position parameter of the current vehicle according to a position sensor of the current vehicle, and determining the adjacent vehicle based on the position parameter;
determining a system status of each of the neighboring vehicles, determining the target vehicle according to the system status of each of the neighboring vehicles, the system status being used to determine current upgrade requirements of the neighboring vehicles.
3. The method of claim 1, wherein determining the target upgrade data corresponding to each of the target vehicles from the acquired at least one upgrade data comprises:
acquiring a system version of each target vehicle;
and determining the target upgrading data corresponding to each target vehicle according to the matching degree of the system version of each target vehicle and the system version corresponding to each upgrading data.
4. A method according to claim 3, wherein determining a corresponding target transfer path for each of the target vehicles comprises:
determining a connection relationship between each of the target vehicles and the current vehicle, and determining a connection relationship between a plurality of the target vehicles;
Acquiring at least one transfer path between each target vehicle and the current vehicle according to the determined connection relation;
and carrying out transmission quality evaluation on each transmission path, and determining the target transmission path corresponding to each target vehicle according to the transmission quality evaluation result.
5. The method of claim 4, wherein performing a transfer quality assessment for each of the transfer paths comprises:
determining an initial score value corresponding to each transmission path according to the transmission length of each transmission path, and determining a weight corresponding to each transmission path according to the connection quality of each transmission path;
and carrying out transmission quality evaluation on each transmission path based on the weight corresponding to each transmission path and the initial score value of each transmission path.
6. The method of claim 1, wherein prior to transmitting the target upgrade data corresponding to the target vehicle based on the transfer link corresponding to the target vehicle, the method further comprises:
acquiring upgrading priority of each target vehicle and upgrading emergency degree of each target vehicle;
And determining the upgrading sequence of each target vehicle according to the upgrading priority and the upgrading urgency of each target vehicle.
7. The method according to claim 1, wherein in transmitting the target upgrade data corresponding to the target vehicle based on the target transfer path corresponding to the target vehicle, the method further comprises:
monitoring the link quality of the target transmission path and the data transmission quality of the upgrade data in real time;
and adjusting the target transmission path corresponding to the target vehicle based on the link quality and the data transmission quality.
8. An upgrade data transmission apparatus, said apparatus comprising:
the determining module is used for acquiring network parameters of the current vehicle and determining the network state of the current vehicle based on the network parameters;
the acquiring module is used for acquiring at least one upgrade data from the upgrade server if the network state accords with the target state;
the determining module is further used for determining target vehicles from adjacent vehicles and determining the upgrading data corresponding to each target vehicle;
and the transmission module is used for determining a target transmission path corresponding to each target vehicle and transmitting the upgrade data corresponding to the target vehicle based on the target transmission path corresponding to the target vehicle.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when the computer program is executed.
10. A readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202311118751.9A 2023-08-31 2023-08-31 Upgrade data transmission method and device, electronic equipment and storage medium Pending CN117081925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311118751.9A CN117081925A (en) 2023-08-31 2023-08-31 Upgrade data transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311118751.9A CN117081925A (en) 2023-08-31 2023-08-31 Upgrade data transmission method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117081925A true CN117081925A (en) 2023-11-17

Family

ID=88711555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311118751.9A Pending CN117081925A (en) 2023-08-31 2023-08-31 Upgrade data transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117081925A (en)

Similar Documents

Publication Publication Date Title
US20210192861A1 (en) Method and apparatus for inter-vehicular safety awareness and alert
CN109305197B (en) Train control method and system and vehicle-mounted controller
JP7024196B2 (en) Non-boarding automatic parking systems, vehicles, and non-boarding automatic parking programs
US20210006956A1 (en) Information Processing Method, Related Device, and Computer Storage Medium
CN113335297B (en) Vehicle control method and device
CN114572128B (en) Integrated trailer-to-vehicle current draw management
JP6973120B2 (en) Spoofing detectors, detection methods, and computer programs
CN117081925A (en) Upgrade data transmission method and device, electronic equipment and storage medium
CN111586636B (en) Automatic driving vehicle rapid communication method, equipment and storage medium based on mixed traffic flow state
CN116437319A (en) Method for constructing differentiated access ICT fusion information transmission platform
CN116582905A (en) Vehicle data transmission method and device, electronic equipment and storage medium
CN116691421A (en) Charging port cover control method and device, electronic equipment and storage medium
CN112164205B (en) Method and device for sending alarm information
CN117544648A (en) Upgrade method and device for electronic control unit, electronic equipment and storage medium
US10419139B2 (en) Vehicle camera signal strength indicator
KR20200080395A (en) Vehicle system, control method of the vehicle system and the vehicle
WO2020179330A1 (en) Process arrangement control method, process arrangement control system, process arrangement control device, and server device
CN115465225B (en) Service life extension method and device of vehicle-mounted camera, vehicle and storage medium
US20220358224A1 (en) Onboard computer, computer program, computer-readable recording medium, and security setting method
US20230179570A1 (en) Canbus cybersecurity firewall
CN114125923B (en) Data transmission method, device, electronic equipment and storage medium
CN117528036B (en) Intelligent processing method and related device for truck data
CN117270923A (en) Data processing method and device, electronic equipment and storage medium
WO2023112238A1 (en) Communication system, communication method, and storage medium
CN117528407A (en) Sharing method and device in electronic fence, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination