Vehicle lamp sign number identification and anti-counterfeiting method and system, electronic equipment and computer readable medium
By pre-setting a digital fingerprint in the lighting controller and comparing it with the vehicle controller in real time, the problem of easy counterfeiting of vehicle lights is solved, achieving highly reliable anti-counterfeiting identification and functional limitation of lighting fixtures, ensuring vehicle safety and brand protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-04-03
AI Technical Summary
Existing anti-counterfeiting technologies for vehicle lights are easily counterfeited and prone to damage in complex usage environments, failing to effectively prevent safety hazards and damage to brand reputation caused by light replacement.
A unique digital fingerprint (such as a VIN code or PIN code) is preset in the lighting controller. The vehicle controller compares the fingerprint in real time and sets an anti-counterfeiting status, restricts the lighting functions, and issues alarm prompts to ensure that the lighting is bound to the vehicle.
It enables anti-counterfeiting identification of vehicle lights, making them difficult to imitate, ensuring that the lights are compatible with the vehicle, avoiding functional failure due to replacement, and improving vehicle safety and brand reputation.
Smart Images

Figure CN121787455A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a method, system, electronic device, and computer-readable medium for identifying and preventing counterfeiting of vehicle lighting markings. Background Technology
[0002] The innovation of automotive lighting has always held a pivotal position in the long history of automotive development. From its initial simple illumination function, it has evolved into a key element ensuring driving safety and enabling vehicle interaction. Compared to traditional light sources, current automotive lights are becoming more integrated, intelligent, and personalized. Besides integrating standard LED lights for low beams, high beams, daytime running lights, and turn signals, they are also gradually incorporating Micro LED lights that support more precise beam control and DLP modules that enhance the human-vehicle interaction experience. Therefore, there are instances of car owners or individual vendors arbitrarily replacing vehicle lighting fixtures. While this may seem like a simple modification to the vehicle's lighting system, it actually carries multiple risks. It can not only pose safety hazards to car owners but also damage the brand reputation of automakers and trigger a series of legal risks. To address this, anti-counterfeiting measures need to be implemented for vehicle lighting fixtures to ensure the normal operation of the vehicle's lighting system.
[0003] Traditional anti-counterfeiting labels (such as printed labels) are easy to counterfeit, lack technological barriers, and are easily damaged and ineffective in the complex usage environment of vehicles. Summary of the Invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art, and proposes a method and system for vehicle lamp marking identification and anti-counterfeiting.
[0005] In a first aspect, embodiments of the present invention provide a method for identifying and preventing counterfeiting of vehicle lighting identification numbers, comprising:
[0006] Obtain the preset digital fingerprint within the lighting controller;
[0007] Data processing is performed on the digital fingerprint of the lamp;
[0008] The processed digital fingerprint of the lamp is compared with the corresponding vehicle coding information, and the anti-counterfeiting status of the lamp is set.
[0009] Control commands are issued to the lamps based on their anti-counterfeiting status.
[0010] The system will issue an alarm to the user based on the anti-counterfeiting status of the lamp.
[0011] In some embodiments, the step of acquiring a preset digital fingerprint within the lighting controller includes:
[0012] During the production or installation of the lighting fixtures, the digital fingerprint of the lighting fixture is pre-written into the non-volatile memory of the lighting fixture controller. The digital fingerprint of the lighting fixture includes the last 8 digits of the vehicle VIN code or the vehicle PIN code. Once the lighting fixture is installed in the vehicle, the digital fingerprint of the lighting fixture is bound to the current vehicle.
[0013] In some embodiments, the step of obtaining a preset digital fingerprint in the lighting controller includes: during each vehicle power-on phase, the vehicle controller sends a request message to all lighting controllers through the vehicle network to obtain the lighting digital fingerprint.
[0014] In some embodiments, the data processing step for the digital fingerprint of the lamp includes:
[0015] After receiving the fingerprint data, the vehicle controller preprocesses it, converting it into a standard 8-bit decimal code for comparison with the encoded information stored in the vehicle. The processing method depends on the fingerprint source.
[0016] If the fingerprint is based on the VIN code, extract the last 8 digits and convert the letters to numbers;
[0017] If the fingerprint is based on a PIN code, add the number 0 at the front to form an 8-digit number.
[0018] In some embodiments, the step of comparing the processed digital fingerprint of the lamp with the corresponding vehicle coding information and setting the anti-counterfeiting status of the lamp includes:
[0019] Within a set time period, the vehicle controller compares the processed 8-digit decimal fingerprint with the vehicle's stored coding information bit by bit, and sets the "light anti-counterfeiting status" based on the result: Wherein:
[0020] If the comparison matches, set the status to "Pass".
[0021] If the comparison is inconsistent, set the status to "failed";
[0022] If communication times out or is lost, the set time is extended by 2 times, and the request is resent, repeating the comparison operation.
[0023] In some embodiments, the step of issuing control commands to the lamp based on the lamp's anti-counterfeiting status includes:
[0024] Based on the anti-counterfeiting status, the vehicle controller sends control commands to the lighting controller via the vehicle network:
[0025] If the status is approved, the vehicle is allowed to use all lighting functions, including regulatory-required functions and additional functions;
[0026] If the status is "not approved", the vehicle is only allowed to use the essential lighting functions required by regulations to ensure basic use, and the use of additional functions is restricted. The essential functions include high and low beam headlights, position lights, fog lights, and turn signals. The restricted additional functions include light signal interaction, adaptive high and low beams, and digital projection display functions.
[0027] In some embodiments, the step of alerting the user based on the anti-counterfeiting status of the lamp includes:
[0028] The vehicle controller displays alarm information on the screen or dashboard via the vehicle's human-machine interface:
[0029] If the anti-counterfeiting status is passed, no prompt will be displayed;
[0030] If the anti-counterfeiting status is not approved, a pop-up warning will be displayed, indicating "Incorrect lighting information" or similar content.
[0031] Secondly, the present invention also provides a vehicle light indicator identification and anti-counterfeiting system, comprising:
[0032] The acquisition unit is used to acquire a digital fingerprint preset in the lighting controller;
[0033] The processing unit is used to process the digital fingerprint of the lamp.
[0034] The comparison unit is used to compare the processed digital fingerprint of the lamp with the corresponding vehicle coding information and to set the anti-counterfeiting status of the lamp;
[0035] The control unit is used to issue control commands to the lamps according to the anti-counterfeiting status of the lamps;
[0036] The alarm unit is used to alert users based on the anti-counterfeiting status of the lamps.
[0037] Thirdly, the present invention also provides an electronic device, comprising:
[0038] One or more processors;
[0039] Memory, used to store one or more programs;
[0040] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods.
[0041] Fourthly, the present invention also provides a computer-readable medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps in any of the methods described.
[0042] The vehicle lighting identification and anti-counterfeiting method provided by this invention obtains a digital fingerprint preset in the lighting controller; processes the digital fingerprint; compares the processed digital fingerprint with the corresponding vehicle coding information and sets the anti-counterfeiting status; issues control commands to the lighting based on the anti-counterfeiting status; and provides an alarm prompt to the user based on the anti-counterfeiting status. This method is not only applicable to vehicle lighting but also difficult to counterfeit, making it highly practical. Furthermore, it does not rely on physical equipment; instead, it binds to a single vehicle through algorithms and dynamic data, resulting in high reliability. The anti-counterfeiting label is bound to the core functions of the new energy vehicle's lighting (such as light language interaction and digital projection display), preventing lighting malfunctions due to incompatibility with the controller after lighting replacement. Attached Figure Description
[0043] Figure 1 This is a schematic diagram illustrating the steps of an embodiment of the vehicle light identification and anti-counterfeiting method of the present invention;
[0044] Figure 2 This is a schematic diagram illustrating the principle of one embodiment of the vehicle light identification and anti-counterfeiting system of the present invention;
[0045] Figure 3 This is a schematic diagram of the structure of an embodiment of the electronic device of the present invention. Detailed Implementation
[0046] To enable those skilled in the art to better understand the technical solutions of the present invention, exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0047] Where there is no conflict, the various embodiments of the present invention and the features thereof may be combined with each other.
[0048] As used herein, the term “and / or” includes any and all combinations of one or more related enumerated entries.
[0049] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded. Terms such as “connected” or “linked” are not limited to physical or mechanical connections but can include electrical connections, whether direct or indirect.
[0050] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having the meaning consistent with their meaning in the context of the relevant art and the invention, and will not be interpreted as having an idealized or overly formal meaning unless expressly so defined herein.
[0051] In the technical solution of this invention, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information all comply with relevant laws and regulations and do not violate public order and good morals. The use of user data in this technical solution follows relevant national laws and regulations (e.g., the "Information Security Technology - Personal Information Security Specification"). For example: appropriate measures are taken for personal information access control; restrictions are imposed on the display of personal information; the purpose of using personal information does not exceed the scope of direct or reasonable association; and explicit identity targeting is eliminated when using personal information to avoid precisely locating a specific individual.
[0052] In related technologies, QR codes or RFID tags are not suitable for affixing to vehicle lighting fixtures. Firstly, vehicle lighting fixtures are used in complex environments and for extended periods, and anti-counterfeiting codes may fall off or be damaged. Secondly, vehicle lighting fixtures and other equipment in the vehicle should be compatible. Anti-counterfeiting codes are more suitable for identifying genuine and counterfeit products, but they cannot be matched with other controllers or other devices for joint use.
[0053] To address at least one of the technical problems existing in the aforementioned related technologies, the present invention provides a method for identifying and preventing counterfeiting of vehicle lighting identification numbers. Figure 1 The flowchart illustrates the steps of a method for identifying and preventing counterfeiting of vehicle lighting identification numbers provided in an embodiment of the present invention.
[0054] like Figure 1 As shown, the method for identifying and preventing counterfeiting of vehicle light markings includes the following steps:
[0055] Step S10: Obtain the preset digital fingerprint in the lighting controller.
[0056] In this embodiment, during the lamp manufacturing or installation process, the "lamp digital fingerprint" is pre-written into the non-volatile memory (such as EEPROM or Flash) of the lamp controller. This fingerprint can be the last 8 digits of the vehicle's VIN code, or the vehicle's PIN code (if the PIN code is less than 8 digits, leading zeros are added to make it an 8-bit decimal code). Once the lamp is installed in the vehicle, this fingerprint is bound to the current vehicle and cannot be changed by conventional means.
[0057] Furthermore, the lighting controller employs a microcontroller unit (MCU) with embedded memory, supporting data storage and communication interfaces (such as CAN / LIN / Ethernet). Fingerprint data is written to the memory using production line programming tools (such as JTAG or OTA). After writing, a write protection mechanism is set to prevent tampering.
[0058] It should be noted that fingerprint data is stored in either string or binary format. The last 8 digits of the VIN code may contain letters and numbers, which need to be processed in subsequent steps; the PIN code is stored directly as an 8-digit number (padded with 0s if less than 8 digits).
[0059] Understandably, this forms the data foundation for the anti-counterfeiting system, providing a unique identifier for subsequent verification. Digital fingerprints are linked to vehicles, ensuring each light fixture is associated with a specific vehicle and preventing interchangeability or counterfeiting.
[0060] It is understandable that, since "digital fingerprints for lights" and vehicle identity information are unique, they do not rely on physical equipment but are bound to a single vehicle through algorithms and dynamic data, which reduces costs and has high reliability.
[0061] In this embodiment, during each vehicle power-on phase (from OFF to ON), the vehicle controller sends a request message to all lighting controllers via the vehicle network (CAN bus, LIN bus, or Ethernet) to obtain the "lighting digital fingerprint".
[0062] Specifically, the vehicle controller monitors the power status (such as the IGN signal) and automatically initiates the verification process when a power-on event is detected.
[0063] Furthermore, the CAN bus uses standard CAN frames and defines specific identifiers (such as 0x100) for requesting fingerprints; the LIN bus: the master node (vehicle controller) sends diagnostic requests, and the slave nodes (lighting controllers) reply with data; Ethernet: based on TCP / IP or SOME / IP protocols, it sends service request messages. Request messages may contain command codes (such as "READ_FINGERPRINT"), and the lighting controller responds by returning the stored fingerprint data.
[0064] Understandably, this step triggers the verification process, with the vehicle controller actively collecting the digital fingerprints of the lights to provide input for subsequent processing.
[0065] It is understandable that this embodiment performs "digital fingerprint" detection of the lights at the beginning of each complete cycle of vehicle use to avoid the lights being replaced again after the first detection is normal.
[0066] Step S20: Process the digital fingerprint of the lamp.
[0067] Specifically, after receiving the fingerprint data, the vehicle controller preprocesses it, converting it into a standard 8-bit decimal code for comparison with the encoded information stored in the vehicle. The processing method depends on the fingerprint source:
[0068] If the fingerprint is based on a VIN (17-digit alphanumeric code), extract the last 8 digits and convert the letters to numbers (e.g., using an ASCII code mapping or a custom conversion table, such as A=1, B=2, etc.).
[0069] If the fingerprint is based on a PIN code (less than 8 digits), add 0s to the front to form an 8-digit number.
[0070] Furthermore, the vehicle controller runs embedded software that uses string manipulation functions (such as truncation, zero-padding, and conversion). For example, in C code, strncpy and sprintf are used for format conversion.
[0071] It should be noted that vehicle identification information (such as VIN or PIN) is pre-stored in the vehicle controller's EEPROM or database for comparison purposes.
[0072] Understandably, this step ensures data format consistency, eliminates differences caused by different sources, and standardizes the comparison operation.
[0073] Step S30: Compare the processed digital fingerprint of the lamp with the corresponding vehicle coding information, and set the anti-counterfeiting status of the lamp.
[0074] Specifically, the vehicle controller compares the processed 8-digit decimal fingerprint with the vehicle's stored coding information bit by bit within a set time (e.g., 5 seconds). Based on the result, it sets the "light anti-counterfeiting status":
[0075] If the comparison is consistent, set the status to Pass (0).
[0076] If the comparison is inconsistent, set the status to fail (1).
[0077] If communication times out or is lost (no response is received within the set time), the set time is extended by 2 times (e.g., 10 seconds), and the request is resent, repeating the comparison operation.
[0078] Furthermore, a timer mechanism is set up so that the vehicle controller starts a hardware or software timer and stops it upon receiving a request response. If a timeout occurs, retry logic is triggered (retrying at most once or more).
[0079] Furthermore, byte comparison or string comparison functions (such as memcmp) are used. Status values are stored in memory variables of the vehicle controller. In case of communication loss, an error log is logged, and an attempt is made to reinitialize the communication link.
[0080] This is understandable; it's a core step in anti-counterfeiting, determining the authenticity of the lamps. The comparison results directly impact subsequent execution. A retry mechanism improves robustness and addresses temporary network issues.
[0081] Step S40: Issue control commands to the lamps according to the anti-counterfeiting status of the lamps.
[0082] In this embodiment, the vehicle controller can send control commands to the lighting controller via the vehicle network based on the anti-counterfeiting status:
[0083] If the status is Pass (0), the vehicle is allowed to use all lighting functions, including regulatory-required functions and additional functions.
[0084] If the status is not approved (1), the vehicle is only allowed to use the lighting functions required by regulations (such as high and low beam headlights, position lights, fog lights, and turn signals) to ensure basic use, and the use of additional functions (such as light language interaction, adaptive high and low beam, and digital projection display) is restricted.
[0085] Specifically, the vehicle controller maintains a function permission table that maps anti-counterfeiting states to specific control commands. For example, function switches are defined using bitmasks or enumeration types. Control messages (such as "ENABLE_BASIC" or "DISABLE_ADVANCED") are sent via CAN / LIN / Ethernet. The lighting controller parses the messages and executes the corresponding operations.
[0086] It should be noted that essential functions are always enabled to ensure safe vehicle operation; additional functions are only enabled after verification to prevent the misuse of counterfeit parts.
[0087] Understandably, this step implements anti-counterfeiting strategies, transforming verification results into actual control and ensuring vehicle safety and compliance.
[0088] It is understandable that vehicle lighting fixtures are subject to anti-counterfeiting measures, and that various lighting functions are restricted according to regulations and the importance of the lights, rather than being indiscriminately restricted, to ensure users' most basic lighting needs and for their safety. Restricting some additional lighting functions can also prevent damage caused by the replacement of the lights.
[0089] Step S50: Issue an alarm notification to the user based on the anti-counterfeiting status of the lamp.
[0090] Specifically, the vehicle controller displays alarm information on the screen or instrument panel through the vehicle's human-machine interface (HMI):
[0091] If the anti-counterfeiting status is passed (0), no prompt will be displayed.
[0092] If the anti-counterfeiting status is not passed (1), a pop-up warning will be displayed, indicating "the lighting information is incorrect" or similar content.
[0093] Furthermore, with HMI integration, the vehicle controller sends messages to the display unit via the CAN bus or a direct connection (e.g., using the UDS protocol or custom display commands). Predefined warning text and icons are stored in the display unit firmware. Trigger conditions are based on changes in anti-counterfeiting status. Warnings may include confirmation buttons but will not affect basic vehicle operation.
[0094] Understandably, this step provides user feedback, enhancing transparency and trust. It directly responds to the status of the steps mentioned above and executes in parallel with other steps without affecting the control logic.
[0095] Furthermore, after the vehicle is powered off (from ON to OFF), the "light anti-counterfeiting status" is cleared, and the above steps are repeated the next time the vehicle is powered on.
[0096] The specific implementation plan is as follows:
[0097] Status Management: The anti-counterfeiting status is stored in the RAM of the vehicle controller and is automatically lost upon power-off. Alternatively, it can be manually reset via software when a power-off event is detected.
[0098] Loop verification: The verification process is re-initialized every time power is supplied to ensure real-time performance and accuracy.
[0099] Understandably, this step ensures the continued effectiveness of the anti-counterfeiting system and prevents security vulnerabilities caused by residual state. It closes the verification loop, ensuring the system performs a fresh check every time it starts up.
[0100] The vehicle lighting identification and anti-counterfeiting method provided by this invention involves setting a digital fingerprint for the lighting fixture inside the lighting controller; acquiring the digital fingerprint; processing the digital fingerprint; comparing the processed digital fingerprint with the corresponding vehicle coding information and setting an anti-counterfeiting status for the lighting fixture; issuing control commands to the lighting fixture based on the anti-counterfeiting status; and providing an alarm prompt to the user based on the anti-counterfeiting status. This method is not only applicable to vehicle-mounted lighting fixtures but also difficult to counterfeit, making it highly practical. Furthermore, it does not rely on physical equipment; instead, it binds to a single vehicle through algorithms and dynamic data, resulting in high reliability. The anti-counterfeiting label is bound to the core functions of the new energy vehicle's lighting fixtures (such as light language interaction and digital projection display), preventing lighting fixture malfunctions due to incompatibility with the controller after fixture replacement.
[0101] Please see Figure 2 The present invention also provides a vehicle lighting identification number recognition and anti-counterfeiting system. Applied to the vehicle lighting identification number recognition and anti-counterfeiting method provided in the above embodiments, it specifically includes: an acquisition unit, a processing unit, a comparison unit, a control unit, and an alarm unit.
[0102] The acquisition unit is used to acquire a digital fingerprint preset in the lighting controller.
[0103] In this embodiment, during the lamp manufacturing or installation process, the "lamp digital fingerprint" is pre-written into the non-volatile memory (such as EEPROM or Flash) of the lamp controller. This fingerprint can be the last 8 digits of the vehicle's VIN code, or the vehicle's PIN code (if the PIN code is less than 8 digits, leading zeros are added to make it an 8-bit decimal code). Once the lamp is installed in the vehicle, this fingerprint is bound to the current vehicle and cannot be changed by conventional means.
[0104] Furthermore, the lighting controller employs a microcontroller unit (MCU) with embedded memory, supporting data storage and communication interfaces (such as CAN / LIN / Ethernet). Fingerprint data is written to the memory using production line programming tools (such as JTAG or OTA). After writing, a write protection mechanism is set to prevent tampering.
[0105] It should be noted that fingerprint data is stored in either string or binary format. The last 8 digits of the VIN code may contain letters and numbers, which need to be processed in subsequent steps; the PIN code is stored directly as an 8-digit number (padded with 0s if less than 8 digits).
[0106] Understandably, this forms the data foundation for the anti-counterfeiting system, providing a unique identifier for subsequent verification. Digital fingerprints are linked to vehicles, ensuring each light fixture is associated with a specific vehicle and preventing interchangeability or counterfeiting.
[0107] It is understandable that, since "digital fingerprints for lights" and vehicle identity information are unique, they do not rely on physical equipment but are bound to a single vehicle through algorithms and dynamic data, which reduces costs and has high reliability.
[0108] In this embodiment, during each vehicle power-on phase (from OFF to ON), the vehicle controller sends a request message to all lighting controllers via the vehicle network (CAN bus, LIN bus, or Ethernet) to obtain the "lighting digital fingerprint".
[0109] Specifically, the vehicle controller monitors the power status (such as the IGN signal) and automatically initiates the verification process when a power-on event is detected.
[0110] Furthermore, the CAN bus uses standard CAN frames and defines specific identifiers (such as 0x100) for requesting fingerprints; the LIN bus: the master node (vehicle controller) sends diagnostic requests, and the slave nodes (lighting controllers) reply with data; Ethernet: based on TCP / IP or SOME / IP protocols, it sends service request messages. Request messages may contain command codes (such as "READ_FINGERPRINT"), and the lighting controller responds by returning the stored fingerprint data.
[0111] Understandably, this step triggers the verification process, with the vehicle controller actively collecting the digital fingerprints of the lights to provide input for subsequent processing.
[0112] It is understandable that this embodiment performs "digital fingerprint" detection of the lights at the beginning of each complete cycle of vehicle use to avoid the lights being replaced again after the first detection is normal.
[0113] The processing unit is used to process the digital fingerprint of the lamp.
[0114] Specifically, after receiving the fingerprint data, the vehicle controller preprocesses it, converting it into a standard 8-bit decimal code for comparison with the encoded information stored in the vehicle. The processing method depends on the fingerprint source:
[0115] If the fingerprint is based on a VIN (17-digit alphanumeric code), extract the last 8 digits and convert the letters to numbers (e.g., using an ASCII code mapping or a custom conversion table, such as A=1, B=2, etc.).
[0116] If the fingerprint is based on a PIN code (less than 8 digits), add 0s to the front to form an 8-digit number.
[0117] Furthermore, the vehicle controller runs embedded software that uses string manipulation functions (such as truncation, zero-padding, and conversion). For example, in C code, strncpy and sprintf are used for format conversion.
[0118] It should be noted that vehicle identification information (such as VIN or PIN) is pre-stored in the vehicle controller's EEPROM or database for comparison purposes.
[0119] Understandably, this step ensures data format consistency, eliminates differences caused by different sources, and standardizes the comparison operation.
[0120] The comparison unit is used to compare the processed digital fingerprint of the lamp with the corresponding vehicle coding information and to set the anti-counterfeiting status of the lamp.
[0121] Specifically, the vehicle controller compares the processed 8-digit decimal fingerprint with the vehicle's stored coding information bit by bit within a set time (e.g., 5 seconds). Based on the result, it sets the "light anti-counterfeiting status":
[0122] If the comparison is consistent, set the status to Pass (0).
[0123] If the comparison is inconsistent, set the status to fail (1).
[0124] If communication times out or is lost (no response is received within the set time), the set time is extended by 2 times (e.g., 10 seconds), and the request is resent, repeating the comparison operation.
[0125] Furthermore, a timer mechanism is set up so that the vehicle controller starts a hardware or software timer and stops it upon receiving a request response. If a timeout occurs, retry logic is triggered (retrying at most once or more).
[0126] Furthermore, byte comparison or string comparison functions (such as memcmp) are used. Status values are stored in memory variables of the vehicle controller. In case of communication loss, an error log is logged, and an attempt is made to reinitialize the communication link.
[0127] This is understandable; it's a core step in anti-counterfeiting, determining the authenticity of the lamps. The comparison results directly impact subsequent execution. A retry mechanism improves robustness and addresses temporary network issues.
[0128] The control unit is used to issue control commands to the lamps based on their anti-counterfeiting status.
[0129] In this embodiment, the vehicle controller can send control commands to the lighting controller via the vehicle network based on the anti-counterfeiting status:
[0130] If the status is Pass (0), the vehicle is allowed to use all lighting functions, including regulatory-required functions and additional functions.
[0131] If the status is not approved (1), the vehicle is only allowed to use the necessary functions required by regulations (such as high and low beam headlights, position lights, fog lights, and turn signals) to ensure basic use, and the use of additional functions (such as light language interaction, adaptive high and low beam, and digital projection display) is restricted.
[0132] Specifically, the vehicle controller maintains a function permission table that maps anti-counterfeiting states to specific control commands. For example, function switches are defined using bitmasks or enumeration types. Control messages (such as "ENABLE_BASIC" or "DISABLE_ADVANCED") are sent via CAN / LIN / Ethernet. The lighting controller parses the messages and executes the corresponding operations.
[0133] It should be noted that essential functions are always enabled to ensure safe vehicle operation; additional functions are only enabled after verification to prevent the misuse of counterfeit parts.
[0134] Understandably, this step implements anti-counterfeiting strategies, transforming verification results into actual control and ensuring vehicle safety and compliance.
[0135] It is understandable that vehicle lighting fixtures are subject to anti-counterfeiting measures, and that various lighting functions are restricted according to regulations and the importance of the lights, rather than being indiscriminately restricted, to ensure users' most basic lighting needs and for their safety. Restricting some additional lighting functions can also prevent damage caused by the replacement of the lights.
[0136] The alarm unit is used to alert users based on the anti-counterfeiting status of the lamps.
[0137] Specifically, the vehicle controller displays alarm information on the screen or instrument panel through the vehicle's human-machine interface (HMI):
[0138] If the anti-counterfeiting status is passed (0), no prompt will be displayed.
[0139] If the anti-counterfeiting status is not passed (1), a pop-up warning will be displayed, indicating "the lighting information is incorrect" or similar content.
[0140] Furthermore, with HMI integration, the vehicle controller sends messages to the display unit via the CAN bus or a direct connection (e.g., using the UDS protocol or custom display commands). Predefined warning text and icons are stored in the display unit firmware. Trigger conditions are based on changes in anti-counterfeiting status. Warnings may include confirmation buttons but will not affect basic vehicle operation.
[0141] It should be noted that essential functions are always enabled to ensure safe vehicle operation; additional functions are only enabled after verification to prevent the misuse of counterfeit parts.
[0142] Understandably, this step implements anti-counterfeiting strategies, transforming verification results into actual control and ensuring vehicle safety and compliance.
[0143] It is understandable that vehicle lighting fixtures are subject to anti-counterfeiting measures, and that various lighting functions are restricted according to regulations and the importance of the lights, rather than being indiscriminately restricted, to ensure users' most basic lighting needs and for their safety. Restricting some additional lighting functions can also prevent damage caused by the replacement of the lights.
[0144] Furthermore, the "light anti-counterfeiting status" is cleared after the vehicle is powered off, and the above steps are repeated the next time the vehicle is powered on.
[0145] When the vehicle is powered off (from ON to OFF), the vehicle controller clears the "light anti-counterfeiting status" variable from its memory. The above steps are repeated the next time the vehicle is powered on.
[0146] The specific implementation plan is as follows:
[0147] Status Management: The anti-counterfeiting status is stored in the RAM of the vehicle controller and is automatically lost upon power-off. Alternatively, it can be manually reset via software when a power-off event is detected.
[0148] Loop verification: The verification process is re-initialized every time power is supplied to ensure real-time performance and accuracy.
[0149] Understandably, this step ensures the continued effectiveness of the anti-counterfeiting system and prevents security vulnerabilities caused by residual state. It closes the verification loop, ensuring the system performs a fresh check every time it starts up.
[0150] The vehicle lighting identification and anti-counterfeiting system provided by this invention sets up a digital fingerprint of the lighting fixture inside the lighting fixture controller; acquires the digital fingerprint of the lighting fixture; processes the digital fingerprint of the lighting fixture; compares the processed digital fingerprint of the lighting fixture with the corresponding vehicle coding information, and sets the anti-counterfeiting status of the lighting fixture; issues control commands to the lighting fixture according to the anti-counterfeiting status of the lighting fixture; and provides an alarm prompt to the user according to the anti-counterfeiting status of the lighting fixture. The vehicle lighting identification and anti-counterfeiting method provided by this invention is not only applicable to vehicle lighting fixtures but also difficult to counterfeit, with high practicality. Moreover, it does not rely on physical equipment and binds to a single vehicle through algorithms and dynamic data, resulting in high reliability. The anti-counterfeiting mark is bound to the core functions of the lighting fixtures of new energy vehicles (such as light language interaction, digital projection display, etc.), avoiding the failure of lighting fixture functions due to incompatibility with the controller after replacing the lighting fixture.
[0151] Based on the same inventive concept, embodiments of the present invention also provide an electronic device. Figure 3 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Figure 3As shown, an embodiment of the present invention provides an electronic device including: one or more processors 101, a memory 102, and one or more I / O interfaces 103. The memory 102 stores one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement any of the vehicle light identification number recognition and anti-counterfeiting methods described in the above embodiments; the one or more I / O interfaces 103 are connected between the processor and the memory, configured to enable information interaction between the processor and the memory.
[0152] The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read / write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus).
[0153] In some embodiments, the processor 101, memory 102, and I / O interface 103 are interconnected via bus 104, and thus connected to other components of the computing device.
[0154] In some embodiments, the one or more processors 101 include a field-programmable gate array.
[0155] This invention also provides a computer-readable medium. The computer-readable medium stores a computer program, which, when executed by a processor, implements the steps of any of the vehicle light identification and anti-counterfeiting methods described in the above embodiments. The computer-readable storage medium can be volatile or non-volatile.
[0156] This invention also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is run in the processor of an electronic device, the processor in the electronic device executes the above-described vehicle light identification and anti-counterfeiting method.
[0157] Those skilled in the art will understand that all or some of the steps, systems, and apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software can be distributed on a computer-readable storage medium, which may include computer storage media (or non-transitory media) and communication media (or transient media).
[0158] As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable program instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technologies, portable compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, it is known to those skilled in the art that communication media typically contain computer-readable program instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0159] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0160] The computer program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the invention.
[0161] The computer program product described herein can be implemented specifically through hardware, software, or a combination thereof. In one alternative embodiment, the computer program product is specifically embodied in a computer storage medium; in another alternative embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0162] Various aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should 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-readable program instructions.
[0163] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0164] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0165] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0166] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of the invention as set forth in the appended claims.
Claims
1. A method for identifying and preventing counterfeiting of vehicle lighting identification numbers, characterized in that, It includes: Obtain the preset digital fingerprint within the lighting controller; Data processing is performed on the digital fingerprint of the lamp; The processed digital fingerprint of the lamp is compared with the corresponding vehicle coding information, and the anti-counterfeiting status of the lamp is set. Control commands are issued to the lamps based on their anti-counterfeiting status. The system will issue an alarm to the user based on the anti-counterfeiting status of the lamp.
2. The method for identifying and preventing counterfeiting of vehicle lighting identification numbers according to claim 1, characterized in that, The step of obtaining the preset digital fingerprint within the lighting controller includes: During the production or installation of the lighting fixtures, the digital fingerprint of the lighting fixture is pre-written into the non-volatile memory of the lighting fixture controller. The digital fingerprint of the lighting fixture includes the last 8 digits of the vehicle VIN code or the vehicle PIN code. Once the lighting fixture is installed in the vehicle, the digital fingerprint of the lighting fixture is bound to the current vehicle.
3. The method for identifying and preventing counterfeiting of vehicle lighting identification numbers according to claim 1, characterized in that, The step of obtaining the preset digital fingerprint in the lighting controller includes: during each vehicle power-on phase, the vehicle controller sends a request message to all lighting controllers through the vehicle network to obtain the lighting digital fingerprint.
4. The method for identifying and preventing counterfeiting of vehicle lighting identification numbers according to claim 2, characterized in that, The data processing steps for the digital fingerprint of the lamp include: After receiving the fingerprint data, the vehicle controller preprocesses it, converting it into a standard 8-bit decimal code for comparison with the encoded information stored in the vehicle. The processing method depends on the fingerprint source. If the fingerprint is based on the VIN code, extract the last 8 digits and convert the letters to numbers; If the fingerprint is based on a PIN code, add the number 0 at the front to form an 8-digit number.
5. The method for identifying and preventing counterfeiting of vehicle lighting identification numbers according to claim 4, characterized in that, The steps of comparing the processed digital fingerprint of the lamp with the corresponding vehicle coding information and setting the anti-counterfeiting status of the lamp include: Within a set time period, the vehicle controller compares the processed 8-digit decimal fingerprint with the vehicle's stored coded information bit by bit, and sets the "light anti-counterfeiting status" based on the result: Wherein: If the comparison matches, set the status to "Pass". If the comparison is inconsistent, set the status to "failed"; If communication times out or is lost, the set time is extended by 2 times, and the request is resent, repeating the comparison operation.
6. The method for identifying and preventing counterfeiting of vehicle lighting identification numbers according to claim 1, characterized in that, The step of issuing control commands to the lamps based on their anti-counterfeiting status includes: Based on the anti-counterfeiting status, the vehicle controller sends control commands to the lighting controller via the vehicle network: If the status is approved, the vehicle is allowed to use all lighting functions, including regulatory-required functions and additional functions; If the status is "not approved", the vehicle is only allowed to use the essential lighting functions required by regulations to ensure basic use, and the use of additional functions is restricted. The essential functions include high and low beam headlights, position lights, fog lights, and turn signals. The restricted additional functions include light signal interaction, adaptive high and low beams, and digital projection display functions.
7. The method for identifying and preventing counterfeiting of vehicle lighting identification numbers according to claim 1, characterized in that, The steps for issuing alarm prompts to users based on the anti-counterfeiting status of lamps include: The vehicle controller displays alarm information on the screen or dashboard via the vehicle's human-machine interface: If the anti-counterfeiting status is passed, no prompt will be displayed; If the anti-counterfeiting status is not approved, a pop-up warning will be displayed, indicating "Incorrect lighting information" or similar content.
8. A vehicle lighting identification and anti-counterfeiting system, characterized in that, include: The acquisition unit is used to acquire a digital fingerprint preset in the lighting controller; The processing unit is used to process the digital fingerprint of the lamp. The comparison unit is used to compare the processed digital fingerprint of the lamp with the corresponding vehicle coding information and to set the anti-counterfeiting status of the lamp; The control unit is used to issue control commands to the lamps according to the anti-counterfeiting status of the lamps; The alarm unit is used to alert users based on the anti-counterfeiting status of the lamps.
9. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 7.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.