CN107666498B - Updating method and device of vehicle-mounted module, cloud server, system and vehicle - Google Patents

Updating method and device of vehicle-mounted module, cloud server, system and vehicle Download PDF

Info

Publication number
CN107666498B
CN107666498B CN201610602214.5A CN201610602214A CN107666498B CN 107666498 B CN107666498 B CN 107666498B CN 201610602214 A CN201610602214 A CN 201610602214A CN 107666498 B CN107666498 B CN 107666498B
Authority
CN
China
Prior art keywords
vehicle
registration information
module
user
identifier
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
CN201610602214.5A
Other languages
Chinese (zh)
Other versions
CN107666498A (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201610602214.5A priority Critical patent/CN107666498B/en
Publication of CN107666498A publication Critical patent/CN107666498A/en
Application granted granted Critical
Publication of CN107666498B publication Critical patent/CN107666498B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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

Abstract

The invention discloses a vehicle-mounted module updating method, a vehicle-mounted module updating device, a cloud server, a vehicle and a system, wherein the vehicle comprises at least one vehicle-mounted module, each vehicle-mounted module is provided with a unique device identifier, and the program updating method comprises the following steps: receiving an updating instruction for updating the vehicle-mounted module; acquiring first registration information of a user and a first equipment identifier of the vehicle-mounted module according to the updating instruction; judging whether the first registration information and the first equipment identification are matched with a prestored user identification, wherein the user identification comprises second registration information and a second equipment identification; if the first registration information and the first equipment identifier are judged to be matched with the user identifier, the updating program is sent to the vehicle-mounted module, so that the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer is avoided, and the safety of the whole vehicle is improved.

Description

Updating method and device of vehicle-mounted module, cloud server, system and vehicle
Technical Field
The invention relates to the technical field of vehicle manufacturing, in particular to a program updating method of a vehicle-mounted module, a program updating device of the vehicle-mounted module, a cloud server, a program updating system of the vehicle-mounted module and a vehicle.
Background
In the existing vehicle-mounted software remote updating technology, data transmitted between a server and a vehicle-mounted module is not encrypted when vehicle-mounted software is updated remotely. Therefore, illegal personnel can intercept information when the server is communicated with the vehicle-mounted module, or an interception program is embedded into the vehicle-mounted module to intercept the communication receiving information of the vehicle-mounted module and the server, and the flash program when the vehicle-mounted module is updated remotely is obtained, so that the flash program is changed according to the will of the illegal personnel. Therefore, the manufacturer cannot control the software of the vehicle-mounted module, and personal and property safety of the vehicle owner can be possibly lost.
For example, after a program for remotely swiping the smart key is intercepted, the program can be modified, so that the vehicle can be started at any time, and the vehicle of the vehicle owner can be easily stolen, and other things which harm the personal and property safety of the vehicle owner can be easily realized.
However, the main reason for this is that data encryption is not performed when the server communicates with the vehicle-mounted module, so that an illegal person can easily obtain the programming program of the vehicle-mounted module and modify the programming program, and therefore, when the programming of the vehicle-mounted module is updated, the security is poor, and damage is easily caused to the property and personal safety of the vehicle and the owner.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide a method for updating a program of a vehicle-mounted module, which can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, thereby improving the safety of the entire vehicle.
A second object of the present invention is to provide a program updating apparatus for an in-vehicle module.
The third objective of the present invention is to provide a cloud server.
A fourth object of the present invention is to provide a program update system for an in-vehicle module.
A fifth object of the invention is to propose a vehicle.
In order to achieve the above object, a first embodiment of the present invention provides a method for updating a program of on-board modules, where a vehicle includes at least one on-board module, and each on-board module has a unique device identifier, and the method includes the following steps: receiving an updating instruction for updating the vehicle-mounted module; acquiring first registration information of a user and a first equipment identifier of the vehicle-mounted module according to the updating instruction; judging whether the first registration information and the first equipment identification are matched with a pre-stored user identification or not, wherein the user identification comprises second registration information and a second equipment identification; and if the first registration information and the first equipment identifier are judged to be matched with the user identifier, sending an updating program to the vehicle-mounted module.
According to the program updating method of the vehicle-mounted module, the updating instruction of the vehicle-mounted module is received, the first registration information of the user and the first equipment identification of the vehicle-mounted module are obtained according to the updating instruction, whether the first registration information and the first equipment identification are matched with the prestored user identification is judged, the user identification comprises the second registration information and the second equipment identification, and if the first registration information and the first equipment identification are matched with the user identification, the updating program is sent to the vehicle-mounted module. Therefore, the method can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and improves the safety of the whole vehicle.
In addition, the program updating method of the vehicle-mounted module according to the invention may further have the following additional technical features:
in an embodiment of the present invention, if it is determined that the first registration information and the first device identifier do not match the user identifier, the update program is prohibited from being sent to the on-vehicle module, a prompt message indicating that the verification fails is generated, and the prompt message indicating that the verification fails is sent to the on-vehicle module.
In an embodiment of the present invention, before the receiving an update instruction for updating the onboard module, the method further includes: acquiring the second registration information and the second equipment identification, wherein the second registration information of the user and the second equipment identification of the vehicle-mounted module are sent to a cloud server when the user purchases the vehicle; and encrypting the second registration information and the second equipment identification through an encryption algorithm to generate the encrypted user identification.
In an embodiment of the present invention, before acquiring the second device identifier, the method further includes: and sending the second registration information to the vehicle-mounted module so that the vehicle-mounted module stores the second registration information.
In an embodiment of the present invention, the method for updating a program of the vehicle-mounted module further includes: and sending the updating program and the user identification to the vehicle-mounted module so that the vehicle-mounted module judges whether the user identification is matched with the first registration information and the first equipment identification sent by the vehicle-mounted module, and updates the program of the vehicle-mounted module according to the updating program when judging that the user identification is matched with the first registration information and the first equipment identification.
In one embodiment of the invention, the first registration information and the second registration information comprise user identity information, a vehicle identification code, a service code of a vehicle provider.
In order to achieve the above object, a second aspect of the present invention provides a program updating apparatus for on-board modules, where a vehicle includes at least one on-board module, and each on-board module has a unique device identifier, the program updating apparatus including: the receiving module is used for receiving an updating instruction for updating the vehicle-mounted module; the first acquisition module is used for acquiring first registration information of a user and a first equipment identifier of the vehicle-mounted module according to the updating instruction; the judging module is used for judging whether the first registration information and the first equipment identifier are matched with a prestored user identifier or not, wherein the user identifier comprises second registration information and a second equipment identifier; and the first sending module is used for sending an updating program to the vehicle-mounted module when the first registration information and the first equipment identifier are judged to be matched with the user identifier.
According to the program updating device of the vehicle-mounted module, the receiving module receives an updating instruction for updating the vehicle-mounted module, the first obtaining module obtains first registration information of a user and a first device identification of the vehicle-mounted module according to the updating instruction, the judging module judges whether the first registration information and the first device identification are matched with a prestored user identification or not, the user identification comprises second registration information and a second device identification, and the first sending module sends the updating program to the vehicle-mounted module when judging that the first registration information and the first device identification are matched with the user identification. Therefore, the device can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and the safety of the whole vehicle is improved.
The program updating device of the vehicle-mounted module can also have the following additional technical characteristics:
in an embodiment of the present invention, the program updating apparatus of the in-vehicle module further includes: the prompt module is used for generating prompt information of verification failure when the first registration information and the first equipment identifier are judged not to be matched with the user identifier; the first sending module is further configured to prohibit sending the update program to the vehicle-mounted module and send the prompt message of the verification failure to the vehicle-mounted module when it is determined that the first registration information and the first device identifier are not matched with the user identifier.
In an embodiment of the present invention, the program updating apparatus of the in-vehicle module further includes: the second acquisition module is used for acquiring the second registration information and the second equipment identifier, wherein the second registration information of the user and the second equipment identifier of the vehicle-mounted module are sent to a cloud server when the user purchases the vehicle; and the generating module is used for encrypting the second registration information and the second equipment identifier through an encryption algorithm to generate the encrypted user identifier.
In an embodiment of the present invention, the program updating apparatus of the in-vehicle module further includes: and the second sending module is used for sending the second registration information to the vehicle-mounted module so that the vehicle-mounted module stores the second registration information.
In an embodiment of the present invention, the first sending module is further configured to send the update program and the user identifier to the vehicle-mounted module, so that the vehicle-mounted module determines whether the user identifier matches with the first registration information and the first device identifier sent by the vehicle-mounted module, and updates the program of the vehicle-mounted module according to the update program when it is determined that the user identifier matches with the first registration information and the first device identifier.
In one embodiment of the invention, the first registration information and the second registration information comprise user identity information, a vehicle identification code, a service code of a vehicle provider.
In order to achieve the above object, a third aspect of the present invention provides a cloud server, where the cloud server is configured to determine whether first registration information of a user and a first device identifier of a vehicle-mounted module match a pre-stored user identifier, and send an update program to the vehicle-mounted module through a wireless communication module when it is determined that the first registration information and the first device identifier match the user identifier, where the user identifier includes second registration information and a second device identifier.
According to the cloud server provided by the embodiment of the invention, the cloud server judges whether the first registration information of the user and the first equipment identifier of the vehicle-mounted module are matched with the prestored user identifier, and sends the updating program to the vehicle-mounted module through the wireless communication module when the first registration information and the first equipment identifier are judged to be matched with the user identifier. Therefore, the cloud server can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and the safety of the whole vehicle is improved.
The cloud server may have the following additional technical features:
in an embodiment of the present invention, the cloud server is further configured to prohibit sending the update program to the vehicle-mounted module, generate prompt information indicating that the verification fails, and send the prompt information indicating that the verification fails to the vehicle-mounted module through the wireless communication module when it is determined that the first registration information and the first device identifier are not matched with the user identifier.
In an embodiment of the present invention, the cloud server is further configured to obtain the second registration information and the second device identifier, where the device terminal is configured to send the second registration information of the user to the cloud server when the user purchases the vehicle; the vehicle-mounted module is further used for sending the second equipment identification of the vehicle-mounted module to a cloud server through the wireless communication module when the user purchases the vehicle; the cloud server is further configured to encrypt the second registration information and the second device identifier through an encryption algorithm to generate the encrypted user identifier.
In an embodiment of the present invention, the cloud server is further configured to send the second registration information to the vehicle-mounted module through the wireless communication module; the vehicle-mounted module is also used for storing the second registration information.
In an embodiment of the present invention, the cloud server is further configured to send the update program and the user identifier to the vehicle-mounted module through the wireless communication module; the vehicle-mounted module is further used for judging whether the user identification is matched with the first registration information and the first equipment identification sent by the vehicle-mounted module, and updating the program of the vehicle-mounted module according to the updating program when the user identification is judged to be matched with the first registration information and the first equipment identification.
In order to achieve the above object, a fourth aspect of the present invention provides a program update system for an in-vehicle module, including: the system comprises at least one vehicle-mounted module, a cloud server, wireless communication modules and equipment terminals, wherein each vehicle-mounted module is provided with a unique equipment identifier, and each equipment terminal is used for sending an updating instruction for updating the vehicle-mounted module to the cloud server and sending first registration information of a user to the cloud server; the vehicle-mounted module is used for sending a first equipment identifier of the vehicle-mounted module to the cloud server through the wireless communication module; the cloud server is used for judging whether the first registration information and the first equipment identification are matched with a prestored user identification or not, and sending an updating program to the vehicle-mounted module through the wireless communication module when the first registration information and the first equipment identification are matched with the user identification, wherein the user identification comprises second registration information and a second equipment identification.
According to the program updating system of the vehicle-mounted module, the device terminal sends an updating instruction for updating the vehicle-mounted module to the cloud server and sends the first registration information of the user to the cloud server, the vehicle-mounted module sends the first device identification of the vehicle-mounted module to the cloud server through the wireless communication module, the cloud server judges whether the first registration information and the first device identification are matched with the prestored user identification or not, and sends the updating program to the vehicle-mounted module through the wireless communication module when the first registration information and the first device identification are judged to be matched with the user identification, wherein the user identification comprises the second registration information and the second device identification. Therefore, the system can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and the safety of the whole vehicle is improved.
In order to achieve the above object, an embodiment of a fifth aspect of the invention proposes a vehicle including: a program updating apparatus of an in-vehicle module according to an embodiment of a second aspect of the invention.
According to the vehicle provided by the embodiment of the invention, the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer can be avoided through the program updating device of the vehicle-mounted module or the program updating system of the vehicle-mounted module, and the safety of the whole vehicle is improved.
Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a program updating method of an in-vehicle module according to an embodiment of the present invention.
Fig. 2 is a flowchart of a program updating method of an in-vehicle module according to an embodiment of the present invention.
Fig. 3 is a flowchart of a program updating method of an in-vehicle module according to another embodiment of the present invention.
Fig. 4 is a flowchart of a program updating method of an in-vehicle module according to a specific example of the present invention.
Fig. 5 is a block diagram of a program updating apparatus of an in-vehicle module according to an embodiment of the present invention.
Fig. 6 is a block diagram of a program updating apparatus of an on-board module according to another embodiment of the present invention.
Fig. 7 is a block diagram illustrating a program updating apparatus of an in-vehicle module according to still another embodiment of the present invention.
FIG. 8 is a block diagram of a program update system for an on-board module in accordance with one embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
A program updating method, an apparatus, a system, and a vehicle of an in-vehicle module proposed according to an embodiment of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a program updating method of an in-vehicle module according to an embodiment of the present invention. In an embodiment of the invention, the vehicle comprises at least one on-board module, each on-board module having a unique device identification.
As shown in fig. 1, the program updating method of the on-board module includes the steps of:
and S101, receiving an updating instruction for updating the vehicle-mounted module.
Specifically, when the user needs to update the program of the vehicle-mounted module, the update instruction is sent to the cloud server. For example, the user may connect to the cloud server through the device terminal, and then send the update instruction to the cloud server through the device terminal, or the user directly sends the update instruction to the cloud server through the vehicle-mounted module. The device terminal can comprise a mobile phone, a tablet computer, a PC computer and the like. The vehicle can include a plurality of vehicle-mounted modules, and the user can select one vehicle-mounted module at a time through the equipment terminal, also can select several vehicle-mounted modules that need to be updated simultaneously, then generates the update instruction and sends to the cloud server to update the program of one vehicle-mounted module or several vehicle-mounted modules simultaneously.
In one embodiment of the invention, the device terminal and the cloud server can communicate in a 2G/3G/4G network, Wifi and other modes, and the vehicle-mounted module and the cloud server communicate through the vehicle-mounted 2G/3G/4G module.
And S102, acquiring first registration information of the user and a first device identifier of the vehicle-mounted module according to the updating instruction. The first registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identification number of a user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the first device identifier is a unique identifier of the vehicle-mounted module.
Specifically, after receiving the update instruction, the cloud server receives registration information and an equipment identifier uploaded by the vehicle, where the registration information and the equipment identifier may be uploaded by a user through an equipment terminal or an on-board module, or the registration information is uploaded by the user through the equipment terminal, and the equipment identifier is uploaded by the on-board module.
S103, judging whether the first registration information and the first equipment identification are matched with a pre-stored user identification, wherein the user identification comprises second registration information and a second equipment identification.
Specifically, the second registration information and the second device identifier may be pre-stored in the cloud server, for example, when the user purchases a vehicle, the registration information and the device identifier are sent to the cloud server for storage, so that the cloud server encrypts the second registration information and the second device identifier according to an encryption algorithm to generate a user identifier for verifying whether the update program of the vehicle-mounted module is allowed to be downloaded. The second registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identity card number of the user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the second device identifier is a unique identifier of the vehicle-mounted module.
And S104, if the first registration information and the first equipment identifier are judged to be matched with the user identifier, sending the updating program to the vehicle-mounted module.
Specifically, the cloud server matches the registration information and the equipment identifier uploaded by the vehicle with the user identifier prestored in the cloud server, and if the registration information and the equipment identifier uploaded by the vehicle are matched with the user identifier prestored in the cloud server, the cloud server judges that the verification is passed and allows the vehicle-mounted module to download the updating program.
It should be understood that, when the cloud server determines whether the device identifier of the registration information uploaded by the vehicle matches the user identifier pre-stored in the cloud server, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle match the user identity information, the vehicle identification code and the service code of the vehicle provider pre-stored in the cloud server, it determines that the registration information uploaded by the vehicle matches the registration information in the user identifier. Or, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle are matched with one or two of the user identity information, the vehicle identification code and the service code of the vehicle provider prestored by the cloud server, it can be judged that the registration information uploaded by the vehicle is matched with the registration information in the user identification, and the cloud server can be set according to actual requirements.
In one embodiment of the invention, if the first registration information and the first equipment identifier are judged not to be matched with the user identifier, the updating program is prohibited from being sent to the vehicle-mounted module, prompt information of verification failure is generated, and the prompt information of verification failure is sent to the vehicle-mounted module.
Specifically, if the registration information uploaded by the vehicle and the device identification are not matched with the user identification pre-stored in the cloud server, the cloud server judges that the verification fails, at the moment, the cloud server prohibits sending the updating program to the vehicle-mounted module, generates prompt information of the verification failure, and sends the prompt information of the verification failure to the vehicle-mounted module. In addition, the cloud server can also send information of verification failure to the equipment terminal, so that the user is prompted to conduct verification again.
According to the program updating method of the vehicle-mounted module, when the user needs to update the program of the vehicle-mounted module, the cloud server verifies the registration information of the user and the equipment identification of the vehicle-mounted module, the vehicle-mounted module is allowed to download the updating program from the cloud server after the verification is passed, and the program of the vehicle-mounted module is updated, so that the program of the vehicle-mounted module is effectively prevented from being refreshed by an illegal user, and the safety of the whole vehicle is improved.
Fig. 2 is a flowchart of a program updating method of an in-vehicle module according to an embodiment of the present invention. In an embodiment of the invention, the vehicle comprises at least one on-board module, each on-board module having a unique device identification.
As shown in fig. 2, the program updating method of the in-vehicle module includes the steps of:
s201, second registration information and a second device identification are obtained, wherein when the user purchases the vehicle, the second registration information of the user and the second device identification of the vehicle-mounted module are sent to the cloud server.
Specifically, when a user purchases a vehicle, the user can connect to the cloud server through the device terminal, and input the identity information, the vehicle identification code and the service code of the 4S shop of the user into the device terminal, the device terminal sends the registration information input by the user to the cloud server, and the cloud server waits for the user to register the vehicle feedback information bound after receiving the registration information.
In one embodiment of the invention, before the second device identifier is acquired, the second registration information is sent to the vehicle-mounted module, so that the vehicle-mounted module stores the second registration information.
Specifically, the cloud server sends the registration information input by the user to the vehicle-mounted module, so that the vehicle-mounted module records the registration information. Or, the device terminal is connected to a vehicle purchased by the user, and the vehicle-mounted module receives the registration information input by the user from the device terminal. And then, the vehicle-mounted module sends the notice of the recorded registration information to the cloud server, and uploads the device identification of the vehicle-mounted module to the cloud server.
And then, after receiving the device identification uploaded by the vehicle-mounted module, the cloud server binds the registration information input by the user and the device identification uploaded by the vehicle-mounted module, and stores the registration information input by the user and the device identification uploaded by the vehicle-mounted module in a database of the cloud server. And then, the cloud server feeds back registration results of the equipment terminal and the vehicle-mounted module, and the equipment terminal completes registration after receiving the feedback of the cloud server.
S202, the second registration information and the second device identification are encrypted through an encryption algorithm to generate an encrypted user identification.
Specifically, the cloud server encrypts the registration information input by the user and the device identifier uploaded by the vehicle-mounted module by using an encryption algorithm to generate a user identifier, so that the user and the vehicle-mounted module are verified according to the user identifier when the user needs to update the program of the vehicle-mounted module later.
And S203, receiving an updating instruction for updating the vehicle-mounted module.
And S204, acquiring first registration information of the user and a first device identifier of the vehicle-mounted module according to the updating instruction. Wherein the first registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, and the first device identification is a unique identification of the on-board module.
S205, judging whether the first registration information and the first equipment identification are matched with a pre-stored user identification, wherein the user identification comprises second registration information and a second equipment identification.
And S206, if the first registration information and the first equipment identifier are matched with the user identifier, sending the updating program to the vehicle-mounted module.
According to the program updating method of the vehicle-mounted module, when a user purchases a vehicle, the registration information of the user and the equipment identifier of the vehicle-mounted module are sent to the cloud server, so that the user completes legal registration at the cloud server, and when the user updates the program of the vehicle-mounted module later, the cloud server verifies the user and the vehicle-mounted module according to the legal registration information of the user, the program of the vehicle-mounted module is effectively prevented from being refreshed by illegal users, and the safety of the whole vehicle is improved.
Fig. 3 is a flowchart of a program updating method of an in-vehicle module according to another embodiment of the present invention. In an embodiment of the invention, the vehicle comprises at least one on-board module, each on-board module having a unique device identification.
As shown in fig. 3, the program updating method of the in-vehicle module includes the steps of:
s301, second registration information and a second device identification are obtained, wherein when the user purchases the vehicle, the second registration information of the user and the second device identification of the vehicle-mounted module are sent to the cloud server.
S302, the second registration information and the second device identification are encrypted through an encryption algorithm to generate an encrypted user identification.
And S303, receiving an updating instruction for updating the vehicle-mounted module.
S304, acquiring first registration information of the user and a first device identifier of the vehicle-mounted module according to the updating instruction. Wherein the first registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, and the first device identification is a unique identification of the on-board module.
S305, judging whether the first registration information and the first equipment identification are matched with a pre-stored user identification, wherein the user identification comprises second registration information and a second equipment identification.
S306, if the first registration information and the first equipment identification are judged to be matched with the user identification, the updating program and the user identification are sent to the vehicle-mounted module, so that the vehicle-mounted module judges whether the user identification is matched with the first registration information and the first equipment identification sent by the vehicle-mounted module, and when the user identification is judged to be matched with the first registration information and the first equipment identification, the program of the vehicle-mounted module is updated according to the updating program.
Specifically, after the cloud server verifies the registration information sent by the user through the device terminal and the device identifier sent by the vehicle-mounted module, the update program is sent to the vehicle-mounted module, and meanwhile the user identifier prestored in the cloud server is sent to the vehicle-mounted module. And then, the vehicle-mounted module judges whether the user identification sent by the cloud server is matched with the registration information and the equipment identification stored in the vehicle-mounted module, and if so, the program of the vehicle-mounted module is updated according to the updating program. And if not, forbidding updating the program of the vehicle-mounted module.
According to the program updating method of the vehicle-mounted module, after the registration information and the equipment identification uploaded by the vehicle are verified by the cloud server, the updating program is sent to the vehicle-mounted module, and meanwhile the user identification prestored in the cloud server is sent to the vehicle-mounted module, so that the vehicle-mounted module verifies the cloud server according to the user identification sent to the cloud server, and therefore the program updating safety of the vehicle-mounted module is further improved.
To make the present invention more clear to those skilled in the art, fig. 4 is a flowchart of a program updating method of an on-board module according to a specific example of the present invention. As shown in fig. 4, the program updating method of the in-vehicle module may include the steps of:
and S1, completing the equipment production.
And S2, when the manufacturer or the enterprise produces the vehicle-mounted module, the unique equipment identification and other information of the vehicle-mounted module are stored in the cloud server.
S3, the user registers at the 4S shop for purchase, and the user provides user identity information (e.g., identification number and cell phone number).
And S4, the user registers through the equipment terminal, accesses the cloud server, and inputs user identity information, vehicle identification codes and the like.
And S5, after receiving the registration information of the user, the cloud server sends the registration information to the vehicle-mounted module and waits for the feedback of the vehicle-mounted module.
And S6, after receiving the registration information of the user, the vehicle-mounted module records the information and feeds the information back to the cloud server result and the equipment identifier.
And S7, after receiving the feedback of the vehicle-mounted module, the cloud server records the equipment identifier, generates the user identifier by the user identity information and the equipment identifier through an encryption algorithm, and simultaneously feeds back the user identifier and the equipment identifier to the equipment terminal registration result.
And S8, after receiving the registration result feedback of the cloud server, the device terminal completes the registration.
And S9, when the user needs to update the program of the vehicle-mounted module, connecting the cloud server through the equipment terminal.
And S10, after the cloud server is connected, inputting user identity information, selecting a vehicle-mounted module for refreshing a program, and verifying the input information and the user identification in the cloud server.
And S11, judging whether the verification is successful. If yes, go to step S12; if not, step S16 is performed.
And S12, the equipment terminal downloads the updating program and the user identification of the vehicle-mounted module from the cloud server.
S13, when updating, verifying whether the device identification in the user identification is correct
And S14, judging whether the verification is successful. If yes, go to step S14; if not, step S16 is performed.
And S15, refreshing the program of the vehicle-mounted module.
And S16, finishing.
In summary, in the embodiment of the present invention, the uniformity of the programs of the vehicle-mounted devices produced by each manufacturer or enterprise can be enhanced, there is no possibility of being refreshed by an illegal user, and the vehicle-mounted devices and the programs produced by the manufacturer or enterprise are stored in the cloud server of the manufacturer or enterprise through the device identifier and the user identifier by the cloud server, and when the user updates the program of the vehicle-mounted module, the program of the vehicle-mounted block can be refreshed only through the dual verification of the cloud server and the vehicle-mounted module, so that the possibility of the program of the vehicle-mounted module produced by the manufacturer or enterprise being modified and refreshed by an external manufacturer is avoided, and the safety of the entire vehicle is improved.
Fig. 5 is a block diagram of a program updating apparatus of an in-vehicle module according to an embodiment of the present invention. In an embodiment of the invention, the vehicle comprises at least one on-board module, each on-board module having a unique device identification.
As shown in fig. 5, the program updating apparatus of the in-vehicle module includes: the device comprises a receiving module 100, a first obtaining module 200, a judging module 300 and a first sending module 400.
The receiving module 100 is configured to receive an update instruction for updating the vehicle-mounted module.
Specifically, when the user needs to update the program of the in-vehicle module, an update instruction is sent to the reception module 100. For example, the user may connect to the receiving module 100 through the device terminal and then transmit the update instruction to the receiving module 100 through the device terminal, or the user may directly transmit the update instruction to the receiving module 100 through the in-vehicle module. The device terminal can comprise a mobile phone, a tablet computer, a PC computer and the like. The vehicle may include a plurality of vehicle-mounted modules, and the user may select one vehicle-mounted module at a time through the device terminal, or may select several vehicle-mounted modules to be updated at the same time, and then generate an update instruction and send the update instruction to the receiving module 100, so as to update the program of one vehicle-mounted module or several vehicle-mounted modules at the same time.
In an embodiment of the present invention, the device terminal and the receiving module 100 may communicate through a 2G/3G network, Wifi, or the like, and the vehicle-mounted module and the receiving module 100 communicate through the vehicle-mounted 2G/3G module.
The first obtaining module 200 is configured to obtain first registration information of the user and a first device identifier of the vehicle-mounted module according to the update instruction. The first registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identification number of a user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the first device identifier is a unique identifier of the vehicle-mounted module.
Specifically, after the receiving module 100 receives the update instruction, the first obtaining module 200 receives registration information and an equipment identifier uploaded by the vehicle, where the registration information and the equipment identifier may be uploaded by a user through an equipment terminal, or uploaded by a vehicle-mounted module, or uploaded by the user through the equipment terminal, and uploaded by the vehicle-mounted module.
The determining module 300 is configured to determine whether the first registration information and the first device identifier are matched with a pre-stored user identifier, where the user identifier includes the second registration information and the second device identifier.
Specifically, the second registration information and the second device identifier may be pre-stored in the cloud server, for example, when the user purchases a vehicle, the registration information and the device identifier are sent to the cloud server for storage, where the second registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identity card number of the user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the second device identifier is a unique identifier of the vehicle-mounted module.
The first sending module 400 is configured to send the update program to the vehicle-mounted module when it is determined that the first registration information and the first device identifier match the user identifier.
Specifically, the judging module 300 matches the registration information and the device identifier uploaded by the vehicle with the user identifier pre-stored in the cloud server, and if the registration information and the device identifier uploaded by the vehicle are matched with the user identifier pre-stored in the cloud server, the judging module 300 judges that the verification is passed, and the first sending module 400 sends the update program to the vehicle-mounted module, that is, the update program downloaded by the vehicle-mounted module is allowed.
It should be understood that, when the determining module 300 determines whether the device identifier of the registered information uploaded by the vehicle matches the user identifier pre-stored in the determining module 300, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle match the user identity information, the vehicle identification code and the service code of the vehicle provider pre-stored in the cloud server, it is determined that the registered information uploaded by the vehicle matches the registered information in the user identifier. Or, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle are matched with one or two of the user identity information, the vehicle identification code and the service code of the vehicle provider prestored by the cloud server, it may also be determined that the registration information uploaded by the vehicle is matched with the registration information in the user identifier, and the determining module 300 may be set according to actual requirements.
In an embodiment of the present invention, as shown in fig. 6, the program updating apparatus of the vehicle-mounted module may further include a prompt module 500, configured to generate a prompt message indicating that the authentication fails when it is determined that the first registration information and the first device identifier do not match the user identifier. The first sending module 400 is further configured to prohibit sending the update program to the vehicle-mounted module and send the prompt message indicating that the verification fails to the vehicle-mounted module when it is determined that the first registration information and the first device identifier are not matched with the user identifier.
Specifically, if the registration information and the device identifier uploaded by the vehicle do not match the user identifier pre-stored in the determination module 300, the determination module 300 determines that the verification fails, at this time, the prompt module 500 generates prompt information of the verification failure, and the first sending module 400 prohibits sending the update program to the vehicle-mounted module and sends the prompt information of the verification failure to the vehicle-mounted module. In addition, the first sending module 400 may also send information of the authentication failure to the device terminal, thereby prompting the user to perform authentication again.
In an embodiment of the present invention, as shown in fig. 7, the program updating apparatus of the in-vehicle module may further include: a second obtaining module 600, a second sending module 700 and a generating module 800.
The second obtaining module 600 is configured to obtain second registration information and a second device identifier, where the user sends the second registration information of the user and the second device identifier of the vehicle-mounted module to the cloud server when purchasing a vehicle.
Specifically, when a user purchases a vehicle, the user can connect to the cloud server through the device terminal, and input the identity information, the vehicle identification code, and the service code of the 4S store of the user into the device terminal, the device terminal sends the registration information input by the user to the cloud server, and the cloud server waits for the vehicle feedback information bound by the user registration after receiving the registration information through the second obtaining module 600.
The second sending module 700 is configured to send the second registration information to the vehicle-mounted module, so that the vehicle-mounted module stores the second registration information.
Specifically, the second sending module 700 sends the registration information input by the user to the in-vehicle module, so that the in-vehicle module records the registration information. Or, the device terminal is connected to a vehicle purchased by the user, and the vehicle-mounted module receives the registration information input by the user from the device terminal. And then, the vehicle-mounted module sends the notice of the recorded registration information to the cloud server, and uploads the device identification of the vehicle-mounted module to the cloud server.
And then, after receiving the device identification uploaded by the vehicle-mounted module, the cloud server binds the registration information input by the user and the device identification uploaded by the vehicle-mounted module, and stores the registration information input by the user and the device identification uploaded by the vehicle-mounted module in a database of the cloud server. And then, the cloud server feeds back registration results of the equipment terminal and the vehicle-mounted module, and the equipment terminal completes registration after receiving the feedback of the cloud server.
The generating module 800 is configured to encrypt the second registration information and the second device identifier by using an encryption algorithm to generate an encrypted user identifier.
Specifically, the generation module 800 encrypts the registration information input by the user and the device identifier uploaded by the vehicle-mounted module by using an encryption algorithm to generate a user identifier, so that the user and the vehicle-mounted module are verified according to the user identifier when the user needs to update the program of the vehicle-mounted module later.
In an embodiment of the present invention, the first sending module 400 is further configured to send the update program and the user identifier to the vehicle-mounted module, so that the vehicle-mounted module determines whether the user identifier matches the first registration information and the first device identifier sent by the vehicle-mounted module, and updates the program of the vehicle-mounted module according to the update program when the user identifier matches the first registration information and the first device identifier
Specifically, after the first sending module 400 verifies the registration information sent by the user through the device terminal and the device identifier sent by the vehicle-mounted module, the update program is sent to the vehicle-mounted module, and meanwhile, the user identifier pre-stored in the cloud server is sent to the vehicle-mounted module. And then, the vehicle-mounted module judges whether the user identification sent by the cloud server is matched with the registration information and the equipment identification stored in the vehicle-mounted module, and if so, the program of the vehicle-mounted module is updated according to the updating program. And if not, forbidding updating the program of the vehicle-mounted module.
In summary, in the embodiment of the present invention, the uniformity of the programs of the vehicle-mounted devices produced by each manufacturer or enterprise can be enhanced, there is no possibility of being refreshed by an illegal user, and the vehicle-mounted devices and programs produced by the manufacturers or enterprises are stored in the program updating device of the manufacturers or enterprises through the device identifiers and the user identifiers by the program updating device, and when the user updates the programs of the vehicle-mounted modules, the programs of the vehicle-mounted blocks can be refreshed only through the dual verification of the program updating device and the vehicle-mounted modules, so that the possibility of the programs of the vehicle-mounted modules produced by the manufacturers or enterprises being modified and refreshed by external manufacturers is avoided, and the safety of the entire vehicle is improved.
According to the program updating device of the vehicle-mounted module, the receiving module receives an updating instruction for updating the vehicle-mounted module, the first obtaining module obtains first registration information of a user and a first device identification of the vehicle-mounted module according to the updating instruction, the judging module judges whether the first registration information and the first device identification are matched with a prestored user identification or not, the user identification comprises second registration information and a second device identification, and the first sending module sends the updating program to the vehicle-mounted module when judging that the first registration information and the first device identification are matched with the user identification. Therefore, the device can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and the safety of the whole vehicle is improved.
In order to implement the above embodiment, the invention further provides a cloud server.
In the embodiment of the invention, the cloud server is used for judging whether the first registration information of the user and the first device identifier of the vehicle-mounted module are matched with the pre-stored user identifier or not, and sending the updating program to the vehicle-mounted module through the wireless communication module when the first registration information and the first device identifier are judged to be matched with the user identifier, wherein the user identifier comprises the second registration information and the second device identifier. Specifically, when the user needs to update the program of the vehicle-mounted module, the update instruction is sent to the cloud server. For example, the user may connect to the cloud server through the device terminal, and then send the update instruction to the cloud server through the device terminal, or the user directly sends the update instruction to the cloud server through the vehicle-mounted module. The device terminal can comprise a mobile phone, a tablet computer, a PC computer and the like. The vehicle can include a plurality of vehicle-mounted modules, and the user can select one vehicle-mounted module at a time through the equipment terminal, also can select several vehicle-mounted modules that need to be updated simultaneously, then generates the update instruction and sends to the cloud server to update the program of one vehicle-mounted module or several vehicle-mounted modules simultaneously. The device terminal and the cloud server can communicate in modes such as a 2G/3G/4G network and Wifi, and the vehicle-mounted module and the cloud server communicate through a vehicle-mounted 2G/3G/4G module.
After receiving the update instruction, the cloud server receives registration information and an equipment identifier uploaded by the vehicle, wherein the registration information and the equipment identifier can be uploaded by a user through an equipment terminal or an on-board module, or the registration information is uploaded by the user through the equipment terminal, and the equipment identifier is uploaded by the on-board module.
In addition, the second registration information and the second device identifier may be pre-stored in the cloud server, for example, when the user purchases a vehicle, the registration information and the device identifier are sent to the cloud server through the device terminal to be stored, so that the cloud server encrypts the second registration information and the second device identifier according to an encryption algorithm to generate a user identifier for verifying whether the update program of the vehicle-mounted module is allowed to be downloaded. The second registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identity card number of the user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the second device identifier is a unique identifier of the vehicle-mounted module.
In addition, the cloud server matches the registration information and the equipment identification uploaded by the vehicle with the user identification prestored in the cloud server, and if the registration information and the equipment identification uploaded by the vehicle are matched with the user identification prestored in the cloud server, the cloud server judges that the verification is passed and allows the vehicle-mounted module to download the updating program.
It should be understood that, when the cloud server determines whether the device identifier of the registration information uploaded by the vehicle matches the user identifier pre-stored in the cloud server, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle match the user identity information, the vehicle identification code and the service code of the vehicle provider pre-stored in the cloud server, it determines that the registration information uploaded by the vehicle matches the registration information in the user identifier. Or, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle are matched with one or two of the user identity information, the vehicle identification code and the service code of the vehicle provider prestored by the cloud server, it can be judged that the registration information uploaded by the vehicle is matched with the registration information in the user identification, and the cloud server can be set according to actual requirements.
In an embodiment of the present invention, the cloud server is further configured to prohibit sending the update program to the vehicle-mounted module, generate prompt information indicating that the verification fails, and send the prompt information indicating that the verification fails to the vehicle-mounted module through the wireless communication module when it is determined that the first registration information and the first device identifier are not matched with the user identifier.
Specifically, if the registration information uploaded by the vehicle and the device identification are not matched with the user identification pre-stored in the cloud server, the cloud server judges that the verification fails, at the moment, the cloud server prohibits sending the updating program to the vehicle-mounted module, generates prompt information of the verification failure, and sends the prompt information of the verification failure to the vehicle-mounted module. In addition, the cloud server can also send information of verification failure to the equipment terminal, so that the user is prompted to conduct verification again.
In an embodiment of the present invention, the cloud server is further configured to obtain second registration information and a second device identifier, where the device terminal is configured to send the second registration information of the user to the cloud server when the user purchases a vehicle; the vehicle-mounted module is also used for sending a second equipment identifier of the vehicle-mounted module to the cloud server through the wireless communication module when the user purchases the vehicle; the cloud server is further used for encrypting the second registration information and the second device identification through an encryption algorithm to generate an encrypted user identification.
In an embodiment of the present invention, the cloud server is further configured to send the second registration information to the vehicle-mounted module through the wireless communication module; the vehicle-mounted module is also used for storing second registration information.
In an embodiment of the present invention, the cloud server is further configured to send the update program and the user identifier to the vehicle-mounted module through the wireless communication module; the vehicle-mounted module is also used for judging whether the user identification is matched with the first registration information and the first equipment identification sent by the vehicle-mounted module, and updating the program of the vehicle-mounted module according to the updating program when the user identification is judged to be matched with the first registration information and the first equipment identification.
It should be noted that the explanation of the embodiment of the program updating method for the vehicle-mounted module is also applicable to the cloud server of the embodiment, and is not repeated herein.
In summary, in the embodiment of the present invention, the uniformity of the programs of the vehicle-mounted devices produced by each manufacturer or enterprise can be enhanced, there is no possibility of being refreshed by an illegal user, and the vehicle-mounted devices and the programs produced by the manufacturer or enterprise are stored in the cloud server of the manufacturer or enterprise through the device identifier and the user identifier by the cloud server, and when the user updates the program of the vehicle-mounted module, the program of the vehicle-mounted block can be refreshed only through the dual verification of the cloud server and the vehicle-mounted module, so that the possibility of the program of the vehicle-mounted module produced by the manufacturer or enterprise being modified and refreshed by an external manufacturer is avoided, and the safety of the entire vehicle is improved.
According to the cloud server provided by the embodiment of the invention, the cloud server judges whether the first registration information of the user and the first equipment identifier of the vehicle-mounted module are matched with the prestored user identifier, and sends the updating program to the vehicle-mounted module through the wireless communication module when the first registration information and the first equipment identifier are judged to be matched with the user identifier. Therefore, the cloud server can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and the safety of the whole vehicle is improved.
FIG. 8 is a block diagram of a program update system for an on-board module in accordance with one embodiment of the present invention.
As shown in fig. 8, the program update system of the in-vehicle module includes: the system comprises an on-board module 10, a cloud server 20, a wireless communication module 30 and a device terminal 40.
The device terminal 40 is configured to send an update instruction for updating the vehicle-mounted module 10 to the cloud server 20, and send first registration information of the user to the cloud server 20. The vehicle-mounted module 10 is configured to send the first device identifier of the vehicle-mounted module 10 to the cloud server 20 through the wireless communication module 30. The cloud server 20 is configured to determine whether the first registration information and the first device identifier are matched with a pre-stored user identifier, and send the update program to the vehicle-mounted module 10 through the wireless communication module 30 when determining that the first registration information and the first device identifier are matched with the user identifier, where the user identifier includes the second registration information and the second device identifier. The first registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identification number of a user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the first device identifier is a unique identifier of the vehicle-mounted module.
Specifically, when the user needs to update the program of the in-vehicle module, an update instruction is sent to the cloud server 20. For example, the user may connect to the cloud server 20 through the device terminal 40 and then send the update instruction to the cloud server 20 through the device terminal 40, or the user may send the update instruction directly to the cloud server 20 through the in-vehicle module 10. The device terminal 40 may include a mobile phone, a tablet computer, a PC computer, and the like. The vehicle may include a plurality of vehicle-mounted modules, and the user may select one vehicle-mounted module 10 at a time through the device terminal 40, or may select several vehicle-mounted modules 10 that need to be updated at the same time, and then generate an update instruction and send the update instruction to the cloud server 20, so as to update the program of one vehicle-mounted module 10 or several vehicle-mounted modules 10 at the same time. The device terminal 40 and the cloud server 20 can communicate in modes such as a 2G/3G/4G network and Wifi, and the vehicle-mounted module 10 and the cloud server 20 communicate through a vehicle-mounted 2G/3G/4G module.
After the cloud server 20 receives the update instruction, the cloud server 20 receives registration information and a device identifier uploaded by the vehicle, where the registration information and the device identifier may be uploaded by the user through the device terminal 40 or the vehicle-mounted module 10, or the registration information is uploaded by the user through the device terminal 40 and the device identifier is uploaded by the vehicle-mounted module 10.
In addition, the second registration information and the second device identifier may be pre-stored in the cloud server 20, for example, when the user purchases the vehicle, the registration information and the device identifier are sent to the cloud server 20 through the device terminal 40 to be stored, so that the cloud server 20 encrypts the second registration information and the second device identifier according to an encryption algorithm to generate the user identifier for verifying whether the update program of the in-vehicle module 10 is allowed to be downloaded. The second registration information includes, but is not limited to, one or more of user identity information, a vehicle identification code, and a service code of a vehicle provider, the user identity information includes, but is not limited to, an identity card number of the user, a mobile phone, and the like, the service code of the vehicle provider may be a code of a 4S shop, and the second device identifier is a unique identifier of the vehicle-mounted module.
In addition, the cloud server 20 matches the registration information and the device identifier uploaded by the vehicle with the user identifier pre-stored in the cloud server 20, and if the registration information and the device identifier uploaded by the vehicle match the user identifier pre-stored in the cloud server 20, the cloud server 20 determines that the verification is passed and allows the update program downloaded by the vehicle-mounted module 10.
It should be understood that, when the cloud server 20 determines whether the device identifier of the registration information uploaded by the vehicle matches the user identifier pre-stored in the cloud server 20, if the user identity information, the vehicle identification code and the service code of the vehicle provider uploaded by the vehicle match the user identity information, the vehicle identification code and the service code of the vehicle provider pre-stored in the cloud server 20, it determines that the registration information uploaded by the vehicle matches the registration information in the user identifier. Or, if the user identity information, the vehicle identification code, and the service code of the vehicle provider uploaded by the vehicle are matched with one or two of the user identity information, the vehicle identification code, and the service code of the vehicle provider prestored by the cloud server 20, it may also be determined that the registration information uploaded by the vehicle is matched with the registration information in the user identifier, and the cloud server 20 may be set according to actual requirements.
In summary, in the embodiment of the present invention, the uniformity of the programs of the vehicle-mounted devices produced by each manufacturer or enterprise can be enhanced, there is no possibility of being refreshed by an illegal user, and the vehicle-mounted devices and the programs produced by the manufacturer or enterprise are stored in the cloud server of the manufacturer or enterprise through the device identifier and the user identifier by the cloud server, and when the user updates the program of the vehicle-mounted module, the program of the vehicle-mounted block can be refreshed only through the dual verification of the cloud server and the vehicle-mounted module, so that the possibility of the program of the vehicle-mounted module produced by the manufacturer or enterprise being modified and refreshed by an external manufacturer is avoided, and the safety of the entire vehicle is improved.
According to the program updating system of the vehicle-mounted module, the device terminal sends an updating instruction for updating the vehicle-mounted module to the cloud server and sends the first registration information of the user to the cloud server, the vehicle-mounted module sends the first device identification of the vehicle-mounted module to the cloud server through the wireless communication module, the cloud server judges whether the first registration information and the first device identification are matched with the prestored user identification or not, and sends the updating program to the vehicle-mounted module through the wireless communication module when the first registration information and the first device identification are judged to be matched with the user identification, wherein the user identification comprises the second registration information and the second device identification. Therefore, the system can avoid the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer, and the safety of the whole vehicle is improved.
In order to implement the above embodiment, the present invention further provides a vehicle including the program updating apparatus of the above vehicle-mounted module.
According to the vehicle provided by the embodiment of the invention, the possibility that the program of the vehicle-mounted module produced by a manufacturer or an enterprise is modified and refreshed by an external manufacturer can be avoided through the program updating device of the vehicle-mounted module or the program updating system of the vehicle-mounted module, and the safety of the whole vehicle is improved.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integral; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (13)

1. A program updating method for on-board modules, characterized in that a vehicle comprises at least one on-board module, each on-board module having a unique device identification, the program updating method comprising the steps of:
receiving an updating instruction for updating the vehicle-mounted module;
acquiring first registration information of a user and a first equipment identifier of the vehicle-mounted module according to the updating instruction;
judging whether the first registration information and the first equipment identification are matched with a pre-stored user identification or not, wherein the user identification comprises second registration information and a second equipment identification;
if the first registration information and the first equipment identification are judged to be matched with the user identification, an updating program and the user identification are sent to the vehicle-mounted module, so that the vehicle-mounted module judges whether the user identification is matched with the first registration information and the first equipment identification sent by the vehicle-mounted module, and when the user identification is judged to be matched with the first registration information and the first equipment identification, the program of the vehicle-mounted module is updated according to the updating program;
before the receiving of the update instruction for updating the on-board module, the method further includes:
acquiring the second registration information and the second equipment identification, wherein the second registration information of the user and the second equipment identification of the vehicle-mounted module are sent to a cloud server when the user purchases the vehicle;
and encrypting the second registration information and the second equipment identification through an encryption algorithm to generate the encrypted user identification.
2. The program updating method according to claim 1, wherein if it is determined that the first registration information and the first device identifier do not match the user identifier, the update program is prohibited from being sent to the on-vehicle module, a prompt message indicating that the verification fails is generated, and the prompt message indicating that the verification fails is sent to the on-vehicle module.
3. The program update method according to claim 1, further comprising, before acquiring the second device identifier:
and sending the second registration information to the vehicle-mounted module so that the vehicle-mounted module stores the second registration information.
4. The program update method according to any one of claims 1 to 3, wherein the first registration information and the second registration information include user identification information, a vehicle identification code, and a service code of a vehicle provider.
5. A program updating apparatus of an on-board module, wherein a vehicle includes at least one on-board module, each on-board module having a unique device identification, the program updating apparatus comprising:
the receiving module is used for receiving an updating instruction for updating the vehicle-mounted module;
the first acquisition module is used for acquiring first registration information of a user and a first equipment identifier of the vehicle-mounted module according to the updating instruction;
the judging module is used for judging whether the first registration information and the first equipment identifier are matched with a prestored user identifier or not, wherein the user identifier comprises second registration information and a second equipment identifier;
the first sending module is used for sending an updating program and the user identifier to the vehicle-mounted module when the first registration information and the first equipment identifier are judged to be matched with the user identifier, so that the vehicle-mounted module judges whether the user identifier is matched with the first registration information and the first equipment identifier sent by the vehicle-mounted module, and updates the program of the vehicle-mounted module according to the updating program when the user identifier is judged to be matched with the first registration information and the first equipment identifier;
further comprising:
the second acquisition module is used for acquiring the second registration information and the second equipment identifier, wherein the second registration information of the user and the second equipment identifier of the vehicle-mounted module are sent to a cloud server when the user purchases the vehicle;
and the generating module is used for encrypting the second registration information and the second equipment identifier through an encryption algorithm to generate the encrypted user identifier.
6. The program updating apparatus according to claim 5, further comprising:
the prompt module is used for generating prompt information of verification failure when the first registration information and the first equipment identifier are judged not to be matched with the user identifier;
the first sending module is further configured to prohibit sending the update program to the vehicle-mounted module and send the prompt message of the verification failure to the vehicle-mounted module when it is determined that the first registration information and the first device identifier are not matched with the user identifier.
7. The program updating apparatus according to claim 5, further comprising:
and the second sending module is used for sending the second registration information to the vehicle-mounted module so that the vehicle-mounted module stores the second registration information.
8. The program updating apparatus according to any one of claims 5 to 7, wherein the first registration information and the second registration information include user identification information, a vehicle identification code, and a service code of a vehicle provider.
9. A cloud server is used for acquiring second registration information and a second device identifier, wherein when a user purchases a vehicle, the second registration information of the user and the second device identifier of a vehicle-mounted module are sent to the cloud server, the second registration information and the second device identifier are encrypted through an encryption algorithm to generate an encrypted user identifier, whether a first registration information of the user and a first device identifier of the vehicle-mounted module are matched with a pre-stored user identifier is judged, and when the first registration information and the first device identifier are judged to be matched with the user identifier, an updating program and the user identifier are sent to the vehicle-mounted module through a wireless communication module, so that the vehicle-mounted module judges whether the user identifier is matched with the first registration information and the first device identifier sent by the vehicle-mounted module, and when the user identification is judged to be matched with the first registration information and the first equipment identification, updating the program of the vehicle-mounted module according to the updating program, wherein the user identification comprises second registration information and a second equipment identification.
10. The cloud server of claim 9, wherein the cloud server is further configured to prohibit sending the update program to the vehicle-mounted module, generate a prompt message indicating that the verification fails, and send the prompt message indicating that the verification fails to the vehicle-mounted module through the wireless communication module when it is determined that the first registration information and the first device identifier are not matched with the user identifier.
11. The cloud server of claim 9, wherein the cloud server is further configured to send the second registration information to the vehicle-mounted module through the wireless communication module;
the vehicle-mounted module is also used for storing the second registration information.
12. A program update system for an in-vehicle module, comprising: at least one vehicle-mounted module, a cloud server, a wireless communication module and a device terminal, wherein each vehicle-mounted module has a unique device identifier,
the device terminal is used for sending an updating instruction for updating the vehicle-mounted module to the cloud server and sending first registration information of the user to the cloud server;
the vehicle-mounted module is used for sending a first equipment identifier of the vehicle-mounted module to the cloud server through the wireless communication module;
the cloud server is used for acquiring second registration information and a second equipment identifier, wherein when the user purchases a vehicle, the second registration information of the user and the second equipment identifier of the vehicle-mounted module are sent to the cloud server, the second registration information and the second equipment identifier are encrypted through an encryption algorithm to generate an encrypted user identifier, whether the first registration information and the first equipment identifier are matched with a prestored user identifier is judged, and when the first registration information and the first equipment identifier are judged to be matched with the user identifier, an updating program and the user identifier are sent to the vehicle-mounted module through the wireless communication module, so that the vehicle-mounted module judges whether the user identifier is matched with the first registration information and the first equipment identifier sent by the vehicle-mounted module, and when the user identification is judged to be matched with the first registration information and the first equipment identification, updating the program of the vehicle-mounted module according to the updating program, wherein the user identification comprises second registration information and a second equipment identification.
13. A vehicle, characterized in that a program updating device of an on-board module according to any one of claims 5-8 is provided.
CN201610602214.5A 2016-07-27 2016-07-27 Updating method and device of vehicle-mounted module, cloud server, system and vehicle Active CN107666498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610602214.5A CN107666498B (en) 2016-07-27 2016-07-27 Updating method and device of vehicle-mounted module, cloud server, system and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610602214.5A CN107666498B (en) 2016-07-27 2016-07-27 Updating method and device of vehicle-mounted module, cloud server, system and vehicle

Publications (2)

Publication Number Publication Date
CN107666498A CN107666498A (en) 2018-02-06
CN107666498B true CN107666498B (en) 2021-05-14

Family

ID=61114008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610602214.5A Active CN107666498B (en) 2016-07-27 2016-07-27 Updating method and device of vehicle-mounted module, cloud server, system and vehicle

Country Status (1)

Country Link
CN (1) CN107666498B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243260A (en) * 2018-02-12 2018-07-03 北京车和家信息技术有限公司 A kind of sound field mode treatment method, car-mounted terminal, cloud server and vehicle
CN110298936B (en) * 2018-03-22 2021-04-20 比亚迪股份有限公司 Vehicle key configuration method, system and equipment thereof
JP7225596B2 (en) * 2018-07-30 2023-02-21 トヨタ自動車株式会社 Program update system, program update server and vehicle
CN110798833B (en) * 2018-08-03 2023-10-24 华为技术有限公司 Method and device for verifying user equipment identification in authentication process
CN109343875A (en) * 2018-08-30 2019-02-15 百度在线网络技术(北京)有限公司 Application program update processing method, device, automatic driving vehicle and server
CN109373506A (en) * 2018-10-29 2019-02-22 珠海格力电器股份有限公司 A kind of control method and system of air-conditioning
CN112688948B (en) * 2020-12-25 2023-01-10 珠海西山居数字科技有限公司 Object processing method and device
CN113194147B (en) * 2021-04-29 2022-04-29 东风汽车集团股份有限公司 Vehicle equipment information synchronization method and system
CN113691623A (en) * 2021-08-24 2021-11-23 奇瑞新能源汽车股份有限公司 Software configuration method and device of vehicle-mounted Tbox and cloud platform
CN114928639B (en) * 2022-04-22 2023-12-05 中国第一汽车股份有限公司 Information management system
CN117851980A (en) * 2022-09-30 2024-04-09 比亚迪股份有限公司 Vehicle-mounted application activation method and device, vehicle-mounted equipment, vehicle and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003141338A (en) * 2001-11-05 2003-05-16 Tsubasa System Co Ltd Centralized customer management system and centralized customer management method
CN102118366A (en) * 2009-12-31 2011-07-06 上海博泰悦臻电子设备制造有限公司 Vehicle system, service platform and binding method of users and vehicle equipment information
CN103826216A (en) * 2012-11-16 2014-05-28 中国移动通信集团公司 Method and system for detecting whether vehicle and vehicle-borne terminal are matched at network side
CN104301343A (en) * 2013-07-17 2015-01-21 腾讯科技(深圳)有限公司 Database updating method and relevant equipment and system
CN105187450A (en) * 2015-10-08 2015-12-23 飞天诚信科技股份有限公司 Authentication method and device based on authentication equipment
CN105468385A (en) * 2014-08-27 2016-04-06 比亚迪股份有限公司 Software updating system and method for vehicle-mounted electronic device
CN105589719A (en) * 2015-12-17 2016-05-18 广州汽车集团股份有限公司 System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003141338A (en) * 2001-11-05 2003-05-16 Tsubasa System Co Ltd Centralized customer management system and centralized customer management method
CN102118366A (en) * 2009-12-31 2011-07-06 上海博泰悦臻电子设备制造有限公司 Vehicle system, service platform and binding method of users and vehicle equipment information
CN103826216A (en) * 2012-11-16 2014-05-28 中国移动通信集团公司 Method and system for detecting whether vehicle and vehicle-borne terminal are matched at network side
CN104301343A (en) * 2013-07-17 2015-01-21 腾讯科技(深圳)有限公司 Database updating method and relevant equipment and system
CN105468385A (en) * 2014-08-27 2016-04-06 比亚迪股份有限公司 Software updating system and method for vehicle-mounted electronic device
CN105187450A (en) * 2015-10-08 2015-12-23 飞天诚信科技股份有限公司 Authentication method and device based on authentication equipment
CN105589719A (en) * 2015-12-17 2016-05-18 广州汽车集团股份有限公司 System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof

Also Published As

Publication number Publication date
CN107666498A (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN107666498B (en) Updating method and device of vehicle-mounted module, cloud server, system and vehicle
US11288903B2 (en) Method and system for establishing wireless communications services to a vehicle
US11295017B2 (en) Over-the-air updates security
CN109314639B (en) Management system, key generation device, vehicle-mounted computer, management method, and recording medium
CN109413009B (en) Method for over-the-air upgrading of vehicle firmware and computer readable storage medium
KR101378784B1 (en) Method for the Protection of a Movable Object, especially a Vehicle, against Unauthorized Use
CN108122311B (en) Vehicle virtual key implementation method and system
KR20200135775A (en) Secure communication between electronic control units in the vehicle
CN107710672A (en) Software distribution processing unit, vehicle, software distribution processing method and computer program
CN107251106A (en) The method securely transmitted for virtual key and the mirror method for distinguishing for mobile terminal
CN107277033B (en) Charging and battery replacing equipment and authentication method and system for object to be charged and battery replaced
CN104703170A (en) Methods and equipment for downloading file of operator
CN109895734B (en) Authorized Bluetooth key activation method and system, storage medium and T-BOX
CN103477666A (en) Connecting mobile devices, Internet-connected vehicles, and cloud services
CN106850311B (en) Data security transmission system and method for firmware upgrade
US20170118023A1 (en) Method for authorizing a software update in a motor vehicle
CN101194229A (en) Updating of data instructions
CN104158819A (en) Safety authentication method of vehicle-mounted information entertainment terminal
CN103677892A (en) Authorization scheme to enable special privilege mode in secure electronic control unit
CN103679005A (en) Method to enable development mode of a secure electronic control unit
CN111147260B (en) Vehicle key generation and issuance method and device
CN105450416A (en) Security authentication method and apparatus
US10075576B1 (en) Starting a machine through a mobile device
JP2013258491A (en) Car sharing system and car sharing provisioning method
US10090997B2 (en) Method for changing an authentication key

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