Vehicle control method and device, computer equipment and readable storage medium

By obtaining the position change of the digital key and determining its target position, the abnormal response problem caused by Bluetooth field strength interference is solved, and the accuracy of vehicle control is improved.

CN119821324APending Publication Date: 2025-04-15CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411269311.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The Bluetooth field strength is easily disturbed, causing the digital key to be unlocked or locked abnormally when it is not in the unlocked or locked area, affecting the accuracy of vehicle control.

Method used

By obtaining the position change of the digital key of the target vehicle during the current time period, determine the target position of the digital key, and control the vehicle lock or headlight according to the target position to ensure the accuracy of the control.

Benefits of technology

It effectively avoids abnormal responses caused by Bluetooth field strength interference, and improves the accuracy and reliability of vehicle control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119821324A_ABST
    Figure CN119821324A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle control method and device, computer equipment and a readable storage medium. The method comprises the following steps: acquiring a position change condition of a digital key of a target vehicle in a current time period; determining a target position of the digital key according to the position change condition; and according to the target position, a vehicle lock or a vehicle lamp of the target vehicle is controlled. By adopting the method, the abnormal response to the digital key caused by the influence of the Bluetooth field intensity can be avoided, so that the accuracy of vehicle control is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to a vehicle control method, device, computer equipment and readable storage medium. Background Art

[0002] Digital keys are often also called Bluetooth keys or virtual keys. With the promotion of smart cars, this new key technology will become a standard feature of the next generation of cars. Digital keys allow users to unlock, lock, and start the car through smartphones or wearable smart devices such as smart watches and bracelets that have Bluetooth, ultra-wide band (UWB) or near field communication (NFC) functions.

[0003] However, in actual applications, the Bluetooth field strength itself is easily interfered, so it is easy to cause unlocking jumps, that is, abnormal unlocking when the digital key is not in the unlocking area, and abnormal locking when the digital key is not in the locking area. Summary of the invention

[0004] Based on this, it is necessary to provide a vehicle control method, device, computer equipment and readable storage medium to address the above technical problems, which can avoid abnormal response to digital keys caused by the influence of Bluetooth field strength, so as to improve the accuracy of vehicle control.

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

[0006] Obtain the location change of the digital key of the target vehicle during the current time period;

[0007] Determine the target position of the digital key according to the position change;

[0008] According to the target location, the locks or lights of the target vehicle are controlled.

[0009] In one of the embodiments, determining the target position of the digital key based on the position change includes: determining the position change trend of the digital key in the current time period based on the position change; and determining the target position of the digital key based on the change of the position change trend.

[0010] In one of the embodiments, the target position of the digital key is determined based on the change of the position change trend, including: if the position change trend in the current time period remains unchanged, the current position of the digital key is used as the target position of the digital key; if the position change trend in the current time period changes, the position of the digital key before the position change trend changes is used as the target position of the digital key.

[0011] In one embodiment, the current time period includes a first current time period at the current moment, a first historical time period adjacent to the first current time period, and a second historical time period adjacent to the first historical time period; accordingly, based on the position change, the position change trend of the digital key in the current time period is determined, including: determining the first position change trend based on the first historical position of the digital key in the first historical time period and the second historical position of the digital key in the second historical time period; determining the second position change trend based on the first historical position and the current position of the digital key in the first current time period; wherein the position change trend includes the first position change trend and the second position change trend.

[0012] In one of the embodiments, the position change of the digital key of the target vehicle in the current time period is obtained, including: determining the current position of the digital key in the first current time period according to the current time and the preset sliding window length; determining the first historical position of the digital key in the first historical time period according to the starting time of the first current time period and the preset sliding window length; determining the second historical position of the digital key in the second historical time period according to the starting time of the first historical time period and the preset sliding window length; determining the position change of the digital key in the current time period according to the position of the digital key in different time periods; wherein the position in different time periods includes the second historical position, the first historical position and the current position.

[0013] In one of the embodiments, the location in different time periods is the area under the preset control area of ​​the digital key controller IKM; the preset control area includes a vehicle lock control area and a non-vehicle lock control area; the vehicle lock control area includes an unlocking area and a locking area.

[0014] In one embodiment, the non-vehicle lock control area includes a vehicle light control area and an invalid area; the vehicle light control area is located between the locking area and the invalid area.

[0015] In a second aspect, the present application also provides a vehicle control device, comprising:

[0016] A position change determination module is used to obtain the position change of the digital key of the target vehicle within the current time period;

[0017] A target position determination module, used to determine the target position of the digital key according to the position change;

[0018] The vehicle control module is used to control the locks or lights of the target vehicle according to the target position.

[0019] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0020] Obtain the location change of the digital key of the target vehicle during the current time period;

[0021] Determine the target position of the digital key according to the position change;

[0022] According to the target location, the locks or lights of the target vehicle are controlled.

[0023] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0024] Obtain the location change of the digital key of the target vehicle during the current time period;

[0025] Determine the target position of the digital key according to the position change;

[0026] According to the target location, the locks or lights of the target vehicle are controlled.

[0027] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0028] Obtain the location change of the digital key of the target vehicle during the current time period;

[0029] Determine the target position of the digital key according to the position change;

[0030] According to the target location, the locks or lights of the target vehicle are controlled.

[0031] The above-mentioned vehicle control method, device, computer equipment and readable storage medium obtain the position change of the key of the target vehicle in the current time period, and determine the target position of the digital key according to the position change, and then control the locks or lights of the target vehicle according to the target position. In this process, before controlling the locks or lights of the target vehicle, the exact position of the digital key is determined according to the position change of the digital key in the current time period, thereby making the control of the target vehicle more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions 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 related drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A schematic flow chart of a vehicle control method in one embodiment;

[0034] Figure 2 A schematic diagram of a flow chart of a target position determination step in one embodiment;

[0035] Figure 3 A schematic diagram of a flow chart of a step of obtaining a position change of a digital key in one embodiment;

[0036] Figure 4A A diagram showing an application environment of a vehicle control method in an embodiment;

[0037] Figure 4B A diagram showing an application environment of a vehicle control method in an embodiment;

[0038] Figure 5 is a flow chart of a vehicle control method in another embodiment;

[0039] Figure 6 is a structural block diagram of a vehicle control device in one embodiment;

[0040] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] In one embodiment, Figure 1 As shown, a vehicle control method is provided. This embodiment uses the method applied to a digital key controller (Ignition Key Module, IKM) in a vehicle as an example for illustration. It can be understood that the method can also be applied to a vehicle terminal, and can also be applied to a system including a vehicle terminal and an IKM controller, and is implemented through the interaction between the vehicle terminal and the IKM controller. In this embodiment, the method includes the following steps:

[0043] S110, obtaining the position change of the digital key of the target vehicle in the current time period.

[0044] Among them, the target vehicle can be a vehicle equipped with a digital key. For example, the target vehicle can be an electric vehicle, a hybrid vehicle, or a gasoline vehicle. This application does not impose any limitations on this.

[0045] The digital key can be a mobile terminal, such as a mobile phone, that has an application logged in to the target vehicle and has established a binding relationship with the target vehicle. The digital key can be connected to the IKM controller via Bluetooth within the Bluetooth sensing range of the IKM controller, thereby exchanging data with the IKM controller to temporarily open the door of the target vehicle.

[0046] The current time period may include the current moment and a preset historical time period before the current moment; the length of the preset historical time period may be determined based on manual experience. For example, the preset historical time period may be 10 seconds or 5 seconds, and this application does not impose any limitation on this.

[0047] In an optional implementation, when it is determined that the digital key has entered the Bluetooth sensing range of the IKM controller, the location information of the digital key at different times is obtained based on Bluetooth communication. Exemplarily, the IKM controller can locate the digital key in real time or at a fixed time based on Bluetooth communication, and use the location results of the digital key at different times as the location information of the digital key at the corresponding time. Furthermore, the change of the location information of the digital key at different times in the current time period is used as the location change of the digital key in the current time period.

[0048] Optionally, the IKM controller may also use the position information of the digital key at the start time, the midpoint time, and the end time of the current time period as the position change of the digital key in the current time period. For example, the position change of the digital key in the current time period may be such as "XX hours:XX minutes:XX seconds (starting time), coordinates (a, b), XX hours:XX minutes:XX seconds (midpoint time), coordinates (c, d), XX hours:XX minutes:XX seconds (end time), coordinates (e, f)".

[0049] S120, determining a target position of the digital key according to the position change.

[0050] Among them, the target position can be used as the exact position of the digital key at the current moment.

[0051] It should be noted that since the Bluetooth field strength itself is easily interfered, the location information of the digital key determined based on Bluetooth communication may not be accurate. In this case, after determining the location information of the digital key at the current moment based on Bluetooth communication, the present application will determine the accuracy of the location information according to the location change to determine the target location of the digital key.

[0052] In an optional embodiment, the position change of the digital key in the current time period can be input into a pre-trained target position determination model to obtain the target position of the digital key. It should be noted that the target position determination model can be constructed based on a common neural network, which will not be described in detail here. Furthermore, in the process of training the target position determination model, the position change of the reference digital key in the sample time period can be input into the target position determination model to obtain the predicted position of the reference digital key. According to the position label and predicted position of the reference digital key, the target position determination model is trained to improve the model accuracy of the target position determination model.

[0053] S130, controlling the locks or lights of the target vehicle according to the target position.

[0054] In an optional implementation, the locks or lights of the target vehicle are controlled according to the target position and a preset vehicle control strategy. For example, reference control modes corresponding to different reference positions are predetermined, and the reference control modes corresponding to the target position are used as target control modes for the target vehicle, and then the locks or lights of the target vehicle are controlled based on the target control modes.

[0055] Optionally, the method of controlling the locks of the target vehicle may include controlling the locks to be opened and controlling the locks to be closed; the method of controlling the lights of the target vehicle may include controlling the lights to be turned on and controlling the lights to be turned off.

[0056] In the above vehicle control method, the position change of the key of the target vehicle in the current time period is obtained, and the target position of the digital key is determined according to the position change, and then the lock or light of the target vehicle is controlled according to the target position. In this process, before the lock or light of the target vehicle is controlled, the exact position of the digital key is determined according to the position change of the digital key in the current time period, so that the control of the target vehicle is more accurate.

[0057] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the process of determining the target position of the digital key according to the position change situation is refined.

[0058] See Figure 2The target position determination steps shown include:

[0059] S210, determining the position change trend of the digital key in the current time period according to the position change situation.

[0060] Among them, the position change trend can represent the change in the direction of travel of the digital key in the current time period.

[0061] In an optional implementation, the position change can be used to characterize the relative distance change between the digital key and the target vehicle. Accordingly, if the relative distance changes with time, it is determined that the position change trend of the digital key in the current time period is close to the vehicle; if the relative distance changes with time, it is determined that the position change trend of the digital key in the current time period is far away from the vehicle.

[0062] It should be noted that the position change trend of the digital key in the current time period is either close to the vehicle or far away from the vehicle, and the position change trend is normal. However, if the relative distance changes with time first farther and then closer, or first closer and then farther, it is determined that the position change trend of the digital key in the current time period is abnormal.

[0063] In an optional implementation, the current time period includes a first current time period at the current moment, a first historical time period adjacent to the first current time period, and a second historical time period adjacent to the first historical time period. In this case, the first position change trend can be determined based on the first historical position of the digital key in the first historical time period and the second historical position in the second historical time period; the second position change trend can be determined based on the first historical position and the current position of the digital key in the first current time period.

[0064] Among them, the position change trend includes a first position change trend and a second position change trend; the length of the first current period, the first historical period, and the second historical period can be determined based on manual experience or through a large number of experiments. This application does not impose any limitations on this. By way of example, the length of the first current period, the first historical period, and the second historical period can be the same or different.

[0065] Exemplarily, the change trend from the second historical position to the first historical position is taken as the first position change trend. For example, if the first distance between the second historical position and the IKM controller is less than the second distance between the first historical position and the IKM controller, the first position change trend of the digital key is away from the vehicle. The change trend from the first historical position to the current position is taken as the second position change trend. For example, if the second distance between the first historical position and the IKM controller is less than the third distance between the current position and the IKM controller, the second position change trend of the digital key is away from the vehicle.

[0066] For another example, if the first distance between the second historical position and the IKM controller is greater than the second distance between the first historical position and the IKM controller, the first position change trend of the digital key is close to the vehicle. The change trend from the first historical position to the current position is taken as the second position change trend. For example, if the second distance between the first historical position and the IKM controller is greater than the third distance between the current position and the IKM controller, the second position change trend of the digital key is close to the vehicle.

[0067] It should be noted that since the first current period, the first historical period and the second historical period all include multiple moments, in order to ensure the uniqueness of the current position, the first historical position and the second historical position, this embodiment can use the location information of the digital key at any moment in the first current period as the current position. Use the location information of the digital key at any moment in the first historical period as the first historical position. Use the location information of the digital key at any moment in the second historical period as the second historical position. Among them, any moment in each period can be selected based on manual experience, and illustratively, it can be the starting moment, the ending moment, or the midpoint moment, and this application does not impose any limitation on this.

[0068] S220, determining a target position of the digital key according to a change in the position change trend.

[0069] In an optional implementation, the target position of the digital key can be determined based on the position change trend between adjacent moments in the current time period. For example, if the position change trend between the current moment and the moment before the current moment is different from the position change trend between the moment before the current moment and the moments before that, then the moment before the current moment is the moment before the position change trend changes, and therefore, the position of the digital key at the moment before the current moment can be used as the target position of the digital key.

[0070] In an optional implementation, the current time period includes a first current time period at the current moment, a first historical time period adjacent to the first current time period, and a second historical time period adjacent to the first historical time period. In this case, if the position change trend in the current time period remains unchanged, the current position of the digital key is used as the target position of the digital key; if the position change trend in the current time period changes, the position of the digital key before the position change trend changes is used as the target position of the digital key.

[0071] For example, if the first position change trend and the second position change trend are both approaching the vehicle or moving away from the vehicle, the current position of the digital key is used as the target position of the digital key. If the first position change trend and the second position change trend change, for example, the first position change trend is approaching the vehicle and the second position change trend is moving away from the vehicle, the position of the digital key before the position change trend changes, that is, the first historical position in the first historical period, is used as the target position of the digital key.

[0072] In the above embodiment, the process of determining the target position of the digital key according to the position change situation is refined. Specifically, according to the position change situation, the position change trend of the digital key in the current time period is determined. When the position change trend changes, it is considered that the Bluetooth field strength is interfered, that is, the position recognition of the digital key is determined to be abnormal. This avoids abnormal control of the vehicle when the Bluetooth field strength is interfered.

[0073] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, a specific method for obtaining the position change of the digital key of the target vehicle in the current time period is described in detail.

[0074] See also Figure 3 The steps for obtaining the position change of the digital key shown include:

[0075] S310: Determine the current position of the digital key within the first current time period according to the current time and the preset sliding window length.

[0076] The preset sliding window length can be determined based on manual experience, or can be determined according to specific application requirements and data processing speed, or can be determined through a large number of experiments, and this application does not impose any limitation on this. It can be understood that the first current period includes the current moment and each moment within the preset sliding window length before the current moment.

[0077] Optionally, in this embodiment, the current position of the digital key in the first current period can be determined based on the current position of the digital key at the current moment and the historical position of the digital key at each moment in the preset sliding window length before the current moment. Exemplarily, the position of the digital key at any moment in the first current period can be used as the current position of the digital key in the first current period. For example, the current position can be used as the current position of the digital key in the first current period, or the historical position of the digital key at the start moment of the first current period can be used as the current position of the digital key in the first current period.

[0078] S320: Determine a first historical position of the digital key within a first historical period according to a start time of the first current period and a preset sliding window length.

[0079] It can be understood that the first historical period includes the start time of the first current period and each time within a preset sliding window length before the start time of the first current period.

[0080] Optionally, in this embodiment, the first historical position of the digital key in the first historical period can be determined based on the historical position of the digital key in the first historical period and the historical position of the digital key in a preset sliding window length before the start time of the first current period. Exemplarily, the position of the digital key at any time in the first historical period can be used as the first historical position of the digital key in the first historical period. For example, the historical position at the start time of the first current period or the historical position of the digital key at the start time of the first historical period can be used as the first historical position of the digital key in the first historical period.

[0081] S330: Determine a second historical position of the digital key within a second historical period according to the start time of the first historical period and a preset sliding window length.

[0082] It can be understood that the second historical period includes the starting moment of the first historical period and each moment within a preset sliding window length before the starting moment of the first historical period.

[0083] Optionally, in this embodiment, the second historical position of the digital key in the second historical period can be determined based on the historical position of the digital key in the second historical period and the historical position of the digital key in a preset sliding window length before the start time of the first historical period. Exemplarily, the position of the digital key at any moment in the second historical period can be used as the second historical position of the digital key in the second historical period. For example, the historical position at the start time of the first historical period or the historical position of the digital key at the start time of the second historical period can be used as the second historical position of the digital key in the second historical period.

[0084] S340, determining a position change of the digital key in a current time period according to the position of the digital key in different time periods.

[0085] Among them, the positions in different time periods include the second historical position, the first historical position and the current position.

[0086] Exemplarily, the change of the digital key from the second historical position to the first historical position and from the first historical position to the current position can be regarded as the position change of the digital key in the current time period.

[0087] In the above embodiment, the specific method of obtaining the position change of the digital key of the target vehicle in the current time period is described in detail. Specifically, by presetting the sliding window length, the current time period is divided into a first current time period, a first historical time period and a second historical time period, and the position of the digital key in each time period is determined respectively, and the position change of the digital key in the current time period is determined, which simplifies the process of determining the position change.

[0088] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the location in different time periods is the area under the preset control area of ​​the digital key controller IKM; Figure 4A As shown, the preset control area includes the vehicle lock control area and the non-vehicle lock control area; the vehicle lock control area includes the unlocking area and the locking area. In the figure, point A is in the non-vehicle lock control area; point B is in the locking area; and point C is in the unlocking area.

[0089] It is understandable that if the digital key of the target vehicle is in the unlocking area, the IKM controller will control the lock of the target vehicle to open; if the digital key of the target vehicle is in the locking area, the IKM controller will control the lock of the target vehicle to close; if the digital key of the target vehicle is in the non-locking control area, the IKM controller will not control the lock of the target vehicle, for example, it can be to control the lights of the target vehicle, or not to control the target vehicle. The control logic of the non-locking control area can be set as needed, and this application does not impose any limitation on this.

[0090] It should be noted that there may also be an unlocking and locking buffer area between the unlocking area and the locking area. The purpose of setting the unlocking and locking buffer area is to provide a sufficient safety space during the unlocking and locking process of the target vehicle to avoid accidental interference during the operation.

[0091] Furthermore, in order to make the control of the target vehicle more precise, in an optional embodiment, the non-lock control area includes a light control area and an invalid area. Figure 4B As shown, the headlight control area is located between the locked control area and the invalid area, and the area outside the headlight control area is the invalid area. In the figure, point D is in the headlight control area; point E is in the locked area; and point F is in the unlocked area.

[0092] It can be understood that if the digital key of the target vehicle is in the headlight control area, the IKM controller will control the headlights of the target vehicle, for example, turning the headlights on or off; if the digital key of the target vehicle is in the invalid area, the IKM controller cannot sense the digital key and will not control the target vehicle.

[0093] Furthermore, the control logic of the IKM controller is described in detail when the digital key of the target vehicle is in the headlight control area. If the digital key of the target vehicle enters the headlight control area from the invalid area, the IKM controller controls the headlights to turn on; if the digital key of the target vehicle enters the headlight control area from the locked area, the IKM controller controls the headlights to turn off.

[0094] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the vehicle control method provided by the present application is applied to Figure 4B In the application environment shown, the vehicle control method provided by the present application is introduced in detail.

[0095] See also Figure 5 The vehicle control method shown includes:

[0096] S510, respectively obtaining the preset control area of ​​the IKM controller where the digital key of the target vehicle is located in the first history sliding window, the second history sliding window and the current sliding window.

[0097] The first historical sliding window is the second historical period; the second historical sliding window is the first historical period; and the current sliding window is the first current period. The preset control areas of the IKM controller include an unlocking area, a locking area, a headlight control area, and an invalid area.

[0098] S520: Determine area values ​​corresponding to different sliding windows according to the preset control areas where the digital key is located under different sliding windows and area values ​​corresponding to the preset control areas.

[0099] Different preset control areas correspond to different area values. For example, the area value corresponding to the interior of the vehicle may be 0, the area value corresponding to the unlocking area may be 1, the area value corresponding to the locking area may be 2, the area value corresponding to the headlight control area may be 3, and the area value corresponding to the invalid area may be 4, as shown in Table 1 below:

[0100] Table 1: Region value mapping table

[0101]

[0102] Furthermore, if an unlocking buffer area is provided between the unlocking area and the locking area, the area value corresponding to the unlocking buffer area is the same as the area value corresponding to the unlocking area. The reason is that if the interval value of the unlocking buffer area is increased, the locking distance may be too far, resulting in insensitive control of the target vehicle's locks, which does not meet product requirements.

[0103] It should be noted that in order to improve the accuracy of determining the position change trend of the digital key based on the preset area value, the area value corresponding to the digital key will be initialized to 4, which is the area value corresponding to the invalid area.

[0104] S530A, determining a first position change trend of the digital key according to a first region value corresponding to the first historical sliding window and a second region value corresponding to the second historical sliding window; and

[0105] Since the lock control of the target vehicle can more effectively affect the safety of the target vehicle, this embodiment only considers the two situations of the digital key being in the unlocking area and in the non-unlocking area to illustrate the vehicle control method of this application. If the digital key is in the unlocking area, the corresponding area value is less than 2; if the digital key is in the non-unlocking area, the corresponding area value is greater than 1.

[0106] Exemplarily, if the first area value is greater than 1 and the second area value is less than 2, the first position change trend is determined to be close to the vehicle; if the first area value is less than 2 and the second area value is greater than 1, the first position change trend is determined to be away from the vehicle.

[0107] It should be noted that the preset control area where the digital key is located in the first historical sliding window and the preset control area where the digital key is located in the second historical sliding window may be the same, for example, both are in the same preset control area, or both are outside the unlocking area, that is, the area values ​​are both less than 2. In this case, according to the first position change trend of the first area value and the second area value, the first position change trend of the digital key can be further determined according to the specific position of the digital key in the first historical sliding window and the specific position of the digital key in the second historical sliding window.

[0108] S530B: Determine a second position change trend of the digital key according to the second area value corresponding to the second historical sliding window and the third area value corresponding to the current sliding window.

[0109] The specific method for determining the second position change trend is the same as the specific method for determining the first position change trend, and will not be described in detail here.

[0110] S540: Determine a change in the moving direction of the digital key according to a change in the first position change trend and a change in the second position change trend.

[0111] If the first position change trend and the second position change trend are the same, it is determined that the moving direction of the digital key has not changed; if the first position change trend and the second position change trend are different, it is determined that the moving direction of the digital key has changed.

[0112] For example, if the first area value is greater than 1, the second area value is less than 2, and the third area value is greater than 1, it is determined that the moving direction of the digital key has changed. If the first area value is less than 2, the second area value is greater than 1, and the third area value is less than 2, it is determined that the moving direction of the digital key has changed.

[0113] S550: Determine the current area of ​​the digital key according to the change in the moving direction.

[0114] If the moving direction of the digital key changes, the third area value of the digital key is considered unreliable, and the preset control area corresponding to the second area value of the digital key is used as the current area of ​​the digital key.

[0115] If the moving direction of the digital key changes, the third area value of the digital key is considered to be credible, that is, the preset control area corresponding to the third area value of the digital key is used as the current area of ​​the digital key.

[0116] It should be noted that if the first area value and the second area value are both less than 2, or the first area value and the second area value are both greater than 1, and the first position change trend of the digital key cannot be determined, then the third area value of the digital key is considered to be credible, that is, the preset control area corresponding to the third area value of the digital key is used as the current area of ​​the digital key.

[0117] In order to make the process of determining the current area of ​​the digital key simpler, this embodiment provides a determination logic of a target third area value (i.e., an accurate third area value). After determining the target third area value, the preset control area corresponding to the target third area value is used as the current area of ​​the digital key. For example, the determination logic of the target third area value can be shown in Table 2 below:

[0118] Table 2: Logic table for determining target third region value

[0119]

[0120] Based on the above Table 1, it can be seen that when the moving direction of the digital key represented by the first area value, the second area value and the third area value changes, the third area value is determined to be unreliable, and the second area value is used as the target third area value, avoiding abnormal control of the target vehicle caused by the area value jump caused by the influence of the Bluetooth field strength, that is, making the vehicle control of the target vehicle more accurate.

[0121] S560: Control the locks or lights of the target vehicle according to the control logic corresponding to the current area of ​​the digital key.

[0122] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0123] Based on the same inventive concept, the embodiment of the present application also provides a vehicle control device for implementing the vehicle control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle control device embodiments provided below can refer to the limitations on the vehicle control method above, and will not be repeated here.

[0124] In an exemplary embodiment, Figure 6 As shown, a vehicle control device is provided, including: a position change determination module 610, a target position determination module 620 and a vehicle control module 630, wherein:

[0125] The position change determination module 610 is used to obtain the position change of the digital key of the target vehicle within the current time period.

[0126] The target position determination module 620 is used to determine the target position of the digital key according to the position change.

[0127] The vehicle control module 630 is used to control the locks or lights of the target vehicle according to the target position.

[0128] In one embodiment, the target position determination module 620 includes a trend determination unit, which is used to determine the position change trend of the digital key in the current time period according to the position change situation; the position determination unit is used to determine the target position of the digital key according to the change of the position change trend.

[0129] In one embodiment, the position determination unit includes a first determination subunit, which is used to use the current position of the digital key as the target position of the digital key if the position change trend in the current time period remains unchanged; and a second determination subunit, which is used to use the position of the digital key before the position change trend changes as the target position of the digital key if the position change trend in the current time period changes.

[0130] In one embodiment, the current time period includes a first current time period at the current moment, a first historical time period adjacent to the first current time period, and a second historical time period adjacent to the first historical time period; accordingly, the trend determination unit includes three determination sub-units for determining a first position change trend based on a first historical position of the digital key in the first historical time period and a second historical position of the digital key in the second historical time period; a fourth determination sub-unit for determining a second position change trend based on the first historical position and the current position of the digital key in the first current time period; wherein the position change trend includes a first position change trend and a second position change trend.

[0131] In one embodiment, the position change determination module 610 includes a first position determination unit, which is used to determine the current position of the digital key in the first current time period according to the current time and the preset sliding window length; a second position determination unit, which is used to determine the first historical position of the digital key in the first historical time period according to the starting time of the first current time period and the preset sliding window length; a third position determination unit, which is used to determine the second historical position of the digital key in the second historical time period according to the starting time of the first historical time period and the preset sliding window length; a position change determination unit, which is used to determine the position change of the digital key in the current time period according to the position of the digital key in different time periods; wherein the position in different time periods includes the second historical position, the first historical position and the current position.

[0132] In one embodiment, the position in different time periods is the area under the preset control area of ​​the digital key controller IKM; the preset control area includes the vehicle lock control area and the non-vehicle lock control area; the vehicle lock control area includes the unlocking area and the locking area. The non-vehicle lock control area includes the vehicle light control area and the invalid area; the vehicle light control area is located between the locking area and the invalid area. Accordingly, the position change determination unit 610 is used to obtain the change of the preset control area where the digital key of the target vehicle is located in the current time period.

[0133] Each module in the above vehicle control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0134] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a vehicle control method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0135] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0136] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0137] Obtain the location change of the digital key of the target vehicle during the current time period;

[0138] Determine the target position of the digital key according to the position change;

[0139] According to the target location, the locks or lights of the target vehicle are controlled.

[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0141] According to the position change situation, determine the position change trend of the digital key in the current time period;

[0142] According to the changing situation of the position change trend, the target position of the digital key is determined.

[0143] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0144] If the position change trend in the current time period remains unchanged, the current position of the digital key is used as the target position of the digital key;

[0145] If the position change trend in the current time period changes, the position of the digital key before the position change trend changes is used as the target position of the digital key.

[0146] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0147] Determine a first position change trend according to a first historical position of the digital key in the first historical period and a second historical position of the digital key in the second historical period;

[0148] Determine a second position change trend based on the first historical position and the current position of the digital key within the first current time period;

[0149] The position change trend includes a first position change trend and a second position change trend.

[0150] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0151] Determine the current position of the digital key within the first current time period according to the current time and the preset sliding window length;

[0152] Determine a first historical position of the digital key within a first historical period according to a start time of the first current period and a preset sliding window length;

[0153] Determine a second historical position of the digital key within the second historical period according to the start time of the first historical period and the preset sliding window length;

[0154] According to the location of the digital key in different time periods, determine the position change of the digital key in the current time period;

[0155] Among them, the positions in different time periods include the second historical position, the first historical position and the current position.

[0156] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0157] The location in different time periods is the area under the preset control area of ​​the digital key controller IKM;

[0158] The preset control area includes a vehicle lock control area and a non-vehicle lock control area; the vehicle lock control area includes an unlocking area and a locking area.

[0159] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0160] The non-lock control area includes the light control area and the invalid area;

[0161] The headlight control area is located between the locking area and the invalid area.

[0162] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0163] Obtain the location change of the digital key of the target vehicle during the current time period;

[0164] Determine the target position of the digital key according to the position change;

[0165] According to the target location, the locks or lights of the target vehicle are controlled.

[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0167] According to the position change situation, determine the position change trend of the digital key in the current time period;

[0168] According to the changing situation of the position change trend, the target position of the digital key is determined.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0170] If the position change trend in the current time period remains unchanged, the current position of the digital key is used as the target position of the digital key;

[0171] If the position change trend in the current time period changes, the position of the digital key before the position change trend changes is used as the target position of the digital key.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0173] Determine a first position change trend according to a first historical position of the digital key in the first historical period and a second historical position of the digital key in the second historical period;

[0174] Determine a second position change trend based on the first historical position and the current position of the digital key within the first current time period;

[0175] The position change trend includes a first position change trend and a second position change trend.

[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0177] Determine the current position of the digital key within the first current time period according to the current time and the preset sliding window length;

[0178] Determine a first historical position of the digital key within a first historical period according to a start time of the first current period and a preset sliding window length;

[0179] Determine a second historical position of the digital key within the second historical period according to the start time of the first historical period and the preset sliding window length;

[0180] According to the location of the digital key in different time periods, determine the position change of the digital key in the current time period;

[0181] Among them, the positions in different time periods include the second historical position, the first historical position and the current position.

[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0183] The location in different time periods is the area under the preset control area of ​​the digital key controller IKM;

[0184] The preset control area includes a vehicle lock control area and a non-vehicle lock control area; the vehicle lock control area includes an unlocking area and a locking area.

[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0186] The non-lock control area includes the light control area and the invalid area;

[0187] The headlight control area is located between the locking area and the invalid area.

[0188] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0189] Obtain the location change of the digital key of the target vehicle during the current time period;

[0190] Determine the target position of the digital key according to the position change;

[0191] According to the target location, the locks or lights of the target vehicle are controlled.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0193] According to the position change situation, determine the position change trend of the digital key in the current time period;

[0194] According to the changing situation of the position change trend, the target position of the digital key is determined.

[0195] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0196] If the position change trend in the current time period remains unchanged, the current position of the digital key is used as the target position of the digital key;

[0197] If the position change trend in the current time period changes, the position of the digital key before the position change trend changes is used as the target position of the digital key.

[0198] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0199] Determine a first position change trend according to a first historical position of the digital key in the first historical period and a second historical position of the digital key in the second historical period;

[0200] Determine a second position change trend based on the first historical position and the current position of the digital key within the first current time period;

[0201] The position change trend includes a first position change trend and a second position change trend.

[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0203] Determine the current position of the digital key within the first current time period according to the current time and the preset sliding window length;

[0204] Determine a first historical position of the digital key within a first historical period according to a start time of the first current period and a preset sliding window length;

[0205] Determine a second historical position of the digital key within the second historical period according to the start time of the first historical period and the preset sliding window length;

[0206] According to the location of the digital key in different time periods, determine the position change of the digital key in the current time period;

[0207] Among them, the positions in different time periods include the second historical position, the first historical position and the current position.

[0208] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0209] The location in different time periods is the area under the preset control area of ​​the digital key controller IKM;

[0210] The preset control area includes a vehicle lock control area and a non-vehicle lock control area; the vehicle lock control area includes an unlocking area and a locking area.

[0211] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0212] The non-lock control area includes the light control area and the invalid area;

[0213] The headlight control area is located between the locking area and the invalid area.

[0214] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0215] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0216] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0217] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A vehicle control method, characterized in that: The method comprises: Obtain the location change of the digital key of the target vehicle during the current time period; Determining a target position of the digital key according to the position change; According to the target position, the locks or lights of the target vehicle are controlled.

2. The method according to claim 1, characterized in that Determining the target position of the digital key according to the position change includes: Determine, according to the position change, the position change trend of the digital key in the current time period; The target position of the digital key is determined according to the change of the position change trend.

3. The method according to claim 2, characterized in that Determining the target position of the digital key according to the change of the position change trend includes: If the position change trend in the current time period remains unchanged, the current position of the digital key is used as the target position of the digital key; If the position change trend in the current time period changes, the position of the digital key before the position change trend changes is used as the target position of the digital key.

4. The method according to claim 2, characterized in that: The current time period includes a first current time period at the current moment, a first historical time period adjacent to the first current time period, and a second historical time period adjacent to the first historical time period; accordingly, determining the position change trend of the digital key in the current time period according to the position change situation includes: Determining a first position change trend according to a first historical position of the digital key in the first historical period and a second historical position of the digital key in the second historical period; Determining a second position change trend according to the first historical position and the current position of the digital key in the first current time period; The position change trend includes the first position change trend and the second position change trend.

5. The method according to claim 4, characterized in that The obtaining of the position change of the digital key of the target vehicle in the current time period includes: Determining a current position of the digital key within the first current time period according to the current time and a preset sliding window length; Determining a first historical position of the digital key within the first historical period according to the start time of the first current period and the preset sliding window length; Determining a second historical position of the digital key within the second historical period according to the start time of the first historical period and the preset sliding window length; Determining, according to the positions of the digital key in different time periods, a position change of the digital key in a current time period; The locations in different time periods include the second historical location, the first historical location and the current location.

6. The method according to claim 5, characterized in that The location in different time periods is the area under the preset control area of ​​the digital key controller IKM; The preset control area includes a vehicle lock control area and a non-vehicle lock control area; the vehicle lock control area includes an unlocking area and a locking area.

7. The method according to claim 6, characterized in that The non-vehicle lock control area includes a vehicle light control area and an invalid area; The vehicle light control area is located between the locking area and the invalid area.

8. A vehicle control device, characterized in that: The device comprises: A position change determination module is used to obtain the position change of the digital key of the target vehicle within the current time period; A target position determination module, used to determine the target position of the digital key according to the position change; The vehicle control module is used to control the locks or lights of the target vehicle according to the target position.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

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 7 are implemented.