CN109240722A - Application upgrade method, apparatus, system and storage medium - Google Patents

Application upgrade method, apparatus, system and storage medium Download PDF

Info

Publication number
CN109240722A
CN109240722A CN201811005990.2A CN201811005990A CN109240722A CN 109240722 A CN109240722 A CN 109240722A CN 201811005990 A CN201811005990 A CN 201811005990A CN 109240722 A CN109240722 A CN 109240722A
Authority
CN
China
Prior art keywords
application
application program
unmanned vehicle
information
cloud server
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
CN201811005990.2A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811005990.2A priority Critical patent/CN109240722A/en
Publication of CN109240722A publication Critical patent/CN109240722A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The present invention provides a kind of application upgrade method, apparatus, system and storage medium, this method comprises: obtaining the trigger signal that unmanned vehicle generates;According to the trigger signal, to cloud server sending application program upgrade request;Receive the more recent application installation kit that the cloud server is sent by OTA mode;According to the more recent application installation kit, upgrading processing is carried out to application program.To realize the purpose that unmanned vehicle obtains the application program of latest edition automatically, it is no longer necessary to be manually updated to the application program of Unmanned Systems, improve the renewal speed and efficiency of application program, facilitate the safety traffic of unmanned vehicle.

Description

Application upgrade method, apparatus, system and storage medium
Technical field
The present invention relates to unmanned technical fields more particularly to a kind of application upgrade method, apparatus, system and storage to be situated between Matter.
Background technique
A variety of application programs can be generally set in the Unmanned Systems of unmanned vehicle, and Unmanned Systems pass through types of applications Program controls unmanned vehicle, so that unmanned vehicle can be with normally travel.Each application program in Unmanned Systems needs Continuous optimization and upgrading is wanted, to guarantee the normal operation of Unmanned Systems.
Currently, needing user to travel unmanned vehicle to nothing when upgrading to the application program in Unmanned Systems In the management shop of people's vehicle, the application program in Unmanned Systems is upgraded by the managerial personnel in management shop Processing.For example, the application program of new version is copied to the unmanned system of unmanned vehicle by managerial personnel by mobile device In system, then the application program of new version is installed by the control system of Unmanned Systems.
But this mode manually upgraded, efficiency are lower;Also, user needs to drive unmanned vehicle to designated place, Application program updating is carried out by professional, causes timely to be updated the application program of Unmanned Systems.
Summary of the invention
The present invention provides a kind of application upgrade method, apparatus, system and storage medium, realizes unmanned vehicle application program Automatic upgrading, upgrades high-efficient.
In a first aspect, the embodiment of the present invention provides a kind of application upgrade method, comprising:
Obtain the trigger signal that unmanned vehicle generates;
According to the trigger signal, to cloud server sending application program upgrade request;
Receive the more recent application peace that the cloud server is sent by downloading (Over the Air, OTA) mode in the air Dress packet;
According to the more recent application installation kit, upgrading processing is carried out to application program.
In a kind of possible design, the trigger signal, comprising: the shutdown of the charging signals, unmanned vehicle of unmanned vehicle is believed Number, the engine pause signal of unmanned vehicle.
In a kind of possible design, according to the trigger signal, asked to the upgrading of cloud server sending application program Before asking, further includes:
Receive the application list that cloud server is sent;Include: in described the application list application information, The vehicle model of application program adaptation;Wherein, the application information includes: vehicle model, application program identification, using journey Sequence version number;
According to described the application list, application information to be upgraded in unmanned vehicle is determined.
In a kind of possible design, according to described the application list, application program to be upgraded in unmanned vehicle is determined Information, comprising:
Vehicle model, application program identification, application version number are extracted from described the application list;
It is found from the memory of the unmanned vehicle matched candidate using journey with the vehicle model, application program identification Sequence, and obtain the candidate application version number;
Judge the candidate application version number whether lower than the application version number;If described candidate using journey Sequence version number is lower than the application version number, it is determined that candidate's application program is not latest edition;
Using be not latest edition candidate application program as application program to be upgraded, and obtain application journey to be upgraded Sequence information, the application information to be upgraded includes: unmanned vehicle model, application program identification to be upgraded, to be upgraded Application version number.
It include: the application program letter to be upgraded in a kind of possible design, in the application program updating request Breath.
In a kind of possible design, according to the more recent application installation kit, upgrading processing, packet are carried out to application program It includes:
The more recent application installation kit is parsed;
According to the more recent application installation kit after parsing, upgrading processing is carried out to application program.
In a kind of possible design, according to the more recent application installation kit, to application program carry out upgrading processing it Afterwards, further includes:
Feedback information is sent to the cloud server in preset period of time, the feedback information is for characterizing the application Whether program upgrades successfully.
In a kind of possible design, the feedback information include: upgrade successfully information, installation kit transmission failure information, One of install failure information.
In a kind of possible design, after sending feedback information to the cloud server in preset period of time, also wrap It includes:
If the feedback information is that installation kit transmits failure information, upgrade again to cloud server sending application program Request;
If the feedback information is install failure information, rollback processing is carried out.
Second aspect, the embodiment of the present invention provide a kind of application upgrade device, comprising:
Module is obtained, for obtaining the trigger signal of unmanned vehicle generation;
Sending module is used for according to the trigger signal, to cloud server sending application program upgrade request;
Receiving module, the more recent application installation kit sent for receiving the cloud server by OTA mode;
Upgraded module, for carrying out upgrading processing to application program according to the more recent application installation kit.
In a kind of possible design, the trigger signal, comprising: the shutdown of the charging signals, unmanned vehicle of unmanned vehicle is believed Number, the engine pause signal of unmanned vehicle.
In a kind of possible design, the receiving module is also used to according to the trigger signal, to cloud server Before sending application program upgrade request, the application list that cloud server is sent is received;In described the application list It include: the vehicle model of application information, application program adaptation;Wherein, the application information include: vehicle model, Application program identification, application version number;
According to described the application list, application information to be upgraded in unmanned vehicle is determined.
In a kind of possible design, according to described the application list, application program to be upgraded in unmanned vehicle is determined Information, comprising:
Vehicle model, application program identification, application version number are extracted from described the application list;
It is found from the memory of the unmanned vehicle matched candidate using journey with the vehicle model, application program identification Sequence, and obtain the candidate application version number;
Judge the candidate application version number whether lower than the application version number;If described candidate using journey Sequence version number is lower than the application version number, it is determined that candidate's application program is not latest edition;
Using be not latest edition candidate application program as application program to be upgraded, and obtain application journey to be upgraded Sequence information, the application information to be upgraded includes: unmanned vehicle model, application program identification to be upgraded, to be upgraded Application version number.
It include: the application program letter to be upgraded in a kind of possible design, in the application program updating request Breath.
In a kind of possible design, the upgraded module is specifically used for:
The more recent application installation kit is parsed;
According to the more recent application installation kit after parsing, upgrading processing is carried out to application program.
In a kind of possible design, further includes:
Feedback module, for according to the more recent application installation kit, after carrying out upgrading processing to application program, pre- If sending feedback information to the cloud server in the period, the feedback information is for characterizing whether the application program upgrades Success.
In a kind of possible design, the feedback information include: upgrade successfully information, installation kit transmission failure information, One of install failure information.
In a kind of possible design, sending module is also used in preset period of time send to the cloud server anti- After feedforward information, if the feedback information is that installation kit transmits failure information, again to cloud server sending application program Upgrade request;
Upgraded module is also used to carry out rollback processing when the feedback information is install failure information.
The third aspect, the embodiment of the present invention provide a kind of application upgrade system, comprising: memory and processor, memory In be stored with the executable instruction of the processor;Wherein, the processor is configured to next via the executable instruction is executed Execute application upgrade method described in any one of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, It is characterized in that, realizing application upgrade method described in any one of first aspect when the program is executed by processor.
5th aspect, the embodiment of the present invention provide a kind of program product, and described program product includes: computer program, institute It states computer program to be stored in readable storage medium storing program for executing, at least one processor of server can be from the readable storage medium storing program for executing The computer program is read, at least one described processor executes the computer program and server is made to execute first aspect In any application upgrade method.
The present invention provides a kind of application upgrade method, apparatus, system and storage medium, passes through and obtains the touching that unmanned vehicle generates It signals;According to the trigger signal, to cloud server sending application program upgrade request;It is logical to receive the cloud server Cross the more recent application installation kit that OTA mode is sent;According to the more recent application installation kit, upgrading processing is carried out to application program. To realize the purpose that unmanned vehicle obtains the application program of latest edition automatically, it is no longer necessary to manually to Unmanned Systems' Application program is updated, and is improved the renewal speed and efficiency of application program, is facilitated the safety traffic of unmanned vehicle.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic illustration of an application scenarios of the invention;
Fig. 2 is the flow chart for the application upgrade method that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of application upgrade method provided by Embodiment 2 of the present invention;
Fig. 4 is the flow chart for the application upgrade method that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram for the application upgrade device that the embodiment of the present invention four provides;
Fig. 6 is the structural schematic diagram for the application upgrade device that the embodiment of the present invention five provides;
Fig. 7 is the structural schematic diagram for the application upgrade system that the embodiment of the present invention six provides.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
Hereinafter, the part term in the application is explained, in order to those skilled in the art understand that:
1) over the air (Over the Air, abbreviation OTA) is the air interface by mobile communication to card data And the technology that application is remotely managed.Air interface can use Wireless Application Protocol (Wireless Application Protocol, WAP), general packet radio service technology (General Packet Radio Service, GPRS), short message service technology.The application of OTA technology, so that mobile communication can not only provide voice-and-data service, but also New business downloading can be provided.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 1 is the schematic illustration of an application scenarios of the invention, as shown in Figure 1, obtaining the triggering that unmanned vehicle generates first Signal;The controller 10 of unmanned vehicle is according to trigger signal, to 20 sending application program upgrade request of cloud server.Cloud service The application program updating request that the controller that device 20 receives unmanned vehicle is sent;It extracts from application program updating request using journey Sequence information;According to application information, judge whether corresponding application program is latest edition, if it is not, then adjusting from database Take the more recent application installation kit of application program;More recent application installation kit is sent to the controller 10 of unmanned vehicle by OTA mode. The more recent application installation kit that the controller 10 of unmanned vehicle is sent according to cloud server 20 by OTA mode, to application program into Row upgrading processing.
It should be noted that cloud server 20 can be received and be handled simultaneously transmitted by the controller 10 of multiple unmanned vehicles Application program updating request.Optionally, the communication mode between cloud server 20 and the control 10 of unmanned vehicle can also be The wireless transmission method other than OTA is removed, realization principle is similar with the above method, and details are not described herein again.
The purpose that unmanned vehicle obtains the application program of latest edition automatically may be implemented using the above method, it is no longer necessary to Manually the application program of Unmanned Systems is updated, the renewal speed and efficiency of application program is improved, facilitates nothing The safety traffic of people's vehicle.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is the flow chart for the application upgrade method that the embodiment of the present invention one provides, as shown in Fig. 2, in the present embodiment Method may include:
S101, the trigger signal that unmanned vehicle generates is obtained.
In the present embodiment, the trigger signal that unmanned vehicle generates, comprising: the shutdown of the charging signals, unmanned vehicle of unmanned vehicle The engine pause signal of signal, unmanned vehicle.
Specifically, when unmanned vehicle is in the vehicle idles states such as charged state, off-mode, engine halted state, The controller of unmanned vehicle just detects whether that there are application program updating demands, that is, is able to satisfy the use demand of user, and is able to achieve The automatic upgrading of application program.
S102, according to trigger signal, to cloud server sending application program upgrade request.
In the present embodiment, when the charging signals for detecting unmanned vehicle of unmanned vehicle, the off signal of unmanned vehicle, unmanned vehicle When either signal in engine pause signal, unmanned vehicle is to cloud server sending application program upgrade request.Optionally, it answers With including: application information to be upgraded in program upgrade request.
Specifically, when the charging interface of the battery of unmanned vehicle connection charging pile, unmanned vehicle can generate corresponding charging letter Number, which is currently at charged state for characterizing unmanned vehicle.At this point, meeting the control loop upgrade application of unmanned vehicle The trigger condition of program, therefore, the controller of unmanned vehicle can be to cloud server sending application program upgrade request.It is similar , at the end of unmanned vehicle traveling, user can close the control loop of unmanned vehicle, at this point, corresponding off signal can be generated, Before completing shutdown, the controller of unmanned vehicle can be to cloud server sending application program upgrade request.When the hair of unmanned vehicle When motivation is suspended, unmanned vehicle is likely to be at car-parking model or standby mode at this time, therefore also complies with the upgrading touching of application program Clockwork spring part, so the controller of unmanned vehicle can be to cloud server sending application program upgrade request.
It should be noted that the present embodiment does not limit unmanned vehicle to the tool of cloud server sending application program upgrade request Body trigger condition, those skilled in the art can increase according to the actual situation or reduce trigger condition.
In an optional embodiment, before executing step S102, the controller of unmanned vehicle can also receive cloud clothes The application list that business device is sent;It include: the vehicle type of application information, application program adaptation in the application list Number;Wherein, application information includes: vehicle model, application program identification, application version number;According to Application Column Table determines application information to be upgraded in unmanned vehicle.
Specifically, vehicle model, application program identification, application version number are extracted from the application list;From Found in the memory of unmanned vehicle with the matched candidate application program of vehicle model, application program identification, and obtain candidate application Program version number;Judge candidate application version number whether lower than application version number;If candidate application version number Lower than application version number, it is determined that candidate application program is not latest edition;It will not be the candidate of latest edition using journey Sequence obtains application information to be upgraded as application program to be upgraded, and application information to be upgraded includes: nothing People's vehicle number, application program identification to be upgraded, application version number to be upgraded.
S103, the more recent application installation kit that cloud server is sent by OTA mode is received.
In the present embodiment, cloud server can establish communication connection with 1 or more unmanned vehicle controller, to Different unmanned vehicle controllers sends newest application installation package.In the present embodiment, using over the air (Over the Air, abbreviation OTA) realize the downloading and transmission of application installation package.OTA is the air interface by mobile communication to card data And the technology that application is remotely managed.Air interface can use Wireless Application Protocol (Wireless Application Protocol, WAP), general packet radio service technology (General Packet Radio Service, GPRS), short message service technology.
S104, according to more recent application installation kit, upgrading processing is carried out to application program.
In the present embodiment, the controller of unmanned vehicle can be parsed more recent application installation kit;According to after parsing most New opplication installation kit carries out upgrading processing to application program.
The present embodiment, the trigger signal generated by obtaining unmanned vehicle;According to trigger signal, answered to cloud server transmission With program upgrade request;Receive the more recent application installation kit that cloud server is sent by OTA mode;It is installed according to more recent application Packet carries out upgrading processing to application program.To realize the purpose that unmanned vehicle obtains the application program of latest edition automatically, no It needs manually to be updated the application program of Unmanned Systems again, improves the renewal speed and efficiency of application program, have Help the safety traffic of unmanned vehicle.
Fig. 3 is the flow chart of application upgrade method provided by Embodiment 2 of the present invention, as shown in figure 3, in the present embodiment Method may include:
S201, the trigger signal that unmanned vehicle generates is obtained.
S202, according to trigger signal, to cloud server sending application program upgrade request.
S203, the more recent application installation kit that cloud server is sent by OTA mode is received.
S204, according to more recent application installation kit, upgrading processing is carried out to application program.
In the present embodiment, step S201~step S204 specific implementation process and technical principle are shown in Figure 2 Associated description in method in step S101~step S104, details are not described herein again.
S205, in preset period of time to cloud server send feedback information.
In the present embodiment, feedback information is for characterizing whether application program upgrades successfully.Optionally, feedback information includes: Upgrade successfully one of information, installation kit transmission failure information, install failure information.
Optionally, if feedback information is that installation kit transmits failure information, again to cloud server sending application program Upgrade request.If feedback information is install failure information, rollback processing is carried out.
In a kind of application scenarios, when the controller reception more recent application installation kit of unmanned vehicle, and unmanned vehicle is current State meets application program updating condition, then can complete parsing and application program to more recent application installation kit on backstage automatically Upgrading.But if the current state of unmanned vehicle does not meet application program updating condition, such as unmanned vehicle is in shape of running at high speed Situations such as CPU usage of state or control loop is more than preset threshold value.
Or in vehicle-mounted interface display application program updating task, the refusal upgrade command of user's input is received, The case where then will appear installation kit install failure.At this time, it may be necessary to rollback processing be carried out, to guarantee the normal operation of unmanned vehicle.
In another application scenarios, communication abnormality occurs between the controller and cloud server of unmanned vehicle, to lead Installation kit transmission failure is caused, the controller of unmanned vehicle needs again to cloud server sending application program upgrade request at this time, Then step S203~step S205 is executed, to complete the upgrading of application program.
The present embodiment, the trigger signal generated by obtaining unmanned vehicle;According to trigger signal, answered to cloud server transmission With program upgrade request;Receive the more recent application installation kit that cloud server is sent by OTA mode;It is installed according to more recent application Packet carries out upgrading processing to application program.To realize the purpose that unmanned vehicle obtains the application program of latest edition automatically, no It needs manually to be updated the application program of Unmanned Systems again, improves the renewal speed and efficiency of application program, have Help the safety traffic of unmanned vehicle.
In addition, the controller of unmanned vehicle can send feedback information to cloud server, whether to inform cloud server It upgrades successfully, and different operations can be executed according to the reason of upgrading failure, to improve the success rate for upgrading of application program, make Unmanned vehicle can automatic updating application program in time, to ensure the driving safety of unmanned vehicle.
Fig. 4 is the flow chart for the application upgrade method that the embodiment of the present invention three provides, as shown in figure 4, in the present embodiment Method may include:
The trigger signal of the controller acquisition unmanned vehicle generation of S301, unmanned vehicle.
S302, unmanned vehicle controller according to trigger signal, to cloud server sending application program upgrade request.
S303, cloud server extract application information from the application program updating request received.
In the present embodiment, application information includes: vehicle model, application program identification, application version number.
S304, cloud server judge whether corresponding application program is latest edition according to application information, if It is then to terminate process;If it is not, then transferring the more recent application installation kit of application program from database, and execute step S305.
In the present embodiment, vehicle model, application program identification, application version are extracted from application information Number;The version number with vehicle model, the matched more recent application installation kit of application program identification is found in the database;Judgement application Whether program version number is lower than the version number of more recent application installation kit;If application version number is lower than more recent application installation kit Version number, it is determined that application program is not latest edition.
More recent application installation kit is sent to the controller of unmanned vehicle by S305, cloud server by OTA mode.
In the present embodiment, when the quantity of more recent application installation kit is 2 or more, according to the excellent of more recent application installation kit More recent application installation kit, is sent to the controller of unmanned vehicle by first grade sequence by OTA mode;Wherein, application installation package is excellent First grade is related to the impact fraction of application installation package;The more high then corresponding priority of impact fraction is also higher.
Optionally, impact fraction is related to the request frequency, applicating category, the urgency of application installation package, impact fraction Calculation formula is as follows:
E=L1*P1+L2*P2+L3*P3;
Wherein: E indicates that the impact fraction of application installation package, L1 indicate the request frequency of application installation package, and P1 indicates application The corresponding weighted value of the request frequency of installation kit, L2 indicate that the applicating category score of application installation package, P2 indicate application installation package The corresponding weighted value of applicating category, L3 indicate application installation package urgency score, P3 indicate application installation package urgency Corresponding weighted value.
Specifically, it is assumed that the application program for the upgrading that unmanned vehicle needs has: application program A, application program B, application program C.Wherein, the request frequency of application program A is 75 times, and applicating category is entertainment applications, and urgency is low;Application program B's asks Seeking the frequency is 50, and applicating category is security control application, and urgency is height;The request frequency of application program C is 152 times, application Classification is entertainment applications, and urgency is low.Pass through formula E=L1*P1+L2*P2+L3*P3, available application program B at this time Priority be higher than the priority of application program C, the priority of application program C is higher than the priority of application program A.Therefore cloud Server issues the sequence of application installation package are as follows: the installation kit of application program B, the installation kit of application program C, application program A Installation kit.
The more recent application installation kit that is sent according to cloud server of controller of S306, unmanned vehicle, carry out application program Upgrading processing.
S307, unmanned vehicle controller in preset period of time to cloud server send feedback information.
The present embodiment, the trigger signal generated by obtaining unmanned vehicle;According to trigger signal, answered to cloud server transmission With program upgrade request;Receive the more recent application installation kit that cloud server is sent by OTA mode;It is installed according to more recent application Packet carries out upgrading processing to application program.To realize the purpose that unmanned vehicle obtains the application program of latest edition automatically, no It needs manually to be updated the application program of Unmanned Systems again, improves the renewal speed and efficiency of application program, have Help the safety traffic of unmanned vehicle.
In addition, the controller of unmanned vehicle by cloud server send feedback information, whether to inform cloud server It upgrades successfully, and different operations can be executed according to the reason of upgrading failure, to improve the success rate for upgrading of application program, make Unmanned vehicle can automatic updating application program in time, to ensure the driving safety of unmanned vehicle.
Fig. 5 is the structural schematic diagram for the application upgrade device that the embodiment of the present invention four provides, as shown in figure 5, the present embodiment Application program updating device may include:
Module 31 is obtained, for obtaining the trigger signal of unmanned vehicle generation;
Sending module 32 is used for according to trigger signal, to cloud server sending application program upgrade request;
Receiving module 33, the more recent application installation kit sent for receiving cloud server by OTA mode;
Upgraded module 34, for carrying out upgrading processing to application program according to more recent application installation kit.
In a kind of possible design, trigger signal, comprising: the charging signals of unmanned vehicle, the off signal of unmanned vehicle, nothing The engine pause signal of people's vehicle.
In a kind of possible design, receiving module 31 is also used to answer according to trigger signal to cloud server transmission Before program upgrade request, the application list that cloud server is sent is received;It include: using journey in the application list The vehicle model of sequence information, application program adaptation;Wherein, application information includes: vehicle model, application program identification, answers With program version number;
According to the application list, application information to be upgraded in unmanned vehicle is determined.
In a kind of possible design, according to the application list, application information to be upgraded in unmanned vehicle is determined, Include:
Vehicle model, application program identification, application version number are extracted from the application list;
Found from the memory of unmanned vehicle with the matched candidate application program of vehicle model, application program identification, and To candidate application version number;
Judge candidate application version number whether lower than application version number;If candidate application version number is lower than Application version number, it is determined that candidate application program is not latest edition;
Using be not latest edition candidate application program as application program to be upgraded, and obtain application journey to be upgraded Sequence information, application information to be upgraded include: unmanned vehicle model, application program identification to be upgraded, application to be upgraded Program version number.
It include: application information to be upgraded in application program updating request in a kind of possible design.
In a kind of possible design, upgraded module 34 is specifically used for:
More recent application installation kit is parsed;
According to the more recent application installation kit after parsing, upgrading processing is carried out to application program.
The present embodiment, the trigger signal generated by obtaining unmanned vehicle;According to trigger signal, answered to cloud server transmission With program upgrade request;Receive the more recent application installation kit that cloud server is sent by OTA mode;It is installed according to more recent application Packet carries out upgrading processing to application program.To realize the purpose that unmanned vehicle obtains the application program of latest edition automatically, no It needs manually to be updated the application program of Unmanned Systems again, improves the renewal speed and efficiency of application program, have Help the safety traffic of unmanned vehicle.
The application upgrade device of the present embodiment can execute the technical solution in method shown in Fig. 2, implement process With associated description of the technical principle referring to fig. 2, in method shown in Fig. 3, details are not described herein again.
Fig. 6 is the structural schematic diagram for the application upgrade device that the embodiment of the present invention five provides, as shown in fig. 6, the present embodiment Application upgrade device device shown in Fig. 5 on the basis of can also include:
Feedback module 35, for after carrying out upgrading processing to application program, presetting according to more recent application installation kit Feedback information is sent to cloud server in period, feedback information is for characterizing whether application program upgrades successfully.
In a kind of possible design, feedback information includes: to upgrade successfully information, installation kit transmission failure information, installation One of failure information.
In a kind of possible design, sending module 32 is also used in preset period of time send to cloud server and feed back After information, if feedback information is that installation kit transmits failure information, asked again to the upgrading of cloud server sending application program It asks;
Upgraded module 34 is also used to carry out rollback processing when feedback information is install failure information.
The present embodiment, the controller of unmanned vehicle is by sending feedback information to cloud server, to inform cloud server Whether upgrade successfully, and different operations can be executed according to the reason of upgrading failure, to improve upgrading successfully for application program Rate, allows unmanned vehicle automatic updating application program in time, to ensure the driving safety of unmanned vehicle.
The application upgrade device of the present embodiment can execute the technical solution in method shown in Fig. 2, Fig. 3, specific implementation The associated description of process and technical principle referring to fig. 2, in method shown in Fig. 3, details are not described herein again.
Fig. 7 is the structural schematic diagram for the application upgrade system that the embodiment of the present invention six provides, as shown in fig. 7, the present embodiment Application upgrade system 40 may include: processor 41 and memory 42.
Memory 42 (such as realizes application program, the function of above-mentioned application program updating method for storing computer program Module etc.), computer instruction etc.;
Above-mentioned computer program, computer instruction etc. can be with partitioned storages in one or more memories 42.And Above-mentioned computer program, computer instruction, data etc. can be called with device 41 processed.
Processor 41, for executing the computer program of the storage of memory 42, to realize method that above-described embodiment is related to In each step.
It specifically may refer to the associated description in previous methods embodiment.
Processor 41 and memory 42 can be absolute construction, be also possible to the integrated morphology integrated.Work as processing When device 41 and memory 42 are absolute construction, memory 42, processor 41 can be of coupled connections by bus 43.
The server of the present embodiment can execute the technical solution in method shown in Fig. 2, Fig. 3, specific implementation process and Associated description of the technical principle referring to fig. 2, in method shown in Fig. 3, details are not described herein again.
In addition, the embodiment of the present application also provides a kind of computer readable storage medium, deposited in computer readable storage medium Computer executed instructions are contained, when at least one processor of user equipment executes the computer executed instructions, user equipment Execute above-mentioned various possible methods.
Wherein, computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient for From a place to any medium of another place transmission computer program.Storage medium can be general or specialized computer Any usable medium that can be accessed.A kind of illustrative storage medium is coupled to processor, to enable a processor to from this Read information, and information can be written to the storage medium.Certainly, storage medium is also possible to the composition portion of processor Point.Pocessor and storage media can be located in ASIC.In addition, the ASIC can be located in user equipment.Certainly, processor and Storage medium can also be used as discrete assembly and be present in communication equipment.
The application also provides a kind of program product, and program product includes computer program, and computer program is stored in readable In storage medium, at least one processor of server can read computer program from readable storage medium storing program for executing, at least one Reason device executes the application program updating method that computer program makes the server implementation embodiments of the present invention any.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or part of or all technical features are carried out etc. With replacement;And these modifications or substitutions, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution Range.

Claims (20)

1. a kind of application upgrade method characterized by comprising
Obtain the trigger signal that unmanned vehicle generates;
According to the trigger signal, to cloud server sending application program upgrade request;
Receive the more recent application installation kit that the cloud server is sent by OTA mode;
According to the more recent application installation kit, upgrading processing is carried out to application program.
2. the method according to claim 1, wherein the trigger signal, comprising: the charging signals of unmanned vehicle, The engine pause signal of the off signal of unmanned vehicle, unmanned vehicle.
3. the method according to claim 1, wherein being sent according to the trigger signal to cloud server Before application program updating request, further includes:
Receive the application list that cloud server is sent;It include: application information, application in described the application list The vehicle model of program adaptation;Wherein, the application information includes: vehicle model, application program identification, application program version This number;
According to described the application list, application information to be upgraded in unmanned vehicle is determined.
4. according to the method described in claim 3, it is characterized in that, according to described the application list, determine in unmanned vehicle to The application information of upgrading, comprising:
Vehicle model, application program identification, application version number are extracted from described the application list;
Found from the memory of the unmanned vehicle with the matched candidate application program of the vehicle model, application program identification, And obtain the candidate application version number;
Judge the candidate application version number whether lower than the application version number;If candidate's application program version This number is lower than the application version number, it is determined that candidate's application program is not latest edition;
Using be not latest edition candidate application program as application program to be upgraded, and obtain application program letter to be upgraded Breath, the application information to be upgraded includes: unmanned vehicle model, application program identification to be upgraded, application to be upgraded Program version number.
5. according to the method described in claim 4, it is characterized in that, including: described in application program updating request wait rise The application information of grade.
6. method according to any one of claims 1-5, which is characterized in that right according to the more recent application installation kit Application program carries out upgrading processing, comprising:
The more recent application installation kit is parsed;
According to the more recent application installation kit after parsing, upgrading processing is carried out to application program.
7. method according to any one of claims 1-5, which is characterized in that according to the more recent application installation kit, After application program progress upgrading processing, further includes:
Feedback information is sent to the cloud server in preset period of time, the feedback information is for characterizing the application program Whether upgrade successfully.
8. the method according to the description of claim 7 is characterized in that the feedback information includes: to upgrade successfully information, installation kit Transmit one of failure information, install failure information.
9. according to the method described in claim 8, being fed back it is characterized in that, being sent in preset period of time to the cloud server After information, further includes:
If the feedback information is that installation kit transmits failure information, asked again to the upgrading of cloud server sending application program It asks;
If the feedback information is install failure information, rollback processing is carried out.
10. a kind of application upgrade device characterized by comprising
Module is obtained, for obtaining the trigger signal of unmanned vehicle generation;
Sending module is used for according to the trigger signal, to cloud server sending application program upgrade request;
Receiving module, the more recent application installation kit sent for receiving the cloud server by OTA mode;
Upgraded module, for carrying out upgrading processing to application program according to the more recent application installation kit.
11. device according to claim 10, which is characterized in that the trigger signal, comprising: the charging of unmanned vehicle is believed Number, the engine pause signal of the off signal of unmanned vehicle, unmanned vehicle.
12. device according to claim 10, which is characterized in that the receiving module is also used to according to the triggering Signal receives the application list that cloud server is sent to before cloud server sending application program upgrade request;Institute State include: in the application list application information, application program adaptation vehicle model;Wherein, the application program letter Breath includes: vehicle model, application program identification, application version number;
According to described the application list, application information to be upgraded in unmanned vehicle is determined.
13. device according to claim 12, which is characterized in that according to described the application list, determine in unmanned vehicle Application information to be upgraded, comprising:
Vehicle model, application program identification, application version number are extracted from described the application list;
Found from the memory of the unmanned vehicle with the matched candidate application program of the vehicle model, application program identification, And obtain the candidate application version number;
Judge the candidate application version number whether lower than the application version number;If candidate's application program version This number is lower than the application version number, it is determined that candidate's application program is not latest edition;
Using be not latest edition candidate application program as application program to be upgraded, and obtain application program letter to be upgraded Breath, the application information to be upgraded includes: unmanned vehicle model, application program identification to be upgraded, application to be upgraded Program version number.
14. device according to claim 13, which is characterized in that include: in application program updating request it is described to The application information of upgrading.
15. device described in any one of 0-14 according to claim 1, which is characterized in that the upgraded module is specifically used for:
The more recent application installation kit is parsed;
According to the more recent application installation kit after parsing, upgrading processing is carried out to application program.
16. device described in any one of 0-14 according to claim 1, which is characterized in that further include:
Feedback module, for according to the more recent application installation kit, after carrying out upgrading processing to application program, when default The introversive cloud server of section sends feedback information, and the feedback information is for characterizing whether the application program upgrades into Function.
17. device according to claim 16, which is characterized in that the feedback information includes: to upgrade successfully information, installation One of packet transmission failure information, install failure information.
18. device according to claim 17, which is characterized in that sending module is also used in preset period of time to described After cloud server sends feedback information, if the feedback information is that installation kit transmits failure information, taken again to cloud Business device sending application program upgrade request;
Upgraded module is also used to carry out rollback processing when the feedback information is install failure information.
19. a kind of application upgrade system characterized by comprising memory and processor are stored with the processing in memory The executable instruction of device;Wherein, the processor is configured to come perform claim requirement 1-9 institute via the execution executable instruction The application upgrade method stated.
20. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Claim 1-9 described in any item application upgrade methods are realized when execution.
CN201811005990.2A 2018-08-30 2018-08-30 Application upgrade method, apparatus, system and storage medium Pending CN109240722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811005990.2A CN109240722A (en) 2018-08-30 2018-08-30 Application upgrade method, apparatus, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811005990.2A CN109240722A (en) 2018-08-30 2018-08-30 Application upgrade method, apparatus, system and storage medium

Publications (1)

Publication Number Publication Date
CN109240722A true CN109240722A (en) 2019-01-18

Family

ID=65067947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811005990.2A Pending CN109240722A (en) 2018-08-30 2018-08-30 Application upgrade method, apparatus, system and storage medium

Country Status (1)

Country Link
CN (1) CN109240722A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493644A (en) * 2019-08-21 2019-11-22 青岛海信电器股份有限公司 TV applications upgrade method, television terminal and server
CN110995795A (en) * 2019-11-20 2020-04-10 斑马网络技术有限公司 Vehicle ECU refreshing method and device and storage medium
CN110989545A (en) * 2020-01-09 2020-04-10 青岛悟牛智能科技有限公司 Agricultural unmanned vehicle management system and method based on cloud platform
CN111308944A (en) * 2020-04-02 2020-06-19 深圳创维-Rgb电子有限公司 Equipment control method and device
CN111614765A (en) * 2020-05-22 2020-09-01 爱瑟福信息科技(上海)有限公司 Vehicle OTA (over the air) upgrading method and system
CN112202903A (en) * 2020-09-30 2021-01-08 劢微机器人科技(深圳)有限公司 AGV trolley system upgrading method, device, equipment and storage medium
CN112882730A (en) * 2019-11-29 2021-06-01 深圳市大雅医疗技术有限公司 Respirator upgrading method, server, respirator and storage medium
CN112988196A (en) * 2021-04-07 2021-06-18 浙江三一装备有限公司 Operating machine program upgrading device, method and system
WO2022193197A1 (en) * 2021-03-17 2022-09-22 华为技术有限公司 Over-the-air upgrade method, apparatus and system, and storage medium and program
CN115562694A (en) * 2022-02-10 2023-01-03 荣耀终端有限公司 Stylus pen upgrading method, control terminal and medium
CN116088695A (en) * 2022-06-28 2023-05-09 荣耀终端有限公司 System upgrading method and related device
WO2023217211A1 (en) * 2022-05-11 2023-11-16 中国第一汽车股份有限公司 Upgrade method and apparatus, device and storage medium
WO2024026594A1 (en) * 2022-07-30 2024-02-08 华为技术有限公司 Upgrade method, apparatus and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685238A (en) * 2012-05-17 2012-09-19 江苏中科梦兰电子科技有限公司 Method for managing terminal programs on basis of cloud architecture
CN103312786A (en) * 2013-05-17 2013-09-18 广州市雄兵汽车电器有限公司 Vehicle-mounted terminal remote upgrading method and car networking system
CN103957244A (en) * 2014-04-21 2014-07-30 惠州市新思为电子科技有限公司 Remote program upgrading method and server
CN106802818A (en) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 The upgrade method of mobile unit, business processing device and system, vehicle
CN107168725A (en) * 2017-03-30 2017-09-15 苏州精控能源科技有限公司 A kind of method for upgrading software of controller, apparatus and system
CN107509188A (en) * 2017-09-29 2017-12-22 上海博泰悦臻电子设备制造有限公司 Upgrade-system and method for vehicle calibration cold data
CN108243141A (en) * 2016-12-23 2018-07-03 乐视汽车(北京)有限公司 Vehicle termination programme upgrade method, device and vehicle termination
CN108334356A (en) * 2017-09-21 2018-07-27 安徽江淮汽车集团股份有限公司 A kind of remotely updating program method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685238A (en) * 2012-05-17 2012-09-19 江苏中科梦兰电子科技有限公司 Method for managing terminal programs on basis of cloud architecture
CN103312786A (en) * 2013-05-17 2013-09-18 广州市雄兵汽车电器有限公司 Vehicle-mounted terminal remote upgrading method and car networking system
CN103957244A (en) * 2014-04-21 2014-07-30 惠州市新思为电子科技有限公司 Remote program upgrading method and server
CN108243141A (en) * 2016-12-23 2018-07-03 乐视汽车(北京)有限公司 Vehicle termination programme upgrade method, device and vehicle termination
CN106802818A (en) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 The upgrade method of mobile unit, business processing device and system, vehicle
CN107168725A (en) * 2017-03-30 2017-09-15 苏州精控能源科技有限公司 A kind of method for upgrading software of controller, apparatus and system
CN108334356A (en) * 2017-09-21 2018-07-27 安徽江淮汽车集团股份有限公司 A kind of remotely updating program method and system
CN107509188A (en) * 2017-09-29 2017-12-22 上海博泰悦臻电子设备制造有限公司 Upgrade-system and method for vehicle calibration cold data

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493644A (en) * 2019-08-21 2019-11-22 青岛海信电器股份有限公司 TV applications upgrade method, television terminal and server
CN110493644B (en) * 2019-08-21 2022-06-14 广东海信电子有限公司 Television application upgrading method, television terminal and server
CN110995795A (en) * 2019-11-20 2020-04-10 斑马网络技术有限公司 Vehicle ECU refreshing method and device and storage medium
CN112882730A (en) * 2019-11-29 2021-06-01 深圳市大雅医疗技术有限公司 Respirator upgrading method, server, respirator and storage medium
CN110989545A (en) * 2020-01-09 2020-04-10 青岛悟牛智能科技有限公司 Agricultural unmanned vehicle management system and method based on cloud platform
CN111308944A (en) * 2020-04-02 2020-06-19 深圳创维-Rgb电子有限公司 Equipment control method and device
CN111614765A (en) * 2020-05-22 2020-09-01 爱瑟福信息科技(上海)有限公司 Vehicle OTA (over the air) upgrading method and system
CN111614765B (en) * 2020-05-22 2022-11-18 爱瑟福信息科技(上海)有限公司 Vehicle OTA (over the air) upgrading method and system
CN112202903A (en) * 2020-09-30 2021-01-08 劢微机器人科技(深圳)有限公司 AGV trolley system upgrading method, device, equipment and storage medium
CN112202903B (en) * 2020-09-30 2024-02-13 劢微机器人科技(深圳)有限公司 AGV trolley system upgrading method, device, equipment and storage medium
WO2022193197A1 (en) * 2021-03-17 2022-09-22 华为技术有限公司 Over-the-air upgrade method, apparatus and system, and storage medium and program
CN112988196A (en) * 2021-04-07 2021-06-18 浙江三一装备有限公司 Operating machine program upgrading device, method and system
CN115562694A (en) * 2022-02-10 2023-01-03 荣耀终端有限公司 Stylus pen upgrading method, control terminal and medium
WO2023217211A1 (en) * 2022-05-11 2023-11-16 中国第一汽车股份有限公司 Upgrade method and apparatus, device and storage medium
CN116088695A (en) * 2022-06-28 2023-05-09 荣耀终端有限公司 System upgrading method and related device
CN116088695B (en) * 2022-06-28 2023-10-20 荣耀终端有限公司 System upgrading method and related device
WO2024026594A1 (en) * 2022-07-30 2024-02-08 华为技术有限公司 Upgrade method, apparatus and system

Similar Documents

Publication Publication Date Title
CN109240722A (en) Application upgrade method, apparatus, system and storage medium
CN109413134A (en) Vehicular applications upgrade method, device, system and storage medium
CN109189427A (en) Using update method, device, system and storage medium
EP3621003A1 (en) Method, apparatus and device for scheduling unmanned vehicles and storage medium
CN109358867A (en) Applications automatic upgrade method, apparatus, system and storage medium
CN112124148B (en) AGV trolley charging method, device, equipment and storage medium
CN109032653A (en) Pilotless automobile car-mounted terminal upgrade method, device, equipment and storage medium
CN102230804B (en) Method for updating and displaying navigation route of real-time traffic status and navigation server
CN103019759A (en) Vehicle upgrade system and method thereof
CN111722860A (en) OTA (over the air) upgrading method and device based on finite state machine
KR20150066020A (en) electromobile charging management system based on cloud server using smart terminal, and charging management method for the same, and computer-readable recording medium for the same
CN109582335A (en) It is a kind of without interrupt storage cluster node online upgrading method, device and equipment
CN109960518A (en) Automobile method for upgrading software
CN109144553A (en) A kind of onboard electronic control unit Oftware updating method
CN109408082A (en) Upgrade method, device, equipment and readable storage medium storing program for executing based on third-party platform
CN112698857A (en) Data flashing method and device
CN111857774A (en) Method and system for upgrading software of vehicle-mounted equipment
CN108749820B (en) Information interaction method and system
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
CN112418456B (en) Automatic matching method and device for vehicle maintenance, storage medium and electronic equipment
CN108924207A (en) Terminal device and its system file update method, system and computer storage medium
CN111614782A (en) New forms of energy heavy truck networking platform vehicle management system based on SAAS mode
CN109358890A (en) Firmware update, automobile data recorder of the main control device to 4G mould group
CN109257203A (en) A kind of upgrade method of vehicular communication equipment, device and vehicular communication equipment
KR102077463B1 (en) Electric Vehicle Charging Standardized Module System for Non Standard Electric Vehicle Charging System

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