CN108260122A - A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet - Google Patents

A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet Download PDF

Info

Publication number
CN108260122A
CN108260122A CN201611231362.7A CN201611231362A CN108260122A CN 108260122 A CN108260122 A CN 108260122A CN 201611231362 A CN201611231362 A CN 201611231362A CN 108260122 A CN108260122 A CN 108260122A
Authority
CN
China
Prior art keywords
vehicle host
data packet
mobile terminal
file
vehicle
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
CN201611231362.7A
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.)
Shenyang Mxnavi Co Ltd
Original Assignee
Shenyang Mxnavi 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 Shenyang Mxnavi Co Ltd filed Critical Shenyang Mxnavi Co Ltd
Priority to CN201611231362.7A priority Critical patent/CN108260122A/en
Publication of CN108260122A publication Critical patent/CN108260122A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a kind of method, apparatus and related system obtained and transmit navigation upgrading data packet, and the method includes obtaining the on-vehicle host current version information;According to the current version information, corresponding upgrading data packet is downloaded;It is communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to the on-vehicle host.The current version information that this method passes through acquisition for mobile terminal on-vehicle host map, and according to current version information, connecting wan downloads corresponding increment upgrading data packet, then on-vehicle host is rapidly transferred to by WLAN WIFI communication connections, save the on-vehicle host flow of user, it solves the problems, such as that on-vehicle host cannot directly surf the Internet and obtains map increment upgrading data packet, greatly facilitate customer upgrade on-vehicle host map, and transmission speed is quickly, and the time can be saved, customer upgrade cost is reduced, improves the usage experience of user.

Description

A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet
Technical field
The present invention relates to field of navigation technology, more particularly to a kind of method for obtaining and transmitting navigation upgrading data packet, dress It puts and related system.
Background technology
At present, with the rapid development of navigation field, gradually perfect, the upgrading nowadays navigated of present navigation software Mode expands to increment upgrading, the data volume that the mode of all standing needs via original total covering number according to the single mode of upgrading It is especially big, and part vehicle mounted guidance can only be gone to upgrade to 4S shops, and it is the difference for obtaining current version to new version that increment, which upgrades, Upgrade package is upgraded, and data upgrade package is smaller, minimum only more than 10 million, so user can use the online of oneself enough Equipment is downloaded.
Even if increment upgrading data packet has greatly reduced the size of upgrading data, but because of traffic carriers The flow price of formulation is somewhat expensive, is downloaded with the flow that on-vehicle host carries, and cost is still higher, and has vehicle-mounted Host does not all have the function of online in itself.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State a kind of acquisition of problem and the method, apparatus and related system of transmission navigation upgrading data packet.
In a first aspect, a kind of method that the embodiment of the present invention provides acquisition for mobile terminal and transmission navigation upgrading data packet, Including:
Obtain the on-vehicle host current version information;
According to the current version information, corresponding upgrading data packet is downloaded;
It is communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to the on-vehicle host.
In one embodiment, it is described to be communicated to connect by WIFI, including:
WIFI hot spot is opened, broadcast is sent by preset agreement and port numbers;
It receives the information that on-vehicle host is responded by preset protocol and whether verification is legal;
When legal, stop sending broadcast;
It establishes and communicates to connect with on-vehicle host.
In one embodiment, it is described to include with on-vehicle host foundation communication connection:
The preset protocol socket responded according to on-vehicle host parses on-vehicle host IP, and is returned according to the on-vehicle host The Context resolution for the preset protocol answered goes out the port numbers of TCP socket;
TCP communication is established according to the on-vehicle host IP and the port numbers with the on-vehicle host to connect.
In one embodiment, the preset protocol is user datagram udp protocol.
In one embodiment, the upgrading data packet completed of downloading includes at least one file, has been downloaded described Into upgrading data packet be transferred to the on-vehicle host, including:
The summary info of at least one file is sent successively;
Receive the message of on-vehicle host feedback;
When the message of the feedback is agrees to receive, at least one file is transferred to the vehicle-mounted master successively Machine, until all files are transmitted.
In one embodiment, the summary info includes:Name information, length information and the digital finger-print letter of file Breath, after at least one file is transferred to the on-vehicle host successively, further includes:
Receive the information that the on-vehicle host verification passes through;
Continue to transmit next file;
Or
Receive on-vehicle host verification not by information;
The step of execution sends the summary info of at least one file successively.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, which includes:
Acquisition module, for obtaining the on-vehicle host current version information;
Download module, for according to the current version information, downloading corresponding upgrading data packet;
The upgrading data packet for downloading completion for being communicated to connect by WIFI, is transferred to the vehicle by transmission module Carry host.
In one embodiment, the transmission module includes WIFI submodules and transmission submodule;
For opening WIFI hot spot, broadcast is sent by preset agreement and port numbers for the WIFI module;It receives vehicle-mounted Whether the information and verification that host is responded are legal;When legal, stop sending broadcast, establish and communicate to connect with on-vehicle host;
The transmission submodule is transferred to the on-vehicle host for will download the upgrading data packet completed.
In one embodiment, the WIFI submodules, further include:Analyzing sub-module and communication submodule;
The analyzing sub-module, the preset protocol socket for being responded according to on-vehicle host parse on-vehicle host IP, And the Context resolution for the preset protocol responded according to the on-vehicle host goes out the port numbers of TCP socket;
The communication submodule, for being established according to the on-vehicle host IP and the port numbers with the on-vehicle host TCP communication connects.
In one embodiment, the preset protocol is user datagram udp protocol.
In one embodiment, the upgrading data packet completed of downloading includes at least one file, the transmission submodule Block, for sending the summary info of at least one file successively;Receive the message of on-vehicle host feedback;When the feedback When message is agrees to receive, at least one file is transferred to the on-vehicle host successively, until all files transfer Into.
In one embodiment, the summary info includes:Name information, length information and the digital finger-print letter of file Breath;
The terminal further includes:Correction verification module for receiving the information that the on-vehicle host verification passes through, continues under transmission One file;Or receive on-vehicle host verification not by information, notify the transmission submodule.
The third aspect, the embodiment of the present invention provide a kind of method that on-vehicle host obtains navigation upgrading data packet, including:
It is communicated to connect by WIFI, sends current version information to mobile terminal;
Receive the respective upgrades data packet that mobile terminal is sent.
In one embodiment, it is described to be communicated to connect by WIFI, including:
Receive the broadcast that the mobile terminal is sent;
Verify the legitimacy of the broadcast;
When legal, mobile terminal IP and port numbers are obtained;
The port numbers of TCP socket are sent to the mobile terminal by preset agreement;
TCP communication is established with the mobile terminal to connect.
In one embodiment, the respective upgrades data packet includes at least one file;
The respective upgrades data packet for receiving mobile terminal and sending, including:
The summary info at least one file that the mobile terminal is sent is received successively;
Judge whether memory capacity meets the memory space of at least one file according to the summary info;
When meeting, the mobile terminal is notified to transmit at least one file;
It receives at least one file and stores, until all files receive and store completion.
In one embodiment, the preset protocol is user datagram udp protocol.
In one embodiment, the summary info includes:Name information, length information and the digital finger-print letter of file Breath;
After receiving at least one file and storing, the method further includes:
Digital finger-print verification is carried out at least one file;
When passed the verification, the information for verifying and passing through is sent to the mobile terminal;
Continue to next file;
Or
It is obstructed out-of-date when verifying, the verification is deleted not by corresponding at least one file, and described in notice Mobile terminal verification does not pass through.
Fourth aspect, the embodiment of the present invention provide a kind of on-vehicle host, including:
Sending module for being communicated to connect by WIFI, sends current version information to mobile terminal;
Receiving module, for receiving the respective upgrades data packet of mobile terminal transmission.
In one embodiment, the sending module includes:WIFI submodules and sending submodule;
The WIFI submodules for receiving the broadcast that the mobile terminal is sent, verify the legitimacy of the broadcast;When When legal, mobile terminal IP and port numbers are obtained;TCP socket and port numbers are sent to described mobile whole by preset agreement End;TCP communication is established with the mobile terminal to connect;
The sending submodule, for sending current version information to mobile terminal.
In one embodiment, the respective upgrades data packet includes at least one file;The receiving module, further includes Receiving submodule, judging submodule and notice submodule;
The receiving submodule, for receiving the summary at least one file that the mobile terminal is sent letter successively Breath;
The judging submodule, for judging whether memory capacity meets at least one text according to the summary info The memory space of part;
The notice submodule, for the mobile terminal when meeting, to be notified to transmit at least one file;
The receiving submodule is additionally operable to receive at least one file and store, until all files are received and deposited Storage is completed.
In one embodiment, the preset protocol is user datagram udp protocol.
In one embodiment, the summary info includes:Name information, length information and the digital finger-print letter of file Breath;
The on-vehicle host further includes:Correction verification module, for carrying out digital finger-print verification at least one file;
The sending module is additionally operable to when passed the verification, send the information for verifying and passing through to the mobile terminal;
The receiving submodule is additionally operable to continue to next file;
The sending module, be additionally operable to or when verify it is obstructed out-of-date, delete it is described verification not by it is corresponding it is described extremely A few file, and the mobile terminal verification is notified not pass through.
5th aspect, the embodiment of the present invention provide a kind of on-vehicle host, including WIFI module, for opening WIFI hot spot, Broadcast is sent by preset agreement and port numbers, the information that mobile terminal is responded is received and whether verification is legal, when legal, It establishes and communicates to connect with the mobile terminal;Receive the respective upgrades data packet that the mobile terminal is sent.
6th aspect, the embodiment of the present invention provides a kind of system for upgrading of navigating, including such as any one of above-described embodiment The terminal and the on-vehicle host as described in any one of above-described embodiment.
The advantageous effect of above-mentioned technical proposal provided in an embodiment of the present invention includes at least:
A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet provided in an embodiment of the present invention, The method includes obtaining the on-vehicle host current version information;According to the current version information, corresponding upgrading is downloaded Data packet;It is communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to the on-vehicle host.The technical side Case is by the current version information of acquisition for mobile terminal on-vehicle host map, and according to current version information, under connecting wan Corresponding increment upgrading data packet is carried, on-vehicle host is rapidly then transferred to by WLAN WIFI communication connections, is saved The on-vehicle host flow of user is saved, solves the problems, such as that on-vehicle host cannot directly surf the Internet and obtains map increment upgrading data packet, pole Big facilitates customer upgrade on-vehicle host map, and transmission speed is quickly, and can save the time, reduces customer upgrade cost, carries The high usage experience of user.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention is described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Example is applied together for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow of the method for acquisition for mobile terminal provided in an embodiment of the present invention and transmission navigation upgrading data packet Figure;
Fig. 2 is the process schematic that mobile phone provided in an embodiment of the present invention establishes TCP connection with on-vehicle host;
Fig. 3 obtains on-vehicle host version number and downloading data flow chart for mobile phone provided in an embodiment of the present invention;
Fig. 4 is above-mentioned to be transferred to the above-mentioned upgrading data packet for downloading completion in step S103 provided in an embodiment of the present invention The method flow diagram of on-vehicle host;
Fig. 5 is a kind of block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the block diagram of transmission module 53 provided in an embodiment of the present invention;
Fig. 7 is the flow chart for the method that a kind of on-vehicle host provided in an embodiment of the present invention obtains navigation upgrading data packet;
Fig. 8 is the respective upgrades data packet that above-mentioned reception mobile terminal is sent in step S702 provided in an embodiment of the present invention Flow chart;
Fig. 9 transmits map increment liter for one provided in an embodiment of the present invention complete exemplary mobile terminal to on-vehicle host The flow chart of level data packet;
Figure 10 is a kind of block diagram of on-vehicle host provided in an embodiment of the present invention;
Figure 11 is the block diagram of sending module 101 provided in an embodiment of the present invention;
Figure 12 is the block diagram of receiving module 102 provided in an embodiment of the present invention;
Figure 13 is a kind of system schematic of upgrading of navigating provided in an embodiment of the present invention.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
The technical solution that the embodiment of the present disclosure provides, is related to two sides:Mobile terminal and on-vehicle host, wherein, mobile terminal For obtaining the map version information of on-vehicle host, and download the increment upgrading data packet of the map version, by with it is vehicle-mounted Host establishes communication connection, and above-mentioned increment upgrade package is transferred to on-vehicle host;On-vehicle host can be with digital map navigation work( The car-mounted terminal of energy, for by being connect with mobile terminal, sending itself map version number to mobile terminal, and receive mobile whole The above-mentioned increment upgrade package sent is held, to realize the upgrading of on-vehicle host map datum.It is vehicle-mounted to greatly facilitate customer upgrade Host map, and transmission speed is quickly, and can save flow and time, reduces customer upgrade cost, improves the use of user Experience.Above-mentioned increment upgrade package refers to the current version of navigation map data to the difference upgrade package of new version.
An embodiment of the present invention provides a kind of acquisition for mobile terminal and the method for transmission navigation upgrading data packet, with reference to Fig. 1 It is shown, it may comprise steps of S101~S103;
S101, the on-vehicle host current version information is obtained;
S102, according to the current version information, download corresponding upgrading data packet;
S103, it is communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to the on-vehicle host;
Above-mentioned steps are described in detail below:
After mobile terminal with the on-vehicle host by establishing connection in S101, pass through the above-mentioned vehicle of the authority acquiring possessed The current version number of host is carried, wherein mobile terminal can be such as mobile phone, Ipad, handheld computer etc., can also be Brilliant Eyes The wearable devices products such as mirror, smartwatch, Intelligent bracelet, intelligent ring, disclosure implementation do not limit this.
The mode of the foundation connection of mobile terminal and on-vehicle host has USB, bluetooth, infrared, WIFI etc., the embodiment of the present disclosure Above-mentioned connection mode is not limited.
In S102, the version information that will obtain under wan environment, downloads the increment upgrading data packet of the version, than After the version number that above-mentioned on-vehicle host is obtained such as mobile phone, then user can take mobile phone connecting wan in family, in this ring Download corresponding map increment upgrading data packet in border.
In S103, the corresponding upgrading data packet of completion will be downloaded, communicated to connect, be transferred to above-mentioned by LAN WIFI On-vehicle host, so as to complete the upgrading of on-vehicle host map.
A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet provided in an embodiment of the present invention, The method includes obtaining the on-vehicle host current version information;According to the current version information, corresponding upgrading is downloaded Data packet;It is communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to the on-vehicle host.This method is led to The current version information of acquisition for mobile terminal on-vehicle host map is crossed, and according to current version information, connecting wan download pair Then the increment upgrading data packet answered rapidly is transferred to on-vehicle host by WLAN WIFI communication connections, saves and use The on-vehicle host flow at family solves the problems, such as that on-vehicle host cannot directly surf the Internet and obtains map increment upgrading data packet, greatly Facilitate customer upgrade on-vehicle host map, and transmission speed is quickly, and the time can be saved, reduce customer upgrade cost, improve The usage experience of user.
In one embodiment, it is communicated to connect in above-mentioned steps S103 by WIFI, opens the WIFI hot spot of mobile terminal, Broadcast is sent by preset agreement and port numbers, and receives the information of on-vehicle host response, to the information according to preset association Whether view goes verification legal, when legal, stops sending broadcast, so as to establish communication connection with on-vehicle host.
In one embodiment, above-mentioned established with on-vehicle host communicates to connect, and is replied according to above-mentioned reception channel on-vehicle host The socket of the preset protocol of broadcast parses the IP of on-vehicle host, and according to the content for the preset protocol for replying broadcast, parsing Go out the port numbers of transmission control protocol (Transmission Control Protocol, TCP) socket;
The socket and content of broadcast preset protocol are namely replied by receiving on-vehicle host, so as to parse vehicle-mounted master The port numbers of the IP of machine and the TCP socket of on-vehicle host, subsequently according to the on-vehicle host IP and the port numbers with Above-mentioned on-vehicle host establishes TCP communication connection.
Wherein TCP is a kind of connection-oriented, reliable, based on byte stream transport layer communication protocol.
In one embodiment, above-mentioned preset agreement is user datagram (User Datagram Protocol, UDP) Agreement.Udp protocol is a kind of nothing in open system interconnection (Open System Interconnection, OSI) reference model The transport layer protocol of connection provides the simple unreliable information transmission service towards affairs.Other can establish communication connection Agreement, the embodiment of the present disclosure do not limit this.
In the present embodiment, mobile terminal and on-vehicle host appoint UDP socket port numbers and the broadcast at on-vehicle host end Cryptographic protocol after, after mobile terminal and on-vehicle host are connected to same LAN by WIFI hot spot, mobile terminal leads to It crosses udp protocol and constantly sends out broadcast to the port numbers appointed in LAN, on-vehicle host opens UDP socket, and binds about The port numbers set receive broadcast, after broadcast is received, obtain the IP and port numbers of mobile terminal, to ensure safety, according to Cryptographic protocol, the legitimacy of broadcast message that the verification of on-vehicle host end receives, verification pass through, then it is assumed that this mobile terminal is to allow With the on-vehicle host foundation equipment that communicate and transmit file, can just respond, mobile terminal verify again echo message it is legal after, stopping Hair broadcast, and on-vehicle host IP address and the port numbers of Transmission Control Protocol are got, the connection of Transmission Control Protocol is then established, is led to Letter.
Be explained below by one embodiment, with reference to shown in Fig. 2, mobile terminal is such as mobile phone, mobile phone with it is vehicle-mounted Host establishes the process schematic of TCP connection.The manually opened mobile phone WIFI of user shares hot spot, is then turned on on-vehicle host WIFI, the upper mobile phone WIFI hot spot of on-vehicle host connection.With reference to shown in Fig. 2, mobile phone starts to send the wide of udp protocol in LAN It broadcasts, then user is then turned on the reception switch at on-vehicle host end, then on-vehicle host can receive the broadcast message of mobile phone, for safety Consider, on-vehicle host carry out safety verification, after being verified, get the IP and port numbers of mobile phone, by udp protocol specify to Mobile phone IP and port send message, and wherein message includes the TCP socket and port numbers of on-vehicle host, after mobile phone receives, parsing Go out on-vehicle host IP, just can establish TCP communication with on-vehicle host by on-vehicle host IP and port numbers connect.
After mobile phone is connected with the TCP communication that on-vehicle host is established, with reference to shown in Fig. 3, such as mobile phone is sent out to on-vehicle host The instruction for obtaining on-vehicle host current map versions of data number, on-vehicle host is sent to be replied after receiving, then user can take mobile phone Middle connecting wan of getting home downloads corresponding map increment upgrading data packet.
In one embodiment, the upgrading data packet that above-mentioned download is completed can be a file or multiple texts Part in step S103, will download the above-mentioned upgrading data packet completed and be transferred to above-mentioned on-vehicle host, with reference to shown in Fig. 4, including S401~S403:
S401, the summary info for sending at least one file successively;
S402, the message for receiving on-vehicle host feedback;
S403, when the feedback message for agree to receive when, at least one file is transferred to the vehicle successively Host is carried, until all files are transmitted.
Can recycle and carry out single file transmission, can also batch be transmitted, but in transmission single file or batch It is the summary info for first sending monofile or batch documents before file.Then the message of on-vehicle host feedback is received, when above-mentioned When the message of feedback is agrees to receive, above-mentioned at least one file is transferred to above-mentioned on-vehicle host or bulk transfer text successively Part gives above-mentioned on-vehicle host, until all files are transmitted.When the message of above-mentioned feedback is rejection, such as when vehicle-mounted The memory space inadequate of host side stops transmission file.The embodiment of the present disclosure does not limit above-mentioned transmission mode.
In one embodiment, above-mentioned summary info includes:Name information, length information and the digital finger-print letter of file Breath.After at least one file is transferred to the on-vehicle host successively, further include:Two kinds of situations:
First:Receive the information that the on-vehicle host verification passes through;Continue to transmit next file;
Second:Receive on-vehicle host verification not by information;It performs S401 steps and sends described at least one successively The step of summary info of a file.
In the present embodiment, transmission file needs to ensure that on-vehicle host receives the incremental data upgrade package number that mobile terminal is sent According to correctness and integrality, carry out map increment upgrading data packet file transmission before, mobile terminal is first transferred to vehicle-mounted master The summary info of this file of machine including digital finger-print information, such as can be that the value after md5 encryption, vehicle are carried out to file Carrying host needs to carry out correctness and completeness check to data file using this digital finger-print information.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of mobile terminal, since the mobile terminal is solved Certainly the method for the principle of problem acquisition for mobile terminal a kind of to previous embodiment and transmission navigation upgrading data packet is similar, therefore should The implementation of mobile terminal may refer to the implementation of preceding method, and overlaps will not be repeated.
Following is a kind of mobile terminal provided in an embodiment of the present invention, can be used for performing above-mentioned acquisition and transmission navigation rises The embodiment of the method for level data packet.
With reference to shown in Fig. 5, above-mentioned mobile terminal includes:
Acquisition module 51, for obtaining the on-vehicle host current version information;
Download module 52, for according to the current version information, downloading corresponding upgrading data packet;
Transmission module 53 for being communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to described On-vehicle host.
In one embodiment, with reference to shown in Fig. 6, above-mentioned transmission module 53 includes WIFI submodules 531 and transmission submodule Block 532;
For opening WIFI hot spot, broadcast is sent by preset agreement and port numbers for the WIFI submodules 531;It connects It receives the information that on-vehicle host is responded and whether verification is legal;When legal, stop sending broadcast, communication link is established with on-vehicle host It connects;
The transmission submodule 532 is transferred to the on-vehicle host for will download the upgrading data packet completed.
In one embodiment, with reference to shown in Fig. 6, the WIFI submodules 531 further include:5311 He of analyzing sub-module Communicate submodule 5312;
The analyzing sub-module 5311, the preset protocol socket for being responded according to on-vehicle host parse on-vehicle host IP, and the Context resolution for the preset protocol responded according to the on-vehicle host goes out the port numbers of TCP socket;
The communication submodule 5312, for being built according to the on-vehicle host IP and the port numbers with the on-vehicle host Vertical TCP communication connection.
In one embodiment, the preset protocol is user datagram udp protocol.
In one embodiment, the upgrading data packet completed of downloading includes at least one file, the transmission submodule Block 532, for sending the summary info of at least one file successively;Receive the message of on-vehicle host feedback;When described anti- When the message of feedback is agrees to receive, at least one file is transferred to the on-vehicle host successively, until all files pass It is totally lost into.
In one embodiment, the summary info includes:Name information, length information and the digital finger-print letter of file Breath;
With reference to shown in Fig. 5, the terminal further includes:Correction verification module 54 verifies what is passed through for receiving the on-vehicle host Information continues to transmit next file;Or receive on-vehicle host verification not by information, notify the transmission submodule Block.
About the mobile terminal in above-described embodiment, wherein modules perform the concrete mode operated and are somebody's turn to do related It is described in detail in the embodiment of method, explanation will be not set forth in detail herein.
According to the third aspect of the embodiment of the present disclosure, the embodiment of the present invention provides a kind of on-vehicle host and obtains navigation ascending series According to the method for packet, with reference to shown in Fig. 7, including:S701~S702;
S701, it is communicated to connect by WIFI, sends current version information to mobile terminal;
S702, the respective upgrades data packet that mobile terminal is sent is received.
Each step of method of above-mentioned acquisition navigation upgrading data packet is described in detail separately below.
On-vehicle host sends current map version information to mobile whole by establishing WIFI communication connections with mobile terminal End, the respective upgrades data packet that then etc. mobile terminal to be received is sent upgrade the map of on-vehicle host.
In one embodiment, it is communicated to connect above by WIFI, with reference to shown in Fig. 2,
By the agreement appointed with mobile terminal, the broadcast that above-mentioned mobile terminal is sent is received;Verify the broadcast Legitimacy;When legal effective, the IP address and port numbers of mobile terminal such as mobile phone are obtained;It is sent by preset agreement The port numbers of TCP socket are to mobile phone terminal;It is connect so as to establish TCP communication with mobile phone terminal.
In one embodiment, above-mentioned respective upgrades data packet includes at least one file;
The respective upgrades data packet that above-mentioned reception mobile terminal is sent in step S702, with reference to shown in Fig. 8, including S7021 ~S7024;
S7021, the summary info for receiving at least one file that the mobile terminal is sent successively;
S7022, judge whether memory capacity meets the memory space of at least one file according to the summary info;
S7023, when meeting, the mobile terminal is notified to transmit at least one file;
S7024, it receives at least one file and stores, until all files receive and store completion.
When being unsatisfactory for, the notice of rejection is sent to above-mentioned mobile terminal.
In one embodiment, above-mentioned preset agreement is user datagram udp protocol.The wherein above-mentioned agreement appointed For example can be that on-vehicle host appoints that the UDP socket port numbers at on-vehicle host end and the encryption of broadcast are assisted with mobile terminal View.
In one embodiment, above-mentioned summary info includes:Name information, length information and the digital finger-print letter of file Breath;
After at least one file is received in step S7024 and is stored, further include:Refer to according to the number received Line information carries out digital finger-print verification to above-mentioned at least one file;When passed the verification, the information for verifying and passing through is sent to institute Mobile terminal is stated, continues to next file;When verify it is obstructed out-of-date, delete it is described verification not by it is corresponding it is described extremely A few file, and the mobile terminal verification is notified not pass through.
In the present embodiment, on-vehicle host end receives the summary info that mobile terminal is sent, such as the name information of file, text Part length information, file number finger print information etc., in above- mentioned information deposit to memory, then according to received file File size in length and file summary info is compared, if equal, then it is assumed that is finished receiving a file, and is worked as vehicle When load host finishes receiving this file, then the digital finger-print with such as md5 encryption generation file, md5 encryption mentioned here need The digital finger-print information encryption rule of file to be sent with mobile terminal be consistent, then with the number in file summary info Word fingerprint compares, if identical, is verified, and notice mobile phone can be transmitted next file, if verification does not pass through, This file is deleted, notice mobile phone transmits this file again, when All Files are all transmitted, mobile phone notice on-vehicle host, vehicle It carries host prompting file all to finish receiving, and close TCP communication connection, mobile phone terminal is also switched off TCP communication connection.Then it is vehicle-mounted Host can be upgraded or be upgraded manually automatically.So as to also ensure the correctness and integrality of transmission file.
Illustrate mobile terminal to on-vehicle host transmission map increment upgrading data below by a complete embodiment The flow of packet, with reference to shown in Fig. 9, for the overall situation:
TCP connection request is established at S901, mobile phone terminal and on-vehicle host end;
S902, on-vehicle host end receive request, establish TCP communication connection;
S903, mobile phone terminal return to successful connection;
S904, mobile phone terminal send the information such as title, file data length and the file digital finger-print of single file;
S905, on-vehicle host end judge whether itself memory capacity is sufficient according to data length;It is to perform S908, otherwise Perform S906;
S906, on-vehicle host end notice mobile phone terminal off-capacity, it is impossible to transmit data file;
S907, mobile phone terminal receive notice;
S908, on-vehicle host end notice mobile phone terminal can transmit data file;
S909, mobile phone terminal receive;
S910, mobile phone terminal start to send file;
S911, on-vehicle host end receives and storage file;
S912, on-vehicle host end carry out digital finger-mark check after finishing receiving a file;
S913, on-vehicle host end are verified;When by when perform S916, not by when perform S914;
S914, on-vehicle host delete file, and mobile phone terminal file verification are notified not pass through;
S915, mobile phone terminal are received not by message, then are retransmitted and performed S904;
S916, on-vehicle host notice mobile phone verification pass through;
S917, mobile phone terminal receive the message that verification passes through;
S918, mobile phone terminal judge whether file is all transmitted;It is to perform S919, otherwise performs S904;
S919, mobile phone terminal notice on-vehicle host file are all sent completely;
S920, mobile phone terminal terminate to transmit, and can close TCP connection;
The message that S921, on-vehicle host reception are transmitted, and prompt to be transmitted;
S922, on-vehicle host upgrade or upgrade manually automatically;
S923, on-vehicle host complete upgrading.
According to the fourth aspect of the embodiment of the present disclosure, the embodiment of the present invention provides a kind of on-vehicle host, with reference to shown in Figure 10, Including:
Sending module 101 for being communicated to connect by WIFI, sends current version information to mobile terminal;
Receiving module 102, for receiving the respective upgrades data packet of mobile terminal transmission.
In one embodiment, with reference to shown in Figure 11, the sending module 101 includes:WIFI submodules 1011 and transmission Submodule 1012;
The WIFI submodules 1011 for receiving the broadcast that the mobile terminal is sent, verify the legal of the broadcast Property;When legal, mobile terminal IP and port numbers are obtained;The port numbers of TCP socket are sent to described by preset agreement Mobile terminal;TCP communication is established with the mobile terminal to connect;
The sending submodule 1012, for sending current version information to mobile terminal.
In one embodiment, the respective upgrades data packet includes at least one file;It is described to connect with reference to shown in Figure 12 Module 102 is received, further includes receiving submodule 1021, judging submodule 1022 and notice submodule 1023;
The receiving submodule 1021, for receiving the general of at least one file of the mobile terminal transmission successively Want information;
The judging submodule 1022, for according to the summary info judge memory capacity whether meet described at least one The memory space of a file;
The notice submodule 1023, for the mobile terminal when meeting, to be notified to transmit at least one file;
The receiving submodule 1021 is additionally operable to receive at least one file and store, until all files receive And store completion.
In one embodiment, the preset agreement is user datagram udp protocol.
In one embodiment, the summary info includes:Name information, length information and the digital finger-print letter of file Breath;
With reference to shown in Figure 10, the on-vehicle host further includes:Correction verification module 103, for at least one file into Line number word finger-mark check;
The sending module 101 is additionally operable to when passed the verification, send the information for verifying and passing through to the mobile terminal;
The receiving module 102 is additionally operable to continue to next file;
The sending module 101 is additionally operable to or obstructed out-of-date when verifying, and deletes the verification not by corresponding described At least one file, and the mobile terminal verification is notified not pass through.
According to a fifth aspect of the embodiments of the present disclosure, the embodiment of the present invention provides a kind of on-vehicle host, including WIFI module, For opening WIFI hot spot, broadcast is sent by preset agreement and port numbers, receives the information that mobile terminal is responded and verification It is whether legal, when legal, establish and communicate to connect with the mobile terminal;Receive the respective upgrades number that the mobile terminal is sent According to packet.
On-vehicle host provided in this embodiment including WIFI module, can provide WIFI hot spot, by with mobile terminal about The UDP socket port numbers of vehicle mobile terminal and the cryptographic protocol of broadcast are set, when vehicle-mounted and mobile terminal passes through WIFI hot spot After being connected to same LAN, on-vehicle host constantly sends out broadcast in LAN by udp protocol to the port numbers appointed, Mobile terminal opens UDP socket, and binds the port numbers appointed, can just receive broadcast, after broadcast is received, obtains vehicle-mounted The IP and port numbers of host to ensure safety, according to cryptographic protocol, verify the legitimacy of the broadcast message received, verification is logical It crosses, then it is assumed that this on-vehicle host is to allow to establish the equipment for communicating and receiving transmission file with mobile terminal, can just be responded, vehicle-mounted Host verify again echo message it is legal after, stop hair broadcast, and get the IP address of mobile terminal and the port of Transmission Control Protocol Number, the connection of Transmission Control Protocol is then established, is communicated.
About the on-vehicle host in above-described embodiment, wherein modules perform the concrete mode operated and are somebody's turn to do related It is described in detail in the embodiment of method, explanation will be not set forth in detail herein.
According to the 6th of the embodiment of the present disclosure the aspect, the embodiment of the present invention provides a kind of system for upgrading of navigating, with reference to figure Shown in 13, including the mobile terminal as described in above-described embodiment and the on-vehicle host as described in above-described embodiment.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The shape of computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of acquisition for mobile terminal and transmission navigation upgrading data packet, which is characterized in that including:
Obtain the on-vehicle host current version information;
According to the current version information, corresponding upgrading data packet is downloaded;
It is communicated to connect by WIFI, the upgrading data packet for downloading completion is transferred to the on-vehicle host.
2. the method as described in claim 1, which is characterized in that it is described to be communicated to connect by WIFI, including:
WIFI hot spot is opened, broadcast is sent by preset protocol and port numbers;
It receives the information that on-vehicle host is responded by preset protocol and whether verification is legal;
When legal, stop sending broadcast;
It establishes and communicates to connect with on-vehicle host.
3. method as claimed in claim 2, which is characterized in that described to include with on-vehicle host foundation communication connection:
The preset protocol socket responded according to on-vehicle host parses on-vehicle host IP, and responded according to the on-vehicle host The Context resolution of preset protocol goes out the port numbers of transmission control protocol TCP socket;
TCP communication is established according to the on-vehicle host IP and the port numbers with the on-vehicle host to connect.
4. method as claimed in claim 2, which is characterized in that the upgrading data packet completed of downloading includes at least one text The upgrading data packet for downloading completion is transferred to the on-vehicle host by part, including:
The summary info of at least one file is sent successively;
Receive the message of on-vehicle host feedback;
When the message of the feedback is agrees to receive, at least one file is transferred to the on-vehicle host successively, directly It is transmitted to all files.
5. method as claimed in claim 4, which is characterized in that the summary info includes:The name information of file, length letter Breath and digital finger print information, after at least one file is transferred to the on-vehicle host successively, further include:
Receive the information that the on-vehicle host verification passes through;
Continue to transmit next file;
Or
Receive on-vehicle host verification not by information;
The step of execution sends the summary info of at least one file successively.
6. a kind of mobile terminal, which is characterized in that including:
Acquisition module, for obtaining the on-vehicle host current version information;
Download module, for according to the current version information, downloading corresponding upgrading data packet;
The upgrading data packet for downloading completion for being communicated to connect by WIFI, is transferred to the vehicle-mounted master by transmission module Machine.
7. a kind of method that on-vehicle host obtains navigation upgrading data packet, which is characterized in that including:
It is communicated to connect by WIFI, sends current version information to mobile terminal;
Receive the respective upgrades data packet that mobile terminal is sent.
8. a kind of on-vehicle host, which is characterized in that including:
Sending module for being communicated to connect by WIFI, sends current version information to mobile terminal;
Receiving module, for receiving the respective upgrades data packet of mobile terminal transmission.
9. a kind of on-vehicle host, which is characterized in that including WIFI module, for opening WIFI hot spot, by preset agreement and Port numbers send broadcast, receive the information that mobile terminal is responded and whether verification is legal, when legal, built with the mobile terminal Vertical communication connection;Receive the respective upgrades data packet that the mobile terminal is sent.
10. a kind of system for upgrading of navigating, which is characterized in that including mobile terminal as claimed in claim 6 and as right will Seek 8-9 any one of them on-vehicle hosts.
CN201611231362.7A 2016-12-28 2016-12-28 A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet Pending CN108260122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611231362.7A CN108260122A (en) 2016-12-28 2016-12-28 A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611231362.7A CN108260122A (en) 2016-12-28 2016-12-28 A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet

Publications (1)

Publication Number Publication Date
CN108260122A true CN108260122A (en) 2018-07-06

Family

ID=62720007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611231362.7A Pending CN108260122A (en) 2016-12-28 2016-12-28 A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet

Country Status (1)

Country Link
CN (1) CN108260122A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766108A (en) * 2018-12-12 2019-05-17 北京梧桐车联科技有限责任公司 Vehicle terminal software upgrade-system, method and device
CN110719368A (en) * 2019-11-04 2020-01-21 上海博泰悦臻网络技术服务有限公司 Method for upgrading vehicle machine by using mobile phone
CN113656053A (en) * 2021-08-17 2021-11-16 生迪智慧科技有限公司 Processor upgrading method, device, equipment, storage medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104359486A (en) * 2014-11-28 2015-02-18 百度在线网络技术(北京)有限公司 Method for updating vehicular navigation map, vehicular navigation equipment and system
CN104732790A (en) * 2013-12-24 2015-06-24 现代自动车株式会社 Vehicle information update method and apparatus
CN105978975A (en) * 2016-05-12 2016-09-28 广州橙行智动汽车科技有限公司 Upgrading method and system for automobile function module
CN106034136A (en) * 2015-02-13 2016-10-19 成都易驾科技有限公司 Intelligent upgrading system and intelligent upgrading method of on-vehicle navigation instrument based on mobile equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732790A (en) * 2013-12-24 2015-06-24 现代自动车株式会社 Vehicle information update method and apparatus
CN104359486A (en) * 2014-11-28 2015-02-18 百度在线网络技术(北京)有限公司 Method for updating vehicular navigation map, vehicular navigation equipment and system
CN106034136A (en) * 2015-02-13 2016-10-19 成都易驾科技有限公司 Intelligent upgrading system and intelligent upgrading method of on-vehicle navigation instrument based on mobile equipment
CN105978975A (en) * 2016-05-12 2016-09-28 广州橙行智动汽车科技有限公司 Upgrading method and system for automobile function module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766108A (en) * 2018-12-12 2019-05-17 北京梧桐车联科技有限责任公司 Vehicle terminal software upgrade-system, method and device
CN110719368A (en) * 2019-11-04 2020-01-21 上海博泰悦臻网络技术服务有限公司 Method for upgrading vehicle machine by using mobile phone
CN113656053A (en) * 2021-08-17 2021-11-16 生迪智慧科技有限公司 Processor upgrading method, device, equipment, storage medium and product

Similar Documents

Publication Publication Date Title
US10137906B2 (en) Method and apparatus for persistent transferrable customizable vehicle settings
CN105992306B (en) Binding method of terminal and home gateway
CN102883306B (en) Enhanced smartphone in-vehicle accommodation
EP3413685A1 (en) Profile download method, and related devices and system
CN109314855A (en) The method that subscription can be migrated
CN102694857A (en) Methods and apparatus for gifting over a data network
CN110225124B (en) Vehicle data sharing processing method and device, vehicle and medium
CN108260122A (en) A kind of method, apparatus and related system obtained and transmit navigation upgrading data packet
CN107042803A (en) The Vehicular system of wearable device control
CN108011917A (en) The method, apparatus and system of data sharing
CN112363767A (en) Vehicle-mounted camera calling method and device
US20160167516A1 (en) Method and Apparatus for Infotainment System Control Through a Wireless Device Operating-System-Independent Protocol
CN112333807A (en) Pairing connection method for wireless devices and intelligent electronic equipment
KR20200075626A (en) Wireless update system and method capable of ecu update of vehicle
CN108327678A (en) Control method for vehicle, device and vehicle
CN110555681A (en) Bank card signing method, device, server and medium
CN112689006B (en) Internet of things equipment control method and device, storage medium and electronic device
CN111615080B (en) Application method and device of vehicle-mounted intelligent terminal, computer equipment and storage medium
CN110062024B (en) Vehicle control method and device based on vehicle-mounted terminal
CN103813014A (en) Information processing method and electronic devices
CN113779516B (en) Equipment control method and device, storage medium and electronic device
CN110149325A (en) A kind of Intelligent key sharing method, device and equipment
CN107306253A (en) vehicle control method, control device and control system
CN110033560A (en) Method and apparatus for fuel payment processing
CN109672772A (en) Submit the Handless system and method for non-standard attention command

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180706

RJ01 Rejection of invention patent application after publication