CN110290223A - Active upgrade method and system - Google Patents

Active upgrade method and system Download PDF

Info

Publication number
CN110290223A
CN110290223A CN201910663673.8A CN201910663673A CN110290223A CN 110290223 A CN110290223 A CN 110290223A CN 201910663673 A CN201910663673 A CN 201910663673A CN 110290223 A CN110290223 A CN 110290223A
Authority
CN
China
Prior art keywords
upgrading
data
information
terminal
module
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
CN201910663673.8A
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.)
Shanghai Qinggan Intelligent Technology Co Ltd
Original Assignee
Shanghai Qinggan Intelligent 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 Shanghai Qinggan Intelligent Technology Co Ltd filed Critical Shanghai Qinggan Intelligent Technology Co Ltd
Priority to CN201910663673.8A priority Critical patent/CN110290223A/en
Publication of CN110290223A publication Critical patent/CN110290223A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of active upgrade method and system, comprising: obtain upgrading terminals activly request data, generate terminal device data accordingly;Analysing terminal device data obtains terminal authentication information, and processing terminal authentication information is to obtain upgrading authority information;It obtains cloud and checks data, verify upgrading authority information accordingly, to obtain upgrading triggering information;Upgrading data are generated and sent to terminal with upgrading triggering information triggering cloud;According to upgrading active upgrading terminals.The present invention solves the lower technical problem of mobile unit active upgrade function applicability existing in the prior art.

Description

Active upgrade method and system
Technical field
The present invention relates to a kind of software upgrading technologies, more particularly to a kind of active upgrade method and system.
Background technique
With the increasingly improvement of national life level, motor vehicles constantly add in entire society's rapid proliferation, vehicle demand Greatly, China's vehicle guaranteeding organic quantity persistently rises, and people drives to go on a journey increasingly frequent.It is various vehicle-mounted in the driving process of vehicle Equipment and the control system of vehicle require to maintain the version updating of itself application software in vehicle use process, work as vehicle device When the software of the vehicle control apparatus such as system and its subsystem version occurs and do not update, each subfunction of onboard system will lead to Operation is restricted, so that vehicle traveling and the normal operation of all kinds of mobile units are adversely affected, can lead to when serious Vehicle safety problem.The efficiency upgraded automatically and the degree of automation for all kinds of mobile units are how improved, vehicle is had become The important directions of technical research.Since the software upgrading of existing mobile unit needs to transport vehicle into the shop 4S or vehicle maintenance to It is debugged and is upgraded manually by specialized maintenance personnel in the special maintenances places such as point, it is understood that there may be human operational error or software The problem of upgrade job low efficiency.Upgrading the degree of automation of mobile unit is low at present, remote upgrade inefficiency, and because rises The grade single flexibility ratio for causing to upgrade automatically of mode is low, easily generates upgrade failure during remote operation, sends in upgrading The recovery function applicability for upgrading data when failure is lower.
In conclusion there are mobile unit active upgrade functions to be applicable in for mobile unit method for upgrading software in the prior art The lower technical problem of property.
Summary of the invention
The shortcomings that in view of the above prior art, the purpose of the present invention is to provide a kind of active upgrade method and systems, answer Upgrade for mobile unit, is asked to solve the lower technology of mobile unit active upgrade function applicability existing in the prior art Topic, the present invention provide a kind of active upgrade method and system, a kind of active upgrade method, comprising: obtain upgrading terminals and actively ask Data are sought, generate terminal device data accordingly;Analysing terminal device data obtains terminal authentication information, processing terminal authentication information To obtain upgrading authority information;It obtains cloud and checks data, verify upgrading authority information accordingly, to obtain upgrading triggering information; Upgrading data are generated and sent to terminal with upgrading triggering information triggering cloud;According to upgrading data active upgrading terminals.
In one embodiment of the present invention, generate terminal device data the step of, comprising: monitor and receiving terminal actively Request data;Analysing terminal activly request data, to obtain equipment account information and upgraded version data;Processing equipment account letter Breath and upgraded version data are terminal device data.
In one embodiment of the present invention, obtain upgrading authority information the step of, comprising: extract terminal device data in Equipment account information;Equipment account information is serialized, to obtain terminal service data;Analysing terminal service data is risen with obtaining Grade authority information.
In one embodiment of the present invention, the step of upgrading triggers information is obtained, comprising: obtain cloud permissions list letter Breath;It is traversed with cloud permissions list information and verifies upgrading authority information, judge whether that triggering actively upgrades accordingly;If so, Upgrading triggering information is generated according to upgrading authority information;If it is not, then maintaining the working condition in cloud.
In one embodiment of the present invention, triggering generates the step of upgrading data, comprising: with upgrading triggering information triggering Cloud generates upgrade service information;According to upgrading authority information processing upgrade service information, to obtain upgrading data;Send upgrading Data are to terminal.
In one embodiment of the present invention, a kind of active upgrade-system, system includes: device data module, to obtain Upgrading terminals activly request data are taken, generate terminal device data accordingly;Step-up authentication module, to analysing terminal device data Terminal authentication information is obtained, processing terminal authentication information is to obtain upgrading authority information, step-up authentication module and device data mould Block connection;Upgrade trigger module, check data to obtain cloud, verify upgrading authority information accordingly, to obtain upgrading triggering Information, upgrading trigger module are connect with step-up authentication module;Upgrade data generation module, for triggering cloud with upgrading triggering information End generates and sends upgrading data to terminal, upgrades data generation module and connect with upgrading trigger module;Terminal upgrade module is used With according to upgrading data active upgrading terminals, terminal upgrade module is connect with upgrading data generation module.
In one embodiment of the present invention, device data module, comprising: request receiving module, to monitor and receive Terminal activly request data;Terminal analysis module, to analysing terminal activly request data, to obtain equipment account information and liter Grade edition data, terminal analysis module are connect with request receiving module;Terminal data processing module is believed to processing equipment account Breath and upgraded version data are terminal device data, and terminal data processing module is connect with terminal analysis module.
In one embodiment of the present invention, step-up authentication module, comprising: account extraction module is set to extract terminal Equipment account information in standby data;Service sequences module, to serialize equipment account information, to obtain terminal service number According to service sequences module is connect with account extraction module;Service analysis module, to analysing terminal service data to obtain upgrading Authority information, service analysis module are connect with service sequences module.
In one embodiment of the present invention, upgrade trigger module, comprising: permissions list module, to obtain cloud power Limit list information;Active judgment module judges accordingly for upgrading authority information to be traversed and verified with cloud permissions list information Whether trigger and actively upgrade, active judgment module is connect with permissions list module;Generation module is triggered, for determining triggering master When dynamic upgrading, upgrading triggering information is generated according to upgrading authority information, triggering generation module is connect with active judgment module;It maintains Module, for when judgement does not trigger and actively upgrades, maintaining the working condition in cloud, maintenance module and triggering generation module connect It connects.
In one embodiment of the present invention, upgrade data generation module, comprising: service creation module, for upgrading It triggers information triggering cloud and generates upgrade service information;Upgrade data module, is taken to be upgraded according to upgrading authority information processing Information of being engaged in upgrades data module and connect with service creation module to obtain upgrading data;Data transmission blocks rise for sending Grade data to terminal, data transmission blocks are connect with upgrading data module.
In one embodiment of the present invention, a kind of computer readable storage medium is stored thereon with computer program, should Active upgrade method is realized when program is executed by processor.
In one embodiment of the present invention, a kind of active updating apparatus, comprising: processor and memory;Memory is used In storage computer program, processor is used to execute the computer program of memory storage, so that a kind of active updating apparatus is held A kind of active upgrade method of row.
As described above, a kind of active upgrade method provided by the invention and system, have the advantages that the present invention originally Invention improves the applicability of active upgrade-system.
To sum up, the present invention solves the lower technology of mobile unit active upgrade function applicability existing in the prior art Problem.
Detailed description of the invention
Fig. 1 is shown as active upgrade method step schematic diagram of the invention.
Fig. 2 is shown as the specific steps schematic diagram of S1 in one embodiment in Fig. 1.
Fig. 3 is shown as the specific steps schematic diagram of S2 in one embodiment in Fig. 1.
Fig. 4 is shown as the specific steps schematic diagram of S3 in one embodiment in Fig. 1.
Fig. 5 is shown as the specific steps schematic diagram of S4 in one embodiment in Fig. 1.
Fig. 6 is shown as active upgrade-system module diagram of the invention.
Fig. 7 is shown as the specific module diagram of device data module in one embodiment in Fig. 6.
Fig. 8 is shown as the specific module diagram of step-up authentication module in one embodiment in Fig. 6.
Fig. 9 is shown as upgrading the specific module diagram of trigger module in one embodiment in Fig. 6.
Figure 10 is shown as upgrading the specific module diagram of data generation module in one embodiment in Fig. 6.
Figure 11 is shown as upgrading data transmission schematic diagram of the invention.
Component label instructions
1 device data module
2 step-up authentication modules
3 upgrading trigger modules
4 upgrading data generation modules
5 terminal upgrade modules
11 receiving modules
12 terminal analysis modules
13 terminal data processing modules
21 account extraction modules
22 service sequences modules
23 service analysis modules
31 permissions list modules
32 active judgment modules
33 triggering generation modules
34 maintenance modules
41 service creation modules
42 upgrading data modules
43 data transmission blocks
Step numbers explanation
Fig. 1 S1~S5
Fig. 2 S11~S13
Fig. 3 S21~S23
Fig. 4 S31~S34
Fig. 5 S41~S43
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily.
Fig. 1 is please referred to Figure 11, it should however be clear that this specification structure depicted in this specification institute accompanying drawings, only to cooperate specification Revealed content is not intended to limit the invention enforceable restriction item so that those skilled in the art understands and reads Part, therefore do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing Under the effect of the utility model can be generated and the purpose that can reach, should all still it fall in the revealed technology of the utility model In the range of Rong Suoneng is covered.Meanwhile in this specification it is cited as " on ", " under ", " left side ", " right side ", " centre " and " one " Deng term, be merely convenient to being illustrated for narration, rather than to limit the scope of the invention, the change of relativeness Or adjustment, under the content of no substantial changes in technology, when being also considered as the enforceable scope of the present invention.
Fig. 1 and Figure 11 are please referred to, active upgrade method step schematic diagram of the invention and ascending series of the invention are shown as According to transmission schematic diagram, as shown in Fig. 1 and Figure 11, a kind of active upgrade method, comprising:
S1, upgrading terminals activly request data are obtained, generates terminal device data accordingly, in the present embodiment, actively risen Grade is actively to be initiated to update the upgrade activities checked, in the present embodiment, terminal version to cloud according to certain condition from terminal Notebook data can be the A.L.S. of version upgrade path data such as edition tree information and particular terminal such as vehicle device Agent system Breath, in the present embodiment, server and onboard system such as ECU electronic control unit 7 ' or MCU (Micro Control Unit, micro-control unit) pass through the CAN of wireless communication device such as car antenna and vehicle body installation outside vehicle (Controller Area Network, control area net(CAN) network) bus receives upgraded version data such as edition tree and Hash Table data establish one efficiently with the communication in cloud, safety, reliable communication link, for example, Vehicle Controller receives After the upgrade signal order that position machine is sent, into Bootloader mode;
S2, analysing terminal device data obtain terminal authentication information, and processing terminal authentication information is to obtain upgrading authority letter Breath, in the present embodiment, permission (free service or the user that cloud will check whether terminal there is requested software OTA to upgrade Respective service is had purchased, or in white list);
S3, cloud inspection data are obtained, verifies upgrading authority information accordingly, to obtain upgrading triggering information, in this implementation In example, upgrading triggering information can be for example to upgrade task list, in the present embodiment, and upgrading data can be whole by terminal or the day after tomorrow The equipment such as debugging computer is held to upload upgrading data such as software complete packet to the cloud OTC 4 ', to generate active upgrade package, In the present embodiment, the cloud OTC 4 ' by extracted from upgraded version data packet such as CAN protocol data packet edition data or Hash mapping data;
S4, upgrading data are generated and sent to terminal with upgrading triggering information triggering cloud, in the present embodiment, cloud will Check terminal whether in current upgrading task list;
S5, according to upgrading data active upgrading terminals.
Referring to Fig. 2, the specific steps schematic diagram of step S1 in one embodiment in Fig. 1 is shown as, as shown in Fig. 2, raw At the step S1 of terminal device data, comprising:
S11, monitoring and receiving terminal activly request data, in one embodiment, OTA terminal 6 ' is divided by the object of upgrading OS upgrading, upgrades, the upgrading mode of interior embedded device three categories type using App, in the present embodiment, OTA engine 62 ' It may connect to such as ECU staging adapter 64 ', Tbox OS staging adapter 65 ' and vehicle device staging adapter 66 '.From OTA From the point of view of terminal composition, comprising OTA engine 62 ' and the big component part of OTA staging adapter two, OTA engine 62 ' is responsible for entire OTA Upgrading scheduling and management, OTA staging adapter are responsible for realizing different OTA differentiation upgrade requirements;
S12, analysing terminal activly request data, to obtain equipment account information and upgraded version data, in the present embodiment In, version querying is carried out to the edition data such as version number etc. in terminal activly request data;
S13, processing equipment account information and upgraded version data are terminal device data, in the present embodiment, OTA engine 62 ' be a connection OTA terminal 6 ' and 4 ' bridge of cloud, realizes that the cloud OTA 6 ' with the safety communication link of OTA terminal 4 ', is born What duty coordination and dispatch terminal OTA upgraded, upgrade notification needed for providing OTA to OTA terminal 6 ' receives, active upgrading inspection, The downloading of OTA upgrade package, rises 6 ' grade Bao Xiemi.
Referring to Fig. 3, the specific steps schematic diagram of step S2 in one embodiment in Fig. 1 is shown as, as shown in figure 3, obtaining Take the step S2 of upgrading authority information, comprising:
Equipment account information in S21, extraction terminal device data, in the present embodiment, 8 ' system of vehicle device and electronics control The terminals such as unit 7 ' processed check the edition data such as version number of own system and App and edition tree data;
S22, serializing equipment account information, to obtain terminal service data, in the present embodiment, the equipment account of serializing Family information can for such as edition tree information and terminal device signed data, wherein signed data can for example, by the cloud OTA into Row signature calculation obtains, in the present embodiment, the equipment that OTA terminal 4 ' passes through the terminal in itself storage such as OTA storage 63 ' Data calculate the personalized signature of each OTA terminal 4 ' for needing to upgrade;
S23, analysing terminal service data are to obtain upgrading authority information, and in the present embodiment, edition tree information can pass through The cloud OTA carries out the operation such as version checking and obtains.
Referring to Fig. 4, it is shown as the specific steps schematic diagram of step S3 in one embodiment in Fig. 1, as shown in figure 4, To the step S3 of upgrading triggering information, comprising:
S31, cloud permissions list information is obtained, in the present embodiment, permissions list information may include that the corresponding terminal is set The free upgrade service or the white name of equipment beyond the clouds such as standby such as MCU (Micro Control Unit, micro-control unit) It is single etc.;
S32, it is traversed with cloud permissions list information and verifies upgrading authority information, judge whether that triggering actively rises accordingly Grade;
S33, upgrade triggering information if so, generating according to upgrading authority information, in the present embodiment, upgrade relation data It can be terminal device such as vehicle system or ECU (Electronic Control Unit, electronic control unit) actively upgrading pair The upgraded version tree answered;
S34, if it is not, then maintain the working condition in cloud, in the present embodiment, verifying upgrading data can need to upgrade The device subscription data of terminal such as MCU (Micro Control Unit, micro-control unit), terminal can be from active upgrade package Data packet needed for itself actively upgrading is extracted according to the signed data of itself, in the present embodiment, upgrading relation data can be reserved for In 63 ' the storage such as flash memory of OTA storage installed with the hard disk storage devices and terminal device itself in cloud.
Referring to Fig. 5, the specific steps schematic diagram of step S4 in one embodiment in Fig. 1 is shown as, as shown in figure 5, touching The step S4 of upgrading data occurs into, comprising:
S41, upgrade service information is generated with upgrading triggering information triggering cloud, in the present embodiment, cloud can be by soft The download service of part packet upgrades bag data, in one embodiment, terminal such as vehicle system, ECU (Electronic to terminal transmission Control Unit, electronic control unit 7 ') etc. downloadings active upgrade installation package, according to the liter in the active upgrade package decrypted Grade data carry out differential version replacement to own system, and in the present embodiment, temporary version data can be traversed by data structure Such as the upgraded version tree structure of traversal terminal device such as 8 ' system of vehicle device obtains, and in one embodiment, OTA (Over The Air) cloud 4 ' is sent to the upgrade notification liter of terminal such as 8 ' system of vehicle device, micro-control unit or full-vehicle control unit Grade edition data etc., for example, can be using the vehicle (for example, vehicle A) with highest version to (an example in remaining vehicle Such as, vehicle B) upgraded, latter two right vehicle (vehicle A and vehicle B) again respectively upgrades remaining vehicle, successively class It pushes away, until all vehicles are upgraded to highest version;
S42, according to upgrading authority information processing upgrade service information, to obtain upgrading data, in the present embodiment, at end In the escalation process for holding such as vehicle system, real-time terminal upgrade status data such as download progress can be sent to the cloud OTA Data etc.;
S43, transmission upgrading data have received the cloud OTA in the active upgrade request of terminal in the present embodiment to terminal Feedback, and complete after actively upgrading, updating result and newest version information can be sent to the cloud OTA, in the present embodiment In, updating result and edition data can be stored in such as OTA storage and call and refer to for subsequent upgrade.
Referring to Fig. 6, active upgrade-system module diagram of the invention is shown as, as shown in fig. 6, a kind of active upgrades System includes device data module 1, step-up authentication module 2, upgrading trigger module 3, upgrading data generation module 4 and terminal upgrade Module 5, device data module 1 generate terminal device data, in this reality to obtain upgrading terminals activly request data accordingly It applies in example, actively upgrading is actively to be initiated to update the upgrade activities checked to cloud according to certain condition from terminal, in this reality It applies in example, terminal versions data can be version upgrade path data such as edition tree information and particular terminal such as vehicle device The signing messages of Agent system, in the present embodiment, server and onboard system such as ECU electronic control unit 7 ' or MCU (Micro Control unit, micro-control unit) passes through the wireless communication device such as car antenna and car body outside vehicle CAN (Controller Area Network, the control area net(CAN) network) bus of inside installation receives upgraded version data for example Edition tree and Hash table data establish one efficiently with the communication in cloud, safety, reliable communication link, for example, vehicle-mounted After controller receives the upgrade signal order of host computer transmission, into Bootloader mode;Step-up authentication module 2, to Analysing terminal device data obtains terminal authentication information, and processing terminal authentication information is to obtain upgrading authority information, step-up authentication Module 2 is connect with device data module 1, and in the present embodiment, cloud will check whether terminal there is requested software OTA to upgrade Permission (free service or user have purchased respective service, or in white list);Upgrade trigger module 3, to obtain It takes cloud to check data, verifies upgrading authority information accordingly, to obtain upgrading triggering information, upgrading trigger module 3 is recognized with upgrading It demonstrate,proves module 2 to connect, in the present embodiment, upgrading triggering information can be for example to upgrade task list, in the present embodiment, ascending series Upgrading data such as software complete packet is uploaded to the cloud OTC according to the equipment such as terminal or the terminal day after tomorrow such as debugging computer can be passed through 4 ', to generate active upgrade package, in the present embodiment, the cloud OTC 4 ' is by from upgraded version data packet such as CAN protocol data Edition data or Hash mapping data are extracted in packet;Upgrade data generation module 4, for triggering cloud with upgrading triggering information Upgrading data are generated and sent to terminal, upgrading data generation module 4 is connect with upgrading trigger module 3, in the present embodiment, cloud Whether end will check terminal in current upgrading task list;Terminal upgrade module 5, actively to be upgraded according to upgrading data Terminal, terminal upgrade module 5 are connect with upgrading data generation module 4.
Referring to Fig. 7, the specific module diagram of device data module in one embodiment in Fig. 6 is shown as, such as Fig. 7 institute Show, device data module 1 includes request receiving module 11, terminal analysis module 12 and terminal data processing module 13, and request connects Module 11 is received, to monitor simultaneously receiving terminal activly request data, in one embodiment, OTA terminal 6 ' is divided by the object of upgrading For OS upgrading, upgrade using App, the upgrading mode of interior embedded device three categories type, in the present embodiment, OTA engine 62 ' It may connect to such as ECU staging adapter 64 ', Tbox OS staging adapter 65 ' and vehicle device staging adapter 66 '.From OTA From the point of view of terminal composition, comprising OTA engine 62 ' and the big component part of OTA staging adapter two, OTA engine 62 ' is responsible for entire OTA Upgrading scheduling and management, OTA staging adapter are responsible for realizing different OTA differentiation upgrade requirements;Terminal analysis module 12 is used With analysing terminal activly request data, to obtain equipment account information and upgraded version data, terminal analysis module 12 and request Receiving module 11 connects, and in the present embodiment, carries out version to the edition data such as version number etc. in terminal activly request data This inquiry;Terminal data processing module 13 is terminal device data to processing equipment account information and upgraded version data, eventually End data processing module 13 is connect with terminal analysis module 12, and in the present embodiment, OTA engine 62 ' is a connection OTA terminal 6 ' are responsible for coordinating and dispatch terminal OTA liter with 4 ' bridge of cloud, the realization cloud OTA 6 ' with the safety communication link of OTA terminal 4 ' Grade, upgrade notification needed for providing OTA to OTA terminal 6 ' receives, and actively upgrading checks, the downloading of OTA upgrade package rises 6 ' grade packets Decryption.
Referring to Fig. 8, the specific module diagram of device data module in one embodiment in Fig. 6 is shown as, such as Fig. 8 institute Show, step-up authentication module 2 includes that account extraction module 21, service sequences module 22 and service analysis module 23, account extract mould Block 21, to extract the equipment account information in terminal device data, in the present embodiment, 8 ' system of vehicle device and electronic control The terminals such as unit 7 ' check the edition data such as version number of own system and App and edition tree data;Service sequence Column module 22, to serialize equipment account information, to obtain terminal service data, service sequences module 22 and account extract mould Block 21 connects, and in the present embodiment, the equipment account information of serializing can be such as edition tree information and terminal device number of signature According to etc., wherein signed data can carry out signature calculation acquisition for example, by the cloud OTA, and in the present embodiment, OTA terminal 4 ' passes through The device data of terminal in itself storage such as OTA storage 63 ' calculates the personalized label of each OTA terminal 4 ' for needing to upgrade Name;Service analysis module 23, to analysing terminal service data to obtain upgrading authority information, service analysis module 23 and clothes Business block 22 connects, and in the present embodiment, edition tree information can carry out the operation such as version checking by the cloud OTA and obtain It takes.
Referring to Fig. 9, being shown as upgrading the specific module diagram of trigger module in one embodiment in Fig. 6, such as Fig. 9 institute Showing, upgrading trigger module 3 includes permissions list module 31, active judgment module 32, triggers generation module 33 and maintenance module 34,
Permissions list module 31, to obtain cloud permissions list information, in the present embodiment, permissions list information can be wrapped The free upgrade service beyond the clouds the such as corresponding terminal device such as MCU (Micro Control Unit, micro-control unit) is included, Or equipment white list etc.;
Active judgment module 32 judges accordingly for upgrading authority information to be traversed and verified with cloud permissions list information Whether trigger and actively upgrade, active judgment module 32 is connect with permissions list module 31;
Generation module 33 is triggered, for generating upgrading triggering according to upgrading authority information when determining that triggering actively upgrades Information, triggering generation module 33 are connect with active judgment module 32, and in the present embodiment, upgrading relation data can be terminal device Such as vehicle system or ECU (E1ectronic Control Unit, electronic control unit) actively upgrade corresponding upgraded version Tree;
Maintenance module 34, for determine not trigger actively upgrade when, maintain the working condition in cloud, maintenance module 34 and Generation module 33 is triggered to connect.
Referring to Fig. 10, being shown as upgrading the specific module diagram of data generation module in one embodiment in Fig. 6, such as Shown in Figure 10, upgrading data generation module 4 includes service creation module 41, upgrades data module 42 and data transmission blocks 43, Service creation module 41, for generating upgrade service information with upgrading triggering information triggering cloud, in the present embodiment, cloud can Upgrade bag data, in one embodiment, terminal such as vehicle system, ECU to terminal transmission by software package download service Downloadings active upgrade installation packages such as (Electronic Control Unit, electronic control units 7 '), according to the active decrypted Upgrading data in upgrade package carry out differential version replacement to own system, and in the present embodiment, temporary version data can pass through The upgraded version tree structure that data structure traversal for example traverses terminal device such as 8 ' system of vehicle device obtains, in an embodiment In, the cloud 4 ' OTA (Over The Air) is sent to terminal such as 8 ' system of vehicle device, micro-control unit or full-vehicle control unit Upgrade notification upgraded version data etc., for example, can be using the vehicle (for example, vehicle A) with highest version to remaining vehicle One (for example, vehicle B) in is upgraded, latter two right vehicle (vehicle A and vehicle B) again respectively carries out remaining vehicle Upgrading, and so on, until all vehicles are upgraded to highest version;Upgrade data module 42, to according to upgrading authority Information processing upgrade service information, to obtain upgrading data, upgrading data module 42 is connect with service creation module 41;Data hair Module 43 is sent, for sending upgrading data to terminal, data transmission blocks 43 are connect with upgrading data module 42.
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor Active upgrade method, those of ordinary skill in the art will appreciate that: realize all or part of the steps of above-mentioned each method embodiment It can be completed by the relevant hardware of computer program.Computer program above-mentioned can store in a computer-readable storage In medium.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium above-mentioned includes: The various media that can store program code such as ROM, RAM, magnetic or disk.
A kind of active updating apparatus, comprising: processor and memory;Memory is for storing computer program, processor For executing the computer program of memory storage, so that active updating apparatus executes active upgrade method, memory may be wrapped Containing random access memory (RandomAccessMemory, abbreviation RAM), it is also possible to further include nonvolatile memory (non- Volatilememory), a for example, at least magnetic disk storage.Above-mentioned processor can be general processor, including center Processor (CentralProcessingUnit, abbreviation CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.; It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), specific integrated circuit (Applic AtionSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components.
In conclusion a kind of active upgrade method provided by the invention and system, have the advantages that the present invention mentions The high applicability of active upgrade-system.
To sum up, the present invention solves the lower technology of mobile unit active upgrade function applicability existing in the prior art Problem has very high commercial value and practicability.

Claims (10)

1. a kind of active upgrade method, which is characterized in that the described method includes:
Upgrading terminals activly request data are obtained, generate terminal device data accordingly;
Analysing terminal device data obtains terminal authentication information, handles the terminal authentication information to obtain upgrading authority information;
It obtains cloud and checks data, verify the upgrading authority information accordingly, to obtain upgrading triggering information;
The upgrading data are generated and sent to terminal with upgrading triggering information triggering cloud;
Actively upgrade the terminal according to the upgrading data.
2. the method according to claim 1, wherein described obtain the step of generating terminal device data, comprising:
It monitors and receives the terminal activly request data;
The terminal activly request data are analyzed, to obtain equipment account information and upgraded version data;
It handles the equipment account information and the upgraded version data is the terminal device data.
3. the method according to claim 1, wherein the step of acquisition upgrading authority information, comprising:
Extract the equipment account information in the terminal device data;
The equipment account information is serialized, to obtain terminal service data;
The terminal service data are analyzed to obtain the upgrading authority information.
4. the method according to claim 1, wherein described the step of obtaining upgrading triggering information, comprising:
Obtain cloud permissions list information;
The upgrading authority information is traversed and verified with the cloud permissions list information, judges whether that triggering actively rises accordingly Grade;
If so, generating the upgrading according to the upgrading authority information triggers information;
If it is not, then maintaining the working condition in cloud.
5. the method according to claim 1, wherein the triggering generates the step of upgrading data, comprising:
Upgrade service information is generated with upgrading triggering information triggering cloud;
According to upgrade service information described in the upgrading authority information processing, to obtain upgrading data;
The upgrading data are sent to the terminal.
6. a kind of active upgrade-system, which is characterized in that the system comprises:
Device data module generates terminal device data to obtain upgrading terminals activly request data accordingly;
Step-up authentication module, to analysing terminal device data obtain terminal authentication information, handle the terminal authentication information with Obtain upgrading authority information;
Upgrade trigger module, check data to obtain cloud, verify the upgrading authority information accordingly, to obtain upgrading triggering Information;
Upgrade data generation module, for generating and sending the upgrading data to end with upgrading triggering information triggering cloud End;
Terminal upgrade module, actively to upgrade the terminal according to the upgrading data.
7. system according to claim 6, which is characterized in that the device data module, comprising:
Request receiving module, to monitor and receive the terminal activly request data;
Terminal analysis module, to analyze the terminal activly request data, to obtain equipment account information and upgraded version number According to;
Terminal data processing module, to handle the equipment account information and the upgraded version data as the terminal device Data.
8. according to the method described in claim 6, it is characterized in that, the step-up authentication module, comprising:
Account extraction module, to extract the equipment account information in the terminal device data;
Service sequences module, to serialize the equipment account information, to obtain terminal service data;
Service analysis module, to analyze the terminal service data to obtain the upgrading authority information.
9. according to the method described in claim 6, it is characterized in that, the upgrading trigger module, comprising:
Permissions list module, to obtain cloud permissions list information;
Active judgment module is sentenced accordingly for the upgrading authority information to be traversed and verified with the cloud permissions list information Disconnected whether trigger actively upgrades;
Generation module is triggered, for the upgrading being generated according to the upgrading authority information and being touched when determining that triggering actively upgrades Photos and sending messages;
Maintenance module, for maintaining the working condition in cloud when judgement does not trigger and actively upgrades.
10. according to the method described in claim 6, it is characterized in that, the upgrading data generation module, comprising:
Service creation module, for generating upgrade service information with upgrading triggering information triggering cloud;
Upgrade data module, to the upgrade service information according to the upgrading authority information processing, to obtain upgrading data;
Data transmission blocks, for sending the upgrading data to the terminal.
CN201910663673.8A 2019-07-18 2019-07-18 Active upgrade method and system Pending CN110290223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910663673.8A CN110290223A (en) 2019-07-18 2019-07-18 Active upgrade method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910663673.8A CN110290223A (en) 2019-07-18 2019-07-18 Active upgrade method and system

Publications (1)

Publication Number Publication Date
CN110290223A true CN110290223A (en) 2019-09-27

Family

ID=68023867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910663673.8A Pending CN110290223A (en) 2019-07-18 2019-07-18 Active upgrade method and system

Country Status (1)

Country Link
CN (1) CN110290223A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599659A (en) * 2019-10-12 2019-12-20 数浪信息科技(上海)有限公司 Access control permission synchronization method and device
CN111309352A (en) * 2020-01-21 2020-06-19 深圳市雷赛智能控制股份有限公司 Method, system and computer readable storage medium for managing drive firmware authorization
CN111399886A (en) * 2020-04-13 2020-07-10 上海依图网络科技有限公司 Method and system for rapidly upgrading equipment
CN113170003A (en) * 2021-03-09 2021-07-23 华为技术有限公司 Method for acquiring file through over-the-air OTA technology and related equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070121940A1 (en) * 2005-10-04 2007-05-31 Samsung Electronics Co., Ltd. Digital broadcasting conditional access terminal and method
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
US20150220321A1 (en) * 2014-02-06 2015-08-06 Hyundai Motor Company Method of updating software for vehicle
CN105357272A (en) * 2015-09-30 2016-02-24 青岛海信移动通信技术股份有限公司 OTA (Over the Air) upgrading method and device
CN106912037A (en) * 2017-03-30 2017-06-30 珠海全志科技股份有限公司 A kind of OTA upgrade methods and device
CN107423100A (en) * 2017-07-31 2017-12-01 上海爱优威软件开发有限公司 A kind of methods, devices and systems of terminal OTA firmware updatings
CN107835501A (en) * 2017-10-31 2018-03-23 广州小鹏汽车科技有限公司 A kind of automobile method for upgrading software, apparatus and system
WO2018077168A1 (en) * 2016-10-24 2018-05-03 中兴通讯股份有限公司 Method and apparatus for upgrading vehicle-mounted application system
CN108228215A (en) * 2018-01-02 2018-06-29 青岛海信移动通信技术股份有限公司 The method for pushing and device of the OTA upgrade package of terminal device
CN109348472A (en) * 2018-09-20 2019-02-15 广东小天才科技有限公司 A kind of OTA upgrade method and system based on single-point push
CN109445828A (en) * 2018-12-12 2019-03-08 上海伟世通汽车电子系统有限公司 The upgrade method of vehicle-mounted terminal system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070121940A1 (en) * 2005-10-04 2007-05-31 Samsung Electronics Co., Ltd. Digital broadcasting conditional access terminal and method
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
US20150220321A1 (en) * 2014-02-06 2015-08-06 Hyundai Motor Company Method of updating software for vehicle
CN105357272A (en) * 2015-09-30 2016-02-24 青岛海信移动通信技术股份有限公司 OTA (Over the Air) upgrading method and device
WO2018077168A1 (en) * 2016-10-24 2018-05-03 中兴通讯股份有限公司 Method and apparatus for upgrading vehicle-mounted application system
CN106912037A (en) * 2017-03-30 2017-06-30 珠海全志科技股份有限公司 A kind of OTA upgrade methods and device
CN107423100A (en) * 2017-07-31 2017-12-01 上海爱优威软件开发有限公司 A kind of methods, devices and systems of terminal OTA firmware updatings
CN107835501A (en) * 2017-10-31 2018-03-23 广州小鹏汽车科技有限公司 A kind of automobile method for upgrading software, apparatus and system
CN108228215A (en) * 2018-01-02 2018-06-29 青岛海信移动通信技术股份有限公司 The method for pushing and device of the OTA upgrade package of terminal device
CN109348472A (en) * 2018-09-20 2019-02-15 广东小天才科技有限公司 A kind of OTA upgrade method and system based on single-point push
CN109445828A (en) * 2018-12-12 2019-03-08 上海伟世通汽车电子系统有限公司 The upgrade method of vehicle-mounted terminal system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599659A (en) * 2019-10-12 2019-12-20 数浪信息科技(上海)有限公司 Access control permission synchronization method and device
CN111309352A (en) * 2020-01-21 2020-06-19 深圳市雷赛智能控制股份有限公司 Method, system and computer readable storage medium for managing drive firmware authorization
CN111309352B (en) * 2020-01-21 2024-03-26 深圳市雷赛智能控制股份有限公司 Method, system and computer readable storage medium for managing drive firmware authorization
CN111399886A (en) * 2020-04-13 2020-07-10 上海依图网络科技有限公司 Method and system for rapidly upgrading equipment
CN113170003A (en) * 2021-03-09 2021-07-23 华为技术有限公司 Method for acquiring file through over-the-air OTA technology and related equipment

Similar Documents

Publication Publication Date Title
CN110290223A (en) Active upgrade method and system
US10599420B2 (en) Updating a controller unit in a vehicle
CN111399884A (en) Vehicle component upgrading method and device and electronic equipment
CN110377308A (en) Data updating method, system
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN110071904A (en) A kind of detection method of car-mounted terminal and system, server and storage medium
CN112506559B (en) Gray release method and device based on gateway, electronic equipment and storage medium
CN105389263A (en) Method, system and equipment for monitoring application software permissions
WO2022193096A1 (en) Over-the-air technology (ota)-based communication method and apparatus
US20130055228A1 (en) System and Method for Installing a Patch on a Computing System
CN106919485A (en) A kind of system based on configuration hardware testing instrument on server
CN111026640A (en) Vehicle-mounted equipment testing method and system, mobile terminal and storage medium
EP3405923B1 (en) Updating a controller unit in a vehicle
CN102779089A (en) Automobile electronic control unit (ECU) secret key simulation implementation method and system and verification method thereof
CN113468049A (en) Test method, device, equipment and medium based on configurable interface
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
JP7485106B2 (en) Vehicle, on-board control device, information processing device, vehicle network system, method for providing application program, and program
CN111651121A (en) Data logic calculation method and device, electronic equipment and storage medium
CN113037850A (en) Application program upgrading method and device, electronic equipment and storage medium
CN110377315A (en) Passive upgrade method and system
CN110389780A (en) Edition data processing method, system and equipment
WO2014056350A1 (en) Base station and maintenance method therefor
CN115333800A (en) Vehicle-mounted vehicle-cloud integrated log collecting and analyzing method, vehicle and cloud server
CN105471582A (en) Resource obtaining method and system and related device
CN112558990A (en) Maintenance and upgrading method and system for vehicle-mounted safety computer

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