Log file acquisition method and device, log file output method and device, equipment, medium and vehicle

Obtaining the digital fingerprint of the vehicle equipment through the mobile storage device and obtaining authorization data from the security server solves the security risks and convenience problems of log file acquisition when the vehicle equipment cannot be connected to the Internet, and realizes the acquisition of log files without the Internet. Improved security and convenience.

CN118779906APending Publication Date: 2024-10-15BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310369121.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology has security risks and insufficient convenience when obtaining log files of vehicle and machine equipment, especially when the vehicle and machine equipment cannot be connected to the Internet, log files cannot be obtained normally.

Method used

Obtain the vehicle digital fingerprint of the vehicle device through the mobile storage device, obtain authorization data from the security server based on the fingerprint, use the authorization data to obtain the target log file in the vehicle device, use the mobile storage device as the authorization carrier, and use the vehicle digital fingerprint As a medium, authorized information is transmitted securely.

Benefits of technology

Log files can be obtained normally even when the vehicle equipment cannot be connected to the Internet, which improves the security and convenience of log file acquisition and expands the usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779906A_ABST
    Figure CN118779906A_ABST
Patent Text Reader

Abstract

The invention relates to a log file acquisition method and device, a log file output method and device, equipment, a medium and a vehicle. According to the embodiment of the invention, when the mobile storage device is connected to the vehicle-mounted equipment, the mobile storage device obtains the vehicle-mounted digital fingerprint of the vehicle-mounted equipment from the vehicle-mounted equipment; acquiring authorization data corresponding to the vehicle digital fingerprint from a security server based on the vehicle digital fingerprint; based on the authorization data, the target log file is obtained from the vehicle machine equipment, the mobile storage equipment is used as an authorization carrier, the vehicle machine digital fingerprint is used as a medium, the authorization information is safely transmitted through the mobile storage equipment, and the authorization information does not need to be obtained through the vehicle machine equipment. The log file can be normally obtained under the condition that the vehicle-mounted equipment cannot be networked, so that the use scene of obtaining the log file is expanded, and the safety and convenience of obtaining the log file are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a log file acquisition method, output method, device, equipment, medium and vehicle. Background Art

[0002] Currently, more and more vehicles are equipped with on-board equipment, which stores log files of vehicle operation, including operation data of the vehicle system, driving data, etc. During the vehicle research and development, testing, after-sales and other stages, the location and cause of abnormal problems can be checked by obtaining the log files in the on-board equipment.

[0003] To obtain the log files in the vehicle equipment, it is necessary to ensure information security. In the related technology, the log files are obtained by using a USB flash drive with specified encryption. However, the damage or loss of the encrypted USB flash drive may result in the inability to export the log files in time. Once the USB flash drive is lost, it may bring security risks to the vehicle equipment. You can also insert an ordinary USB flash drive into the vehicle equipment, and the vehicle equipment is connected to the Internet to authenticate the USB flash drive online. After the online authentication is passed, the USB flash drive can be used to export the log files, but this method can only be used when the vehicle equipment is connected to the Internet normally. Therefore, there is an urgent need for a safe and convenient log file acquisition method to meet the current log acquisition needs. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a log file acquisition method, output method, device, equipment, medium and vehicle.

[0005] A first aspect of an embodiment of the present disclosure provides a method for obtaining a log file, the method comprising:

[0006] When the mobile storage device is connected to the vehicle device, the vehicle digital fingerprint of the vehicle device is obtained from the vehicle device;

[0007] Based on the digital fingerprint of the vehicle computer, obtain the authorization data corresponding to the digital fingerprint of the vehicle computer from the security server;

[0008] Based on the authorization data, obtain the target log file from the vehicle device.

[0009] A second aspect of the embodiments of the present disclosure provides a log file output method, the method comprising:

[0010] When it is detected that the mobile storage device is connected to the vehicle device, in response to the selection operation of the target log file, determining whether the security level of the target log file is greater than a preset threshold;

[0011] When the security level of the target log file is greater than a preset threshold, the vehicle digital fingerprint of the vehicle device is imported into a mobile storage device;

[0012] Receiving authorization data corresponding to the vehicle computer digital fingerprint obtained by the mobile storage device from the security server;

[0013] When the number of times the authorization data is used is less than or equal to a preset number threshold and / or the validity period of the authorization data is within a preset time period, verifying the authorization data to obtain a verification result;

[0014] When the verification result is that the verification is passed, the target log file is imported into the mobile storage device.

[0015] A third aspect of an embodiment of the present disclosure provides a log file acquisition device, the device comprising:

[0016] A digital fingerprint acquisition module is used to acquire the vehicle digital fingerprint of the vehicle device from the vehicle device when the mobile storage device is connected to the vehicle device;

[0017] The authorization data acquisition module is used to obtain the authorization data corresponding to the digital fingerprint of the vehicle computer from the security server based on the digital fingerprint of the vehicle computer;

[0018] The log file acquisition module is used to obtain the target log file from the vehicle device based on the authorization data.

[0019] A fourth aspect of an embodiment of the present disclosure provides a log file output device, the device comprising:

[0020] A judgment module, configured to judge whether the security level of the target log file is greater than a preset threshold in response to a selection operation of the target log file when it is detected that the mobile storage device is connected to the vehicle device;

[0021] A first importing module, used for importing the vehicle digital fingerprint of the vehicle device into the mobile storage device when the security level of the target log file is greater than a preset threshold;

[0022] A receiving module, used for receiving authorization data corresponding to the digital fingerprint of the vehicle computer obtained by the mobile storage device from the security server;

[0023] A verification module, used to verify the authorization data and obtain a verification result when the number of times the authorization data is used is less than or equal to a preset number threshold and / or the validity period of the authorization data is within a preset time period;

[0024] The second import module is used to import the target log file into the mobile storage device when the verification result is that the verification is passed.

[0025] A fifth aspect of an embodiment of the present disclosure provides a mobile storage device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the log file acquisition method of the first aspect can be implemented.

[0026] A sixth aspect of an embodiment of the present disclosure provides a vehicle device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the log file output method of the second aspect mentioned above can be implemented.

[0027] A seventh aspect of an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the log file acquisition method of the first aspect or the log file output method of the second aspect can be implemented.

[0028] An eighth aspect of the embodiments of the present disclosure provides a vehicle, which includes the log file output device of the fourth aspect or the vehicle-mounted device of the sixth aspect, and can implement the log file output method of the second aspect.

[0029] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0030] In the disclosed embodiment, when the mobile storage device is connected to the vehicle-machine device, the mobile storage device obtains the vehicle-machine digital fingerprint of the vehicle-machine device from the vehicle-machine device; based on the vehicle-machine digital fingerprint, authorization data corresponding to the vehicle-machine digital fingerprint is obtained from the security server; based on the authorization data, a target log file is obtained from the vehicle-machine device, and the mobile storage device is used as an authorization carrier, and the vehicle-machine digital fingerprint is used as a medium to securely transmit the authorization information through the mobile storage device. There is no need to obtain the authorization information through the vehicle-machine device, and the log file can be normally obtained even when the vehicle-machine device cannot be connected to the Internet, thereby expanding the use scenarios of obtaining the log file and improving the security and convenience of obtaining the log file. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] 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.

[0032] 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.

[0033] Figure 1 is a flow chart of a log file acquisition method provided by an embodiment of the present disclosure;

[0034] Figure 2 is a flow chart of another log file acquisition method provided by an embodiment of the present disclosure;

[0035] Figure 3 is a flow chart of a log file output method provided by an embodiment of the present disclosure;

[0036] Figure 4 is a structural schematic diagram of a log file acquisition device provided by an embodiment of the present disclosure;

[0037] Figure 5 It is a structural schematic diagram of a log file output device provided by an embodiment of the present disclosure;

[0038] Figure 6 is a structural schematic diagram of a mobile storage device provided by an embodiment of the present disclosure;

[0039] Figure 7 It is a structural schematic diagram of a vehicle machine device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0040] 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.

[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0042] 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.

[0043] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0044] 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".

[0045] In response to the defects of related technologies in log file acquisition, the embodiments of the present disclosure provide a log file acquisition method, output method, device, equipment, medium and vehicle. A mobile storage device can be used as an authorization carrier, and the vehicle-mounted digital fingerprint can be used as a medium to securely transmit authorization information through the mobile storage device. There is no need to obtain authorization information through the vehicle-mounted device. Log files can be obtained normally even when the vehicle-mounted device cannot connect to the Internet, which expands the use scenarios of obtaining log files and improves the security and convenience of log file acquisition.

[0046] In order to better understand the inventive concept of the embodiments of the present disclosure, the technical solutions of the embodiments of the present disclosure are described below in conjunction with exemplary embodiments.

[0047] Figure 1 is a flow chart of a log file acquisition method provided by an embodiment of the present disclosure. The method can be executed by a mobile storage device, which can be understood as any device with processing and computing capabilities, including but not limited to devices with mobile storage functions such as USB flash drives, SD cards, etc. Figure 1 As shown, the log file acquisition method provided in this embodiment may include steps 110-130:

[0048] Step 110: When the mobile storage device is connected to the vehicle-machine device, the vehicle-machine digital fingerprint of the vehicle-machine device is obtained from the vehicle-machine device.

[0049] The vehicle-mounted equipment in the embodiment of the present disclosure may be understood as an on-board information device installed in a vehicle, which can functionally realize information communication between a person and a vehicle, and between a vehicle and the outside world.

[0050] The digital fingerprint in the disclosed embodiment can be understood as a technology that embeds different iconic identification codes into digital media using digital watermark technology to hide the real iconic identification code. The vehicle digital fingerprint can be understood as a digital fingerprint obtained by converting the unique identifier of the vehicle device such as the vehicle identification number (VIN) of the vehicle or the serial number (SN) of the vehicle device.

[0051] In the embodiment of the present disclosure, when a mobile storage device is connected to a vehicle-computer device, for example, the mobile storage device is connected to an interface corresponding to the vehicle-computer device, the vehicle-computer device can import the vehicle-computer digital fingerprint stored in the vehicle-computer device into the mobile storage device. For example, the vehicle-computer device can import the vehicle-computer digital fingerprint stored in the vehicle-computer device into the mobile storage device in response to the user's selection operation on the vehicle-computer digital fingerprint on the vehicle-computer screen, and the mobile storage device can obtain the vehicle-computer digital fingerprint of the vehicle-computer device.

[0052] Step 120: Based on the vehicle computer digital fingerprint, obtain authorization data corresponding to the vehicle computer digital fingerprint from the security server.

[0053] The security server in the disclosed embodiment can be understood as a server that generates authorization data. The security server can store authorization data corresponding to the digital fingerprint of the vehicle in advance, or can generate authorization data corresponding to the digital fingerprint of the vehicle online in real time. In some embodiments, after generating the authorization data, the security server can also encrypt the authorization data using the encryption rules agreed with the vehicle device. For example, the authorization data can be encrypted using an RSA asymmetric key, and the security server can sign the authorization data using a private key.

[0054] The authorization data in the embodiment of the present disclosure may be understood as information that authorizes the mobile storage device to obtain the log file in the vehicle device.

[0055] In the disclosed embodiment, after obtaining the digital fingerprint of the vehicle computer, the mobile storage device can be connected to the security server to import the digital fingerprint of the vehicle computer into the security server. The security server can generate authorization data corresponding to the digital fingerprint of the vehicle computer based on the digital fingerprint of the vehicle computer. Then, the security server can import the authorization data corresponding to the digital fingerprint of the vehicle computer into the mobile storage device, and the mobile storage device can obtain the authorization data corresponding to the digital fingerprint of the vehicle computer.

[0056] In some embodiments, based on the vehicle computer digital fingerprint, obtaining authorization data corresponding to the vehicle computer digital fingerprint from the security server may include steps 1201-1202:

[0057] Step 1201: Import the vehicle digital fingerprint into the server device, so that the server device can obtain the authorization data corresponding to the vehicle digital fingerprint from the security server based on the vehicle digital fingerprint.

[0058] The server device in the embodiment of the present disclosure can be understood as an electronic device that can communicate with the security server. The server device has authorization management software installed in it, and the server device can obtain authorization data from the security server through the authorization management software. The server device can include a computer, a mobile phone, etc.

[0059] In the disclosed embodiment, after obtaining the vehicle-machine digital fingerprint of the vehicle-machine device, the mobile storage device can be connected to the corresponding interface of the server-side device, and then the vehicle-machine digital fingerprint is imported into the server-side device. The server-side device can obtain the authorization data corresponding to the vehicle-machine digital fingerprint from the security server through the authorization management software.

[0060] Step 1202: Receive authorization data imported by the server device.

[0061] In the disclosed embodiment, after obtaining the authorization data corresponding to the digital fingerprint of the vehicle computer, the server device can import the authorization data into the mobile storage device, and the mobile storage device can receive the authorization data imported by the server device.

[0062] Step 130: Based on the authorization data, obtain the target log file from the vehicle device.

[0063] In the disclosed embodiment, after obtaining the authorization data corresponding to the vehicle-machine digital fingerprint, the mobile storage device can be connected to the vehicle-machine device again to import the authorization data into the vehicle-machine device. The vehicle-machine device can verify the authorization data. After the verification is passed, the log file in the vehicle-machine device can be imported into the mobile storage device, and the mobile storage device obtains the target log file from the vehicle-machine device. In some embodiments, if the authorization data is encrypted data, the vehicle-machine device can decrypt the authorization data using the decryption rules agreed with the security server to obtain the decrypted authorization data. For example, if the authorization data is signed using the private key in the RSA asymmetric key, the vehicle-machine device can decrypt the authorization data using the public key.

[0064] In some embodiments, based on the authorization data, obtaining the target log file from the vehicle device may include steps 1301-1302:

[0065] Step 1301: Import the authorization data into the vehicle computer device so that the vehicle computer can verify the authorization data.

[0066] In the disclosed embodiment, after obtaining the authorization data, the mobile storage device may be connected to the vehicle device again to import the authorization data into the vehicle device, and the vehicle device may verify the authorization data.

[0067] Step 1302: In response to the verification result of the vehicle-mounted device on the authorization data being passed, obtain the target log file from the vehicle-mounted device.

[0068] In the disclosed embodiment, after the vehicle device verifies the authorization data, a verification result can be obtained. If the verification result is passed, the mobile storage device can obtain the target log file from the vehicle device in response to the verification result of the authorization data passed by the vehicle device.

[0069] In the disclosed embodiment, a vehicle-machine digital fingerprint of a vehicle-machine device is obtained from the vehicle-machine device through a mobile storage device; based on the vehicle-machine digital fingerprint, authorization data corresponding to the vehicle-machine digital fingerprint is obtained from a security server; based on the authorization data, a target log file is obtained from the vehicle-machine device, and a mobile storage device is used as an authorization carrier, and the vehicle-machine digital fingerprint is used as a medium to securely transmit the authorization information through the mobile storage device. There is no need to obtain the authorization information through the vehicle-machine device, and the log file can be normally obtained even when the vehicle-machine device cannot be connected to the Internet, thereby expanding the use scenarios of obtaining the log file and improving the security and convenience of obtaining the log file.

[0070] Figure 2 is a flow chart of a log file acquisition method provided by an embodiment of the present disclosure, which can be executed by a mobile storage device, which can be understood as any device with processing and computing capabilities, and can include but is not limited to devices with mobile storage functions such as USB flash drives, SD cards, etc. Figure 2 As shown, the log file acquisition method provided in this embodiment may include steps 210-250:

[0071] Step 210: When the mobile storage device is connected to the vehicle device, the vehicle digital fingerprint of the vehicle device is obtained from the vehicle device.

[0072] Step 220: Based on the vehicle computer digital fingerprint, obtain authorization data corresponding to the vehicle computer digital fingerprint from the security server.

[0073] The steps 210 - 220 in the embodiment of the present disclosure may refer to the contents of the above steps 110 - 120 , which will not be repeated here.

[0074] Step 230: Based on the authorization data, obtain the encrypted first encrypted log file from the vehicle device.

[0075] In the disclosed embodiment, after obtaining the authorization data, the mobile storage device can import the authorization data into the vehicle device, the vehicle device can verify the authorization data, and after the verification, the vehicle log file can be encrypted to obtain a first encrypted log file, and then the first encrypted log file is imported into the mobile storage device, and the mobile storage device obtains the encrypted first encrypted log file. Among them, the vehicle log file can be encrypted using the RSA asymmetric key agreed with the security server, for example, the RSA asymmetric key key_encrypt with a length of 2048 bits can be used for encryption.

[0076] Step 240: Import the first encrypted log file into the security server.

[0077] In the disclosed embodiment, after obtaining the first encrypted log file, the mobile storage device may be connected to the security server to import the first encrypted log file into the security server.

[0078] Step 250: Receive the target log file sent by the security server after decrypting the first encrypted log file.

[0079] In the disclosed embodiment, after the first encrypted log file is imported into the security server, the security server can use the RSA asymmetric key agreed upon with the vehicle computer to decrypt the first encrypted log file to obtain a decrypted target log file, and then send the decrypted target log file to the mobile storage device, and the mobile storage device can receive the decrypted target log file.

[0080] In this way, the log files can be encrypted and transmitted, further improving the security of log file acquisition. By using mobile storage devices as authorization carriers and the vehicle-computer digital fingerprint as a medium, the authorization information can be securely transmitted through mobile storage devices. There is no need to obtain authorization information through the vehicle-computer device. Log files can be obtained normally even when the vehicle-computer device cannot connect to the Internet, which expands the use scenarios of obtaining log files and improves the security and convenience of log file acquisition.

[0081] Figure 3 is a flow chart of a log file output method provided by an embodiment of the present disclosure. The method can be executed by a vehicle machine device, which can be understood as any device with processing and computing capabilities, such as Figure 3 As shown, the log file output method provided in this embodiment may include steps 310-350:

[0082] Step 310: When it is detected that the mobile storage device is connected to the vehicle device, in response to the selection operation of the target log file, it is determined whether the security level of the target log file is greater than a preset threshold.

[0083] The preset threshold in the embodiment of the present disclosure can be set as needed and is not specifically limited here.

[0084] In the disclosed embodiment, a log file having a security level greater than a preset threshold may be a log file including privacy information such as the user's identity information and intellectual property data confidential to the vehicle manufacturer. A log file having a security level less than or equal to the preset threshold may be understood as an ordinary log file, and may include a file after the original log file has been desensitized and declassified. Among them, desensitization may be understood as deforming the sensitive information in the data through desensitization rules to achieve reliable protection of sensitive data, and the sensitive data may include the user's identity information, etc.; declassification may be understood as a data processing method for removing confidential data from the data to achieve reliable protection of confidential information, and the confidential data may include intellectual property data confidential to the vehicle manufacturer, etc.

[0085] In the embodiment of the present disclosure, when it is detected that a mobile storage device is connected to the vehicle-mounted device, for example, after it is detected that the mobile storage device is inserted into the corresponding interface of the vehicle-mounted device, the vehicle-mounted device can respond to the selection operation of the target log file, for example, it can be the user's click, slide, etc. on the target log file, to determine whether the security level of the target log file is greater than a preset threshold.

[0086] Step 320: When the security level of the target log file is greater than a preset threshold, the vehicle digital fingerprint of the vehicle device is imported into the mobile storage device.

[0087] In the disclosed embodiment, when the security level of the target log file is greater than a preset threshold, the vehicle device may import the vehicle digital fingerprint of the vehicle device into the mobile storage device.

[0088] In other embodiments, when the security level of the target log file is less than or equal to a preset threshold, that is, the target log file is an ordinary log file, and can include a file after the original log file is desensitized and decrypted. When the mobile storage device is connected to the vehicle device, the vehicle device can encrypt the target log file, generate a second encrypted log file corresponding to the encrypted target log file, and then import the second encrypted log file into the mobile storage device. After the mobile storage device receives the second encrypted log file, it can access the security server and import the second encrypted log file into the security server. The security server can decrypt the second encrypted log file and send the decrypted target log file to the mobile storage device, and the mobile storage device can receive the decrypted target log file. Among them, the log file can be encrypted and decrypted using an RSA asymmetric key. Thus, when the security level of the target log file is less than or equal to the preset threshold, the target log file can be directly encrypted and imported into the mobile storage device without the vehicle digital fingerprint, and the target log file is decrypted by a security server independent of the vehicle device and the mobile storage device, so that the mobile storage device obtains the decrypted target log file, thereby improving the security of log file acquisition.

[0089] Step 330: Receive authorization data corresponding to the vehicle computer digital fingerprint obtained by the mobile storage device from the security server.

[0090] In the disclosed embodiment, after the vehicle-machine digital fingerprint of the vehicle-machine device is imported into the mobile storage device, the mobile storage device can be connected to the security server to obtain the authorization data corresponding to the vehicle-machine digital fingerprint from the security server, and then the mobile storage device can be connected to the vehicle-machine device to import the authorization data into the vehicle-machine device, and the vehicle-machine device can receive the authorization data corresponding to the vehicle-machine digital fingerprint.

[0091] Step 340: When the number of times the authorization data is used is less than or equal to a preset number threshold and / or the validity period of the authorization data is within a preset time period, verify the authorization data to obtain a verification result.

[0092] In the disclosed embodiment, after obtaining the authorization data, the vehicle device can determine whether the number of times the authorization data is used is less than or equal to the preset number threshold and / or the validity period of the authorization data is within the preset time period. When the number of times the authorization data is used is less than or equal to the preset number threshold and / or the validity period of the authorization data is within the preset time period, the authorization data is verified to obtain a verification result. The preset number threshold and the preset time period can be set as needed and are not specifically limited here. The verification result may include verification passed or verification failed.

[0093] In the disclosed embodiment, the vehicle-mounted device is installed with authorization and authentication software for mobile storage devices developed based on the ARM trustzone security framework. The vehicle-mounted device can use the authorization and authentication software to perform security authentication on the number of times the authorization data is used, the validity period, and the authorization data itself, thereby improving the security protection level of the vehicle-mounted device and the security of log file acquisition. TrustZone is a hardware architecture designed by ARM for consumer electronic devices, and its purpose is to build a security framework for consumer electronic products to resist various possible attacks.

[0094] In some embodiments, when the number of times the authorization data is used is less than or equal to a preset number threshold, the vehicle-mounted device may verify the authorization data to obtain a verification result.

[0095] In other embodiments, when the validity period of the authorization data is within a preset time period, the vehicle-mounted device may verify the authorization data to obtain a verification result.

[0096] In some other embodiments, when the number of times the authorization data is used is less than or equal to a preset number threshold and the validity period of the authorization data is within a preset time period, the vehicle device can verify the authorization data to obtain a verification result.

[0097] Step 350: When the verification result is that the verification passes, the target log file is imported into the mobile storage device.

[0098] In the disclosed embodiment, when the verification result of the authorization data is verification passed, the vehicle device can import the target log file into the mobile storage device. When the verification result of the authorization data is verification failed, the vehicle device cannot import the target log file into the mobile storage device.

[0099] Therefore, when the security level of the target log file to be obtained reaches the set conditions, a mobile storage device can be used as an authorization carrier, and the vehicle-computer digital fingerprint can be used as a medium to securely transmit the authorization information through the mobile storage device. There is no need to obtain the authorization information through the vehicle-computer device, thereby reducing the probability of leakage of privacy data or sensitive data in the log file, further improving the security of log file acquisition, and log files can be obtained normally even when the vehicle-computer device cannot be connected to the Internet, expanding the use scenarios of obtaining log files and improving the convenience of log file acquisition.

[0100] In addition, the number of times the authorized data is used and the validity period can be limited to prevent security risks to log files caused by malicious use of authorized data, further improving the security of log file acquisition. Ordinary mobile storage devices are used as authorization carriers, and the digital fingerprint of the vehicle computer is used as the medium. The authorization information is securely transmitted through the mobile storage device. There is no need to obtain the authorization information through the vehicle computer device. The log file can be obtained normally even when the vehicle computer device cannot connect to the Internet, which expands the use scenarios of obtaining log files and improves the convenience of log file acquisition.

[0101] Figure 4 Schematic diagram of a log file acquisition device provided by an embodiment of the present disclosure. The device can be configured in a mobile storage device and can be understood as a mobile storage device or a part of a functional module in the mobile storage device. Figure 5 As shown, the log file acquisition device 400 may include:

[0102] The digital fingerprint acquisition module 410 is used to acquire the vehicle digital fingerprint of the vehicle device from the vehicle device when the mobile storage device is connected to the vehicle device;

[0103] The authorization data acquisition module 420 is used to obtain the authorization data corresponding to the digital fingerprint of the vehicle computer from the security server based on the digital fingerprint of the vehicle computer;

[0104] The log file acquisition module 430 is used to acquire a target log file from the vehicle device based on the authorization data.

[0105] Optionally, the authorization data acquisition module 420 may include:

[0106] The digital fingerprint import submodule is used to import the vehicle computer digital fingerprint into the server device, so that the server device can obtain the authorization data corresponding to the vehicle computer digital fingerprint from the security server based on the vehicle computer digital fingerprint;

[0107] The authorization data receiving submodule is used to receive the authorization data imported by the server device.

[0108] Optionally, the log file acquisition module 430 may include:

[0109] The authorization data import submodule is used to import the authorization data into the vehicle equipment so that the vehicle equipment can verify the authorization data;

[0110] The first log file acquisition submodule is used to acquire the target log file from the vehicle machine device in response to the verification result of the vehicle machine device on the authorization data being passed.

[0111] Optionally, the log file acquisition module 430 may include:

[0112] The second log file acquisition submodule is used to acquire the encrypted first encrypted log file from the vehicle device based on the authorization data;

[0113] A log file import submodule, used for importing the first encrypted log file into the security server;

[0114] The log file receiving submodule is used to receive a target log file sent by a security server after decrypting the first encrypted log file.

[0115] The log file acquisition device provided by the embodiment of the present disclosure can achieve the above Figure 1-Figure 2 The method of any embodiment has similar execution mode and beneficial effects, which will not be described in detail here.

[0116] Figure 5 1 is a schematic diagram of a log file output device provided by an embodiment of the present disclosure. The device can be configured in a vehicle-mounted device and can be understood as a vehicle-mounted device or a part of a functional module in the vehicle-mounted device. Figure 5 As shown, the log file output device 500 may include:

[0117] The judgment module 510 is used to judge whether the security level of the target log file is greater than a preset threshold in response to the selection operation of the target log file when the mobile storage device is detected to be connected to the vehicle device;

[0118] A first importing module 520, configured to import the vehicle digital fingerprint of the vehicle device into a mobile storage device when the security level of the target log file is greater than a preset threshold;

[0119] The receiving module 530 is used to receive the authorization data corresponding to the vehicle digital fingerprint obtained by the mobile storage device from the security server;

[0120] Verification module 540, used to verify the authorization data and obtain a verification result when the number of times the authorization data is used is less than or equal to a preset number threshold and / or the validity period of the authorization data is within a preset time period;

[0121] The second import module 550 is used to import the target log file into the mobile storage device when the verification result is verification passed.

[0122] Optionally, the log file output device 500 may include:.

[0123] An encryption module, used to encrypt the target log file and generate a second encrypted log file when the security level of the target log file is less than or equal to a preset threshold;

[0124] The third import module is used to import the second encrypted log file into the mobile storage device, so that the mobile storage device can import the second encrypted log file into the security server and receive the target log file after the security server decrypts the second encrypted log file.

[0125] The log file acquisition device provided by the embodiment of the present disclosure can achieve the above Figure 3 The method of any embodiment has similar execution mode and beneficial effects, which will not be described in detail here.

[0126] The present disclosure also provides a mobile storage device, which can be understood as any device with processing and computing capabilities, and can include but is not limited to devices with mobile storage functions such as USB flash drives and SD cards. The mobile storage device includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned Figure 1-Figure 2 The method of any embodiment has similar execution mode and beneficial effects, which will not be described in detail here.

[0127] Figure 6 is a schematic diagram of the structure of a mobile storage device provided by an embodiment of the present disclosure, such as Figure 6 As shown, the mobile storage device 600 may include a processor 610 and a memory 620, wherein the memory 620 stores a computer program 621, and when the computer program 621 is executed by the processor 610, the method provided by any of the above embodiments can be implemented, and its execution method and beneficial effects are similar and will not be repeated here.

[0128] Of course, to simplify, Figure 6 Only some of the components related to the present invention in the mobile storage device 600 are shown, and components such as a bus, an input / output interface, an input device, and an output device are omitted. In addition, the mobile storage device 600 may also include any other appropriate components according to specific application conditions.

[0129] The embodiment of the present disclosure also provides a vehicle-mounted device, which can be understood as an in-vehicle information device installed in a vehicle, capable of realizing information communication between a person and a vehicle, and between a vehicle and the outside world. The vehicle-mounted device includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned Figure 3 The method of any embodiment has similar execution mode and beneficial effects, which will not be described in detail here.

[0130] Figure 7 is a structural diagram of a vehicle machine device provided by an embodiment of the present disclosure, such as Figure 7As shown, the vehicle-mounted device 700 may include a processor 710 and a memory 720, wherein a computer program 721 is stored in the memory 720. When the computer program 721 is executed by the processor 710, the method provided by any of the above-mentioned embodiments can be implemented. The execution method and beneficial effects thereof are similar and will not be repeated here.

[0131] Of course, to simplify, Figure 7 Only some of the components related to the present invention in the vehicle machine device 700 are shown, and components such as a bus, an input / output interface, an input device, and an output device are omitted. In addition, according to specific application conditions, the vehicle machine device 700 may also include any other appropriate components.

[0132] The present disclosure provides a computer-readable storage medium in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figure 1-Figure 2 or Figure 3 The method of any embodiment has similar execution mode and beneficial effects, which will not be described in detail here.

[0133] The above-mentioned computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.

[0134] The computer program may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer device, partially on the user's device, as a separate software package, partially on the user's computer device and partially on a remote computer device, or entirely on a remote computer device or server.

[0135] An embodiment of the present disclosure provides a vehicle, which includes the above-mentioned log file output device or the above-mentioned vehicle equipment, and can implement the above-mentioned log file output method. Its execution method and beneficial effects are similar and will not be repeated here.

[0136] 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.

[0137] 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.

[0138] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A log file acquisition method, characterized in that: include: When the mobile storage device is connected to the vehicle-mounted device, obtaining the vehicle-mounted digital fingerprint of the vehicle-mounted device from the vehicle-mounted device; Based on the vehicle computer digital fingerprint, obtaining authorization data corresponding to the vehicle computer digital fingerprint from a security server; Based on the authorization data, a target log file is obtained from the vehicle device.

2. The method according to claim 1, characterized in that The obtaining, based on the vehicle computer digital fingerprint, authorization data corresponding to the vehicle computer digital fingerprint from a security server includes: Importing the vehicle computer digital fingerprint into the server device, so that the server device can obtain authorization data corresponding to the vehicle computer digital fingerprint from the security server based on the vehicle computer digital fingerprint; Receive the authorization data imported by the server device.

3. The method according to claim 1 or 2, characterized in that: The step of obtaining a target log file from the vehicle device based on the authorization data includes: Importing the authorization data into the vehicle-mounted device so that the vehicle-mounted device can verify the authorization data; In response to a verification result of the authorization data being passed by the vehicle-machine device, the target log file is obtained from the vehicle-machine device.

4. The method according to claim 1, characterized in that The step of obtaining a target log file from the vehicle device based on the authorization data includes: Based on the authorization data, obtaining an encrypted first encrypted log file from the vehicle device; importing the first encrypted log file into the security server; Receive a target log file sent by the security server that is obtained by decrypting the first encrypted log file.

5. A log file output method, characterized in that: include: When it is detected that the mobile storage device is connected to the vehicle device, in response to the selection operation of the target log file, determining whether the security level of the target log file is greater than a preset threshold; When the security level of the target log file is greater than a preset threshold, importing the vehicle digital fingerprint of the vehicle device into the mobile storage device; Receiving authorization data corresponding to the vehicle computer digital fingerprint obtained by the mobile storage device from the security server; When the number of times the authorization data is used is less than or equal to a preset number threshold and / or the validity period of the authorization data is within a preset time period, verifying the authorization data to obtain a verification result; When the verification result is that the verification is passed, the target log file is imported into the mobile storage device.

6. The method according to claim 5, characterized in that When the mobile storage device is detected to be connected to the vehicle device, in response to the selection operation of the target log file, after determining whether the security level of the target log file is greater than a preset threshold, the method further includes: When the security level of the target log file is less than or equal to a preset threshold, encrypting the target log file to generate a second encrypted log file; The second encrypted log file is imported into the mobile storage device, so that the mobile storage device can import the second encrypted log file into the security server and receive the target log file after the security server decrypts the second encrypted log file.

7. A log file acquisition device, characterized in that: include: A digital fingerprint acquisition module, used to acquire the vehicle digital fingerprint of the vehicle device from the vehicle device when the mobile storage device is connected to the vehicle device; An authorization data acquisition module, used to acquire authorization data corresponding to the vehicle computer digital fingerprint from a security server based on the vehicle computer digital fingerprint; The log file acquisition module is used to acquire the target log file from the vehicle device based on the authorization data.

8. A log file output device, characterized in that: include: A judgment module, configured to judge whether the security level of the target log file is greater than a preset threshold in response to a selection operation of the target log file when it is detected that the mobile storage device is connected to the vehicle device; A first importing module, used for importing the vehicle digital fingerprint of the vehicle device into the mobile storage device when the security level of the target log file is greater than a preset threshold; A receiving module, used for receiving the authorization data corresponding to the vehicle computer digital fingerprint obtained by the mobile storage device from the security server; A verification module, configured to verify the authorization data to obtain a verification result when the number of times the authorization data is used is less than or equal to a preset number threshold and / or the validity period of the authorization data is within a preset time period; The second import module is used to import the target log file into the mobile storage device when the verification result is verification passed.

9. A mobile storage device, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the log file acquisition method according to any one of claims 1 to 4 is implemented.

10. A vehicle machine device, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the log file output method according to any one of claims 5 to 6 is implemented.

11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program. When the computer program is executed by a processor, the log file acquisition method according to any one of claims 1 to 4 or the log file output method according to any one of claims 5 to 6 is implemented.

12. A vehicle, characterized in that: It includes the log file output device as claimed in claim 8 or the vehicle equipment as claimed in claim 10.