CN111414183A - Upgrade detection method and device for vehicle component, computer equipment and storage medium - Google Patents
Upgrade detection method and device for vehicle component, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111414183A CN111414183A CN202010276843.XA CN202010276843A CN111414183A CN 111414183 A CN111414183 A CN 111414183A CN 202010276843 A CN202010276843 A CN 202010276843A CN 111414183 A CN111414183 A CN 111414183A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- vehicle
- detected
- detection
- information
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 160
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000004590 computer program Methods 0.000 claims description 24
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000007246 mechanism Effects 0.000 claims description 8
- 230000000737 periodic effect Effects 0.000 claims description 8
- 239000000463 material Substances 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses an upgrade detection method and device for a vehicle component, computer equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of sending an upgrade detection request of a current vehicle to be detected to a server, wherein the upgrade detection request carries basic information of all vehicle components of the current vehicle to be detected, receiving a detection result generated according to a comparison result of the basic information and latest upgrade package information returned by the server, and when the detection result is a new version, returning an upgrade strategy generated according to the basic information and the latest upgrade package information by the server so as to upgrade related vehicle components according to the upgrade strategy. The method and the device can reasonably and accurately push the upgrade information of the vehicle component for the user, improve the driving experience of the user and the driving safety of the user, and save a large amount of manpower and material resources because the vehicle does not need to be personally driven to a 4S store for upgrading by the method.
Description
Technical Field
The invention relates to the technical field of vehicles, in particular to an upgrade detection method and device for vehicle components, computer equipment and a storage medium.
Background
With the increasing intellectualization of automobiles, the application degree of electronic control units and software technologies on the whole automobiles is higher, the electronic software problems of the automobiles are more and more outbreak in the future, and the possibility of needing to be repaired is higher. When an ECU (electronic control unit) of an automobile breaks down or new functions are added to the automobile to be upgraded, the traditional ECU upgrading mode needs to inform a 4S shop of ECU firmware needing to be upgraded and an upgrading method in advance through the 4S shop, namely an automobile manufacturer, and informs an automobile owner to drive the automobile to the 4S shop, so that professionals upgrade the ECU firmware of the automobile. On one hand, in order to timely solve the problem when the vehicle of the user breaks down, a large number of service points are usually required to be established, which not only consumes time and labor, but also generates huge cost investment. On the other hand, under different scenes such as driving and parking, the upgrading information is blindly pushed to the user, so that the driving experience of the user is influenced, and the driving safety of the user is also influenced.
Therefore, a new upgrade detection method for vehicle components is continuously proposed to solve the above-mentioned problems.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for detecting an upgrade of a vehicle component, a computer device, and a storage medium, so as to overcome the problems that, in the prior art, blind pushing of an upgrade message of a vehicle component for a user not only affects driving experience of the user, but also affects driving safety of the user, and when a vehicle component fails or a new function needs to be added to the vehicle component for upgrading, the vehicle needs to be driven to a 4S store, and the vehicle needs to be upgraded by a professional, which consumes time and labor.
In order to solve one or more technical problems, the invention adopts the technical scheme that:
in a first aspect, there is provided a method of detecting an upgrade of a vehicle component, the method comprising the steps of:
sending an upgrade detection request of a current vehicle to be detected to a server side, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
Further, the upgrade policy generated according to the basic information and the latest upgrade package information at least includes:
and calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
Further, the updating strategy generated according to the basic information and the latest updating package information further includes:
and determining an upgrading sequence of the vehicle components and a downloading sequence of upgrading packages corresponding to the vehicle components according to the basic information and the latest upgrading package information, and generating an upgrading strategy according to the upgrading sequence and the downloading sequence.
Further, before sending an upgrade detection request of the current vehicle to be detected to the server, the method further includes:
and after receiving an upgrade detection trigger instruction of the vehicle to be detected, acquiring basic information of all vehicle components of the vehicle to be detected, and sending an upgrade detection request by combining the basic information.
Further, the upgrade detection trigger instruction at least includes:
an upgrade detection trigger instruction generated by clicking a detection button preset on a vehicle interface; and/or the presence of a gas in the gas,
after a vehicle to be detected receives the pushed upgrading message, generating an upgrading detection trigger instruction when the vehicle to be detected is ignited for the first time; and/or the presence of a gas in the gas,
an upgrade detection trigger instruction is generated regularly through a preset periodic polling mechanism; and/or the presence of a gas in the gas,
and when the preset upgrading time is reached and the related vehicle components of the vehicle to be detected are detected to be in the starting state, generating an upgrading detection trigger instruction.
Further, before sending an upgrade detection request of the current vehicle to be detected to the server, the method further includes:
and sending the identity information of the vehicle to be detected to a PKI system through a preset interface, so that the PKI system can carry out identity authentication on the vehicle to be detected according to the identity information and receive an authentication result returned by the PKI system.
In a second aspect, there is provided an upgrade detection apparatus for a vehicle component, the apparatus comprising:
the system comprises a request sending module, a server and a detection module, wherein the request sending module is used for sending an upgrade detection request of a current vehicle to be detected to the server, and the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and the data receiving module is used for receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, the server also returns an upgrade strategy which is generated according to the basic information and the latest upgrade package information so as to upgrade the related vehicle components according to the upgrade strategy.
Further, the apparatus further comprises:
the instruction receiving module is used for receiving an upgrade detection trigger instruction of the vehicle to be detected;
and the information acquisition module is used for acquiring the basic information of all vehicle components of the vehicle to be detected.
In a third aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the following steps are implemented:
sending an upgrade detection request of a current vehicle to be detected to a server side, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
In a fourth aspect, there is provided a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
sending an upgrade detection request of a current vehicle to be detected to a server side, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the upgrade detection method and device for the vehicle component, the computer equipment and the storage medium provided by the embodiment of the invention, by sending an upgrade detection request of the current vehicle to be detected to the server, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected, receiving a detection result which is returned by the server and is generated according to the basic information and a latest upgrade package information comparison result, when the detection result is that the new version exists, the server also returns an upgrading strategy generated according to the basic information and the latest upgrading package information, so as to upgrade the related vehicle components according to the upgrading strategy, realize the reasonable and accurate pushing of the upgrading information of the vehicle components for the user, improve the driving experience of the user and the driving safety of the user, by the method, the automobile does not need to be personally driven to a 4S store for upgrading, and a large amount of manpower and material resources are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method of upgrade detection of a vehicle component according to an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating the configuration of an upgrade detection apparatus for a vehicle component, according to an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating an internal architecture of a computer device, according to an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems of repair and function increase of an Electronic Control Unit (ECU) of a vehicle, the embodiment of the invention replaces the traditional field upgrade of a 4S shop by a pre-established OTA upgrade service system. In addition, considering that the vehicle has different scenes such as driving and parking, if OTA upgrade information is pushed for the user blindly, the driving experience of the user is influenced, and the driving safety of the user is also influenced. Therefore, the embodiment of the invention creatively provides an upgrade detection method of the vehicle component, so as to reasonably and accurately push the upgrade message of the vehicle component to a user.
Fig. 1 is a flow chart illustrating a method of detecting an upgrade of a vehicle component according to an exemplary embodiment, and referring to fig. 1, the method includes:
s101: and sending an upgrade detection request of the current vehicle to be detected to a server, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected.
Specifically, In the embodiment of the present invention, the Vehicle component mainly refers to an Electronic Control Unit (ECU) on the Vehicle, such as an electronic control unit on the Vehicle, such as IVI (In-Vehicle interior), TBOX, IC, and the like, which are not listed here. As a better implementation mode, the upgrading detection request of the vehicle to be detected can be sent to the server side through the terminal. For example, an APP may be preset for docking with a server, registering, detecting versions, downloading, and the like, after obtaining an upgrade package, a user confirms upgrading of devices such as TGW, a vehicle machine, an instrument and other ECUs through a human-computer interface of the vehicle machine, the APP may be installed on a terminal such as a mobile phone and the vehicle machine, and an upgrade detection request of a vehicle to be detected is sent to the server through the APP. When an upgrade detection request of a current vehicle to be detected is sent to a server, basic information of all vehicle components of the vehicle to be detected needs to be sent to the server together.
An ecu (electronic Control unit) electronic Control unit, which is also called a "traveling computer" or a "vehicle-mounted computer". The controller is a special microcomputer controller for the automobile in terms of application. It is similar to common computer and consists of microprocessor (CPU), memory (ROM, RAM), I/O interface, A/D converter, shaping and driving IC. The simple expression is that the ECU is the brain of the automobile.
S102: and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
Specifically, after receiving an upgrade detection request sent by a vehicle to be detected, the server side extracts basic information of all vehicle components of the vehicle to be detected, which is carried in the upgrade detection request, compares the obtained basic information of the vehicle components with latest upgrade package information corresponding to the vehicle components, which is locally stored by the server side, generates a detection result according to the comparison result, and finally returns the detection result to the server side. For example, the version information in the basic information is compared with the version information in the latest upgrade package information, if the version information in the basic information is consistent with the version information in the latest upgrade package information, the vehicle component does not have a new version, and the upgrade is not needed, and if the version information in the basic information is inconsistent with the version information in the latest upgrade package information, the vehicle component has a new version and needs to be upgraded. When the fact that all vehicle components of the vehicle to be detected have no new version on the service end is detected, the detection result without the new version is fed back, and when the fact that at least one vehicle component of the vehicle to be detected has the new version on the service end is detected, the detection result with the new version is fed back. It should be noted that, in the embodiment of the present invention, the latest upgrade package information includes, but is not limited to, upgrade package information uploaded to each vehicle component of the service end by a vehicle manufacturer manager.
In addition, in specific implementation, when the server detects that the vehicle component to be detected has a new version and needs to be updated, in the embodiment of the present invention, the server further needs to generate an upgrade policy according to the basic information of the vehicle component and the latest upgrade package information stored on the server and corresponding to the vehicle component, and return the upgrade policy and the detection result to the terminal together. In the subsequent process, the user can perform upgrading operation of the related vehicle components according to the upgrading strategy, such as downloading the upgrading package, installing the upgrading package and the like.
As a preferred implementation manner, in an embodiment of the present invention, the generating an upgrade policy according to the basic information and the latest upgrade package information at least includes:
and calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
Specifically, in the embodiment of the present invention, when the server generates the upgrade policy, the server needs to analyze the received basic information of each vehicle component, analyze at least information such as a current version of each vehicle component according to an analysis result, calculate which version each vehicle component of the vehicle to be detected needs to iterate to according to the basic information such as the current version and the latest upgrade package information of the corresponding vehicle component stored in the server, and finally generate the upgrade policy according to an obtained calculation result.
As a preferred implementation manner, in an embodiment of the present invention, the generating an upgrade policy according to the basic information and the latest upgrade package information further includes:
and determining an upgrading sequence of the vehicle components and a downloading sequence of upgrading packages corresponding to the vehicle components according to the basic information and the latest upgrading package information, and generating an upgrading strategy according to the upgrading sequence and the downloading sequence.
Specifically, in the embodiment of the present invention, when the server generates the upgrade policy, factors such as the download order and the installation order of the upgrade packages of the vehicle components need to be considered in addition to the factors of the versions in the above steps. Specifically, during implementation, a sequencing rule may be preset according to actual needs, industry experience and the like, for example, sequencing may be performed according to the size of the upgrade package, and the like, then the upgrade order of each vehicle component and the download order of the upgrade package corresponding to each vehicle component are determined according to the basic information of each vehicle component and the latest upgrade package information stored on the server, and finally, an upgrade policy is generated according to the upgrade order and the download order. In addition, the upgrade policy generated in the embodiment of the present invention may further include information such as a download path of the upgrade package. And the subsequent user can sequentially upgrade the vehicle components needing to be upgraded according to the upgrading sequence and the downloading sequence in the upgrading strategy.
As a preferred implementation manner, in the embodiment of the present invention, before sending the upgrade detection request of the current vehicle to be detected to the server, the method further includes:
and after receiving an upgrade detection trigger instruction of the vehicle to be detected, acquiring basic information of all vehicle components of the vehicle to be detected, and sending an upgrade detection request by combining the basic information.
Specifically, in the embodiment of the present invention, the setting terminal needs to send the upgrade detection request of the current vehicle to be detected to the server side after receiving the upgrade detection trigger instruction sent by the vehicle to be detected. And when the terminal sends the upgrade detection request of the current vehicle to be detected to the server, the terminal needs to send the basic information of all vehicle components of the current vehicle to be detected to the server at the same time. Therefore, before sending the upgrade detection request of the current vehicle to be detected to the server, the terminal needs to acquire the basic information of all vehicle components of the current vehicle to be detected. It should be noted that, in the embodiment of the present invention, the basic information of the vehicle component includes, but is not limited to, information such as a serial number and a current version number of the vehicle component, and a user may set the basic information according to actual needs, which is not listed here.
As a preferred implementation manner, in an embodiment of the present invention, the upgrade detection trigger instruction at least includes:
an upgrade detection trigger instruction generated by clicking a detection button preset on a vehicle interface; and/or the presence of a gas in the gas,
after a vehicle to be detected receives the pushed upgrading message, generating an upgrading detection trigger instruction when the vehicle to be detected is ignited for the first time; and/or the presence of a gas in the gas,
an upgrade detection trigger instruction is generated regularly through a preset periodic polling mechanism; and/or the presence of a gas in the gas,
and when the preset upgrading time is reached and the related vehicle components of the vehicle to be detected are detected to be in the starting state, generating an upgrading detection trigger instruction.
Specifically, in the embodiment of the present invention, the upgrade detection trigger instruction may be initiated actively by a user, or may be initiated passively, where an issuing manner of the upgrade detection trigger instruction includes, but is not limited to, the following several manners:
1. a detection button is arranged in front of a vehicle-mounted interface of a vehicle, and an upgrade detection trigger instruction can be automatically generated by clicking the detection button, so that a user can actively initiate upgrade detection by clicking the detection button when necessary;
2. a manager of a vehicle factory can push an upgrade message to a vehicle end through a TSP end, and after receiving the pushed upgrade message, a vehicle to be detected automatically generates an upgrade detection trigger instruction when the vehicle to be detected is ignited for the first time, or reminds a vehicle owner to carry out upgrade detection;
3. an APP is configured in advance and used for being in butt joint with a server side, registration, version detection, downloading and the like are carried out, after an upgrade package is obtained, upgrading of devices such as a TGW, a vehicle machine, an instrument and other ECUs is confirmed by a user through a human-computer interaction interface of the vehicle machine, and the APP can be installed on terminals such as a mobile phone and the vehicle machine. Configuring a periodic polling mechanism on the APP, and generating an upgrade detection trigger instruction at regular time through the periodic polling mechanism;
4. the user can reserve an upgrading time in advance, when the upgrading time is up, if the related vehicle components of the vehicle to be detected are detected to be in the starting state, an upgrading detection trigger instruction is generated, and if the related vehicle components are not in the starting state at that time, the user can actively remind after starting.
As a preferred implementation manner, in the embodiment of the present invention, before sending the upgrade detection request of the current vehicle to be detected to the server, the method further includes:
and sending the identity information of the vehicle to be detected to a PKI system through a preset interface, so that the PKI system can carry out identity authentication on the vehicle to be detected according to the identity information and receive an authentication result returned by the PKI system.
Specifically, in order to solve the problem of accurately pushing an upgrade message to a vehicle, in the embodiment of the present invention, before sending an upgrade detection request of a current vehicle to be detected to a server, identity information of the vehicle to be detected is sent to a PKI system through a preset interface, and the PKI system performs identity authentication on the vehicle to be detected according to the received identity information. When the vehicle identification system is implemented specifically, the PKI system can automatically compare the received identity information of the vehicle to be detected according to the locally stored filing information of the vehicle to be detected, if the identity information of the vehicle to be detected is consistent with the locally stored filing information of the vehicle to be detected, the authentication is passed, and if the identity information of the vehicle to be detected is inconsistent with the locally stored filing information of the vehicle to be detected, the. The identity information of the vehicle to be detected includes, but is not limited to, information such as a vehicle identification code.
Fig. 2 is a schematic structural view illustrating an upgrade detecting apparatus of a vehicle component according to an exemplary embodiment, and referring to fig. 2, the apparatus includes:
the system comprises a request sending module, a server and a detection module, wherein the request sending module is used for sending an upgrade detection request of a current vehicle to be detected to the server, and the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and the data receiving module is used for receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, the server also returns an upgrade strategy which is generated according to the basic information and the latest upgrade package information so as to upgrade the related vehicle components according to the upgrade strategy.
As a preferred implementation manner, in an embodiment of the present invention, the apparatus further includes:
the instruction receiving module is used for receiving an upgrade detection trigger instruction of the vehicle to be detected;
and the information acquisition module is used for acquiring the basic information of all vehicle components of the vehicle to be detected.
As a preferred implementation manner, in an embodiment of the present invention, the generating an upgrade policy according to the basic information and the latest upgrade package information at least includes:
and calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
As a preferred implementation manner, in an embodiment of the present invention, the generating an upgrade policy according to the basic information and the latest upgrade package information further includes:
and determining an upgrading sequence of the vehicle components and a downloading sequence of upgrading packages corresponding to the vehicle components according to the basic information and the latest upgrading package information, and generating an upgrading strategy according to the upgrading sequence and the downloading sequence.
As a preferred implementation manner, in an embodiment of the present invention, the upgrade detection trigger instruction at least includes:
an upgrade detection trigger instruction generated by clicking a detection button preset on a vehicle interface; and/or the presence of a gas in the gas,
after a vehicle to be detected receives the pushed upgrading message, generating an upgrading detection trigger instruction when the vehicle to be detected is ignited for the first time; and/or the presence of a gas in the gas,
an upgrade detection trigger instruction is generated regularly through a preset periodic polling mechanism; and/or the presence of a gas in the gas,
and when the preset upgrading time is reached and the related vehicle components of the vehicle to be detected are detected to be in the starting state, generating an upgrading detection trigger instruction.
As a preferred implementation manner, in an embodiment of the present invention, the apparatus further includes:
and the identity authentication module is used for sending the identity information of the vehicle to be detected to the PKI system through a preset interface so that the PKI system can carry out identity authentication on the vehicle to be detected according to the identity information and receive an authentication result returned by the PKI system.
Fig. 3 is a schematic diagram illustrating an internal configuration of a computer device according to an exemplary embodiment, which includes a processor, a memory, and a network interface connected through a system bus, as shown in fig. 3. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of optimization of an execution plan.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
As a preferred implementation manner, in an embodiment of the present invention, the computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when executing the computer program:
sending an upgrade detection request of a current vehicle to be detected to a server side, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and determining an upgrading sequence of the vehicle components and a downloading sequence of upgrading packages corresponding to the vehicle components according to the basic information and the latest upgrading package information, and generating an upgrading strategy according to the upgrading sequence and the downloading sequence.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and after receiving an upgrade detection trigger instruction of the vehicle to be detected, acquiring basic information of all vehicle components of the vehicle to be detected, and sending an upgrade detection request by combining the basic information.
As a preferred implementation manner, in an embodiment of the present invention, when the processor executes the computer program, the generated upgrade detection trigger instruction at least includes:
an upgrade detection trigger instruction generated by clicking a detection button preset on a vehicle interface; and/or the presence of a gas in the gas,
after a vehicle to be detected receives the pushed upgrading message, generating an upgrading detection trigger instruction when the vehicle to be detected is ignited for the first time; and/or the presence of a gas in the gas,
an upgrade detection trigger instruction is generated regularly through a preset periodic polling mechanism; and/or the presence of a gas in the gas,
and when the preset upgrading time is reached and the related vehicle components of the vehicle to be detected are detected to be in the starting state, generating an upgrading detection trigger instruction.
As a preferred implementation manner, in the embodiment of the present invention, when the processor executes the computer program, the following steps are further implemented:
and sending the identity information of the vehicle to be detected to a PKI system through a preset interface, so that the PKI system can carry out identity authentication on the vehicle to be detected according to the identity information and receive an authentication result returned by the PKI system.
In an embodiment of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
sending an upgrade detection request of a current vehicle to be detected to a server side, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and determining an upgrading sequence of the vehicle components and a downloading sequence of upgrading packages corresponding to the vehicle components according to the basic information and the latest upgrading package information, and generating an upgrading strategy according to the upgrading sequence and the downloading sequence.
And calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and after receiving an upgrade detection trigger instruction of the vehicle to be detected, acquiring basic information of all vehicle components of the vehicle to be detected, and sending an upgrade detection request by combining the basic information.
As a preferred implementation manner, in an embodiment of the present invention, when the computer program is executed by a processor, the generated upgrade detection trigger instruction at least includes:
an upgrade detection trigger instruction generated by clicking a detection button preset on a vehicle interface; and/or the presence of a gas in the gas,
after a vehicle to be detected receives the pushed upgrading message, generating an upgrading detection trigger instruction when the vehicle to be detected is ignited for the first time; and/or the presence of a gas in the gas,
an upgrade detection trigger instruction is generated regularly through a preset periodic polling mechanism; and/or the presence of a gas in the gas,
and when the preset upgrading time is reached and the related vehicle components of the vehicle to be detected are detected to be in the starting state, generating an upgrading detection trigger instruction.
As a preferred implementation manner, in the embodiment of the present invention, when executed by the processor, the computer program further implements the following steps:
and sending the identity information of the vehicle to be detected to a PKI system through a preset interface, so that the PKI system can carry out identity authentication on the vehicle to be detected according to the identity information and receive an authentication result returned by the PKI system.
In summary, the technical solution provided by the embodiment of the present invention has the following beneficial effects:
the upgrade detection method and device for the vehicle component, the computer equipment and the storage medium provided by the embodiment of the invention, by sending an upgrade detection request of the current vehicle to be detected to the server, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected, receiving a detection result which is returned by the server and is generated according to the basic information and a latest upgrade package information comparison result, when the detection result is that the new version exists, the server also returns an upgrading strategy generated according to the basic information and the latest upgrading package information, so as to upgrade the related vehicle components according to the upgrading strategy, realize the reasonable and accurate pushing of the upgrading information of the vehicle components for the user, improve the driving experience of the user and the driving safety of the user, by the method, the automobile does not need to be personally driven to a 4S store for upgrading, and a large amount of manpower and material resources are saved.
It should be noted that: the upgrade detection device for a vehicle component provided in the above embodiment is only illustrated by the division of the above functional modules when an upgrade detection service is triggered, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the upgrade detection device for the vehicle component and the upgrade detection method for the vehicle component provided by the embodiment belong to the same concept, that is, the device is based on the upgrade detection method for the vehicle component, and the specific implementation process is detailed in the method embodiment and is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A method for detecting an upgrade in a vehicle component, the method comprising the steps of:
sending an upgrade detection request of a current vehicle to be detected to a server side, wherein the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, returning an upgrade strategy which is generated according to the basic information and the latest upgrade package information by the server so as to upgrade the related vehicle components according to the upgrade strategy.
2. The vehicle component upgrade detection method according to claim 1, wherein the upgrade policy generated from the basic information and latest upgrade package information includes at least:
and calculating the version to which each vehicle component of the vehicle to be detected needs to be iterated according to the basic information and the latest upgrade package information, and generating an upgrade strategy according to the calculation result.
3. The vehicle component upgrade detection method according to claim 2, wherein the upgrade policy generated from the basic information and latest upgrade package information further comprises:
and determining an upgrading sequence of the vehicle components and a downloading sequence of upgrading packages corresponding to the vehicle components according to the basic information and the latest upgrading package information, and generating an upgrading strategy according to the upgrading sequence and the downloading sequence.
4. The upgrade detection method for vehicle components according to any one of claims 1 to 3, wherein before sending the upgrade detection request of the vehicle currently to be detected to the server, the method further comprises:
and after receiving an upgrade detection trigger instruction of the vehicle to be detected, acquiring basic information of all vehicle components of the vehicle to be detected, and sending an upgrade detection request by combining the basic information.
5. The vehicle component upgrade detection method according to claim 4, wherein the upgrade detection trigger instruction includes at least:
an upgrade detection trigger instruction generated by clicking a detection button preset on a vehicle interface; and/or the presence of a gas in the gas,
after a vehicle to be detected receives the pushed upgrading message, generating an upgrading detection trigger instruction when the vehicle to be detected is ignited for the first time; and/or the presence of a gas in the gas,
an upgrade detection trigger instruction is generated regularly through a preset periodic polling mechanism; and/or the presence of a gas in the gas,
and when the preset upgrading time is reached and the related vehicle components of the vehicle to be detected are detected to be in the starting state, generating an upgrading detection trigger instruction.
6. The upgrade detection method for vehicle components according to any one of claims 1 to 3, wherein before sending the upgrade detection request of the vehicle currently to be detected to the server, the method further comprises:
and sending the identity information of the vehicle to be detected to a PKI system through a preset interface, so that the PKI system can carry out identity authentication on the vehicle to be detected according to the identity information and receive an authentication result returned by the PKI system.
7. An upgrade detection apparatus for a vehicle component, the apparatus comprising:
the system comprises a request sending module, a server and a detection module, wherein the request sending module is used for sending an upgrade detection request of a current vehicle to be detected to the server, and the upgrade detection request carries basic information of all vehicle components of the vehicle to be detected;
and the data receiving module is used for receiving a detection result which is returned by the server and generated according to the comparison result of the basic information and the latest upgrade package information, and when the detection result is a new version, the server also returns an upgrade strategy which is generated according to the basic information and the latest upgrade package information so as to upgrade the related vehicle components according to the upgrade strategy.
8. The vehicle component upgrade detection apparatus according to claim 7, further comprising:
the instruction receiving module is used for receiving an upgrade detection trigger instruction of the vehicle to be detected;
and the information acquisition module is used for acquiring the basic information of all vehicle components of the vehicle to be detected.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010276843.XA CN111414183A (en) | 2020-04-09 | 2020-04-09 | Upgrade detection method and device for vehicle component, computer equipment and storage medium |
PCT/CN2020/109180 WO2021203604A1 (en) | 2020-04-09 | 2020-08-14 | Update test method and apparatus for vehicle component, and computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010276843.XA CN111414183A (en) | 2020-04-09 | 2020-04-09 | Upgrade detection method and device for vehicle component, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111414183A true CN111414183A (en) | 2020-07-14 |
Family
ID=71491807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010276843.XA Pending CN111414183A (en) | 2020-04-09 | 2020-04-09 | Upgrade detection method and device for vehicle component, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111414183A (en) |
WO (1) | WO2021203604A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256299A (en) * | 2020-10-16 | 2021-01-22 | 中国第一汽车股份有限公司 | Upgrading method, device, equipment and storage medium |
CN113190250A (en) * | 2021-04-30 | 2021-07-30 | 延锋汽车饰件***有限公司 | Cabin software upgrading method, electronic equipment and readable storage medium |
WO2021203604A1 (en) * | 2020-04-09 | 2021-10-14 | 东风小康汽车有限公司重庆分公司 | Update test method and apparatus for vehicle component, and computer device and storage medium |
CN113590163A (en) * | 2021-08-31 | 2021-11-02 | 重庆长安汽车股份有限公司 | Vehicle OTA (over the air) upgrading method based on log diagnosis |
CN114158035A (en) * | 2022-02-08 | 2022-03-08 | 宁波均联智行科技股份有限公司 | OTA upgrade message pushing method and device |
WO2023123995A1 (en) * | 2021-12-30 | 2023-07-06 | 中国第一汽车股份有限公司 | Vehicle data processing method and apparatus, and vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018006677A1 (en) * | 2016-07-06 | 2018-01-11 | 中兴通讯股份有限公司 | Smart upgrade method, server, terminal and system |
US20180095744A1 (en) * | 2016-09-30 | 2018-04-05 | Hitachi, Ltd. | Computer System, Method of Managing Transmission of Software with Computer System, Program Therefor, and Recording Medium |
CN110378153A (en) * | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | A kind of upgrade package safety downloading method and system |
CN110659049A (en) * | 2019-09-24 | 2020-01-07 | 北京智行者科技有限公司 | OTA (over the air) upgrading method and terminal equipment for automatic driving vehicle |
CN110955444A (en) * | 2019-12-04 | 2020-04-03 | 福尔达车联网(深圳)有限公司 | Vehicle ECU upgrading method, system, terminal and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109561118B (en) * | 2017-09-26 | 2020-12-25 | 比亚迪股份有限公司 | Software upgrading method, device, system, storage medium, electronic equipment and vehicle |
US10545751B2 (en) * | 2017-10-03 | 2020-01-28 | Accenture Global Solutions Limited | Automated usage driven engineering |
CN109413134B (en) * | 2018-08-30 | 2021-12-14 | 百度在线网络技术(北京)有限公司 | Vehicle-mounted application upgrading method, device, system and storage medium |
CN109614141A (en) * | 2018-12-25 | 2019-04-12 | 北京长城华冠汽车技术开发有限公司 | Remote communication module upgrading management system and updating management method |
CN110032382A (en) * | 2019-03-25 | 2019-07-19 | 深圳猛犸电动科技有限公司 | A kind of vehicle electronic control unit upgrade method, system and terminal device |
CN111414183A (en) * | 2020-04-09 | 2020-07-14 | 东风小康汽车有限公司重庆分公司 | Upgrade detection method and device for vehicle component, computer equipment and storage medium |
-
2020
- 2020-04-09 CN CN202010276843.XA patent/CN111414183A/en active Pending
- 2020-08-14 WO PCT/CN2020/109180 patent/WO2021203604A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018006677A1 (en) * | 2016-07-06 | 2018-01-11 | 中兴通讯股份有限公司 | Smart upgrade method, server, terminal and system |
US20180095744A1 (en) * | 2016-09-30 | 2018-04-05 | Hitachi, Ltd. | Computer System, Method of Managing Transmission of Software with Computer System, Program Therefor, and Recording Medium |
CN110378153A (en) * | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | A kind of upgrade package safety downloading method and system |
CN110659049A (en) * | 2019-09-24 | 2020-01-07 | 北京智行者科技有限公司 | OTA (over the air) upgrading method and terminal equipment for automatic driving vehicle |
CN110955444A (en) * | 2019-12-04 | 2020-04-03 | 福尔达车联网(深圳)有限公司 | Vehicle ECU upgrading method, system, terminal and storage medium |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021203604A1 (en) * | 2020-04-09 | 2021-10-14 | 东风小康汽车有限公司重庆分公司 | Update test method and apparatus for vehicle component, and computer device and storage medium |
CN112256299A (en) * | 2020-10-16 | 2021-01-22 | 中国第一汽车股份有限公司 | Upgrading method, device, equipment and storage medium |
CN112256299B (en) * | 2020-10-16 | 2023-02-28 | 中国第一汽车股份有限公司 | Upgrading method, device, equipment and storage medium |
CN113190250A (en) * | 2021-04-30 | 2021-07-30 | 延锋汽车饰件***有限公司 | Cabin software upgrading method, electronic equipment and readable storage medium |
CN113590163A (en) * | 2021-08-31 | 2021-11-02 | 重庆长安汽车股份有限公司 | Vehicle OTA (over the air) upgrading method based on log diagnosis |
CN113590163B (en) * | 2021-08-31 | 2024-03-22 | 重庆长安汽车股份有限公司 | Vehicle OTA upgrading method based on log diagnosis |
WO2023123995A1 (en) * | 2021-12-30 | 2023-07-06 | 中国第一汽车股份有限公司 | Vehicle data processing method and apparatus, and vehicle |
CN114158035A (en) * | 2022-02-08 | 2022-03-08 | 宁波均联智行科技股份有限公司 | OTA upgrade message pushing method and device |
CN114158035B (en) * | 2022-02-08 | 2022-05-06 | 宁波均联智行科技股份有限公司 | OTA upgrade message pushing method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2021203604A1 (en) | 2021-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111414183A (en) | Upgrade detection method and device for vehicle component, computer equipment and storage medium | |
CN111158718A (en) | Local communication server, OTA (over the air) upgrading method thereof and cloud server | |
CN110928567A (en) | Vehicle system upgrading method, terminal device and computer-readable storage medium | |
CN111277477B (en) | FOTA system supporting simultaneous upgrading of vehicle-mounted multiple network segments | |
CN111610993A (en) | Firmware upgrading method, server and system | |
CN111399885B (en) | Vehicle component upgrading pushing method and device and computer readable storage medium | |
CN111722860A (en) | OTA (over the air) upgrading method and device based on finite state machine | |
CN110187904B (en) | Device and method for updating vehicle controller firmware | |
CN110297649A (en) | Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle | |
CN112416371A (en) | Remote upgrading method, device and system for vehicle-mounted system and storage medium | |
CN213303011U (en) | OTA-based vehicle ECU upgrading system | |
CN112905214A (en) | Remote upgrading method, device, equipment and storage medium | |
CN110795124A (en) | Remote upgrading method, device, equipment and storage medium for automobile safety part | |
CN112015489A (en) | Management method, device, storage medium and system for vehicle-mounted software | |
CN113741936A (en) | Parallel flashing method and device based on UDS protocol, vehicle and computer readable storage medium | |
CN115291907A (en) | Vehicle upgrading method, device and system | |
CN114675855A (en) | Vehicle software remote upgrading method and device and platform equipment | |
CN113625690A (en) | Intelligent diagnosis method and system for automobile and mobile terminal | |
CN107368383B (en) | Method and equipment for checking configuration file of automobile controller | |
CN116366636A (en) | Vehicle software upgrading method and device and automobile | |
CN115934130A (en) | ECU (electronic control Unit) upgrading method, device, equipment and medium | |
US11960876B2 (en) | Center, update management method, and non-transitory storage medium | |
CN116257270A (en) | Vehicle, upgrading method and device of vehicle | |
CN114281374A (en) | Remote flash method and system for vehicle electronic control unit and storage medium | |
CN113791800A (en) | Automatic parking control module remote upgrading method and system and automobile |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200714 |