Electric pedal identity authentication system, method, medium and equipment
By using a challenge-response based encryption algorithm in the electric pedal system to bind the key to the vehicle identification code, the security risks of inferior electric pedal ECUs are solved, and safety control and user experience are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TONELUCK IND HUIZHOU
- Filing Date
- 2025-12-17
- Publication Date
- 2026-04-24
AI Technical Summary
The substandard ECUs used in existing electric pedals pose safety hazards. Non-original ECUs cannot pass strict quality control and standardized testing, which affects user experience and brand image.
An encryption algorithm based on challenge response is adopted, which binds the key to the vehicle identification code. Through identity authentication between the master node and the pedal controller, it is ensured that only the original ECU can generate the correct encrypted ciphertext and obtain control authority.
It achieves safe control of electric pedals, avoids the safety hazards of inferior products, improves user experience, resists "substitution" attacks, and ensures the security of electric pedal identity authentication.
Smart Images

Figure CN121923804A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of electric pedal technology, and in particular to an electric pedal authentication system, method, medium and device. Background Technology
[0002] With the increasing popularity of automobiles and the diversification of market demands, electric pedals, as an important feature to improve the passenger experience when getting in and out of the vehicle, have seen their electronic control systems, especially the Electronic Control Unit (ECU), receive increasing attention for their performance and reliability.
[0003] In recent years, the aftermarket has seen a surge in demand, with some users and vehicle modifiers opting to install non-original electric pedal ECUs in their vehicles to reduce costs or enhance functionality. However, many of these aftermarket electric pedal ECUs are of inferior quality. Lacking rigorous quality control and standardized testing, they often cause malfunctions in the electric pedals after installation, posing safety hazards. This phenomenon has not only generated widespread user complaints but also damaged the brand image of vehicle manufacturers by associating problematic vehicles with their brands, becoming a major obstacle to the healthy development of the industry.
[0004] Therefore, this specification provides an electric pedal authentication system, method, medium, and device. Summary of the Invention
[0005] This specification provides an electric pedal authentication system, method, medium, and device to solve the aforementioned problems existing in the prior art.
[0006] The following technical solution is adopted in this specification: This specification provides an electric pedal authentication system, including a master node and a pedal controller in the target vehicle, wherein: The master node is configured to: determine a random number and send the random number to the pedal controller; determine the vehicle identification code stored in the master node and determine a first vehicle authentication key based on the vehicle identification code stored in the master node and a preset authentication algorithm; determine a first encrypted ciphertext based on the first vehicle authentication key, the random number, and a preset encryption algorithm; receive a second encrypted ciphertext sent by the pedal controller; determine whether the first encrypted ciphertext and the second encrypted ciphertext are consistent; if they are, the pedal controller is confirmed to be authenticated, and a pedal control signal is sent to the pedal controller based on the received door status signal to achieve electric pedal control; if not, the pedal controller is confirmed to be unauthenticated, and the master node prohibits sending pedal control signals to the pedal controller. The pedal controller is configured to receive the random number; determine the vehicle identification code stored in the pedal controller, and determine a second vehicle authentication key based on the vehicle identification code stored in the pedal controller and the authentication algorithm; determine a second encrypted ciphertext based on the second vehicle authentication key, the random number, and the encryption algorithm; and send the second encrypted ciphertext to the master node.
[0007] Based on the aforementioned technical means, this solution binds the encryption algorithm's key to the vehicle identification number (VIN), achieving a unique key for each vehicle. Even if the key for a single vehicle is cracked, the problem of mass cracking of vehicles will not occur. Aftermarket electric pedals, whether non-original or unauthorized, can be installed on vehicles. Inferior products lacking rigorous quality control and standardized testing will be denied control due to their inability to correctly generate a second encrypted ciphertext (lacking the correct VIN or algorithm), thus preventing security risks and resisting "substitution" attacks, such as using aftermarket electric pedals to impersonate original parts. Strict identity authentication enables secure control of electric pedals, improving the user experience.
[0008] Furthermore, the electric pedal authentication system also includes a diagnostic tool connected to the target vehicle, wherein: The diagnostic tool is used to determine the vehicle identification number (VIN) corresponding to the target vehicle and write the VIN into the master node and the pedal controller.
[0009] Furthermore, the authentication algorithm and the encryption algorithm are challenge-response based algorithms.
[0010] Based on the aforementioned technical means, the authentication and encryption algorithms employ a challenge-response approach, resulting in extremely high security.
[0011] Furthermore, the pedal controller is configured to detect whether it has received the random number sent by the master node within a preset time after being woken up; if it has not received the random number sent by the master node, it sends a prompt signal to the master node, the prompt signal being used to prompt the master node to send a random number to the pedal controller. This specification provides an electric pedal authentication method, which is applied to an electric pedal authentication system. The electric pedal authentication system includes a master node and a pedal controller in the target vehicle, comprising: The master node determines a random number and sends the random number to the pedal controller, so that the pedal controller determines a second encrypted ciphertext for identity authentication based on the random number; The master node determines the stored vehicle identification code and, based on the vehicle identification code and a preset authentication algorithm, determines the first vehicle authentication key. The master node determines the first encrypted ciphertext based on the first vehicle authentication key, the random number, and the preset encryption algorithm; The master node receives the second encrypted ciphertext sent by the pedal controller; The master node determines whether the first encrypted ciphertext and the second encrypted ciphertext are consistent; If so, the master node determines that the pedal controller has been authenticated and sends a pedal control signal to the pedal controller based on the received door status signal to realize electric pedal control; If not, the master node determines that the pedal controller authentication has failed and prohibits sending pedal control signals to the pedal controller.
[0012] Furthermore, the authentication algorithm and the encryption algorithm are challenge-response based algorithms.
[0013] This specification provides an electric pedal authentication method, which is applied to an electric pedal authentication system. The electric pedal authentication system includes a master node and a pedal controller in the target vehicle, comprising: The pedal controller receives a random number sent by the master node; The pedal controller determines the stored vehicle identification code and, based on the vehicle identification code and a preset authentication algorithm, determines the second vehicle authentication key. The pedal controller determines the second encrypted ciphertext based on the second vehicle authentication key, the random number, and a preset encryption algorithm; The pedal controller sends the second encrypted ciphertext to the master node, so that the master node can authenticate the pedal controller based on the second encrypted ciphertext.
[0014] Furthermore, the authentication algorithm and the encryption algorithm are challenge-response based algorithms.
[0015] This specification provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described electric pedal authentication method.
[0016] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-described electric pedal authentication method.
[0017] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects: This solution binds the encryption algorithm's key to the vehicle identification number (VIN), ensuring a unique key for each vehicle. Even if the key for a single vehicle is cracked, it prevents the possibility of multiple vehicles being compromised. Aftermarket or unauthorized electric scooters installed on vehicles can prevent the generation of correct secondary encryption (due to the lack of a proper VIN or algorithm), thus denying control of inferior products lacking rigorous quality control and standardized testing. This avoids security risks and also defends against "substitution" attacks, such as using aftermarket electric scooters to impersonate original parts. Strict identity authentication enables secure control of electric scooters, enhancing the user experience. Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of this specification and form part of this specification, illustrate exemplary embodiments and are used to explain this specification, but do not constitute an undue limitation thereof. In the drawings: Figure 1 This is a schematic diagram of the structure of an electric pedal authentication system provided in an embodiment of this specification; Figure 2 This is a schematic diagram illustrating the use of a diagnostic instrument as provided in this manual; Figure 3 A flowchart illustrating an electric pedal authentication method provided in this specification; Figure 4 A flowchart illustrating an electric pedal authentication method provided in this specification; Figure 5 The corresponding information provided in this specification Figure 3 A schematic diagram of an electric pedal authentication device; Figure 6 The corresponding information provided in this specification Figure 4 A schematic diagram of an electric pedal authentication device; Figure 7 This specification provides a corresponding Figure 3 and Figure 4 A schematic diagram of the structure of an electronic device. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.
[0020] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0021] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0022] Figure 1 This is a schematic diagram of the structure of an electric pedal authentication system provided in an embodiment of this specification, as shown below. Figure 1 As shown, the electric pedal authentication system includes a master node and a pedal controller in the target vehicle, which can communicate with each other. The master node can be a body controller, gateway, domain controller, vehicle infotainment system, instrument cluster, etc. For ease of description and understanding, the body controller will be used as a substitute for the master node in the following descriptions. The body controller (BCM), as a core control unit in the automotive electronic and electrical architecture, is mainly responsible for managing various comfort, convenience, and safety functions related to the vehicle's "body." The pedal controller, also known as the electric pedal controller, is an electronic control unit (ECU) specifically used to manage and drive the vehicle's electric pedals (also called electric welcome pedals, electric side steps, etc.). It typically acts as an actuator controller, receiving instructions (such as pedal control signals) from the body controller (BCM) or other master control modules and ensuring the safe and reliable operation of the pedal motor. Therefore, the body controller can control the electric pedals by sending pedal control signals to the pedal controller. In this specification, the target vehicle refers to the vehicle requiring electric pedal authentication.
[0023] certainly, Figure 2 This instruction manual provides a schematic diagram of a diagnostic instrument, such as... Figure 2As shown, the electric pedal authentication system may also include a diagnostic tool connected to the target vehicle. This tool assists in the preliminary authentication work before the pedal controller and master node perform authentication. The system determines the Vehicle Identification Number (VIN) corresponding to the target vehicle. The diagnostic tool then writes the VIN to the master node and pedal controller. It's worth noting that when the target vehicle leaves the factory, the manufacturer can use the diagnostic tool to write the same VIN to the master node and pedal controller, ensuring that they store the same VIN at the time of manufacture. However, if an electric pedal is installed aftermarket, the pedal controller in the aftermarket electric pedal will not store the same VIN as the one stored in the master node. Of course, the diagnostic tool is not a component of the target vehicle, nor is it part of the control system that controls the electric pedal. It serves only as an external auxiliary tool for writing the VIN to the master node and pedal controller, and its appearance resembles a tablet computer or other terminal device. Therefore, in Figure 2 The diagnostic tool is not fully included within the dashed box representing the target vehicle. Figure 2 The part connected only to the dashed box indicates that it will connect to the target vehicle when it acts as an external auxiliary tool to write the vehicle identification code to the master node and pedal controller.
[0024] Therefore, in one or more embodiments of this specification, reference is made to Figure 1 and Figure 2 When the target vehicle is operating, the master node can be used to determine a random number seed. This random number seed can be determined using methods such as a pseudo-random number generator (PRNG). The master node then sends this random number seed to the pedal controller. Figure 1 and Figure 2 The communication between the master node and the pedal controller, sending a random number, is illustrated by the arrow. Next, the master node determines its stored vehicle identification number (VIN) and, based on the stored VIN and a preset authentication algorithm, determines the first vehicle authentication key. Then, based on the first vehicle authentication key and the random number Seed, it uses a preset encryption algorithm to determine the first encrypted ciphertext.
[0025] Subsequently, in this specification, the pedal controller receives a random number Seed sent by the vehicle controller and determines a second vehicle authentication key based on the vehicle identification number stored in the pedal controller and a preset authentication algorithm. The pedal controller then uses this second vehicle authentication key and the random number Seed to determine a second encrypted ciphertext using a preset encryption algorithm. The pedal controller then sends this second encrypted ciphertext to the master node. Figure 1 and Figure 2The communication between the middle pedal controller and the master node, sending random numbers, is illustrated by an arrow.
[0026] In one or more embodiments of this specification, the master node receives a second encrypted ciphertext sent by the pedal controller. It then determines whether the first and second encrypted ciphertexts are identical.
[0027] If so, the master node confirms that the pedal controller (i.e., the electric pedal) has been successfully authenticated. Subsequently, the master node can send the corresponding pedal control signal to the pedal controller based on the received door status signal to control the electric pedal.
[0028] If not, the master node determines that the authentication of the pedal controller has failed, and the master node prohibits sending pedal control signals to the pedal controller. That is, when the door of the target vehicle is opened or closed, the master node will not send pedal control signals to the pedal controller to control the extension and retraction of the electric pedal based on the door status signal indicating that the door is open or closed. As a result, the electric pedal will not move when the door is opened or closed.
[0029] based on Figure 1 The electric scooter authentication system shown binds the encryption algorithm's key to the vehicle identification number (VIN), ensuring a unique key for each vehicle. Even if the key for a single vehicle is cracked, the problem of mass vehicle compromise cannot occur. Aftermarket electric scooters, lacking rigorous quality control and standardized testing, will be denied control due to their inability to correctly generate a second encrypted ciphertext (lacking the correct VIN or algorithm), thus preventing security risks. This system also defends against "substitution" attacks, such as using aftermarket electric scooters to impersonate original parts. This strict authentication system enables secure control of electric scooters, improving the user experience.
[0030] If, when the target vehicle leaves the factory, the manufacturer uses a diagnostic tool to write the same vehicle identification number (VIN) to both the master node and the pedal controller, ensuring that they store the same VIN at the time of manufacture, then when the target vehicle operates and authenticates the electric pedal, both the master node and the pedal controller can calculate identical first and second encrypted ciphertexts based on the same random number (Seed), the same VIN, the same authentication algorithm, and the same encryption algorithm. Conversely, if the electric pedal is an aftermarket installation, it cannot obtain a second encrypted ciphertext consistent with the first encrypted ciphertext using the same VIN, authentication algorithm, and encryption algorithm as the master node. In this case, the aftermarket electric pedal cannot pass authentication, cannot receive pedal control signals from the master node, and cannot extend or retract in conjunction with the door opening and closing mechanism.
[0031] Furthermore, in one or more embodiments of this specification, the preset authentication algorithm and the preset encryption algorithm are both challenge-response based algorithms. Challenge-response based algorithms include symmetric encryption algorithms, asymmetric encryption algorithms, custom shift-XOR algorithms, etc., and may include Advanced Encryption Standard (AES), Data Encryption Standard (DES), Triple Data Encryption Standard (3DES), Triple Data Encryption Algorithm (TDEA), Blowfish algorithm, Rivest Cipher 2 (RC2), Rivest Cipher 4 (RC4), Rivest Cipher 5 (RC5), International Data Encryption Algorithm (IDEA), Skipjack algorithm, RSA algorithm, Digital Signature Algorithm (DSA), Elliptic Curve Digital Signature Algorithm (ECDSA), etc. Therefore, the preset authentication algorithm and preset encryption algorithm in this specification can be the highly secure AES algorithm. Specifically, the preset authentication algorithm can be the AES128 CMAC algorithm, and the preset encryption algorithm can be the AES128 ECB algorithm. Of course, this specification does not limit the specific type of algorithm based on the challenge-response method; it can be set according to the actual situation.
[0032] In one or more embodiments of this specification, the pedal controller is further configured to detect whether it has received a random number sent by the master node within a preset time (e.g., 500ms) after being woken up (i.e., when the target vehicle starts working and the pedal controller is also simultaneously powered on and starts working). If no random number is received from the master node, the pedal controller needs to send a prompt signal to the master node, which prompts the master node to initiate authentication with the pedal controller, i.e., to send a random number to the pedal controller.
[0033] The master node, upon receiving the prompt signal, determines a random number based on the prompt signal and sends the random number to the pedal controller.
[0034] Figure 3This is a flowchart illustrating an electric pedal authentication method provided in this specification. This method is applied to an electric pedal authentication system, which includes a master node and a pedal controller in the target vehicle. The method includes the following steps: S300: The master node determines a random number and sends the random number to the pedal controller, so that the pedal controller determines a second encrypted ciphertext for identity authentication based on the random number.
[0035] In one or more embodiments of this specification, when the target vehicle is operating, the master node can be used to determine a random number Seed. The master node then sends this random number Seed to the pedal controller, enabling the pedal controller to receive the random number Seed and, based on the vehicle identification code stored in the pedal controller and a preset authentication algorithm, determine a second vehicle authentication key. The pedal controller then uses this second vehicle authentication key and the random number Seed, through a preset encryption algorithm, to determine a second encrypted ciphertext.
[0036] S302: The master node determines the stored vehicle identification code and determines the first vehicle authentication key based on the vehicle identification code and the preset authentication algorithm.
[0037] In one or more embodiments of this specification, the master node determines the vehicle identification code it stores, and determines the first vehicle authentication key based on the vehicle identification code it stores and a preset authentication algorithm.
[0038] S304: The master node determines the first encrypted ciphertext based on the first vehicle authentication key, the random number, and the preset encryption algorithm.
[0039] In one or more embodiments of this specification, after the master node determines the first vehicle authentication key, it can then determine the first encrypted ciphertext based on the first vehicle authentication key and the random number Seed using a preset encryption algorithm.
[0040] S306: The master node receives the second encrypted ciphertext sent by the pedal controller.
[0041] In one or more embodiments of this specification, after the pedal controller determines the second encrypted ciphertext, the pedal controller may send the second encrypted ciphertext to the master node. The master node can then receive the second encrypted ciphertext sent by the pedal controller.
[0042] S308: The master node determines whether the first encrypted ciphertext and the second encrypted ciphertext are consistent. If yes, proceed to step S310. If no, proceed to step S312.
[0043] In one or more embodiments of this specification, after the master node receives the second encrypted ciphertext sent by the pedal controller, it can determine whether the first encrypted ciphertext and the second encrypted ciphertext are consistent. If yes, then step S310 is executed. If no, then step 312 is executed.
[0044] S310: The master node then determines that the pedal controller has been authenticated, and sends a pedal control signal to the pedal controller based on the received door status signal to realize electric pedal control.
[0045] In one or more embodiments of this specification, the master node determines that the pedal controller has been authenticated and can send a pedal control signal to the pedal controller based on the received door status signal to realize electric pedal control.
[0046] S312: The master node then determines that the pedal controller authentication has failed and prohibits sending pedal control signals to the pedal controller.
[0047] In one or more embodiments of this specification, the master node determines that the pedal controller authentication has failed and prohibits sending pedal control signals to the pedal controller.
[0048] For details of steps S300 to S312 in the above method, please refer to the previous system description, and they will not be described in detail here.
[0049] In one or more embodiments of this specification, the authentication algorithm and encryption algorithm preset in the master node of the above-described electric pedal authentication method are challenge-response based algorithms.
[0050] based on Figure 3 The electric scooter authentication method shown binds the encryption algorithm's key to the vehicle identification number (VIN), ensuring a unique key for each vehicle. Even if the key for a single vehicle is cracked, it prevents the possibility of mass cracking of vehicles. Aftermarket or non-original electric scooters installed in vehicles can prevent the generation of correct secondary encryption (due to the lack of a proper VIN or algorithm), thus denying control of inferior products lacking rigorous quality control and standardized testing. This avoids security risks and also defends against "substitution" attacks, such as using aftermarket electric scooters to impersonate original parts. This strict authentication system enables secure control of electric scooters and enhances the user experience.
[0051] Figure 4 This is a flowchart illustrating an electric pedal authentication method provided in this specification. This method is applied to an electric pedal authentication system, which includes a master node and a pedal controller in the target vehicle. The method includes the following steps: S400: The pedal controller receives a random number sent by the master node.
[0052] In one or more embodiments of this specification, the pedal controller may be used to receive a random number Seed sent by the vehicle controller.
[0053] S402: The pedal controller determines the stored vehicle identification code and determines the second vehicle authentication key based on the vehicle identification code and the preset authentication algorithm.
[0054] In one or more embodiments of this specification, the pedal controller can determine a second vehicle authentication key based on the vehicle identification code stored in the pedal controller and a preset authentication algorithm.
[0055] S404: The pedal controller determines the second encrypted ciphertext based on the second vehicle authentication key, the random number, and the preset encryption algorithm.
[0056] In one or more embodiments of this specification, after the pedal controller determines the second vehicle authentication key, the pedal controller can further determine the second encrypted ciphertext based on the second vehicle authentication key, the random number Seed, and the preset encryption algorithm.
[0057] S406: The pedal controller sends the second encrypted ciphertext to the master node, so that the master node can authenticate the pedal controller based on the second encrypted ciphertext.
[0058] In one or more embodiments of this specification, the pedal controller sends a second encrypted ciphertext to the master node so that the master node can authenticate the pedal controller based on the second encrypted ciphertext.
[0059] For details of steps S400 to S406 in the above method, please refer to the previous system description, which will not be described in detail here.
[0060] In one or more embodiments of this specification, the authentication algorithm and encryption algorithm preset in the pedal controller in the above-described electric pedal authentication method are challenge-response based algorithms.
[0061] based on Figure 4 The electric scooter authentication method shown binds the encryption algorithm's key to the vehicle identification number (VIN), ensuring a unique key for each vehicle. Even if the key for a single vehicle is cracked, it prevents the possibility of mass cracking of vehicles. Aftermarket or non-original electric scooters installed in vehicles can prevent the generation of correct secondary encryption (due to the lack of a proper VIN or algorithm), thus denying control of inferior products lacking rigorous quality control and standardized testing. This avoids security risks and also defends against "substitution" attacks, such as using aftermarket electric scooters to impersonate original parts. This strict authentication system enables secure control of electric scooters and enhances the user experience.
[0062] Based on one or more embodiments of this specification, an electric pedal authentication method is provided. Following the same approach, this specification also provides a corresponding electric pedal authentication device, such as... Figure 5 and Figure 6 As shown.
[0063] Figure 5 This is a schematic diagram of an electric pedal-based identity authentication device provided in this specification. The device is used to perform the above-described... Figure 3 The corresponding electric pedal authentication method includes an electric pedal authentication system, which comprises a master node and a pedal controller in the target vehicle, and includes: The sending module 500 is used for the master node to determine a random number and send the random number to the pedal controller, so that the pedal controller determines a second encrypted ciphertext for identity authentication based on the random number; The first determining module 502 is used by the master node to determine the stored vehicle identification code and determine the first vehicle authentication key based on the vehicle identification code and the preset authentication algorithm. The second determining module 504 is used for the master node to determine the first encrypted ciphertext based on the first vehicle authentication key, the random number, and the preset encryption algorithm; The receiving module 506 is used for the master node to receive the second encrypted ciphertext sent by the pedal controller; The judgment module 508 is used by the master node to determine whether the first encrypted ciphertext and the second encrypted ciphertext are consistent; if yes, the master node determines that the pedal controller has been authenticated and sends a pedal control signal to the pedal controller according to the received door status signal to realize electric pedal control; if no, the master node determines that the pedal controller has not been authenticated and prohibits sending a pedal control signal to the pedal controller.
[0064] Optionally, the authentication algorithm and the encryption algorithm are challenge-response based algorithms.
[0065] Figure 6 This is a schematic diagram of an electric pedal-based identity authentication device provided in this specification. The device is used to perform the above-described... Figure 4 The corresponding electric pedal authentication method includes an electric pedal authentication system, which comprises a master node and a pedal controller in the target vehicle, and includes: The random number determination module 600 is used for the pedal controller to receive random numbers sent by the master node; The authentication module 602 is used by the pedal controller to determine the stored vehicle identification code and, based on the vehicle identification code and a preset authentication algorithm, determine a second vehicle authentication key. The encryption module 604 is used by the pedal controller to determine the second encrypted ciphertext based on the second vehicle authentication key, the random number, and a preset encryption algorithm; The encrypted return module 606 is used for the pedal controller to send the second encrypted ciphertext to the master node, so that the master node can authenticate the pedal controller based on the second encrypted ciphertext.
[0066] Optionally, the authentication algorithm and the encryption algorithm are challenge-response based algorithms.
[0067] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 3 and Figure 4 A method for authenticating the identity of electric pedals is provided.
[0068] This instruction manual also provides Figure 7 The diagram shows a schematic structural representation of the electronic device. Figure 7 As shown, at the hardware level, this electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to achieve the above. Figure 3 and Figure 4 A method for authenticating the identity of electric pedals is provided.
[0069] Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0070] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0071] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0072] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0073] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0074] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0075] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0076] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0077] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0078] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0079] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0080] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic or disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0081] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0082] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0083] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0084] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0085] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.
Claims
1. An electric pedal authentication system, characterized in that, This includes the master node and pedal controller in the target vehicle, wherein: The master node is configured to: determine a random number and send the random number to the pedal controller; determine the vehicle identification code stored in the master node and determine a first vehicle authentication key based on the vehicle identification code stored in the master node and a preset authentication algorithm; determine a first encrypted ciphertext based on the first vehicle authentication key, the random number, and a preset encryption algorithm; receive a second encrypted ciphertext sent by the pedal controller; determine whether the first encrypted ciphertext and the second encrypted ciphertext are consistent; if they are, the pedal controller is confirmed to be authenticated, and a pedal control signal is sent to the pedal controller based on the received door status signal to achieve electric pedal control; if not, the pedal controller is confirmed to be unauthenticated, and the master node prohibits sending pedal control signals to the pedal controller. The pedal controller is configured to receive the random number; determine the vehicle identification code stored in the pedal controller, and determine a second vehicle authentication key based on the vehicle identification code stored in the pedal controller and the authentication algorithm; determine a second encrypted ciphertext based on the second vehicle authentication key, the random number, and the encryption algorithm; and send the second encrypted ciphertext to the master node.
2. The electric pedal authentication system as described in claim 1, characterized in that, The electric pedal authentication system also includes a diagnostic tool connected to the target vehicle, wherein: The diagnostic tool is used to determine the vehicle identification number (VIN) corresponding to the target vehicle and write the VIN into the master node and the pedal controller.
3. The electric pedal authentication system as described in claim 1, characterized in that, The authentication algorithm and the encryption algorithm are challenge-response based algorithms.
4. The electric pedal authentication system as described in claim 1, characterized in that, The pedal controller is configured to detect whether it has received the random number sent by the master node within a preset time after being woken up; if it has not received the random number sent by the master node, it sends a prompt signal to the master node, the prompt signal being used to prompt the master node to send the random number to the pedal controller.
5. A method for authenticating the identity of an electric pedal, characterized in that, The method is applied to an electric pedal authentication system, which includes a master node and a pedal controller in the target vehicle, comprising: The master node determines a random number and sends the random number to the pedal controller, so that the pedal controller determines a second encrypted ciphertext for identity authentication based on the random number; The master node determines the stored vehicle identification code and, based on the vehicle identification code and a preset authentication algorithm, determines the first vehicle authentication key. The master node determines the first encrypted ciphertext based on the first vehicle authentication key, the random number, and the preset encryption algorithm; The master node receives the second encrypted ciphertext sent by the pedal controller; The master node determines whether the first encrypted ciphertext and the second encrypted ciphertext are consistent; If so, the master node determines that the pedal controller has been authenticated and sends a pedal control signal to the pedal controller based on the received door status signal to realize electric pedal control; If not, the master node determines that the pedal controller authentication has failed and prohibits sending pedal control signals to the pedal controller.
6. The electric pedal authentication method as described in claim 5, characterized in that, The authentication algorithm and the encryption algorithm are challenge-response based algorithms.
7. A method for authenticating the identity of an electric pedal, characterized in that, The method is applied to an electric pedal authentication system, which includes a master node and a pedal controller in the target vehicle, comprising: The pedal controller receives a random number sent by the master node; The pedal controller determines the stored vehicle identification code and, based on the vehicle identification code and a preset authentication algorithm, determines the second vehicle authentication key. The pedal controller determines the second encrypted ciphertext based on the second vehicle authentication key, the random number, and a preset encryption algorithm; The pedal controller sends the second encrypted ciphertext to the master node, so that the master node can authenticate the pedal controller based on the second encrypted ciphertext.
8. The electric pedal authentication method as described in claim 7, characterized in that, The authentication algorithm and the encryption algorithm are challenge-response based algorithms.
9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 5 to 8.
10. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in any one of claims 5 to 8.