Key positioning method, device and equipment

By connecting the second communication component with the third communication component in the vehicle when the first communication component inside the key malfunctions, the key position is determined based on signal characteristic parameters. This solves the problem of the UWB communication component being unable to be located under low voltage, and achieves accurate key positioning and extended availability under low voltage.

CN119600707BActive Publication Date: 2025-11-18CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411585269.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-11-18
Estimated Expiration
2044-11-07

AI Technical Summary

Technical Problem

In existing key positioning methods, the power consumption of UWB communication components is relatively high and the power supply voltage requirement is high, which makes it impossible to accurately locate the key under low voltage conditions, affecting its availability.

Method used

In the event of an abnormal state of the first communication component inside the key, the third communication component in the vehicle is used to connect with the second communication component, and the key position is determined by signal characteristic parameters, thereby reducing the demand for power supply voltage.

Benefits of technology

It can still achieve accurate key positioning under low supply voltage, extending the key's working time and improving its usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600707B_ABST
    Figure CN119600707B_ABST
Patent Text Reader

Abstract

The application provides a key positioning method, device and equipment. The method comprises the following steps: acquiring the power supply voltage of a battery in a key; determining that a first communication component is in an abnormal state when the power supply voltage is less than a first working voltage of the first communication component; controlling a third communication component in a vehicle to be connected to a second communication component when the first communication component is in the abnormal state and the power supply voltage is greater than or equal to a second working voltage of the second communication component; determining the distance between the third communication component and the key according to a signal characteristic parameter when the third communication component is connected to the second communication component, and determining the key position indicated by the distance. The application can avoid the problem that the first communication component used for positioning is abnormal and cannot be positioned when the power supply voltage is reduced, and the key is positioned by the second communication component of the key, thereby improving the usability of the key.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of vehicles, and particularly relate to a key positioning method and device and electronic equipment. BACKGROUND

[0002] With the development of intelligent vehicles, keys have gradually taken on more functions, and thus intelligent keys or vehicle digital keys have emerged. Through the keys, rich functions such as remote control and vehicle state monitoring can be achieved, and these functions need to be based on accurate positioning of the keys.

[0003] At present, the keys can be positioned by a wireless communication component in the key. A communication component based on ultra-wideband (UWB) can achieve centimeter-level positioning, and accurate positioning can help achieve various functions.

[0004] However, based on the current positioning scheme, the power consumption is large, and the supply voltage of the battery in the key is high, which can easily lead to inaccurate positioning and low usability of the key. SUMMARY

[0005] In view of the above problems, the embodiments of the present disclosure are proposed to provide a key positioning method, device, electronic equipment and computer readable storage medium which can overcome the above problems or at least partially solve the above problems.

[0006] In a first aspect, the embodiments of the present disclosure disclose a key positioning method, comprising:

[0007] obtaining a supply voltage of a battery in a key, and determining that a first communication component is in an abnormal state if the supply voltage is less than a first working voltage of the first communication component; the key comprising the first communication component and a second communication component; the first communication component being configured to position the key;

[0008] controlling a third communication component in a vehicle to be connected to the second communication component if the first communication component is in the abnormal state and the supply voltage is greater than or equal to a second working voltage of the second communication component;

[0009] determining a distance between the third communication component and the key according to a signal characteristic parameter when the third communication component and the second communication component are connected, and determining a key position indicated by the distance; the signal characteristic parameter representing a connection state of the second communication component and the third communication component.

[0010] In a second aspect, the embodiments of the present disclosure disclose a key positioning device, comprising:

[0011] An anomaly determination module is used to obtain the power supply voltage of the battery inside the key, and determine that the first communication component is in an abnormal state when the power supply voltage is less than the first operating voltage of the first communication component; the key includes the first communication component and a second communication component; the first communication component is used to locate the key;

[0012] A communication establishment module is used to control a third communication component in the vehicle to connect to the second communication component when the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component.

[0013] The key positioning module is used to determine the distance between the third communication component and the key based on the signal characteristic parameters when the third communication component and the second communication component are connected, and to determine the key position indicated by the distance; the signal characteristic parameters indicate the connection state between the second communication component and the third communication component.

[0014] Thirdly, this disclosure also discloses an electronic device, including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the key positioning method as described in the first aspect.

[0015] Fourthly, embodiments of this disclosure also disclose a computer-readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the key location method as described in the first aspect.

[0016] In this embodiment, by acquiring the power supply voltage of the battery inside the key, if the power supply voltage is less than the first operating voltage of the first communication component, it is determined that the first communication component is in an abnormal state. If the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component, a third communication component in the vehicle is connected to the second communication component. Based on the signal characteristic parameters of the connection between the third and second communication components, the distance between the third communication component and the key is determined, and the key position indicated by the distance is determined. This allows for key positioning based on the signal characteristic parameters of the connection between the second and third communication components, even when the power supply voltage of the key is insufficient for the first communication component to operate normally. This avoids the problem of the first communication component being in an abnormal state and unable to position properly due to insufficient voltage, enriching the diversity of key positioning methods, reducing the power supply voltage requirement for positioning, enabling accurate key positioning even at lower power supply voltages, thereby extending the key's working time and ultimately improving key usability. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the steps of a key positioning method provided in an embodiment of this disclosure;

[0018] Figure 2 This is a flowchart illustrating another key positioning method provided in this embodiment of the disclosure;

[0019] Figure 3 This is a schematic diagram of multiple reference positions provided in embodiments of this disclosure;

[0020] Figure 4 This is a schematic diagram illustrating positioning based on multiple reference positions provided in an embodiment of this disclosure.

[0021] Figure 5 This is a block diagram of a key positioning device provided in an embodiment of this disclosure;

[0022] Figure 6 This is a block diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0023] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.

[0024] With the increasing popularity of digital car keys, third-generation digital keys have made significant progress in smart cars. These third-generation digital keys are smart car keys based on Near Field Communication (NFC), Bluetooth Low Energy (BLE), and UWB technologies.

[0025] Figure 1 The diagram illustrates the steps of a key location method provided in an embodiment of this disclosure. The method includes:

[0026] Step 101: Obtain the power supply voltage of the battery inside the key; if the power supply voltage is less than the first operating voltage of the first communication component, determine that the first communication component is in an abnormal state; the key includes the first communication component and the second communication component; the first communication component is used to locate the key.

[0027] In this embodiment, the executing entity can be a controller within the vehicle, and the key can be a smart key that interacts with the controller. The key can perform complex functions that traditional keys cannot, such as remote vehicle control and vehicle status monitoring. To achieve these functions, the key needs to be located. If the key cannot be accurately located, the key functions cannot be performed normally, meaning the key is unusable.

[0028] The key contains a battery that powers the communication components inside. The controller can detect the battery's voltage to determine its current health. Different communication components may operate at different voltages, which can refer to a voltage range.

[0029] The communication component can operate normally when the supply voltage is within the indicated operating voltage range. The first communication component can be a communication component implemented based on UWB technology, and the key positioning can be mainly achieved by the first communication component.

[0030] Although the first communication component can provide high-precision positioning, it consumes a lot of power and has high requirements for the power supply voltage, which can easily lead to rapid battery depletion. After a certain period of consumption, the power supply voltage may fall below the first operating voltage corresponding to the first communication component, causing the first communication component to malfunction, i.e., unable to locate or unable to locate accurately, and thus enter an abnormal state.

[0031] In addition to the first communication component, the key may also include other communication components. For example, in the case of a third-generation digital key, besides the first communication component based on UWB technology, it may also include a second communication component based on BLE technology and other communication components. It is understood that the aforementioned first communication component based on UWB and second communication component based on BLE are merely examples; different smart keys may use different communication components implemented based on different communication technologies.

[0032] Step 102: When the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component, control the third communication component in the vehicle to connect to the second communication component.

[0033] In this embodiment, the first communication component has a higher requirement for power supply voltage, while other communication components, such as the second communication component, have relatively lower requirements. Therefore, when the power supply voltage is lower than the first operating voltage, it can fall into the range of lower than the first operating voltage but greater than or equal to the second operating voltage of the second communication component. Since the decreased power supply voltage can still meet the second operating voltage requirement of the second communication component, the second communication component can still operate normally even when the first communication component is in an abnormal state.

[0034] Key positioning can then be performed based on the second communication component, and multiple third communication components in the vehicle can be controlled to connect to the second communication component. The third communication components in the vehicle can have the same type of communication method as the second communication component; for example, both the second and third communication components may communicate based on BLE.

[0035] The third communication component is fixedly installed in a specific location on the vehicle. For example, it can be installed in the upper left corner, upper right corner, lower left corner, lower right corner, the middle of the left side of the vehicle, or the middle of the right side of the vehicle. It can also be installed on the vehicle's main controller or in other locations; there are no restrictions. Because the third communication component is fixed, its location can be determined once the vehicle's position is known.

[0036] Step 103: Determine the distance between the third communication component and the key based on the signal characteristic parameters when the third communication component and the second communication component are connected, and determine the key position indicated by the distance; the signal characteristic parameters indicate the connection state between the second communication component and the third communication component.

[0037] In this embodiment of the disclosure, if the location of the third communication component is different, the signal characteristic parameters when the third communication component and the second communication component are connected will also be different. The signal characteristic parameters may be signal strength, i.e., Received Signal Strength Indication (RSSI), time of arrival (TOA), or time difference of arrival (TDOA), as well as other characteristic parameters.

[0038] The distance between the second and third communication components can be calculated using signal characteristic parameters. For example, distance can be calculated based on the RSSI signal strength. Since RSSI is negative, the absolute value of the RSSI can be taken first, and then combined with the signal strength 'a' at a distance of one meter between the second and third communication components and the environmental attenuation factor 'n' to fit the relative distance. The values ​​of 'a' and 'n' can be different for different second and third communication components. These values ​​can be obtained beforehand through testing; for example, 'a' could be 70 and 'n' could be 2.0.

[0039] After calculating the distance between the key and the third communication component, a point that meets the relative distance requirement can be determined as the key's location. For example, if there are three third communication components, the key's location can be determined using a trilateration algorithm. This algorithm calculates the target's precise location by measuring the distances between the target (the second communication component) and three known locations (the third communication components) and applying trigonometry principles. It's understandable that the directly calculated location is the position of the second communication component, but since the second communication component is located within the key, it can be directly used as the key's location.

[0040] In summary, in this embodiment, by acquiring the power supply voltage of the battery inside the key, if the power supply voltage is less than the first operating voltage of the first communication component, it is determined that the first communication component is in an abnormal state. If the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component, the third communication component in the vehicle is connected to the second communication component. Based on the signal characteristic parameters of the connection between the third and second communication components, the distance between the third communication component and the key is determined, and the key position indicated by the distance is determined. This allows for key positioning based on the signal characteristic parameters of the connection between the second and third communication components, even when the power supply voltage of the key is insufficient for the first communication component to operate normally. This avoids the problem of the first communication component being in an abnormal state and unable to position properly due to insufficient voltage, enriches the diversity of key positioning methods, reduces the power supply voltage requirement for positioning, and enables accurate key positioning even at lower power supply voltages, thereby extending the key's working time and ultimately improving key usability.

[0041] refer to Figure 2 The diagram illustrates a flowchart of a key location method provided in an embodiment of this disclosure, the method comprising:

[0042] Step 201: Obtain the power supply voltage of the battery inside the key; if the power supply voltage is less than the first operating voltage of the first communication component, determine that the first communication component is in an abnormal state; the key includes the first communication component and the second communication component; the first communication component is used to locate the key;

[0043] Step 202: When the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component, control the third communication component in the vehicle to connect to the second communication component.

[0044] Step 203: Determine the distance between the third communication component and the key based on the signal characteristic parameters when the third communication component and the second communication component are connected, and determine the key position indicated by the distance; the signal characteristic parameters indicate the connection state between the second communication component and the third communication component.

[0045] Steps 201-203 above can be referred to the above. Figure 1 The details of the embodiments will not be repeated here.

[0046] Optionally, the method further includes:

[0047] Step A: When the second communication component is connected to multiple third communication components, a preset number of third communication components are selected as the target communication component;

[0048] Step 203, which determines the distance between the third communication component and the key based on the signal characteristic parameters when the third communication component and the second communication component are connected, and determines the key position indicated by the distance, includes:

[0049] Step 2031: Determine the distance between each target communication component and the key based on the signal characteristic parameters when each target communication component and the second communication component are connected, and determine the key position indicated by the distance.

[0050] In this embodiment of the disclosure, when the second communication component is connected to multiple third communication components, a preset number of third communication components can be selected as target communication components. The preset number can be 3, 5, or other different quantities. The selection method can be random or specific. For example, the preset number of third communication components that first successfully connected can be selected, or the preset number of third communication components that last successfully connected can be selected. The selection method and specific number are not specifically limited here.

[0051] By implementing the embodiments of this disclosure, when the second communication component is connected to multiple third communication components, a preset number of third communication components are selected as target communication components. Based on the signal characteristic parameters of each target communication component, the distance between each target communication component and the key is determined, and the key position indicated by the distance is determined. This reduces the distance between the third communication components and the key that needs to be calculated, thereby improving the efficiency of key positioning.

[0052] Optionally, step 2031, which determines the distance between each target communication component and the key based on the signal characteristic parameters when each target communication component and the second communication component are connected, and determines the key position indicated by the distance, includes:

[0053] Step B1: In the case of multiple selections, determine the distance between the key and each target communication component based on the signal characteristic parameters corresponding to the preset number of target communication components selected each time, and determine the reference position of the distance indication.

[0054] Step B2: Based on the multiple reference positions obtained after multiple selections, determine the key position indicated by the multiple reference positions.

[0055] In this embodiment of the disclosure, the process of selecting a preset number of third communication components as target communication components can be performed multiple times, with each selection involving a preset number of third communication components.

[0056] After selecting a preset number of third communication components each time, similarly, based on the signal characteristic parameters, such as signal strength, when each target communication component and the second communication component are connected, the distance between the key and each target communication component is determined to determine a reference position of the key.

[0057] Then, subsequent selections are made. Similarly, the distance between the key and each target communication component is measured, and another reference position for the key is determined. Each selection yields a reference position. After multiple selections, multiple reference positions are obtained, and the key's position is determined based on these multiple reference positions. This can be done by calculating an average of the coordinates of multiple reference positions; for example, the x-coordinate of the key's position can be calculated by averaging the x-coordinates of four reference positions, and the y-coordinate of the key's position can be calculated by averaging the y-coordinates of four reference positions.

[0058] Figure 3 This is a schematic diagram of multiple reference positions provided in embodiments of this disclosure; Figure 3 The system includes a vehicle 30, which includes a main controller 310, a third communication component 321, a third communication component 322, a third communication component 323, a third communication component 324, a third communication component 325, and a third communication component 326. Reference position A can be obtained based on the signal strength of the third communication components 321, 323, and 325; reference position B can be obtained based on the signal strength of the third communication components 322, 324, and 326; and reference position C can be obtained based on the signal strength of the third communication components 321, 322, and 323 in the main controller 320.

[0059] In implementing the embodiments of this disclosure, when multiple selections are made, the distance between the key and each target communication component is determined based on the signal characteristic parameters corresponding to a preset number of target communication components selected each time, thus obtaining a reference position for the key. The key's position is then determined based on the multiple reference positions obtained after multiple selections. This method, which allows for obtaining multiple key reference positions based on multiple selections and comprehensively determining the key's position based on these reference positions, improves the accuracy of key positioning.

[0060] Optionally, step B2, which determines the key position jointly indicated by multiple reference positions obtained after multiple selections, includes:

[0061] Step B21: Determine a reference graphic composed of multiple reference positions based on multiple reference positions;

[0062] Step B22: Determine the center of the reference graphic and use the position of the center as the position of the key.

[0063] In this embodiment of the disclosure, a reference shape formed by multiple reference positions can be determined based on these multiple reference positions. For example, if there are three reference positions, the formed reference shape can be a triangle; if there are four reference positions, the formed reference shape can be a quadrilateral.

[0064] The center of a reference figure can be determined, and its position can be used as the key's location. For example, if the first reference position is (x1, y1), the second is (x2, y2), and the third is (x3, y3), and the reference figure is a triangle, then the center of the reference figure can be... This section does not specifically limit the calculation method when other numbers of reference positions constitute other reference graphics.

[0065] Figure 4 This is a schematic diagram illustrating positioning based on multiple reference positions provided in an embodiment of this disclosure; Figure 4 The reference positions include A401, B402, and C403. When the reference positions A401, B402, and C403 form an equilateral triangle, then the key position 404 is located at the center of the triangle.

[0066] By implementing the embodiments of this disclosure, a reference pattern composed of multiple reference positions is determined based on multiple reference positions, the center of the reference pattern is determined, and the position of the center is used as the position of the key. The key position can be conveniently determined by using the center of the reference pattern, thereby improving the efficiency of key positioning.

[0067] Optionally, the method further includes:

[0068] In the case of a non-first selection among multiple selections, a candidate third communication component corresponding to the non-first selection is determined;

[0069] Determine at least one previous historical selection prior to the non-first selection, and the historical third communication component corresponding to each of the at least one historical selection;

[0070] If the candidate third communication component is the same as any historical third communication component corresponding to a historical selection, the current selection is repeated.

[0071] In this embodiment of the disclosure, multiple selections are made to ultimately calculate multiple reference positions. To ensure the diversity and effectiveness of the reference positions, each selected preset number of third communication components must differ from the other selected preset number of third communication components. For example, the first selected third communication components include A, B, and C, and the second selected third communication components may include A, B, and D, meaning that at least one component is different.

[0072] When multiple selections are made, the first selection does not need to consider conflicts with other selections, therefore no restrictions are required on the first selection. In the case of non-first selections (e.g., the second, third, etc.) within multiple selections, candidate third communication components corresponding to the non-first selections are determined. Furthermore, at least one previous historical selection prior to the non-first selection needs to be determined, along with the historical third communication components corresponding to each of those selections. For example, the current non-first selection is the third selection, and the historical selections include the first and second selections.

[0073] If the candidate third communication component is the same as any historical third communication component corresponding to a historical selection, the current selection is repeated to avoid the occurrence of completely identical third communication components, thereby avoiding obtaining the same reference position.

[0074] Additionally, it's important to note that the preset number of third communication components selected each time cannot be on a straight line. If they are on a straight line, it may be impossible to determine a unique reference position.

[0075] By implementing the embodiments of this disclosure, in the case of a non-first selection among multiple selections, a candidate third communication component corresponding to the non-first selection is determined, at least one previous historical selection is determined, and a historical third communication component corresponding to each of the at least one historical selection is determined. If the candidate third communication component is the same as any historical third communication component corresponding to a historical selection, the current selection is re-performed. This can avoid the third communication component being the same in multiple selections, thereby avoiding invalid selections and invalid calculations, ensuring that there are no duplicate reference positions, improving the effectiveness of the reference position, and thus improving the accuracy of key positioning.

[0076] Optionally, the step of selecting a preset number of third communication components as the target communication component when the second communication component is connected to multiple third communication components includes:

[0077] When the second communication component is connected to multiple third communication components, the signal strength of each third communication component when connected to the second communication component is determined to obtain a set of signal strengths;

[0078] In the set of signal strengths, a target signal strength that meets the preset signal conditions is determined, and a third communication component corresponding to the target signal strength is determined as the target communication component.

[0079] In this embodiment of the disclosure, the target communication component may be selected based on signal strength. When the second communication component is connected to each of the third communication components, the signal strength between the second communication component and each of the third communication components is determined to obtain a set of signal strengths.

[0080] The target signal strength can be selected based on preset signal conditions. For example, the signal strengths in the set can be sorted, with the preset signal condition being the three strongest signal strengths. Alternatively, the maximum, minimum, and median signal strengths in a signal strength sequence can be selected. There are no specific restrictions on how the target signal strength is determined.

[0081] After determining the target signal strength, the third communication component corresponding to the target signal strength is designated as the target communication component.

[0082] By implementing the embodiments of this disclosure, a set of signal strengths is obtained by determining the signal strength when the second communication component is connected to each of the third communication components. In the set of signal strengths, a target signal strength that meets the preset signal conditions is determined, and the third communication component corresponding to the target signal strength is determined as the target communication component. The target communication component can be conveniently selected based on the signal strength, thereby improving the efficiency of key positioning.

[0083] Optionally, the step of determining a target signal strength that meets preset signal conditions from the set of signal strengths, and determining a third communication component corresponding to the target signal strength as the target communication component, includes:

[0084] From the set of signal strengths, the largest signal strength is determined as the target signal strength;

[0085] When the signal strength corresponding to each third communication component is a combination of signal strengths, determine the signal stability parameter corresponding to each combination of signal strengths in the set of signal strengths; the combination of signal strengths includes multiple signal strengths corresponding to the third communication component within a preset time period.

[0086] The largest signal stability parameter is used as the target stability parameter, and the target intensity combination corresponding to the target stability parameter is determined.

[0087] The third communication component corresponding to the target signal strength and the target strength combination is used as the target communication component.

[0088] In this embodiment of the disclosure, the preset signal conditions can be limited from multiple feature perspectives of signal strength, such as the magnitude of signal strength, the stability of signal strength, etc., and then different target signal strengths can be selected based on different features of signal strength.

[0089] In the set of signal strengths, the largest signal strength can be determined as the target signal strength. It is understood that there is generally only one largest signal strength. In the special case where there are two signal strengths with the same value, the two largest signal strengths can also be used as the target signal strengths.

[0090] Alternatively, the target signal strength can be selected based on the stability of the signal strength. It is understood that stability is usually judged based on a set of data; therefore, the signal strength corresponding to each third communication component can be a combination of signal strengths, such as multiple signal strengths corresponding to the third communication component within a preset time period.

[0091] The stability of signal strength combinations can be determined through various calculation methods, such as calculating variance, standard deviation, coefficient of variation, and extreme value difference. For example, variance can be calculated using the following formula:

[0092]

[0093] Among them, S rssi It's variance, rssi i rssi represents the i-th signal strength in the signal strength combination. average The value represents the average signal strength of the signal strength combination, and n represents the number of signal strengths in the signal strength combination.

[0094] The variance can be used as a signal stability parameter for the signal strength combination, and the largest signal stability parameter can be used as the target stability parameter. The target strength combination corresponding to the target stability parameter can then be determined. Furthermore, the third communication component corresponding to both the target signal strength and the target strength combination can be used as the target communication component. This can be understood as selecting the largest signal strength as the target signal strength, selecting two of the largest signal stability parameters as the target stability parameters, and determining the corresponding two target strength combinations.

[0095] By implementing embodiments of this disclosure, the largest signal strength in the set of signal strengths is determined as the target signal strength. When the signal strength corresponding to each third communication component is a combination of signal strengths, a signal stability parameter is determined for each signal strength combination. The largest signal stability parameter is taken as the target stability parameter, and a target strength combination corresponding to the target stability parameter is determined. The third communication components corresponding to the target signal strength and the target strength combination are each taken as target communication components. Selecting the third communication component based on the magnitude and stability of the signal strength improves the accuracy of distance calculation based on signal strength, thereby improving the accuracy of key positioning.

[0096] Optionally, the method further includes:

[0097] Obtain the current time interval parameter; the time interval parameter represents the time interval between any two connections between the second communication component and the third communication component; each interaction is used to obtain signal characteristic parameters;

[0098] The ratio of the supply voltage to the second operating voltage is determined, and the time interval parameter is updated based on the ratio.

[0099] In this embodiment of the disclosure, when the controller controls the connection between the third communication component and the second communication component, the corresponding signal characteristic parameters, such as signal strength, can be obtained through the interaction between the third communication component and the second communication component, for example, by sending a message to the second communication component through the third communication component.

[0100] The frequency of message transmission can be determined based on a time interval parameter, which represents the time interval between any two interactions between the second and third communication components. This time interval parameter limits the interaction frequency, and consequently, the frequency of signal strength acquisition.

[0101] The ratio of the battery supply voltage in the key to the second operating voltage is used as the adjustment parameter for the time interval. The time interval parameter is dynamically adjusted, referring to the following formula:

[0102]

[0103] Where interval represents the adjusted time interval parameter, T represents the original time interval parameter, and V represents the power supply voltage of the battery inside the key. BLE This indicates the second operating voltage.

[0104] Among them, the second working voltage V BLE It is fixed. As the supply voltage V decreases, the interval will become smaller and smaller, which in turn will increase the frequency at which the signal strength is acquired.

[0105] By implementing the embodiments of this disclosure, by obtaining the current time interval parameter, determining the ratio of the power supply voltage and the second operating voltage, and updating the time interval parameter based on the ratio, the time interval parameter can be dynamically adjusted according to the power supply voltage of the battery in the key, thereby increasing or decreasing the frequency of obtaining signal characteristic parameters, such as signal strength. When the power supply voltage is low, more dense signal characteristic parameters can be obtained for key positioning, thus improving the accuracy of key positioning.

[0106] Figure 5 This disclosure provides a key positioning device, device 50 including:

[0107] An anomaly determination module 501 is used to obtain the power supply voltage of the battery inside the key, and determine that the first communication component is in an abnormal state when the power supply voltage is less than the first operating voltage of the first communication component; the key includes the first communication component and the second communication component; the first communication component is used to locate the key;

[0108] The communication establishment module 502 is used to control the third communication component in the vehicle to connect to the second communication component when the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component.

[0109] The key positioning module 503 is used to determine the distance between the third communication component and the key based on the signal characteristic parameters when the third communication component and the second communication component are connected, and to determine the key position indicated by the distance; the signal characteristic parameters indicate the connection state between the second communication component and the third communication component.

[0110] Optionally, the device also includes:

[0111] The preset quantity selection module is used to select a preset number of third communication components as target communication components when the second communication component is connected to multiple third communication components;

[0112] The key positioning module includes:

[0113] The multi-distance positioning submodule is used to determine the distance between each target communication component and the key based on the signal characteristic parameters when each target communication component is connected to the second communication component, and to determine the key position indicated by the distance.

[0114] Optional, multi-distance positioning submodules include:

[0115] The multiple selection unit is used to determine the distance between the key and each target communication component based on the signal characteristic parameters corresponding to a preset number of target communication components selected each time, and to determine the reference position of the distance indication when multiple selections are possible.

[0116] The multi-reference position unit is used to determine the key position jointly indicated by multiple reference positions obtained after multiple selections.

[0117] Optionally, the device also includes:

[0118] The non-first-time selection module is used to determine the candidate third communication component corresponding to the non-first-time selection in the case of multiple selections.

[0119] The historical selection module is used to determine at least one historical selection prior to the non-first selection, and the historical third communication component corresponding to each of the at least one historical selection;

[0120] The component comparison module is used to re-select the current third communication component if the candidate third communication component is the same as any historical third communication component corresponding to a historical selection.

[0121] Optional, preset quantity selection module, including:

[0122] The strength set submodule is used to determine the signal strength of each third communication component when it is connected to the second communication component, in the case that the second communication component is connected to multiple third communication components, so as to obtain a signal strength set;

[0123] The signal condition submodule is used to determine, from the set of signal strengths, a target signal strength that meets preset signal conditions, and to determine the third communication component corresponding to the target signal strength as the target communication component.

[0124] Optional, the signal condition submodule includes:

[0125] A maximum strength unit is used to determine the maximum signal strength in the set of signal strengths as the target signal strength.

[0126] The stability parameter unit is used to determine the signal stability parameter corresponding to each signal strength combination in the signal strength set when the signal strength corresponding to each third communication component is a signal strength combination; the signal strength combination includes multiple signal strengths corresponding to the third communication component within a preset time period.

[0127] The maximum stability unit is used to take the maximum signal stability parameter as the target stability parameter and determine the target intensity combination corresponding to the target stability parameter;

[0128] The target component unit is used to use a third communication component corresponding to the target signal strength and the target strength combination as the target communication component.

[0129] Optionally, the device also includes:

[0130] The time interval module is used to obtain the current time interval parameter; the time interval parameter represents the time interval between any two interactions between the second communication component and the third communication component; each interaction is used to obtain signal characteristic parameters.

[0131] An interval update module is used to determine the ratio of the supply voltage to the second operating voltage, and update the time interval parameter based on the ratio.

[0132] Optional, multi-reference location elements include:

[0133] The reference graphic subunit is used to determine a reference graphic composed of multiple reference positions based on multiple reference positions.

[0134] The graphic center subunit is used to determine the center of the reference graphic and use the position of the center as the position of the key.

[0135] In summary, in this embodiment, by acquiring the power supply voltage of the battery inside the key, if the power supply voltage is less than the first operating voltage of the first communication component, it is determined that the first communication component is in an abnormal state. If the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component, the third communication component in the vehicle is connected to the second communication component. Based on the signal characteristic parameters when the third and second communication components are connected, the distance between the target communication component and the key is determined, and the key position indicated by the distance is determined. This allows for key positioning based on the signal characteristic parameters of the connection between the second and third communication components, even when the power supply voltage of the key is insufficient for the first communication component to operate normally. This avoids the problem of the first communication component being in an abnormal state and unable to be positioned normally due to insufficient voltage, enriches the diversity of key positioning methods, reduces the power supply voltage requirement for positioning, and enables accurate key positioning even at lower power supply voltages, thereby extending the key's working time and ultimately improving the key's usability.

[0136] This application also provides an electronic device, such as... Figure 6 As shown, it includes a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004.

[0137] Memory 1003 is used to store computer programs.

[0138] When the processor 1001 executes the program stored in the memory 1003, it implements the steps in the key positioning method described above, which will not be repeated here.

[0139] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not indicate that there is only one bus or one type of bus.

[0140] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0141] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0142] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0143] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the key positioning method described in the above embodiments.

[0144] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the key positioning method described in the above embodiments.

[0145] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0146] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0147] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. For embodiments of devices, electronic devices, computer-readable storage media, and computer program products containing instructions, the descriptions are relatively simple because they are basically similar to the method embodiments; relevant parts can be referred to the descriptions of the method embodiments.

[0148] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A key positioning method, characterized in that, The method includes: The power supply voltage of the battery inside the key is obtained. If the power supply voltage is less than the first operating voltage of the first communication component, it is determined that the first communication component is in an abnormal state. The key includes the first communication component and the second communication component. The first communication component is used to locate the key. When the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component, the third communication component in the vehicle is connected to the second communication component. Based on the signal characteristic parameters when the third communication component and the second communication component are connected, the distance between the third communication component and the key is determined, and the key position indicated by the distance is determined; the signal characteristic parameters indicate the connection state between the second communication component and the third communication component. When the second communication component is connected to multiple third communication components, the signal strength of each third communication component when connected to the second communication component is determined to obtain a set of signal strengths; From the set of signal strengths, the largest signal strength is determined as the target signal strength; When the signal strength corresponding to each third communication component is a combination of signal strengths, determine the signal stability parameter corresponding to each combination of signal strengths in the set of signal strengths; the combination of signal strengths includes multiple signal strengths corresponding to the third communication component within a preset time period. The largest signal stability parameter is used as the target stability parameter, and the target intensity combination corresponding to the target stability parameter is determined. The third communication component corresponding to the target signal strength and the target strength combination is used as the target communication component.

2. The method according to claim 1, characterized in that, The method further includes: The step of determining the distance between the third communication component and the key based on the signal characteristic parameters when the third communication component and the second communication component are connected, and determining the key position indicated by the distance, includes: Based on the signal characteristic parameters when each target communication component and the second communication component are connected, the distance between each target communication component and the key is determined, and the key position indicated by the distance is determined.

3. The method according to claim 2, characterized in that, The step of determining the distance between each target communication component and the key based on the signal characteristic parameters when each target communication component and the second communication component are connected, and determining the key position indicated by the distance, includes: In the case of multiple selections, the distance between the key and each target communication component is determined based on the signal characteristic parameters corresponding to the preset number of target communication components selected each time, and the reference position of the distance indication is determined. Based on the multiple reference positions obtained after multiple selections, determine the key position indicated by the multiple reference positions.

4. The method according to claim 3, characterized in that, The method further includes: In the case of a non-first selection among multiple selections, a candidate third communication component corresponding to the non-first selection is determined; Determine at least one previous historical selection prior to the non-first selection, and the historical third communication component corresponding to each of the at least one historical selection; If the candidate third communication component is the same as any historical third communication component corresponding to a historical selection, the current selection is repeated.

5. The method according to claim 1, characterized in that, The method further includes: Obtain the current time interval parameter; the time interval parameter represents the time interval between any two interactions between the second communication component and the third communication component; each interaction is used to obtain signal characteristic parameters; The ratio of the supply voltage to the second operating voltage is determined, and the time interval parameter is updated based on the ratio.

6. The method according to claim 3, characterized in that, The step of determining the key position jointly indicated by multiple reference positions obtained after multiple selections includes: Based on multiple reference positions, determine the reference graphic formed by the multiple reference positions; Determine the center of the reference graphic, and use the position of the center as the position of the key.

7. A key positioning device, characterized in that, The device includes: An anomaly determination module is used to obtain the power supply voltage of the battery inside the key, and determine that the first communication component is in an abnormal state when the power supply voltage is less than the first operating voltage of the first communication component; the key includes the first communication component and a second communication component; the first communication component is used to locate the key; A communication establishment module is used to control a third communication component in the vehicle to connect to the second communication component when the first communication component is in an abnormal state and the power supply voltage is greater than or equal to the second operating voltage of the second communication component. A key positioning module is used to determine the distance between the third communication component and the key based on signal characteristic parameters when the third communication component and the second communication component are connected, and to determine the key position indicated by the distance; the signal characteristic parameters indicate the connection state between the second communication component and the third communication component. The strength set submodule is used to determine the signal strength of each third communication component when it is connected to the second communication component, in the case that the second communication component is connected to multiple third communication components, so as to obtain a signal strength set; A maximum strength unit is used to determine the maximum signal strength in the set of signal strengths as the target signal strength. A stability parameter unit is used to determine a signal stability parameter for each signal strength combination in the signal strength set, provided that the signal strength corresponding to each third communication component is a signal strength combination; the signal strength combination includes multiple signal strengths corresponding to the third communication component within a preset time period. The maximum stability unit is used to take the maximum signal stability parameter as the target stability parameter and determine the target intensity combination corresponding to the target stability parameter; The target component unit is used to use a third communication component corresponding to the target signal strength and the target strength combination as the target communication component.

8. An electronic device, characterized in that, include: The system includes a processor, a communication interface, a memory, and a communication bus; the processor, communication interface, and memory communicate with each other via the communication bus. Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the key location method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Vehicle-mounted Bluetooth positioning method and device and storage medium

    CN114268908A

  • Smart key system capable of operating even when UWB communication is impossible due to battery voltage drop of fob and operation method thereof

    US20220371549A1