A positioning method, system, device and storage medium for a vehicle key
By using a combination of actual measurement and prediction of the ranging module in the vehicle key positioning system, the problem of long distance measurement time in the prior art is solved, and fast and accurate vehicle key positioning is achieved.
Patent Information
- Application Number
- CN202110570236.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-25
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2041-05-25
AI Technical Summary
In the existing vehicle key positioning method, the distance measurement time based on short-range wireless communication technology is long, and the need for fast positioning cannot be met.
Through the combination of actual measurement and prediction of the ranging module, the distance between the vehicle key and the ranging module is measured, its relative position is calculated, and the measurement time is shortened.
It effectively shortens the time for vehicle key positioning to meet the needs of fast positioning.
Smart Images

Figure CN115390059B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle spare parts, and particularly to a positioning method, system, device and storage medium for a vehicle key. Background Art
[0002] With the development of technology, the iterative update speed of vehicles including vehicle spare parts is also constantly evolving. Currently, people's requirements for vehicles are not only for speed and safety, but also for the convenience of various functions in the vehicle. The emergence of intelligent keys has brought a great convenience experience to users, which has also promoted the gradual replacement of traditional keys by intelligent keys. In the intelligent key solution, the positioning of the vehicle key by the vehicle is one of the key issues in solving the control of the vehicle by the vehicle key. In the current research on vehicle key positioning methods and systems, many expect to apply the positioning method based on short-range wireless communication technology to the positioning of vehicle keys. However, this short-range wireless communication technology, such as Bluetooth, Wi-Fi, UWB ultra-wideband, etc., requires the ranging module in it to communicate with the vehicle key in sequence, and its own ranging method, such as measuring the distance between the vehicle and the vehicle key by recording the two-way transmission time of data, also requires a certain amount of time. Therefore, it will lead to a long ranging time and cannot meet the rapid positioning requirement for the vehicle key. Summary of the Invention
[0003] In order to overcome the above technical defects, the purpose of the present invention is to provide a positioning method, system, device and storage medium for a vehicle key. In the positioning method and system of the present invention, the ranging module measures the distance between the vehicle key and itself through a combination of actual measurement and prediction, and then calculates the relative position of the vehicle key according to this distance, thereby shortening the time required for the ranging module to establish communication with the vehicle key in sequence each time and measure the distance between itself and the vehicle key each time, so as to meet the requirement of rapid positioning of the vehicle key in practice.
[0004] On the one hand, the present invention provides a method for positioning a vehicle key, which includes the following steps: a control module on the vehicle detects a wireless signal emitted by the vehicle key, notifies at least one ranging module on the vehicle to perform ranging according to the wireless signal, measures a second distance between the vehicle and the vehicle key, and calculates an actual position of the vehicle key according to the second distance, where the second distance is a ranging result of the n+m-th ranging by the ranging module. In the first to n-th ranging cycles, the ranging module sequentially establishes communication with the vehicle key and performs a ranging operation to measure the second distance. In the n+1-th to n+m-th ranging cycles, in each cycle, at least one of the ranging modules does not establish communication with the vehicle key, but predicts the second distance according to its own previous n ranging results, and the remaining ranging modules sequentially establish communication with the vehicle key and perform a ranging operation to measure the second distance.
[0005] In some embodiments, the positioning method further includes the step of: the control module calculates a first distance between the vehicle and the vehicle key according to the wireless signal, and when the first distance is not greater than a first threshold, notifies at least two ranging modules on the vehicle to establish communication with the vehicle key.
[0006] In some embodiments, the step of the control module calculating a first distance between the vehicle and the vehicle key according to the wireless signal in the positioning method includes: the control module emits a broadcast signal and calculates the distance between the vehicle and the vehicle key according to the strength of the wireless signal in the connection request feedback by the vehicle key.
[0007] In some embodiments, in the positioning method, the step of determining n includes: the control module is configured to record the second distance measured by each ranging module each time, analyze the fluctuation of the second distance measured by each ranging module, and when the fluctuation of the second distance meets a preset requirement, read the ranging times of the second distance of the ranging module.
[0008] In some embodiments, when the number of ranging modules is 2 in the positioning method, the step of the control module calculating the actual position of the vehicle key according to the second distance includes: the control module determines two position ranges of the vehicle key according to two second distance values measured by the two ranging modules, and determines the positions of the two vehicle keys according to the intersection of the two position ranges. The control module measures a first position of the vehicle key, and the control module determines the actual position of the vehicle key from the two positions according to the distances between the first position and the two positions.
[0009] In some embodiments, in the positioning method, the step in which the control module measures the first position of the vehicle key, including the first position, is the measurement result of the (n + m)-th time of the control module. In the measurement cycles from the 1st to the n-th time, the control module detects the wireless signal emitted by the vehicle key and measures the first position according to the intensity of the wireless signal. In the measurement cycles from the (n + 1)-th to the (n + m)-th time, the control module predicts the first position according to the measurement results of its previous n times.
[0010] In some embodiments, in the positioning method, when the number of the at least two ranging modules is 3, the step in which the control module calculates the actual position of the vehicle key according to the second distance includes that the control module obtains the actual position of the vehicle key according to the three second distances measured by the ranging modules by using the triangulation method.
[0011] In some embodiments, in the positioning method, the short-range wireless communication technology includes Wi-Fi, Bluetooth, ZigBee, IrDA, NFC, UWB ultra-wideband, and SIMpass wireless communication technology.
[0012] On the other hand, the present invention also provides a positioning system for a vehicle key, including a control module disposed on the vehicle and at least one ranging module disposed on the vehicle. The control module is configured to detect the wireless signal emitted by the vehicle key, notify at least one ranging module on the vehicle to perform ranging according to the wireless signal, measure the second distance between the vehicle and the vehicle key, and calculate the actual position of the vehicle key according to the second distance. The ranging module is configured to cyclically measure the second distance between the vehicle and the vehicle key. In the ranging cycles from the 1st to the n-th time, the ranging module sequentially establishes communication with the vehicle key and performs the ranging behavior to measure the second distance. In the ranging cycles from the (n + 1)-th to the (n + m)-th time, in each cycle, at least one of the ranging modules does not establish communication with the vehicle key, but predicts the second distance according to the ranging results of its previous n times, and the remaining ranging modules sequentially establish communication with the vehicle key and perform the ranging behavior to measure the second distance.
[0013] In some embodiments, in the positioning system, the control module is configured to notify at least two ranging modules on the vehicle to establish communication with the vehicle key when the first distance is not greater than the first threshold.
[0014] In some embodiments, in the positioning system, the control module is configured to emit a broadcast signal and calculate the distance between the vehicle and the vehicle key according to the intensity of the wireless signal in the connection request feedback by the vehicle key.
[0015] In some embodiments, in the positioning system, the control module is configured to record the second distance measured by each ranging module each time, analyze the fluctuation of the second distance measured by each ranging module, and when the fluctuation of the second distance meets the preset requirements, read the ranging times of the second distance of the ranging module.
[0016] In some embodiments, in the positioning system, the control module is configured to determine two position ranges of the vehicle key according to two second distance values measured by two ranging modules, and determine the positions of the two vehicle keys according to the intersection of the two position ranges; measure the first position of the vehicle key; and determine the actual position of the vehicle key from the two positions according to the distances between the first position and the two positions.
[0017] In some embodiments, in the positioning system, the first position is the measurement result of the control module at the (n + m)-th time. In the first to n-th measurement cycles, the control module detects the wireless signal emitted by the vehicle key and measures the first position according to the strength of the wireless signal. In the (n + 1)-th to (n + m)-th measurement cycles, the control module predicts the first position according to its own previous n measurement results.
[0018] In some embodiments, in the positioning system, the control module is configured to obtain the actual position of the vehicle key according to three second distances measured by the ranging module by using the triangulation method.
[0019] In some embodiments, in the positioning system, the short-range wireless communication technology includes Wi-Fi, Bluetooth, ZigBee, IrDA, NFC, UWB ultra-wideband, and SIMpass technology.
[0020] On the other hand, the present invention also provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of the above.
[0021] On the other hand, the present invention also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of the above.
[0022] On the other hand, the present invention also provides a computer program product, including a computer program, and the computer program realizes the method according to any one of the above when executed by a processor.
[0023] After adopting the above technical solution, compared with the prior art, it has the following beneficial effects:
[0024] Shorten the time required for each ranging module to establish communication with the vehicle key in sequence for each measurement and to actually measure the distance between it and the vehicle key each time, so as to meet the requirement for quickly positioning the vehicle key in practice. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] It should be understood that the drawings in the present invention are used to better explain the technical solutions and principles of the present invention and do not constitute a limitation to this application. Among them:
[0026] Figure 1 FIG. is an application scenario diagram for implementing the vehicle key positioning method of the embodiment of the present invention;
[0027] Figure 2 FIG. is a schematic flowchart of the vehicle key positioning method according to a preferred embodiment of the present invention;
[0028] Figure 3 FIG. is a schematic structural diagram of the vehicle key positioning system according to a preferred embodiment of the present invention;
[0029] Figure 4 FIG. is a block diagram of an electronic device according to a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0030] The advantages of the present invention are further elaborated below in conjunction with the drawings and specific embodiments. However, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0031] In the description of the embodiments of the present disclosure, the term "including" and its similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". There may also be other explicit and implicit definitions below.
[0032] Embodiments of the present invention can be applied to an exemplary environment where communication connections between a vehicle and a vehicle key are realized using near-field communication technology or other wireless communication technologies. Such near-field communication technologies may include wireless communication technologies such as Wi-Fi, Bluetooth, ZigBee, IrDA, NFC, UWB ultra-wideband, and SIMpass. For the convenience of explaining the method or device of the present invention, the present invention assumes as follows Figure 1An application scenario 10 is shown. In this application scenario 10, the vehicle 11 is parked in a parking lot, which can be an indoor or outdoor parking lot, or a residential area or beside a road, a temporary parking lot for the vehicle. The user approaches the vehicle from a distance with the vehicle key. Wireless communication can be achieved between the vehicle and the vehicle key by means of Bluetooth technology, and this Bluetooth technology can implement distance measurement using the time-of-flight ranging method (TOF). It should be understood that Figure 1 The exemplary environments and application scenarios 10 shown are only exemplary environments and application scenarios listed for better illustrating the embodiments of the present invention, and are not used to limit the scope of the present invention.
[0033] Figure 2 It is a schematic flowchart of a method for positioning a vehicle key that conforms to the present invention. From Figure 2 it can be seen that the method for positioning the vehicle key provided in this embodiment includes the following steps:
[0034] S100: The control module on the vehicle detects the wireless signal emitted by the vehicle key
[0035] In some embodiments, the specific manner in which the control module on the vehicle detects the wireless signal emitted by the vehicle key can be: in a suitable application scenario and application environment, the control module on the vehicle will emit a broadcast signal. When the user enters the coverage range of this broadcast signal with the vehicle key, the vehicle key can search for this broadcast signal. At this time, the vehicle key will send a connection request for this broadcast signal, so that the control module on the vehicle can detect the wireless signal emitted by the vehicle key. For example, for Figure 1 the application scenario 10 in, the control module on the vehicle 11 can emit a Bluetooth broadcast signal, and the Bluetooth module on the vehicle key searches for this Bluetooth broadcast signal and can correspondingly send a connection request. Therefore, the control module on the vehicle can detect the wireless signal in this connection request.
[0036] S200: According to the wireless signal, notify at least one ranging module on the vehicle to perform ranging and measure the second distance between the vehicle and the vehicle key
[0037] The number and / or position of the ranging modules notified by the control module and performing ranging here, that is, which or which ranging modules need to be notified by the control module to perform the ranging behavior, depends on the calculation method for calculating the actual position of the vehicle key applied in the control module in practice and other requirements. Therefore, those skilled in the art can configure the specific number and / or position of the ranging modules that should be notified by the control module in this step to perform ranging to obtain the second distance between the vehicle and the vehicle key according to the finally selected calculation method for calculating the actual position of the vehicle key. Other embodiments below will illustrate the calculation methods that can be selected by the present invention and the corresponding number of ranging modules.
[0038] S300: Calculate the actual position of the vehicle key according to the second distance
[0039] It should be understood that in the present invention, the second distance is the ranging result of the ranging module for the (n + m)-th ranging, where the value of n will be illustrated by examples hereinafter, and the value of n + m depends on the specific application scenario of vehicle key positioning. Those skilled in the art can set it according to the specific application scenario of vehicle key positioning, so that the ranging module performs cyclic ranging until the position of the vehicle key relative to the vehicle meets one or some functional requirements of vehicle key positioning. Among them, the process of the ranging module measuring the second distance between the vehicle and the vehicle key respectively includes two stages: the full actual measurement stage and the partial prediction stage. These two stages are divided according to the number of ranging times. Among them, in the first n ranging cycles from the 1st to the n-th time, the ranging module establishes communication with the vehicle key in a certain order and actually measures the distance between the vehicle and the vehicle key according to a ranging method. Here, in order to distinguish it from other distances measured by other modules in the above and below texts, the distance between the vehicle and the vehicle key is called the second distance. The second distance is not limited to the distance between the vehicle and the vehicle key measured by a certain ranging module at a certain time, but is a unified abbreviation of the distance between the vehicle and the vehicle key measured by the ranging module; and in the ranging cycle from the (n + 1)-th to the (n + m)-th time, at least one ranging module does not establish communication with the vehicle key in each cycle, but predicts a second distance according to its previous n ranging results, and the other ranging modules still establish communication with the vehicle key in turn and actually measure a second distance. Therefore, since in the ranging cycle from the (n + 1)-th to the (n + m)-th time, not every ranging module needs to continuously communicate with the vehicle key and measure the second distance, it only needs to predict a second distance according to the second distance measured in the previous n times, which greatly saves the time for finally obtaining the second distance and further shortens the positioning time of the vehicle key.
[0040] In some embodiments, the value of the number of ranging times n in the actual measurement stage of the ranging module depends on the fluctuation of the second distance measured by the ranging module. In some further embodiments, the control module will record the second distance measured by each ranging module each time and analyze the fluctuation of the second distance measured by each ranging module. When the fluctuation of the second distance meets the preset requirements, the control module reads the number of ranging times of the second distance of the ranging module as the value of n.
[0041] In some embodiments, the positioning method of the selected vehicle key in the application scenario requires the application of two second distances. Therefore, when the control module detects the wireless signal emitted by the vehicle key, it will notify two ranging modules to perform ranging. The two ranging modules will obtain the second distance between the vehicle and the vehicle key according to the method in the above embodiments. The control module can determine two position ranges of the vehicle key according to the values of the two second distances. For example, with each ranging module as the center and the second distance measured by each ranging module as the radius, two position ranges can be drawn, and the two position ranges will intersect. Therefore, the two possible positions of the vehicle key can be determined according to the two intersection points of the two position ranges. Further, the control module can also measure the position of a vehicle key. To distinguish this position of the vehicle key from other positions in the above or below text, it is called the first position here. Further, the control module can determine the actual position of the vehicle key from the two positions according to the distances between the first position and the two positions, that is, the position closer to the first position should be determined as the actual position of the vehicle key.
[0042] In some embodiments, in each ranging cycle, the ranging module sequentially measures the second distance between the vehicle and the vehicle key, and the control module also measures the first position of the vehicle key. Therefore, an actual position of the vehicle key can be calculated in each ranging cycle to determine whether the actual position of the vehicle key meets the requirements of one or some of its functions, and thus execute this or these functions. Based on this, the first position measured by the control module is also the measurement result of the control module at the (n + m)-th time, where the values of n and n + m are as described in the above embodiments and will not be elaborated here. In this case, in some other embodiments, in the 1st to the n-th measurement cycles, the control module detects the wireless signal emitted by the vehicle key and measures the first position according to the intensity of the wireless signal. In the (n + 1)-th to the (n + m)-th measurement cycles, the control module predicts the first position according to its own previous n measurement results.
[0043] In some embodiments, the positioning method of the selected vehicle key in the application scenario requires the application of three second distances. Therefore, when the control module detects the wireless signal emitted by the vehicle key, it will notify three ranging modules to perform ranging. The three ranging modules will obtain the second distance between the vehicle and the vehicle key according to the method in the above embodiments. The control module can obtain the actual position of the vehicle key according to the values of these three second distances by using the triangulation method. For example, with the ranging modules that respectively obtain the three second distances as the centers and the three second distances as the radii, three position ranges are drawn. Then, there will be a common intersection point among the three position ranges, and this intersection point is the position where the vehicle key is located. It should be understood that due to the requirements and settings of the ranging module accuracy in practice, the common intersection of the three position ranges determined according to the above triangulation method may be a region. Those skilled in the art can make corrections according to the existing technology to obtain the actual position of the vehicle key. The specific method of such correction to finally determine the actual position of the vehicle key is also based on the positioning method of the present invention and belongs to the inventive concept of the present invention.
[0044] In some embodiments, in order to reduce the cumbersome and unnecessary communication connection behavior between the vehicle and the vehicle key and reduce energy consumption, after detecting the connection request emitted by the vehicle key, the control module on the vehicle may not immediately notify the ranging module on the vehicle. Instead, it first calculates the distance between the vehicle and the vehicle key at this time according to the wireless signal in the connection request. To facilitate the distinction from other distances measured by other modules in the following text, the distance between the vehicle and the vehicle key calculated by the control module is referred to as the first distance here, and this first distance is compared with a threshold. When the first distance is not greater than the first threshold, the control module notifies at least one vehicle on the vehicle to establish communication with the vehicle key. It should be understood that the first threshold here can be selected and set by those skilled in the art in practice according to the performance of the applied wireless communication, including ranging principle, ranging time, etc. For example, in Figure 1 the application scenario 10, according to the TOF ranging time based on Bluetooth technology and the requirements for the response distance of the vehicle key, etc., when the control module detects that the vehicle key is about 10m - 40m away from the vehicle, it can notify the vehicle on the vehicle to establish communication with the vehicle key. For example, when detecting that the vehicle key approaches the vehicle from the driver's side, it can be set that when the vehicle key is about 30m away from the vehicle, the control module notifies the vehicle on the vehicle to establish communication with the vehicle key; when detecting that the vehicle key approaches the vehicle from the trunk side, it can be set that when the vehicle key is about 15m away from the vehicle, the control module notifies the vehicle on the vehicle to establish communication with the vehicle key.
[0045] In some embodiments, when the vehicle is in a suitable application scenario and application environment, the control module on the vehicle will emit a broadcast signal. When the user carrying the vehicle key enters the coverage area of the broadcast signal, the vehicle key can search for the broadcast signal. At this time, the vehicle key will send a connection request for the broadcast signal, so that the control module on the vehicle can detect the wireless signal sent by the vehicle key and calculate the distance between the vehicle and the vehicle key according to the signal strength of the wireless signal. For example, in an application scenario such as Figure 1 in application scenario 10, the control module on vehicle 11 can calculate the distance of the vehicle according to the RSSI of the wireless signal sent by the vehicle key. It should be understood that the vehicle distance here does not require an exact distance value, so it is not affected by the limitations of the RSSI ranging technology.
[0046] Figure 3 FIG. is a schematic structural diagram of a positioning system for a vehicle key according to a preferred embodiment of the present invention. The positioning system can execute the technical solutions in the above method embodiments. Its implementation principle and technical effects are similar to those in the above method embodiments. Therefore, they will not be described in detail one by one in the following system embodiments.
[0047] From Figure 3 it can be seen that the vehicle key positioning system provided in this embodiment may include the following structures:
[0048] - Control module
[0049] The control module is arranged on the vehicle and is used to detect the wireless signal sent by the vehicle key, and notify at least one ranging module on the vehicle to perform ranging according to the wireless signal, measure the second distance between the vehicle and the vehicle key, and calculate the actual position of the vehicle key according to the second distance.
[0050] - Ranging module
[0051] The ranging module is arranged on the vehicle and is used to cyclically measure the second distance from the vehicle key. Among them, in the 1st to nth ranging cycles, the ranging module sequentially establishes communication with the vehicle key and performs ranging behavior to measure the second distance; in the (n + 1)th to (n + m)th ranging cycles, in each cycle, at least one of the ranging modules does not establish communication with the vehicle key, but predicts the second distance according to its own previous n ranging results, and the remaining ranging modules sequentially establish communication with the vehicle key and perform ranging behavior to measure the second distance.
[0052] In some embodiments, the control module is further used to notify at least two ranging modules on the vehicle to establish communication with the vehicle key when the first distance is not greater than the first threshold.
[0053] In some embodiments, the control module is configured to send a broadcast signal and calculate the distance between the vehicle and the vehicle key according to the strength of the wireless signal in the connection request feedback by the vehicle key.
[0054] In some embodiments, the control module is configured to record the second distance measured by each ranging module each time, analyze the fluctuation of the second distance measured by each ranging module, and when the fluctuation of the second distance meets a preset requirement, read the ranging times of the second distance of the ranging module.
[0055] In some embodiments, the control module is configured to determine two position ranges of the vehicle key according to two second distance values measured by two ranging modules, and determine the positions of the two vehicle keys according to the intersection of the two position ranges; measure the first position of the vehicle key; and determine the actual position of the vehicle key from the two positions according to the distances between the first position and the two positions.
[0056] In some embodiments, the first position is the measurement result of the (n + m)-th time of the control module. In the 1st to n-th measurement cycles, the control module detects the wireless signal emitted by the vehicle key and measures the first position according to the strength of the wireless signal; in the (n + 1)-th to (n + m)-th measurement cycles, the control module predicts the first position according to its own previous n measurement results.
[0057] In some embodiments, the control module is configured to obtain the actual position of the vehicle key according to three second distances measured by the ranging module by using the triangulation method.
[0058] In some embodiments, the short-range wireless communication technology includes Wi-Fi, Bluetooth, ZigBee, IrDA, NFC, UWB ultra-wideband, and SIMpass technology.
[0059] Figure 4 It is a block diagram of an electronic device according to a preferred embodiment of the present invention. As Figure 4As shown, the electronic device includes: one or more processors 101, a memory 102, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. Each component is interconnected using different buses and can be mounted on a common motherboard or otherwise installed as required. The processor can process instructions executed within the electronic device, including instructions stored in the memory or on the memory for displaying graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used in conjunction with multiple memories. Similarly, multiple electronic devices can be connected, with each device providing some of the necessary operations (such as an array of servers, a set of blade servers, or a multi-processor system). Figure 4 Only one processor 101 is taken as an example for illustration herein.
[0060] The processor 101 can be used to implement the control of the electronic device, execute the processing performed by the electronic device in the above embodiments, execute the processing procedures related to the electronic device in the above method embodiments and / or other procedures for the technology described in the present invention, and can also run an operating system, be responsible for managing the bus, and execute programs or instructions stored in the memory. The processor 101 can be implemented using the following: one or more field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.
[0061] The memory 102 is configured to store various types of data to support operations in the electronic device. Examples of such data include instructions for any application program or method operating on the electronic device. The memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk. In some embodiments, the memory 102 optionally includes a memory remotely located relative to the processor 101, and these remote memories can be connected to the electronic device through a network. Examples of the above networks include, but are not limited to, the Internet, an enterprise intranet, a local area network, a blockchain service network (BSN), a mobile communication network, and combinations thereof.
[0062] The electronic device may further include: an input device 103 and an output device 104. The processor 101, the memory 102, the input device 103 and the output device 104 may be connected through a bus or other means. Figure 4 Take the connection through the bus as an example.
[0063] The input device 103 can receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the electronic device, such as input devices like touchscreens, keypads, mice, trackpads, touchpads, pointing sticks, one or more mouse buttons, trackballs, joysticks, etc. The output device 104 may include a display device, an auxiliary lighting device (e.g., an LED), and a haptic feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touchscreen.
[0064] Various embodiments of the systems and techniques described herein may be implemented in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented 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, and can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0065] In some embodiments, a non-transitory computer-readable storage medium including computer instructions is also provided, such as the memory 102 including computer instructions, and the above computer instructions can be executed by the processor 102 of the electronic device to complete some or all of the steps of the above method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, magnetic tape, a floppy disk, and an optical data storage device, etc.
[0066] In some embodiments, a computer program product is also provided. The computer program product includes program instructions for instructing any of the above methods to implement the above vehicle key positioning method, and its content and effects can be referred to the method part, and this application will not elaborate herein.
[0067] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0068] It should be noted that the embodiments of the present invention have better implementability and do not impose any form of limitation on the present invention. Any person skilled in the art may use the technical content disclosed above to modify or transform it into an equivalent effective embodiment. However, as long as the content of the technical solution of the present invention is not departed from, any modification, equivalent change, or modification made to the above embodiments based on the technical essence of the present invention still falls within the scope of the technical solution of the present invention.
Claims
1. A positioning method for a vehicle key, characterized in that, Including the following steps: The control module on the vehicle detects the wireless signal emitted by the vehicle key, According to the wireless signal, notify at least one ranging module on the vehicle to perform ranging, and measure the second distance between the vehicle and the vehicle key, According to the second distance, calculate the actual position of the vehicle key, where The second distance is the ranging result of the n+m-th ranging of each ranging module; the step of notifying at least one ranging module on the vehicle to perform ranging according to the wireless signal and measuring the second distance between the vehicle and the vehicle key specifically includes: Each ranging module performs the 1st to n-th ranging cycles, and each ranging module sequentially establishes communication with the vehicle key and performs ranging behavior to measure the second distance, Each ranging module performs the (n+1)-th to (n+m)-th ranging cycles. Among each ranging module, in each cycle, at least one ranging module does not establish communication with the vehicle key, but predicts the second distance according to its own previous n ranging results, and the remaining ranging modules sequentially establish communication with the vehicle key and perform ranging behavior to measure the second distance; The determination step of n includes, The control module records the second distance measured by each ranging module each time, analyzes the fluctuation of the second distance measured by each ranging module. When the fluctuation of the second distance meets the preset requirements, read the ranging times of the second distance of the ranging module.
2. The positioning method according to claim 1, characterized in that, It also includes the step: The control module calculates the first distance between the vehicle and the vehicle key according to the wireless signal, When the first distance is not greater than the first threshold, notify at least two ranging modules on the vehicle to establish communication with the vehicle key.
3. The positioning method according to claim 2, characterized in that, The step that the control module calculates the first distance between the vehicle and the vehicle key according to the wireless signal includes, The control module sends a broadcast signal, Calculate the distance between the vehicle and the vehicle key according to the strength of the wireless signal in the connection request feedback by the vehicle key.
4. The positioning method according to claim 1, characterized in that, When the number of ranging modules is 2, the step that the control module calculates the actual position of the vehicle key according to the second distance includes, The control module determines two position ranges of the vehicle key according to the two second distance values measured by the two ranging modules, and determines the two positions of the vehicle key according to the intersection of the two position ranges, The control module measures the first position of the vehicle key, The control module determines the actual position of the vehicle key from the two positions according to the distances between the first position and the two positions.
5. The positioning method according to claim 4, characterized in that, The step that the control module measures the first position of the vehicle key includes The first position is the measurement result of the (n+m)-th time of the control module, In the 1st to n-th measurement cycles, the control module detects the wireless signal emitted by the vehicle key and measures the first position according to the strength of the wireless signal, In the (n+1)-th to (n+m)-th measurement cycles, the control module predicts the first position according to its own previous n measurement results.
6. The positioning method according to claim 1, characterized in that, When the number of the ranging modules is 3, the steps for the control module to calculate the actual position of the vehicle key according to the second distance include: The control module obtains the actual position of the vehicle key according to the three second distances measured by the ranging module by means of triangulation.
7. The positioning method according to any one of claims 1-6, characterized in that, Proximity wireless communication technologies include Wi-Fi, Bluetooth, ZigBee, IrDA, NFC, UWB ultra-wideband, and SIMpass wireless communication technology.
8. A positioning system for a vehicle key, characterized in that, It includes: A control module disposed on the vehicle, and At least one ranging module disposed on the vehicle, where The control module is configured to detect a wireless signal emitted by the vehicle key, and notify at least one ranging module on the vehicle to perform ranging according to the wireless signal, measure a second distance between the vehicle and the vehicle key, and calculate the actual position of the vehicle key according to the second distance; The ranging module is configured to cyclically measure the second distance from the vehicle key. Wherein, in the 1st to nth ranging cycles, the ranging module sequentially establishes communication with the vehicle key and performs a ranging operation to measure the second distance. In the (n + 1)th to (n + m)th ranging cycles, in each cycle, at least one of the ranging modules does not establish communication with the vehicle key, but predicts the second distance according to its own previous n ranging results, and the remaining ranging modules sequentially establish communication with the vehicle key and perform a ranging operation to measure the second distance; The control module is configured to determine n. Specifically, it records the second distance measured by each ranging module each time, analyzes the fluctuation of the second distance measured by each ranging module, and when the fluctuation of the second distance meets a preset requirement, reads the ranging times of the second distance of the ranging module.
9. The positioning system according to claim 8, wherein, The control module calculates a first distance between the vehicle and the vehicle key according to the wireless signal, and is configured to notify at least two ranging modules on the vehicle to establish communication with the vehicle key when the first distance is not greater than a first threshold.
10. The positioning system according to claim 9, wherein, The control module is configured to send a broadcast signal and calculate the distance between the vehicle and the vehicle key according to the strength of the wireless signal in the connection request fed back by the vehicle key.
11. The positioning system according to claim 8, wherein, The control module is configured to Determine two position ranges of the vehicle key according to two second distance values measured by the two ranging modules, and determine two positions of the vehicle key according to the intersection of the two position ranges; Measure a first position of the vehicle key; Determine the actual position of the vehicle key from the two positions according to the distances between the first position and the two positions.
12. The positioning system according to claim 11, wherein, The first position is the measurement result of the control module in the (n + m)th time. In the 1st to nth measurement cycles, the control module detects the wireless signal emitted by the vehicle key and measures the first position according to the strength of the wireless signal. In the (n + 1)th to (n + m)th measurement cycles, the control module predicts the first position according to its own previous n measurement results.
13. The positioning system according to claim 8, wherein, The control module is configured to obtain the actual position of the vehicle key according to the three second distances measured by the ranging module by means of triangulation positioning.
14. The positioning system according to any one of claims 8-13, wherein, Proximity wireless communication technologies include Wi-Fi, Bluetooth, ZigBee, IrDA, NFC, UWB ultra-wideband, and SIMpass technology.
15. An electronic device, wherein, Comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1-7.
16. A non-transitory computer-readable storage medium storing computer instructions, wherein, Wherein, The computer instructions are used to cause a computer to execute the method according to any one of claims 1-7.
17. A computer program product, wherein, Comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
Citation Information
Patent Citations
Vehicle and vehicle-mounted entrance method
CN110239485A