Digital key area positioning method, device, vehicle and storage medium
By acquiring candidate signal strength values and machine learning models, and combining the first and second models, the location of the digital key inside or outside the vehicle and its specific location are determined. This solves the problems of low positioning accuracy and high algorithm complexity in existing technologies, and achieves higher precision area positioning.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-26
- Publication Date
- 2026-03-06
AI Technical Summary
In existing technologies, the regional positioning methods of digital keys suffer from low accuracy and high algorithm complexity. In particular, when positioning is performed by combining Bluetooth signal strength values with algorithms, it is prone to causing large errors and poor universality.
By acquiring candidate signal strength values received by multiple base stations, a machine learning model is used to determine whether the digital key is inside the vehicle. If it is not inside the vehicle, the target signal strength value and the location of the target base station are used to determine its specific location relative to the vehicle. The combination of the first and second models is used to improve positioning accuracy.
It improves the accuracy of digital key area positioning, especially in determining the specific location in the external area of the vehicle, reducing errors and simplifying algorithm complexity.
Smart Images

Figure CN115767715B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent vehicle technology, and in particular to a digital key area positioning method, device, vehicle, and storage medium. Background Technology
[0002] In the field of intelligent vehicle technology, digital keys, while covering the functions of traditional keys, can also interact with the vehicle, providing convenience for users. For example, when the digital key is located inside the vehicle, it can start the engine; when located outside the vehicle, it can unlock or lock the doors. Therefore, the location capabilities of digital keys have attracted widespread attention.
[0003] In existing technologies, the location of a digital key can be achieved by deploying multiple base stations on the vehicle, obtaining the Bluetooth signal strength values received by the base stations, and combining them with Time Difference of Arrival (TDOA) algorithms or triangulation algorithms to achieve the area location of the digital key.
[0004] However, using Bluetooth signal strength values combined with algorithms to locate digital keys cannot accurately define the location area of the digital key relative to the vehicle, leading to significant errors. Furthermore, the algorithms are highly complex and lack versatility. Therefore, improving the accuracy of digital key location positioning is a pressing technical problem that needs to be solved. Summary of the Invention
[0005] This invention provides a digital key area positioning method, device, vehicle, and storage medium, which can improve the accuracy of digital key area positioning.
[0006] In a first aspect, embodiments of the present invention provide a digital key area positioning method, comprising:
[0007] When the digital key enters the location detection area, candidate signal strength values of the digital key received by multiple base stations are obtained, with each base station respectively located in the vehicle interior area and the vehicle exterior area.
[0008] Based on the candidate signal strength value and the first model, it is determined whether the digital key is in the vehicle interior area, and the first model is used to determine whether the digital key is in the vehicle interior area or the vehicle exterior area.
[0009] When the digital key is not in the vehicle interior area, a target signal strength value is determined based on the candidate signal strength values;
[0010] Based on the target signal strength value and the location of the target base station corresponding to the target signal strength value, the location area of the digital key relative to the vehicle is determined.
[0011] Secondly, embodiments of the present invention provide a digital key area positioning device, comprising:
[0012] The first acquisition module is used to acquire candidate signal strength values of the digital key received by multiple base stations when the digital key enters the location detection area. Each of the base stations is respectively set in the vehicle interior area and the vehicle exterior area.
[0013] A first determining module is used to determine whether the digital key is in the vehicle interior area based on the candidate signal strength value and a first model, wherein the first model is used to determine whether the digital key is in the vehicle interior area or the vehicle exterior area.
[0014] The second determining module is used to determine the target signal strength value based on the candidate signal strength value when the digital key is not in the vehicle interior area;
[0015] The third determining module is used to determine the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station corresponding to the target signal strength value.
[0016] Thirdly, embodiments of the present invention provide a vehicle, including:
[0017] At least one processor; and
[0018] A memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the digital key area location method as described in the first aspect.
[0020] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the digital key area positioning method as described in the first aspect.
[0021] The technical solution of this invention determines whether the digital key is inside the vehicle by using candidate signal strength values and a first model. If not, it determines the target signal strength value by using candidate signal strength values, and then determines the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station, thereby improving the accuracy of digital key area positioning.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart of a digital key area positioning method provided in Embodiment 1 of the present invention;
[0025] Figure 2 This is a schematic diagram of the position detection area provided in Embodiment 1 of the present invention;
[0026] Figure 3 This is a flowchart of a digital key area positioning method provided in Embodiment 2 of the present invention;
[0027] Figure 4 This is a flowchart of another digital key area positioning method provided in Embodiment 2 of the present invention;
[0028] Figure 5 This is a schematic diagram of the structure of a digital key area positioning device according to Embodiment 3 of the present invention;
[0029] Figure 6 This is a structural schematic diagram of a vehicle implementing the digital key area positioning method of this invention. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0033] Example 1
[0034] Figure 1 This is a flowchart of a digital key area positioning method according to Embodiment 1 of the present invention. This embodiment is applicable to the situation of area positioning of digital keys. The method can be executed by a digital key area positioning device, which can be implemented in software and / or hardware and configured in a vehicle. The type of vehicle is not limited, such as a motor vehicle. Figure 1 As shown, the method includes:
[0035] S110. When the digital key enters the location detection area, acquire the candidate signal strength values of the digital key received by multiple base stations, with each base station set in the vehicle interior area and the vehicle exterior area respectively.
[0036] A digital key is a key that controls a vehicle via a smartphone, laptop, or wearable device. Wearable devices can include smartwatches, smart bracelets, or Near Field Communication (NFC) smart cards. Unlike traditional mechanical keys, digital keys can not only unlock or start the vehicle but also interact with it to enable personalized vehicle settings and other functions.
[0037] A location detection area refers to the region capable of detecting the location of a digital key, within which the position of the digital key relative to the vehicle can be determined. The method of dividing the location detection area is not limited, as long as the position of the digital key relative to the vehicle can be determined within the area. For example, the location detection area can be divided into an interior area and an exterior area. To more accurately determine the specific position of the digital key relative to the vehicle when it is in the exterior area, the exterior area can be further divided into multiple sub-areas.
[0038] A base station can refer to a site capable of receiving digital key signals wirelessly. The specific form of the base station is not limited, as long as it can receive digital key signals. The specific method can be determined based on the wireless communication method between the base station and the digital key. For example, when the base station and digital key communicate via Bluetooth, the base station can be a Bluetooth anchor point; similarly, when the base station and digital key communicate via Ultra Wide Band (UWB) technology, the base station can be a UWB anchor point.
[0039] The number and location of base stations are not limited; they can be determined based on actual needs. Each base station can be located both inside and outside the vehicle. For example, two base stations can be installed inside the vehicle, and one base station can be installed outside the vehicle at a predetermined distance from each of the four headlights. All six base stations can receive signals from the digital key. The signal strength is determined by the distance of the digital key relative to each base station; base stations closer to the digital key receive stronger signals. The designated locations can be determined based on actual requirements.
[0040] Candidate signal strength values refer to the signal strength values received by the base station from the digital key. These values can be used to determine whether the digital key is located inside the vehicle. When determining the location of the digital key relative to the vehicle, candidate signal strength values can be used as alternative signal strength values. The specific form of the signal strength value can be determined based on the base station. For example, when the base station is a Bluetooth anchor point, the signal strength value can be the Bluetooth signal strength value; similarly, when the base station is a UWB anchor point, the signal strength value can be the UWB signal strength value. The number of candidate signal strength values is not limited and can be determined based on the number of base stations. Each base station can have a unique candidate signal strength value corresponding to it.
[0041] The method for determining whether a digital key has entered the location detection area is not limited. For example, it can be determined by the magnitude of the candidate signal strength value of the digital key received by the base station. For instance, when the candidate signal strength value exceeds a set threshold, it indicates that the digital key has entered the location detection area; otherwise, the digital key has not entered the location detection area. The set threshold can be a threshold set according to actual needs.
[0042] When the digital key enters the location detection area, there is no limitation on the method of obtaining the candidate signal strength values of the digital key received by multiple base stations. For example, when the digital key is in the location detection area, the digital key can communicate wirelessly with multiple base stations, so that multiple base stations can obtain the candidate signal strength values of the received digital key and upload the candidate signal strength values to the vehicle.
[0043] S120. Determine whether the digital key is in the vehicle interior area based on the candidate signal strength value and the first model. The first model is used to determine whether the digital key is in the vehicle interior area or the vehicle exterior area.
[0044] The first model can refer to a machine learning model capable of determining whether the digital key is located inside or outside the vehicle, such as a binary tree model, support vector machine model, or logistic regression Gaussian kernel model. The first model can be a model pre-trained according to actual needs. It is obtained by repeatedly inputting signal strength values obtained from different base stations and the location of each base station (whether it's inside or outside the vehicle) into the machine learning model for training.
[0045] The method for determining whether the digital key is inside the vehicle based on the candidate signal strength value and the first model is not limited. For example, the candidate signal strength value can be input into the first model, and the digital key can be determined to be inside the vehicle based on the parameters output by the first model. If the parameters output by the first model are not lower than the set value, the digital key is determined to be inside the vehicle; otherwise, the digital key is determined to be outside the vehicle. The set value can be set according to the actual application needs.
[0046] S130. When the digital key is not in the vehicle interior area, determine the target signal strength value based on the candidate signal strength value.
[0047] When the digital key is not in the vehicle's interior area, it means that the digital key is in the vehicle's exterior area. The exterior area of the vehicle can be divided into multiple sub-areas, so it is necessary to further determine which specific sub-area of the exterior area the digital key is in.
[0048] The target signal strength value can refer to the signal strength value of the candidate signal strength values that can determine which specific sub-region of the vehicle's external area the digital key is located in.
[0049] The method for determining the target signal strength value based on candidate signal strength values is not limited. For example, from the candidate signal strength values, the signal strength values of the base stations corresponding to the candidate signal strength values located in the area outside the vehicle can be selected as the external signal strength values. The number of external signal strength values is determined by the number of base stations located in the area outside the vehicle. The target signal strength value is then determined based on these external signal strength values. For instance, all external signal strength values can be used as the target signal strength value; alternatively, a set number of external signal strength values with larger signal strength values can be selected as the target signal strength value. The set number can be the number of selectable external signal strength values set according to actual needs, such as setting the number to 3.
[0050] S140. Based on the target signal strength value and the location of the target base station corresponding to the target signal strength value, determine the location area of the digital key relative to the vehicle.
[0051] A target base station can refer to a base station that acquires the target signal strength value. There is a one-to-one correspondence between a target base station and a target signal strength value. One target base station can determine a unique target signal strength value.
[0052] The method for determining the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station corresponding to the target signal strength value is not limited. For example, it can be based on the location of the target base station corresponding to the two largest values of the target signal strength value to determine whether it is necessary to use the second model to determine the location area of the digital key relative to the vehicle. If the location of the target base station corresponding to the two largest values is located diagonally opposite the vehicle, then it is not necessary to use the second model to determine the location area of the digital key relative to the vehicle, and the location area determined last time is determined as the location area of the digital key relative to the vehicle this time; otherwise, the location area of the digital key relative to the vehicle is determined according to the second model.
[0053] The second model can refer to a machine learning model that can determine the specific sub-region of the vehicle's external area where the digital key is located, such as a binary tree model, support vector machine model, or logistic regression Gaussian kernel model. The second model can be a model pre-trained according to actual needs, for example, by repeatedly inputting the positions of any two adjacent sub-regions in the vehicle's external area, along with the signal strength values obtained from all base stations, into the machine learning model for training, resulting in multiple second models.
[0054] The method for determining the location area of the digital key relative to the vehicle using the second model is not limited. For example, it can be determined by the magnitude of the target signal strength value and the location of the target base station corresponding to that value, identifying two related sub-regions to be distinguished. From multiple second models, the one that best determines which of these two related sub-regions the digital key belongs to is selected. Candidate signal strength values are input into the selected second model, and the location area of the digital key relative to the vehicle is determined based on the parameters output by the selected second model. If the parameters output by the second model are not lower than a set value, the digital key is determined to be in one of the two related sub-regions; otherwise, the other sub-region is determined. The set value can be a value set according to the actual application requirements. The two related sub-regions can refer to two adjacent sub-regions in the external area of the vehicle.
[0055] The technical solution of this invention determines whether the digital key is inside the vehicle by using candidate signal strength values and a first model. If not, it determines the target signal strength value using the candidate signal strength values, and then determines the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station. In determining the location area of the digital key relative to the vehicle, the location detection area is divided into an internal vehicle area and an external vehicle area. The external vehicle area is further divided into multiple sub-areas. When the digital key is not inside the vehicle area, a machine learning model is used to determine the specific sub-area, improving the accuracy of digital key location.
[0056] Furthermore, the position detection area includes the vehicle interior area and the vehicle exterior area. The vehicle exterior area consists of at least the area directly in front of the vehicle, the area to the left front of the vehicle, the area to the left rear of the vehicle, the area to the right front of the vehicle, the area to the right rear of the vehicle, and the area directly behind the rear of the vehicle.
[0057] The vehicle interior area can refer to the area inside the vehicle itself. The vehicle exterior area can refer to the area around the vehicle that is defined as a range. This range can be set according to actual needs; for example, the area within a certain distance around the vehicle can be used to define the vehicle exterior area. The set distance can be a distance set according to actual needs.
[0058] The area directly in front of the front of the vehicle, the area to the left front of the front of the vehicle, the area to the left rear of the front of the vehicle, the area to the right front of the front of the vehicle, or the area to the right rear of the front of the vehicle can all be relative to the position of the front of the vehicle. The area directly behind the rear of the vehicle can be relative to the position of the rear of the vehicle.
[0059] The inscribed rectangle inside the vehicle can be considered as the vehicle's interior area; this invention does not specifically limit this. At the end near the front of the vehicle, the two vertices of the inscribed rectangle can be considered as the two vertices of the front of the vehicle; at the end near the rear of the vehicle, the two vertices of the inscribed rectangle can be considered as the two vertices of the rear of the vehicle. The area directly in front of the front of the vehicle can be a trapezoidal area extending outwards from the two vertices of the front of the vehicle by a first predetermined degree, such as 45 degrees, where the height of the trapezoidal area is a predetermined distance; the area directly behind the rear of the vehicle can be a trapezoidal area extending outwards from the two vertices of the rear of the vehicle by a second predetermined degree, such as 45 degrees, where the height of the trapezoidal area is a predetermined distance. The front left and rear left areas of the vehicle can be located on the left side of the vehicle's direction of travel. Within a set range, excluding a portion of the area directly in front of the vehicle and a portion of the area directly behind the vehicle, the boundary between the front left and rear left areas can be a line segment extending outward from the center of the left side of the vehicle by a set distance. The front right and rear right areas of the vehicle can be located on the right side of the vehicle's direction of travel. Within a set range, excluding a portion of the area directly in front of the vehicle and a portion of the area directly behind the vehicle, the boundary between the front right and rear right areas can be a line segment extending outward from the center of the right side of the vehicle by a set distance. The front left, rear left, front right, and rear right areas can all be right-angled trapezoidal areas, and the height of each trapezoid can be a set distance.
[0060] In one embodiment, Figure 2 This is a schematic diagram of a position detection area provided according to Embodiment 1 of the present invention. The position detection area includes an internal vehicle area and an external vehicle area, and the entire position detection area can be considered as a rectangular area. The internal vehicle area can be a rectangular area composed of four vertices A1, A2, A3, and A4. The external vehicle area can be the area outside the vehicle within a defined distance r around the vehicle. The external vehicle area can include the area directly in front of the vehicle (a trapezoidal area composed of B1, A1, A2, and B2), the area directly in front left of the vehicle (a trapezoidal area composed of B1, A1, C2, and C1), the area directly behind left of the vehicle (a trapezoidal area composed of B4, A4, C2, and C1), the area directly in front right of the vehicle (a trapezoidal area composed of B2, A2, C3, and C4), the area directly behind right of the vehicle (a trapezoidal area composed of B3, A3, C3, and C4), and the area directly behind the rear of the vehicle (a trapezoidal area composed of B4, A4, A3, and B3).
[0061] By dividing the location detection area, the external area of the vehicle can be divided into multiple sub-areas, making the determination of the digital key's location within the vehicle's external area more accurate when determining the digital key's location relative to the vehicle.
[0062] Furthermore, before acquiring the candidate signal strength values of the digital key received by multiple base stations when the digital key enters the location detection area, the process also includes:
[0063] When the digital key enters the location detection area, the signal strength values of the digital key received by each base station are acquired multiple times.
[0064] The signal strength value and area labeling results are input into the machine learning model for training to obtain the first model and multiple second models. The number of second models is the same as the number of sub-regions included in the vehicle's external area. Each second model is associated with two sub-regions. The second model is used to determine which sub-region the digital key is located in. The sub-regions include the area directly in front of the vehicle, the area to the left front of the vehicle, the area to the left rear of the vehicle, the area to the right front of the vehicle, the area to the right rear of the vehicle, or the area directly behind the rear of the vehicle.
[0065] When the digital key enters the location detection area, there is no limitation on the method of repeatedly obtaining the signal strength values of the digital key received by each base station. For example, it can communicate wirelessly with each base station multiple times at a set time interval. Each base station sends the received signal strength value of the digital key to the vehicle at the set time interval, so that the vehicle can obtain the signal strength value of the digital key received by each base station multiple times. The set time interval can be the time interval between the base station and the vehicle to send the signal strength value according to actual needs. Alternatively, the digital key can enter different areas within the location detection area multiple times. Each time it enters the location detection area, each base station receives the signal strength value of the digital key and sends it to the vehicle, so that the vehicle can obtain the signal strength value of the digital key received by each base station multiple times.
[0066] The region labeling results can be determined based on actual application needs. When training the machine learning model to obtain the first model, the region labeling results can include both the vehicle's internal and external regions. This is achieved by repeatedly inputting signal strength values and the location of the base station (whether it's the vehicle's internal or external region) into the machine learning model for training. When training the machine learning model to obtain the second model, the region labeling results can include the positions of any two adjacent sub-regions within the vehicle's external region. This is achieved by repeatedly inputting signal strength values and the positions of any two adjacent sub-regions within the vehicle's external region into the machine learning model for training, resulting in a second model associated with the two sub-regions input into the machine learning model.
[0067] The number of second models is the same as the number of sub-regions included in the vehicle's external area. Each second model is associated with two adjacent sub-regions. The second model can be used to determine which sub-region the digital key is located in. The number of second models can be determined by the number of sub-regions included in the vehicle's external area, with each second model associated with two adjacent sub-regions, such as in... Figure 2In the position detection area shown, the first model can be ps, and the second model can be fl, fr, lm, rm, bl, and br. Each second model is associated with two sub-regions. For example, the two sub-regions associated with the second model fl are the front front area and the front left area. The position of the digital key relative to the vehicle can be determined by the second model fl.
[0068] Furthermore, digital key area location methods also include:
[0069] Send the digital key to the location area relative to the vehicle.
[0070] The method of sending the digital key's location relative to the vehicle is not limited. For example, it can be done wirelessly, sending the location relative to the vehicle to the digital key, allowing the user to determine this location through the digital key's human-machine interface (HMI). The HMI can be a device for human-machine interaction by a user. HMIs include, but are not limited to, touchscreens and input devices (such as keyboards and buttons). The HMI may display the location relative to the vehicle.
[0071] In this invention, optionally, after determining the position area of the digital key relative to the vehicle, the vehicle can perform corresponding control operations, thereby providing convenience to the user. For example, when the position area of the digital key relative to the vehicle is the interior area of the vehicle, the engine can be started; or, when the position area of the digital key relative to the vehicle is the front left area of the vehicle, the headlights can be turned on.
[0072] Example 2
[0073] Figure 3 This is a flowchart of a digital key area positioning method according to Embodiment 2 of the present invention. This embodiment is a further refinement based on Embodiment 1 above.
[0074] In this embodiment of the invention, determining whether a digital key is inside the vehicle based on candidate signal strength values and a first model includes:
[0075] Input the candidate signal strength value into the first model to determine whether the digital key is in the vehicle's interior or exterior area.
[0076] In this embodiment of the invention, when the digital key is not located inside the vehicle, determining the target signal strength value based on candidate signal strength values includes:
[0077] When the digital key is not in the vehicle's interior area, select the external signal strength value from the candidate signal strength values;
[0078] Arrange the external signal strength values in descending order, and select a set number of external signal strength values as target signal strength values according to the arrangement order. The set number shall not exceed the total number of external signal strength values.
[0079] In this embodiment of the invention, determining the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station corresponding to the target signal strength value includes:
[0080] If the target base station corresponding to the two largest target signal strength values is located diagonally opposite the vehicle, then the previously determined location area will be used as the location area of the digital key relative to the vehicle in this case.
[0081] Otherwise, based on the location of the target base station corresponding to the target signal strength value, select the corresponding second model; input the candidate signal strength value into the selected second model to determine the location area of the digital key relative to the vehicle.
[0082] like Figure 3 As shown, the method includes:
[0083] S110. When the digital key enters the location detection area, acquire the candidate signal strength values of the digital key received by multiple base stations, with each base station set in the vehicle interior area and the vehicle exterior area respectively.
[0084] S121. Input the candidate signal strength value into the first model to determine whether the digital key is in the vehicle's interior or exterior area.
[0085] The method of determining whether the digital key is in the vehicle's interior or exterior area by inputting the candidate signal strength value into the first model is not limited. For example, the first model can calculate the parameters output by the first model based on the input candidate signal strength value. When the parameters output by the first model are not lower than the set value, the digital key is determined to be in the vehicle's interior area; otherwise, the digital key is determined to be in the vehicle's exterior area. The set value can be a value set according to the actual application requirements.
[0086] Once the digital key is located inside the vehicle, its location can be determined.
[0087] S131. When the digital key is not in the vehicle interior area, select the external signal strength value in the vehicle exterior area from the candidate signal strength values.
[0088] External signal strength value can refer to the signal strength value received by a base station located in the area outside the vehicle.
[0089] When the digital key is not inside the vehicle, the external signal strength value in the external area of the vehicle is selected from the candidate signal strength values. This can be understood as selecting the external signal strength value received by the base station in the external area of the vehicle from multiple candidate signal strength values.
[0090] S132. Arrange the external signal strength values in descending order, and select a set number of external signal strength values as target signal strength values according to the arrangement order. The set number shall not exceed the total number of external signal strength values.
[0091] The external signal strength values are arranged in descending order. A set number of external signal strength values are selected as target signal strength values according to the arrangement order. This can be understood as selecting a set number of external signal strength values with larger signal strength values as target signal strength values to determine which specific sub-area of the vehicle's external area the digital key is located in.
[0092] In one embodiment, four base stations are set in the area outside the vehicle. The four base stations can acquire four external signal strength values. If the number is set to three, the four external signal strength values can be arranged in descending order, and the three external signal strength values that appear first in the arrangement can be selected as the target signal strength values.
[0093] S141. Determine whether the target base station corresponding to the two largest target signal strength values is located on the diagonal of the vehicle. If yes, proceed to step S142; otherwise, proceed to step S143.
[0094] The diagonal position of a vehicle can be understood as the left side of the front of the vehicle and the right side of the rear of the vehicle, or the right side of the front of the vehicle and the left side of the rear of the vehicle, relative to the direction in which the vehicle is moving.
[0095] When the target base station corresponding to the two largest target signal strength values is located diagonally opposite the vehicle, it indicates that the reliability of the target signal strength value obtained this time in determining the location area of the digital key relative to the vehicle is low. Therefore, the target signal strength value obtained this time is discarded, and step S142 is executed. Otherwise, the location area of the digital key relative to the vehicle can be determined based on the target signal strength value obtained this time, and then step S143 is executed.
[0096] S142. Determine the previously determined location area as the location area of the digital key relative to the vehicle for this time.
[0097] During the process of determining the location area, as the digital key moves relative to the vehicle, the vehicle will determine the location area of the digital key relative to the vehicle multiple times and save it locally. This can be done by determining the location area of the digital key relative to the vehicle multiple times at a set frequency, which can be set according to actual needs.
[0098] When the target base station corresponding to the two largest target signal strength values is located diagonally opposite the vehicle, the location area of the digital key relative to the vehicle can be determined by calling the previously determined location area stored locally on the vehicle.
[0099] S143. Based on the location of the target base station corresponding to the target signal strength value, select the corresponding second model; input the candidate signal strength value into the selected second model to determine the location area of the digital key relative to the vehicle.
[0100] The method of selecting the corresponding second model based on the location of the target base station corresponding to the target signal strength value is not limited. For example, based on the magnitude of the target signal strength value and the location of the target base station corresponding to the target signal strength value, two related sub-regions that need to be distinguished can be determined, and then the second model corresponding to these two related sub-regions can be selected.
[0101] The method of inputting candidate signal strength values into the selected second model to determine the position area of the digital key relative to the vehicle is not limited. For example, the candidate signal strength values can be input into the selected second model, and the position area of the digital key relative to the vehicle can be determined according to the parameters output by the selected second model. If the parameters output by the selected second model are not lower than the set value, then the digital key is determined to be in one of the two associated sub-regions; otherwise, the digital key is determined to be in the other sub-region of the two associated sub-regions. The set value can be set according to the actual application needs.
[0102] The technical solution of this invention first determines whether the digital key is in the vehicle's interior or exterior area using a first model. When the digital key is in the vehicle's exterior area, a second model is used to determine the specific sub-area of the vehicle's exterior area where the digital key is located. The position area of the digital key relative to the vehicle is determined by combining the signal strength value with the first and second models, thereby improving the accuracy of digital key area positioning.
[0103] The following example, using a base station as a Bluetooth anchor point, illustrates the present invention:
[0104] This invention provides a Bluetooth digital key area positioning scheme. It utilizes machine learning algorithms to collect Received Signal Strength Indication (RSSI) data (i.e., signal strength values) of the Bluetooth key (i.e., digital key) at different locations within the vehicle. The collected data is then automatically learned, and the learned parameters are used to predict and delineate the area where the Bluetooth key is located (i.e., determine the location area of the digital key relative to the vehicle).
[0105] This invention provides a Bluetooth digital key area positioning scheme, comprising the following steps:
[0106] Four Bluetooth anchor points (base stations) are placed at the four corners of the car (i.e., vehicle), and one Bluetooth anchor point is placed at the front and rear of the car (i.e., the front and rear of the car) to communicate with the Bluetooth digital key and obtain the signal RSSI data of the Bluetooth digital key.
[0107] According to such Figure 2 The position detection area is divided in the way shown. The position detection area is also divided into the vehicle interior area and the vehicle exterior area. The vehicle exterior area is further divided into the front area (the area directly in front of the front of the vehicle), the left front area (the area directly in front of the left of the front of the vehicle), the left rear area (the area directly in front of the left of the front of the vehicle), the right front area (the area directly in front of the right of the front of the vehicle), the right rear area (the area directly in front of the right of the front of the vehicle), and the rear area (the area directly behind the rear of the vehicle).
[0108] In the process of training the machine learning model to obtain the first and second models, a logistic regression Gaussian kernel model is used. The principle is as follows:
[0109]
[0110] z=ω1×RSSI1+ω2×RSSI2+ω3×RSSI3+ω4×RSSI4+ω5×RSSI5+ω6×RSSI6
[0111] RSSI1 to RSSI6 are the signal strength values obtained by the six base stations, ω1 to ω6 are the parameters for model training, and g(z) is the output parameter of the model. When it is necessary to determine which location region is between two location regions, g(z) ≥ 0.5 can be set to determine one of the location regions, and otherwise it can be the other location region between the two location regions.
[0112] The Bluetooth digital key operates both inside and outside the PS area (i.e., the vehicle interior area), collecting RSSI signal data (i.e., signal strength values) from six anchor points on the vehicle. The collected data is then trained using a machine learning model (logistic regression Gaussian kernel model) to train a binary classification machine learning model ps (i.e., the first model) that distinguishes between PS and non-PS areas, with six prediction parameters (ω1 to ω6).
[0113] The Bluetooth digital key moves within the front and left front areas of the vehicle, collecting RSSI signal data from six anchor points on the vehicle. The collected data is then used to train a machine learning model (logistic regression Gaussian kernel model) to develop six prediction parameters for a binary classification machine learning model fl (i.e., the second model fl) that distinguishes between the left front and front areas.
[0114] RSSI signal data of the Bluetooth digital key received at 6 anchor points when the Bluetooth digital key moves in the front and right front areas of the vehicle. The collected data is used to train a machine learning model (logistic regression Gaussian kernel model) to train 6 prediction parameters for a binary classification machine learning model fr (i.e., the second model fr) that distinguishes between the right front and front areas of the vehicle.
[0115] As described above, RSSI signal data from two adjacent regions were collected separately. Machine learning models (logistic regression Gaussian kernel model) were then used to train the following models: lm (second model lm) to distinguish between the front left and rear left; rm (second model rm) to distinguish between the front right and rear right; bl (second model bl) to distinguish between the rear left and the rear of the vehicle; and br (second model br) to distinguish between the rear right and the rear of the vehicle. After the machine model parameters were trained, the learned parameters for each model were saved and stored locally on the vehicle.
[0116] The steps to determine the location area of the digital key relative to the vehicle are as follows:
[0117] (1) When the Bluetooth digital key approaches the vehicle and enters the PE area (location detection area), it sends the RSSI data obtained by the vehicle's 6 base stations to the vehicle.
[0118] (2) Obtain the parameters of the training machine model ps (i.e. the first model), and determine whether the Bluetooth key is in the PS area based on the prediction function of the machine learning model (logistic regression Gaussian kernel model). If it is not in the PS area, proceed to step (3); if it is in the PS area, the algorithm judgment ends and the key is notified that it is in the PS area.
[0119] (3) Extract the RSSI data (i.e., external signal strength values) of the four base stations at the vehicle location and sort them from largest to smallest as RSSI1, RSSI2, RSSI3, and RSSI4;
[0120] The machine learning model parameters are selected based on the three largest base station locations (i.e., the location of the target base station) of RSSI1, RSSI2, and RSSI3.
[0121] Predict the Bluetooth key area location type based on the selected machine model parameters (i.e., target signal strength value) and the RSSI values of 6 base stations (i.e., candidate signal strength values):
[0122] a) If the RSSI1 value base station location (i.e., the target base station corresponding to the RSSI1 value) is on the left side of the front of the vehicle, the RSSI2 value base station location is on the right side of the front of the vehicle, and the RSSI3 value base station location is on the left side of the rear of the vehicle, then machine learning model fl is selected; if the RSSI3 value base station location is on the right side of the rear of the vehicle, then machine learning model fr is selected. If the RSSI2 value base station location is on the left side of the rear of the vehicle, and the RSSI3 value base station location is on the right side of the front of the vehicle, then machine learning model fl is selected; if the RSSI3 value base station location is on the right side of the rear of the vehicle, then machine learning model lm is selected. If the RSSI2 value base station location is on the right side of the rear of the vehicle, then it is determined as abnormal data, and the previous key location type is directly used (i.e., the location area determined last time is determined as the location area of the digital key relative to the vehicle this time).
[0123] b) If the RSSI1 base station is located on the right side of the front of the vehicle, the RSSI2 base station is located on the left side of the front of the vehicle, and the RSSI3 base station is located on the left side of the rear of the vehicle, then machine learning model fl is selected; if the RSSI3 base station is located on the right side of the rear of the vehicle, then machine learning model fr is selected; if the RSSI2 base station is located on the right side of the rear of the vehicle, and the RSSI3 base station is located on the left side of the front of the vehicle, then machine learning model fr is selected; if the RSSI3 base station is located on the left side of the rear of the vehicle, then machine learning model rm is selected. If the RSSI2 base station is located on the left side of the rear of the vehicle, then it is considered abnormal data, and the previous key location type is directly used.
[0124] c) If the RSSI1 base station is located on the left rear of the vehicle, the RSSI2 base station on the right rear of the vehicle, and the RSSI3 base station on the left front of the vehicle, then machine learning model bl is selected; if the RSSI3 base station is located on the right front of the vehicle, then machine learning model br is selected; if the RSSI2 base station is located on the left front of the vehicle and the RSSI3 base station is located on the right front of the vehicle, then machine learning model fl is selected; if the RSSI3 base station is located on the right rear of the vehicle, then machine learning model lm is selected. If the RSSI2 base station is located on the right front of the vehicle, then it is considered abnormal data, and the previous key location type is directly used.
[0125] d) If the RSSI1 base station is located on the right rear of the vehicle, the RSSI2 base station on the left rear of the vehicle, and the RSSI3 base station on the left front of the vehicle, then machine learning model bl is selected; if the RSSI3 base station is located on the right front of the vehicle, then machine learning model br is selected; if the RSSI2 base station is located on the right front of the vehicle and the RSSI3 base station is located on the left front of the vehicle, then machine learning model fr is selected; if the RSSI3 base station is located on the left rear of the vehicle, then machine learning model rm is selected. If the RSSI2 base station is located on the left front of the vehicle, it is considered abnormal data, and the previous key location type is directly used.
[0126] Figure 4 This is a flowchart of another digital key area positioning method provided by Embodiment 2 of the present invention, including the following steps:
[0127] S201. Obtain the key RSSI values (i.e. candidate signal strength values) read from 6 base stations.
[0128] S202. Sort the RSSI data of the four base stations outside the vehicle (i.e., external signal strength values).
[0129] S203. Select the machine learning model (i.e., the second model) based on the three largest RSSI data (i.e., the target signal strength values).
[0130] S204. Determine whether the model selection is complete. If yes, proceed to step S205, then proceed to step S207; otherwise, proceed to step S206, then end the process.
[0131] S205. Select the corresponding model parameters to determine the location area (i.e., input the candidate signal strength value into the selected second model to determine the location area of the digital key relative to the vehicle), and execute step S207.
[0132] S206. Use the key location area type from the previous operation (that is, use the location area determined last time as the location area of the digital key relative to the vehicle this time) and end the operation.
[0133] S207, Update key location area type.
[0134] The Bluetooth digital key area positioning scheme provided by this invention can learn and analyze a large amount of collected data through machine learning models, and improve the accuracy of Bluetooth key location area judgment by calibrating and training RSSI value data.
[0135] The Bluetooth digital key area positioning scheme provided by this invention can use a machine learning model to automatically analyze data, train and output model parameters, and solve the problems of high algorithm complexity and poor versatility when judging based on the RSSI signal strength of the vehicle's Bluetooth base station combined with the TDOA algorithm.
[0136] Example 3
[0137] Figure 5 This is a schematic diagram of a digital key area positioning device according to Embodiment 3 of the present invention. This embodiment is applicable to situations where digital keys are used for area positioning. Figure 5 As shown, the specific structure of the device includes:
[0138] The first acquisition module 21 is used to acquire candidate signal strength values of the digital key received by multiple base stations when the digital key enters the location detection area. Each base station is set in the vehicle interior area and the vehicle exterior area respectively.
[0139] The first determining module 22 is used to determine whether the digital key is in the vehicle interior area based on the candidate signal strength value and the first model. The first model is used to determine whether the digital key is in the vehicle interior area or the vehicle exterior area.
[0140] The second determining module 23 is used to determine the target signal strength value based on the candidate signal strength value when the digital key is not in the vehicle interior area;
[0141] The third determining module 24 is used to determine the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station corresponding to the target signal strength value.
[0142] The digital key area positioning device provided in this embodiment first acquires candidate signal strength values of the digital key received by multiple base stations when the digital key enters the location detection area via the first acquisition module 21. Each base station is respectively located in the vehicle interior area and the vehicle exterior area. Second, the first determination module 22 determines whether the digital key is in the vehicle interior area based on the candidate signal strength values and a first model, whereby the first model is used to determine whether the digital key is in the vehicle interior area or the vehicle exterior area. Then, the second determination module 23 determines the target signal strength value based on the candidate signal strength values when the digital key is not in the vehicle interior area. Finally, the third determination module 24 determines the location area of the digital key relative to the vehicle based on the target signal strength value and the location of the target base station corresponding to the target signal strength value.
[0143] Furthermore, the position detection area includes the vehicle interior area and the vehicle exterior area. The vehicle exterior area consists of at least the area directly in front of the vehicle, the area to the left front of the vehicle, the area to the left rear of the vehicle, the area to the right front of the vehicle, the area to the right rear of the vehicle, and the area directly behind the rear of the vehicle.
[0144] Furthermore, before acquiring candidate signal strength values of the digital key received by multiple base stations when the digital key enters the location detection area, the device also includes:
[0145] The second acquisition module is used to acquire the signal strength values of the digital key received by each base station multiple times when the digital key enters the location detection area.
[0146] The model training module is used to input the signal strength value and area labeling results into the machine learning model for training, to obtain the first model and multiple second models. The number of second models is the same as the number of sub-regions included in the vehicle's external area. Each second model is associated with two sub-regions. The second model is used to determine which sub-region the digital key is located in. The sub-regions include the area directly in front of the vehicle, the area to the left front of the vehicle, the area to the left rear of the vehicle, the area to the right front of the vehicle, the area to the right rear of the vehicle, or the area directly behind the rear of the vehicle.
[0147] Furthermore, the first determining module 22 is specifically used for:
[0148] Input the candidate signal strength value into the first model to determine whether the digital key is in the vehicle's interior or exterior area.
[0149] Furthermore, the second determining module 23 is specifically used for:
[0150] When the digital key is not in the vehicle's interior area, select the external signal strength value from the candidate signal strength values;
[0151] Arrange the external signal strength values in descending order, and select a set number of external signal strength values as target signal strength values according to the arrangement order. The set number shall not exceed the total number of external signal strength values.
[0152] Furthermore, the third determining module 24 is specifically used for:
[0153] If the target base station corresponding to the two largest target signal strength values is located diagonally opposite the vehicle, then the previously determined location area will be used as the location area of the digital key relative to the vehicle in this case.
[0154] Otherwise, based on the location of the target base station corresponding to the target signal strength value, select the corresponding second model; input the candidate signal strength value into the selected second model to determine the location area of the digital key relative to the vehicle.
[0155] Furthermore, the device also includes:
[0156] The sending module is used to send the location area of the digital key relative to the vehicle to the digital key.
[0157] The digital key area positioning device provided in the embodiments of the present invention can execute the digital key area positioning method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.
[0158] Example 4
[0159] Figure 6 This is a structural schematic diagram of a vehicle implementing the digital key area positioning method of this invention. The specific type of vehicle is not limited; it can be a motor vehicle, a non-motor vehicle, etc., as long as it can wirelessly communicate with the digital key. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0160] like Figure 6As shown, vehicle 10 includes at least one processor 11 and a memory, such as read-only memory (ROM) 12 and random access memory (RAM) 13, communicatively connected to at least one processor 11. The memory stores computer programs executable by at least one processor. Processor 11 can perform various appropriate actions and processes based on the computer program stored in ROM 12 or loaded from storage unit 18 into RAM 13. RAM 13 can also store various programs and data required for the operation of vehicle 10. Processor 11, ROM 12, and RAM 13 are interconnected via bus 14. Input / output (I / O) interface 15 is also connected to bus 14.
[0161] Multiple components in vehicle 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows vehicle 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0162] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the digital key area location method.
[0163] In some embodiments, the digital key area location method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on vehicle 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the digital key area location method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the digital key area location method by any other suitable means (e.g., by means of firmware).
[0164] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0165] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0166] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0167] To provide interaction with the user, the systems and technologies described herein can be implemented in a vehicle having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the vehicle. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0168] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0169] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0170] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0171] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A digital key zone positioning method, characterized by, The method comprises: acquiring candidate signal strength values of the digital key received by a plurality of base stations when the digital key enters a position detection area, each of the base stations being arranged in an internal area of the vehicle and an external area of the vehicle respectively; determining whether the digital key is in the internal area of the vehicle based on the candidate signal strength values and a first model, the first model being used to determine whether the digital key is in the internal area of the vehicle or the external area of the vehicle; when the digital key is not in the internal area of the vehicle, determining a target signal strength value based on the candidate signal strength values; determining a position area of the digital key relative to the vehicle based on the target signal strength value and a position of a target base station corresponding to the target signal strength value; wherein the determination of the position area of the digital key relative to the vehicle based on the target signal strength value and the position of the target base station corresponding to the target signal strength value comprises: in the target signal strength value, if two target base stations corresponding to the maximum values of the target signal strength value are at diagonal positions of the vehicle, a last determined position area is determined as the position area of the digital key relative to the vehicle; otherwise, a second model corresponding to the target base station corresponding to the target signal strength value is selected according to the position of the target base station, the candidate signal strength values are input into the selected second model, and the position area of the digital key relative to the vehicle is determined; when a parameter output by the selected second model is not lower than a set value, the digital key is in one of two associated sub-areas of the selected second model; when the parameter output by the selected second model is lower than the set value, the digital key is in the other of the two associated sub-areas; the sub-areas are areas divided from the external area of the vehicle.
2. The method of claim 1, wherein, The position detection area comprises the internal area of the vehicle and the external area of the vehicle, and the external area of the vehicle is composed of at least a front area, a left front area, a left rear area, a right front area, a right rear area and a rear area.
3. The method of claim 2, wherein, Before acquiring the candidate signal strength values of the digital key received by the plurality of base stations when the digital key enters the position detection area, the method further comprises: acquiring signal strength values of the digital key received by each base station multiple times when the digital key enters the position detection area; inputting the signal strength values and area marking results into a machine learning model to train the first model and a plurality of second models, the number of the second models being the same as the number of sub-areas included in the external area of the vehicle, each second model being associated with two sub-areas, and the second model being used to determine which of the associated sub-areas the digital key is in, the sub-areas including the front area, the left front area, the left rear area, the right front area, the right rear area or the rear area.
4. The method of claim 3, wherein, The determination of whether the digital key is in the internal area of the vehicle based on the candidate signal strength values and the first model comprises: inputting the candidate signal strength values into the first model to determine whether the digital key is in the internal area of the vehicle or the external area of the vehicle.
5. The method of claim 1, wherein, determining a target signal strength value based on the candidate signal strength values when the digital key is not in the vehicle interior region, including: selecting an outside signal strength value in the vehicle exterior region from the candidate signal strength values when the digital key is not in the vehicle interior region; arranging the outside signal strength values in descending order, and selecting a set number of outside signal strength values as the target signal strength values according to the arrangement order, the set number not exceeding the total number of the outside signal strength values.
6. The method of claim 1, wherein, Further comprising: sending the position region of the digital key relative to the vehicle to the digital key.
7. A digital key zone positioning apparatus, characterized by, Including: a first acquisition module, configured to acquire candidate signal strength values of a digital key received by a plurality of base stations when the digital key enters a position detection region, each of the base stations being arranged in a vehicle interior region and a vehicle exterior region; a first determination module, configured to determine whether the digital key is in the vehicle interior region based on the candidate signal strength values and a first model, the first model being used to determine whether the digital key is in the vehicle interior region or the vehicle exterior region; a second determination module, configured to determine a target signal strength value based on the candidate signal strength values when the digital key is not in the vehicle interior region; a third determination module, configured to determine a position region of the digital key relative to the vehicle based on the target signal strength value and a position of a target base station corresponding to the target signal strength value; wherein the third determination module is specifically configured to: if two target base stations corresponding to the two values with the maximum target signal strength values are in diagonal positions of the vehicle in the target signal strength values, determining a last determined position region as the position region of the digital key relative to the vehicle this time; otherwise, selecting a second model corresponding to the target base station according to the position of the target base station, inputting the candidate signal strength values into the selected second model, and determining the position region of the digital key relative to the vehicle; wherein when a parameter output by the selected second model is not lower than a set value, the digital key is in one of two associated sub-regions of the selected second model; and when the parameter output by the selected second model is lower than the set value, the digital key is in the other of the two associated sub-regions; the sub-region is a region divided from the vehicle exterior region.
8. A vehicle characterized by comprising: Including: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the method in any one of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method in any one of claims 1-6.
Citation Information
Patent Citations
System, method and product for locating vehicle key using neural networks
CN103473831A