Vehicle unlocking method and device, electronic equipment and storage medium

By using a light sensing device and a pre-stored light key in the vehicle, the vehicle can be unlocked using regularly flashing light signals, which solves the problem of the vehicle being unable to be unlocked in a weak or no network environment, and improves the user experience.

CN119339462APending Publication Date: 2025-01-21ROX MOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411444837.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the case of weak network, no network or mobile phones without power, traditional smart keys or mobile apps cannot effectively unlock the vehicle, resulting in poor user experience.

Method used

By collecting the regularly flashing light signal information sent by the user in real time, the light sensor device is used to perform signal conversion and handshake detection. If the handshake is successful, a comparison is performed based on the pre-stored optical key to determine whether the light signal is the vehicle's password. key to unlock the vehicle.

Benefits of technology

In the absence of weak networks, non -network or mobile phones, it can effectively unlock vehicles, improve user experience, and solve the problem of ineffective methods in traditional methods in such environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119339462A_ABST
    Figure CN119339462A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle unlocking method and device, electronic equipment and a storage medium, the vehicle unlocking method is applied to a light sensing device, and the vehicle unlocking method comprises the steps that light signal information sent by a user side and used for vehicle unlocking is collected in real time, multiple light signals in the light signal information are subjected to signal conversion processing, and the light signals in the light signal information are obtained; determining a voltage signal corresponding to each optical signal; determining whether the user side successfully shakes hands with the light sensing device or not based on the voltage signals corresponding to the optical signals before the preset number of the optical signals in the plurality of optical signals; and if the handshake is successful, determining whether the plurality of optical signals are the optical keys of the vehicle based on the preset number of voltage signals and standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle, and if so, unlocking the vehicle. The method for unlocking the vehicle by using the regularly flashing optical signals under the conditions of weak network, no network and no power of a mobile phone is realized, and a user can unlock the vehicle conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle unlocking, and in particular to a vehicle unlocking method, device, electronic device and storage medium. Background Art

[0002] With the development of social economy, cars have become daily consumer goods and have begun to enter more and more ordinary people's homes. With the increase in car sales, people's requirements for the use of car functions have also increased. Therefore, car developers have developed remote control car keys to replace traditional mechanical car keys to provide maximum convenience and safety for car owners. At present, car owners can press the unlock button on the smart key to send an unlock signal to the car through the smart key. After the car receives the unlock signal, it can unlock the car door. However, this door unlocking method requires the owner to carry the smart key to unlock the vehicle. Once the owner does not bring the smart key or the smart key is out of power, the vehicle will not be able to unlock. In some uninhabited or remote mountainous areas, there are often imperfect infrastructure, poor network signals or weak networks. In this environment, the owner's use of mobile phone APP to unlock is often ineffective, and can only be unlocked by car keys or physical keys, resulting in a poor user experience. Summary of the invention

[0003] In view of this, the purpose of this application is to provide a vehicle unlocking method, device, electronic device and storage medium, which realizes a method for unlocking a vehicle by using a regularly flashing light signal in the case of weak network, no network and no power of the mobile phone, so as to facilitate users to unlock the vehicle.

[0004] An embodiment of the present application provides a vehicle unlocking method, which is applied to a light sensing device and includes:

[0005] Collecting in real time the optical signal information sent by the user end for unlocking the vehicle, performing signal conversion processing on multiple optical signals in the optical signal information, and determining the voltage signal corresponding to each optical signal;

[0006] Determining whether the user end has successfully shaken hands with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the plurality of light signals;

[0007] If the handshake is successful, based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical key of the vehicle, it is determined whether the multiple optical signals are the optical keys of the vehicle. If so, the vehicle is unlocked.

[0008] In a possible implementation manner, determining whether the user end has successfully handshaked with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the multiple light signals includes:

[0009] Detecting whether the first voltage signal corresponding to the first optical signal exceeds a preset voltage signal;

[0010] If yes, determining a first holding time corresponding to the first optical signal, and detecting whether a voltage difference between the second voltage signal and the first voltage signal is greater than a preset threshold;

[0011] If it is greater than the preset threshold, continue to judge whether the voltage difference between the current voltage signal and the previous voltage signal is greater than the preset threshold until a preset number of optical signals pass the detection, and determine that the handshake is successful.

[0012] In a possible implementation manner, the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical key of the vehicle are used to determine whether the plurality of optical signals are the optical key of the vehicle, including:

[0013] Determine the starting position of the password transmission end corresponding to the remaining optical signals, and determine a plurality of valid voltage signals between the starting position of the password transmission end and a plurality of optical signals after the starting position;

[0014] Performing binary data conversion processing on the plurality of effective voltage signals, and converting the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding;

[0015] Compare the lower edge trigger signal corresponding to the effective voltage signal with the standard upper and lower edge trigger signals corresponding to the pre-stored optical key, if the comparison is successful, the plurality of optical signals are the optical keys of the vehicle;

[0016] If the comparison fails, the plurality of optical signals are not the optical key of the vehicle.

[0017] In a possible implementation manner, performing binary data conversion processing on the plurality of effective voltage signals, and converting the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding, includes:

[0018] Based on the rising edge trigger signal corresponding to the effective voltage signal under two average maintenance times and the falling edge trigger signal corresponding to the effective voltage signal under one average maintenance time, a 1 in binary is formed;

[0019] Based on the rising edge trigger signal corresponding to the effective voltage signal under one average maintenance time and the falling edge trigger signal corresponding to the effective voltage signal under two average maintenance times, 0 in binary is constructed.

[0020] In a possible implementation manner, the average maintenance time is determined in the following manner:

[0021] The maintenance time corresponding to the light signals before a preset number is averaged to determine the average maintenance time.

[0022] In a possible implementation manner, the starting position where the password transmission corresponding to the remaining optical signal ends is determined by the following steps:

[0023] Detecting a plurality of consecutive optical signals having an average maintenance time in the regularly flashing optical signal;

[0024] The signal start positions of a plurality of consecutive optical signals under the average maintenance time are used as the start positions of the end of the password transmission.

[0025] In a possible implementation manner, after determining whether the plurality of optical signals are the optical keys of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle, the vehicle unlocking method further includes:

[0026] If not, the vehicle alarm is triggered and a warning notification is sent to the user.

[0027] The embodiment of the present application also provides a vehicle unlocking device, the vehicle unlocking device comprising:

[0028] An optical signal conversion module, used for real-time acquisition of optical signal information sent by the user end for vehicle unlocking, performing signal conversion processing on multiple optical signals in the optical signal information, and determining a voltage signal corresponding to each optical signal;

[0029] A handshake detection module, used to determine whether the user end has successfully handshaked with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the multiple light signals;

[0030] The key comparison module is used to determine whether the multiple optical signals are the optical keys of the vehicle based on the voltage signal after a preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle if the handshake is successful, and if so, unlock the vehicle.

[0031] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the vehicle unlocking method as described above are performed.

[0032] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle unlocking method as described above are executed.

[0033] The embodiments of the present application provide a vehicle unlocking method, device, electronic device and storage medium, the vehicle unlocking method comprising: real-time collection of optical signal information sent by the user end for vehicle unlocking, signal conversion processing of multiple optical signals in the optical signal information, and determination of the voltage signal corresponding to each optical signal; based on the voltage signal corresponding to the optical signal before a preset number of the multiple optical signals, determination of whether the user end has successfully shaken hands with the optical sensing device; if the handshake is successful, determination of whether the multiple optical signals are the optical keys of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle, and if so, unlocking the vehicle. A method for unlocking a vehicle using regularly flashing optical signals is implemented in the case of a weak network, no network and a dead mobile phone, making it convenient for users to unlock the vehicle.

[0034] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A flow chart of a vehicle unlocking method provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of the upper and lower edge trigger signals corresponding to the optical signals provided in the embodiment of the present application;

[0038] Figure 3 This is one of the structural schematic diagrams of a vehicle unlocking device provided in an embodiment of the present application;

[0039] Figure 4 A second structural diagram of a vehicle unlocking device provided in an embodiment of the present application;

[0040] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0042] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of vehicle unlocking technology.

[0043] According to research, with the development of social economy, cars have become daily consumer goods and have begun to enter more and more ordinary people's homes. With the increase in car sales, people's requirements for the use of car functions have also increased. Therefore, car developers have developed remote control car keys to replace traditional mechanical car keys to provide maximum convenience and safety for car owners. At present, car owners can press the unlock button on the smart key to send an unlock signal to the car through the smart key. After the car receives the unlock signal, it can unlock the car door. However, this door unlocking method requires the owner to carry the smart key to unlock the vehicle. Once the owner does not bring the smart key or the smart key is out of power, the vehicle will not be able to unlock. In some uninhabited or remote mountainous areas, there are often imperfect infrastructure, poor network signals or weak networks. In this environment, the owner's use of mobile phone APP to unlock is often ineffective, and can only be unlocked by car keys or physical keys, resulting in a poor user experience.

[0044] Based on this, an embodiment of the present application provides a vehicle unlocking method, which realizes a method for unlocking a vehicle by using a regularly flashing light signal in the case of a weak network, no network, and a mobile phone without power, making it convenient for users to unlock the vehicle.

[0045] See also Figure 1 , Figure 1 This is a flow chart of a vehicle unlocking method provided by an embodiment of the present application. Figure 1 As shown in , the vehicle unlocking method provided by the embodiment of the present application includes:

[0046] S101: collecting optical signal information for vehicle unlocking sent by a user terminal in real time, performing signal conversion processing on multiple optical signals in the optical signal information, and determining a voltage signal corresponding to each optical signal.

[0047] In this step, the light sensing device collects in real time a regularly flashing light signal information sent by the user end for unlocking the vehicle, performs signal conversion processing on each light signal in the light signal information, and determines the voltage signal corresponding to each light signal.

[0048] Among them, the light sensing device is arranged on the roof of the vehicle, and in the present application, the light sensing device can be replaced by a light sensor.

[0049] Here, when the light sensing device collects a period of regularly flashing light signal information, it converts the light signal to obtain a voltage signal corresponding to each light signal.

[0050] Among them, light sensing devices include solar panels, light sensors and other devices that can receive and process light signals.

[0051] Among them, a regularly flashing light signal can be generated by the user end based on the mobile phone flash, flashlight or sunshade.

[0052] S102: Determine whether the user end has successfully shaken hands with the light sensing device based on a voltage signal corresponding to the light signal before a preset number of light signals among a plurality of light signals.

[0053] In this step, whether the user end has successfully shaken hands with the light sensing device is determined based on a voltage signal corresponding to a preset number of light signals before a period of regularly flashing light signal information.

[0054] Here, the preset number can be 4, and this part is not specifically limited.

[0055] In a possible implementation manner, determining whether the user end has successfully handshaked with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the multiple light signals includes:

[0056] A: Detect whether the first voltage signal corresponding to the first light signal exceeds a preset voltage signal.

[0057] Here, it is detected whether the first voltage signal corresponding to the first light signal exceeds the preset voltage signal.

[0058] B: If yes, determine the first holding time corresponding to the first optical signal, and detect whether the voltage difference between the second voltage signal and the first voltage signal is greater than a preset threshold.

[0059] Here, if yes, then the first holding time corresponding to the first optical signal is determined, and it is detected whether the voltage difference between the second voltage signal and the first voltage signal is greater than a preset threshold.

[0060] C: If it is greater than the preset threshold, continue to judge whether the voltage difference between the current voltage signal and the previous voltage signal is greater than the preset threshold until a preset number of optical signals pass the detection, and determine that the handshake is successful.

[0061] Here, if it is greater than the preset threshold, the voltage difference between the current voltage signal and the previous voltage signal is further determined to be greater than the preset threshold until a preset number of optical signals pass the detection, and then the handshake is determined to be successful. If any optical signal fails to pass, the handshake is unsuccessful.

[0062] In the present application, the comparator in the light sensing device compares the current voltage with the voltage output at the previous moment, and the MCU parses the signal according to the protocol and determines whether to output to the CAN line unlocking or warning.

[0063] In a specific embodiment, the duration of the optical signal exceeding the threshold is T1-T4. The size of T1-T4 also has a predetermined range, which is calculated based on the owner's habits and when setting the key. The handshake process using T1-T4 can ensure that the time is flexible and not affected by the performance of the mobile phone.

[0064] S103: If the handshake is successful, determining whether the plurality of optical signals are the optical key of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical key of the vehicle.

[0065] In this step, if the handshake is successful, it is determined whether the multiple optical signals are the optical key of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical key.

[0066] Here, the pre-stored optical key is that the user end (APP end) sends a password registration and login request to the cloud platform. After receiving the password registration and login request, the cloud platform sends an ACK authentication request to the user end. After receiving the ACK authentication request, the user end sends a certificate authentication to the cloud platform. After the cloud platform successfully authenticates the certificate, it notifies the user end that the optical key can be set, receives a regularly flashing light signal set by the user end as the optical key, and sends the optical key to the vehicle's TBOX. The TBOX then sends the optical key to the light sensing device for storage to obtain the pre-stored optical key.

[0067] The corresponding standard rising and falling edge trigger signals are preset by the user using the user terminal (APP).

[0068] The voltage signal after the preset number is a voltage signal after a preset number of voltage signals.

[0069] In a possible implementation manner, determining whether the plurality of optical signals are the optical keys of the vehicle based on the voltage signals after the preset number and the standard up and down edge trigger signals corresponding to the optical keys includes:

[0070] a: Determine the starting position of the password transmission end corresponding to the remaining optical signals, and determine multiple valid voltage signals between the starting position of the password transmission end and multiple optical signals after the starting position.

[0071] Here, the starting position of the password transmission end corresponding to the remaining optical signal is determined, and multiple valid voltage signals between the starting position of the password transmission end and multiple optical signals after the starting position are determined.

[0072] The voltage signal corresponding to the light signal between the starting position where the password transmission corresponding to the remaining light signal ends and the preset number of light signals after the starting position is taken as the effective voltage signal. For example, if the starting position is the 5th light signal and the preset number is 7 light signals, the voltage signals corresponding to the 5th light signal and the 11th light signal are taken as the effective voltage signal.

[0073] The effective voltage signal is an optical password signal input by the user.

[0074] In a possible implementation manner, the starting position where the password transmission corresponding to the remaining optical signal ends is determined by the following steps:

[0075] A plurality of continuous optical signals with an average maintenance time are detected in the regularly flashing optical signal; and the signal start positions of the plurality of continuous optical signals with an average maintenance time are used as the start positions of the end of password transmission.

[0076] Here, a plurality of continuous optical signals with an average maintenance time are detected in a regularly flashing optical signal, and the signal start positions of the plurality of continuous optical signals with the average maintenance time are taken as the start positions of the end of the password transmission.

[0077] The average holding time is an average value of multiple holding times in the handshake phase.

[0078] b: Perform binary data conversion processing on the multiple effective voltage signals, and convert the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding.

[0079] Here, binary data conversion processing is performed on a plurality of effective voltage signals, and the effective voltage signals after the binary data conversion processing are converted into up-and-down edge trigger signals according to Manchester encoding.

[0080] In a possible implementation manner, performing binary data conversion processing on the plurality of effective voltage signals, and converting the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding, includes:

[0081] (1): Based on the rising edge trigger signal corresponding to the effective voltage signal under two average maintenance times and the falling edge trigger signal corresponding to the effective voltage signal under one average maintenance time, a 1 in binary is constructed.

[0082] Here, the rising edge trigger signal corresponding to the effective voltage signal under two average maintenance times and the falling edge trigger signal corresponding to the effective voltage signal under one average maintenance time constitute 1 in binary.

[0083] (2): Based on the rising edge trigger signal corresponding to the effective voltage signal under one average maintenance time and the falling edge trigger signal corresponding to the effective voltage signal under two average maintenance times, 0 in binary is constructed.

[0084] Here, a rising edge trigger signal corresponding to an effective voltage signal under an average maintenance time and a falling edge trigger signal corresponding to an effective voltage signal under two average maintenance times constitute 1 in binary.

[0085] For further information, see Figure 2 , Figure 2 Schematic diagram of the upper and lower edge trigger signals corresponding to the optical signals provided in the embodiment of the present application. Figure 2 As shown, T1 / T2 / T3 / T4 are used as the optical signal in the handshake stage, and the average maintenance time T5 is calculated according to the maintenance time corresponding to T1 / T2 / T3 / T4. After T4 is the data domain, T11 is twice T5, T12 is equal to T5 with an allowable error of 30%, T11 and T12 are combined to be 1, T13 is equal to T5, and T14 is combined to be twice T5 with an allowable error of 30%. T13 and T14 are combined to be 0, and when the transmission is ended, 10 T5s are maintained.

[0086] In this application, T1-T4 is a handshake area, which serves as a basic unit time. A high voltage and a low voltage combination in the data area generates a BIT data. Figure 2 The combination of T11 and T12 produces 1BIT data, which can effectively filter natural light and ensure that no errors are generated. Setting the handshake area can effectively overcome the problem of being unable to unlock caused by equipment performance and equipment errors.

[0087] In a possible implementation manner, the average maintenance time is determined in the following manner:

[0088] The maintenance time corresponding to the light signals before a preset number is averaged to determine the average maintenance time.

[0089] c: Compare the falling edge trigger signal corresponding to the effective voltage signal with the standard rising and falling edge trigger signals corresponding to the pre-stored optical key. If the comparison is successful, the multiple optical signals are the optical keys of the vehicle; if the comparison fails, the multiple optical signals are not the optical keys of the vehicle.

[0090] Here, the falling edge trigger signal corresponding to the effective voltage signal is compared with the standard rising and falling edge trigger signals corresponding to the pre-stored optical key. If the comparison is successful, the multiple optical signals are the optical key of the vehicle; if the comparison fails, the multiple optical signals are not the optical key of the vehicle.

[0091] S104: If yes, unlocking the vehicle based on the regularly flashing light signal.

[0092] In this step, if yes, the vehicle is unlocked according to a regularly flashing light signal.

[0093] In a possible implementation manner, after determining whether the regularly flashing light signal is the optical key of the vehicle based on the remaining voltage signals after the preset number of voltage signals and the standard upper and lower edge trigger signals corresponding to the optical key, the vehicle unlocking method further includes:

[0094] If not, the vehicle alarm is triggered and a warning notification is sent to the user.

[0095] In a specific embodiment, the user end (APP end) sends a password registration and login request to the cloud platform. After receiving the password registration and login request, the cloud platform sends an ACK authentication request to the user end. After receiving the ACK authentication request, the user end sends a certificate authentication to the cloud platform. After the cloud platform successfully authenticates the certificate, it notifies the user end, receives the optical key set by the user end, and sends the optical key to the vehicle's TBOX. TBOX then sends the optical key to the optical sensing device. When the user clicks the optical unlocking command on the user end, a regularly flashing light signal is sent. After receiving a regularly flashing light signal, the optical sensing device processes the light signal to determine whether the light signal is an optical key. If so, TBOX is notified to unlock the vehicle. If not, the vehicle is alarmed.

[0096] The embodiment of the present application provides a vehicle unlocking method, which is applied to a photosensitive device, and includes: real-time collection of a regularly flashing light signal sent by a user end for vehicle unlocking, signal conversion processing of the regularly flashing light signal, and determination of the voltage signal corresponding to each light signal; based on the voltage signal corresponding to the light signal before a preset number of the regularly flashing light signals, determining whether the user end has successfully shaken hands with the photosensitive device; if the handshake is successful, determining whether the regularly flashing light signal is the vehicle's optical key based on the remaining voltage signals after the preset number of voltage signals and the standard upper and lower edge trigger signals corresponding to the optical key; if so, unlocking the vehicle based on the regularly flashing light signal. A method for unlocking a vehicle using a regularly flashing light signal is realized in the case of a weak network, no network, and a dead mobile phone, making it convenient for users to unlock the vehicle.

[0097] See also Figure 3 , Figure 4 , Figure 3 This is one of the structural schematic diagrams of a vehicle unlocking device provided in an embodiment of the present application. Figure 4 This is a second structural diagram of a vehicle unlocking device provided in an embodiment of the present application. Figure 3 As shown in , the vehicle unlocking device 300 includes:

[0098] An optical signal conversion module, used for real-time acquisition of optical signal information sent by the user end for vehicle unlocking, performing signal conversion processing on multiple optical signals in the optical signal information, and determining a voltage signal corresponding to each optical signal;

[0099] A handshake detection module 310, configured to determine whether the user end has successfully handshaked with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the plurality of light signals;

[0100] The key comparison module 320 is used to determine whether the multiple optical signals are the optical keys of the vehicle based on the voltage signal after a preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle if the handshake is successful, and if so, unlock the vehicle.

[0101] Further, when the handshake detection module is used to determine whether the user end has successfully shaken hands with the light sensing device based on the voltage signal corresponding to the light signal before the preset number of light signals among the multiple light signals, the handshake detection module is specifically used to:

[0102] Detecting whether the first voltage signal corresponding to the first optical signal exceeds a preset voltage signal;

[0103] If yes, determining a first holding time corresponding to the first optical signal, and detecting whether a voltage difference between the second voltage signal and the first voltage signal is greater than a preset threshold;

[0104] If it is greater than the preset threshold, continue to judge whether the voltage difference between the current voltage signal and the previous voltage signal is greater than the preset threshold until a preset number of optical signals pass the detection, and determine that the handshake is successful.

[0105] Further, when the key comparison module is used to determine whether the plurality of optical signals are the optical keys of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle, the key comparison module is specifically used to:

[0106] Determine the starting position of the password transmission end corresponding to the remaining optical signals, and determine a plurality of valid voltage signals between the starting position of the password transmission end and a plurality of optical signals after the starting position;

[0107] Performing binary data conversion processing on the plurality of effective voltage signals, and converting the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding;

[0108] Compare the lower edge trigger signal corresponding to the effective voltage signal with the standard upper and lower edge trigger signals corresponding to the pre-stored optical key, if the comparison is successful, the plurality of optical signals are the optical keys of the vehicle;

[0109] If the comparison fails, the plurality of optical signals are not the optical key of the vehicle.

[0110] Further, when the key comparison module is used to perform binary data conversion processing on the multiple valid voltage signals and convert the valid voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding, the key comparison module is specifically used to:

[0111] Based on the rising edge trigger signal corresponding to the effective voltage signal under two average maintenance times and the falling edge trigger signal corresponding to the effective voltage signal under one average maintenance time, a 1 in binary is formed;

[0112] Based on the rising edge trigger signal corresponding to the effective voltage signal under one average maintenance time and the falling edge trigger signal corresponding to the effective voltage signal under two average maintenance times, 0 in binary is constructed.

[0113] Furthermore, the key comparison module determines the average maintenance time in the following manner:

[0114] The maintenance time corresponding to the light signals before a preset number is averaged to determine the average maintenance time.

[0115] Further, the key comparison module determines the starting position of the end of the password transmission corresponding to the remaining optical signal through the following steps:

[0116] Detecting a plurality of consecutive optical signals having an average maintenance time in the regularly flashing optical signal;

[0117] The signal start positions of a plurality of consecutive optical signals under the average maintenance time are used as the start positions of the end of the password transmission.

[0118] Further, such as Figure 4 As shown, the vehicle unlocking device 300 further includes an alarm module 340, which is used to:

[0119] If not, the vehicle alarm is triggered and a warning notification is sent to the user.

[0120] An embodiment of the present application provides a vehicle unlocking device, the vehicle unlocking device comprising: an optical signal conversion module, used to collect optical signal information for vehicle unlocking sent by a user terminal in real time, perform signal conversion processing on multiple optical signals in the optical signal information, and determine a voltage signal corresponding to each optical signal;

[0121] A handshake detection module, used to determine whether the user end has successfully handshaked with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the multiple light signals;

[0122] The key comparison module is used to determine whether the multiple optical signals are the optical keys of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle if the handshake is successful, and if so, unlock the vehicle. A method for unlocking the vehicle using regularly flashing optical signals in the case of weak network, no network and no power on the mobile phone is realized, which is convenient for users to unlock the vehicle.

[0123] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown in , the electronic device 500 includes a processor 510 , a memory 520 and a bus 530 .

[0124] The memory 520 stores machine-readable instructions executable by the processor 510. When the electronic device 500 is running, the processor 510 communicates with the memory 520 via the bus 530. When the machine-readable instructions are executed by the processor 510, the above-mentioned Figure 1 The specific implementation of the steps of the vehicle unlocking method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0125] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The specific implementation of the steps of the vehicle unlocking method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

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

[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0130] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0131] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A vehicle unlocking method, characterized in that: The vehicle unlocking method is applied to a light sensing device, and the vehicle unlocking method includes: Collecting in real time the optical signal information sent by the user end for unlocking the vehicle, performing signal conversion processing on multiple optical signals in the optical signal information, and determining the voltage signal corresponding to each optical signal; Determining whether the user end has successfully shaken hands with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the plurality of light signals; If the handshake is successful, based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical key of the vehicle, it is determined whether the multiple optical signals are the optical keys of the vehicle. If so, the vehicle is unlocked.

2. The vehicle unlocking method according to claim 1, characterized in that: The determining whether the user end has successfully shaken hands with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the plurality of light signals comprises: Detecting whether the first voltage signal corresponding to the first optical signal exceeds a preset voltage signal; If yes, determining a first holding time corresponding to the first optical signal, and detecting whether a voltage difference between the second voltage signal and the first voltage signal is greater than a preset threshold; If it is greater than the preset threshold, continue to judge whether the voltage difference between the current voltage signal and the previous voltage signal is greater than the preset threshold until a preset number of optical signals pass the detection, and determine that the handshake is successful.

3. The vehicle unlocking method according to claim 1, characterized in that: The voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical key of the vehicle are used to determine whether the plurality of optical signals are the optical key of the vehicle, including: Determine the starting position of the password transmission end corresponding to the remaining optical signals, and determine a plurality of valid voltage signals between the starting position of the password transmission end and a plurality of optical signals after the starting position; Performing binary data conversion processing on the plurality of effective voltage signals, and converting the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding; Compare the lower edge trigger signal corresponding to the effective voltage signal with the standard upper and lower edge trigger signals corresponding to the pre-stored optical key, if the comparison is successful, the plurality of optical signals are the optical keys of the vehicle; If the comparison fails, the plurality of optical signals are not the optical key of the vehicle.

4. The vehicle unlocking method according to claim 3, characterized in that: The performing binary data conversion processing on the plurality of effective voltage signals, and converting the effective voltage signals after the binary data conversion processing into upper and lower edge trigger signals according to Manchester encoding, comprises: Based on the rising edge trigger signal corresponding to the effective voltage signal under two average maintenance times and the falling edge trigger signal corresponding to the effective voltage signal under one average maintenance time, a 1 in binary is formed; Based on the rising edge trigger signal corresponding to the effective voltage signal under one average maintenance time and the falling edge trigger signal corresponding to the effective voltage signal under two average maintenance times, 0 in binary is constructed.

5. The vehicle unlocking method according to claim 4, characterized in that: The average holding time is determined by: The maintenance time corresponding to the light signals before a preset number is averaged to determine the average maintenance time.

6. The vehicle unlocking method according to claim 3, characterized in that: The starting position where the password transmission corresponding to the remaining optical signal ends is determined by the following steps: Detecting a plurality of consecutive optical signals under an average maintenance time among the plurality of optical signals; The signal start positions of a plurality of consecutive optical signals under the average maintenance time are used as the start positions of the end of the password transmission.

7. The vehicle unlocking method according to claim 1, characterized in that: After determining whether the plurality of optical signals are the optical keys of the vehicle based on the voltage signal after the preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle, the vehicle unlocking method further includes: If not, the vehicle alarm is triggered and a warning notification is sent to the user.

8. A vehicle unlocking device, characterized in that: The vehicle unlocking device comprises: An optical signal conversion module, used for real-time acquisition of optical signal information sent by the user end for vehicle unlocking, performing signal conversion processing on multiple optical signals in the optical signal information, and determining a voltage signal corresponding to each optical signal; A handshake detection module, used to determine whether the user end has successfully handshaked with the light sensing device based on a voltage signal corresponding to a preset number of light signals among the multiple light signals; The key comparison module is used to determine whether the multiple optical signals are the optical keys of the vehicle based on the voltage signal after a preset number and the standard upper and lower edge trigger signals corresponding to the pre-stored optical keys of the vehicle if the handshake is successful, and if so, unlock the vehicle.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the vehicle unlocking method as described in any one of claims 1 to 7.

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