Vehicle anti-theft method, device and equipment, vehicle and computer readable storage medium
By collecting facial images and sound data in the vehicle fortification state, determining unlocking permissions and switching vehicle status, the security risks of mobile Bluetooth key technology in vehicle anti-theft protection is solved, and higher vehicle safety and resource utilization efficiency are achieved.
Patent Information
- Application Number
- CN202510197855.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-04-11
AI Technical Summary
Mobile Bluetooth key technology poses safety risks in vehicle theft prevention, especially in case of lost mobile phones or unauthorized remote operation, which increases the risk of vehicle theft.
By acquiring facial images and sound data in the vehicle fortification state, the user's unlocking permission is determined, and the vehicle state is switched to the pre-reset state when the user can unlock it, reducing the risk of theft.
It effectively reduces the risk of vehicle stolen and internal items stolen, ensures the safety of vehicles and property, and reduces unnecessary power consumption and mechanical wear.
Smart Images

Figure CN119796121A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of vehicle control technology, and more particularly to a vehicle anti-theft method, device, equipment and computer-readable storage medium. Background Art
[0002] With the maturity of mobile phone Bluetooth key technology, more and more vehicles are equipped with mobile phone Bluetooth keys. Based on Bluetooth key technology, vehicles can bind signals with vehicle keys through mobile phones. After binding, the vehicle can be controlled by mobile phones, such as opening and closing doors, trunks, remote starting and closing vehicles, and air conditioning control.
[0003] However, when the mobile phone is accidentally lost, or the owner remotely opens the door and starts the vehicle through the mobile phone, the risk of the vehicle being stolen increases, making the vehicle less secure. Summary of the invention
[0004] The embodiments of the present application provide a vehicle anti-theft method, device, equipment, vehicle and computer-readable storage medium, which can be used to solve the problems in the related art. The technical solution is as follows:
[0005] In a first aspect, an embodiment of the present application provides a vehicle anti-theft method, the method comprising:
[0006] Acquire a first facial image, where the first facial image is an image collected when the vehicle is in a fortified state;
[0007] determining a first image feature vector for characterizing the first facial image;
[0008] determining, according to the first image feature vector, an unlocking authority of a first user corresponding to the first facial image, the unlocking authority being used to indicate whether the first user can unlock the vehicle;
[0009] In the case that the first user can unlock the vehicle, the vehicle is controlled to be in a pre-re-arming state, where the pre-re-arming state is an intermediate state between the armed state and the disarmed state.
[0010] In a possible implementation, the method further includes:
[0011] Acquiring first sound data, where the first sound data is sound data collected when the vehicle is in a fortified state;
[0012] Determining a first sound feature vector for characterizing the first sound data;
[0013] The determining, according to the first image feature vector, the unlocking authority of the first user corresponding to the first facial image includes:
[0014] Determine, according to the first image feature vector and the first sound feature vector, an unlocking authority of a first user corresponding to the first facial image.
[0015] In a possible implementation, determining the unlocking authority of the first user corresponding to the first facial image according to the first image feature vector and the first sound feature vector includes:
[0016] determining a second image feature vector for characterizing a second facial image, the second facial image being a facial image of a second user who can unlock the vehicle;
[0017] Determine a second sound feature vector for characterizing second sound data, where the second sound data is sound data of the second user;
[0018] Determine an unlocking authority of a first user corresponding to the first facial image according to the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector.
[0019] In a possible implementation, determining the unlocking authority of the first user corresponding to the first facial image according to the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector includes:
[0020] determining a first degree of matching between the first image feature vector and the second image feature vector;
[0021] determining a second degree of matching between the first sound feature vector and the second sound feature vector;
[0022] When the first matching degree is greater than a first matching degree threshold and the second matching degree is greater than a second matching degree threshold, determining that the first user corresponding to the first facial image can unlock the vehicle;
[0023] When the first matching degree is not greater than the first matching degree threshold and / or the second matching degree is not greater than the second matching degree threshold, it is determined that the first user corresponding to the first facial image cannot unlock the vehicle.
[0024] In a possible implementation, after controlling the vehicle to be in a pre-reset armed state when the first user can unlock the vehicle, the method further includes:
[0025] In response to detecting that a cover of the vehicle is in an open state within a first time period, controlling the vehicle to be in the disarmed state, the cover of the vehicle comprising at least one of a door, a front hood, and a trunk of the vehicle;
[0026] In response to not detecting that the cover of the vehicle is in the open state within the first time period, controlling the vehicle to be in the armed state.
[0027] In a possible implementation, after controlling the vehicle to be in a pre-reset armed state when the first user can unlock the vehicle, the method further includes:
[0028] Controlling the turn signal lamp of the vehicle to flash according to a reference interval duration;
[0029] When the number of flashing of the turn signal lamp of the vehicle is not less than a number threshold, the turn signal lamp of the vehicle is controlled to stop flashing.
[0030] In a second aspect, an embodiment of the present application provides a vehicle anti-theft device, the device comprising:
[0031] An acquisition module, configured to acquire a first facial image, wherein the first facial image is an image collected when the vehicle is in a fortified state;
[0032] a determination module, configured to determine a first image feature vector for characterizing the first facial image;
[0033] The determination module is further configured to determine, based on the first image feature vector, an unlocking authority of a first user corresponding to the first facial image, wherein the unlocking authority is used to indicate whether the first user can unlock the vehicle;
[0034] The control module is used to control the vehicle to be in a pre-re-arming state when the first user can unlock the vehicle, and the pre-re-arming state is an intermediate state between the armed state and the disarmed state.
[0035] In a possible implementation, the acquisition module is further used to acquire first sound data, where the first sound data is sound data collected when the vehicle is in a fortified state;
[0036] The determining module is further used to determine a first sound feature vector for characterizing the first sound data;
[0037] The determination module is used to determine the unlocking authority of the first user corresponding to the first facial image according to the first image feature vector and the first sound feature vector.
[0038] In a possible implementation, the determination module is used to determine a second image feature vector for characterizing a second facial image, where the second facial image is a facial image of a second user who can unlock the vehicle;
[0039] Determine a second sound feature vector for characterizing second sound data, where the second sound data is sound data of the second user;
[0040] Determine an unlocking authority of a first user corresponding to the first facial image according to the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector.
[0041] In a possible implementation manner, the determining module is used to determine a first matching degree between the first image feature vector and the second image feature vector;
[0042] determining a second degree of matching between the first sound feature vector and the second sound feature vector;
[0043] When the first matching degree is greater than a first matching degree threshold and the second matching degree is greater than a second matching degree threshold, determining that the first user corresponding to the first facial image can unlock the vehicle;
[0044] When the first matching degree is not greater than the first matching degree threshold and / or the second matching degree is not greater than the second matching degree threshold, it is determined that the first user corresponding to the first facial image cannot unlock the vehicle.
[0045] In a possible implementation, the control module is further configured to control the vehicle to be in the disarmed state in response to detecting that a cover of the vehicle is in an open state within a first time period, wherein the cover of the vehicle includes at least one of a door, a front hood, and a trunk of the vehicle;
[0046] In response to not detecting that the cover of the vehicle is in the open state within the first time period, controlling the vehicle to be in the armed state.
[0047] In a possible implementation, the control module is further used to control the turn signal of the vehicle to flash according to a reference interval duration;
[0048] When the number of flashing of the turn signal lamp of the vehicle is not less than a number threshold, the turn signal lamp of the vehicle is controlled to stop flashing.
[0049] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the electronic device implements any of the above-mentioned vehicle anti-theft methods.
[0050] According to a fourth aspect, a vehicle is provided, wherein the electronic device according to the third aspect is provided in the vehicle.
[0051] In a fifth aspect, a computer-readable storage medium is also provided, wherein at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor so that a computer implements any of the above-mentioned vehicle anti-theft methods.
[0052] In a sixth aspect, a computer program or a computer program product is also provided, wherein the computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor so that the computer implements any of the above-mentioned vehicle anti-theft methods.
[0053] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0054] The technical solution provided by the embodiment of the present application obtains a first facial image collected when the vehicle is in an armed state, and determines whether the first user corresponding to the first facial image can unlock the vehicle based on the first facial image. If the first user can unlock the vehicle, the vehicle is controlled to be in a pre-rearmed state. When the vehicle is in the pre-rearmed state, the first user can operate the vehicle. The method switches the vehicle to the pre-rearmed state only when the first user can unlock the vehicle, thereby reducing the risk of the vehicle being stolen or the items inside the vehicle being stolen, and ensuring the safety of the vehicle and property.
[0055] Moreover, since it takes a certain amount of power to switch the vehicle from the armed state to the pre-rearmed state, the vehicle is switched to the pre-rearmed state only when the first user can unlock the vehicle, which can effectively reduce unnecessary power consumption, extend the vehicle battery life, and reduce vehicle energy consumption.
[0056] In addition, the vehicle components will produce certain mechanical wear during the vehicle state switching process. This method can also avoid unnecessary state switching operations, reduce the wear frequency of vehicle components, extend the service life of components, and ensure the stable operation of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0058] Figure 1 It is a schematic diagram of an implementation environment of a vehicle anti-theft method provided in an embodiment of the present application;
[0059] Figure 2 is a flow chart of a vehicle anti-theft method provided in an embodiment of the present application;
[0060] Figure 3 is a schematic diagram of a convolution operation provided in an embodiment of the present application;
[0061] Figure 4 is a schematic diagram of a pooling operation provided in an embodiment of the present application;
[0062] Figure 5 It is a schematic diagram of a vehicle switching from an armed state to a pre-rearmed state provided by an embodiment of the present application;
[0063] Figure 6 It is a schematic diagram of a vehicle switching from an unarmed state to an armed state provided by an embodiment of the present application;
[0064] Figure 7 is a flow chart of a vehicle anti-theft method provided in an embodiment of the present application;
[0065] Figure 8 is a flow chart of a vehicle anti-theft method provided in an embodiment of the present application;
[0066] Fig. 9 It is a structural schematic diagram of a vehicle anti-theft device provided in an embodiment of the present application;
[0067] Fig.10 It is a structural diagram of a terminal device provided in an embodiment of the present application;
[0068] Fig.11 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0070] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0071] Figure 1 Schematic diagram of an implementation environment of a vehicle anti-theft method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: an electronic device 101. The electronic device 101 is used to execute the vehicle anti-theft method provided in the embodiment of the present application.
[0072] Among them, the electronic device 101 can be a terminal device or a server, which is not limited in the embodiments of the present application. Optionally, the terminal device is any electronic product that can perform human-computer interaction with a user through one or more methods such as a keyboard, a touchpad, a touch screen, a remote control, voice interaction, or a handwriting device. For example, the terminal device can be a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, etc. The server can be a server, a server cluster composed of multiple servers, or a cloud computing service center, which is not limited in the embodiments of the present application.
[0073] Those skilled in the art should understand that the above-mentioned electronic device 101 is only an example, and other existing or future electronic devices, if applicable to the present application, should also be included in the protection scope of the present application and are included here by reference.
[0074] The present application provides a vehicle anti-theft method, which can be applied to the above Figure 1 The implementation environment shown is Figure 2 As an example, the flowchart of a vehicle anti-theft method provided in the embodiment of the present application is shown in FIG. Figure 1 The electronic device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 204.
[0075] In step 201, a first facial image is acquired, where the first facial image is an image collected when the vehicle is in a fortified state.
[0076] The vehicle is in Arming Mode, which means that the owner activates the vehicle's anti-theft system through manual operation or automatic vehicle settings, putting the vehicle into an alert state to prevent illegal intrusion and theft. When the vehicle is in Arming Mode, if the door is opened, the vehicle's alarm mechanism will be triggered.
[0077] In a possible implementation, an image acquisition device is installed at the door of the vehicle, and the image acquisition device is used to acquire images of the outside of the vehicle. The image acquisition device and the electronic device are connected to each other through a wired network or a wireless network. Optionally, the image acquisition device can be installed at the wrench of the door, or at the glass included in the door, or at other locations of the door. The embodiment of the present application does not limit the installation location of the image acquisition device.
[0078] When the vehicle is in the fortified state, the image acquisition device is in the working state. When the image acquisition device detects that the first user is in the reference area and the length of time the first user stays in the reference area is not less than the reference length of time, the image acquisition device acquires a first facial image of the first user and sends the first facial image to the electronic device, so that the electronic device acquires the first facial image.
[0079] Among them, the reference duration is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. For example, the reference duration is 10 seconds. The reference area is determined based on the position of the vehicle, and the embodiments of the present application do not limit the method of determining the reference area based on the position of the vehicle. Optionally, the reference area is determined based on the position of the vehicle and the first length. The first length is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. Exemplarily, the first length is 5 meters.
[0080] Optionally, the process of determining the reference area according to the position of the vehicle and the first length includes: determining a circle with the position of the vehicle as the center and the first length as the radius, and using the area covered by the circle as the reference area. Alternatively, determining a square with the position of the vehicle as the center and the first length as the side length, and using the area covered by the square as the reference area.
[0081] In step 202, a first image feature vector for characterizing a first facial image is determined.
[0082] In one possible implementation, after acquiring the first facial image, the process of determining a first image feature vector for characterizing the first facial image includes: performing a preprocessing operation on the first facial image to obtain a first reference image, the size of the first reference image being a reference size, the brightness of the first reference image being a reference brightness, the preprocessing operation including at least one of a size adjustment operation or a brightness adjustment operation; performing a convolution operation on the first reference image to obtain a first reference feature vector; and determining a first image feature vector for characterizing the first facial image based on the first reference feature vector.
[0083] The reference size and reference brightness are both set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. For example, the reference size is 10*10 and the reference brightness is 50. The reason for preprocessing the first facial image is to make the size of the first facial image the reference size and the brightness the reference brightness, thereby improving the accuracy of the determined first image feature vector.
[0084] Optionally, a convolution operation is performed on the first reference image through a convolutional neural network to obtain a first reference feature vector. The convolution layer is a neural network layer commonly used in convolutional neural networks, and its main function is to extract features from the input data, thereby achieving effective representation and classification of the input data. Optionally, the convolution layer filters the input data through a convolution operation, and uses the output result as the input of the next layer. The convolution operation can extract local features in the input data, such as the edges and textures of facial images, and by superimposing multiple convolutional layers, more high-level and abstract features can be extracted, such as the shape and contour of a specific object. The convolution layer can also control the size of the output feature through a padding operation. The padding operation is to add a circle of zero-value elements around the input data, so that the convolution operation can also be calculated at the edge of the input data.
[0085] Optionally, performing a convolution operation on the first reference image to obtain a first reference feature vector includes: dividing the first reference image into a plurality of regions, determining a value corresponding to each region; and determining the first reference feature vector according to the value corresponding to each region and a convolution kernel. The embodiment of the present application does not limit the size of the convolution kernel. Exemplarily, the size of the convolution kernel is 3*3.
[0086] Optionally, according to the value corresponding to each region and the convolution kernel, the process of determining the first reference feature vector includes: smoothly moving the convolution kernel with a reference step size, multiplying the convolution kernel and the numerical value of the region corresponding to the convolution kernel in the first reference image and then adding them together to obtain the first reference feature vector. The reference step size is set based on experience or adjusted according to the implementation environment, and this embodiment of the present application does not limit this. Exemplarily, the reference step size is 1.
[0087] like Figure 3 is a schematic diagram of a convolution operation provided by an embodiment of the present application. The first reference image (1) is divided into 25 regions, and the value corresponding to each region is shown in Figure 3 As shown in (1), according to the value corresponding to each region and the convolution kernel (2), the first reference feature vector (3) is obtained.
[0088] In a possible implementation manner, after the first reference feature vector is determined, the first image feature vector for characterizing the first facial image is determined according to the first reference feature vector in the following two implementation manners.
[0089] In a first implementation manner, a first reference feature vector is determined as a first image feature vector for characterizing a first facial image.
[0090] In a first implementation manner, the first reference feature vector is directly used as the first image feature vector for characterizing the first facial image.
[0091] In a second implementation, a pooling operation is performed on the first reference feature vector to obtain a first image feature vector for characterizing the first facial image.
[0092] In a possible implementation, in order to improve the accuracy of the determined first image feature vector, a pooling operation can also be used in the process of extracting the image feature vector. Optionally, a pooling operation is performed on the first reference feature vector through a pooling layer to obtain a first image feature vector for characterizing the first facial image. The pooling layer usually obtains a smaller output value by performing an aggregation operation on a local area of the input data, thereby reducing the dimension and size of the feature map. Downsampling the input data eliminates noise and redundant information in the input data. There are two types of pooling operations, namely maximum pooling operations and average pooling operations. Among them, the maximum pooling operation takes the maximum value in the local area of the input data as the output value, while the average pooling operation takes the average value in the local area as the output value.
[0093] like Figure 4 It is a schematic diagram of a pooling operation provided in an embodiment of the present application. Figure 4 (1) in is the first reference eigenvector, Figure 4 (2) in is the feature vector obtained by performing the maximum pooling operation on the first reference feature vector. Figure 4 (3) in the figure is the feature vector obtained by performing an average pooling operation on the first reference feature vector.
[0094] In step 203, the unlocking authority of the first user corresponding to the first facial image is determined according to the first image feature vector, where the unlocking authority is used to indicate whether the first user can unlock the vehicle.
[0095] In one possible implementation, the process of determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector includes: determining a second image feature vector used to characterize the second facial image, the second facial image being a facial image of the second user who can unlock the vehicle; determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector and the second image feature vector.
[0096] Among them, a second facial image is stored in the electronic device. The process of determining the second image feature vector used to characterize the second facial image is similar to the process of determining the first image feature vector used to characterize the first facial image. The process of determining the first image feature vector used to characterize the first facial image may be referred to, and the embodiments of the present application will not be repeated here. After determining the second image feature vector used to characterize the second facial image, the second image feature vector may also be stored. In this way, after a new facial image is subsequently acquired, when it is necessary to determine the unlocking authority of the user corresponding to the new facial image, there is no need to re-acquire the feature vector of the second facial image, which can improve the efficiency of determining the unlocking authority of the user corresponding to the new facial image.
[0097] Optionally, the process of determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector and the second image feature vector includes: determining a first degree of matching between the first image feature vector and the second image feature vector; when the first degree of matching is greater than a first degree of matching threshold, determining that the first user corresponding to the first facial image can unlock the vehicle; when the first degree of matching is not greater than the first degree of matching threshold, determining that the first user corresponding to the first facial image cannot unlock the vehicle.
[0098] The first matching degree threshold is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiment of the present application.
[0099] Optionally, the process of determining the first matching degree between the first image feature vector and the second image feature vector includes: determining a dot product between the first image feature vector and the second image feature vector as the first matching degree between the first image feature vector and the second image feature vector.
[0100] Exemplarily, the first image feature vector is (30, 40) and the second image feature vector is (5, -1), then the first matching degree between the first image feature vector and the second image feature vector is 30*5+40*(-1)=110.
[0101] In a possible implementation, first sound data may also be obtained, the first sound data being sound data collected when the vehicle is in a fortified state; a first sound feature vector for characterizing the first sound data is determined. Based on the first image feature vector and the first sound feature vector, the unlocking authority of the first user corresponding to the first facial image is determined.
[0102] The process of acquiring the first sound data includes: an audio acquisition device is installed on the vehicle, and the audio acquisition device is connected to the electronic device through a wired network or a wireless network. When the image acquisition device acquires the first facial image and sends the first facial image to the electronic device, the electronic device sends a start signal to the audio acquisition device to enable the audio acquisition device to acquire the first sound data. After the audio acquisition device acquires the first sound data, it sends the first sound data to the electronic device to enable the electronic device to acquire the first sound data.
[0103] Optionally, the process of determining the first sound feature vector for characterizing the first sound data includes: processing the first sound data through a feature vector acquisition model to obtain the first sound feature vector for characterizing the first sound data. The feature vector acquisition model may be any model capable of acquiring a feature vector, and this embodiment of the present application does not limit this.
[0104] In one possible implementation, the process of determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector and the first sound feature vector includes: determining a second image feature vector used to characterize the second facial image, the second facial image being a facial image of the second user who can unlock the vehicle; determining a second sound feature vector used to characterize second sound data, the second sound data being sound data of the second user; determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector.
[0105] Among them, the electronic device stores second sound data. The process of determining the second image feature vector for characterizing the second facial image is similar to the process of determining the first image feature vector for characterizing the first facial image. The process of determining the second sound feature vector for characterizing the second sound data is similar to the process of determining the first sound feature vector for characterizing the first sound data. The embodiments of the present application will not be repeated here. After determining the second sound feature vector for characterizing the second sound data, the second sound feature vector can also be stored. In this way, after a new facial image and new sound data are subsequently acquired, when it is necessary to determine the unlocking authority of the user corresponding to the new facial image, there is no need to re-acquire the feature vector of the second sound data, which can improve the efficiency of determining the unlocking authority of the user corresponding to the new facial image.
[0106] Optionally, the process of determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector, the first sound feature vector, the second image feature vector and the second sound feature vector includes: determining a first matching degree between the first image feature vector and the second image feature vector; determining a second matching degree between the first sound feature vector and the second sound feature vector; when the first matching degree is greater than a first matching degree threshold and the second matching degree is greater than a second matching degree threshold, determining that the first user corresponding to the first facial image can unlock the vehicle; when the first matching degree is not greater than the first matching degree threshold and / or the second matching degree is not greater than the second matching degree threshold, determining that the first user corresponding to the first facial image cannot unlock the vehicle.
[0107] The second matching degree threshold is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiment of the present application.
[0108] Optionally, the process of determining the first matching degree between the first image feature vector and the second image feature vector has been described above and will not be repeated here. The process of determining the second matching degree between the first sound feature vector and the second sound feature vector is similar to the process of determining the first matching degree between the first image feature vector and the second image feature vector and will not be repeated here.
[0109] In step 204 , when the first user can unlock the vehicle, the vehicle is controlled to be in a pre-re-arming state, where the pre-re-arming state is an intermediate state between the armed state and the disarmed state.
[0110] In a possible implementation, after the unlocking authority of the first user is determined in the above step 203, if the first user can unlock the vehicle, the vehicle is controlled to be in a pre-rearming state (Pre_rearming Mode), and the pre-rearming state is an intermediate state from the armed state to the disarmed state. If the door is opened when the vehicle is in the disarmed state (Disarm Mode), the alarm will not be triggered.
[0111] In one possible implementation, when the first user can unlock the vehicle, the process of controlling the vehicle to be in a pre-reset defense state includes: when the first user can unlock the vehicle, sending a pre-reset defense signal to the left domain controller through RTE (Run-Time Environment), and the left domain controller sending the pre-reset defense signal to the vehicle anti-theft system, so that the vehicle anti-theft system controls the vehicle to be in the pre-reset defense state after receiving the pre-reset defense signal.
[0112] In the event that the first user cannot unlock the vehicle, the vehicle remains in an armed state.
[0113] Optionally, when the vehicle is in a pre-rearmed state, in response to detecting that the vehicle's cover is in an open state within a first time length, the vehicle is controlled to be in an unarmed state; in response to not detecting that the vehicle's cover is in an open state within the first time length, the vehicle is controlled to be in an armed state. Wherein, the vehicle's cover includes at least one of the vehicle's door, front hood, and trunk. The first time length is set based on experience or adjusted according to the implementation environment, and the embodiment of the present application is not limited to this. Exemplarily, the first time length is 30 seconds. Wherein, the process of controlling the vehicle to be in an unarmed state includes: sending an unarming signal to the left domain controller through RTE, and the left domain controller sends the unarming signal to the vehicle anti-theft system, so that the vehicle anti-theft system controls the vehicle to be in an unarmed state after receiving the unarming signal. The process of controlling the vehicle to be in an armed state includes: sending an arming signal to the left domain controller through RTE, and the left domain controller sends an arming signal to the vehicle anti-theft system, so that the vehicle anti-theft system controls the vehicle to be in an armed state after receiving the arming signal.
[0114] In this implementation, when the vehicle is in a pre-rearmed state, if the first user opens the vehicle cover within a first time period, the vehicle is controlled to be in an disarmed state; if the first user does not open the vehicle cover within the first time period, the vehicle is controlled to be in an armed state. This can further reduce the risk of vehicle theft and improve vehicle safety.
[0115] In a possible implementation, after controlling the vehicle to be in a pre-reset state, the vehicle's turn signal may also be controlled to flash according to a reference interval duration; when the number of flashes of the vehicle's turn signal is not less than a threshold number of times, the vehicle's turn signal may be controlled to stop flashing. The vehicle's turn signal may be a left turn signal of the vehicle, or a right turn signal of the vehicle, or both a left turn signal and a right turn signal of the vehicle, which is not limited in the embodiments of the present application. The reference interval duration is set based on experience, or adjusted according to the implementation environment, which is not limited in the embodiments of the present application. Exemplarily, the reference interval duration is 2 seconds. The number of times threshold is set based on experience, or adjusted according to the implementation environment, which is not limited in the embodiments of the present application. Exemplarily, the number of times threshold is set based on experience, or adjusted according to the implementation environment, which is not limited in the embodiments of the present application. Exemplarily, the number of times threshold is 10 times.
[0116] In this implementation, when the vehicle is in the pre-reset state, controlling the turn signal to flash according to the reference interval duration can let the first user know that the current state of the vehicle is the pre-reset state, so that the first user can understand the current state of the vehicle.
[0117] In a possible implementation, when the vehicle is in the armed state, in response to receiving an unlocking command of the vehicle, the vehicle is controlled to be in the pre-rearmed state. Figure 5 It is a schematic diagram of a vehicle switching from an armed state to a pre-rearmed state provided in an embodiment of the present application.
[0118] Among them, the electronic device includes an NFC (Near Field Communication) card bound to the vehicle. When the owner brings the NFC card close to the sensing area of the vehicle, the electronic device receives the unlocking instruction of the vehicle. When the door key of the vehicle is inserted into the lock of the vehicle door and turned, the electronic device receives the unlocking instruction of the vehicle. When the owner carries the smart key of the vehicle close to the vehicle and pulls the door handle, the vehicle senses the signal of the smart key of the vehicle, and the electronic device receives the unlocking instruction of the vehicle. Through the Bluetooth on the electronic device and the Bluetooth module (BNCM, Bluetooth NFCCommunication Module) of the vehicle, the owner unlocks the vehicle through the operation of the electronic device to unlock the vehicle. The TBOX (Telematics BOX, vehicle-mounted communication terminal) module equipped with the vehicle is connected to the background server through the mobile communication network. The owner sends the unlocking instruction on the electronic device, and the unlocking instruction is forwarded to the TBOX by the server, and the TBOX controls the vehicle to unlock.
[0119] In one possible implementation, when the vehicle is in an disarmed state, in response to receiving a locking command, the on / off state of the vehicle power, the on / off state of the vehicle doors, the on / off state of the vehicle hood, the on / off state of the vehicle trunk, and whether there is someone in the main driver's seat of the vehicle are determined; when the vehicle power is off, the vehicle doors are closed, the vehicle hood is closed, the vehicle trunk is closed, and there is no one in the main driver's seat of the vehicle, the vehicle is controlled to be in an armed state. When the vehicle power is on, and / or the vehicle doors are open, and / or the vehicle hood is open, and / or the vehicle trunk is open, and / or there is someone in the main driver's seat of the vehicle, the vehicle is still in an disarmed state. Figure 6 It is a schematic diagram of a vehicle switching from an unarmed state to an armed state provided in an embodiment of the present application.
[0120] Optionally, after controlling the vehicle to be in the fortified state, the horn of the vehicle may also be controlled to sound. By controlling the horn of the vehicle to sound, the first user may know that the current state of the vehicle is the fortified state, so that the first user may have some understanding of the current state of the vehicle.
[0121] The above method obtains a first facial image collected when the vehicle is in an armed state, and determines whether the first user corresponding to the first facial image can unlock the vehicle based on the first facial image. If the first user can unlock the vehicle, the vehicle is controlled to be in a pre-rearmed state. When the vehicle is in the pre-rearmed state, the first user can operate the vehicle. The method switches the vehicle to the pre-rearmed state only when the first user can unlock the vehicle, thereby reducing the risk of the vehicle being stolen or the items inside the vehicle being stolen, and ensuring the safety of the vehicle and property.
[0122] Moreover, since it takes a certain amount of power to switch the vehicle from the armed state to the pre-rearmed state, the vehicle is switched to the pre-rearmed state only when the first user can unlock the vehicle, which can effectively reduce unnecessary power consumption, extend the vehicle battery life, and reduce vehicle energy consumption.
[0123] In addition, the vehicle components will produce certain mechanical wear during the vehicle state switching process. This method can also avoid unnecessary state switching operations, reduce the wear frequency of vehicle components, extend the service life of components, and ensure the stable operation of the vehicle.
[0124] Figure 7 is a flow chart of a vehicle anti-theft method provided in an embodiment of the present application, such as Figure 7 As shown, the method includes the following steps.
[0125] 701. Acquire a first facial image, where the first facial image is an image collected when a vehicle is in a fortified state.
[0126] In a possible implementation, the process of acquiring the first facial image has been described in the above step 201 and will not be repeated here.
[0127] 702. Perform a preprocessing operation on the first facial image to obtain a first reference image, where the size of the first reference image is a reference size, and the brightness of the first reference image is a reference brightness.
[0128] In a possible implementation, the process of performing a preprocessing operation on the first facial image to obtain the first reference image has been described in the above step 202 and will not be repeated here.
[0129] 703. Perform a convolution operation on the first reference image to obtain a first reference feature vector.
[0130] In a possible implementation, the process of performing a convolution operation on the first reference image to obtain the first reference feature vector has been described in the above step 202 and will not be repeated here.
[0131] 704. Perform a pooling operation on the first reference feature vector to obtain a first image feature vector for characterizing the first facial image.
[0132] In a possible implementation, the process of performing a pooling operation on the first reference feature vector to obtain the first image feature vector for characterizing the first facial image has been described in the above step 202 and will not be repeated here.
[0133] 705. Determine a second image feature vector for characterizing a second facial image, where the second facial image is a facial image of a second user who can unlock the vehicle.
[0134] In a possible implementation manner, the process of determining the second image feature vector for characterizing the second facial image has been described in the above step 203 and will not be described in detail here.
[0135] 706. Determine an unlocking authority of the first user corresponding to the first facial image according to the first image feature vector and the second image feature vector.
[0136] In a possible implementation, the process of determining the unlocking authority of the first user corresponding to the first facial image according to the first image feature vector and the second image feature vector has been described in the above step 203 and will not be repeated here.
[0137] 707 . When the first user can unlock the vehicle, control the vehicle to be in a pre-reset state.
[0138] In a possible implementation, when the first user can unlock the vehicle, the process of controlling the vehicle to be in the pre-rearming state has been described in the above step 204 and will not be repeated here.
[0139] 708. Control the turn signal of the vehicle to flash according to the reference interval duration, and when the number of flashes of the turn signal of the vehicle is not less than the number threshold, control the turn signal of the vehicle to stop flashing.
[0140] In one possible implementation, the vehicle's turn signal is controlled to flash according to a reference interval duration. When the number of flashes of the vehicle's turn signal is not less than a threshold number, the process of controlling the vehicle's turn signal to stop flashing has been described in the above step 204 and will not be repeated here.
[0141] 709. In response to detecting that a cover of the vehicle is in an open state within a first time period, control the vehicle to be in a disarmed state.
[0142] In a possible implementation, in response to detecting that the cover of the vehicle is in the open state within the first time period, the process of controlling the vehicle to be in the disarmed state has been described in the above step 204 and will not be repeated here.
[0143] 710. In response to not detecting that a cover of the vehicle is in an open state within a first time period, control the vehicle to be in an armed state.
[0144] In a possible implementation, in response to not detecting that the cover of the vehicle is in the open state within the first time period, the process of controlling the vehicle to be in the armed state has been described in the above step 204 and will not be repeated here.
[0145] Figure 8 is a flow chart of a vehicle anti-theft method provided in an embodiment of the present application, such as Figure 8 As shown, the method includes the following steps.
[0146] 801. Acquire a first facial image, where the first facial image is an image collected when a vehicle is in a fortified state.
[0147] In a possible implementation, the process of acquiring the first facial image has been described in the above step 201 and will not be repeated here.
[0148] 802. Perform a preprocessing operation on the first facial image to obtain a first reference image, where the size of the first reference image is a reference size, and the brightness of the first reference image is a reference brightness.
[0149] In a possible implementation, the process of performing a preprocessing operation on the first facial image to obtain the first reference image has been described in the above step 202 and will not be repeated here.
[0150] 803. Perform a convolution operation on the first reference image to obtain a first reference feature vector.
[0151] In a possible implementation, the process of performing a convolution operation on the first reference image to obtain the first reference feature vector has been described in the above step 202 and will not be repeated here.
[0152] 804. Perform a pooling operation on the first reference feature vector to obtain a first image feature vector for characterizing the first facial image.
[0153] In a possible implementation, the process of performing a pooling operation on the first reference feature vector to obtain the first image feature vector for characterizing the first facial image has been described in the above step 202 and will not be repeated here.
[0154] 805. Acquire first sound data, where the first sound data is sound data collected when the vehicle is in a fortified state.
[0155] In a possible implementation, the process of acquiring the first sound data has been described in the above step 203 and will not be repeated here.
[0156] 806. Determine a first sound feature vector for characterizing the first sound data.
[0157] In a possible implementation manner, the process of determining the first sound feature vector for characterizing the first sound data has been described in the above step 203 and will not be described again herein.
[0158] 807. Determine a second image feature vector for characterizing a second facial image, where the second facial image is a facial image of a second user who can unlock the vehicle.
[0159] In a possible implementation manner, the process of determining the second image feature vector for characterizing the second facial image has been described in the above step 203 and will not be described in detail here.
[0160] 808. Determine a second sound feature vector for characterizing second sound data, where the second sound data is sound data of a second user.
[0161] In a possible implementation manner, the process of determining the second sound feature vector for characterizing the second sound data has been described in the above step 203 and will not be described in detail here.
[0162] 809. Determine an unlocking authority of the first user corresponding to the first facial image according to the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector.
[0163] In one possible implementation, the process of determining the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector has been described in the above step 203 and will not be repeated here.
[0164] 810. When the first user can unlock the vehicle, control the vehicle to be in a pre-reset state.
[0165] In a possible implementation, when the first user can unlock the vehicle, the process of controlling the vehicle to be in the pre-rearming state has been described in the above step 204 and will not be repeated here.
[0166] 811. Control the turn signal of the vehicle to flash according to a reference interval duration, and when the number of flashes of the turn signal of the vehicle is not less than a number threshold, control the turn signal of the vehicle to stop flashing.
[0167] In one possible implementation, the vehicle's turn signal is controlled to flash according to a reference interval duration. When the number of flashes of the vehicle's turn signal is not less than a threshold number, the process of controlling the vehicle's turn signal to stop flashing has been described in the above step 204 and will not be repeated here.
[0168] 812. In response to detecting that a cover of the vehicle is in an open state within a first time period, control the vehicle to be in a disarmed state.
[0169] In a possible implementation, in response to detecting that the cover of the vehicle is in the open state within the first time period, the process of controlling the vehicle to be in the disarmed state has been described in the above step 204 and will not be repeated here.
[0170] 813. In response to not detecting that the cover of the vehicle is in the open state within a first time period, control the vehicle to be in the armed state.
[0171] In a possible implementation, in response to not detecting that the cover of the vehicle is in the open state within the first time period, the process of controlling the vehicle to be in the armed state has been described in the above step 204 and will not be repeated here.
[0172] Fig. 9 FIG. 1 is a schematic diagram of the structure of a vehicle anti-theft device provided in an embodiment of the present application. Fig. 9 As shown, the device comprises:
[0173] An acquisition module 901 is used to acquire a first facial image, where the first facial image is an image collected when the vehicle is in a fortified state;
[0174] A determination module 902, configured to determine a first image feature vector for characterizing a first facial image;
[0175] The determination module 902 is further used to determine the unlocking authority of the first user corresponding to the first facial image according to the first image feature vector, where the unlocking authority is used to indicate whether the first user can unlock the vehicle;
[0176] The control module 903 is used to control the vehicle to be in a pre-re-arming state when the first user can unlock the vehicle. The pre-re-arming state is an intermediate state between the armed state and the disarmed state.
[0177] In a possible implementation, the acquisition module 901 is further used to acquire first sound data, where the first sound data is sound data collected when the vehicle is in a fortified state;
[0178] The determination module 902 is further configured to determine a first sound feature vector for characterizing the first sound data;
[0179] The determination module 902 is configured to determine the unlocking authority of the first user corresponding to the first facial image according to the first image feature vector and the first sound feature vector.
[0180] In one possible implementation, determination module 902 is used to determine a second image feature vector for characterizing a second facial image, where the second facial image is a facial image of a second user who can unlock the vehicle; determine a second sound feature vector for characterizing second sound data, where the second sound data is sound data of the second user; and determine the unlocking authority of the first user corresponding to the first facial image based on the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector.
[0181] In one possible implementation, determination module 902 is used to determine a first matching degree between a first image feature vector and a second image feature vector; determine a second matching degree between a first sound feature vector and a second sound feature vector; determine that the first user corresponding to the first facial image can unlock the vehicle when the first matching degree is greater than a first matching degree threshold and the second matching degree is greater than a second matching degree threshold; and determine that the first user corresponding to the first facial image cannot unlock the vehicle when the first matching degree is not greater than the first matching degree threshold and / or the second matching degree is not greater than the second matching degree threshold.
[0182] In one possible implementation, the control module 903 is also used to control the vehicle to be in a disarmed state in response to detecting that a cover of the vehicle is in an open state within a first time period, the vehicle cover including at least one of the vehicle doors, front hood, and trunk; and to control the vehicle to be in an armed state in response to not detecting that the cover of the vehicle is in an open state within the first time period.
[0183] In a possible implementation, the control module 903 is further used to control the vehicle's turn signal to flash according to a reference interval duration; when the number of flashes of the vehicle's turn signal is not less than a threshold number, control the vehicle's turn signal to stop flashing.
[0184] The above device obtains a first facial image collected when the vehicle is in an armed state, and determines whether the first user corresponding to the first facial image can unlock the vehicle based on the first facial image. If the first user can unlock the vehicle, the vehicle is controlled to be in a pre-rearmed state. When the vehicle is in the pre-rearmed state, the first user can operate the vehicle. The vehicle is switched to the pre-rearmed state only when the first user can unlock the vehicle, thereby reducing the risk of the vehicle being stolen or the items inside the vehicle being stolen, and ensuring the safety of the vehicle and property.
[0185] Moreover, since it takes a certain amount of power to switch the vehicle from the armed state to the pre-rearmed state, the vehicle is switched to the pre-rearmed state only when the first user can unlock the vehicle, which can effectively reduce unnecessary power consumption, extend the vehicle battery life, and reduce vehicle energy consumption.
[0186] In addition, the vehicle's components will produce certain mechanical wear during the vehicle's state switching process, and unnecessary state switching operations can be avoided, reducing the wear frequency of the vehicle's components, extending the service life of the components, and ensuring the stable operation of the vehicle.
[0187] It should be understood that the above-mentioned device only uses the division of the above-mentioned functional modules as an example to illustrate when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0188] Fig.10 The structural block diagram of a terminal device 1000 provided by an exemplary embodiment of the present application is shown. The terminal device 1000 may be any electronic device product that can interact with a user through one or more methods such as a keyboard, a touchpad, a remote controller, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart watch, etc.
[0189] Typically, the terminal device 1000 includes: a processor 1001 and a memory 1002 .
[0190] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0191] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, which is used to be executed by the processor 1001 to implement the vehicle anti-theft method provided in the method embodiment of the present application.
[0192] In some embodiments, the terminal device 1000 may further optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007 and a power supply 1008.
[0193] The peripheral device interface 1003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0194] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1004 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0195] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input to the processor 1001 as a control signal for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, arranged on the front panel of the terminal device 1000; in other embodiments, the display screen 1005 can be at least two, respectively arranged on different surfaces of the terminal device 1000 or in a folding design; in other embodiments, the display screen 1005 can be a flexible display screen, arranged on a curved surface or a folding surface of the terminal device 1000. Even, the display screen 1005 can also be arranged as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0196] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1000, and the rear camera is arranged on the back of the terminal device 1000. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0197] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1001 for processing, or input them into the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal device 1000. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0198] The power supply 1008 is used to power various components in the terminal device 1000. The power supply 1008 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0199] In some embodiments, the terminal device 1000 further includes one or more sensors 1009 . The one or more sensors 1009 include, but are not limited to: an acceleration sensor 1010 , a gyroscope sensor 1011 , a pressure sensor 1012 , an optical sensor 1013 , and a proximity sensor 1014 .
[0200] The acceleration sensor 1010 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal device 1000. For example, the acceleration sensor 1010 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1001 can control the display screen 1005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1010. The acceleration sensor 1010 can also be used for collecting game or user motion data.
[0201] The gyro sensor 1011 can detect the body direction and rotation angle of the terminal device 1000, and the gyro sensor 1011 can cooperate with the acceleration sensor 1010 to collect the user's 3D actions on the terminal device 1000. The processor 1001 can implement the following functions based on the data collected by the gyro sensor 1011: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0202] The pressure sensor 1012 can be set on the side frame of the terminal device 1000 and / or the lower layer of the display screen 1005. When the pressure sensor 1012 is set on the side frame of the terminal device 1000, it can detect the user's grip signal of the terminal device 1000, and the processor 1001 performs left and right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1012. When the pressure sensor 1012 is set on the lower layer of the display screen 1005, the processor 1001 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1005. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0203] The optical sensor 1013 is used to collect the ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1013. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is reduced. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1006 according to the ambient light intensity collected by the optical sensor 1013.
[0204] The proximity sensor 1014, also called a distance sensor, is usually arranged on the front panel of the terminal device 1000. The proximity sensor 1014 is used to collect the distance between the user and the front of the terminal device 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the terminal device 1000 is gradually decreasing, the processor 1001 controls the display screen 1005 to switch from the screen-on state to the screen-off state; when the proximity sensor 1014 detects that the distance between the user and the front of the terminal device 1000 is gradually increasing, the processor 1001 controls the display screen 1005 to switch from the screen-off state to the screen-on state.
[0205] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the terminal device 1000, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0206] Fig.11The schematic diagram of the structure of the server provided in the embodiment of the present application, the server 1100 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1101 and one or more memories 1102, wherein the one or more memories 1102 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1101 to implement the vehicle anti-theft method provided by the above-mentioned various method embodiments. Of course, the server 1100 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server 1100 may also include other components for implementing device functions, which will not be described in detail here.
[0207] In a possible implementation, the embodiment of the present application further provides a vehicle, wherein an electronic device is provided in the vehicle, and the electronic device is used to perform the above Figure 2 The illustrated embodiment provides a vehicle theft prevention method.
[0208] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned vehicle anti-theft methods.
[0209] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0210] In an exemplary embodiment, a computer program or a computer program product is also provided. The computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned vehicle anti-theft methods.
[0211] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the facial images and sound data involved in this application are all obtained with full authorization.
[0212] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0213] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A vehicle anti-theft method, characterized in that: The method comprises: Acquire a first facial image, where the first facial image is an image collected when the vehicle is in a fortified state; determining a first image feature vector for characterizing the first facial image; determining, according to the first image feature vector, an unlocking authority of a first user corresponding to the first facial image, the unlocking authority being used to indicate whether the first user can unlock the vehicle; In the case that the first user can unlock the vehicle, the vehicle is controlled to be in a pre-re-arming state, where the pre-re-arming state is an intermediate state between the armed state and the disarmed state.
2. The method according to claim 1, characterized in that The method further comprises: Acquiring first sound data, where the first sound data is sound data collected when the vehicle is in a fortified state; Determining a first sound feature vector for characterizing the first sound data; The determining, according to the first image feature vector, the unlocking authority of the first user corresponding to the first facial image includes: Determine, according to the first image feature vector and the first sound feature vector, an unlocking authority of a first user corresponding to the first facial image.
3. The method according to claim 2, characterized in that The determining, according to the first image feature vector and the first sound feature vector, the unlocking authority of the first user corresponding to the first facial image includes: determining a second image feature vector for characterizing a second facial image, the second facial image being a facial image of a second user who can unlock the vehicle; Determine a second sound feature vector for characterizing second sound data, where the second sound data is sound data of the second user; Determine an unlocking authority of a first user corresponding to the first facial image according to the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector.
4. The method according to claim 3, characterized in that The determining, according to the first image feature vector, the first sound feature vector, the second image feature vector, and the second sound feature vector, the unlocking authority of the first user corresponding to the first facial image includes: determining a first degree of matching between the first image feature vector and the second image feature vector; determining a second degree of matching between the first sound feature vector and the second sound feature vector; When the first matching degree is greater than a first matching degree threshold and the second matching degree is greater than a second matching degree threshold, determining that the first user corresponding to the first facial image can unlock the vehicle; When the first matching degree is not greater than the first matching degree threshold and / or the second matching degree is not greater than the second matching degree threshold, it is determined that the first user corresponding to the first facial image cannot unlock the vehicle.
5. The method according to any one of claims 1 to 4, characterized in that: After controlling the vehicle to be in a pre-reset state when the first user can unlock the vehicle, the method further includes: In response to detecting that a cover of the vehicle is in an open state within a first time period, controlling the vehicle to be in the disarmed state, the cover of the vehicle comprising at least one of a door, a front hood, and a trunk of the vehicle; In response to not detecting that the cover of the vehicle is in the open state within the first time period, controlling the vehicle to be in the armed state.
6. The method according to any one of claims 1 to 4, characterized in that: After controlling the vehicle to be in a pre-reset state when the first user can unlock the vehicle, the method further includes: Controlling the turn signal lamp of the vehicle to flash according to a reference interval duration; When the number of flashing of the turn signal lamp of the vehicle is not less than a number threshold, the turn signal lamp of the vehicle is controlled to stop flashing.
7. A vehicle anti-theft device, characterized in that: The device comprises: An acquisition module, configured to acquire a first facial image, wherein the first facial image is an image collected when the vehicle is in a fortified state; a determination module, configured to determine a first image feature vector for characterizing the first facial image; The determination module is further configured to determine, based on the first image feature vector, an unlocking authority of a first user corresponding to the first facial image, wherein the unlocking authority is used to indicate whether the first user can unlock the vehicle; The control module is used to control the vehicle to be in a pre-re-arming state when the first user can unlock the vehicle, and the pre-re-arming state is an intermediate state between the armed state and the disarmed state.
8. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements the vehicle anti-theft method according to any one of claims 1 to 6.
9. A vehicle, characterized in that: The electronic device according to claim 8 is installed in the vehicle.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer implements the vehicle anti-theft method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Anti-theft control method and device for unlocking rear tail door
CN118004087A
Vehicle unlocking method and device based on intelligent vehicle identity recognition
CN118636831A
Vehicle body anti-theft method and system based on in-vehicle living body detection
CN118722497A
Vehicle unlocking device and vehicle
CN216915784U