Data security verification method, device and equipment, vehicle and storage medium
Through triple verification of user identity confirmation, data encryption and vehicle information verification, the problem of upgrade data security during the FPGA device software upgrade process is solved, ensuring the security of the vehicle management system, preventing illegal upgrade packages from being loaded, and ensuring driving safety. Safety.
Patent Information
- Application Number
- CN202310341948.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, during the software upgrade process of the FPGA device of the vehicle management system, the upgrade data is vulnerable to attacks during network transmission, causing illegal upgrade packages to be loaded into the vehicle terminal, causing potential risks to driving safety.
Triple verification is performed through user identity confirmation, data encryption and vehicle information verification to ensure the security of upgrade data and prevent illegal upgrade package loading. The specific method includes receiving the upgrade prompt information and then sending the identity verification information, receiving the encrypted upgrade data and decrypting it, and then performing the software upgrade after judging that the upgraded vehicle information is consistent with the own vehicle information.
It effectively prevents illegal upgrade packages from being loaded into the vehicle terminal, ensures the safety of the vehicle, and prevents potential driving safety hazards caused by software upgrades.
Smart Images

Figure CN118734290A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle intelligence technology, and in particular to a data security verification method, device, equipment, vehicle and storage medium. Background Art
[0002] In the prior art, Field Programmable Gate Array (FPGA) devices are important components of vehicle management systems. After the vehicle is delivered, the software in the FPGA needs to be upgraded and maintained in order to improve the system management and maintenance capabilities of the vehicle. The main method for upgrading the software in the FPGA device is to download the upgrade data package from the cloud server through Over-the-Air Technology (OTA) to upgrade the software.
[0003] The upgrade software package is very likely to be attacked during network transmission, causing illegal upgrade packages to be loaded into the vehicle terminal, which will eventually cause the vehicle to lose control and cause driving safety hazards. Therefore, security checks on upgrade data are an urgent problem to be solved. Summary of the invention
[0004] The present invention provides a data security verification method, device, equipment, vehicle and storage medium, which performs triple verification through user identity confirmation, data encryption and vehicle information verification, thereby ensuring the safe download of data and preventing illegal upgrade packages from being loaded into the vehicle terminal, causing the vehicle to lose control and posing a driving safety hazard.
[0005] In a first aspect, an embodiment of the present disclosure provides a data security verification method, which is applied to a vehicle-mounted terminal, wherein the vehicle-mounted terminal is in communication connection with the cloud server, and includes:
[0006] After receiving the upgrade prompt information sent by the cloud server, sending identity authentication information to the cloud server, so that the cloud server determines whether the identity authentication information is consistent with the preset identity information;
[0007] receiving encrypted upgrade data sent by the cloud server, wherein the upgrade data is sent by the cloud server when the cloud server determines that the identity authentication information is consistent with the preset identity information;
[0008] Decrypting the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data;
[0009] Determining whether the upgraded vehicle information is consistent with the vehicle information of the vehicle;
[0010] If the upgraded vehicle information is consistent with the vehicle information of the vehicle itself, software upgrade is performed based on the upgraded software package.
[0011] In one embodiment of the present disclosure, sending identity authentication information to the cloud server includes:
[0012] Sending the current user ID and current user password to the cloud server; and / or
[0013] A dynamic verification code corresponding to the current user identification is sent to the cloud server through a third-party terminal connected to the vehicle-mounted terminal.
[0014] In one embodiment of the present disclosure, the vehicle information includes a combination of at least one or more of the following information: a vehicle unique identification code, a vehicle hardware status, a vehicle configuration word;
[0015] Determining whether the upgraded vehicle information is consistent with the vehicle information of the vehicle includes:
[0016] Determining whether the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle;
[0017] If the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle, determining whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle;
[0018] If the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle, determining whether the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle;
[0019] If the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle, it is determined that the upgraded vehicle information is consistent with the vehicle information of the own vehicle;
[0020] If the vehicle unique identification code included in the upgraded vehicle information is inconsistent with the vehicle unique identification code included in the vehicle information of the own vehicle, or the vehicle hardware status included in the upgraded vehicle information is inconsistent with the vehicle hardware status included in the vehicle information of the own vehicle, or the vehicle configuration word included in the upgraded vehicle information is inconsistent with the vehicle configuration word included in the vehicle information of the own vehicle, then it is determined that the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle.
[0021] In one embodiment of the present disclosure, the method further comprises:
[0022] If the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle, software upgrade based on the upgraded software package is prohibited;
[0023] The inconsistent information included in the vehicle information is sent to the cloud server.
[0024] In one embodiment of the present disclosure, after receiving the encrypted upgrade data sent by the cloud server, the method further includes:
[0025] Performing data verification on the encrypted upgrade data;
[0026] If the verification is passed, the encrypted upgrade data is decrypted to obtain the upgrade software package and upgrade vehicle information included in the upgrade data;
[0027] If the verification fails, the encrypted upgrade data sent by the cloud server is received again.
[0028] In a second aspect, a data security verification method is provided in an embodiment of the present disclosure. The method is applied to a cloud server, and the cloud server is communicatively connected with the vehicle terminal, including:
[0029] Integrate the received upgrade software package and the acquired upgrade vehicle information to obtain upgrade data;
[0030] The upgrade prompt information sent to the vehicle terminal, so that the vehicle terminal sends identity authentication information to the cloud server after receiving the upgrade prompt information;
[0031] Receiving identity authentication information sent by the vehicle-mounted terminal;
[0032] Determining whether the identity verification information is consistent with the preset identity information;
[0033] If the identity verification information is consistent with the preset identity information, encrypting the upgrade data to obtain encrypted upgrade data;
[0034] The encrypted upgrade data is sent to the vehicle-mounted terminal so that the vehicle-mounted terminal decrypts the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data, and determines whether the upgrade vehicle information is consistent with the vehicle information of the vehicle. If the upgrade vehicle information is consistent with the vehicle information of the vehicle, software upgrade is performed based on the upgrade software package.
[0035] In one embodiment of the present disclosure, before integrating the received upgrade software package and the acquired upgrade vehicle information, the method further includes:
[0036] Receive upgrade packages;
[0037] Performing data verification on the upgrade software package;
[0038] If the verification is passed, the upgraded vehicle information is obtained, and the received upgrade software package and the obtained upgraded vehicle information are integrated to obtain the upgrade data;
[0039] If the verification fails, the upgrade software package is received again.
[0040] In a third aspect, an embodiment of the present disclosure provides a data security verification device, characterized in that the device is configured on a vehicle-mounted terminal, and the vehicle-mounted terminal is communicatively connected with the cloud server, including:
[0041] An identity authentication information sending module, configured to send identity authentication information to the cloud server after receiving the upgrade prompt information sent by the cloud server, so that the cloud server determines whether the identity authentication information is consistent with the preset identity information;
[0042] An upgrade data receiving module, used to receive the encrypted upgrade data sent by the cloud server, wherein the upgrade data is sent by the cloud server when the cloud server determines that the identity authentication information is consistent with the preset identity information;
[0043] An upgrade data decryption module, used to decrypt the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data;
[0044] A vehicle information determination module, used to determine whether the upgraded vehicle information is consistent with the vehicle information of the vehicle;
[0045] The software upgrade module is used to perform software upgrade based on the upgrade software package if the upgrade vehicle information is consistent with the vehicle information of the vehicle.
[0046] In one embodiment of the present disclosure, the identity authentication information sending module includes: an identification and password sending unit, used to send the current user identification and the current user password to the cloud server; an identification and verification code sending unit, used to send a dynamic verification code corresponding to the current user identification to the cloud server via a third-party terminal connected to the vehicle-mounted terminal.
[0047] In one embodiment of the present disclosure, the vehicle information includes a combination of at least one or more of the following information: a vehicle unique identification code, a vehicle hardware status, and a vehicle configuration word; the vehicle information judgment module includes: a unique identification code judgment unit, used to judge whether the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle; a vehicle hardware status judgment unit, used to judge whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle if the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle; a vehicle configuration word judgment unit, used to judge whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle if the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle. It is then determined whether the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle; a vehicle information consistency determination unit is used to determine that the upgraded vehicle information is consistent with the vehicle information of the own vehicle if the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle; a vehicle information inconsistency determination unit is used to determine that the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle if the vehicle unique identification code included in the upgraded vehicle information is inconsistent with the vehicle unique identification code included in the vehicle information of the own vehicle, or the vehicle hardware status included in the upgraded vehicle information is inconsistent with the vehicle hardware status included in the vehicle information of the own vehicle, or the vehicle configuration word included in the upgraded vehicle information is inconsistent with the vehicle configuration word included in the vehicle information of the own vehicle.
[0048] In one embodiment of the present disclosure, the device also includes: a software upgrade prohibition module, which is used to prohibit software upgrades based on the upgrade software package if the upgraded vehicle information is inconsistent with the vehicle information of the vehicle; and an inconsistent information sending module, which is used to send inconsistent information included in the vehicle information to the cloud server.
[0049] In one embodiment of the present disclosure, the upgrade data verification module is used to perform data verification on the encrypted upgrade data after receiving it from the cloud server; the software upgrade module is specifically used to decrypt the encrypted upgrade data if the verification passes, so as to obtain the upgrade software package and upgraded vehicle information included in the upgrade data; the upgrade data receiving module is also used to re-receive the encrypted upgrade data sent by the cloud server if the verification fails.
[0050] In a fourth aspect, an embodiment of the present disclosure provides a data packet security verification device, characterized in that the device is configured on a cloud server, and the cloud server is communicatively connected with the vehicle-mounted terminal, including:
[0051] An upgrade data determination module, used to integrate the received upgrade software package and the acquired upgrade vehicle information to obtain upgrade data;
[0052] An upgrade prompt information sending module, used for sending the upgrade prompt information to the vehicle-mounted terminal, so that the vehicle-mounted terminal sends the identity authentication information to the cloud server after receiving the upgrade prompt information;
[0053] An identity authentication information receiving module, used to receive the identity authentication information sent by the vehicle-mounted terminal;
[0054] An identity information determination module, used to determine whether the identity verification information is consistent with the preset identity information;
[0055] An upgrade data encryption module, used for encrypting the upgrade data to obtain encrypted upgrade data if the identity verification information is consistent with the preset identity information;
[0056] The upgrade data sending module is used to send the encrypted upgrade data to the vehicle-mounted terminal, so that the vehicle-mounted terminal decrypts the encrypted upgrade data, obtains the upgrade software package and upgrade vehicle information included in the upgrade data, and determines whether the upgrade vehicle information is consistent with the vehicle information of the vehicle. If the upgrade vehicle information is consistent with the vehicle information of the vehicle, the software upgrade is performed based on the upgrade software package.
[0057] In one embodiment of the present disclosure, the device also includes: an upgrade software package receiving module, which is used to receive the upgrade software package before integrating the received upgrade software package and the acquired upgrade vehicle information; an upgrade software package verification module, which is used to perform data verification on the upgrade software package; an upgrade data determination module, which is specifically used to obtain the upgrade vehicle information if the verification passes, and integrate the received upgrade software package and the acquired upgrade vehicle information to obtain the upgrade data; and an upgrade software package receiving module, which is specifically used to re-receive the upgrade software package if the verification fails.
[0058] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including:
[0059] Memory;
[0060] Processor; and
[0061] Computer programs;
[0062] Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the data security verification method as described in the first aspect above, or the data security verification method as described in the second aspect above.
[0063] In a sixth aspect, an embodiment of the present disclosure provides a vehicle, comprising an on-board terminal, wherein the on-board terminal is used to execute the data security verification method as described in the first aspect above.
[0064] In the seventh aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the data security verification method as described in the first aspect above, or the data security verification method as described in the second aspect above.
[0065] The data security verification method, device, equipment, vehicle and storage medium provided by the embodiments of the present disclosure include: a cloud server sends an upgrade prompt message to the vehicle terminal, and after the vehicle terminal receives the upgrade prompt message, it sends identity authentication information to the cloud server, and the cloud server determines whether the identity authentication information is consistent with the preset identity information. When the identity authentication information is consistent with the preset identity information, it sends the encrypted upgrade data to the vehicle terminal; the vehicle terminal receives the encrypted upgrade data; the encrypted upgrade data is decrypted to obtain the upgrade software package and the upgrade vehicle information; it is determined whether the upgrade vehicle information is consistent with the vehicle information of the vehicle; if the upgrade vehicle information is consistent with the vehicle information of the vehicle, the software is upgraded based on the upgrade software package. The technical solution provided by the present disclosure performs triple verification through user identity confirmation, data encryption and vehicle information verification, which ensures the safe download of data and avoids the problem that illegal upgrade packages are loaded into the vehicle terminal, causing the vehicle to lose control and causing driving safety hazards. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0068] Figure 1 A flowchart of a data security verification method provided by an embodiment of the present disclosure;
[0069] Figure 2 A flowchart of a data security verification method provided by an embodiment of the present disclosure;
[0070] Figure 3 An interactive schematic diagram of a data security verification method provided by an embodiment of the present disclosure;
[0071] Figure 4 A schematic diagram of the structure of a data security verification device provided by an embodiment of the present disclosure;
[0072] Figure 5 A schematic diagram of the structure of a data security verification device provided by an embodiment of the present disclosure;
[0073] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0074] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0075] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0076] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0077] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0078] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0079] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0080] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0081] In the embodiment of the present disclosure, the use scenario of the data security verification method is briefly introduced first. The use scenario mainly includes a vehicle terminal and a cloud server. The vehicle terminal and the cloud server establish a communication connection through a network, wherein the above network can be a single network, or a combination of two different networks. For example, the network can include but is not limited to a combination of one or more of a local area network, a wide area network, a public network, a private network, etc. The network can be a computer network such as the Internet and / or various telecommunication networks (such as 3G / 4G / 5G mobile communication networks, Wifi, Bluetooth, ZigBee, etc.), and the embodiment of the present disclosure does not limit this. The cloud server can be a single server, or a server group, or a cloud server, and each server in the server group is connected through a wired or wireless network. A server group can be centralized, such as a data center, or distributed. The server can be local or remote. The server can communicate with the vehicle terminal through a wired or wireless network. The embodiment of the present disclosure does not limit the hardware system and software system of the server.
[0082] Figure 1 This is a flow chart of a data security verification method in an embodiment of the present disclosure. This embodiment is applicable to the situation where security verification of upgrade data is performed. The method can be executed by a data security verification method device. The data security verification device can be implemented in software and / or hardware. The data security verification device can be configured in a vehicle-mounted terminal, and the vehicle-mounted terminal is set in a vehicle.
[0083] Specifically, Figure 1 As shown, the data security verification method provided by the embodiment of the present disclosure mainly includes steps S101-S105.
[0084] S101. After receiving the upgrade prompt information sent by the cloud server, send identity authentication information to the cloud server, so that the cloud server determines whether the identity authentication information is consistent with the preset identity information.
[0085] In one embodiment of the present disclosure, an upgrade software package required for upgrading the FPGA device in the vehicle terminal is uploaded to a cloud server. After the cloud server receives the upgrade software package required for upgrading the FPGA device, the cloud server sends an upgrade prompt message to the vehicle terminal, wherein the upgrade prompt message is used to indicate that the upgrade program has been updated on the cloud server, prompting the vehicle terminal to perform a software upgrade.
[0086] In one embodiment of the present disclosure, after receiving the upgrade prompt information sent by the cloud server, the vehicle terminal sends identity authentication information to the cloud server, which is used to verify the user's identity information to ensure that the cloud server can send the upgrade data to the legitimate user.
[0087] In one embodiment of the present disclosure, the identity authentication information may include the current user identification and password information, wherein the password information may be a fixed password set by the user, or a dynamic verification code temporarily issued by the cloud server, which is not specifically limited in the present embodiment. The current user identification may be understood as an identification that can indicate the identity of the user, for example, it may be the user's mobile phone number, ID card number, user-defined name, etc. The specific form of the current user identification is not specifically limited in the present embodiment.
[0088] In one embodiment of the present disclosure, sending identity authentication information to the cloud server includes: sending the current user identifier and the current user password to the cloud server; and / or sending a dynamic verification code corresponding to the current user identifier to the cloud server via a third-party terminal connected to the vehicle-mounted terminal.
[0089] In one embodiment of the present disclosure, after the vehicle terminal receives the upgrade prompt information sent by the cloud server, the vehicle terminal obtains the user identification and password of the current user, and sends the current user identification and current user password to the cloud server.
[0090] In one embodiment of the present disclosure, the current user identification and the current user password can be input by the driver through an input device connected to the vehicle-mounted terminal, and the specific input method will not be described in detail in the embodiment of the present disclosure.
[0091] In one embodiment of the present disclosure, after the vehicle terminal receives the upgrade prompt information sent by the cloud server, the vehicle terminal sends the upgrade prompt information to a third-party terminal associated with the vehicle terminal, and sends the current user identification and the received dynamic verification code to the cloud server through the third-party terminal.
[0092] In one embodiment of the present disclosure, after receiving the software upgrade prompt information, the vehicle terminal also sends a software upgrade instruction to the cloud server. Further, if the owner sets a software automatic upgrade flag in the vehicle terminal, the vehicle terminal automatically generates and receives the software upgrade instruction.
[0093] In one embodiment of the present disclosure, if the car owner has not set the automatic software upgrade flag in the vehicle terminal, the vehicle terminal will display the software upgrade prompt information to prompt the car owner that there is new software to be updated. After the vehicle terminal receives the confirmation upgrade operation input by the car owner, the vehicle terminal generates and receives the software upgrade instruction. Among them, the software upgrade prompt information can be displayed on the display screen of the vehicle terminal, or it can be displayed in a third-party smart terminal that is connected to the vehicle terminal for communication. The confirmation upgrade operation can be performed by the car owner in the vehicle terminal, or it can be performed in a third-party smart terminal connected to the vehicle terminal. After the third-party smart terminal receives the confirmation upgrade operation input by the car owner, it generates a software upgrade instruction and sends it to the vehicle terminal. The third-party smart terminal includes a smart phone, a computer, a tablet computer, etc. The communication connection can be any one or a combination of multiple of Bluetooth, WIFI, and a mobile cellular network.
[0094] In the disclosed embodiment, the cloud server receives the identity authentication information and the software upgrade instruction, and after the identity authentication information is verified, the encrypted upgrade data is sent to the vehicle terminal. The specific processing flow refers to the description in the cloud server and will not be repeated in the disclosed embodiment.
[0095] S102, receiving the encrypted upgrade data sent by the cloud server, wherein the upgrade data is sent by the cloud server when the cloud server determines that the identity authentication information is consistent with the preset identity information.
[0096] In one embodiment of the present disclosure, the upgrade data refers to data used for upgrading the FPGA device in the vehicle terminal. The received encrypted upgrade data is stored in the ARM processor in the vehicle terminal.
[0097] In one embodiment of the present disclosure, after receiving the encrypted upgrade data sent by the cloud server, the method further includes: performing data verification on the encrypted upgrade data; if the verification passes, decrypting the encrypted upgrade data to obtain the upgrade software package and upgraded vehicle information included in the upgrade data; if the verification fails, re-receiving the encrypted upgrade data sent by the cloud server.
[0098] In one embodiment of the present disclosure, after receiving the encrypted upgrade data, the ARM processor in the vehicle terminal performs data verification on the encrypted upgrade data; if the verification passes, the encrypted upgrade data is decrypted. If the verification fails, it indicates that the encrypted upgrade data is damaged during the transmission process, then the encrypted upgrade data sent by the cloud server is received again, and then the encrypted upgrade data is verified again until the verification passes, or a command to stop the software upgrade is received. The command to stop the software upgrade is input by the car owner through the vehicle terminal or a third-party smart terminal. The above-mentioned data verification method includes: cyclic redundancy check code CRC verification, flag bit verification and other verification methods.
[0099] In the disclosed embodiment, data verification is performed on the received encrypted upgrade data, and decryption processing is performed after the verification passes, so as to avoid errors in the data transmission process and improve the accuracy of data transmission.
[0100] S103: decrypt the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data.
[0101] In the disclosed embodiment, the upgrade data includes an upgrade software package and upgrade vehicle information, wherein the upgrade software package is a data packet used to perform software upgrades on the FPGA device in the vehicle, and the upgrade vehicle information refers to information for authenticating the vehicle.
[0102] In the disclosed embodiments, data encryption refers to translating plain text (information that can be understood) and encrypting the plain text in code form (password) using different algorithms. The reverse process of this process is called data decryption (descode), which is the process of converting the coded information into plain text. The methods of data encryption and decryption are not specifically limited in the disclosed embodiments.
[0103] S104: Determine whether the upgraded vehicle information is consistent with the vehicle information of the vehicle.
[0104] In one embodiment of the present disclosure, the vehicle information includes a combination of at least one or more of the following information: a vehicle unique identification code, a vehicle hardware status, and a vehicle configuration word.
[0105] In the embodiment of the present disclosure, the vehicle unique identification code refers to a code used to uniquely identify the identity of the vehicle, and optionally, the vehicle unique identification code is a vehicle VIN code. The vehicle hardware status refers to the status information of the FPGA device in the vehicle.
[0106] In one embodiment of the present disclosure, determining whether the upgraded vehicle information is consistent with the vehicle information of the vehicle includes: determining whether the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the vehicle; if the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the vehicle, determining whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the vehicle; if the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the vehicle, determining whether the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the upgraded vehicle information; Whether it is consistent with the vehicle configuration word included in the vehicle information of the vehicle; if the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the vehicle, then it is determined that the upgraded vehicle information is consistent with the vehicle information of the vehicle; if the vehicle unique identification code included in the upgraded vehicle information is inconsistent with the vehicle unique identification code included in the vehicle information of the vehicle, or the vehicle hardware status included in the upgraded vehicle information is inconsistent with the vehicle hardware status included in the vehicle information of the vehicle, or the vehicle configuration word included in the upgraded vehicle information is inconsistent with the vehicle configuration word included in the vehicle information of the vehicle, then it is determined that the upgraded vehicle information is inconsistent with the vehicle information of the vehicle.
[0107] It should be noted that in the disclosed embodiment, the vehicle information includes the vehicle unique identification code, the vehicle hardware status, and the vehicle configuration word, and the judgment order of the three information can be performed simultaneously or sequentially. In the process of sequential judgment, the judgment order of the three information is not limited.
[0108] S105: If the upgraded vehicle information is consistent with the vehicle information of the vehicle, perform software upgrade based on the upgraded software package.
[0109] In one embodiment of the present disclosure, if the upgraded vehicle information is consistent with the vehicle information of the vehicle, it indicates that the vehicle identity of the vehicle has passed the verification and the software upgrade can be performed based on the upgrade software package.
[0110] In one embodiment of the present disclosure, software upgrade is performed based on the upgrade software package, including: the ARM processor in the vehicle terminal sends the upgrade software package to the FPGA device included in the vehicle terminal, so that the FPGA device performs software upgrade based on the obtained upgrade software package.
[0111] In one embodiment of the present disclosure, the method further includes: if the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle, prohibiting software upgrade based on the upgrade software package; and sending inconsistent information included in the vehicle information to the cloud server.
[0112] In the disclosed embodiment, if the upgraded vehicle information is inconsistent with the vehicle information of the vehicle, it indicates that the vehicle identity of the vehicle has not been verified, and the on-board terminal cannot perform software upgrades. The inconsistent information in the vehicle information needs to be returned to the cloud server so that the cloud server can terminate the upgrade after receiving the information.
[0113] Figure 2 This is a flow chart of a data security verification method in an embodiment of the present disclosure. This embodiment is applicable to situations where security verification of upgrade data is performed. The method can be executed by a data security verification method device. The data security verification method device can be implemented in software and / or hardware. The data security verification device can be configured in a cloud server.
[0114] Specifically, Figure 2 As shown, the data security verification method provided by the embodiment of the present disclosure mainly includes steps S201-S206.
[0115] S201: Integrate the received upgrade software package and the acquired upgrade vehicle information to obtain upgrade data.
[0116] In one embodiment of the present disclosure, the upgrade software package required for upgrading the FPGA device is uploaded to a cloud server. After the cloud server receives the upgrade software package required for upgrading the FPGA device, the cloud server obtains pre-stored vehicle information of a pre-upgraded vehicle as upgraded vehicle information.
[0117] In one embodiment of the present disclosure, the upgrade software package and the upgrade vehicle information are integrated, which can be understood as packaging the upgrade software package and the upgrade vehicle information to obtain an upgrade data package.
[0118] In one embodiment of the present disclosure, before the integration based on the received upgrade software package and the acquired upgrade vehicle information, the method also includes: receiving the upgrade software package; performing data verification on the upgrade software package; if the verification passes, obtaining the upgrade vehicle information, and integrating the received upgrade software package and the acquired upgrade vehicle information to obtain the upgrade data; if the verification fails, receiving the upgrade software package again.
[0119] In one embodiment of the present disclosure, after receiving the upgrade software package, the cloud server performs data verification on the upgrade software package; if the verification passes, the received upgrade software package and the acquired upgrade vehicle information are integrated to obtain the upgrade data. If the verification fails, it indicates that the upgrade software package is damaged during the transmission process, and the upgrade software package is received again, and then the received upgrade software package is verified again until the verification passes. The above data verification method includes: cyclic redundancy check code CRC verification, flag bit verification and other verification methods.
[0120] In the disclosed embodiment, data verification is performed on the received upgrade software package, and processing is performed after the verification passes, so as to avoid errors in the data transmission process and improve the accuracy of data transmission.
[0121] S202: sending upgrade prompt information to the vehicle-mounted terminal, so that the vehicle-mounted terminal sends identity authentication information to the cloud server after receiving the upgrade prompt information.
[0122] In the embodiment of the present disclosure, the processing flow after the vehicle terminal receives the upgrade prompt information can refer to the description in the above vehicle terminal embodiment, and will not be repeated in the embodiment of the present disclosure.
[0123] S203: Receive identity authentication information sent by the vehicle-mounted terminal.
[0124] S204: Determine whether the identity verification information is consistent with the preset identity information.
[0125] In one embodiment of the present disclosure, the identity authentication information includes the current user identifier and the current user password; a query is performed in the user identifier database based on the current user identifier, and if the current user identifier can be found, it indicates that the current user identifier is a legal identifier, and then the stored password corresponding to the current user identifier is obtained, and it is determined whether the stored password is consistent with the current user password. If they are consistent, it is determined that the identity authentication information is consistent with the preset identity information. If the current user identifier is not found in the user identifier database, or the stored password is inconsistent with the current user password, it is determined that the identity authentication information is inconsistent with the preset identity information.
[0126] In one embodiment of the present disclosure, the identity authentication information includes the current user identification and the dynamic verification code; it is determined whether the received dynamic verification code is consistent with the issued dynamic verification code. If they are consistent, the identity authentication information is consistent with the preset identity information; if they are consistent, the identity authentication information is inconsistent with the preset identity information.
[0127] In one embodiment of the present disclosure, if the identity authentication information is inconsistent with the preset identity information, an identity authentication reminder message is sent to the vehicle terminal, wherein the identity authentication reminder message is used to instruct the driver to re-enter the identity authentication information.
[0128] S205: If the identity verification information is consistent with the preset identity information, encrypt the upgrade data to obtain encrypted upgrade data.
[0129] In the disclosed embodiment, data encryption technology refers to converting a message (or plain text) into meaningless cipher text through an encryption key and an encryption function, and the recipient restores the cipher text to plain text through a decryption function and a decryption key.
[0130] In the embodiments of the present disclosure, the above encryption method can be one or more of public key, symmetric key, asymmetric encryption, etc., which is not specifically limited in the embodiments of the present disclosure.
[0131] S206: Send the encrypted upgrade data to the vehicle-mounted terminal, so that the vehicle-mounted terminal decrypts the encrypted upgrade data.
[0132] In the embodiment of the present disclosure, the processing flow after the vehicle terminal receives the encrypted upgrade data can refer to the description in the above-mentioned vehicle terminal embodiment, and will not be repeated in the embodiment of the present disclosure.
[0133] Based on the above embodiments, the present disclosure provides an interactive process of a data verification method, such as Figure 3As shown, the data verification method provided in the embodiment of the present disclosure mainly includes the following steps: S301, the cloud server 31 receives the upgrade software package, S302, the cloud server 31 performs data verification on the upgrade software package; if the verification passes, execute step S303; S303, the cloud server 31 obtains the upgraded vehicle information, integrates the received upgrade software package and the acquired upgraded vehicle information, and obtains the upgrade data; if the verification fails, re-execute step S301. S304, the cloud server 31 sends the upgrade prompt information to the vehicle terminal 32; S305, the vehicle terminal 32 sends the identity authentication information to the cloud server; S306, the cloud server 31 determines whether the identity authentication information is consistent with the preset identity information; if consistent, execute step S307, if inconsistent, end the upgrade; S307, the cloud server 31 encrypts the upgrade data to obtain the encrypted upgrade data; S308, the cloud server 31 sends the encrypted upgrade data to the vehicle terminal 32, S309, the vehicle terminal 32 receives the encrypted upgrade data; S310, the vehicle terminal 32 verifies the encrypted upgrade data; if the verification passes, execute step S311; S311, the vehicle terminal 32 decrypts the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data; if the verification fails, the vehicle terminal 32 re-executes step S309. S312, the vehicle terminal 32 determines whether the upgraded vehicle information is consistent with the vehicle information of the vehicle; if consistent, execute step S313; S313, the vehicle terminal 32 performs software upgrade based on the upgrade software package. If inconsistent, execute step S314, S314, the vehicle terminal 32 prohibits software upgrade based on the upgrade software package; S315, the vehicle terminal 32 sends the inconsistent information included in the vehicle information to the cloud server 31. S316, after the cloud server 31 receives the inconsistent information, the upgrade ends.
[0134] Figure 4 This is a structural diagram of a data security verification device in an embodiment of the present disclosure. This embodiment can be applied to situations where security verification of upgrade data is performed. The data security verification device can be implemented in software and / or hardware. The data security verification device can be configured in a vehicle-mounted terminal, and the vehicle-mounted terminal is set in a vehicle.
[0135] Specifically, Figure 4 As shown, the data security verification device 40 provided in the embodiment of the present disclosure mainly includes an identity authentication information sending module 41, an upgrade data receiving module 42, an upgrade data decryption module 43, a vehicle information judgment module 44 and a software upgrade module 45.
[0136] Among them, the identity authentication information sending module 41 is used to send the identity authentication information to the cloud server after receiving the upgrade prompt information sent by the cloud server, so that the cloud server can determine whether the identity authentication information is consistent with the preset identity information; the upgrade data receiving module 42 is used to receive the encrypted upgrade data sent by the cloud server, and the upgrade data is sent by the cloud server when the cloud server determines that the identity authentication information is consistent with the preset identity information; the upgrade data decryption module 43 is used to decrypt the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data; the vehicle information judgment module 44 is used to judge whether the upgrade vehicle information is consistent with the vehicle information of the vehicle; the software upgrade module 45 is used to perform software upgrade based on the upgrade software package if the upgrade vehicle information is consistent with the vehicle information of the vehicle.
[0137] In one embodiment of the present disclosure, the identity authentication information sending module includes: an identification and password sending unit, used to send the current user identification and the current user password to the cloud server; an identification and verification code sending unit, used to send a dynamic verification code corresponding to the current user identification to the cloud server via a third-party terminal connected to the vehicle-mounted terminal.
[0138] In one embodiment of the present disclosure, the vehicle information includes a combination of at least one or more of the following information: a vehicle unique identification code, a vehicle hardware status, and a vehicle configuration word; the vehicle information judgment module includes: a unique identification code judgment unit, used to judge whether the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle; a vehicle hardware status judgment unit, used to judge whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle if the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle; a vehicle configuration word judgment unit, used to judge whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle if the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle. It is then determined whether the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle; a vehicle information consistency determination unit is used to determine that the upgraded vehicle information is consistent with the vehicle information of the own vehicle if the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle; a vehicle information inconsistency determination unit is used to determine that the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle if the vehicle unique identification code included in the upgraded vehicle information is inconsistent with the vehicle unique identification code included in the vehicle information of the own vehicle, or the vehicle hardware status included in the upgraded vehicle information is inconsistent with the vehicle hardware status included in the vehicle information of the own vehicle, or the vehicle configuration word included in the upgraded vehicle information is inconsistent with the vehicle configuration word included in the vehicle information of the own vehicle.
[0139] In one embodiment of the present disclosure, the device also includes: a software upgrade prohibition module, which is used to prohibit software upgrades based on the upgrade software package if the upgraded vehicle information is inconsistent with the vehicle information of the vehicle; and an inconsistent information sending module, which is used to send inconsistent information included in the vehicle information to the cloud server.
[0140] In one embodiment of the present disclosure, the upgrade data verification module is used to perform data verification on the encrypted upgrade data after receiving it from the cloud server; the software upgrade module is specifically used to decrypt the encrypted upgrade data if the verification passes, so as to obtain the upgrade software package and upgrade vehicle information included in the upgrade data; the upgrade data receiving module is also used to re-receive the encrypted upgrade data sent by the cloud server if the verification fails.
[0141] Figure 4 The data security verification device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0142] Figure 5 This is a structural diagram of a data security verification device in an embodiment of the present disclosure. This embodiment can be applied to situations where security verification of upgrade data is performed. The data security verification device can be implemented in software and / or hardware, and the software upgrade device can be configured in a cloud server.
[0143] Specifically, Figure 5 As shown, the data security verification device 50 provided in the embodiment of the present disclosure mainly includes an upgrade data determination module 51, an upgrade prompt information sending module 52, an identity authentication information receiving module 53, an identity information judgment module 54, an upgrade data encryption module 55 and an upgrade data sending module 56.
[0144] Among them, the upgrade data determination module 51 is used to integrate the received upgrade software package and the acquired upgrade vehicle information to obtain the upgrade data; the upgrade prompt information sending module 52 is used to send the upgrade prompt information to the vehicle-mounted terminal, so that the vehicle-mounted terminal sends the identity authentication information to the cloud server after receiving the upgrade prompt information; the identity authentication information receiving module 53 is used to receive the identity authentication information sent by the vehicle-mounted terminal; the identity information judgment module 54 is used to judge whether the identity authentication information is consistent with the preset identity information; the upgrade data encryption module 55 is used to encrypt the upgrade data if the identity authentication information is consistent with the preset identity information to obtain the encrypted upgrade data; the upgrade data sending module 56 is used to send the encrypted upgrade data to the vehicle-mounted terminal, so that the vehicle-mounted terminal decrypts the encrypted upgrade data.
[0145] In one embodiment of the present disclosure, the device also includes: an upgrade software package receiving module, which is used to receive the upgrade software package before integrating the received upgrade software package and the acquired upgrade vehicle information; an upgrade software package verification module, which is used to perform data verification on the upgrade software package; an upgrade data determination module, which is specifically used to obtain the upgrade vehicle information if the verification passes, and integrate the received upgrade software package and the acquired upgrade vehicle information to obtain the upgrade data; and an upgrade software package receiving module, which is specifically used to re-receive the upgrade software package if the verification fails and the subsequent steps.
[0146] Figure 5 The data security verification device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0147] In one embodiment of the present disclosure, a vehicle is provided, which includes an on-board terminal, and the on-board terminal is used to execute the data security verification method as described in any of the above embodiments. The implementation principle and technical effect are similar and will not be repeated here.
[0148] Figure 6 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The electronic device 600 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable terminal devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0149] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603 to implement the data security verification method of the embodiment described in the present disclosure. In the RAM 603, various programs and data required for the operation of the terminal device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0150] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the terminal device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The terminal device 600 is shown to have various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0151] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the data security verification method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 604, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0152] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0153] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0154] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0155] The computer-readable medium carries one or more programs. When the one or more programs are executed by the terminal device, the terminal device implements the method described in any one of the embodiments.
[0156] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0157] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0159] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0160] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0161] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0162] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0163] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A data security verification method, characterized in that: The method is applied to a vehicle-mounted terminal, and the vehicle-mounted terminal is communicatively connected with the cloud server, and includes: After receiving the upgrade prompt information sent by the cloud server, sending identity authentication information to the cloud server, so that the cloud server determines whether the identity authentication information is consistent with the preset identity information; receiving encrypted upgrade data sent by the cloud server, wherein the upgrade data is sent by the cloud server when the cloud server determines that the identity authentication information is consistent with the preset identity information; Decrypting the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data; Determining whether the upgraded vehicle information is consistent with the vehicle information of the vehicle; If the upgraded vehicle information is consistent with the vehicle information of the vehicle itself, software upgrade is performed based on the upgraded software package.
2. The method according to claim 1, characterized in that The sending of identity authentication information to the cloud server includes: Sending the current user ID and current user password to the cloud server; and / or A dynamic verification code corresponding to the current user identification is sent to the cloud server through a third-party terminal connected to the vehicle-mounted terminal.
3. The method according to claim 1, characterized in that The vehicle information includes a combination of at least one or more of the following information: a vehicle unique identification code, a vehicle hardware status, and a vehicle configuration word; The determining whether the upgraded vehicle information is consistent with the vehicle information of the vehicle includes: Determining whether the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle; If the vehicle unique identification code included in the upgraded vehicle information is consistent with the vehicle unique identification code included in the vehicle information of the own vehicle, determining whether the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle; If the vehicle hardware status included in the upgraded vehicle information is consistent with the vehicle hardware status included in the vehicle information of the own vehicle, determining whether the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle; If the vehicle configuration word included in the upgraded vehicle information is consistent with the vehicle configuration word included in the vehicle information of the own vehicle, it is determined that the upgraded vehicle information is consistent with the vehicle information of the own vehicle; If the vehicle unique identification code included in the upgraded vehicle information is inconsistent with the vehicle unique identification code included in the vehicle information of the own vehicle, or the vehicle hardware status included in the upgraded vehicle information is inconsistent with the vehicle hardware status included in the vehicle information of the own vehicle, or the vehicle configuration word included in the upgraded vehicle information is inconsistent with the vehicle configuration word included in the vehicle information of the own vehicle, then it is determined that the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle.
4. The method according to claim 3, characterized in that The method further comprises: If the upgraded vehicle information is inconsistent with the vehicle information of the own vehicle, software upgrade based on the upgraded software package is prohibited; The inconsistent information included in the vehicle information is sent to the cloud server.
5. The method according to claim 1, characterized in that After receiving the encrypted upgrade data sent by the cloud server, the method further includes: Performing data verification on the encrypted upgrade data; If the verification is passed, the encrypted upgrade data is decrypted to obtain the upgrade software package and upgrade vehicle information included in the upgrade data; If the verification fails, the encrypted upgrade data sent by the cloud server is received again.
6. A data security verification method, characterized in that: The method is applied to a cloud server, and the cloud server is communicatively connected with the vehicle terminal, and includes: Integrate the received upgrade software package and the acquired upgrade vehicle information to obtain upgrade data; The upgrade prompt information sent to the vehicle terminal, so that the vehicle terminal sends identity authentication information to the cloud server after receiving the upgrade prompt information; Receiving identity authentication information sent by the vehicle-mounted terminal; Determining whether the identity verification information is consistent with the preset identity information; If the identity verification information is consistent with the preset identity information, encrypting the upgrade data to obtain encrypted upgrade data; The encrypted upgrade data is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal decrypts the encrypted upgrade data.
7. The method according to claim 6, characterized in that Before integrating the received upgrade software package and the acquired upgrade vehicle information, the method further includes: Receive upgrade packages; Performing data verification on the upgrade software package; If the verification is passed, the upgraded vehicle information is obtained, and the received upgrade software package and the obtained upgraded vehicle information are integrated to obtain the upgrade data; If the verification fails, the upgrade software package is received again.
8. A data security verification device, characterized in that: The device is configured on a vehicle-mounted terminal, and the vehicle-mounted terminal is communicatively connected with the cloud server, including: An identity authentication information sending module, configured to send identity authentication information to the cloud server after receiving the upgrade prompt information sent by the cloud server, so that the cloud server determines whether the identity authentication information is consistent with the preset identity information; An upgrade data receiving module, used to receive the encrypted upgrade data sent by the cloud server, wherein the upgrade data is sent by the cloud server when the cloud server determines that the identity authentication information is consistent with the preset identity information; An upgrade data decryption module, used to decrypt the encrypted upgrade data to obtain the upgrade software package and upgrade vehicle information included in the upgrade data; A vehicle information determination module, used to determine whether the upgraded vehicle information is consistent with the vehicle information of the vehicle; The software upgrade module is used to perform software upgrade based on the upgrade software package if the upgrade vehicle information is consistent with the vehicle information of the vehicle.
9. A data security verification device, characterized in that: The device is configured on a cloud server, and the cloud server is communicatively connected with the vehicle terminal, including: An upgrade data determination module, used to integrate the received upgrade software package and the acquired upgrade vehicle information to obtain upgrade data; An upgrade prompt information sending module, used for sending the upgrade prompt information to the vehicle-mounted terminal, so that the vehicle-mounted terminal sends the identity authentication information to the cloud server after receiving the upgrade prompt information; An identity authentication information receiving module, used to receive the identity authentication information sent by the vehicle-mounted terminal; An identity information determination module, used to determine whether the identity verification information is consistent with the preset identity information; An upgrade data encryption module, used for encrypting the upgrade data to obtain encrypted upgrade data if the identity verification information is consistent with the preset identity information; The upgrade data sending module is used to send the encrypted upgrade data to the vehicle-mounted terminal so that the vehicle-mounted terminal decrypts the encrypted upgrade data.
10. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.
11. A vehicle, characterized in that: The vehicle includes an on-board terminal, and the on-board terminal is used to execute the data security verification method described in any one of claims 1-5.
12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 7.
Citation Information
Cited By
Data transmission method and device, equipment, medium and product
CN119544353A
Data transmission method, apparatus, device, medium, and product
CN119544353B
