Vehicle control method, electronic device, vehicle, storage medium and program product

By using preset conversion strategies and database matching mechanisms in the vehicle control system, the corresponding control commands are executed after the index information of the control signal matches the Morse password, which solves the problem that control commands are easily cracked in the prior art and improves the safety of vehicle control.

CN119749463APending Publication Date: 2025-04-04CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510101371.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the existing vehicle control system, control commands are easily cracked, affecting the safety of vehicle control.

Method used

By obtaining the control signal of the input device, converting it into the current index information based on the preset conversion strategy, finding the matching target index information and Morsemi text in the database, and if it matches, the corresponding control command is executed.

Benefits of technology

Ensure the legality of the control command through double checks (match of index information and Morse password), improves the security of vehicle control and reduces the risk of control being tampered with or intruded.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119749463A_ABST
    Figure CN119749463A_ABST
Patent Text Reader

Abstract

The present application provides a vehicle control method, electronic device, vehicle, storage medium and program product. The method includes: obtaining a control signal of an input device corresponding to the vehicle; based on a preset conversion strategy, converting the control signal into current index information; when there is target index information corresponding to the current index information in a pre-established database, and the Morse ciphertext of the data group where the target index information is located matches the Morse code represented by the control signal, the control command in the data group where the target index information is located is used as the target control command, and the vehicle is controlled to execute the target control command, wherein N data groups are stored in the database, each data group includes associated index information, Morse ciphertext and control command. By double checking the current index information of the control signal and the Morse code represented by the control signal, and only controlling the vehicle to execute the target control command after the check is passed, it is beneficial to improve the safety of vehicle control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle control method, electronic equipment, a vehicle, a storage medium and a program product. Background Art

[0002] Vehicle access and vehicle control are an important part of automotive technology, and the specific content mainly includes window lifting control and door opening and closing control. With the development of automotive technology, vehicle access and vehicle control are gradually moving from traditional mechanical control to keyless and intelligent control. For example, the use of near-field communication technology can realize the unlocking and locking of the vehicle; the use of technologies such as WIFI and Bluetooth communication combined with smartphone applications can remotely realize the unlocking and locking of the vehicle, the closing or raising of windows, and the opening or closing of the tailgate. At present, the control commands are sent using wireless networks to control the vehicle to perform the corresponding switch lock actions. The control commands usually have the risk of being cracked, thereby affecting the safety of vehicle control. Summary of the invention

[0003] In view of this, an object of the embodiments of the present application is to provide a vehicle control method, an electronic device, a vehicle, a storage medium and a program product, which can improve the safety of vehicle control.

[0004] In order to achieve the above technical objectives, the technical solutions adopted in this application are as follows:

[0005] In a first aspect, an embodiment of the present application provides a vehicle control method, the method comprising:

[0006] Acquire a control signal of an input device corresponding to the vehicle;

[0007] Based on a preset conversion strategy, converting the control signal into current index information;

[0008] When there is target index information corresponding to the current index information in a pre-established database, and the Morse ciphertext of the data group where the target index information is located matches the Morse code represented by the control signal, the control command in the data group where the target index information is located is used as the target control command, and the vehicle is controlled to execute the target control command, wherein N data groups are stored in the database, each of which includes associated index information, Morse ciphertext and control command, and N is an integer greater than or equal to 1.

[0009] In combination with the first aspect, in some optional implementations, between the step of converting the control signal into current index information and the step of controlling the vehicle to execute the target control command, the method further includes:

[0010] Searching the database for target index information corresponding to the current index information;

[0011] If the target index information exists in the database, decrypt the Morse ciphertext of the data group where the target index information is located into a reference Morse code by using a preset decryption strategy;

[0012] It is determined whether the reference Morse code is the same as the Morse code represented by the control signal, wherein if they are the same, the control command in the data group where the target index information is located is used as the target control command.

[0013] In combination with the first aspect, in some optional implementations, before searching the database to see whether there is target index information corresponding to the current index information, the method further includes:

[0014] Collect the Morse code input by the authorized user;

[0015] Based on the preset conversion strategy, the input Morse code is converted into index information, and the input Morse code is encrypted into Morse ciphertext through an encryption strategy corresponding to the preset decryption strategy,

[0016] Based on the control command corresponding to the preset control task, an association relationship among the index information, the Morse codeword and the control command is established to obtain a data group, and the database is established based on at least one of the obtained data groups;

[0017] The database is stored in a read-only memory of a specified type in the vehicle.

[0018] In combination with the first aspect, in some optional implementations, obtaining a control signal of an input device corresponding to the vehicle includes:

[0019] The control signal is obtained by collecting the user's operation actions through an input device corresponding to the vehicle, wherein the input device includes at least one of a physical button arranged on the vehicle and a touch panel arranged on the vehicle.

[0020] In combination with the first aspect, in some optional implementations, acquiring the user's operation action through an input device corresponding to the vehicle to obtain the control signal includes:

[0021] The input device senses a pressing action of a user pressing an input area of ​​the input device, and obtains a duration of each pressing action and an interval between two adjacent pressing actions;

[0022] Based on the duration of each pressing action and the interval between two adjacent pressing actions, the control signal representing the Morse code is generated, wherein when the duration of a single pressing action is less than a first preset duration, a dot signal representing the Morse code is generated, and when the duration of a single pressing action is greater than or equal to the first preset duration, a dash signal representing the Morse code is generated, and when the interval between two adjacent pressing actions is greater than or equal to the second preset duration, it is confirmed that the input of the Morse code is completed and the control signal is obtained.

[0023] In combination with the first aspect, in some optional implementations, the preset conversion strategy is a hash algorithm;

[0024] The converting the control signal into current index information based on a preset conversion strategy includes:

[0025] The Morse code represented by the control signal is converted into a hash value through the hash algorithm to serve as the current index information.

[0026] In combination with the first aspect, in some optional implementations, the preset conversion strategy is a pre-established mapping relationship between at least one set of Morse codes and index information;

[0027] The converting the control signal into current index information based on a preset conversion strategy includes:

[0028] If the index information corresponding to the Morse code represented by the control signal is found based on the mapping relationship, the found index information is used as the current index information.

[0029] In combination with the first aspect, in some optional implementations, controlling the vehicle to execute the target control command includes:

[0030] The actuator corresponding to the target control command in the vehicle is controlled to perform a corresponding action, wherein the actuator includes at least one of a door lock, a window motor, and a tailgate motor.

[0031] In a second aspect, an embodiment of the present application further provides an electronic device, comprising a processor and a memory coupled to each other, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device executes the above method.

[0032] In a third aspect, an embodiment of the present application further provides a vehicle, comprising a vehicle body and the above-mentioned electronic device.

[0033] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed on a computer, the computer executes the above method.

[0034] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0035] The invention adopting the above technical solution has the following advantages:

[0036] In the technical solution provided by the present application, based on a preset conversion strategy, the control signal of the input device is converted into the current index information. When the target index information corresponding to the current index information exists in the pre-established database, and the Morse ciphertext of the data group where the target index information is located matches the Morse code represented by the control signal, the control command in the data group where the target index information is located is used as the target control command, and the vehicle is controlled to execute the target control command. In this way, by double-checking the current index information of the control signal and the Morse code represented by the control signal, and only after the check is passed, the vehicle is controlled to execute the target control command, which is conducive to improving the safety of vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The present application may be further described by the non-limiting embodiments given in the accompanying drawings. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings may be obtained based on these drawings without creative effort.

[0038] Figure 1 A flow chart of a vehicle control method provided in an embodiment of the present application.

[0039] Figure 2 A schematic diagram of the hardware system on which the vehicle control method provided in an embodiment of the present application relies.

[0040] Figure 3 A schematic diagram of the setting and storage process of Morse code provided in an embodiment of the present application.

[0041] Figure 4 A schematic diagram of the Morse code parsing process provided in an embodiment of the present application.

[0042] Figure 5 A schematic diagram of the control command execution process provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The present application will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that in the drawings or descriptions, similar or identical parts use the same figure numbers, and the implementation methods not shown or described in the drawings are forms known to ordinary technicians in the relevant technical field. In the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0044] Please refer to Figure 1 The present application provides a vehicle control method, which can be applied to an electronic device, and the electronic device can be an electronic control system deployed on a vehicle. The vehicle control method can include the following steps:

[0045] Step 110, obtaining a control signal of an input device corresponding to the vehicle;

[0046] Step 120, converting the control signal into current index information based on a preset conversion strategy;

[0047] Step 130, when there is target index information corresponding to the current index information in the pre-established database, and the Morse ciphertext in the data group where the target index information is located matches the Morse code represented by the control signal, the control command in the data group where the target index information is located is used as the target control command, and the vehicle is controlled to execute the target control command, wherein N data groups are stored in the database, each of which includes associated index information, Morse ciphertext and control command, and N is an integer greater than or equal to 1.

[0048] The following will describe the various steps of the vehicle control method in detail, as follows:

[0049] In step 110, obtaining a control signal of an input device corresponding to the vehicle may include:

[0050] The control signal is obtained by collecting the user's operation action through an input device corresponding to the vehicle.

[0051] The input device may include, but is not limited to, at least one of a physical button set on the vehicle and a touch panel set on the vehicle. The input device may be set outside the vehicle, or both inside and outside the vehicle. For example, the input device may also be a central control display screen inside the vehicle, or the physical button / touch panel as the input device may be set on a door handle outside the vehicle door, a door handle outside the rear of the vehicle, and the number of locations where the physical button / touch panel is set may be one or more, so as to facilitate the user to input corresponding control signals outside the vehicle.

[0052] In this embodiment, the user's operation action may refer to the user's action of pressing a physical button or the user's action of clicking a touchpad. The input device may use an independent power supply or a battery on a shared vehicle as a power supply. The input device may be powered when the vehicle is running or turned off, so that the user can perform control operations through the input device at any time to obtain control signals.

[0053] In this embodiment, physical buttons and touch pads on the vehicle are used as input terminals instead of wireless communications to send control signals to the vehicle. This helps to avoid interception of control signals and interference with wireless communications that may prevent the vehicle from receiving control signals, thereby improving the safety and reliability of signal input.

[0054] In order to enrich the input methods of the control signal, in other embodiments, the input device may also include a smart phone or other terminal device bound to the vehicle. For example, the smart phone may send the control signal to the electronic device of the vehicle via Bluetooth or other wireless communication methods.

[0055] In this embodiment, collecting the user's operation action through the input device corresponding to the vehicle to obtain the control signal may include:

[0056] The input device senses a pressing action of a user pressing an input area of ​​the input device, and obtains a duration of each pressing action and an interval between two adjacent pressing actions;

[0057] Based on the duration of each pressing action and the interval between two adjacent pressing actions, the control signal representing the Morse code is generated, wherein when the duration of a single pressing action is less than a first preset duration, a dot signal representing the Morse code is generated, and when the duration of a single pressing action is greater than or equal to the first preset duration, a dash signal representing the Morse code is generated, and when the interval between two adjacent pressing actions is greater than or equal to the second preset duration, it is confirmed that the input of the Morse code is completed and the control signal is obtained.

[0058] In this embodiment, the first preset time length and the second preset time length can be flexibly set according to actual conditions. The dot signal represents the dot "." in Morse code, and the dash signal represents the dash "-" in Morse code. The input device generates corresponding "." and / or "-" based on the user's pressing sequence, and combines them into a Morse code sequence, which is the input control signal.

[0059] When the interval between two adjacent pressing actions is greater than or equal to the second preset time, it indicates that the current Morse code input is completed. In order to prompt the user to complete the input, the prompt module in the input device can be controlled to send a prompt message indicating that the input is completed (such as light, vibration, sound, etc.). The prompt module can be, but is not limited to, an indicator light, a vibration module (vibration motor), a sound prompt module (such as a buzzer, a speaker), etc., which are arranged on the input device.

[0060] If the preset conversion strategy is a hash algorithm, step 120 converts the control signal into current index information based on the preset conversion strategy, which may include:

[0061] The Morse code represented by the control signal is converted into a hash value through the hash algorithm to serve as the current index information.

[0062] It can be understood that the hash values ​​corresponding to different Morse codes have the characteristics of irreversibility, uniqueness and anti-collision. Therefore, converting the Morse code into a hash value can be used as a unique index of the Morse code, which facilitates subsequent searches for corresponding data, such as searching for Morse ciphertext in a database.

[0063] If the preset conversion strategy is a pre-established mapping relationship between at least one set of Morse codes and index information, step 120 converts the control signal into the current index information based on the preset conversion strategy, which may include:

[0064] If the index information corresponding to the Morse code represented by the control signal is found based on the mapping relationship, the found index information is used as the current index information.

[0065] In this embodiment, the mapping relationship can be a mapping table where the Morse code corresponds to the index information one by one, which can be flexibly set by engineers according to actual conditions. If the mapping table records the same Morse code as the Morse code of the control signal, it means that the Morse code of the control signal can be converted into the corresponding index information in the mapping table.

[0066] If the mapping table does not record the same Morse code as the Morse code of the control signal, it means that the input Morse code is an invalid code. If it is an invalid code, the vehicle / input device may issue a prompt indicating that the input is an invalid code, and the prompt may be, but is not limited to, a light prompt or a sound prompt.

[0067] Between step 120 of converting the control signal into current index information and step 130 of controlling the vehicle to execute the target control command, the method may further include:

[0068] Searching the database for target index information corresponding to the current index information;

[0069] If the target index information exists in the database, decrypt the Morse ciphertext of the data group where the target index information is located into a reference Morse code by using a preset decryption strategy;

[0070] It is determined whether the reference Morse code is the same as the Morse code represented by the control signal, wherein if they are the same, the control command in the data group where the target index information is located is used as the target control command.

[0071] In this embodiment, by detecting whether there is target index information corresponding to the current index information in the database, and detecting whether the reference Morse code corresponding to the Morse ciphertext in the data group where the target index information is located is the same as the Morse code represented by the control signal, double checks can be performed to improve the security of authentication during the vehicle control process and reduce the risk of control tampering or intrusion.

[0072] In this embodiment, the preset decryption strategy is the inverse of the algorithm corresponding to the encryption strategy. For example, a Morse code sequence A1 is encrypted by the encryption strategy to obtain Morse ciphertext A2; the Morse ciphertext A2 is decrypted by the decryption strategy, and the obtained plaintext Morse code is the same as the initial Morse code sequence A1. As an example, the encryption strategy can be the AES (Advanced Encryption Standard, symmetric) encryption algorithm, and the preset decryption strategy can be the AES decryption algorithm.

[0073] Before searching the database to see whether there is target index information corresponding to the current index information, the method may further include a step of creating a database. For example, the method may further include:

[0074] Collect the Morse code input by the authorized user;

[0075] Based on the preset conversion strategy, the input Morse code is converted into index information, and the input Morse code is encrypted into Morse ciphertext through an encryption strategy corresponding to the preset decryption strategy,

[0076] Based on the control command corresponding to the preset control task, an association relationship among the index information, the Morse codeword and the control command is established to obtain a data group, and the database is established based on at least one of the obtained data groups;

[0077] The database is stored in a read-only memory of a specified type in the vehicle.

[0078] In this embodiment, the database may be a key-value pair database, with the hash value corresponding to the Morse code as the key, and the encrypted Morse ciphertext and control command as the value. In other implementations, the database may be a database in other forms, which is not specifically limited here.

[0079] In this embodiment, during the creation or modification of a database, the input device needs to authenticate the operating user. After the authentication is passed, the user is regarded as an authorized user, and the input device is allowed to collect the Morse code input by the authorized user. Among them, the user authority authentication method is a conventional method, which will not be repeated here.

[0080] Authorized users can be engineers, car owners, etc. When creating or modifying a database, in order to avoid errors in the input Morse code, you can set a method of entering twice or more times. Only when the Morse codes entered twice or more times are the same, will the subsequent process be executed, such as converting the input Morse code into index information. At this time, the input Morse code is the reference Morse code obtained after the Morse ciphertext is decrypted.

[0081] Authorized users can flexibly set preset control tasks according to their own needs. The preset control task is the corresponding operation when executing the control command. For example, controlling the door to unlock and lock. Authorized users can establish associations between multiple groups of index information, Morse code and control commands according to various control requirements to obtain multiple data groups. Different data groups correspond to different control tasks and control commands. In this way, a database with multiple control commands can be obtained, which is convenient for supporting different control tasks when the corresponding control command is hit in the database later.

[0082] The database is stored in a designated type of read-only memory in the vehicle to prevent the data in the database from being easily modified, thereby improving the security of the database. The designated type of read-only memory may be, but is not limited to, EEPROM (Electrically Erasable Programmable Read Only Memory). EEPROM can erase existing information and re-edit data on a computer or dedicated device.

[0083] In step 130, controlling the vehicle to execute the target control command may include:

[0084] The actuator in the vehicle corresponding to the target control command is controlled to perform a corresponding action.

[0085] The actuators may include, but are not limited to, door locks, window motors, and tailgate motors. That is, using the target control command, the vehicle can control the door locks to open or close the doors, control the window motors to open or close the windows, and control the tailgate motor to open or close the tailgate of the vehicle. Users can customize the control tasks / functions corresponding to the control commands according to their needs, and are not limited to the control of doors, windows, and tailgates.

[0086] Please refer to Figures 2 to 5In order to facilitate the understanding of the implementation process of the method, the three processes of setting and storing Morse code, inputting and parsing Morse code, and executing control commands are explained by example as follows:

[0087] Please refer to Figure 2 The hardware system that the vehicle control method relies on may include an EDC (Electronic Digital Computer) deployed on the vehicle, an input device, a VIU (Vehicle Intelligent Unit, regional controller), various actuators, etc.

[0088] Step 1: Setting and storing Morse code

[0089] Please refer to Figure 3 Before using Morse code to enter and control the vehicle, you need to complete the settings of Morse code and control commands. Figure 3 As shown, first, EDC will provide users with a setting window on the UI (User Interface) of the vehicle's central control display screen, so that users can customize the Morse code and the corresponding control commands. To ensure security, only authorized users are allowed to customize the Morse code. Secondly, after the user completes the preset, in order to ensure the accuracy of the setting, EDC will prompt the user to confirm the Morse code again. The user needs to re-enter the Morse code just set on the simulated physical button. If the Morse code entered twice is consistent, EDC will send the corresponding control command to VIU, and VIU will respond to the command and control the actuator to perform the corresponding operation (such as opening the window). If the execution is successful, the execution result will be fed back to EDC, and the Morse code is considered to be set successfully.

[0090] After the Morse code is successfully set, in order to ensure the safe storage of the Morse code, the EDC will send the Morse code and the corresponding control instructions to the encryption module, in which the AES encryption algorithm can be used to encrypt the Morse code sequence and generate the corresponding Morse ciphertext. Then the encrypted Morse ciphertext and the corresponding control command will be saved to the EEPROM of the VIU in a key-value pair data structure for subsequent use. Specifically, the hash value corresponding to the Morse code is used as the key (Key), and the encrypted Morse ciphertext and control command are used as the value (Value).

[0091] Step 2: Input and analysis of Morse code

[0092] After completing the setting and storage of the Morse code, the user can enter the vehicle or perform corresponding control through an input device (here taking the physical button on the door handle as an example) outside the vehicle (such as the door, tailgate or door handle where it is convenient for the user to operate).

[0093] Please refer to Figure 4 For the door handle button for inputting Morse code, the user inputs the Morse code by "short pressing" or "long pressing" the physical button. When the state of the physical button changes from "not pressed" to "pressed", the current time is recorded as the start time, and when the physical button is released, that is, the state changes from "pressed" to "not pressed", the current time is recorded as the end time. According to the duration of the button press (end time minus start time), according to the set long press time threshold (first preset duration), it is judged whether the user is short pressing or long pressing. Among them, the dot (".") corresponding to the Morse code is short pressed, and the dash ("-") corresponding to the Morse code is long pressed, and the corresponding "." or "-" is combined into a Morse code sequence. At the same time, the timing starts after the button is released. If the timing time exceeds the set interval time threshold (second preset duration), that is, the button is not pressed again within the set maximum waiting time after being released, it is considered that the user has completed the Morse code input this time, and the Morse code sequence is obtained. At the same time, the method provides a feedback mechanism for the user, whereby the indicator light on the door handle button flashes once to provide visual feedback to the user, prompting the user that the Morse code has been entered.

[0094] Step 3: Control command execution

[0095] Please refer to Figure 5 , for the user's input, after being processed by the Morse code parser described in step 2, the input Morse code sequence can be obtained. First, the hash value ( Figure 5 Taking hash value 2 as an example), the encrypted Morse code sequence stored in EEPROM can be obtained by using the hash value as the key ( Figure 5 Then, the Morse ciphertext 2 is used as an example. Then, the Morse ciphertext is processed by the decryption module to obtain the decrypted Morse code sequence. If it is consistent with the input Morse code sequence, the control command corresponding to the Morse code sequence ( Figure 5 Take control command 2: open the car window as an example). Finally, the VIU sends the control command to the actuator for corresponding control (open the car window). Thus, the control of the corresponding actuator is realized according to the Morse code input by the user through the input device.

[0096] Since Morse code is a signal sequence of different durations, different combinations represent different information, and it is simple, easy to remember, and has strong anti-interference capabilities. Users can pre-set Morse codes and their corresponding control commands. In certain emergency situations, even if other entry or control systems of the vehicle fail, a simple, easy-to-operate input device (such as a physical button) is still effective. Entering the preset Morse code can achieve vehicle entry or other control, providing a backup control method for the vehicle, and also providing a safe, simple and personalized vehicle control solution.

[0097] The embodiment of the present application provides an electronic device, which may include a processor and a memory. The memory stores a computer program, and when the computer program is executed by the processor, the electronic device can execute the corresponding steps in the above vehicle control method.

[0098] In this embodiment, the processor may be an integrated circuit chip having signal processing capabilities. The above-mentioned processor may be a general-purpose processor. For example, the processor may be, but is not limited to, a regional controller, a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and may implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0099] The memory may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, a powered erasable programmable read-only memory, etc. In this embodiment, the memory may be used to store a preset conversion strategy, a database having N data groups, etc. Of course, the memory may also be used to store a program, and the processor executes the program after receiving an execution instruction.

[0100] An embodiment of the present application also provides a vehicle, which may include a vehicle body and the aforementioned electronic device, so that the vehicle can implement each step of the vehicle control method in the above embodiment, which is conducive to improving the safety of vehicle control.

[0101] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device described above can refer to the corresponding process of each step in the aforementioned method, and will not be elaborated here.

[0102] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes each step of the vehicle control method described in the above embodiment.

[0103] An embodiment of the present application also provides a computer program product, including a computer program, which implements each step in the above-mentioned vehicle control method when executed by a processor.

[0104] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented by hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, an electronic device, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0105] In the embodiments provided in the present application, it should be understood that the disclosed equipment and methods can also be implemented in other ways. The equipment and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of the module, program segment or code includes one or more executable instructions for implementing the specified logical functions. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0106] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A vehicle control method, characterized in that: The method comprises: Acquire a control signal of an input device corresponding to the vehicle; Based on a preset conversion strategy, converting the control signal into current index information; When there is target index information corresponding to the current index information in a pre-established database, and the Morse ciphertext of the data group where the target index information is located matches the Morse code represented by the control signal, the control command in the data group where the target index information is located is used as the target control command, and the vehicle is controlled to execute the target control command, wherein N data groups are stored in the database, each of which includes associated index information, Morse ciphertext and control command, and N is an integer greater than or equal to 1.

2. The method according to claim 1, characterized in that Between the step of converting the control signal into current index information and the step of controlling the vehicle to execute the target control command, the method further includes: Searching the database for target index information corresponding to the current index information; If the target index information exists in the database, decrypt the Morse ciphertext of the data group where the target index information is located into a reference Morse code by using a preset decryption strategy; It is determined whether the reference Morse code is the same as the Morse code represented by the control signal, wherein if they are the same, the control command in the data group where the target index information is located is used as the target control command.

3. The method according to claim 2, characterized in that Before searching the database to see whether there is target index information corresponding to the current index information, the method further includes: Collect the Morse code input by the authorized user; Based on the preset conversion strategy, the input Morse code is converted into index information, and the input Morse code is encrypted into Morse ciphertext through an encryption strategy corresponding to the preset decryption strategy, Based on the control command corresponding to the preset control task, an association relationship among the index information, the Morse codeword and the control command is established to obtain a data group, and the database is established based on at least one of the obtained data groups; The database is stored in a read-only memory of a specified type in the vehicle.

4. The method according to claim 1, characterized in that The step of obtaining a control signal of an input device corresponding to the vehicle includes: The control signal is obtained by collecting the user's operation actions through an input device corresponding to the vehicle, wherein the input device includes at least one of a physical button arranged on the vehicle and a touch panel arranged on the vehicle.

5. The method according to claim 4, characterized in that The step of collecting the user's operation action through an input device corresponding to the vehicle to obtain the control signal includes: The input device senses a pressing action of a user pressing an input area of ​​the input device, and obtains a duration of each pressing action and an interval between two adjacent pressing actions; Based on the duration of each pressing action and the interval between two adjacent pressing actions, the control signal representing the Morse code is generated, wherein when the duration of a single pressing action is less than a first preset duration, a dot signal representing the Morse code is generated, and when the duration of a single pressing action is greater than or equal to the first preset duration, a dash signal representing the Morse code is generated, and when the interval between two adjacent pressing actions is greater than or equal to the second preset duration, it is confirmed that the input of the Morse code is completed and the control signal is obtained.

6. The method according to claim 1, characterized in that The preset conversion strategy is a hash algorithm; The converting the control signal into current index information based on a preset conversion strategy includes: The Morse code represented by the control signal is converted into a hash value through the hash algorithm to serve as the current index information.

7. The method according to claim 1, characterized in that The preset conversion strategy is a pre-established mapping relationship between at least one set of Morse codes and index information; The converting the control signal into current index information based on a preset conversion strategy includes: If the index information corresponding to the Morse code represented by the control signal is found based on the mapping relationship, the found index information is used as the current index information.

8. The method according to any one of claims 1 to 7, characterized in that The controlling the vehicle to execute the target control command comprises: The actuator corresponding to the target control command in the vehicle is controlled to perform a corresponding action, wherein the actuator includes at least one of a door lock, a window motor, and a tailgate motor.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory coupled to each other, wherein the memory stores a computer program. When the computer program is executed by the processor, the electronic device executes the method according to any one of claims 1 to 8.

10. A vehicle, characterized in that: The vehicle comprises a vehicle body and the electronic device as claimed in claim 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.