CN110225124B - Vehicle data sharing processing method and device, vehicle and medium - Google Patents

Vehicle data sharing processing method and device, vehicle and medium Download PDF

Info

Publication number
CN110225124B
CN110225124B CN201910512040.7A CN201910512040A CN110225124B CN 110225124 B CN110225124 B CN 110225124B CN 201910512040 A CN201910512040 A CN 201910512040A CN 110225124 B CN110225124 B CN 110225124B
Authority
CN
China
Prior art keywords
vehicle
mounted terminal
data packet
information
data
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
CN201910512040.7A
Other languages
Chinese (zh)
Other versions
CN110225124A (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.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN201910512040.7A priority Critical patent/CN110225124B/en
Publication of CN110225124A publication Critical patent/CN110225124A/en
Application granted granted Critical
Publication of CN110225124B publication Critical patent/CN110225124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/46Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for vehicle-to-vehicle communication [V2V]

Abstract

The application provides a vehicle data sharing processing method, a device, a vehicle and a medium, wherein the method relates to a first vehicle-mounted terminal and a second vehicle-mounted terminal which are communicated with each other; the method comprises the following steps: the first vehicle-mounted terminal generates a data packet acquisition request, wherein the acquisition request comprises information of the data segment which is not downloaded; the method comprises the steps that a first vehicle-mounted terminal sends an obtaining request to a second vehicle-mounted terminal; the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal aiming at the acquisition request; and the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the existing downloaded data segment into a data packet. By taking the vehicle-mounted terminal as a data sharing node when the data packet is downloaded, the vehicle can acquire the data through other vehicle-mounted terminals in the process of downloading the data, such as: data packages such as a vehicle-mounted terminal system software upgrading package and the like also improve the speed of the vehicle-mounted terminal in data downloading, reduce the flow cost of the vehicle-mounted terminal in data downloading during daily use, and improve the use experience of a user.

Description

Vehicle data sharing processing method and device, vehicle and medium
Technical Field
The application relates to the field of vehicle networking, in particular to a vehicle data sharing processing method, device, vehicle and medium.
Background
At present, when an automobile vehicle-mounted terminal acquires an upgrade package, the automobile vehicle-mounted terminal generally acquires the upgrade data package in a server through networking for upgrading.
However, extra use cost is brought to a user by the flow required by networking to obtain the data packet, the speed of obtaining the upgrade packet by the vehicle-mounted terminal through the server is low, the vehicle-mounted terminal is easily influenced by network fluctuation in the obtaining process, the vehicle-mounted terminal obtains the upgrade packet in the driving process, the use of the vehicle-mounted terminal by the user is easily influenced in the process, and the use experience of the user is influenced.
Disclosure of Invention
In view of the problem, the present application has been developed to provide a solution to the problem, or at least to partially solve the problem, including:
a vehicle data sharing processing method relates to a first vehicle-mounted terminal and a second vehicle-mounted terminal which are communicated with each other;
the method comprises the following steps:
the first vehicle-mounted terminal generates a data packet acquisition request, wherein the acquisition request comprises information of the un-downloaded data segment;
the first vehicle-mounted terminal sends the acquisition request to the second vehicle-mounted terminal;
the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal aiming at the acquisition request;
and the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet.
Further, the mutual communication between the first vehicle-mounted terminal and the download server is also involved, and the step of generating the data packet acquisition request by the first vehicle-mounted terminal comprises the following steps:
the first vehicle-mounted terminal initiates a search request to the download server, and the search request is used for searching the second vehicle-mounted terminal containing the un-downloaded data segment;
the first vehicle-mounted terminal receives a search result fed back by the download server, wherein the search result comprises IP information of the second vehicle-mounted terminal;
and the first vehicle-mounted terminal generates the acquisition request according to the IP information.
Further, the method further comprises:
the first vehicle-mounted terminal generates first interaction information for inquiring whether a user hides own IP information;
the first vehicle-mounted terminal receives second interactive information fed back by a user;
the first vehicle-mounted terminal judges whether the second interactive information is hidden;
if yes, the first vehicle-mounted terminal hides own IP information and does not share the IP information to the download server;
if not, the first vehicle-mounted terminal shares the own IP information to the download server.
Further, the method further comprises:
after the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet, the first vehicle-mounted terminal extracts a target secret key in the data packet;
the first vehicle-mounted terminal judges whether the data packet is safe or not according to the target secret key;
and if so, upgrading the first vehicle-mounted terminal according to the data packet.
Further, the method also relates to data interaction between the first vehicle-mounted terminal and a security server, and the step of extracting the target key in the data packet by the first vehicle-mounted terminal comprises the following steps:
the first vehicle-mounted terminal extracts an identifier of a preset secret key in the data packet, wherein the preset secret key is generated for the security server;
the first vehicle-mounted terminal matches a corresponding target key from the key group according to the identifier of the preset key; wherein the key set is generated for the secure server; the set of keys includes a predetermined number of keys.
Further, the step of judging whether the data packet is safe or not by the first vehicle-mounted terminal according to the target key includes:
the first vehicle-mounted terminal extracts first verification information in the data packet, wherein the first verification information is generated by the download server according to a preset algorithm and the preset secret key;
the first vehicle-mounted terminal generates second verification information according to the preset algorithm and the target secret key;
the first vehicle-mounted terminal judges whether the first verification information and the second verification information are the same;
if so, the first vehicle-mounted terminal judges that the data packet is safe;
if not, the first vehicle-mounted terminal judges that the data packet is unsafe
A vehicle data sharing processing device relates to a first vehicle-mounted terminal and a second vehicle-mounted terminal which are communicated with each other;
the method specifically comprises the following steps:
the generating module is used for generating a data packet obtaining request, wherein the obtaining request comprises information of the data segment which is not downloaded;
a sending module, configured to send the acquisition request to the second vehicle-mounted terminal;
a receiving module, configured to receive an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal according to the acquisition request;
and the packaging module is used for packaging the un-downloaded data segment and the downloaded data segment into a data packet.
Further, the mutual communication between the first vehicle-mounted terminal and a download server is also involved, and the generation module comprises:
the searching submodule is used for initiating a searching request to the download server, and the searching request is used for searching the second vehicle-mounted terminal containing the un-downloaded data segment;
the receiving submodule is used for receiving a search result fed back by the download server, and the search result contains the IP information of the second vehicle-mounted terminal;
and the generation submodule is used for generating the acquisition request according to the IP information.
A vehicle comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the vehicle data sharing processing method as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the vehicle data sharing processing method as set out above.
The application has the following advantages:
in an embodiment of the application, a data packet acquisition request is generated through the first vehicle-mounted terminal, and the acquisition request includes information of an un-downloaded data segment; the first vehicle-mounted terminal sends the acquisition request to the second vehicle-mounted terminal; the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal aiming at the acquisition request; the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet, and the vehicle-mounted terminal is used as a data sharing node when the data packet is downloaded, so that the vehicle can obtain the data through other vehicle-mounted terminals in the process of downloading the data as follows: data packages such as a vehicle-mounted terminal system software upgrading package and the like also improve the speed of the vehicle-mounted terminal in data downloading, reduce the flow cost of the vehicle-mounted terminal in data downloading during daily use, and improve the use experience of a user.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a flowchart illustrating steps of a vehicle data sharing processing method according to an embodiment of the present application;
fig. 2 is a block diagram of a vehicle data sharing processing device according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description. It should be apparent that the embodiments described are some, but not all embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be noted that, in any embodiment of the present application, the second vehicle-mounted terminal is a vehicle-mounted terminal that has some or all of the undelivered data segments in the data packet that the first vehicle-mounted terminal is downloading or suspending downloading, and the state of the vehicle-mounted terminal is shared.
It should be noted that, in any embodiment of the present application, the state of the vehicle-mounted terminal is to describe whether the vehicle-mounted terminal shares a self-stored data packet, and the states include two states, which are hidden or shared;
when the vehicle-mounted terminal is in a hidden state, and other vehicle-mounted terminals download the data packet, the IP information of the vehicle-mounted terminal in the hidden state cannot be acquired through the download server, but when the vehicle-mounted terminal in the hidden state can download the data packet, the IP information of the vehicle-mounted terminal in a shared state can be acquired through the download server, so that the undelivered data segment of the downloaded data packet can be acquired from the part of vehicle-mounted terminals in the shared state, and the download of the data packet is accelerated;
when the vehicle-mounted terminal is in the sharing state, other vehicle-mounted terminals can acquire the IP information of the vehicle-mounted terminal in the sharing state through the downloading server, and when the vehicle-mounted terminal in the sharing state downloads the data packet, the IP information of other vehicle-mounted terminals in the sharing state can also be acquired through the downloading server, so that the undelivered data segment of the downloaded data packet can be acquired from the part of vehicle-mounted terminals in the sharing state, and the downloading of the data packet is accelerated.
It should be noted that, in any embodiment of the present application, the data packet is composed of a plurality of data segments, each data segment corresponding to the data packet is deployed with a corresponding sequence number, the sequence numbers deployed by the data segments included in one data packet are not repeated, and the process of downloading the data packet by the vehicle-mounted terminal specifically includes: downloading all data segments corresponding to the data package, and packaging the data segments after downloading to obtain the data package.
Referring to fig. 1, a vehicle data sharing processing method provided by an embodiment of the present application is shown, the method involving a first vehicle-mounted terminal and a second vehicle-mounted terminal that communicate with each other;
the method comprises the following steps:
s101, the first vehicle-mounted terminal generates a data packet acquisition request, wherein the acquisition request comprises information of an undelivered data segment;
s102, the first vehicle-mounted terminal sends the acquisition request to the second vehicle-mounted terminal;
s103, the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal aiming at the acquisition request;
s104, the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet.
In an embodiment of the application, a data packet acquisition request is generated through the first vehicle-mounted terminal, and the acquisition request includes information of an un-downloaded data segment; the first vehicle-mounted terminal sends the acquisition request to the second vehicle-mounted terminal; the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal aiming at the acquisition request; the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet, and the vehicle-mounted terminal is used as a data sharing node when the data packet is downloaded, so that the vehicle can obtain the data through other vehicle-mounted terminals in the process of downloading the data, wherein: data packages such as a vehicle-mounted terminal system software upgrading package and the like also improve the speed of the vehicle-mounted terminal in data downloading, reduce the flow cost of the vehicle-mounted terminal in data downloading during daily use, and improve the use experience of a user.
Next, the vehicle data sharing method in the present exemplary embodiment will be further described.
As described in the step S101, the first vehicle-mounted terminal generates a data packet obtaining request, where the obtaining request includes information of an un-downloaded data segment;
as an example, the first vehicle-mounted terminal generates information of an un-downloaded data segment according to a download progress, the download progress is a sequence number set of downloaded data segments, the first vehicle-mounted terminal screens out which data segments in a data packet have been downloaded according to the sequence number set, the part of the downloaded data segments is marked as downloaded data segments, the first server screens out the sequence number set of the data segments of the un-downloaded part in the data packet according to the sequence number set, generates information of the un-downloaded data segment according to the sequence number set of the un-downloaded data segment, and generates the acquisition request according to the information of the un-downloaded data segment.
It should be noted that the communication mode between the first vehicle-mounted terminal and the second vehicle-mounted terminal may be remote communication through a mobile network such as 4G, or may be short-range communication through WLAN or bluetooth, and generally is selected according to the distance between the vehicle-mounted terminals, where in the case of a short distance, a user may select to switch to the remote communication to obtain a data packet according to the actual communication situation;
as an example, when the distance between the vehicle-mounted terminals is 100 meters or more, the vehicle-mounted terminals are in long-distance communication, and at this time, the communication mode between the vehicle-mounted terminals can only be communication through a mobile network such as 4G and the like so as to perform data sharing; when the distance between the vehicle-mounted terminals is less than 100 meters, the short-distance communication is performed, wherein the short-distance communication is divided into two cases, when the distance between the vehicle-mounted terminals is 20-100 meters, the short-distance communication mode only supports the WLAN mode, and when the distance between the vehicle-mounted terminals is less than 20 meters, the short-distance communication mode simultaneously supports the WLAN and the Bluetooth.
In an embodiment, the mutual communication between the first vehicle-mounted terminal and the download server is also involved, and the step of generating the data packet obtaining request by the first vehicle-mounted terminal includes:
the first vehicle-mounted terminal initiates a search request to the download server, and the search request is used for searching the second vehicle-mounted terminal containing the un-downloaded data segment; the first vehicle-mounted terminal receives a search result fed back by the download server, wherein the search result comprises IP information of the second vehicle-mounted terminal; and the first vehicle-mounted terminal generates the acquisition request according to the IP information.
As an example, the download server is configured to send a data packet and IP information of the second vehicle-mounted terminal to the first vehicle-mounted terminal;
it should be noted that, when the download server sends the IP information of the second vehicle-mounted terminal, according to the distance between the second vehicle-mounted terminal and the first vehicle-mounted terminal, the second vehicle-mounted terminal and the first vehicle-mounted terminal support that kind of communication mode, but because there is an error relationship in the positioning information, there is a possibility that the actual distance between the second vehicle-mounted terminal and the first vehicle-mounted terminal is in the range supporting the short-distance communication mode, but the positioning distance exceeds the short-distance communication, after receiving the IP information of the second vehicle-mounted terminal, the first vehicle-mounted terminal obtains the information of the second vehicle-mounted terminal nearby through the WLAN module and the bluetooth module of the first vehicle-mounted terminal to perform position calibration of the second vehicle-mounted terminal, and further calibrate the communication mode between the second vehicle-mounted terminal and the first vehicle-mounted terminal.
As an example, after receiving the IP information of the second vehicle-mounted terminal fed back by the download server, the first vehicle-mounted terminal sends an inquiry signal through its WLAN module and bluetooth module to obtain the IP information of the vehicle-mounted terminal fed back by the vicinity inquiry, matches the IP information of the vehicle-mounted terminal with the IP information of the second vehicle-mounted terminal, and updates the communication support mode of the second vehicle-mounted terminal having the same IP information.
It should be noted that the data package may be an audio/video data package, a system upgrade package of the vehicle-mounted terminal, a navigation data package of the vehicle-mounted terminal, and an application software upgrade package deployed in the vehicle-mounted terminal,
the first vehicle-mounted terminal may correspond to a plurality of the second vehicle-mounted terminals, the second vehicle-mounted terminals corresponding to the first vehicle-mounted terminal are independent from each other, and the un-downloaded data segments contained in the second vehicle-mounted terminals corresponding to each of the first vehicle-mounted terminals are independent from each other;
as an example, the number of the second on-board terminals corresponding to the first on-board terminal a is two, and the second on-board terminal a1 and the second on-board terminal a2 are respectively the second on-board terminal a1 and the second on-board terminal a2, where the un-downloaded data segment a1 included in the second on-board terminal a1 and the un-downloaded data segment a2 included in the second on-board terminal a2 are independent of each other, the un-downloaded data segment a1 and the un-downloaded data segment a2 may be completely different, or the un-downloaded data segment a1 and the un-downloaded data segment a2 may mutually include a part of the same data, or the un-downloaded data segment a1 and the un-downloaded data segment a2 may be completely the same.
In an embodiment, the download server obtains the IP information of the second vehicle-mounted terminal by:
the download server acquires the download progress of the first vehicle-mounted terminal; the download server generates the un-downloaded data segment according to the download progress; and the download server matches the vehicle-mounted terminal containing the undelivered data segment according to the undelivered data segment.
As an example, the downloading progress may be that the first vehicle-mounted terminal downloads data segment information of the data packet; the download server obtains which data segments have been downloaded by the first vehicle-mounted terminal according to the download progress, the downloaded data segments of the part are downloaded data segments, the download server screens out the data segments of the part which is not downloaded in the data packet according to the obtained downloaded data segments, and the information of the un-downloaded data segments containing all or part of the data segments is generated according to the un-downloaded data segments of the part. The download server obtains the IP information of the vehicle-mounted terminal (namely, the second vehicle-mounted terminal) containing the un-downloaded data segment, wherein the second vehicle-mounted terminal can comprise the vehicle-mounted terminal containing all the un-downloaded data segment and/or the vehicle-mounted terminal containing part of the un-downloaded data segment.
In an embodiment, the method further comprises: the first vehicle-mounted terminal generates first interaction information for inquiring whether a user hides own IP information; the first vehicle-mounted terminal receives second interactive information fed back by a user; the first vehicle-mounted terminal judges whether the second interactive information is hidden; if yes, the first vehicle-mounted terminal hides own IP information and does not share the IP information to the download server; if not, the first vehicle-mounted terminal shares the IP information to the download server.
As an example, a user may set a vehicle-mounted terminal to be hidden or shared according to a need of the user, generally, when downloading a data packet for the first time, the vehicle-mounted terminal generates the first interaction information to inquire whether the user hides own IP information, and when setting for the first time, the user may select to keep a current selection result (hiding or sharing IP information) in a default state, or select to inquire each time downloading is performed; when the selection result is the default state, the user can modify the state of the vehicle-mounted terminal through setting. It should be noted that the operation of the user for modifying the state of the vehicle-mounted terminal is performed on the vehicle-mounted terminal in an information interaction manner, where the type of the interaction information may be a key, a touch screen, a gesture, or voice.
As described in the step S102, the first vehicle-mounted terminal sends the obtaining request to the second vehicle-mounted terminal;
it should be noted that the information of the un-downloaded data segment included in the acquisition request may be a sequence number of a data segment corresponding to the un-downloaded data segment.
As an example, the data packet may include 100 data segments, the sequence numbers of the data segments are sequentially 1 to 100, the information of the un-downloaded data segment included in the acquisition request may be a set of sequence numbers of the data segment corresponding to the un-downloaded part of the first vehicle-mounted terminal in the 100 data segments, it should be noted that, when the first vehicle-mounted terminal acquires the data segment of the data packet, it is not necessary to acquire the data segment sequentially according to the sequence number, and therefore, the sequence number of the un-downloaded data segment in the acquisition request may be a discontinuous data segment sequence number, such as: the data segment sequence numbers included in the get request include 20-25, and 35-45.
As described in step S103, the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal according to the obtaining request;
it should be noted that, the second vehicle-mounted terminal acquires the data segment with the same serial number as the part of the data segment in its own storage according to the serial number of the data segment in the acquisition request, generates the un-downloaded data segment from the part of the data segment, and sends the un-downloaded data segment to the first vehicle-mounted terminal, where the states (whether to share IP) of the vehicle-mounted terminals can be all vehicle-mounted terminals in the state of sharing IP information as the second vehicle-mounted terminal that sends the un-downloaded data segment.
It should be noted that, when the second vehicle-mounted terminal acquires the un-downloaded data segment, the first vehicle-mounted terminal may also acquire the un-downloaded data segment through the download server, and data acquisition between the two may be performed simultaneously without conflict.
As an example, there are 3 second vehicle-mounted terminals forming a data sharing connection with the first vehicle-mounted terminal B, which are respectively the second vehicle-mounted terminals B1, B2, and B3, wherein the data downloaded by the first vehicle-mounted terminal B includes 100 data segments, the serial numbers of the currently undelivered data segments include 20-30, 50-73, and 95-100, the second vehicle-mounted terminal B1 includes the data segment with the serial number of 20-45, the second vehicle-mounted terminal B2 includes the data segment with the serial number of 45-60, and the second vehicle-mounted terminal B3 includes a complete data packet, and when the second vehicle-mounted terminal B1, B2, and B3 receives the acquisition request sent by the first vehicle-mounted terminal B, the second vehicle-mounted terminal B1 generates the undelivered data segment with the serial number of 20-30 and sends the undelivered data segment to the first vehicle-mounted terminal B; the second vehicle-mounted terminal B2 generates an un-downloaded data segment with the serial number of 50-60 parts and sends the un-downloaded data segment to the first vehicle-mounted terminal B; the second vehicle-mounted terminal B3 generates un-downloaded data segments of the data segments with the serial numbers of 20-30, 50-73 and 95-100 and sends the un-downloaded data segments to the first vehicle-mounted terminal B; meanwhile, the first vehicle-mounted terminal B can also obtain data segments with the serial numbers of 20-30, 50-73 and 95-100 from the download server.
As described in step S104, the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet.
In an embodiment, the method further comprises:
after the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet, the first vehicle-mounted terminal extracts a target secret key in the data packet; the first vehicle-mounted terminal judges whether the data packet is safe or not according to the target secret key; and if so, upgrading the first vehicle-mounted terminal according to the data packet.
As an example, each vehicle-mounted terminal presets a key set for verifying the security of the downloaded data packet, and the key set may include 10 keys, where the keys are deployed with unique and non-repeating key numbers.
It should be noted that the step of presetting the key set to the vehicle-mounted terminal specifically includes: the download server verifies the vehicle identification number of the vehicle corresponding to the vehicle-mounted terminal, the safety certificate of the vehicle corresponding to the vehicle-mounted terminal and the cduld information of the vehicle corresponding to the vehicle-mounted terminal; the download server judges whether the check result is correct or not; if the vehicle identification number, the safety certificate and the cduld information are all the same as the preset information, the verification result is correct; when the judgment result that whether the verification result is correct is judged to be yes by the download server, the download server generates the key group request; the security server generates a specified number of secret keys and numbers the secret keys according to the generation sequence (secret key numbers); the security server generates a key set by the key and the key numbers of the specified number, stores the key set in a key database, and sends the key set to the download server; and finally, the download server feeds the secret key group back to the vehicle-mounted terminal.
It should be noted that the target key is a key obtained by the download server through the security server when the data packet is generated.
In an embodiment, the method further involves data interaction between the first vehicle-mounted terminal and a security server, and the step of extracting the target key in the data packet by the first vehicle-mounted terminal includes:
the first vehicle-mounted terminal extracts an identifier of a preset secret key in the data packet, wherein the preset secret key is generated for the security server; the first vehicle-mounted terminal matches a corresponding target secret key from the secret key group according to the identifier of the preset secret key; wherein the key set is generated for the secure server; the set of keys includes a predetermined number of keys.
As an example, the manner of generating the preset key by the secure server is specifically as follows: the security server searches out a key set from the key database, the key set is deployed with 10 keys, the security server randomly selects one key from the 10 keys as a preset key, sends the preset key and a key number corresponding to the preset key to the download server, and deploys the preset key and the key number into the data package through the download server.
In an embodiment, the step of determining, by the first vehicle-mounted terminal, whether the data packet is secure according to the target key includes:
the first vehicle-mounted terminal extracts first verification information in the data packet, wherein the first verification information is generated by the download server according to a preset algorithm and the preset secret key; the first vehicle-mounted terminal generates second verification information according to the preset algorithm and the target secret key; the first vehicle-mounted terminal judges whether the first verification information and the second verification information are the same; if so, the first vehicle-mounted terminal judges that the data packet is safe; and if not, the first vehicle-mounted terminal judges that the data packet is unsafe.
As an example, the preset algorithm may be a hash algorithm (SHA 256), the first verification information is a digest sgin1 generated by a preset key through the hash algorithm (SHA 256), the second verification information is a digest sgin2 generated by a hash algorithm (SHA 256) on a target key found from the vehicle-mounted terminal through a key number of the preset key, and when the digest sgin1 and the digest sgin2 are the same, that is, the data package is safe, the first vehicle-mounted terminal is upgraded according to the data package; when the abstract sgin1 is different from the abstract sgin2, namely the data packet is unsafe, the first vehicle-mounted terminal refuses to upgrade according to the data packet.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Referring to fig. 2, a vehicle data sharing processing device according to an embodiment of the present application is shown, which relates to a first vehicle-mounted terminal and a second vehicle-mounted terminal that communicate with each other;
the method specifically comprises the following steps:
a generating module 101, configured to generate a data packet obtaining request, where the obtaining request includes information of an un-downloaded data segment;
a sending module 102, configured to send the obtaining request to the second vehicle-mounted terminal;
a receiving module 103, configured to receive an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal according to the obtaining request;
and the encapsulating module 104 is configured to encapsulate the un-downloaded data segment and the existing downloaded data segment into a data packet.
In an embodiment, further relating to the mutual communication between the first vehicle-mounted terminal and the download server, the generating module 101 includes:
a search request initiating sub-module, configured to initiate a search request to the download server, where the search request is used to search for the second vehicle-mounted terminal that includes the un-downloaded data segment;
the search result receiving submodule is used for receiving a search result fed back by the download server, and the search result contains the IP information of the second vehicle-mounted terminal;
and the obtaining request generating submodule is used for generating the obtaining request according to the IP information.
In one embodiment, the apparatus further comprises:
the first interactive information generating module is used for generating first interactive information for inquiring whether a user hides own IP information;
the second interactive information receiving module is used for receiving second interactive information fed back by the user;
the second interactive information judging module is used for judging whether the second interactive information is hidden;
the IP information hiding module is used for hiding the IP information of the first vehicle-mounted terminal from being shared with the download server if the IP information hiding module is used for hiding the IP information of the first vehicle-mounted terminal from being shared with the download server;
and the shared IP information module is used for sharing the IP information of the first vehicle-mounted terminal to the download server if the IP information of the first vehicle-mounted terminal is not shared by the download server.
In one embodiment, the apparatus further comprises:
the target key extraction module is used for extracting a target key in the data packet;
the data packet safety judgment module is used for judging whether the data packet is safe or not according to the target secret key;
and the data package upgrading module is used for upgrading the first vehicle-mounted terminal according to the data package if the data package is updated.
In an embodiment, the method further involves data interaction between the first vehicle-mounted terminal and a security server, and the target key extraction module includes:
the identifier extraction submodule of the preset secret key is used for extracting the identifier of the preset secret key in the data packet, and the preset secret key is generated for the security server;
the target key matching sub-module is used for matching a corresponding target key from the key set according to the identifier of the preset key; wherein the key set is generated for the secure server; the set of keys includes a predetermined number of keys.
In one embodiment, the packet security determining module includes:
the first verification information extraction sub-module is used for extracting first verification information in the data packet, wherein the first verification information is generated by the download server according to a preset algorithm and the preset secret key;
the second verification information generation submodule is used for generating second verification information according to the preset algorithm and the target secret key;
the verification information judgment sub-module is used for judging whether the first verification information is the same as the second verification information;
the safety judgment submodule is used for judging that the data packet is safe by the first vehicle-mounted terminal if the data packet is safe;
and the unsafe judgment submodule is used for judging that the data packet is unsafe by the first vehicle-mounted terminal if not.
A vehicle comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the vehicle data sharing processing method as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the vehicle data sharing processing method as set out above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The vehicle data sharing processing method, the device, the vehicle and the medium provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A vehicle data sharing processing method is characterized in that the method relates to a first vehicle-mounted terminal and a second vehicle-mounted terminal which are communicated with each other;
the method comprises the following steps:
the first vehicle-mounted terminal generates a data packet acquisition request, wherein the acquisition request comprises information of undelivered data segments of the data packet; the data packet is a data packet which is being downloaded or suspended by the first vehicle-mounted terminal; the first vehicle-mounted terminal is provided with a downloaded data segment;
the first vehicle-mounted terminal sends an acquisition request of the information of the undelivered data segment including the data packet to the second vehicle-mounted terminal, wherein the second vehicle-mounted terminal is in a shared state;
the first vehicle-mounted terminal receives an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal aiming at the acquisition request;
the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet, wherein the data packet consists of the un-downloaded data segment and the downloaded data segment;
the method also relates to the intercommunication between the first vehicle-mounted terminal and a download server, and the step of generating the data packet acquisition request by the first vehicle-mounted terminal comprises the following steps:
the first vehicle-mounted terminal initiates a search request to the download server, and the search request is used for searching the second vehicle-mounted terminal containing the un-downloaded data segment;
the first vehicle-mounted terminal receives a search result fed back by the download server, wherein the search result comprises IP information of the second vehicle-mounted terminal;
and the first vehicle-mounted terminal generates the acquisition request according to the IP information.
2. The method of claim 1, further comprising:
the first vehicle-mounted terminal generates first interaction information for inquiring whether a user hides own IP information;
the first vehicle-mounted terminal receives second interactive information fed back by a user;
the first vehicle-mounted terminal judges whether the second interactive information is hidden;
if yes, the first vehicle-mounted terminal hides own IP information and does not share the IP information to the download server;
if not, the first vehicle-mounted terminal shares the own IP information to the download server.
3. The method of claim 1, further comprising:
after the first vehicle-mounted terminal encapsulates the un-downloaded data segment and the downloaded data segment into a data packet, the first vehicle-mounted terminal extracts a target secret key in the data packet;
the first vehicle-mounted terminal judges whether the data packet is safe or not according to the target secret key;
and if so, upgrading the first vehicle-mounted terminal according to the data packet.
4. The method according to claim 3, wherein the method further involves data interaction between the first vehicle-mounted terminal and a security server, and the step of extracting the target key in the data packet by the first vehicle-mounted terminal comprises:
the first vehicle-mounted terminal extracts an identifier of a preset secret key in the data packet, wherein the preset secret key is generated for the security server;
the first vehicle-mounted terminal matches a corresponding target secret key from a secret key group according to the identifier of the preset secret key; wherein the key set is generated for the secure server; the set of keys includes a predetermined number of keys.
5. The method according to claim 4, wherein the step of the first vehicle-mounted terminal determining whether the data packet is secure according to the target key comprises:
the first vehicle-mounted terminal extracts first verification information in the data packet, wherein the first verification information is generated by the download server according to a preset algorithm and the preset secret key;
the first vehicle-mounted terminal generates second verification information according to the preset algorithm and the target secret key;
the first vehicle-mounted terminal judges whether the first verification information and the second verification information are the same;
if so, the first vehicle-mounted terminal judges that the data packet is safe;
and if not, the first vehicle-mounted terminal judges that the data packet is unsafe.
6. A vehicle data sharing processing device is characterized by relating to a first vehicle-mounted terminal and a second vehicle-mounted terminal which are communicated with each other;
the method specifically comprises the following steps:
the generating module is used for generating a data packet obtaining request, wherein the obtaining request comprises information of the data packet which is not downloaded; the data packet is a data packet which is being downloaded or suspended by the first vehicle-mounted terminal; the first vehicle-mounted terminal is provided with a downloaded data segment;
a sending module, configured to send, to the second vehicle-mounted terminal, the request for obtaining information of the undelivered data segment including the data packet, where a state of the second vehicle-mounted terminal is shared;
a receiving module, configured to receive an un-downloaded data segment corresponding to the un-downloaded data segment information sent by the second vehicle-mounted terminal according to the acquisition request;
the packaging module is used for packaging the un-downloaded data segments and the downloaded data segments into a data packet, and the data packet consists of the un-downloaded data segments and the downloaded data segments;
the device also relates to the intercommunication between the first vehicle-mounted terminal and a download server, and the generation module comprises:
the searching submodule is used for initiating a searching request to the download server, and the searching request is used for searching the second vehicle-mounted terminal containing the un-downloaded data segment;
the receiving submodule is used for receiving a search result fed back by the download server, and the search result contains the IP information of the second vehicle-mounted terminal;
and the generation submodule is used for generating the acquisition request according to the IP information.
7. A vehicle comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the method of any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN201910512040.7A 2019-06-13 2019-06-13 Vehicle data sharing processing method and device, vehicle and medium Active CN110225124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910512040.7A CN110225124B (en) 2019-06-13 2019-06-13 Vehicle data sharing processing method and device, vehicle and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910512040.7A CN110225124B (en) 2019-06-13 2019-06-13 Vehicle data sharing processing method and device, vehicle and medium

Publications (2)

Publication Number Publication Date
CN110225124A CN110225124A (en) 2019-09-10
CN110225124B true CN110225124B (en) 2023-04-07

Family

ID=67816956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910512040.7A Active CN110225124B (en) 2019-06-13 2019-06-13 Vehicle data sharing processing method and device, vehicle and medium

Country Status (1)

Country Link
CN (1) CN110225124B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MX2021009503A (en) * 2020-02-14 2021-09-08 Huawei Tech Co Ltd Vehicle-mounted device upgrading method, and related apparatus.
CN112188399B (en) * 2020-12-01 2021-08-17 智道网联科技(北京)有限公司 Data transmission processing method and device
CN112653729B (en) * 2020-12-08 2022-12-02 孙继国 Sharing upgrading method and device for Internet of things terminal, internet of things terminal and medium
CN112738771A (en) * 2020-12-28 2021-04-30 航天科技控股集团股份有限公司 TBOX wireless learning device and working method
CN113031978A (en) * 2021-04-14 2021-06-25 宝能(广州)汽车研究院有限公司 Vehicle-mounted system installation package downloading method, electronic equipment and storage medium
CN114969502B (en) * 2021-06-21 2023-10-27 中移互联网有限公司 Vehicle information exchange method and system and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468847A (en) * 2014-12-31 2015-03-25 北京赛维安讯科技发展有限公司 Journey recorded information sharing method, equipment, server and system of vehicle
WO2018032208A1 (en) * 2016-08-15 2018-02-22 张莉 Method and server for acquiring technology data during location-based information push
CN107835501A (en) * 2017-10-31 2018-03-23 广州小鹏汽车科技有限公司 A kind of automobile method for upgrading software, apparatus and system
CN108200141A (en) * 2017-12-28 2018-06-22 沈阳美行科技有限公司 A kind of car data-sharing systems and method
CN108241498A (en) * 2017-12-21 2018-07-03 北京车和家信息技术有限公司 A kind of mobile unit upgrade method, device and vehicle
CN108769226A (en) * 2018-06-05 2018-11-06 北京智行者科技有限公司 The OAT upgrade methods and car-mounted terminal of vehicle
CN109857443A (en) * 2019-01-25 2019-06-07 深圳市泰比特科技有限公司 A kind of upgrade method and system of shared motor bicycle whole-control system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030043824A1 (en) * 2001-08-31 2003-03-06 Remboski Donald J. Vehicle active network and device
CN102938199B (en) * 2012-10-29 2014-12-03 苏州佳世达电通有限公司 Traveling information sharing system and control method thereof
US10037689B2 (en) * 2015-03-24 2018-07-31 Donald Warren Taylor Apparatus and system to manage monitored vehicular flow rate
CN104954386B (en) * 2015-06-30 2018-10-02 百度在线网络技术(北京)有限公司 A kind of network anti-hijacking method and device
CN105976629A (en) * 2015-10-28 2016-09-28 乐卡汽车智能科技(北京)有限公司 Traffic information sharing method, vehicle platform and intelligent traffic system
CN106453607A (en) * 2016-11-08 2017-02-22 吉林师范大学 A vehicle-mounted multimedia resource sharing system based on 5G communication technology and a usage method thereof
WO2020133451A1 (en) * 2018-12-29 2020-07-02 驭势科技(北京)有限公司 Vehicle information sharing system and method, and self-driving vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468847A (en) * 2014-12-31 2015-03-25 北京赛维安讯科技发展有限公司 Journey recorded information sharing method, equipment, server and system of vehicle
WO2018032208A1 (en) * 2016-08-15 2018-02-22 张莉 Method and server for acquiring technology data during location-based information push
CN107835501A (en) * 2017-10-31 2018-03-23 广州小鹏汽车科技有限公司 A kind of automobile method for upgrading software, apparatus and system
CN108241498A (en) * 2017-12-21 2018-07-03 北京车和家信息技术有限公司 A kind of mobile unit upgrade method, device and vehicle
CN108200141A (en) * 2017-12-28 2018-06-22 沈阳美行科技有限公司 A kind of car data-sharing systems and method
CN108769226A (en) * 2018-06-05 2018-11-06 北京智行者科技有限公司 The OAT upgrade methods and car-mounted terminal of vehicle
CN109857443A (en) * 2019-01-25 2019-06-07 深圳市泰比特科技有限公司 A kind of upgrade method and system of shared motor bicycle whole-control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车载通信终端OTA升级方案;王兰等;《汽车实用技术》(第06期);全文 *

Also Published As

Publication number Publication date
CN110225124A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN110225124B (en) Vehicle data sharing processing method and device, vehicle and medium
US10387134B2 (en) Method and device for downloading profile of operator
CN109842862B (en) Establishing a secure short-range wireless communication connection in a vehicle
US11146401B2 (en) Software authentication before software update
US10249123B2 (en) Systems and methods for mobile phone key fob management
CN109491681B (en) Method and device for upgrading MCU in automobile
US20110225259A1 (en) System and method for communicating software applications to a motor vehicle
CN107707584B (en) Application loading method, terminal and platform server
US10812592B2 (en) Method and apparatus for utilizing NFC to establish a secure connection
WO2014194731A1 (en) Virtual user identification data distributing method and obtaining method, and devices
CN110806883A (en) Method and device for safely upgrading firmware and computer readable medium
CN109795488A (en) Vehicle functions control based on geopolitics region
CN111918263B (en) Bluetooth connection method and device and Internet of things equipment
CN110187904B (en) Device and method for updating vehicle controller firmware
CN107087293B (en) Access method, terminal and server
CN107094169B (en) Apparatus and method for enhancing telematics security through a supplemental channel
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
CN113282310A (en) Application management method and system, vehicle-mounted device, server and readable storage medium
EP2849470B1 (en) Function sharing in wireless access hotspot device
CN115665701A (en) Vehicle-mounted machine interconnection method based on wireless charging module and related product
CN115379415A (en) Bluetooth automatic connection method and device, user equipment and vehicle-mounted equipment
US20170141917A1 (en) Method and apparatus for secure wireless vehicle bus communication
KR101673844B1 (en) Method for connecting wireless terminal to vehicle
US9998547B2 (en) Vehicle computing systems and methods for delivery of a mobile device lockout icon
CN113242276B (en) On-line upgrading method, device, equipment and storage medium for vehicle-mounted system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant