Vehicle safe starting method and device based on component authentication, equipment and medium
By implementing a component authentication system in a vehicle, automatically comparing and authenticating vehicle components, the problem of lack of automatic comparison after component replacement in the prior art is solved, and the transparency of vehicle safety and component management is improved.
Patent Information
- Application Number
- CN202411937512.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-07
AI Technical Summary
The prior art lacks an automatic comparison mechanism after the replacement of vehicle components, which leads to risks in manual comparison, which may affect the normal driving of the vehicle or threaten personal safety.
By implementing the component authentication system in the vehicle, when the vehicle is ignited or powered on, the current component information is automatically scanned to compare with the standard component information. If it is inconsistent, it will be uploaded to the authentication server for authentication process. After passing or failing the authentication, the component information will be updated or the vehicle starts will be restricted.
It realizes automatic component authentication of the vehicle when starting, effectively prevents safety hazards caused by incorrect installation or mismatch of components, and provides component authentication records to facilitate the vehicle owner or manager to understand the component situation.
Smart Images

Figure CN119568066A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle safety technology, and in particular to a vehicle safety starting method, device, equipment and medium based on component authentication. Background Art
[0002] At present, when a vehicle fails, it is often necessary to replace components. If an inappropriate component is replaced, it will affect the normal driving of the vehicle and even threaten personal safety. At present, there is no strict inspection when replacing components. When replacing components, the repair shop uses external equipment to read the information of the new component, and then manually compares whether the information of the new component meets the requirements. Therefore, after replacing the new component, the vehicle itself will not automatically compare, and the repair shop only uses external equipment to compare once when replacing a new component. Therefore, there are risks in manual comparison. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a vehicle safety startup method, device, equipment and medium based on component authentication, which can automatically complete the authentication of internal components after the vehicle is ignited or powered on, and realize the safe startup and operation of the vehicle. The specific scheme is as follows:
[0004] In a first aspect, the present application discloses a vehicle safety start method based on component authentication, comprising:
[0005] When the ignition switch or power of the target vehicle is turned on, the current component information of the target vehicle is scanned, and the current component information is compared with the standard component information stored in the vehicle control unit of the target vehicle;
[0006] If the comparison result is that the current component information is inconsistent with the standard component information, uploading the current component information to the authentication server so that the authentication server starts a component authentication process based on the current component information;
[0007] If the component authentication is passed, the current component information is updated to the vehicle control unit, and the target vehicle is started normally;
[0008] If the component authentication fails, a corresponding target vehicle restriction operation is selected according to the failure level of the authentication failure to restrict the start of the target vehicle.
[0009] Optionally, when the ignition switch or power of the target vehicle is turned on, current component information of the target vehicle is scanned, including:
[0010] When the ignition switch or power supply of the target vehicle is turned on, various current component information of the target vehicle is scanned and read through the vehicle control unit of the target vehicle and according to the communication bus of the target vehicle.
[0011] Optionally, the comparing the current component information with standard component information stored in a vehicle control unit in the target vehicle includes:
[0012] Comparing each item of the current component information with the standard component information of the target vehicle stored in the vehicle control unit to obtain a corresponding comparison result;
[0013] If the comparison result is that each item of the current component information is consistent with the standard component information, it is determined that each item of the current component of the target vehicle has not been replaced, and the target vehicle is started normally.
[0014] Optionally, if the comparison result is that the current component information is inconsistent with the standard component information, uploading the current component information to an authentication server so that the authentication server starts a component authentication process based on the current component information, including:
[0015] If the comparison result is that the current component information is inconsistent with the standard component information, the current component information is used as the target component information of the vehicle component to be authenticated;
[0016] An authentication request is generated based on the target component information and the vehicle information of the target vehicle, and the authentication request is sent to an authentication server so that the authentication server starts a component authentication process based on the authentication request.
[0017] Optionally, the initiating a component authentication process based on the authentication request includes:
[0018] It is determined whether there is a vehicle record matching the target component information in the vehicle information database. If so, the standard vehicle information recorded in the vehicle record is matched with the vehicle information of the target vehicle.
[0019] Optionally, the initiating a component authentication process based on the authentication request includes:
[0020] Performing feature extraction processing on the target component information and the vehicle information of the target vehicle to obtain corresponding target features;
[0021] Calculating the similarity between the target feature and each vehicle information feature in the vehicle information database to obtain a corresponding similarity calculation result;
[0022] If there is a target similarity calculation result greater than a preset similarity threshold value among the similarity calculation results, it indicates that the component authentication is passed;
[0023] If there is no target similarity calculation result greater than a preset similarity threshold in the similarity calculation results, it indicates that the component authentication has not been passed.
[0024] Optionally, the selecting a corresponding target vehicle restriction operation according to the failure level of the authentication failure to restrict the target vehicle from starting also includes:
[0025] If the software version in the component information of the vehicle component is not the latest software version of the vehicle component, the corresponding failure level is set to a first failure level, and the target vehicle restriction operation corresponding to the first failure level is set to a risk prompt of a target vehicle function restriction;
[0026] If the component type or hardware version in the component information of the vehicle component fails to be authenticated, the corresponding failure level is set to a second failure level, and the target vehicle restriction operation corresponding to the second failure level is set to prohibit the target vehicle from starting.
[0027] In a second aspect, the present application discloses a vehicle safety starting device based on component authentication, comprising:
[0028] An information comparison module, for scanning the current component information of the target vehicle when the ignition switch or power supply of the target vehicle is turned on, and performing information comparison processing on the current component information and the standard component information stored in the vehicle control unit of the target vehicle;
[0029] an authentication module, configured to upload the current component information to an authentication server if the comparison result shows that the current component information is inconsistent with the standard component information, so that the authentication server starts a component authentication process based on the current component information;
[0030] A vehicle starting module, used for updating the current component information to the vehicle control unit and starting the target vehicle normally if the component authentication is passed;
[0031] The vehicle restriction module is used to select a corresponding target vehicle restriction operation according to a failure level of the certification failure if the component certification is not passed, so as to restrict the start of the target vehicle.
[0032] In a third aspect, the present application discloses an electronic device, comprising:
[0033] Memory, used to store computer programs;
[0034] The processor is used to execute the computer program to implement the steps of the vehicle safety startup method based on component authentication disclosed above.
[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed vehicle safety startup method based on component authentication are implemented.
[0036] It can be seen that the present application discloses a vehicle safety start method based on component authentication, including: when the ignition switch or power supply of the target vehicle is turned on, the current component information of the target vehicle is scanned, and the current component information is compared with the standard component information stored in the vehicle control unit of the target vehicle; if the comparison result is that the current component information is inconsistent with the standard component information, the current component information is uploaded to the authentication server, so that the authentication server starts the component authentication process based on the current component information; if the component authentication is passed, the current component information is updated to the vehicle control unit, and the target vehicle is started normally; if the component authentication is not passed, the corresponding target vehicle restriction operation is selected according to the failure level of the authentication failure to restrict the start of the target vehicle. It can be seen that the target vehicle startup process will execute the entire process of scanning, information comparison and authentication of all components of the vehicle, which can effectively prevent safety hazards caused by incorrect installation or use of mismatched components, and component authentication and related operations will leave records, whether it is a successful authentication update or an authentication failure and the corresponding vehicle restriction operation, so that the vehicle owner or management party can understand the actual situation of the vehicle components in real time and accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] 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, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0038] Figure 1 A flow chart of a vehicle safety start method based on component authentication disclosed in this application;
[0039] Figure 2 A component authentication flow chart disclosed in this application;
[0040] Figure 3 This is a schematic diagram of the structure of a vehicle safety starting device based on component authentication disclosed in this application;
[0041] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0043] At present, when a vehicle fails, it is often necessary to replace components. If an inappropriate component is replaced, it will affect the normal driving of the vehicle and even threaten personal safety. At present, there is no strict inspection when replacing components. When replacing components, the repair shop uses external equipment to read the information of the new component, and then manually compares whether the information of the new component meets the requirements. Therefore, after replacing the new component, the vehicle itself will not automatically compare, and the repair shop only uses external equipment to compare once when replacing a new component. Therefore, there are risks in manual comparison.
[0044] To this end, the present invention provides a vehicle safety startup scheme based on component authentication, which can automatically complete the authentication of internal components after the vehicle is ignited or powered on, thereby achieving safe startup and operation of the vehicle.
[0045] Reference Figure 1 As shown, an embodiment of the present invention discloses a vehicle safety starting method based on component authentication, comprising:
[0046] Step S11: When the ignition switch or power of the target vehicle is turned on, the current component information of the target vehicle is scanned, and the current component information is compared with the standard component information stored in the vehicle control unit of the target vehicle.
[0047] In this embodiment, when the ignition switch or power of the target vehicle is turned on, the current component information of the target vehicle is scanned and read through the vehicle control unit of the target vehicle and according to the communication bus of the target vehicle. It can be understood that since the vehicle will be tested before leaving the factory, the components inside the vehicle, such as ECU (Electronic Control Unit) will be authenticated on the authentication server. The authentication is to judge whether the component is suitable for the vehicle according to the component model provided by the vehicle. Generally, the authentication server will judge through the model database query or model matching algorithm. Therefore, after all the components of the vehicle are authenticated, the present invention stores all the component information on the vehicle as standard component information in the vehicle control unit inside the vehicle, such as VCU (Vehicle Control Unit) or domain controller. In this way, when the target vehicle is ignited or powered on, the various components inside the target vehicle are first scanned to obtain the various component information, and then the vehicle control unit obtains the various component information of the target vehicle uploaded through the communication bus, and compares the standard component information with the various component information according to the newly added comparison program in the vehicle control unit.
[0048] In this embodiment, the current component information of each item is compared with the standard component information of the target vehicle stored in the vehicle control unit to obtain the corresponding comparison result; if the comparison result is that the current component information of each item is consistent with the standard component information, it is determined that the current components of the target vehicle have not been replaced, and the target vehicle is started normally. It can be understood that the current component information of each item is compared with the stored standard component information one by one through the comparison program built into the vehicle control unit to obtain the corresponding comparison result. For example, in the startup process scenario of a certain vehicle, when the ignition switch or power of the vehicle is turned on, the vehicle control unit (VCU or domain controller) of the vehicle will receive a power-on signal. This power-on signal is a startup instruction that triggers the startup program pre-set in the VCU or domain controller. The startup program will automatically load the comparison program and allocate necessary system resources, such as memory, processor time, etc., to ensure that the comparison program can run smoothly. The controller area network (CAN) bus or other communication protocols are usually used inside the vehicle to realize information interaction between various components. The comparison program uses these communication protocols to establish communication connections with various components of the vehicle through the VCU or domain controller. Then, it sends information reading requests to each component, which are encoded in a specific communication format and data frame structure. For example, for an engine control unit (ECU), the comparison program sends a data frame requesting to read its model, hardware version, software version and other information. After receiving the request, each component will package its own relevant information in the same communication protocol format and send it back to the VCU or domain controller. After receiving the feedback information from all components, the comparison program will compare these current component information with the standard component information pre-stored in the VCU or domain controller one by one. This process may involve comparisons of multiple data types. For text-type information, such as component model, part number, etc., the comparison program will perform string matching. For example, it will check whether the currently read engine ECU model string is exactly the same as the stored standard model. For digital-type information, such as hardware version number, software version number, etc., the comparison program may perform size comparison or version number format matching. Assuming that the stored standard engine ECU software version is 1.2.0, and the currently read version is 1.2.0, the comparison program can identify that the two are consistent, and then determine that the current components of the vehicle have not been replaced, and start the vehicle normally. In this way, every time the vehicle is ignited or powered on, an automatic component check can be performed, without the need for external equipment to check the components inside the vehicle, ensuring vehicle safety.
[0049] Step S12: If the comparison result is that the current component information is inconsistent with the standard component information, the current component information is uploaded to the authentication server so that the authentication server starts a component authentication process based on the current component information.
[0050] In this embodiment, if the comparison result is that the current component information is inconsistent with the standard component information, the current component information is used as the target component information of the vehicle component to be authenticated; an authentication request is generated based on the target component information and the vehicle information of the target vehicle, and the authentication request is sent to the authentication server so that the authentication server starts the component authentication process based on the authentication request. It can be understood that if the comparison result is that the current component information is inconsistent with the standard component information, the authentication request is triggered to be sent. Specifically, since the comparison result is inconsistent, it indicates that the current component information may be the component information of the vehicle component that is not completely matched after replacement, or the component information of the vehicle component that is completely mismatched after replacement. Therefore, the corresponding vehicle component is the vehicle component to be authenticated, and accordingly, the current component information is the target component information. Then, based on the target component information and the vehicle information of the target vehicle, an authentication request for the vehicle component to be authenticated is generated, and the authentication request is sent to the authentication server. This authentication request contains key information of the vehicle, such as VIN code (Vehicle Identification Number), year, model, and detailed information of the component to be authenticated, including component type, component part number, hardware version, software version, etc. This information is crucial for the certification server to accurately determine whether the new component is compatible with the vehicle. For example, if the vehicle's transmission control unit is replaced, the VCU will collect information such as the type of the new transmission control unit (such as electronic hydraulic or dual clutch), part number (this is the unique identifier of the component), hardware version (involving hardware parameters such as chipset) and software version (version of the control program), and send it to the certification server together with the vehicle's own VIN code, model (such as sedan, SUV (Sports Utility Vehicle)) and year (such as 2024).
[0051] In this embodiment, after receiving the authentication request, the authentication server determines whether there is a vehicle record matching the target component information in the vehicle information library. If so, the standard vehicle information recorded in the vehicle record is matched with the vehicle information of the target vehicle. It can be understood that the network communication module in the authentication server receives the authentication request sent by the VCU or domain controller. This module can identify and process different types of messages from the vehicle network to ensure the integrity of the authentication request data. When the authentication request is received, the vehicle information (such as VIN code, year, model) and the target component information of the vehicle to be authenticated (such as component type, component part number, hardware version, software version) contained therein will be parsed, and these data will be extracted and converted into a format that can be processed inside the server. For example, the data is converted from the format specified by the vehicle network communication protocol to the format required by the database query language or algorithm input, and then enters the vehicle information library query matching process, as follows:
[0052] Constructing query statements: Based on the extracted target component information, the authentication server constructs a database query statement. Taking the component part number as an example, if the database is a relational database, a query statement similar to "SELECT * FROMcomponent_database WHERE part_number = 'extracted part number'" will be constructed to find out whether there is a fully matching component record in the vehicle information database.
[0053] Multi-condition query: In addition to the part number, multi-condition query is also performed in combination with other information such as component type, hardware version, software version, etc. For example, a more complex query statement will be constructed, such as "SELECT * FROM component_database WHERE part_number = 'Extracted part number' AND component_type = 'Extracted type' AND hardware_version = 'Extracted hardware version' AND software_version = 'Extracted software version'", to ensure that the records found match the target component information in multiple key dimensions.
[0054] Index utilization: In order to improve query efficiency, vehicle information databases usually create indexes. For example, indexes are created for fields that are frequently used for queries, such as part numbers and component types, so that possible matching records can be located more quickly during query matching, reducing query time.
[0055] Result judgment: If a fully matched vehicle record is found, further check whether the vehicle information (VIN code, year, model) corresponding to the record is consistent with the vehicle requested for certification. Only when both the component information and the vehicle information match, it is initially determined that the database query is successful.
[0056] Step S13: If the component authentication is passed, the current component information is updated to the vehicle control unit, and the target vehicle is started normally.
[0057] In this embodiment, if the vehicle information and the target component information are authenticated by the authentication server, the VCU or domain controller will update the target component information to its own storage area and start the target vehicle normally so that the target vehicle can be used normally. In this way, updating the information in the storage area can enable the VCU or domain controller to understand the actual configuration of the vehicle. The addition of new components that have passed the authentication may change the overall performance and safety characteristics of the vehicle. By updating the information of new components that have passed the authentication to the storage area, the VCU or domain controller can re-evaluate and adjust the vehicle's control strategy to maintain the consistency of vehicle safety and performance. For example, after replacing a new model of braking system components, the updated information allows the VCU to recalculate parameters such as braking distance and braking force distribution to ensure that the vehicle's braking performance meets safety standards.
[0058] Step S14: If the component authentication fails, a corresponding target vehicle restriction operation is selected according to the failure level of the authentication failure to restrict the start of the target vehicle.
[0059] In this embodiment, if one or both of the vehicle information and the target component information fail to pass the authentication of the authentication server, it indicates that the component authentication has failed, and it is necessary to select the corresponding target vehicle restriction operation according to the failure level of the current authentication failure, for example: sending a message reminder but not restricting the use of the vehicle, locking the engine or motor.
[0060] In this embodiment, the selection of the corresponding target vehicle restriction operation according to the failure level of the authentication failure to restrict the target vehicle from starting also includes: if the software version in the component information of the vehicle component is not the latest software version of the vehicle component, the corresponding failure level is set to the first failure level, and the target vehicle restriction operation corresponding to the first failure level is set to a risk prompt of limited function of the target vehicle; if the component type or hardware version in the component information of the vehicle component fails to authenticate, the corresponding failure level is set to the second failure level, and the target vehicle restriction operation corresponding to the second failure level is set to prohibit the target vehicle from starting. It can be understood that when the authentication fails, the vehicle will decide the next vehicle restriction operation according to the severity of the failure. Therefore, the severity of the failure can be pre-set to a first failure level of mild mismatch and a second failure level of severe mismatch. Specifically:
[0061] Mild mismatch: For example, if the software version of a component is older but usable, but the functions in the new software version are not supported, the vehicle can remind the owner but will not restrict the use of the vehicle. This reminder can be achieved by flashing the indicator light on the vehicle dashboard or displaying a warning message on the vehicle information system, letting the owner know that the vehicle component is in a certain non-optimal state.
[0062] Serious mismatch: For example, if the part number or hardware version does not match, it may affect driving safety. The vehicle can restrict its use, such as locking the engine or motor. This restriction is a safety mechanism to ensure that the vehicle will not be driven in the presence of serious safety hazards. It requires that the components must be replaced and re-certified before unlocking, thereby ensuring the safety of vehicle driving.
[0063] It can be seen that the present application discloses a vehicle safety start method based on component authentication, including: when the ignition switch or power supply of the target vehicle is turned on, the current component information of the target vehicle is scanned, and the current component information is compared with the standard component information stored in the vehicle control unit of the target vehicle; if the comparison result is that the current component information is inconsistent with the standard component information, the current component information is uploaded to the authentication server, so that the authentication server starts the component authentication process based on the current component information; if the component authentication is passed, the current component information is updated to the vehicle control unit, and the target vehicle is started normally; if the component authentication is not passed, the corresponding target vehicle restriction operation is selected according to the failure level of the authentication failure to restrict the start of the target vehicle. It can be seen that the target vehicle startup process will execute the entire process of scanning, information comparison and authentication of all components of the vehicle, which can effectively prevent safety hazards caused by incorrect installation or use of mismatched components, and component authentication and related operations will leave records, whether it is a successful authentication update or an authentication failure and the corresponding vehicle restriction operation, so that the vehicle owner or management party can understand the actual situation of the vehicle components in real time and accurately.
[0064] Reference Figure 2 As shown, the present invention discloses a component authentication process, including:
[0065] Step S21: performing feature extraction processing on the target component information and the vehicle information of the target vehicle to obtain corresponding target features.
[0066] In this embodiment, key features are extracted from target component information and vehicle information. These target features include component functional parameters (such as power, torque, etc., if it is a power component), interface specifications (such as the number of pins, communication interface type, etc.), physical dimensions, etc. For software components, they also include features such as data format, communication protocol, and called system resources.
[0067] Step S22: Calculate the similarity between the target feature and each vehicle information feature in the vehicle information database to obtain a corresponding similarity calculation result.
[0068] In this embodiment, a suitable model matching algorithm is selected according to the component type and characteristics of the vehicle component to be authenticated. For example, for hardware components, a rule-based matching algorithm may be used to judge according to pre-set hardware compatibility rules (such as a series of chips can be compatible with a specific circuit board); for software components, a semantic-based matching algorithm may be used to analyze whether the functional description and interface definition of the software match. At the same time, the parameters of the algorithm, such as the similarity threshold, etc., will be set according to the requirements of the vehicle manufacturer and past experience. Specifically, the similarity between the feature vector of the target component and the feature vector of the existing component in the vehicle information library is calculated. Common similarity calculation methods include cosine similarity, Euclidean distance, etc. In this embodiment, taking cosine similarity as an example, the feature vectors of the component to be authenticated and the component in the vehicle information library are regarded as vectors in space, and the similarity is measured by calculating the cosine value of the angle between them. The closer the cosine value is to 1, the higher the similarity.
[0069] Step S23: If there is a target similarity calculation result greater than a preset similarity threshold in the similarity calculation results, it indicates that the component authentication has been passed.
[0070] In this embodiment, a similarity threshold is set according to the requirements and actual needs of the vehicle manufacturer. When the similarity calculation result obtained by the algorithm exceeds the threshold, it is considered that the component to be authenticated matches a component in the vehicle information library successfully, that is, it is considered that the component to be authenticated matches a component in the vehicle information library in terms of function and compatibility. For example, the similarity threshold of the cosine similarity is set to 0.8. If the cosine similarity between the component to be authenticated and a component in a vehicle information library is calculated to be 0.85, it is determined to be a successful match and the component authentication is passed.
[0071] Step S24: If there is no target similarity calculation result greater than a preset similarity threshold in the similarity calculation results, it indicates that the component authentication has not been passed.
[0072] In this embodiment, if none of the similarity calculation results is greater than 0.8, it indicates that the component authentication has not been passed.
[0073] It can be seen that the above-mentioned component certification process can comprehensively consider multiple key features of components. This multi-dimensional evaluation method can more comprehensively judge the compatibility of new components with the original system of the vehicle, and avoid possible matching errors caused by relying on a single piece of information (such as part number) for judgment. For example, two different brands of automobile control units (ECUs) may have different part numbers, but their functional parameters and interface specifications are exactly the same. The model matching algorithm can accurately identify that they are functionally interchangeable, thereby improving the accuracy of component matching and adapting to component updates and changes.
[0074] Reference Figure 3 As shown, the present invention also discloses a vehicle safety starting device based on component authentication, including:
[0075] The information comparison module 11 is used to scan the current component information of the target vehicle when the ignition switch or power of the target vehicle is turned on, and to compare the current component information with the standard component information stored in the vehicle control unit of the target vehicle;
[0076] The authentication module 12 is configured to upload the current component information to the authentication server if the comparison result shows that the current component information is inconsistent with the standard component information, so that the authentication server starts a component authentication process based on the current component information;
[0077] The vehicle starting module 13 is used to update the current component information to the vehicle control unit and start the target vehicle normally if the component authentication is passed;
[0078] The vehicle restriction module 14 is used to select a corresponding target vehicle restriction operation according to a failure level of the authentication failure if the component authentication fails, so as to restrict the start of the target vehicle.
[0079] It can be seen that the present application discloses that when the ignition switch or power of the target vehicle is turned on, the current component information of the target vehicle is scanned, and the current component information is compared with the standard component information stored in the vehicle control unit of the target vehicle; if the comparison result is that the current component information is inconsistent with the standard component information, the current component information is uploaded to the authentication server, so that the authentication server starts the component authentication process based on the current component information; if the component authentication is passed, the current component information is updated to the vehicle control unit, and the target vehicle is started normally; if the component authentication is not passed, the corresponding target vehicle restriction operation is selected according to the failure level of the authentication failure to restrict the start of the target vehicle. It can be seen that the target vehicle startup process will execute the entire process of scanning, information comparison and authentication of all components of the vehicle, which can effectively prevent safety hazards caused by incorrect installation or use of mismatched components, and component authentication and related operations will leave records, whether it is a successful authentication update or an authentication failure and the corresponding vehicle restriction operation, so that the vehicle owner or management party can understand the actual situation of the vehicle components in real time and accurately.
[0080] Furthermore, the present application also discloses an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0081] Figure 4 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the vehicle safety startup method based on component authentication disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0082] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0083] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0084] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0085] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the vehicle safety startup method based on component authentication performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data transmitted from an external device received by the electronic device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0086] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the vehicle safety startup method based on component authentication disclosed above is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the above embodiments, and will not be repeated here.
[0087] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0088] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory RAM (Random Access Memory), memory, read-only memory ROM (Read Only Memory), electrically programmable EPROM (Electrically Programmable Read Only Memory), electrically erasable programmable EEPROM (ElectricErasable Programmable Read Only Memory), register, hard disk, removable disk, CD-ROM (CompactDisc-Read Only Memory), or any other form of storage medium known in the technical field.
[0089] Finally, it should be noted that, in this article, relational terms such as first and second, etc. 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 presence of other identical elements in the process, method, article or device including the elements.
[0090] The scheme provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A vehicle safety startup method based on component authentication, characterized in that: include: When the ignition switch or power of the target vehicle is turned on, the current component information of the target vehicle is scanned, and the current component information is compared with the standard component information stored in the vehicle control unit of the target vehicle; If the comparison result is that the current component information is inconsistent with the standard component information, uploading the current component information to the authentication server so that the authentication server starts a component authentication process based on the current component information; If the component authentication is passed, the current component information is updated to the vehicle control unit, and the target vehicle is started normally; If the component authentication fails, a corresponding target vehicle restriction operation is selected according to the failure level of the authentication failure to restrict the start of the target vehicle.
2. The vehicle safety starting method based on component authentication according to claim 1, characterized in that: When the ignition switch or power of the target vehicle is turned on, the current component information of the target vehicle is scanned, including: When the ignition switch or power supply of the target vehicle is turned on, various current component information of the target vehicle is scanned and read through the vehicle control unit of the target vehicle and according to the communication bus of the target vehicle.
3. The vehicle safety starting method based on component authentication according to claim 2, characterized in that: The comparing the current component information with the standard component information stored in the vehicle control unit of the target vehicle includes: Comparing each item of the current component information with the standard component information of the target vehicle stored in the vehicle control unit to obtain a corresponding comparison result; If the comparison result is that each item of the current component information is consistent with the standard component information, it is determined that each item of the current component of the target vehicle has not been replaced, and the target vehicle is started normally.
4. The vehicle safety starting method based on component authentication according to claim 1, characterized in that: If the comparison result is that the current component information is inconsistent with the standard component information, uploading the current component information to the authentication server so that the authentication server starts a component authentication process based on the current component information, including: If the comparison result is that the current component information is inconsistent with the standard component information, the current component information is used as the target component information of the vehicle component to be authenticated; An authentication request is generated based on the target component information and the vehicle information of the target vehicle, and the authentication request is sent to an authentication server so that the authentication server starts a component authentication process based on the authentication request.
5. The vehicle safety starting method based on component authentication according to claim 4, characterized in that: The initiating a component authentication process based on the authentication request includes: It is determined whether there is a vehicle record matching the target component information in the vehicle information database. If so, the standard vehicle information recorded in the vehicle record is matched with the vehicle information of the target vehicle.
6. The vehicle safety starting method based on component authentication according to claim 4, characterized in that: The initiating a component authentication process based on the authentication request includes: Performing feature extraction processing on the target component information and the vehicle information of the target vehicle to obtain corresponding target features; Calculating the similarity between the target feature and each vehicle information feature in the vehicle information database to obtain a corresponding similarity calculation result; If there is a target similarity calculation result greater than a preset similarity threshold value among the similarity calculation results, it indicates that the component authentication is passed; If there is no target similarity calculation result greater than a preset similarity threshold in the similarity calculation results, it indicates that the component authentication has not been passed.
7. The vehicle safety starting method based on component authentication according to any one of claims 1 to 6, characterized in that: The method further includes: selecting a corresponding target vehicle restriction operation according to the failure level of the authentication failure to restrict the target vehicle from starting; If the software version in the component information of the vehicle component is not the latest software version of the vehicle component, the corresponding failure level is set to a first failure level, and the target vehicle restriction operation corresponding to the first failure level is set to a risk prompt of a target vehicle function restriction; If the component type or hardware version in the component information of the vehicle component fails to be authenticated, the corresponding failure level is set to a second failure level, and the target vehicle restriction operation corresponding to the second failure level is set to prohibit the target vehicle from starting.
8. A vehicle safety starting device based on component authentication, characterized in that: include: An information comparison module, for scanning the current component information of the target vehicle when the ignition switch or power supply of the target vehicle is turned on, and performing information comparison processing on the current component information and the standard component information stored in the vehicle control unit of the target vehicle; an authentication module, configured to upload the current component information to an authentication server if the comparison result shows that the current component information is inconsistent with the standard component information, so that the authentication server starts a component authentication process based on the current component information; A vehicle starting module, used for updating the current component information to the vehicle control unit and starting the target vehicle normally if the component authentication is passed; The vehicle restriction module is used to select a corresponding target vehicle restriction operation according to a failure level of the certification failure if the component certification is not passed, so as to restrict the start of the target vehicle.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the vehicle safety startup method based on component authentication as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the steps of the vehicle safety startup method based on component authentication as described in any one of claims 1 to 7 are implemented.