CN105700905B - The WIFI upgrade method and device of car-mounted terminal operating system - Google Patents

The WIFI upgrade method and device of car-mounted terminal operating system Download PDF

Info

Publication number
CN105700905B
CN105700905B CN201410710133.8A CN201410710133A CN105700905B CN 105700905 B CN105700905 B CN 105700905B CN 201410710133 A CN201410710133 A CN 201410710133A CN 105700905 B CN105700905 B CN 105700905B
Authority
CN
China
Prior art keywords
mips
intelligent terminal
operating system
message
certification
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.)
Active
Application number
CN201410710133.8A
Other languages
Chinese (zh)
Other versions
CN105700905A (en
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.)
ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd
Original Assignee
ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) 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 ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd filed Critical ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd
Priority to CN201410710133.8A priority Critical patent/CN105700905B/en
Publication of CN105700905A publication Critical patent/CN105700905A/en
Application granted granted Critical
Publication of CN105700905B publication Critical patent/CN105700905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of WIFI upgrade method of car-mounted terminal operating system and devices, wherein upgrade method includes: wireless connection of the MIPS by WIFI unit foundation and the intelligent terminal of storage program area upgrade file;MIPS sends request upgrading message to intelligent terminal, so that intelligent terminal sends operating system update file to MIPS;MIPS is received and is judged in operating system update file with the presence or absence of MIPS operating system update file and MCU operating system update file;If there is MIPS operating system update file, MIPS enters upgrade mode, is upgraded according to MIPS operating system update file to itself operating system;If there is the upgrade file of MCU operating system, the upgrade file of MCU operating system is sent to MCU, and trigger MCU and enter upgrade mode, so that MCU upgrades itself operating system according to MCU operating system update file.

Description

The WIFI upgrade method and device of car-mounted terminal operating system
Technical field
The present invention relates to technical field of Internet information, upgrade more particularly to a kind of WIFI of car-mounted terminal operating system Method and device.
Background technique
Car-mounted terminal is also known as vehicle scheduling monitoring terminal, is the headend equipment of vehicle monitoring management system, and integrated positioning leads to The multiple functions such as letter and automobile travel recorder, and the information such as the location information of vehicle, travel speed are passed through into wireless transmission side Formula passes back to monitor supervision platform.User can realize monitoring and management vehicle-mounted end to vehicle by intelligent terminals such as computer, mobile phones End.
Currently, generally being risen using the serial ports of car-mounted terminal when that need to upgrade to the operating system of car-mounted terminal Grade, specific escalation process are as follows: the serial ports of car-mounted terminal be connected with the intelligent terminal equipped with operating system update file, intelligence Operating system update file is sent to car-mounted terminal by the serial ports by terminal, and car-mounted terminal is according to operating system update file Itself operating system is upgraded.
But since the transmission rate of serial ports is slower, generally per second more than ten to several hundred kilobits, therefore, operating system The transmission duration of upgrade file is longer, so that the update time of entire car-mounted terminal operating system is longer.
Summary of the invention
The WIFI upgrade method and device of a kind of car-mounted terminal operating system are provided in the embodiment of the present invention, it is existing to solve There is entire car-mounted terminal operating system update time longer problem in technology.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
A kind of WIFI upgrade method of car-mounted terminal operating system, the car-mounted terminal include: WIFI WiMAX unit, The microprocessor of MCU micro-control unit and MIPS without inner interlocked pipelining-stage;The upgrade method includes:
The MIPS is established by the WIFI unit to be connected with the wireless of the intelligent terminal of storage program area upgrade file It connects;
The MIPS sends request upgrading message to the intelligent terminal, so that the intelligent terminal sends operating system liter Grade file is to the MIPS;
The MIPS is received and is judged in the operating system update file with the presence or absence of MIPS operating system update file With MCU operating system update file;
If there is the MIPS operating system update file, the MIPS enters upgrade mode, is grasped according to the MIPS Make system upgrade file to upgrade itself operating system;
If there is the upgrade file of the MCU operating system, the upgrade file of the MCU operating system is sent to described MCU, and trigger the MCU and enter upgrade mode, so that the MCU grasps itself according to the MCU operating system update file Upgraded as system.
Preferably, the MIPS is established and the intelligent terminal of storage program area upgrade file by the WIFI unit It is wirelessly connected, comprising:
After the MIPS, which receives the Probe Request that the intelligent terminal is sent, detects request message, pass through institute It states WIFI unit and sends the essential information of the WIFI unit to the intelligent terminal;
The MIPS authenticates the certification message that the intelligent terminal is sent, and the certification message is that the intelligence is whole It holds generated according to the essential information of the WIFI unit;
If the certification passes through, the MIPS sends certification and passes through message to the intelligent terminal;
After the MIPS receives the radio connection request that the intelligent terminal is sent, establish and the intelligent terminal It is wirelessly connected, the radio connection request is the intelligent terminal after the certification for receiving MIPS is by message, transmitted.
Preferably, the MIPS is established and the intelligent terminal of storage program area upgrade file by the WIFI unit It is wirelessly connected, comprising:
The MIPS periodic broadcast Beacon beacon message;
It is mono- by the WIFI after MIPS receives the Probe Request message that the intelligent terminal is sent Member sends the essential information of the WIFI unit to the intelligent terminal, and the Probe Request message is that the intelligence is whole It is transmitted after termination receives the Beacon message;
The MIPS authenticates the certification message that the intelligent terminal is sent, and the certification message is that the intelligence is whole It holds generated according to the essential information of the WIFI unit;
If the certification passes through, the MIPS sends certification and passes through message to the intelligent terminal;
After the MIPS receives the radio connection request that the intelligent terminal is sent, the MIPS is established and the intelligence The wireless connection of energy terminal, the radio connection request are the intelligent terminal after the certification for receiving MIPS is by message, Transmitted.
Preferably, the MIPS authenticates the certification message that the intelligent terminal is sent, comprising:
The MIPS generates a random authentication code, and encrypts to the random authentication code, as encrypted authentication code, hair It send to the intelligent terminal;
The MIPS receives the decrypted authentication code that the intelligent terminal is sent, and the intelligent terminal is receiving the encryption After authentication code, the encrypted authentication code is decrypted, obtain and sends decrypted authentication code;
The MIPS judges whether the decrypted authentication code and the random authentication intersymbol meet preset rules;
If it is satisfied, then thinking that certification passes through, otherwise it is assumed that certification does not pass through.
Preferably, the method also includes:
The IP address of the MIPS distribution intelligent terminal.
A kind of WIFI update device of car-mounted terminal operating system, the car-mounted terminal include: WIFI WiMAX unit, The microprocessor of MCU micro-control unit and MIPS without inner interlocked pipelining-stage;The update device includes:
Wireless connection establishes module, for establishing the intelligence with storage program area upgrade file by the WIFI unit The wireless connection of terminal;
Upgrading message sending module is requested, for sending request upgrading message to the intelligent terminal, so that the intelligence Terminal sends operating system update file to the MIPS;
Operating system update file reception judgment module, for receive and judge in the operating system update file whether There are MIPS operating system update files and MCU operating system update file;
MIPS upgraded module enters liter for when there are the MIPS operating system update file, controlling the MIPS Grade mode, and MIPS operating system is upgraded according to the MIPS operating system update file;
MCU upgraded module, for sending the MCU operating system when there are the upgrade file of the MCU operating system Upgrade file triggers the MCU and enters upgrade mode to the MCU, so that the MCU is according to the MCU operating system liter Grade file upgrades itself operating system.
Preferably, the wireless connection establishes module, comprising:
WIFI unit essential information transmission unit, for as the Probe Request for receiving the intelligent terminal transmission After detecting request message, the essential information of the WIFI unit is sent to the intelligent terminal by the WIFI unit;
Authentication unit, the certification message for sending to the intelligent terminal authenticate, and the certification message is described Intelligent terminal is generated according to the essential information of the WIFI unit;
Certification is by message sending unit, for sending certification and passing through message to the intelligence when the certification passes through Terminal;
Wireless connection establishes unit, after receiving the radio connection request that the intelligent terminal is sent, establish with it is described The wireless connection of intelligent terminal, the radio connection request are the intelligent terminal after receiving the certification by message, Transmitted.
Preferably, the wireless connection establishes module, comprising:
Radio unit is used for periodic broadcast Beacon beacon message;
WIFI unit essential information transmission unit, for as the Probe Request for receiving the intelligent terminal transmission After message, the essential information of the WIFI unit is sent to the intelligent terminal, the Probe by the WIFI unit It is transmitted after Request message receives the Beacon message for the intelligent terminal;
Authentication unit, the certification message for sending to the intelligent terminal authenticate, and the certification message is described Intelligent terminal is generated according to the essential information of the WIFI unit;
Certification is by message transmission module, for sending certification and passing through message to the intelligence when the certification passes through Terminal;
Wireless connection establishes unit, for receiving the radio connection request that the intelligent terminal is sent as the MIPS Afterwards, the wireless connection with the intelligent terminal is established, the radio connection request is that the intelligent terminal is receiving MIPS's It is transmitted after certification passes through message.
Preferably, the authentication unit, comprising:
Encrypted authentication code generates subelement, for generating a random authentication code, and encrypts to the random authentication code, As encrypted authentication code;
Encrypted authentication code transmission sub-unit, for sending the encrypted authentication code to the intelligent terminal;
Decrypted authentication code receiving subelement, the decrypted authentication code sent for receiving the intelligent terminal, the intelligence is eventually End is decrypted the encrypted authentication code, obtains and send decrypted authentication code after receiving the encrypted authentication code;
Judgment sub-unit, for judging whether the decrypted authentication code and the random authentication intersymbol meet preset rules; If it is satisfied, then thinking that certification passes through, otherwise it is assumed that certification does not pass through.
Preferably, described device further include:
IP address distribution module, for distributing the IP address of intelligent terminal.
The beneficial effect comprise that in the embodiment of the present application, due to MIPS first by WIFI unit establish with The wireless connection of the intelligent terminal of storage program area upgrade file, then, using WIFI unit between MIPS and intelligent terminal Operating system update file is transmitted, and upon completion of the transmission, can be operated according to MCU of the operating system update file to car-mounted terminal System and/or MIPS operating system are upgraded, to complete the upgrading to car-mounted terminal.Due to the transmission rate of WIFI unit It is high compared with the transmission rate of serial ports, it generally can reach per second up to a hundred million, therefore, upgrade file received compared to serial ports, using WIFI Unit can reduce the transmission duration of upgrade file, to reduce the upgrading duration of entire car-mounted terminal application program.
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, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of car-mounted terminal provided in an embodiment of the present invention;
Fig. 2 is a flow diagram of the WIFI upgrade method of car-mounted terminal operating system provided in an embodiment of the present invention;
Fig. 3 is another process signal of the WIFI upgrade method of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Fig. 4 is the another process signal of the WIFI upgrade method of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Fig. 5 is another process signal of the WIFI upgrade method of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Fig. 6 is a structural schematic diagram of the WIFI update device of car-mounted terminal operating system provided in an embodiment of the present invention;
Fig. 7 is another structural representation of the WIFI update device of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Fig. 8 is the another structural representation of the WIFI update device of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Fig. 9 is another structural representation of the WIFI update device of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Figure 10 is the another structural representation of the WIFI update device of car-mounted terminal operating system provided in an embodiment of the present invention Figure;
Specific embodiment
The embodiment of the present invention provides the WIFI upgrade method and device of a kind of car-mounted terminal operating system, to reduce operation system The transmission duration of system upgrade file, and then reduce the upgrading duration of entire car-mounted terminal operating system
The car-mounted terminal of the embodiment of the present invention is illustrated first, as shown in Figure 1, including at least: WIFI (Wireless-Fidelity, WiMAX) unit, MCU (Micro Control Unit, micro-control unit) and MIPS (Million Instructions Per Second, the microprocessor of no inner interlocked pipelining-stage);Wherein, WIFI, MCU and Connection relationship between MIPS, such as referring specifically to Fig. 1.
The upgrade method, as shown in Fig. 2, at least including the following steps:
Step S21: the MIPS establishes the intelligent terminal with storage program area upgrade file by the WIFI unit Wireless connection;
In the embodiment of the present application, the intelligent terminal of storage program area upgrade file can for computer, smart phone and The terminals such as tablet computer.
S22: the MIPS sends request upgrading message to the intelligent terminal, so that the intelligent terminal sends operation system Upgrade file unite to the MIPS;
In the embodiment of the present application, intelligent terminal sends operation system after the request upgrading message for receiving MIPS transmission Upgrade file unite to the MIPS;
S23: the MIPS receives and judges in the operating system update file with the presence or absence of MIPS operating system update File and MCU operating system update file;
S24: if there is the MIPS operating system update file, the MIPS enters upgrade mode, according to described MIPS operating system update file upgrades itself operating system;
S25: if there is the upgrade file of the MCU operating system, the upgrade file of the MCU operating system is sent extremely The MCU, and trigger the MCU and enter upgrade mode, so that the MCU is according to the MCU operating system update file to certainly Body operating system is upgraded.
Therefore in the embodiment of the present application, since MIPS is established by WIFI unit first and storage program area Then the wireless connection of the intelligent terminal of upgrade file transmits operating system using WIFI unit between MIPS and intelligent terminal Upgrade file, and upon completion of the transmission, can according to operating system update file to the MCU operating system of car-mounted terminal and/or MIPS operating system is upgraded, to complete the upgrading to car-mounted terminal.Since the transmission rate of WIFI unit is compared with serial ports Transmission rate is high, generally can reach per second up to a hundred million, therefore, receives upgrade file compared to serial ports, can be subtracted using WIFI unit The transmission duration of small upgrade file, to reduce the upgrading duration of entire car-mounted terminal application program.
In another possible embodiments of the invention, as shown in figure 3, the step S21 in above-mentioned all embodiments can be specific Include:
Step S31: request message is detected when the MIPS receives the Probe Request that the intelligent terminal is sent Afterwards, the MIPS sends the essential information of the WIFI unit to the intelligent terminal by the WIFI unit;
In the embodiment of the present application, after user opens the wireless connection of intelligent terminal, intelligent terminal can active transmission Probe Request detects request message to car-mounted terminal;And car-mounted terminal receive it is above-mentioned detect request message after, will send out Send the essential information of WIFI unit to intelligent terminal;And intelligent terminal generates according to the essential information of WIFI unit certification and disappears It ceases, and the certification message is sent to the MIPS of car-mounted terminal;
Step S32: the MIPS authenticates the certification message;If the certification passes through, S33 is entered step;
Step S33: the MIPS, which sends certification, passes through message to the intelligent terminal;
In the embodiment of the present application, wireless by sending after intelligent terminal receives the certification of MIPS transmission by message Connection request to car-mounted terminal MIPS;
Step S34: after the MIPS receives the radio connection request that the intelligent terminal is sent, the MIPS is established With the wireless connection of the intelligent terminal.
Therefore using the above method of the invention, the MIPS and storage program area upgrade file can be established The wireless connection of intelligent terminal.
In the another possible embodiments of the application, as shown in figure 4, the step S21 in above-mentioned all embodiments can also have Body includes:
Step S41: the MIPS periodic broadcast Beacon beacon message;
In the embodiment of the present application, it after intelligent terminal receives above-mentioned Beacon message, sends Probe Request and disappears It ceases to the MIPS of car-mounted terminal;
Step S42: described after the MIPS receives the Probe Request message that the intelligent terminal is sent MIPS sends the essential information of the WIFI unit to the intelligent terminal by the WIFI unit;
In the embodiment of the present application, after intelligent terminal receives the essential information of the WIFI unit of MIPS transmission, according to The essential information of WIFI unit generates certification message, and is sent to the MIPS of car-mounted terminal;
Step S43: the MIPS authenticates the certification message, if certification passes through, enters step S44;
Step S44: the MIPS, which sends certification, passes through message to the intelligent terminal;
In the embodiment of the present application, after intelligent terminal receives certification by message, radio connection request is sent to vehicle The MIPS of mounted terminal;
Step S45: it after the MIPS receives the radio connection request that the intelligent terminal is sent, establishes and the intelligence The wireless connection of energy terminal.
Therefore using the above method, the wireless connection of MIPS and intelligent terminal can be also established.
In another possible embodiments of the application, as shown in figure 5, step S32 or step in above-mentioned all embodiments S43 may particularly include:
Step S51: the MIPS generates a random authentication code, and encrypts to the random authentication code, as encryption Authentication code is sent to the intelligent terminal;
In the embodiment of the present application, the key pair that can be specifically made an appointment using car-mounted terminal and legal intelligent terminal with Machine authentication code is encrypted, as encrypted authentication code;
Step S52: the MIPS receives the decrypted authentication code that the intelligent terminal is sent, and the intelligent terminal is receiving After the encrypted authentication code, the encrypted authentication code is decrypted, obtain and sends decrypted authentication code;
In the embodiment of the present application, intelligent terminal can be used the received connectivity verification code of preset key pair institute and be solved It is close, obtain decrypted authentication code;
Step S53: the MIPS judges whether the decrypted authentication code and the random authentication intersymbol meet preset rules;
In the embodiment of the present application, the preset rules can be specially that decrypted authentication code and random authentication code are completely the same Rule;If it is satisfied, entering step S54;If conditions are not met, entering step S55;
It in the embodiment of the present application, can be specially that decrypted authentication code can be compared with random authentication code by the MIPS, It is consistent to check whether the two is completed;If consistent, it is believed that meet preset rules, if inconsistent, it is believed that be unsatisfactory for preset rules.
Step S54: certification passes through;
Step S55: certification does not pass through.
Therefore using the above method, illegal, not operation of the intelligent terminal of permission to car-mounted terminal can be prevented System enters upgrading, to guarantee the safety of car-mounted terminal operating system.
In another possible embodiments of the application, between step S21 and step S22, further includes:
The IP address of the MIPS distribution intelligent terminal;
In the embodiment of the present application, MIPS can actively be intelligent terminal distribution IP address, can also answer the request of intelligent terminal, IP address is matched by intelligent terminal, details are not described herein.
By the description of above embodiment of the method, it is apparent to those skilled in the art that the present invention can Realize by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially makes tribute to the prior art in other words The part offered can be embodied in the form of software products, which is stored in a storage medium, packet Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes All or part of the steps of the method according to each embodiment of the present invention.And storage medium above-mentioned includes: read-only memory (ROM), the various media that can store program code such as random access memory (RAM), magnetic or disk.
It corresponds to the above method, disclosed herein as well is the WIFI update device of car-mounted terminal operating system at one, As shown in fig. 6, including at least:
Wireless connection establishes module 61, for establishing the intelligence with storage program area upgrade file by the WIFI unit The wireless connection of energy terminal;
Upgrading message sending module 62 is requested, for sending request upgrading message to the intelligent terminal, so that the intelligence Energy terminal sends operating system update file to the MIPS;
Operating system update file reception judgment module 63 is in the operating system update file for receiving and judging It is no that there are MIPS operating system update files and MCU operating system update file;
MIPS upgraded module 64 enters for when there are the MIPS operating system update file, controlling the MIPS Upgrade mode, and MIPS operating system is upgraded according to the MIPS operating system update file;
MCU upgraded module 65, for when there are the upgrade file of the MCU operating system, sending MCU operation system Upgrade file unite to the MCU, and triggers the MCU and enters upgrade mode, so that the MCU is according to the MCU operating system Upgrade file upgrades itself operating system.
Therefore in the embodiment of the present application, module 61 is established first by WIFI unit foundation due to being wirelessly connected With the wireless connection of the intelligent terminal of storage program area upgrade file, then, operating system update file reception judgment module 63 receive operating system update file transmitted by intelligent terminal using WIFI unit, and after finishing receiving, MIPS upgrades mould Block 64 can upgrade according to MIPS operating system of the MIPS operating system update file to car-mounted terminal;MCU upgraded module 65 It can be upgraded according to MCU operating system of the MCU operating system update file to car-mounted terminal;Due to the transmission speed of WIFI unit Rate is high compared with the transmission rate of serial ports, generally can reach per second up to a hundred million, therefore, receives upgrade file compared to serial ports, uses WIFI unit can reduce the transmission duration of upgrade file, to reduce the upgrading duration of entire car-mounted terminal application program.
In another possible embodiments of the application, as shown in fig. 7, the wireless connection in above-mentioned all embodiments establishes mould Block 61 can include:
WIFI unit essential information transmission unit 71, for as the Probe for receiving the intelligent terminal transmission After Request detects request message, the essential information for sending the WIFI unit by the WIFI unit is whole to the intelligence End;
Authentication unit 72, the certification message for sending to the intelligent terminal authenticate, and the certification message is institute The essential information that intelligent terminal is stated according to the WIFI unit is generated;
Certification is by message sending unit 73, for sending certification and passing through message to the intelligence when the certification passes through It can terminal;
Wireless connection establishes unit 74, after receiving the radio connection request that the intelligent terminal is sent, foundation and institute State the wireless connection of intelligent terminal, the radio connection request, which is the intelligent terminal, passes through message receiving the certification Afterwards, transmitted.
Therefore using above-mentioned apparatus, the wireless connection of car-mounted terminal and intelligent terminal can be established.
In the another possible embodiments of the application, as shown in figure 8, the wireless connection in above-mentioned all embodiments establishes mould Block 61 can include:
Radio unit 81 is used for periodic broadcast Beacon beacon message;
WIFI unit essential information transmission unit 82, for as the Probe for receiving the intelligent terminal transmission After Request message, the essential information of the WIFI unit is sent to the intelligent terminal by the WIFI unit, it is described It is transmitted after Probe Request message receives the Beacon message for the intelligent terminal;
Authentication unit 83, the certification message for sending to the intelligent terminal authenticate, and the certification message is institute The essential information that intelligent terminal is stated according to the WIFI unit is generated;
Certification is by message transmission module 84, for sending certification and passing through message to the intelligence when the certification passes through It can terminal;
Wireless connection establishes unit 85, for receiving the radio connection request that the intelligent terminal is sent as the MIPS Afterwards, the wireless connection with the intelligent terminal is established, the radio connection request is that the intelligent terminal is receiving MIPS's It is transmitted after certification passes through message.
Therefore using above-mentioned apparatus, the wireless connection of car-mounted terminal and intelligent terminal can also be established.
In the another possible embodiments of the application, as shown in figure 9, authentication unit 72 in above-mentioned all embodiments or recognizing Demonstrate,prove unit 83 can include:
Encrypted authentication code generates subelement 91, for generating a random authentication code, and adds to the random authentication code It is close, as encrypted authentication code;
Encrypted authentication code transmission sub-unit 92, for sending the encrypted authentication code to the intelligent terminal;
Decrypted authentication code receiving subelement 93, the decrypted authentication code sent for receiving the intelligent terminal, the intelligence Terminal is decrypted the encrypted authentication code after receiving the encrypted authentication code, obtains and sends decrypted authentication code;
Judgment sub-unit 94, for judging whether the decrypted authentication code and the random authentication intersymbol meet default rule Then;If it is satisfied, then thinking that certification passes through, otherwise it is assumed that certification does not pass through.
Therefore using above-mentioned apparatus, illegal, not operation of the intelligent terminal of permission to car-mounted terminal can be prevented System enters upgrading, to guarantee the safety of car-mounted terminal operating system.
In the another possible embodiments of the application, as shown in Figure 10, it may also include that
IP address distribution module 101, for distributing the IP address of intelligent terminal.
Using above-mentioned apparatus, IP address can be distributed for intelligent terminal, thus can be real using car-mounted terminal and intelligent terminal It is communicated.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only a specific embodiment of the invention, is made skilled artisans appreciate that or realizing this hair It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of WIFI upgrade method of car-mounted terminal operating system, which is characterized in that the car-mounted terminal includes: WIFI wireless The microprocessor of wide element, MCU micro-control unit and MIPS without inner interlocked pipelining-stage;The upgrade method includes:
The MIPS establishes the wireless connection with the intelligent terminal of storage program area upgrade file by WIFI unit;
The MIPS sends request upgrading message to the intelligent terminal, so that the intelligent terminal sends operating system update text Part is to the MIPS;
The MIPS is received and is judged in the operating system update file with the presence or absence of MIPS operating system update file and MCU Operating system update file;
If there is the MIPS operating system update file, the MIPS enters upgrade mode, operates system according to the MIPS System upgrade file upgrades itself operating system;
If there is the upgrade file of the MCU operating system, the upgrade file of the MCU operating system is sent to the MCU, And the triggering MCU enters upgrade mode, so that the MCU is to itself operation according to the MCU operating system update file System is upgraded.
2. the method according to claim 1, wherein the MIPS is established by the WIFI unit and is stored behaviour Make the wireless connection of the intelligent terminal of system upgrade file, comprising:
After the MIPS, which receives the Probe Request that the intelligent terminal is sent, detects request message, the MIPS is logical It crosses the WIFI unit and sends the essential information of the WIFI unit to the intelligent terminal;
The MIPS authenticates the certification message that the intelligent terminal is sent, and the certification message is the intelligent terminal root Essential information according to the WIFI unit is generated;
If the certification passes through, the MIPS sends certification and passes through message to the intelligent terminal;
After the MIPS receives the radio connection request that the intelligent terminal is sent, establish wireless with the intelligent terminal Connection, the radio connection request is the intelligent terminal after the certification for receiving MIPS is by message, transmitted.
3. the method according to claim 1, wherein the MIPS is established by the WIFI unit and is stored behaviour Make the wireless connection of the intelligent terminal of system upgrade file, comprising:
The MIPS periodic broadcast Beacon beacon message;
After the MIPS receives the Probe Request message that the intelligent terminal is sent, the MIPS passes through described WIFI unit sends the essential information of the WIFI unit to the intelligent terminal, and the Probe Request message is described It is transmitted after intelligent terminal receives the Beacon message;
The MIPS authenticates the certification message that the intelligent terminal is sent, and the certification message is the intelligent terminal root Essential information according to the WIFI unit is generated;
If the certification passes through, the MIPS sends certification and passes through message to the intelligent terminal;
After the MIPS receives the radio connection request that the intelligent terminal is sent, the MIPS is established with the intelligence eventually The wireless connection at end, the radio connection request are the intelligent terminal after the certification for receiving MIPS is by message, are sent out It send.
4. according to the method in claim 2 or 3, which is characterized in that the certification that the MIPS sends the intelligent terminal Message is authenticated, comprising:
The MIPS generates a random authentication code, and encrypts to the random authentication code, as encrypted authentication code, is sent to The intelligent terminal;
The MIPS receives the decrypted authentication code that the intelligent terminal is sent, and the intelligent terminal is receiving the encryption certification After code, the encrypted authentication code is decrypted, obtains and sends decrypted authentication code;
The MIPS judges whether the decrypted authentication code and the random authentication intersymbol meet preset rules;
If it is satisfied, then thinking that certification passes through, otherwise it is assumed that certification does not pass through.
5. the method according to claim 1, wherein further include:
The IP address of the MIPS distribution intelligent terminal.
6. a kind of WIFI update device of car-mounted terminal operating system, which is characterized in that the car-mounted terminal includes: WIFI wireless The microprocessor of wide element, MCU micro-control unit and MIPS without inner interlocked pipelining-stage;The update device includes:
Wireless connection establishes module, for establishing the nothing with the intelligent terminal of storage program area upgrade file by WIFI unit Line connection;
Upgrading message sending module is requested, for sending request upgrading message to the intelligent terminal, so that the intelligent terminal Operating system update file is sent to the MIPS;
Operating system update file reception judgment module whether there is in the operating system update file for receiving and judging MIPS operating system update file and MCU operating system update file;
MIPS upgraded module enters upgrading mould for when there are the MIPS operating system update file, controlling the MIPS Formula, and MIPS operating system is upgraded according to the MIPS operating system update file;
MCU upgraded module, for sending the MCU operating system update when there are the upgrade file of the MCU operating system File triggers the MCU and enters upgrade mode to the MCU, so that the MCU is according to the MCU operating system update text Part upgrades itself operating system.
7. device according to claim 6, which is characterized in that the wireless connection establishes module, comprising:
WIFI unit essential information transmission unit, for being detected as the Probe Request for receiving the intelligent terminal transmission After request message, the essential information of the WIFI unit is sent to the intelligent terminal by the WIFI unit;
Authentication unit, the certification message for sending to the intelligent terminal authenticate, and the certification message is the intelligence Terminal is generated according to the essential information of the WIFI unit;
Certification is by message sending unit, for sending certification and passing through message to the intelligent terminal when the certification passes through;
Wireless connection establishes unit, after receiving the radio connection request that the intelligent terminal is sent, establishes and the intelligence The wireless connection of terminal, the radio connection request are the intelligent terminal after receiving the certification by message, are sent out It send.
8. device according to claim 6, which is characterized in that the wireless connection establishes module, comprising:
Radio unit is used for periodic broadcast Beacon beacon message;
WIFI unit essential information transmission unit, for when the Probe Request message for receiving the intelligent terminal transmission Afterwards, the essential information of the WIFI unit is sent by the WIFI unit to the intelligent terminal, the Probe Request It is transmitted after message receives the Beacon message for the intelligent terminal;
Authentication unit, the certification message for sending to the intelligent terminal authenticate, and the certification message is the intelligence Terminal is generated according to the essential information of the WIFI unit;
Certification is by message transmission module, for sending certification and passing through message to the intelligent terminal when the certification passes through;
Wireless connection establishes unit, for building after the MIPS receives the radio connection request that the intelligent terminal is sent The vertical wireless connection with the intelligent terminal, the radio connection request are that the intelligent terminal is logical in the certification for receiving MIPS It is transmitted after crossing message.
9. device according to claim 7 or 8, which is characterized in that the authentication unit, comprising:
Encrypted authentication code generates subelement, for generating a random authentication code, and encrypts to the random authentication code, as Encrypted authentication code;
Encrypted authentication code transmission sub-unit, for sending the encrypted authentication code to the intelligent terminal;
Decrypted authentication code receiving subelement, the decrypted authentication code sent for receiving the intelligent terminal, the intelligent terminal exist After receiving the encrypted authentication code, the encrypted authentication code is decrypted, obtain and sends decrypted authentication code;
Judgment sub-unit, for judging whether the decrypted authentication code and the random authentication intersymbol meet preset rules;If Meet, then it is assumed that certification passes through, otherwise it is assumed that certification does not pass through.
10. device according to claim 6, which is characterized in that further include:
IP address distribution module, for distributing the IP address of intelligent terminal.
CN201410710133.8A 2014-11-28 2014-11-28 The WIFI upgrade method and device of car-mounted terminal operating system Active CN105700905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410710133.8A CN105700905B (en) 2014-11-28 2014-11-28 The WIFI upgrade method and device of car-mounted terminal operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410710133.8A CN105700905B (en) 2014-11-28 2014-11-28 The WIFI upgrade method and device of car-mounted terminal operating system

Publications (2)

Publication Number Publication Date
CN105700905A CN105700905A (en) 2016-06-22
CN105700905B true CN105700905B (en) 2019-03-01

Family

ID=56230845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410710133.8A Active CN105700905B (en) 2014-11-28 2014-11-28 The WIFI upgrade method and device of car-mounted terminal operating system

Country Status (1)

Country Link
CN (1) CN105700905B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809324B (en) * 2016-09-07 2022-01-25 中兴通讯股份有限公司 Vehicle-mounted automatic diagnosis system equipment and upgrading method thereof
CN107026911A (en) * 2017-05-11 2017-08-08 广东汇泰龙科技有限公司 It is a kind of to lock the method for carrying out wireless mode IAP to cloud based on RF modules
US11449327B2 (en) 2018-11-30 2022-09-20 Paccar Inc Error-resilient over-the-air software updates for vehicles
US11356425B2 (en) 2018-11-30 2022-06-07 Paccar Inc Techniques for improving security of encrypted vehicle software updates

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399760A (en) * 2013-07-20 2013-11-20 江苏中科天安智联科技有限公司 Remote upgrade method of vehicular intelligent terminal software
CN103841658A (en) * 2014-02-24 2014-06-04 北京新岸线移动多媒体技术有限公司 Method and device for transmitting and receiving information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6056424B2 (en) * 2012-11-29 2017-01-11 株式会社デンソー In-vehicle program update device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399760A (en) * 2013-07-20 2013-11-20 江苏中科天安智联科技有限公司 Remote upgrade method of vehicular intelligent terminal software
CN103841658A (en) * 2014-02-24 2014-06-04 北京新岸线移动多媒体技术有限公司 Method and device for transmitting and receiving information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于STM32与AM1705的车载实时监控系统设计;乔国鹏;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130215(第02期);第10、17页
无线车载多媒体处理系统的设计与实现;郑雅娟;《中国优秀硕士学位论文全文数据库 信息科技辑》;20091215(第12期);第4页

Also Published As

Publication number Publication date
CN105700905A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN109844822B (en) Passive entry/passive start system and method for a vehicle
CN106553617B (en) Control method for vehicle, sharing method and device
US10654447B2 (en) Vehicle sharing accessory module and system
US9126545B2 (en) Vehicle systems activation methods and applications
CN105700905B (en) The WIFI upgrade method and device of car-mounted terminal operating system
CN114501363A (en) Passive entry/passive start system and method for vehicle
CN109586915A (en) Automobile no-key controls authentication method, user terminal, car-mounted device and server
KR101365454B1 (en) Method for car remote control using mobile smart device
US8973104B2 (en) Method and system for providing limited usage of an electronic device
US20170225690A1 (en) Wearable device controlled vehicle systems
CN102831682B (en) System and method for remotely opening door based on mobile phone short message
CN103763526B (en) monitoring control method and device
KR20170116888A (en) Digital doorlock system
CN105763400B (en) Bind method, home gateway management platform and the system of home gateway
CN105608369B (en) The installation method and device of application software
CN109816832A (en) A kind of method for unlocking and device
CN106550383B (en) Network connection method and intelligent device
CN105848092A (en) Vehicle control method and device without keys
CN107148021A (en) A kind of wireless access authentication method and a kind of radio reception device
CN110719583B (en) Communication method and device
CN110197545A (en) A kind of smart lock and its management method, system
CN104753898A (en) Verification method, terminal and server
CN105007167A (en) Communication verification method, terminal and wearable device
CN105630477B (en) The upgrade method and device of car-mounted terminal application program
CN104105092A (en) Security monitoring method for wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 100176 room 502-1, floor 5, building 2, courtyard 10, keguyi street, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Patentee after: NEW SINGULARITY INTERNATIONAL TECHNICAL DEVELOPMENT Co.,Ltd.

Address before: 100081, Beijing, Haidian District sorghum Bridge oblique Street No. 34, building 212, room 19

Patentee before: NEW SINGULARITY INTERNATIONAL TECHNICAL DEVELOPMENT Co.,Ltd.