Vehicle control methods, devices, electronic equipment, vehicles, and storage media

By installing an image collector in the vehicle to collect and identify images to be identified, matching the target verification information to control the vehicle lock status, the problem of unlocking and locking the vehicle when the vehicle cannot be connected to the mobile terminal and the user has no key is solved, and convenient backup key function and independent vehicle control for network connection are realized.

CN119773672APending Publication Date: 2025-04-08BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311286784.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-07
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

When the vehicle cannot establish a connection with the first mobile terminal and the user does not carry the key, how to control the vehicle to unlock or lock the vehicle has become an urgent problem.

Method used

The image to be identified by an image collector installed at the preset position of the vehicle, identify the image to be identified, and obtain the target verification information. When the target verification information matches the target preset verification information stored in the vehicle, the vehicle lock state of the vehicle is controlled to switch from the current state to the target state.

Benefits of technology

When the vehicle cannot establish a connection with the first mobile terminal, the user can unlock or lock the vehicle through the image to be recognized by the portable image, providing a convenient backup key solution, and avoiding the problem of the vehicle being uncontrollable due to network connection problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119773672A_ABST
    Figure CN119773672A_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to a vehicle control method, device, electronic device, vehicle and storage medium. The method comprises: collecting an image to be identified by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image that is sent by a first mobile terminal to a second mobile terminal and displayed by the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; identifying the image to be identified and obtaining target verification information; when the target verification information matches the preset target verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state. The method can control the vehicle to unlock or lock when the vehicle cannot establish a connection with the first mobile terminal and the user does not carry a key.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of automobile technology, and in particular, to a vehicle control method, device, electronic device, vehicle, and storage medium. Background Art

[0002] With the development of intelligent automobiles, users no longer need to carry physical keys and can control their vehicles through user terminals. Among them, the function of controlling the unlocking or locking of the vehicle through the user terminal is very popular among users.

[0003] The existing method of controlling a vehicle through a user terminal requires that the vehicle is connected to the Internet, and the user terminal controls the vehicle through the Internet. However, if the vehicle is in an underground garage, mountainous area or other network-free environment, or if the vehicle's network is abnormal, the vehicle cannot be unlocked or locked through the user terminal. In addition, if the user holding the user terminal is not near the vehicle, other users cannot control the vehicle to unlock or lock.

[0004] Therefore, when the vehicle cannot be connected to the Internet and other users do not carry keys or user terminals, how to control the unlocking or locking of the vehicle becomes an urgent problem that needs to be solved. Summary of the invention

[0005] Embodiments of the present application provide a vehicle control method, device, electronic device, vehicle and storage medium, which can control the vehicle to unlock or lock when the vehicle cannot establish a connection with a first mobile terminal and the user does not carry a key.

[0006] In a first aspect, an embodiment of the present application provides a vehicle control method, which is applied to a vehicle, comprising: acquiring an image to be identified by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image in which a first mobile terminal sends an identification image to a second mobile terminal and displays it through the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; identifying the image to be identified and obtaining target verification information; when the target verification information matches the target preset verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state.

[0007] In a second aspect, an embodiment of the present application provides a vehicle control device, comprising: an acquisition module, for acquiring an image to be identified by means of an image acquisition device installed at a preset position of the vehicle; wherein the image to be identified is an image in which a first mobile terminal sends an identification image to a second mobile terminal and displays the same through the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; an identification module, for identifying the image to be identified and obtaining target verification information; a control module, for controlling the vehicle lock state to switch from a current state to a target state when the target verification information matches the target preset verification information stored in the vehicle; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state.

[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, wherein the processor is used to execute a computer program stored in a memory, wherein the computer program implements the steps of any one of the methods provided in the first aspect when executed by the processor.

[0009] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising: the vehicle control device of the second aspect, or the electronic device of the third aspect.

[0010] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any one of the methods provided in the first aspect are implemented.

[0011] In the technical solution provided by the embodiment of the present application, an image to be identified is collected by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image sent by the first mobile terminal to the second mobile terminal and displayed by the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; the image to be identified is identified to obtain target verification information; when the target verification information matches the preset verification information of the target stored in the vehicle, the vehicle lock state is controlled to switch from the current state to the target state; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state. In this way, when the user is near the vehicle and does not carry a key, the user can unlock or lock the vehicle by carrying the image to be identified, that is, the image to be identified provides convenience for the user as a spare key. In addition, the control of the vehicle by this solution does not rely on the first mobile terminal, which avoids the problem that the vehicle cannot be unlocked or locked by the first mobile terminal when the vehicle cannot establish a connection with the first mobile terminal (such as a remote network connection or a close-range Bluetooth, infrared connection, etc.). BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0014] Figure 1 A schematic diagram of a vehicle control method provided in an embodiment of the present application;

[0015] Figure 2 A flow chart of another vehicle control method provided in an embodiment of the present application;

[0016] Figure 3 A flow chart of another vehicle control method provided in an embodiment of the present application;

[0017] Figure 4 A flow chart of another vehicle control method provided in an embodiment of the present application;

[0018] Figure 5 A flow chart of another vehicle control method provided in an embodiment of the present application;

[0019] Figure 6 A flow chart of another vehicle control method provided in an embodiment of the present application;

[0020] Figure 7 A schematic diagram of the structure of a vehicle control device provided in an embodiment of the present application;

[0021] Figure 8 A schematic diagram of the hardware structure of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0023] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.

[0024] The technical solution of the present application is explained in detail below through several specific embodiments.

[0025] Figure 1 A flow chart of a vehicle control method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the vehicle control method disclosed in the present application is applied to a vehicle, and includes the following steps 101 to 103.

[0026] 101. Collect an image to be recognized by an image collector installed at a preset position of the vehicle.

[0027] The image to be identified is an image that is sent by the first mobile terminal to the second mobile terminal and displayed by the second mobile terminal. The first mobile terminal and the second mobile terminal are terminals held by different users.

[0028] It can be understood that the first mobile terminal is a terminal that has a binding relationship with the vehicle, and the user holding the first mobile terminal is a user who has the authority to open the vehicle. Usually, the user of the first mobile terminal is the owner of the vehicle; the second mobile terminal is a terminal that has no binding relationship with the vehicle, and the user of the second mobile terminal does not have the authority to open the vehicle. Therefore, the user of the first mobile terminal is required to send the image to be identified to the second mobile terminal so that the user of the second mobile terminal can open the vehicle through the image to be identified in the second mobile terminal. The image to be identified can be an image on the second mobile terminal (such as a mobile phone, tablet computer, smart watch, smart bracelet and other electronic devices), or it can be an image printed on paper. Specifically, the embodiment of the present application does not limit the existence form of the image to be identified. The vehicle captures images and subsequently identifies images, etc., without the need to connect to the Internet or establish connections with other devices, and the execution actions are all interactions between the internal devices of the vehicle.

[0029] In order to ensure that the vehicle can be unlocked or unlocked even when it is offline, the image corresponding to the preset verification information of the target is pre-saved in the first mobile terminal. For convenience, the image corresponding to the preset verification information of the target can also be printed on paper and carried around. After the image collector of the vehicle captures the image on the second mobile terminal or the image to be identified printed on paper, if the image to be identified contains the image corresponding to the preset verification information of the target, the unlocking or unlocking operation can be implemented subsequently. Otherwise, the unlocking or unlocking operation cannot be implemented.

[0030] 102. Identify the image to be identified and obtain target verification information.

[0031] It can be understood that the image to be identified is any image that can indicate password information, such as: a QR code image, a barcode image, a password image, etc.

[0032] It can be understood that the target verification information is obtained by identifying the image to be identified, and the target verification information may be a partial image in the image to be identified; the target verification information may also be the content indicated by the partial image in the image to be identified.

[0033] Exemplarily, the image to be identified is an image including the QR code information and other information, and the target verification information is an image including only the QR code information; or, the target verification information is character information corresponding to the QR code.

[0034] 103. When the target verification information matches the target preset verification information stored in the vehicle, control the vehicle lock state to switch from the current state to the target state.

[0035] The vehicle lock state includes an unlocked state and a locked state, and the current state is different from the target state.

[0036] Alternatively, if Figure 2 As shown, after the above step 102, the following step 104 is also included.

[0037] It should be noted that if the image to be identified contains an image corresponding to the target preset verification information, the target verification information obtained by identifying the image to be identified matches the target preset verification information; otherwise, the target verification information obtained by identifying the image to be identified does not match the target preset verification information.

[0038] 104. When the target verification information does not match the target preset verification information, output a prompt message.

[0039] The prompt information is used to indicate that the target verification information is wrong.

[0040] It can be understood that the target verification information is a partial image in the image to be identified (such as the partial image is the part corresponding to the QR code in the image to be identified), and the target preset verification information stored in the vehicle is the target image. It is determined whether the partial image and the target image are the same. If they are the same, the vehicle lock state is controlled to switch from the current state to the target state; if they are different, a prompt message is output; or, the target verification information is a partial image in the image to be identified, and the target preset verification information stored in the vehicle is a string of characters. It is determined whether the content indicated by the partial image is the same as the string of characters stored in the vehicle. If they are the same, the vehicle lock state is controlled to switch from the current state to the target state; if they are different, a prompt message is output; or, the target verification information is a string of characters, and the target preset verification information stored in the vehicle is also a string of characters. It is determined whether the two strings of characters are the same. If they are the same, the vehicle lock state is controlled to switch from the current state to the target state; if they are different, a prompt message is output.

[0041] Exemplarily, the target verification information is a first image that only includes QR code information, and the target preset verification information is a target QR code image, then it is determined whether the first image and the target QR code image are the same, if they are the same, the vehicle lock state is controlled to switch from the current state to the target state, otherwise a prompt message is output; the target verification information is a first image that only includes QR code information, and the target preset verification information is a string of characters, then it is determined whether the string of characters indicated by the first image is the same as the target preset verification information, if they are the same, the vehicle lock state is controlled to switch from the current state to the target state, otherwise a prompt message is output; the target verification information is a first character string including multiple characters, and the target preset verification information is a target character string including multiple characters, then it is determined whether the first character string and the target character string are the same, if they are the same, the vehicle lock state is controlled to switch from the current state to the target state, otherwise a prompt message is output.

[0042] It can be understood that controlling the vehicle through the first mobile terminal requires the first mobile terminal to be interconnected with the vehicle. Specifically, one is remote control based on the Internet of Vehicles platform, which requires the first mobile terminal and the vehicle to be in an Internet state, and the first mobile terminal sends a control instruction to the cloud through an application, and the cloud forwards the control instruction to the vehicle, and the vehicle executes the control instruction; the other is near-end control, which requires the first mobile terminal and the vehicle to be connected through a short-range communication (such as Bluetooth, infrared, etc.), and the first mobile terminal controls the vehicle through the established short-range connection. It can be seen that remote control of the vehicle requires that the vehicle and the terminal are both in an Internet state; while near-end control of the vehicle requires the terminal and the vehicle to establish a short-range communication connection; and when the vehicle and the first mobile terminal cannot establish any connection and the user does not carry the key, the vehicle cannot be controlled through the first mobile terminal. In this application, from the step of collecting the image to be identified by the image collector of the vehicle to the state switching or outputting the prompt information, the vehicle does not need to be in an Internet state, nor does the vehicle need to establish a communication connection with other devices, making the process of unlocking or locking the vehicle simpler and easier to implement without a key.

[0043] For example, to achieve short-distance communication between the first mobile terminal and the vehicle through infrared, both the first mobile terminal and the vehicle need to have infrared functions, which increases the hardware cost of the first mobile terminal and the vehicle. In addition, controlling the vehicle through Bluetooth or infrared cannot be used in the following scenarios: the user near the vehicle has not established a Bluetooth or infrared connection with the vehicle, the vehicle is in a locked state, and user A needs to unlock the vehicle. At this time, user A cannot enter the vehicle to operate the Bluetooth or infrared in the vehicle for authentication, and cannot establish a Bluetooth or infrared connection with the vehicle. In this case, the solution of controlling the vehicle through short-distance communication fails.

[0044] Exemplarily, the user of the first mobile terminal is the vehicle owner, the user of the second mobile terminal is the second user near the vehicle, and the vehicle is in a network-free environment, that is, the vehicle cannot establish a connection with any terminal through the network. In this case, if the vehicle owner is not near the vehicle and needs to operate the vehicle with the second user near the vehicle, the second user can lock or unlock the vehicle through the image to be recognized pre-stored in the second mobile terminal (the image to be recognized is equivalent to the spare key of the vehicle). In this way, when the owner is not near the vehicle and the vehicle is in a network-free environment (the owner cannot control the vehicle through a remote connection), the user of the second mobile terminal near the vehicle displays the image to be recognized through the second mobile terminal, so that the vehicle collects and recognizes the image to be recognized. After the authentication is passed, the vehicle can be unlocked or locked, which is convenient for non-owner users near the vehicle to operate the vehicle without obtaining the physical key of the vehicle, thereby improving the convenience of vehicle use.

[0045] In some embodiments of the present application, an image to be identified is collected by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image sent by the first mobile terminal to the second mobile terminal and displayed by the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; the image to be identified is identified to obtain target verification information; when the target verification information matches the preset target verification information stored in the vehicle, the vehicle lock state is controlled to switch from the current state to the target state; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state. In this way, when the user is near the vehicle and does not carry a key, the user can unlock or lock the vehicle by carrying the image to be identified, that is, the image to be identified provides convenience for the user as a spare key. In addition, the control of the vehicle by this solution does not rely on the first mobile terminal, which avoids the problem that the vehicle cannot be unlocked or locked by the first mobile terminal when the vehicle cannot establish a connection with the first mobile terminal (such as a remote network connection or a close-range Bluetooth, infrared connection, etc.).

[0046] In some embodiments of the present application, Figure 2 ,like Figure 3 As shown, the vehicle control method provided in the embodiment of the present application also includes the following steps 105 to 107, and step 108 or step 109, Figure 3 Take step 105 to step 109 being performed after step 103 as an example.

[0047] 105. When the target condition is met, generate first verification information.

[0048] Among them, the target conditions include any of the following: receiving an operation by the user to update the target preset verification information; after identifying the image to be identified and obtaining the target verification information, detecting that the number of times the target verification information has been identified is equal to the number threshold; detecting that the storage time of the target preset verification information is greater than or equal to the time threshold, and the first verification information is the verification data for the vehicle lock control authority.

[0049] 106. Update the target preset verification information to the first verification information.

[0050] 107. Generate a first verification image corresponding to the first verification information.

[0051] It can be understood that if the third verification information is obtained before identifying the image to be identified and obtaining the target verification information, then the third verification information is the target preset verification information. If the target verification information matches the target preset verification information stored in the vehicle, then the image to be identified is the first verification image.

[0052] 108. When a communication connection is established between the vehicle and the first mobile terminal, send the first verification image to the first mobile terminal.

[0053] Among them, when the vehicle establishes a communication connection with the first mobile terminal (i.e., there is a network connection), the first verification image is sent to the first mobile terminal so that the first mobile terminal updates the identification image to the first verification image, and sends the first verification image to the second mobile terminal as an image to be identified.

[0054] 109. Display a first verification image.

[0055] The first verification image is displayed so that the first mobile terminal collects the first verification image in response to the user's shooting input, and after updating the identification image to the first verification image, the first verification image is sent to the second mobile terminal as an image to be identified.

[0056] It can be understood that the update of the first verification information and the first verification image corresponding to the first verification information can be divided into the following situations:

[0057] In one case, when there is a network connection, if the target condition is met, the first verification information and the first verification image corresponding to the first verification information are generated; the first verification image is sent to the first mobile terminal; the first mobile terminal updates the image corresponding to the stored target preset verification information to the first verification image, and sends a response message to the vehicle at the same time; when the vehicle receives the response message returned by the first mobile terminal, the target preset verification information is updated to the first verification information. Alternatively, while sending the first verification image to the first mobile terminal, the target preset verification information is updated to the first verification information, without waiting for the response message returned by the first mobile terminal before updating.

[0058] Another situation is that the update is performed in an off-network state and the transmission is performed in a network state. If the target condition is met, the first verification information and the first verification image corresponding to the first verification information are generated; the target preset verification information is updated to the first verification information. When a network state is detected, the first verification image is sent to the first mobile terminal.

[0059] Another situation is when there is no network. If the target condition is met, the first verification information and the first verification image corresponding to the first verification information are generated; the target preset verification information is updated to the first verification information; the first verification image is displayed so that the first mobile terminal captures the first verification image in response to the user's shooting input, and the image corresponding to the target preset verification information is updated to the first verification image. Alternatively, the first verification image and prompt information are displayed, and the prompt information is used to prompt the user to control the first mobile terminal to shoot the first verification image, and the image corresponding to the target preset verification information is updated to the first verification image.

[0060] It should be noted that the execution order of the above steps 106 and 107 is not limited, and they can be executed in a sequential order or simultaneously. When the target condition is that after the target image is identified and the target verification information is obtained, it is detected that the number of times the target verification information has been used is equal to the number threshold, the above steps 105 to 109 are executed after the above step 102; when the target condition is that the user's operation of updating the target preset verification information is received, or it is detected that the storage time of the target preset verification information is greater than or equal to the time threshold, the above steps 105 to 109 can be executed before or after any step from step 101 to step 104.

[0061] In the embodiment of the present application, when the target condition is met, the first verification information is generated, and the target condition includes any of the following: receiving the user's operation of updating the target preset verification information; after identifying the image to be identified and obtaining the target verification information, detecting that the number of times the target verification information has been identified is equal to the number threshold; detecting that the storage time of the target preset verification information is greater than or equal to the time threshold, and the first verification information is the verification data for the vehicle lock control authority; updating the target preset verification information to the first verification information; generating a first verification image corresponding to the first verification information; when the vehicle establishes a communication connection with the first mobile terminal, sending the first verification image to the first mobile terminal so that the first mobile terminal updates the identification image to the first verification image, and sends the first verification image to the second mobile terminal as the image to be identified; or displaying the first verification image so that the first mobile terminal collects the first verification image in response to the user's shooting input, and after updating the identification image to the first verification image, sends the first verification image to the second mobile terminal as the image to be identified. In this way, when the target condition is met, the verification information and the corresponding verification image are updated, which provides convenience for the user while enhancing the safety of using the verification information to control the vehicle.

[0062] In some embodiments of the present application, Figure 2 ,like Figure 4 As shown, the vehicle control method provided in the embodiment of the present application further includes the following steps 110 and 111: Figure 4 Take step 110 and step 111 being performed after step 103 as an example.

[0063] 110. When a communication connection is established between the vehicle and the first mobile terminal, receive second verification information sent by the first mobile terminal.

[0064] Among them, the second verification information is generated by the first mobile terminal based on receiving the user's update target preset verification information and identification image operation; or, the second verification information is generated when the first mobile terminal detects that the storage time of the identification image is greater than or equal to the time threshold.

[0065] 111. Update the target preset verification information to the second verification information.

[0066] It can be understood that when the first mobile terminal receives an operation by the user to update the target preset verification information and the image corresponding to the target preset verification information, or when the first mobile terminal detects that the storage time of the image corresponding to the target preset verification information is greater than or equal to the time threshold, second verification information and a second verification image corresponding to the second verification information are generated, and the image corresponding to the target preset verification information is updated to the second verification image; in a network state, the second verification information is sent to the vehicle; the vehicle receives the second verification information, and updates the target preset verification information to the second verification information.

[0067] In the embodiment of the present application, when the vehicle establishes a communication connection with the first mobile terminal, the second verification information sent by the first mobile terminal is received, and the second verification information is generated by the first mobile terminal based on receiving the user's operation of updating the target preset verification information and the identification image; or the second verification information is generated when the first mobile terminal detects that the storage time of the identification image is greater than or equal to the time threshold; the target preset verification information is updated to the second verification information. In this way, the verification information and the corresponding verification image can be updated in the first mobile terminal, and the verification information and the corresponding verification image can also be updated in the vehicle, and the update method is more flexible.

[0068] In the present application embodiment, combined Figure 2 ,like Figure 5 As shown, after the above step 101, the vehicle control method provided in the embodiment of the present application also includes the following steps 112 and 113. The above step 103 can be specifically implemented by the following step 103a, and the above step 104 can be specifically implemented by the following step 104a.

[0069] 112. Detect whether a switch in the vehicle for indicating that the vehicle lock status is allowed to be controlled by verification information is turned on.

[0070] It can be understood that a physical switch or touch switch is provided in the vehicle, and when it is turned on, it indicates that the vehicle lock state is allowed to be controlled by the verification information, and when it is turned off, it indicates that the vehicle lock state is not allowed to be controlled by the verification information. Specifically, the user can directly manually operate the switch in the vehicle to turn it on or off, or the first mobile terminal can control the switch to turn it on or off. Among them, the first mobile terminal is the first mobile terminal authorized by the vehicle, and in practice, it is generally the first mobile terminal of the owner.

[0071] 113. When the switch is turned off, an invalid prompt message is output.

[0072] The invalid prompt information is used to prompt that the vehicle lock state is not allowed to be controlled through the verification information.

[0073] It can be understood that when the vehicle lock state is not allowed to be controlled by verification information, an invalid prompt message can be output to prompt the user that the vehicle lock state is not allowed to be controlled by verification information; it can also be that no response is given to the target verification information obtained by identifying the image to be identified.

[0074] 103a. When the switch is turned on and the target verification information matches the target preset verification information stored in the vehicle, control the vehicle lock state to switch from the current state to the target state.

[0075] 104a. When the switch is turned on and the target verification information does not match the target preset verification information stored in the vehicle, the vehicle lock state is controlled to switch from the current state to the target state, and a prompt message is output.

[0076] It can be understood that the image to be identified may be used to control the lock state of the vehicle, and the image to be identified may also be used to control other functions of the vehicle, such as gesture recognition, face recognition, etc. Therefore, for the collected image to be identified, after identifying the target verification information corresponding to the image to be identified, it is detected whether the lock state is allowed to be controlled by the verification information. If the image to be identified collected in the vehicle is only used to control the lock state of the vehicle, the step of detecting whether the lock state is allowed to be controlled by the verification information can be performed before the image to be identified is collected, that is, the image collector of the vehicle detects that there is an image to be collected, then the step of first detecting whether the lock state is allowed to be controlled by the verification information can be performed after the image to be identified is collected, and if the lock state is allowed to be controlled by the verification information, the image to be identified is collected again.

[0077] In the embodiment of the present application, after the image to be identified is collected by the image collector installed at the preset position of the vehicle, the method further includes: detecting whether the switch in the vehicle for indicating that the vehicle lock state is allowed to be controlled by verification information is turned on; when the target verification information matches the target preset verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state, including: when the switch is turned on and the target verification information matches the target preset verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state. In this way, when the vehicle lock state is not allowed to be controlled by verification information, the verification information controlling the vehicle lock state becomes invalid, thereby ensuring the safety of the vehicle.

[0078] In some embodiments of the present application, locking a vehicle corresponds to first preset verification information, and unlocking a vehicle corresponds to second preset verification information; the target preset verification information includes: the first preset verification information, and / or, the second preset verification information; combined Figure 1 ,like Figure 6 As shown, the above step 103 can be specifically implemented through the following step 103b, or, through the following step 103cc.

[0079] 103b. When the target verification information matches the first preset verification information, the vehicle lock state is controlled to switch from the unlocked state to the locked state.

[0080] 103c. When the target verification information matches the second preset verification information, the vehicle lock state is controlled to switch from the locked state to the unlocked state.

[0081] It can be understood that, when it is determined that the current state is an unlocked state, 103b is executed, and when it is determined that the current state is a locked state, 103c is executed.

[0082] It can be understood that there are two different verification information stored in the vehicle, the first preset verification information and the second preset verification information, the first preset verification information is used to unlock the vehicle, and the second preset verification information is used to lock the vehicle. When the current state is the unlocked state and the target verification information matches the first preset verification information, the vehicle lock state is controlled to switch from the unlocked state to the locked state. When the current state is the locked state and the target verification information matches the second preset verification information, the vehicle lock state remains in the current state, or the vehicle lock state remains in the current state and outputs a prompt message to the user that the current vehicle is already in a locked state and do not repeat the lock. When the current state is the locked state and the target verification information matches the second preset verification information, the vehicle lock state is controlled to switch from the locked state to the unlocked state. When the current state is the unlocked state and the target verification information matches the first preset verification information, the vehicle lock state remains in the current state, or the vehicle lock state remains in the current state and outputs a prompt message to the user that the current vehicle is already in an unlocked state and do not repeat the unlock.

[0083] In the embodiment of the present application, the target preset verification information includes: the first preset verification information and / or the second preset verification information; wherein, locking the vehicle corresponds to the first preset verification information, and unlocking the vehicle corresponds to the second preset verification information; when the target verification information matches the target preset verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state includes: if the current state is the unlocked state, when the target verification information matches the first preset verification information, controlling the vehicle lock state to switch from the unlocked state to the locked state; or, if the current state is the locked state, when the target verification information matches the second preset verification information, controlling the vehicle lock state to switch from the locked state to the unlocked state. In this way, when the target verification information matches the first preset verification information, the vehicle is locked; when the target verification information matches the second preset verification information, the vehicle is unlocked; and the control of the vehicle lock state is achieved through different verification information.

[0084] In some embodiments of the present application, after the above step 103, the method further includes the following step 114.

[0085] 114. When the target state is unlocked, control the vehicle to enable at least one functional permission corresponding to the target preset verification information.

[0086] Among them, the vehicle pre-stores the correspondence between each target's preset verification information and functional permissions, and the functional services that can be operated by the vehicle under different functional permissions are different.

[0087] Exemplarily, multiple QR code information is pre-stored in the vehicle, and each QR code corresponds to a different functional permission. The functional permission corresponding to the first QR code in the multiple QR code information is to allow the user to unlock and lock the vehicle, the functional permission corresponding to the second QR code is to allow the user to operate static functions in the vehicle (such as unlocking, locking, playing music, video, etc.), and the functional permission corresponding to the third QR code is to allow the user to operate all functions in the vehicle. Therefore, different permissions for operating the vehicle can be obtained through different QR codes.

[0088] In the embodiment of the present application, after controlling the vehicle lock state to switch from the current state to the target state, the method further includes: when the target state is the unlocked state, controlling the vehicle to enable at least one functional permission corresponding to the target preset verification information, the vehicle pre-stores the correspondence between each target preset verification information and the functional permission, and the functional services that can be operated by the vehicle under different functional permissions are different. In this way, the holder of the first mobile terminal can grant different functional permissions to the holder of the second mobile terminal as needed, so that the holder of the second mobile terminal can operate the vehicle while ensuring the safety of the vehicle.

[0089] In some embodiments of the present application, locking a vehicle and unlocking a vehicle correspond to the same target preset verification information; the above step 103 can be specifically implemented through the following steps 103d and 103e, or, through the following steps 103f and 103g.

[0090] 103d. If the current state is unlocked, and the target verification information matches the target preset verification information, execute 103e.

[0091] 103e. Control the vehicle lock state to switch from the unlocked state to the locked state.

[0092] 103f. If the current state is a locked state, and the target verification information matches the target preset verification information, execute 103g.

[0093] 103g. Control the vehicle lock state to switch from a locked state to an unlocked state.

[0094] It can be understood that the target preset verification information in the vehicle can be used to lock the vehicle or unlock the vehicle. When the vehicle lock state is in the unlocked state, the target preset verification information can be used to lock the vehicle; when the vehicle lock state is in the locked state, the target preset verification information can be used to unlock the vehicle.

[0095] In the embodiment of the present application, locking a vehicle and unlocking a vehicle correspond to the same target preset verification information; when the target verification information matches the verification information stored in the vehicle, the vehicle lock state is controlled to switch from the current state to the target state, including: if the current state is the unlocked state, when the target verification information matches the target preset verification information, the vehicle lock state is controlled to switch from the unlocked state to the locked state; or, if the current state is the locked state, when the target verification information matches the target preset verification information, the vehicle lock state is controlled to switch from the locked state to the unlocked state. In this way, only one verification information is needed to simultaneously control the unlocking or locking of the vehicle, reducing the pressure on the vehicle or device to store verification information. At the same time, the user does not need to distinguish the verification information required for unlocking and locking, and the operation is simpler.

[0096] The present application also provides a vehicle control device, such as Figure 7 As shown, the device includes: an acquisition module 701, which is used to acquire an image to be identified by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image that is sent by a first mobile terminal to a second mobile terminal and displayed by the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; an identification module 702, which is used to identify the image to be identified and obtain target verification information; a control module 703, which is used to control the vehicle lock state to switch from the current state to the target state when the target verification information matches the target preset verification information stored in the vehicle; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state.

[0097] In some embodiments of the present application, the device further includes a generation module, a detection module, an update module, a sending module, and a display module; the generation module is used to generate the first verification information when the target condition is met, and the target condition includes any one of the following: receiving an operation of updating the target preset verification information by the user; after identifying the image to be identified and obtaining the target verification information, detecting that the number of times the target verification information has been identified is equal to the number threshold; the detection module is used to detect that the storage time of the target preset verification information is greater than or equal to the time threshold, and the first verification information is the verification data for the vehicle lock control authority; the update module is used to update the target preset verification information to the first verification information; the production module is also used to generate a first verification image corresponding to the first verification information; the sending module is used to send the first verification image to the first mobile terminal when the vehicle establishes a communication connection with the first mobile terminal, so that the first mobile terminal updates the identification image to the first verification image, and sends the first verification image to the second mobile terminal as the image to be identified; or the display module is used to display the first verification image, so that the first mobile terminal collects the first verification image in response to the user's shooting input, and after updating the identification image to the first verification image, sends the first verification image to the second mobile terminal as the image to be identified.

[0098] In some embodiments of the present application, the device also includes a receiving module; the receiving module is used to receive second verification information sent by the first mobile terminal when the vehicle establishes a communication connection with the first mobile terminal, the second verification information is generated by the first mobile terminal based on receiving an operation of the user to update the target preset verification information and the identification image; or, the second verification information is generated when the first mobile terminal detects that the storage time of the identification image is greater than or equal to a time threshold; the updating module is also used to update the target preset verification information to the second verification information.

[0099] In some embodiments of the present application, the detection module is also used to detect whether the switch in the vehicle for indicating that the vehicle lock state is allowed to be controlled by verification information is turned on after the image to be identified is acquired by an image collector installed at a preset position of the vehicle; the control module 703 is specifically used to control the vehicle lock state to switch from the current state to the target state when the switch is turned on and the target verification information matches the target preset verification information stored in the vehicle.

[0100] In some embodiments of the present application, the control module 703 is also used to control the vehicle to enable at least one functional permission corresponding to the target preset verification information after controlling the vehicle lock state to switch from the current state to the target state, when the target state is the unlocked state. The correspondence between each target preset verification information and the functional permission is pre-stored in the vehicle, and the functional services that can be operated by the vehicle under different functional permissions are different.

[0101] In some embodiments of the present application, the target preset verification information includes: first preset verification information and / or second preset verification information; wherein, locking the vehicle corresponds to the first preset verification information, and unlocking the vehicle corresponds to the second preset verification information; the control module 703 is specifically used to control the vehicle lock state to switch from the unlocked state to the locked state if the current state is the unlocked state and the target verification information matches the first preset verification information; or, if the current state is the locked state, control the vehicle lock state to switch from the locked state to the unlocked state if the target verification information matches the second preset verification information.

[0102] The vehicle control device provided in the embodiment of the present application can be used to execute the steps of the above-mentioned method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0103] It should be noted that the above-mentioned vehicle control device can be the electronic device in the above-mentioned method embodiment of the present application, or it can be a functional module and / or functional entity in the electronic device that can realize the functions of the device embodiment, and the embodiment of the present application is not limited.

[0104] In the embodiments of the present application, each module can implement the vehicle control method provided in the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0105] The beneficial effects of various implementation methods in this embodiment can be specifically referred to the beneficial effects of the corresponding implementation methods in the above-mentioned vehicle control method embodiment. To avoid repetition, they will not be repeated here.

[0106] The present application also provides an electronic device, such as Figure 8 As shown, the electronic device may include: a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, the various processes of the vehicle control method provided in the above-mentioned method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0107] An embodiment of the present application provides a vehicle, which includes the above-mentioned vehicle control device or electronic device and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0108] An embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the vehicle control method provided in the above method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0109] An embodiment of the present application also provides a computer program product, wherein the computer program product includes a computer program or instructions. When the computer program product runs on a processor, the processor executes the computer program or instructions to implement the various processes of the vehicle control method provided in the above method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0110] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned vehicle control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0111] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0112] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, servers and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0113] 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.

[0114] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable 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: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0116] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A vehicle control method, characterized in that: Applied to vehicles, including: The image to be identified is collected by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image that is sent by a first mobile terminal to a second mobile terminal and displayed by the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; Identify the image to be identified and obtain target verification information; When the target verification information matches the target preset verification information stored in the vehicle, the vehicle lock state is controlled to switch from a current state to a target state; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state.

2. The method according to claim 1, characterized in that The method further comprises: In the case where the target condition is met, the first verification information is generated, and the target condition includes any one of the following: receiving an operation of updating the target preset verification information by a user; after the image to be recognized is recognized and the target verification information is obtained, it is detected that the number of times the target verification information has been recognized is equal to the number threshold; it is detected that the storage time length of the target preset verification information is greater than or equal to the time length threshold, and the first verification information is verification data for vehicle lock control authority; Updating the target preset verification information to the first verification information; generating a first verification image corresponding to the first verification information; When the vehicle establishes a communication connection with the first mobile terminal, the first verification image is sent to the first mobile terminal so that the first mobile terminal updates the identification image to the first verification image, and sends the first verification image to the second mobile terminal as an image to be recognized; or, the first verification image is displayed so that the first mobile terminal captures the first verification image in response to the user's shooting input, and after updating the identification image to the first verification image, the first verification image is sent to the second mobile terminal as an image to be recognized.

3. The method according to claim 1, characterized in that The method further comprises: In the case where the vehicle establishes a communication connection with the first mobile terminal, receiving second verification information sent by the first mobile terminal, where the second verification information is generated by the first mobile terminal based on receiving an operation by the user to update the target preset verification information and the identification image; or, the second verification information is generated when the first mobile terminal detects that the storage time of the identification image is greater than or equal to a time threshold; The target preset verification information is updated to the second verification information.

4. The method according to claim 1, characterized in that: After the image to be identified is collected by the image collector installed at a preset position of the vehicle, the method further includes: Detecting whether a switch in the vehicle for indicating that the vehicle lock state is allowed to be controlled by verification information is turned on; When the target verification information matches the target preset verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state includes: When the switch is turned on and the target verification information matches the target preset verification information stored in the vehicle, the vehicle lock state is controlled to switch from a current state to a target state.

5. The method according to any one of claims 1 to 4, characterized in that After controlling the lock state of the vehicle to switch from the current state to the target state, the method further includes: When the target state is unlocked, the vehicle is controlled to enable at least one functional permission corresponding to the target preset verification information. The vehicle pre-stores the correspondence between each target preset verification information and the functional permission. Different functional services can be operated by the vehicle under different functional permissions.

6. The method according to any one of claims 1 to 4, characterized in that The target preset verification information includes: first preset verification information and / or second preset verification information; wherein, locking the vehicle corresponds to the first preset verification information, and unlocking the vehicle corresponds to the second preset verification information; when the target verification information matches the target preset verification information stored in the vehicle, controlling the vehicle lock state to switch from the current state to the target state includes: If the current state is an unlocked state, when the target verification information matches the first preset verification information, controlling the vehicle lock state to switch from the unlocked state to the locked state; or, If the current state is the locked state, when the target verification information matches the second preset verification information, the vehicle lock state is controlled to switch from the locked state to the unlocked state.

7. A vehicle control device, characterized in that: include: A collection module, used for collecting an image to be identified by an image collector installed at a preset position of the vehicle; wherein the image to be identified is an image sent by a first mobile terminal to a second mobile terminal and displayed by the second mobile terminal, and the first mobile terminal and the second mobile terminal are terminals held by different users; A recognition module, used to recognize the image to be recognized and obtain target verification information; A control module is used to control the vehicle lock state of the vehicle to switch from a current state to a target state when the target verification information matches the target preset verification information stored in the vehicle; wherein the state includes an unlocked state and a locked state, and the current state is different from the target state.

8. An electronic device, characterized in that: include: A memory and a processor, the memory is used to store computer programs; The processor is used to execute the vehicle control method according to any one of claims 1 to 6 when calling the computer program.

9. A vehicle, characterized in that: include: The vehicle control device according to claim 7, or the electronic device according to claim 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.