Vehicle privacy data access method and device, electronic equipment and storage medium

By classifying and identifying the vehicle electronic control unit data and building a data configuration table, precise access to vehicle privacy data is achieved, and the problem of data access in the prior art is solved, which improves convenience and security.

CN119989402APending Publication Date: 2025-05-13LAUNCH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510048767.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Existing vehicle data access methods are too absolute, open access may leak sensitive information, while closed access is inconvenient to leveraging private data.

Method used

By obtaining the electronic control unit data of the target vehicle, classification and identity identification are carried out, data configuration table is constructed, and the privacy data required by the target user is accurately positioned based on the identity identification and data index.

Benefits of technology

Improve the convenience and accuracy of vehicle privacy data access and ensure data security and compliance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119989402A_ABST
    Figure CN119989402A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle privacy data access method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining n pieces of electronic control unit data corresponding to a target vehicle, classifying the n pieces of electronic control unit data, and obtaining m pieces of electronic control unit data sets, determining m identities corresponding to the m electronic control unit data sets, determining a data configuration table of the target vehicle based on the m identities and the m electronic control unit data sets, obtaining a privacy data access request of the external equipment, determining k electronic control unit data sets based on the k identities and the data configuration table, and obtaining a privacy data access request of the external equipment; and determining privacy data required by the target user from the k electronic control unit data sets according to the k data indexes corresponding to the k identities, and sending the privacy data to the external equipment. By adopting the embodiment of the invention, the convenience of vehicle privacy data access is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle data security technology, and in particular to a method, device, electronic device and storage medium for accessing vehicle privacy data. Background Art

[0002] With the popularization of intelligent connected vehicles and the continuous development of technology, vehicle data security will face more challenges and opportunities. At present, more and more data and information are stored in vehicles. Some data and information involve vehicles and owners, which are relatively sensitive data of vehicles or privacy data of owners, such as vehicle configuration code, engine number, driving data, trajectory data, etc. At present, there are generally two ways to access vehicle data. One is open access, and all data of the vehicle can be accessed externally. The other is closed access, and all data are encrypted and cannot be parsed externally. However, these two methods are relatively absolute, making the use of private data inconvenient. Therefore, how to improve the convenience of accessing vehicle privacy data is an urgent problem to be solved. Summary of the invention

[0003] The embodiments of the present application provide a method, device, electronic device and storage medium for accessing vehicle privacy data, thereby improving the convenience of accessing vehicle privacy data.

[0004] In a first aspect, an embodiment of the present application provides a method for accessing vehicle privacy data, the method comprising:

[0005] Obtain n electronic control unit data corresponding to the target vehicle; each electronic control unit data corresponds to an electronic control unit, and n is a positive integer;

[0006] Classifying n electronic control unit data to obtain m electronic control unit data sets; m is a positive integer less than n;

[0007] Determine the identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers;

[0008] Determine a data configuration table of a target vehicle based on the m identity identifiers and the m electronic control unit data sets;

[0009] Obtain a private data access request from an external device; the private data access request carries k identity identifiers, each identity identifier corresponds to a data index; k is an integer less than or equal to m;

[0010] Determine k electronic control unit data sets based on k identity identifiers and data configuration tables;

[0011] Determine the privacy data required by the target user from the k electronic control unit data sets according to the k data indexes corresponding to the k identity identifiers;

[0012] Send private data to external devices.

[0013] In a second aspect, an embodiment of the present application provides a device for accessing vehicle privacy data, the device comprising: an acquisition unit and a processing unit;

[0014] An acquisition unit acquires n electronic control unit data corresponding to the target vehicle; each electronic control unit data corresponds to an electronic control unit, and n is a positive integer;

[0015] A processing unit, used for classifying n electronic control unit data to obtain m electronic control unit data sets; m is a positive integer less than n;

[0016] Determine the identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers;

[0017] Determine a data configuration table of a target vehicle based on the m identity identifiers and the m electronic control unit data sets;

[0018] Obtain a private data access request from an external device; the private data access request carries k identity identifiers, each identity identifier corresponds to a data index; k is an integer less than or equal to m;

[0019] Determine k electronic control unit data sets based on k identity identifiers and data configuration tables;

[0020] Determine the privacy data required by the target user from the k electronic control unit data sets according to the corresponding data indexes in the k identity identifiers;

[0021] Send private data to external devices.

[0022] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor so that the electronic device executes the method of the first aspect.

[0023] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method of the first aspect.

[0024] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, so that a computer executes the method of the first aspect.

[0025] The implementation of the present invention has the following beneficial effects:

[0026] It can be seen that the vehicle privacy data access method described in the embodiment of the present invention includes: obtaining n electronic control unit data corresponding to the target vehicle, each electronic control unit data corresponds to an electronic control unit, n is a positive integer, classifying the n electronic control unit data to obtain m electronic control unit data sets, m is a positive integer less than n, determining the identity corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers, determining the data configuration table of the target vehicle based on the m identity identifiers and the m electronic control unit data sets, and obtaining a privacy data access request from an external device; the privacy data access request carries k identity identifiers, each identity identifier corresponds to a data index, k is an integer less than or equal to m, determining k electronic control unit data sets based on the k identity identifiers and the data configuration table, determining the privacy data required by the target user from the k electronic control unit data sets according to the k data indexes corresponding to the k identity identifiers, and sending the privacy data to the external device, thereby improving the convenience of accessing vehicle privacy data. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the implementation methods of the present application or the background technology, the drawings required for use in the implementation methods of the present application or the background technology will be described below.

[0028] Figure 1 is a flow chart of a method for accessing vehicle privacy data provided by an embodiment of the present application;

[0029] Figure 2 It is a structural schematic diagram of a data configuration table provided in an embodiment of the present application;

[0030] Figure 3 It is a structural schematic diagram of a vehicle privacy data access device provided in an embodiment of the present application;

[0031] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the implementation mode of the present application. Obviously, the described implementation mode is only a part of the implementation mode of the present application, not all the implementation modes. Based on the implementation mode in the present application, all other implementation modes obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0033] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0034] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0035] The following is an explanation of some professional terms involved in this application:

[0036] Electronic Control Unit: (ECU) is an electronic device that is mainly used to control one or more electrical systems or subsystems within a vehicle. In modern cars, ECU receives signals from various sensors, processes these signals according to pre-programmed algorithms and logic, and then sends instructions to actuators to ensure the normal operation of various vehicle systems.

[0037] See also Figure 1 , Figure 1 This is a flowchart of a method for accessing vehicle privacy data provided by an embodiment of the present application, including but not limited to the following steps:

[0038] S101: Obtain n electronic control unit data corresponding to the target vehicle.

[0039] In this embodiment, each electronic control unit data corresponds to an electronic control unit, and n is a positive integer.

[0040] The target vehicle is equipped with multiple electronic control units, such as an engine control unit, a transmission control unit, a body stability control unit, etc. Each electronic control unit will generate or store data related to it. The data in all electronic control units on the target vehicle are obtained to obtain n electronic control unit data, and each electronic control unit data has its corresponding specific electronic control unit.

[0041] S102: Classify n electronic control unit data to obtain m electronic control unit data sets.

[0042] In this embodiment, m is a positive integer less than n. First, the historical operation data of the target vehicle in the historical time period is obtained. This historical time period can be the entire use cycle of the vehicle after purchase, or a specific period of time, such as the past year, month or a specific mileage interval. The historical operation data contains various information generated by various systems of the vehicle during the actual operation process. This information can be recorded by the vehicle's on-board diagnostic system or obtained from the vehicle manufacturer's backend data storage system. The content of the historical operation data is very rich, such as abnormal data of the electronic control unit, fault data of the target vehicle, engine speed, temperature, historical records of fuel injection amount, gear changes of the transmission, oil temperature and other data, as well as vehicle speed, mileage, working status of the braking system and other information.

[0043] After determining the historical operation data of the target vehicle in the historical time period, it is necessary to determine the importance value corresponding to each electronic control unit data in the n electronic control unit data, and obtain n importance values. First, based on the historical operation data, the failure probability of the target vehicle when the first electronic control unit data is abnormal is determined. The first electronic control unit data is any electronic control unit data among the n electronic control unit data. Specifically, it is necessary to first check the quality of the historical operation data, which may include checking the integrity of the data, that is, ensuring that no key data is missing, such as the timestamps and sensor values ​​in the electronic control unit time series data are complete. At the same time, the accuracy of the data must be checked to exclude obviously erroneous data points, and then the correctness of each electronic control unit data is determined by analyzing the statistical characteristics of the historical operation data. Normal range, and then according to the determined normal range, set the threshold to identify abnormal data, and mark the time point or time period when the vehicle fails, and then perform correlation analysis on the time of occurrence of the abnormal data and the time of occurrence of the fault event. For the first electronic control unit data, count the number of times the target vehicle fails within a period of time after the abnormal data appears, and finally calculate the failure probability of the target vehicle when the first electronic control unit data is abnormal. The calculation formula of the failure probability can be simply expressed as: Failure probability = (number of failures after the abnormal data appears) / (total number of abnormal data occurrences). For example, the injection pulse width data abnormality appears 20 times, and 10 of them have engine jitter failures within the next 5 seconds. Then the probability of engine jitter failure when the injection pulse width data is abnormal is 10 / 20=0.5.

[0044] Exemplarily, a mapping relationship between the probability of failure and the importance value is obtained. Specifically, this mapping relationship can be pre-set, for example, determined by the experience of the vehicle manufacturer, industry standards or expert opinions. The higher the probability of failure, the higher the corresponding importance value. Exemplarily, the importance value corresponding to the probability of failure is determined based on the mapping relationship, and the importance value corresponding to the first electronic control unit data is obtained. Specifically, after determining the mapping relationship between the probability of failure and the importance value and the probability of failure of the target vehicle when the first electronic control unit data is abnormal, the importance value corresponding to the first electronic control unit data can be determined. Exemplarily, the importance value corresponding to the probability of failure is determined based on the mapping relationship to obtain a reference importance value. Since the data update frequency has a significant impact on the importance value, data with a high update frequency is usually crucial to the real-time control of the vehicle, and the importance value is high. Data with a medium update frequency is mainly used for system monitoring, and the importance value is medium. Data with a low update frequency may be less important, but some data used for key purposes such as identity recognition are more important in specific situations. In addition, a sudden change in the update frequency or dynamic adjustment according to the working conditions will also change the importance value of the data. Therefore, the data update frequency of the first electronic control unit corresponding to the first electronic control unit data is obtained, and then the target adjustment parameter corresponding to the data update frequency is determined. Specifically, it can be a mapping relationship between a preset update frequency and an adjustment parameter, and the target adjustment parameter corresponding to the data update frequency can be determined based on the mapping relationship. Exemplarily, the reference importance value is adjusted based on the target adjustment parameter to obtain the importance value corresponding to the first electronic control unit data. Specifically, the specific calculation formula is as follows: the importance value corresponding to the first electronic control unit data = the reference importance value × (1 + target adjustment parameter), and the importance value corresponding to the first electronic control unit data can be obtained according to the above formula.

[0045] It can be seen that by first determining the reference importance value based on the failure probability and then adjusting it in combination with the data update frequency, the importance of the first electronic control unit data can be evaluated more comprehensively and accurately, avoiding the one-sidedness caused by only considering the failure probability or the update frequency. The vehicle's electronic control unit data is of various types and has different characteristics. Although some data have a low failure probability, they are critical to real-time control due to their high update frequency. Some data have a high failure probability but a low update frequency, which is more important for the long-term stable operation of the vehicle. The implementation method of the present application can adapt to these different data characteristics and determine an importance value for each data that is more in line with its actual impact.

[0046] It should be noted that the importance value corresponding to each of the n electronic control unit data is determined in the same way as the importance value corresponding to the first electronic control unit data. Therefore, the importance value corresponding to each of the n electronic control unit data can be determined according to the method of determining the importance value corresponding to the first electronic control unit data, and n importance values ​​can be obtained.

[0047] Exemplarily, after obtaining n importance values, the n electronic control unit data can be classified based on the n importance values ​​to obtain m electronic control unit data sets. Specifically, the maximum importance value and the minimum importance value among the n importance values ​​are determined, and the importance difference is determined based on the maximum importance value and the minimum importance value. Specifically, the n importance values ​​corresponding to the n electronic control unit data represent the importance of each electronic control unit data to the operation of the target vehicle. After finding the maximum and minimum importance values, the difference between them is calculated to obtain the importance difference. The importance difference can reflect the distribution range of all importance values.

[0048] Exemplarily, the importance degree difference is divided into m intervals. Specifically, m is a predetermined positive integer less than n, representing the number of electronic control unit data sets to be divided. Various methods such as equal-interval division and unequal-interval division can be adopted. These m intervals are the standard for classifying electronic control unit data.

[0049] Exemplarily, based on n importance values, n electronic control unit data are divided into m intervals to obtain m electronic control unit data sets, each interval corresponding to an electronic control unit data set. Specifically, according to the m intervals divided previously, the n electronic control unit data are respectively classified into corresponding intervals, and each electronic control unit data falling into the same interval constitutes a set, thus obtaining m electronic control unit data sets. For example, assuming that there are 5 electronic control unit data, their importance values ​​are 0.32, 0.45, 0.58, 0.62, 0.73, 0.81, 0.91, 0.97, 0.98, 0.99, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.5 .38, determine three interval ranges [0.3-0.43), [0.43-0.56), [0.56-0.7], then the data with importance values ​​of 0.32 and 0.38 will be divided into the set corresponding to the first interval range, the data with 0.45 will be divided into the set corresponding to the second interval range, and the data with 0.58 and 0.62 will be divided into the set corresponding to the third interval range. In this way, the classification of electronic control unit data according to the importance value is completed. The data in each set has a certain similarity in importance, which is convenient for subsequent targeted analysis of the electronic control unit data.

[0050] It can be seen that by determining the maximum and minimum importance values, dividing the interval range, and classifying the electronic control unit data into different sets, the complex data can be grouped in an orderly manner according to the importance level. The data sets divided based on the importance level value can implement layered data security and privacy protection strategies. For data sets with highly sensitive information (such as vehicle identification numbers, owner privacy data) and high importance, multiple identity authentication, strict audit tracking and other security measures can be adopted. For data sets with lower importance, on the premise of meeting basic security requirements, security restrictions can be appropriately relaxed to improve the convenience of data use.

[0051] S103: Determine the identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers.

[0052] In this embodiment, in order to clearly, accurately and uniquely distinguish and refer to each electronic control unit data set obtained after classification and facilitate identification in various subsequent operation links, it is necessary to assign a special identity to each electronic control unit data set, just like assigning a unique ID number to each person. For these m electronic control unit data sets, their respective identities are determined one by one, and finally a total of m different identities will be obtained. These identities can be in various forms, such as digital numbers, alphanumeric combinations, or strings that follow certain specific encoding rules, as long as each identifier can be unique in the entire vehicle data management system and can unambiguously represent the corresponding electronic control unit data set.

[0053] It can be seen that determining an identity for each electronic control unit data set is like attaching a unique label to each data set, which enables quick and accurate location and reference of specific data sets when managing large amounts of vehicle data. During the data access process, the identity can help record and track who has accessed which data sets.

[0054] S104: Determine a data configuration table of the target vehicle based on the m identity identifiers and the m electronic control unit data sets.

[0055] In this embodiment, the data configuration table is an important tool for comprehensively sorting and managing the electronic control unit data of the target vehicle. Through this table, the key information of each electronic control unit data set and the relationship between them can be clearly presented. Figure 2 , Figure 2It is a structural diagram of a data configuration table provided in an embodiment of the present application. The data configuration table is explained by taking data configuration table 20 as an example. Data configuration table 20 includes three columns, one column represents the name of the electronic control unit data set, one column represents the identity identifier, and one column represents the specific electronic control unit data included. It should be noted that in actual operation, the rows and columns of the data configuration table are not restricted and can include many rows and columns. In the implementation mode of the present application, the electronic control unit data set of the data configuration table 20 includes engine management system data, transmission control system data, airbag system data and in-vehicle entertainment system data, wherein the identity identifier of the engine management system data is ECU001, and the electronic control unit data specifically included are fuel injection quantity control data, ignition timing control data, throttle opening control data, etc. The identity identifier of the transmission control system data is ECU002, and the electronic control unit data specifically included are shift timing control data, transmission ratio adjustment data, etc. The identity identifier of the airbag system data is ECU003, and the electronic control unit data specifically included are airbag triggering condition data, sensor status monitoring data, etc. The identity identifier of the in-vehicle entertainment system data is ECU004, and the electronic control unit data specifically included are audio play list data, video play setting data, Bluetooth connection data, etc.

[0056] It needs to be explained that the data configuration table will not only have a special column for filling in the identity identification, through which the specific data set can be quickly located, but also a column that describes in detail which electronic control unit data is contained in the corresponding data set, and there will be more columns for recording the access rights information of the data set (which users or devices can access it, whether it is read-only or readable and writable, etc.) and the data update cycle (how often it is updated, etc.), etc. Through such a data configuration table that integrates multiple aspects of key information, we can have a clear and organized understanding of the overall architecture and management rules of all electronic control unit data of the target vehicle, which is convenient for the subsequent operation of these data according to different usage scenarios and needs.

[0057] It can be seen that by constructing a data configuration table, the vehicle's m electronic control unit data sets and their corresponding m identity-related information are integrated into a unified table structure, thereby realizing centralized management of vehicle data. In the data configuration table, access permissions can be set in detail for each electronic control unit data set by locating the identity.

[0058] S105: Obtain a privacy data access request from an external device.

[0059] In this embodiment, the privacy data access request carries k identity identifiers, each of which corresponds to a data index, and k is an integer less than or equal to m. External devices refer to those devices that are not built into the vehicle itself but need to interact with the vehicle for data. Common ones include on-board diagnostic instruments (professional equipment used by maintenance personnel to detect vehicle faults and read vehicle data), vehicle management applications installed on the owner's smartphone (which can view vehicle status, control some functions, etc.), and some third-party vehicle data analysis platforms. These external devices will send requests to the target vehicle to access private data for their own functional needs (such as maintenance diagnosis, viewing specific vehicle information, and performing data analysis). This is a privacy data access request. And in this access request, k identity identifiers will be attached. At the same time, each identity identifier corresponds to a data index. This data index can be understood as a more detailed directional information, which can help to further accurately locate the specific data content to be accessed in the corresponding data set, just like finding a specific file (specific data) through a specific page number (data index) in a large folder (data set). For example, the external device is an on-board diagnostic instrument. An identity identifier carried in the access request it sends corresponds to the engine control unit data set, and a corresponding data index may point to the real-time data of a specific sensor in the set, so that it can be clear which specific part of the data is to be obtained.

[0060] It can be seen that the external device carries k identity identifiers to issue a privacy data access request, allowing the vehicle system to quickly and accurately locate the electronic control unit data set that the external device wants to access, because the identity identifier is a previously determined label used to distinguish different data sets. By matching these identifiers, the vehicle system can directly find the corresponding target data set, avoiding the retrieval and processing of irrelevant data and improving the efficiency of data access.

[0061] S106: Determine k electronic control unit data sets based on the k identity identifiers and the data configuration table.

[0062] In this embodiment, after receiving a privacy data access request sent by an external device and the k identity identifiers carried therein, it is necessary to search for matching records in the data configuration table of the target vehicle previously constructed based on these identity identifiers, that is, to compare each identity identifier in the request with the corresponding identity identifier in the data configuration table one by one, find the row in the data configuration table corresponding to the k identity identifiers, and then determine the electronic control unit data set in the corresponding row to obtain k electronic control unit data sets. In other words, through such a comparison and search operation, the electronic control unit data set corresponding to all successfully matched records is the relevant data set involved in this external device access request, and a total of k such electronic control unit data sets will be determined.

[0063] It can be seen that the data configuration table contains detailed information on all electronic control unit data sets of the vehicle, including the identity corresponding to each set. When an access request for k identity identifiers carried by an external device is received, the k electronic control unit data sets corresponding to these identity identifiers can be quickly screened out by matching with the data configuration table.

[0064] S107: Determine the private data required by the target user from the k electronic control unit data sets according to the k data indexes corresponding to the k identity identifiers.

[0065] In this embodiment, after k electronic control unit data sets have been determined, the data index corresponding to each identity identifier is used to further go into the corresponding data set to accurately find the privacy data that the target user really needs. Each data index clearly points to specific data content in the corresponding data set. According to these "pointing information", the corresponding data is extracted from each data set. For example, for an engine control unit data set (corresponding to a certain identity identifier), the data index it carries points to the real-time data of a specific injection parameter in the engine control unit, so the specific injection parameter data is extracted from this data set. For another body control module data set (corresponding to another identity identifier), if its data index points to the current gear setting data of the seat heating, this data is obtained from the set. Therefore, the privacy data required by the target user can be determined from the k electronic control unit data sets according to the k data indexes corresponding to the k identity identifiers.

[0066] It can be seen that through the k data indexes corresponding to k identity identifiers, the privacy data that the target user really needs in each electronic control unit data set can be accurately located, avoiding the extraction of the entire data set, thereby reducing the amount of data transmission and processing. Only the privacy data required by the target user is extracted instead of the entire data set, which can minimize unnecessary data exposure.

[0067] S108: Send the private data to an external device.

[0068] In this embodiment, the privacy data is sent to the external device that initiates the access request through a suitable communication link established between the vehicle and the external device (for example, through wireless communication methods such as Bluetooth, Wi-Fi, vehicle network, or a wired connection). The external device can be a maintenance diagnostic device, an electronic device used by the owner, a data analysis and supervision device, etc., which is not limited here.

[0069] It should be noted that in this embodiment, it is also necessary to obtain the identity information of the external device and perform security authentication on the target user based on the identity information. Specifically, when the external device wants to access vehicle data, it first needs to obtain the identity information related to the external device itself. These identity information can include a variety of content, such as the unique identifier of the device, which may be a string of numbers and letters, such as the serial number of the device, and the category of the device (whether it is a maintenance device, a car owner's own device, or other type), or the manufacturer information of the device, and some identification information associated with it when it is registered in the corresponding system. After obtaining the identity information of the external device, security authentication will be carried out on the target user who attempts to access the vehicle's private data based on this information. The target user here is usually the subject who operates the external device to initiate an access request, such as a car owner using a mobile vehicle management application, a maintenance personnel using diagnostic equipment, etc. The security authentication process will refer to pre-set rules and standards to compare and verify the identity information provided by the external device with the existing legitimate user and device information database in the system. Exemplarily, if the security authentication fails, an alarm message is generated, and the alarm message is used to prompt the target user that he does not have access rights to the private data of the target vehicle. If the security authentication passes, the step of determining the k identity identifiers corresponding to the private data access request is executed. Specifically, if it is found that the identity information provided by the external device does not meet the system requirements, that is, it cannot pass the authentication, it means that the target user does not have the legal authority to access the private data of the target vehicle. In this case, the system will automatically generate an alarm message. The main function of this alarm message is to clearly inform the target user that he currently does not have access rights to the private data of the target vehicle. The alarm message can be presented in a variety of forms, such as A prompt box pops up on the vehicle's display screen to display the corresponding text content (such as "You do not have permission to access the private data of this vehicle, please verify the device and permissions"), or a notification message is pushed to the terminal associated with the external device to inform the user, and the vehicle's sound alarm device can even be triggered to emit a warning sound to ensure that the target user knows that his access request is rejected due to insufficient permissions. On the contrary, if the security authentication link is successfully passed, it means that the access request initiated by the target user through the external device is legal and compliant, and he has the corresponding permission to access the private data of the target vehicle. Then, the system will follow the established process and enter the step of "determining the k identity identifiers corresponding to the privacy data access request".

[0070] It can be seen that by obtaining the identity information of external devices and performing security authentication, unauthorized external devices can be effectively identified. When the security authentication fails, an alarm message is generated, which provides an active early warning mechanism for the security protection of the vehicle system. Security authentication based on identity information enables the vehicle system to accurately control access rights.

[0071] It should be noted that, in this implementation, it is also necessary to determine the security level of each data in the privacy data, obtain at least one security level, and determine the highest security level among the at least one security level. Specifically, for each specific data in these privacy data, it is necessary to determine its corresponding security level based on certain standards and rules. This standard may take into account factors such as the sensitivity of the data, the possible impact after data leakage (such as the impact on vehicle safety, owner privacy, vehicle operation, etc.). After obtaining multiple security levels corresponding to each data in the privacy data, it is necessary to find the highest security level. By clarifying the highest security level, the most sensitive and most protected part of this batch of privacy data can be known, and then corresponding and adaptive security measures can be taken to ensure the security of the overall data. Exemplarily, when the highest security level is greater than the preset security level, an encryption mode is randomly selected from multiple encryption modes to obtain a target encryption mode; multiple encryption modes are pre-stored in the electronic device, and the private data is encrypted based on the target encryption mode to obtain encrypted private data, and decryption information of the external device is obtained. When the decryption information meets the preset conditions, the step of sending the private data to the external device is executed. Specifically, the preset security level is used to determine whether a higher level of encryption measures need to be taken for the private data. When the highest security level of the private data determined by the previous steps is higher than the preset security level, it means that the current private data is relatively sensitive and needs to be encrypted to ensure its security during transmission. Once the target encryption mode is determined, the selected encryption mode will be used to encrypt all the private data mentioned above to obtain encrypted private data. At this time, the encrypted private data cannot be directly known to external devices or other unauthorized entities that do not have corresponding decryption means, thereby effectively protecting the confidentiality and security of the private data. When sending encrypted private data to an external device, it is necessary to obtain the decryption information provided by the external device. This decryption information usually corresponds to the encryption mode used to encrypt the private data. If symmetric encryption is used, the decryption information may be the corresponding decryption key. If asymmetric encryption is used, it may involve a private key or some verification information sent by the external device after public key encryption. The external device needs to provide the corresponding decryption information in accordance with the prescribed encryption and decryption mechanism, so as to subsequently verify whether it has the ability and authority to correctly decrypt the encrypted private data, and then obtain the original private data content. The preset conditions specify the specific requirements that the decryption information must meet, such as whether the format and length of the decryption key are correct, and whether the decryption information matches the relevant parameters set during encryption through the verification algorithm. Only when the decryption information provided by the external device fully meets this preset condition, it means that the external device has the qualifications and ability to legally obtain and interpret the private data.In this case, the system will execute the operation of sending the original private data to the external device, so that the external device can receive the private data it requested and perform subsequent processing on the data according to its own functional requirements. When the highest security level is less than or equal to the preset security level, the step of sending the private data to the external device is executed.

[0072] It should be explained that the security level may include a public level, a prohibited level, an encryption level, etc. The preset security level may be an encryption level, which is not limited here.

[0073] It can be seen that by determining the security level of each data in the privacy data, the sensitivity of different data can be accurately identified, multiple encryption modes are pre-stored, and one is randomly selected as the target encryption mode, which increases the randomness and unpredictability of encryption. The external device is required to provide decryption information and send the privacy data only when it meets the preset conditions. This mechanism ensures that only external devices with legal decryption means can obtain the original privacy data. At the same time, the judgment logic for comparing the highest security level with the preset security level is set. When the highest security level is less than or equal to the preset security level, the step of sending privacy data is directly executed, which reflects a flexible data processing strategy. For relatively insensitive data, there is no need to go through complex encryption and decryption verification processes, which not only ensures the efficiency of data interaction, but also meets the data access requirements under different security demand scenarios.

[0074] In summary, the implementation of the present invention has the following beneficial effects:

[0075] It can be seen that the vehicle privacy data access method described in the embodiment of the present invention includes: obtaining n electronic control unit data corresponding to the target vehicle, each electronic control unit data corresponds to an electronic control unit, n is a positive integer, classifying the n electronic control unit data to obtain m electronic control unit data sets, m is a positive integer less than n, determining the identity corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers, determining the data configuration table of the target vehicle based on the m identity identifiers and the m electronic control unit data sets, and obtaining a privacy data access request from an external device; the privacy data access request carries k identity identifiers, each identity identifier corresponds to a data index, k is an integer less than or equal to m, determining k electronic control unit data sets based on the k identity identifiers and the data configuration table, determining the privacy data required by the target user from the k electronic control unit data sets according to the k data indexes corresponding to the k identity identifiers, and sending the privacy data to the external device, thereby improving the convenience of accessing vehicle privacy data.

[0076] See also Figure 3 , Figure 3It is a structural diagram of a vehicle privacy data access device provided in an embodiment of the present application. The vehicle privacy data access device 300 includes: an acquisition unit 301 and a processing unit 302;

[0077] An acquisition unit 301 acquires n electronic control unit data corresponding to a target vehicle; each electronic control unit data corresponds to an electronic control unit, and n is a positive integer;

[0078] The processing unit 302 is used to classify the n electronic control unit data to obtain m electronic control unit data sets; m is a positive integer less than n;

[0079] Determine the identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers;

[0080] Determine a data configuration table of a target vehicle based on the m identity identifiers and the m electronic control unit data sets;

[0081] Obtain a private data access request from an external device; the private data access request carries k identity identifiers, each identity identifier corresponds to a data index; k is an integer less than or equal to m;

[0082] Determine k electronic control unit data sets based on k identity identifiers and data configuration tables;

[0083] Determine the privacy data required by the target user from the k electronic control unit data sets according to the corresponding data indexes in the k identity identifiers;

[0084] Send private data to external devices.

[0085] In some possible implementations, in terms of classifying n electronic control unit data to obtain m electronic control unit data sets, the processing unit 302 is specifically configured to:

[0086] Obtain historical operation data of the target vehicle within a historical time period;

[0087] According to the determination method in the following steps S1-S3, the importance value corresponding to each electronic control unit data in the n electronic control unit data is determined to obtain n importance value, which is specifically the following steps:

[0088] S1. Determine, based on historical operation data, the failure probability of the target vehicle when a first electronic control unit data is abnormal; the first electronic control unit data is any one of n electronic control unit data;

[0089] S2. Obtain a mapping relationship between the failure probability and the importance value;

[0090] S3, determining the importance value corresponding to the fault probability based on the mapping relationship, and obtaining the importance value corresponding to the first electronic control unit data;

[0091] The n electronic control unit data are classified based on the n importance degree values ​​to obtain m electronic control unit data sets.

[0092] In some possible implementations, in determining the importance value corresponding to the fault probability based on the mapping relationship and obtaining the importance value corresponding to the first electronic control unit data, the processing unit 302 is specifically configured to:

[0093] Determine the importance value corresponding to the failure probability based on the mapping relationship, and obtain a reference importance value;

[0094] Acquire the data update frequency of the first electronic control unit corresponding to the first electronic control unit data;

[0095] Determining a target adjustment parameter corresponding to the data update frequency;

[0096] The reference importance level value is adjusted based on the target adjustment parameter to obtain the importance level value corresponding to the first electronic control unit data.

[0097] In some possible implementations, in terms of classifying n electronic control unit data based on n importance values ​​to obtain m electronic control unit data sets, the processing unit 302 is specifically configured to:

[0098] Determine the maximum importance value and the minimum importance value among the n importance values;

[0099] Determining an importance difference value based on the maximum importance value and the minimum importance value;

[0100] Divide the importance difference into m intervals;

[0101] Based on n importance values, n electronic control unit data are divided into m interval ranges to obtain m electronic control unit data sets; each interval range corresponds to one electronic control unit data set.

[0102] In some possible implementations, the processing unit 302 is further specifically configured to:

[0103] Obtain the identity information of the external device;

[0104] Perform security authentication on target users based on identity information;

[0105] If the security authentication fails, an alarm message is generated; the alarm message is used to remind the target user that he does not have the access rights to the private data of the target vehicle;

[0106] If the security authentication is passed, the step of determining k identity identifiers corresponding to the private data access request is executed.

[0107] In some possible implementations, the processing unit 302 is further specifically configured to:

[0108] Determine the security level of each data in the private data to obtain at least one security level;

[0109] determining a highest security level among at least one security level;

[0110] When the highest security level is greater than the preset security level, randomly selecting an encryption mode from multiple encryption modes to obtain a target encryption mode; the multiple encryption modes are pre-stored in the electronic device;

[0111] Encrypting the private data based on the target encryption mode to obtain encrypted private data;

[0112] Get decryption information of external devices;

[0113] When the decrypted information meets the preset condition, the step of sending the private data to the external device is performed.

[0114] In some possible implementations, the processing unit 302 is further specifically configured to:

[0115] When the highest security level is less than or equal to the preset security level, a step of sending the private data to an external device is performed.

[0116] See also Figure 4 , Figure 4 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 400 includes a transceiver 401, a processor 402 and a memory 403. They are connected via a bus 404. The memory 403 is used to store computer programs and data, and the transceiver 401 can transmit the data stored in the memory 403 to the processor 402. The above program includes instructions for executing the following steps:

[0117] Obtain n electronic control unit data corresponding to the target vehicle; each electronic control unit data corresponds to an electronic control unit, and n is a positive integer;

[0118] Used to classify n electronic control unit data to obtain m electronic control unit data sets; m is a positive integer less than n;

[0119] Determine the identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers;

[0120] Determine a data configuration table of a target vehicle based on the m identity identifiers and the m electronic control unit data sets;

[0121] Obtain a private data access request from an external device; the private data access request carries k identity identifiers, each identity identifier corresponds to a data index; k is an integer less than or equal to m;

[0122] Determine k electronic control unit data sets based on k identity identifiers and data configuration tables;

[0123] Determine the privacy data required by the target user from the k electronic control unit data sets according to the corresponding data indexes in the k identity identifiers;

[0124] Send private data to external devices.

[0125] In some possible implementations, in terms of classifying n electronic control unit data to obtain m electronic control unit data sets, the above program includes instructions for executing the following steps:

[0126] Obtain historical operation data of the target vehicle within a historical time period;

[0127] According to the determination method in the following steps S1-S3, the importance value corresponding to each electronic control unit data in the n electronic control unit data is determined to obtain n importance value, which is specifically the following steps:

[0128] S1. Determine, based on historical operation data, the failure probability of the target vehicle when a first electronic control unit data is abnormal; the first electronic control unit data is any one of n electronic control unit data;

[0129] S2. Obtain a mapping relationship between the failure probability and the importance value;

[0130] S3, determining the importance value corresponding to the fault probability based on the mapping relationship, and obtaining the importance value corresponding to the first electronic control unit data;

[0131] The n electronic control unit data are classified based on the n importance degree values ​​to obtain m electronic control unit data sets.

[0132] In some possible implementations, in terms of determining the importance value corresponding to the fault probability based on the mapping relationship and obtaining the importance value corresponding to the first electronic control unit data, the program includes instructions for executing the following steps:

[0133] Determine the importance value corresponding to the failure probability based on the mapping relationship, and obtain a reference importance value;

[0134] Acquire the data update frequency of the first electronic control unit corresponding to the first electronic control unit data;

[0135] Determining a target adjustment parameter corresponding to the data update frequency;

[0136] The reference importance level value is adjusted based on the target adjustment parameter to obtain the importance level value corresponding to the first electronic control unit data.

[0137] In some possible implementations, in terms of classifying n electronic control unit data based on n importance values ​​to obtain m electronic control unit data sets, the program includes instructions for executing the following steps:

[0138] Determine the maximum importance value and the minimum importance value among the n importance values;

[0139] Determining an importance difference value based on the maximum importance value and the minimum importance value;

[0140] Divide the importance difference into m intervals;

[0141] Based on n importance values, n electronic control unit data are divided into m interval ranges to obtain m electronic control unit data sets; each interval range corresponds to one electronic control unit data set.

[0142] In some possible implementations, the above program includes instructions for performing the following steps:

[0143] Obtain the identity information of the external device;

[0144] Perform security authentication on target users based on identity information;

[0145] If the security authentication fails, an alarm message is generated; the alarm message is used to remind the target user that he does not have the access rights to the private data of the target vehicle;

[0146] If the security authentication is passed, the step of determining k identity identifiers corresponding to the private data access request is executed.

[0147] In some possible implementations, the above program includes instructions for performing the following steps:

[0148] Determine the security level of each data in the private data to obtain at least one security level;

[0149] determining a highest security level among at least one security level;

[0150] When the highest security level is greater than the preset security level, randomly selecting an encryption mode from multiple encryption modes to obtain a target encryption mode; the multiple encryption modes are pre-stored in the electronic device;

[0151] Encrypting the private data based on the target encryption mode to obtain encrypted private data;

[0152] Get decryption information of external devices;

[0153] When the decrypted information meets the preset condition, the step of sending the private data to the external device is performed.

[0154] In some possible implementations, the above program includes instructions for performing the following steps:

[0155] When the highest security level is less than or equal to the preset security level, a step of sending the private data to an external device is performed.

[0156] It should be understood that the electronic devices in this application may include access devices for vehicle privacy data, smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, mobile Internet devices MID (Mobile Internet Devices, MID for short) or wearable devices or servers, edge computing nodes, etc. The above electronic devices are only examples, not exhaustive, and include but are not limited to the above electronic devices.

[0157] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement part or all of the steps of any one of the vehicle privacy data access methods recorded in the above method embodiments.

[0158] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the vehicle privacy data access methods recorded in the above method embodiments.

[0159] It should be noted that, for the above-mentioned various method implementations, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by this application.

[0160] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0161] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0162] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0164] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of each implementation method of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0165] A person skilled in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0166] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for accessing vehicle privacy data, characterized in that: Applied to electronic equipment, the method comprises: Obtain n electronic control unit data corresponding to the target vehicle; each electronic control unit data corresponds to an electronic control unit, and n is a positive integer; Classifying the n electronic control unit data to obtain m electronic control unit data sets, where m is a positive integer less than n; Determine an identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers; Determining a data configuration table of the target vehicle based on the m identity identifiers and the m electronic control unit data sets; Obtain a private data access request from an external device; the private data access request carries k identity identifiers, each identity identifier corresponds to a data index, and k is an integer less than or equal to m; Determine k electronic control unit data sets based on the k identity identifiers and the data configuration table; Determining the private data required by the target user from the k electronic control unit data sets according to the k data indexes corresponding to the k identity identifiers; The private data is sent to the external device.

2. The method according to claim 1, characterized in that The classifying the n electronic control unit data to obtain m electronic control unit data sets includes: Acquire historical operation data of the target vehicle within a historical time period; According to the determination method in the following steps S1-S3, the importance value corresponding to each electronic control unit data in the n electronic control unit data is determined to obtain n importance value, which is specifically the following steps: S1. Determine, based on the historical operation data, the failure probability of the target vehicle when a first electronic control unit data is abnormal; the first electronic control unit data is any one of the n electronic control unit data; S2. Obtaining a mapping relationship between the failure probability and the importance value; S3. Determine the importance value corresponding to the fault probability based on the mapping relationship, and obtain the importance value corresponding to the first electronic control unit data; The n electronic control unit data are classified based on the n importance values ​​to obtain the m electronic control unit data sets.

3. The method according to claim 2, characterized in that The determining the importance value corresponding to the fault probability based on the mapping relationship to obtain the importance value corresponding to the first electronic control unit data includes: Determine the importance value corresponding to the fault probability based on the mapping relationship to obtain a reference importance value; Acquire a data update frequency of a first electronic control unit corresponding to the first electronic control unit data; Determining a target adjustment parameter corresponding to the data update frequency; The reference importance value is adjusted based on the target adjustment parameter to obtain the importance value corresponding to the first electronic control unit data.

4. The method according to claim 3, characterized in that The classifying the n electronic control unit data based on the n importance values ​​to obtain the m electronic control unit data sets includes: Determining a maximum importance value and a minimum importance value among the n importance values; Determining an importance level difference value based on the maximum importance level value and the minimum importance level value; Dividing the importance degree difference into m interval ranges; The n electronic control unit data are divided into the m interval ranges based on the n importance degree values ​​to obtain the m electronic control unit data sets; each interval range corresponds to an electronic control unit data set.

5. The method according to claim 4, characterized in that The method further comprises: Obtaining identity information of the external device; Performing security authentication on the target user based on the identity information; If the security authentication fails, an alarm message is generated; the alarm message is used to prompt the target user that he does not have the access right to the private data of the target vehicle; If the security authentication is passed, the step of determining k identity identifiers corresponding to the private data access request is performed.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Determine the security level of each data in the private data to obtain at least one security level; determining a highest security level among the at least one security level; When the highest security level is greater than a preset security level, randomly selecting an encryption mode from a plurality of encryption modes to obtain a target encryption mode; the plurality of encryption modes are pre-stored in the electronic device; Encrypting the private data based on the target encryption mode to obtain encrypted private data; Obtaining decryption information of the external device; When the decrypted information meets a preset condition, the step of sending the private data to the external device is performed.

7. The method according to claim 6, characterized in that The method further comprises: When the highest security level is less than or equal to the preset security level, the step of sending the private data to the external device is performed.

8. A device for accessing vehicle privacy data, characterized in that: The device comprises: an acquisition unit and a processing unit; The acquisition unit acquires n electronic control unit data corresponding to the target vehicle; each electronic control unit data corresponds to an electronic control unit, and n is a positive integer; The processing unit is used to classify the n electronic control unit data to obtain m electronic control unit data sets; m is a positive integer less than n; Determine an identity identifier corresponding to each electronic control unit data set in the m electronic control unit data sets to obtain m identity identifiers; Determining a data configuration table of the target vehicle based on the m identity identifiers and the m electronic control unit data sets; Obtaining a private data access request from an external device; the private data access request carries k identity identifiers, each identity identifier corresponds to a data index; k is an integer less than or equal to m; Determine k electronic control unit data sets based on the k identity identifiers and the data configuration table; Determining the private data required by the target user from the k electronic control unit data sets according to the data indexes corresponding to the k identity identifiers; The private data is sent to the external device.

9. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 7.