Vehicle lock control method and related device
By combining the displacement information of the terminal equipment and wireless signal strength, assisting in controlling the vehicle's lock status, solving the problem of poor accuracy of sensorless unlocking technology based on Bluetooth signal strength, and improving the accuracy and user experience of vehicle lock control.
Patent Information
- Application Number
- CN202311664547.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2025-06-13
AI Technical Summary
The invisible unlocking technology based on Bluetooth signal strength has poor accuracy, which leads to a ping-pong phenomenon in the vehicle unlocking, affecting the user experience.
By combining the first displacement of the terminal device and the signal strength of the wireless signal, the vehicle lock status of the vehicle is assisted to reduce mis unlocking and mislocking caused by signal fluctuations.
Improves the accuracy of vehicle lock control, reduces unnecessary switching between unlocking and locking, and improves user experience.
Smart Images

Figure CN120135110A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicles, and in particular, to a vehicle lock control method and related devices. Background Art
[0002] Currently, the Bluetooth-based passive unlocking and locking technology has gradually become the mainstream technology for digital keys. This technology measures the distance between the user and the vehicle based on the Bluetooth signal strength between the user terminal (such as a smart phone) and the vehicle, and then performs corresponding unlocking or locking on the vehicle. For example, when the Bluetooth signal strength is less than a certain threshold, it is determined that the distance between the user and the vehicle is far, and thus locking is performed; when the Bluetooth signal strength is greater than a certain threshold, it is determined that the distance between the user and the vehicle is close, and thus unlocking is performed. This enables the user terminal to replace the traditional vehicle key, thus facilitating the user's travel.
[0003] However, the above solution has the following problems: Since the Bluetooth signal strength fluctuates greatly, the accuracy of ranging based on the Bluetooth signal strength is poor, which easily leads to the inability to accurately distinguish the unlocking area and the locking area. For example, it may unlock when unlocking is not actually required, or lock when locking is not actually required, resulting in the vehicle unlocking and locking ping-pong phenomenon, that is, the vehicle switches back and forth between unlocking and locking, and the accuracy of vehicle lock control is not high, affecting the user experience. Summary of the Invention
[0004] The embodiments of this application provide a vehicle lock control method and related devices, which can solve the problem of the vehicle unlocking and locking ping-pong phenomenon and improve the accuracy of vehicle lock control.
[0005] In a first aspect, the embodiments of this application provide a vehicle lock control method, which is applied to a vehicle. The method includes:
[0006] When the vehicle lock state changes, determine a first displacement of the terminal device, where the first displacement is used to indicate the displacement starting from the position of the terminal device at the moment of vehicle lock state change;
[0007] Measure the signal strength of the wireless signal between the terminal device and the vehicle;
[0008] Control the vehicle lock state according to the first displacement and the signal strength.
[0009] Among them, the vehicle lock state includes two cases: the unlocked state and the locked state. The vehicle lock state switching can be from the locked state to the unlocked state, or from the unlocked state to the locked state. The vehicle lock state switching moment refers to the moment corresponding to the vehicle lock state switching, and can also be understood as the moment corresponding to the unlocking action or locking action of the vehicle. The first displacement of the terminal device refers to the displacement starting from the position of the terminal device at the vehicle lock state switching moment, and this first displacement can be used to assist in judging the distance between the terminal device and the vehicle, so as to assist in subsequent vehicle lock control.
[0010] Through the above embodiments, the vehicle lock state can be controlled by combining the signal strength of the wireless signal between the terminal device and the vehicle and the displacement information of the terminal device. Compared with controlling unlocking / locking only according to the signal strength, the displacement information of the terminal device is introduced to assist in vehicle lock control, which can reduce the situation that the vehicle unlocks / locks when it actually does not need to unlock / lock due to signal fluctuations, thereby solving the problem of the ping-pong phenomenon in vehicle unlocking and locking and improving the accuracy of vehicle lock control.
[0011] In a possible implementation manner, the vehicle lock state switching of the vehicle includes: the vehicle lock state of the vehicle switches from the locked state to the unlocked state;
[0012] Controlling the vehicle lock state according to the first displacement and the signal strength includes:
[0013] When the signal strength is less than the first strength threshold and the first displacement is greater than the first displacement threshold, control the vehicle to perform a locking action, so that the vehicle lock state switches from the unlocked state to the locked state; or,
[0014] When the signal strength is greater than or equal to the first strength threshold or the first displacement is less than or equal to the first displacement threshold, keep the vehicle lock state in the unlocked state.
[0015] Among them, the first strength threshold can be understood as the maximum value of the signal strength that satisfies the locking condition. When the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold, it can be considered that the signal strength of the wireless signal between the terminal device and the vehicle satisfies the locking condition. When the signal strength of the wireless signal between the terminal device and the vehicle is greater than or equal to the first strength threshold, it can be considered that the signal strength of the wireless signal between the terminal device and the vehicle does not satisfy the locking condition.
[0016] The first displacement threshold can be understood as the minimum value of the first displacement that satisfies the condition for switching the vehicle lock state (in this example, that is, the condition for switching the vehicle lock state from the unlocked state to the locked state, which can also be understood as the locking condition). When the first displacement of the terminal device is greater than the first displacement threshold, it can be considered that the first displacement of the terminal device satisfies the condition for switching the vehicle lock state. When the first displacement of the terminal device is less than or equal to the first displacement threshold, it can be considered that the first displacement of the terminal device does not satisfy the condition for switching the vehicle lock state.
[0017] Therefore, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the first displacement of the terminal device is greater than the first displacement threshold, that is, when both the signal strength and the first displacement satisfy the corresponding locking conditions, it can be determined that the vehicle needs to be locked. Therefore, the vehicle can be controlled to perform a locking action to switch the vehicle lock state from the unlocked state to the locked state. When the signal strength of the wireless signal between the terminal device and the vehicle is greater than or equal to the first strength threshold, or the first displacement of the terminal device is less than or equal to the first displacement threshold, that is, when at least one of the signal strength and the first displacement does not satisfy the corresponding locking conditions, it can be determined that the vehicle does not need to be locked. Therefore, the vehicle lock state can be kept in the unlocked state.
[0018] Through the above implementation manner, when the current vehicle lock state is the unlocked state, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the first displacement of the terminal device is greater than the first displacement threshold, that is, when both the signal strength and the first displacement satisfy the corresponding locking conditions, the vehicle is controlled to perform a locking action. Accordingly, false locking can be reduced and the locking accuracy can be improved.
[0019] In a possible implementation manner, the switching of the vehicle lock state includes: the vehicle lock state of the vehicle is switched from the unlocked state to the locked state;
[0020] Controlling the vehicle lock state of the vehicle according to the first displacement and the signal strength includes:
[0021] When the signal strength is greater than the second strength threshold and the first displacement is greater than the second displacement threshold, controlling the vehicle to perform an unlocking action to switch the vehicle lock state from the locked state to the unlocked state; or,
[0022] When the signal strength is less than or equal to the second strength threshold, or the first displacement is less than or equal to the second displacement threshold, keeping the vehicle lock state in the locked state.
[0023] Among them, the second intensity threshold can be understood as the minimum value of the signal intensity that satisfies the unlocking condition. When the signal intensity of the wireless signal between the terminal device and the vehicle is greater than the second intensity threshold, it can be considered that the signal intensity of the wireless signal between the terminal device and the vehicle satisfies the unlocking condition. When the signal intensity of the wireless signal between the terminal device and the vehicle is less than or equal to the second intensity threshold, it can be considered that the signal intensity of the wireless signal between the terminal device and the vehicle does not satisfy the unlocking condition.
[0024] The second displacement threshold can be understood as the minimum value of the first displacement that satisfies the vehicle lock state switching condition (in this example, that is, the condition for the vehicle lock state to switch from the locked state to the unlocked state, which can also be understood as the unlocking condition). When the first displacement of the terminal device is greater than the second displacement threshold, it can be considered that the first displacement of the terminal device satisfies the vehicle lock state switching condition. When the first displacement of the terminal device is less than or equal to the second displacement threshold, it can be considered that the first displacement of the terminal device does not satisfy the vehicle lock state switching condition.
[0025] Thus, when the signal intensity of the wireless signal between the terminal device and the vehicle is greater than the second intensity threshold and the first displacement of the terminal device is greater than the second displacement threshold, that is, when both the signal intensity and the first displacement satisfy the corresponding unlocking conditions, it can be determined that the vehicle needs to be unlocked. Therefore, the vehicle can be controlled to perform an unlocking action to switch the vehicle lock state from the locked state to the unlocked state. When the signal intensity of the wireless signal between the terminal device and the vehicle is less than or equal to the second intensity threshold or the first displacement of the terminal device is less than or equal to the second displacement threshold, that is, when at least one of the signal intensity and the first displacement does not satisfy the corresponding unlocking conditions, it can be determined that the vehicle does not need to be unlocked. Therefore, the vehicle lock state can be kept in the locked state.
[0026] Through the above implementation manner, when the current vehicle lock state is the locked state, when the signal intensity of the wireless signal between the terminal device and the vehicle is greater than the second intensity threshold and the first displacement of the terminal device is greater than the first displacement threshold, that is, when both the signal intensity and the first displacement satisfy the corresponding unlocking conditions, the vehicle is controlled to perform an unlocking action. Accordingly, misunlocking can be reduced and the unlocking accuracy can be improved.
[0027] In a possible implementation manner, the determining the first displacement of the terminal device includes:
[0028] Obtaining measurement data from the position information measurement module of the terminal device, and determining the first displacement of the terminal device according to the measurement data.
[0029] Among them, the location information measurement module is used to measure the location information of the terminal device to obtain measurement data. Through the above implementation, the measurement data from the location information measurement module of the terminal device can reflect the location change of the terminal device, so that the first displacement of the terminal device can be determined according to the measurement data.
[0030] In a possible implementation, before obtaining the measurement data from the location information measurement module of the terminal device, the method further includes:
[0031] When a trigger condition is satisfied, send a start instruction to the terminal device, and the start instruction is used to instruct the terminal device to start the location information measurement module.
[0032] Among them, the trigger condition can be understood as the condition to be satisfied when the location information of the terminal device needs to be measured. When the trigger condition is satisfied, it can be considered that there is a measurement requirement at this time, that is, the location information of the terminal device needs to be measured, and the measurement data is used to assist in vehicle lock control. Through the above implementation, the location information measurement module in the terminal device does not need to be in a working state all the time, but can be started when there is a measurement requirement, which is beneficial to reducing unnecessary power consumption.
[0033] In a possible implementation, the trigger condition includes one or more of the following conditions:
[0034] The terminal device establishes a communication connection with the vehicle;
[0035] The vehicle lock state changes;
[0036] The vehicle gear is switched to the parking gear;
[0037] The vehicle door state changes.
[0038] Among them, the terminal device establishing a communication connection with the vehicle can be understood as the terminal device changing from not having a communication connection with the vehicle to having a communication connection. The vehicle lock state change can be from the locked state to the unlocked state, or from the unlocked state to the locked state. The vehicle gear being switched to the parking gear can be from other gears to the parking gear (such as the P gear). The vehicle door state includes two situations: the closed state and the open state. The vehicle door state change can be from the closed state to the open state, or from the open state to the closed state.
[0039] Through the above embodiments, when the terminal device establishes a communication connection with the vehicle, or the state of the vehicle lock changes, or the gear of the vehicle is switched to the parking gear, or the state of the vehicle door changes, it can be considered that vehicle lock control is about to be required. Thus, at this time, the terminal device triggers the start of the position information measurement module to obtain measurement data, which can enable the terminal device to start the position information measurement module at a relatively appropriate and reliable time, and then use the measurement data to assist in vehicle lock control, which can improve the accuracy of vehicle lock control.
[0040] In a possible implementation, the position information measurement module includes: a Pedestrian Dead Reckoning (PDR) module.
[0041] Among them, the Pedestrian Dead Reckoning (PDR) module can sense data such as the acceleration, angular velocity, magnetic force, and pressure of a pedestrian during movement, and use this data to measure and count the number of steps, step length, and direction of the pedestrian's walking, and calculate information such as the pedestrian's trajectory and position.
[0042] Through the above embodiments, using the Pedestrian Dead Reckoning (PDR) module as the position information measurement module, since the accuracy of the Pedestrian Dead Reckoning (PDR) module is relatively high, the position information of the terminal device can be measured using the Pedestrian Dead Reckoning (PDR) module to obtain relatively accurate measurement data.
[0043] In a possible implementation, the method further includes:
[0044] When the vehicle lock state of the vehicle is in the locked state, when the terminal device establishes a communication connection with the vehicle, measure the signal strength of the wireless signal between the terminal device and the vehicle;
[0045] When the signal strength is greater than the second strength threshold, control the vehicle to perform an unlocking action, so that the vehicle lock state of the vehicle changes from the locked state to the unlocked state.
[0046] The above embodiments provide an unlocking control method, which can be applied to the first unlocking control in the scenario where the user approaches the vehicle from a distance. When the user is at a distance, the vehicle lock state of the vehicle is in the locked state. When the user is far from the vehicle, the terminal device and the vehicle cannot establish a communication connection. When the user is close to the vehicle, the terminal device and the vehicle can establish a communication connection. Thus, during the process of the user approaching the vehicle from a distance, the terminal device and the vehicle can change from not establishing a communication connection to establishing a communication connection.
[0047] When the terminal device establishes a communication connection with the vehicle, the vehicle lock control device can start measuring the signal strength of the wireless signal between the terminal device and the vehicle. It can be understood that as the user gets closer and closer to the vehicle, the signal strength of the wireless signal between the terminal device and the vehicle will become greater and greater. When the signal strength is greater than the second strength threshold, it can be considered that the signal strength meets the unlocking condition. Therefore, the vehicle lock control device can control the vehicle to perform an unlocking action, so that the vehicle lock state of the vehicle switches from the locked state to the unlocked state.
[0048] It should be noted that this unlocking can be understood as the first unlocking in this scenario. That is to say, in this scenario, the vehicle can be controlled to switch from the locked state to the unlocked state for the first time solely based on the signal strength of the wireless signal between the terminal device and the vehicle. After this vehicle lock state switch, the subsequent vehicle lock state can be controlled by combining the signal strength of the wireless signal between the terminal device and the vehicle and the first displacement of the terminal device.
[0049] Through the above implementation manner, when the signal strength of the wireless signal between the terminal device and the vehicle is greater than the second strength threshold, controlling the vehicle to perform an unlocking action is applicable to the first unlocking control in the scenario where the user approaches the vehicle from a distance.
[0050] In a possible implementation manner, the method further includes:
[0051] When the vehicle lock state of the vehicle is in the unlocked state, when the vehicle door is closed from the open state, determine the second displacement of the terminal device, where the second displacement is used to indicate the displacement starting from the position of the terminal device when the vehicle door is closed from the open state;
[0052] Measure the signal strength of the wireless signal between the terminal device and the vehicle;
[0053] When the signal strength is less than the first strength threshold and the second displacement is greater than the third displacement threshold, control the vehicle to perform a locking action, so that the vehicle lock state of the vehicle switches from the unlocked state to the locked state.
[0054] The above implementation manner provides a locking control method, which can be applied to the first locking control in the scenario where the user gets out of the vehicle and moves away from the vehicle. After the user gets out of the vehicle, the user will close the vehicle door so that the vehicle door is closed from the open state. At this time, the user is located next to the vehicle door (which can also be considered as next to the vehicle), so the position of the terminal device when the vehicle door is closed from the open state is next to the vehicle.
[0055] Among them, the second displacement of the terminal device refers to the displacement starting from the position of the terminal device when the vehicle door is opened and then closed, which can reflect the distance between the terminal device and the vehicle. For example, if the second displacement is large, it means that the user is far away from the vehicle door, that is, the user is far away from the vehicle, so it can be considered that the distance between the terminal device and the vehicle is far; if the second displacement is small, it means that the user is still near the vehicle door, that is, the user is still near the vehicle, so it can be considered that the distance between the terminal device and the vehicle is close.
[0056] The third displacement threshold can be understood as the minimum value of the second displacement that satisfies the locking condition. When the second displacement of the terminal device is greater than the third displacement threshold, it can be considered that the second displacement of the terminal device satisfies the locking condition. When the second displacement of the terminal device is less than or equal to the second displacement threshold, it can be considered that the second displacement of the terminal device does not satisfy the locking condition.
[0057] Thus, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the second displacement of the terminal device is greater than the third displacement threshold, that is, both the signal strength and the second displacement satisfy the corresponding locking conditions, it can be determined that the vehicle needs to be locked. Therefore, the vehicle can be controlled to perform a locking action to switch the vehicle lock state from the unlocked state to the locked state.
[0058] It should be noted that this locking can be understood as the first locking in this scenario. That is to say, in this scenario, the signal strength of the wireless signal between the terminal device and the vehicle and the second displacement of the terminal device can be combined to control the vehicle to switch from the unlocked state to the locked state for the first time. After this vehicle lock state switch, the signal strength of the wireless signal between the terminal device and the vehicle and the first displacement of the terminal device can be combined to control the subsequent vehicle lock state.
[0059] Through the above implementation, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the second displacement of the terminal device is greater than the third displacement threshold, controlling the vehicle to perform a locking action is applicable to the first locking control in the scenario where the user gets out of the vehicle and moves away from the vehicle. Compared with locking control based solely on signal strength, the second displacement of the terminal device is introduced to assist in distance measurement, which can solve the problem of large differences in the distance between the user and the vehicle (i.e., the locking distance) when locking after getting out of the vehicle due to signal fluctuations, thereby improving the consistency of the locking distance.
[0060] In a possible implementation, the wireless signal is a signal based on Bluetooth, wireless network WIFI, or XingShan communication.
[0061] Among them, the signal strength based on Bluetooth, wireless network WIFI, or XingFlash communication is related to the distance and can be used for distance measurement. Through the above implementation, a communication connection is established between the terminal device and the vehicle through Bluetooth, WIFI, or XingFlash technology. The signal strength of the wireless signal between the terminal device and the vehicle can be used to determine the distance between the terminal device and the vehicle, and thus can be used for vehicle lock control. In addition, it is easy to establish a communication connection between the terminal device and the vehicle through Bluetooth, WIFI, or XingFlash technology, and the implementation difficulty is low.
[0062] In a second aspect, an embodiment of the present application provides a vehicle lock control device, which is used to implement the method described in the first aspect or any possible implementation manner in the first aspect. The device includes:
[0063] A determination unit, configured to determine a first displacement of the terminal device when the vehicle lock state of the vehicle switches, where the first displacement is used to indicate the displacement starting from the position of the terminal device at the moment of the vehicle lock state switch;
[0064] A measurement unit, configured to measure the signal strength of the wireless signal between the terminal device and the vehicle;
[0065] A control unit, configured to control the vehicle lock state of the vehicle according to the first displacement and the signal strength.
[0066] In a possible implementation manner, the vehicle lock state switch of the vehicle includes: the vehicle lock state of the vehicle switches from a locked state to an unlocked state; when the control unit controls the vehicle lock state according to the first displacement and the signal strength, it specifically is used for:
[0067] When the signal strength is less than a first strength threshold and the first displacement is greater than a first displacement threshold, control the vehicle to perform a locking action to switch the vehicle lock state from the unlocked state to the locked state; or,
[0068] When the signal strength is greater than or equal to the first strength threshold or the first displacement is less than or equal to the first displacement threshold, keep the vehicle lock state in the unlocked state.
[0069] In a possible implementation manner, the vehicle lock state switch of the vehicle includes: the vehicle lock state of the vehicle switches from the unlocked state to the locked state; when the control unit controls the vehicle lock state according to the first displacement and the signal strength, it specifically is used for:
[0070] When the signal strength is greater than a second strength threshold and the first displacement is greater than a second displacement threshold, control the vehicle to perform an unlocking action to switch the vehicle lock state from the locked state to the unlocked state; or,
[0071] When the signal strength is less than or equal to the second strength threshold, or the first displacement is less than or equal to the second displacement threshold, keep the vehicle's lock state in the locked state.
[0072] In a possible implementation, when the determining unit determines the first displacement of the terminal device, it specifically is used for:
[0073] Obtain measurement data from the position information measurement module of the terminal device, and determine the first displacement of the terminal device according to the measurement data.
[0074] In a possible implementation, the device further includes a sending unit, configured to send a start instruction to the terminal device before the determining unit obtains the measurement data from the position information measurement module of the terminal device, where the start instruction is used to instruct the terminal device to start the position information measurement module when a trigger condition is met.
[0075] In a possible implementation, the trigger condition includes one or more of the following conditions:
[0076] The terminal device establishes a communication connection with the vehicle;
[0077] The lock state of the vehicle changes;
[0078] The gear of the vehicle is switched to the parking gear;
[0079] The door state of the vehicle changes.
[0080] In a possible implementation, the position information measurement module includes: a Pedestrian Dead Reckoning (PDR) module.
[0081] In a possible implementation, the measuring unit is further used for: when the lock state of the vehicle is in the locked state, measure the signal strength of the wireless signal between the terminal device and the vehicle when the terminal device establishes a communication connection with the vehicle;
[0082] The control unit is further used for: when the signal strength is greater than the second strength threshold, control the vehicle to perform an unlocking action, and switch the lock state of the vehicle from the locked state to the unlocked state.
[0083] In a possible implementation, the determining unit is further used for: when the lock state of the vehicle is in the unlocked state, determine the second displacement of the terminal device when the vehicle door is closed from the open state, where the second displacement is used to indicate the displacement starting from the position of the terminal device when the vehicle door is closed from the open state;
[0084] The measurement unit is further configured to measure the signal strength of the wireless signal between the terminal device and the vehicle.
[0085] The control unit is further configured to: when the signal strength is less than the first strength threshold and the second displacement is greater than the third displacement threshold, control the vehicle to perform a locking action, so that the vehicle lock state is switched from the unlocked state to the locked state.
[0086] In a possible implementation manner, the wireless signal is a signal based on Bluetooth, wireless network WIFI, or XingShan communication.
[0087] In a third aspect, an embodiment of the present application provides a vehicle lock control device, which includes a processor coupled to a memory and can be used to execute computer programs or instructions in the memory to implement the method described in the first aspect or any possible implementation manner of the first aspect. Optionally, the vehicle lock control device further includes a memory. Optionally, the vehicle lock control device further includes a communication interface, and the processor is coupled to the communication interface.
[0088] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer programs or instructions are stored. When the computer programs or instructions are executed, the method described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0089] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer programs or instructions. When the computer programs or instructions are executed, the method described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0090] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor. The processor is used to execute computer programs or instructions. When the processor executes the computer programs or instructions, the method described in the first aspect or any possible implementation manner of the first aspect is implemented. Optionally, the chip further includes a communication interface, and the communication interface is used to receive or send signals.
[0091] In a seventh aspect, an embodiment of the present application provides a chip, which includes a logic circuit and an input / output interface. The logic circuit is used to be coupled to the input / output interface and transmit data through the input / output interface to execute the method described in the first aspect or any possible implementation manner of the first aspect.
[0092] In an eighth aspect, an embodiment of the present application provides a driving device, which includes a vehicle lock control device as described in the second aspect or any possible implementation manner of the second aspect, or includes a vehicle lock control device as described in the third aspect, or includes a chip as described in the sixth aspect, or includes a chip as described in the seventh aspect.
[0093] For the beneficial effects brought by the above-mentioned second aspect to the eighth aspect, reference may be made to the description of the beneficial effects in the first aspect, which will not be elaborated here.
[0094] In addition, during the process of executing the method described in the first aspect and any possible implementation manner, the processes of sending information and / or receiving information in the above method can be understood as the process of the processor outputting information and / or the process of the processor receiving the input information. When outputting information, the processor can output the information to a transceiver (or a communication interface, or a sending module) for transmission by the transceiver. After the information is output by the processor, other processing may be required before it reaches the transceiver. Similarly, when the processor receives the input information, the transceiver (or a communication interface, or a sending module) receives the information and inputs it to the processor. Further, after the transceiver receives the information, the information may need to be processed otherwise before it is input to the processor.
[0095] Based on the above principle, for example, the sending of information mentioned in the foregoing method can be understood as the processor outputting information. Another example is that receiving information can be understood as the processor receiving the input information.
[0096] Optionally, for operations such as transmitting, sending, and receiving involved by the processor, if there is no special description, or if it does not conflict with its actual role or internal logic in the relevant description, they can all be more generally understood as operations such as the processor outputting, receiving, and inputting.
[0097] Optionally, during the process of executing the method described in the first aspect and any possible implementation manner, the above-mentioned processor can be a processor specifically used to execute these methods, or a processor that executes these methods by executing computer instructions in a memory, such as a general-purpose processor. The above-mentioned memory can be a non-transitory memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip or can be separately provided on different chips. The embodiments of the present application do not limit the type of the memory and the setting manner of the memory and the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0099] Figure 1 It is a schematic diagram of an application environment of a vehicle lock control method provided in an embodiment of the present application;
[0100] Figure 2 It is a flow chart of a vehicle lock control method provided in an embodiment of the present application;
[0101] Figure 3 is a structural schematic diagram of a vehicle lock control device provided in an embodiment of the present application;
[0102] Figure 4 is a structural schematic diagram of another vehicle lock control device provided in an embodiment of the present application;
[0103] Figure 5 It is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0104] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0105] In this application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the words "exemplary" or "for example" is intended to present the related concepts in a concrete way.
[0106] The "first", "second", etc. mentioned in the embodiments of the present application do not limit the quantity and execution order, and the "first", "second", etc. do not limit them to be necessarily different. In addition, the terms "include", "comprise", "include", and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products, or devices.
[0107] As used herein, "embodiment" means that the specific features, structures, or characteristics described in connection with the embodiment may be included in at least one embodiment of the present application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art can explicitly and implicitly understand that in various embodiments of the present application, if there is no special description and logical conflict, the terms and / or descriptions among the various embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0108] It should be understood that in the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally means that the associated objects before and after are in an "or" relationship. "At least one of the following" or its similar expression means any combination of these items, including any combination of single item or plural items. For example, at least one of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0109] Currently, the Bluetooth-based passive unlocking and locking technology has gradually become the mainstream technology for digital keys. This technology measures the distance between the user and the vehicle based on the Bluetooth signal strength between the user terminal (such as a smart phone) and the vehicle, and then performs corresponding unlocking or locking on the vehicle. For example, when the Bluetooth signal strength is less than a certain threshold, it is determined that the distance between the user and the vehicle is far, and thus locking is performed; when the Bluetooth signal strength is greater than a certain threshold, it is determined that the distance between the user and the vehicle is close, and thus unlocking is performed. This enables the user terminal to replace the traditional car key, thus facilitating the user's travel.
[0110] However, the above solution has the following problems:
[0111] On the one hand, due to the relatively large fluctuation of the Bluetooth signal strength, the accuracy of ranging based on the Bluetooth signal strength is poor, which easily leads to the inability to accurately distinguish the unlocking area and the locking area. For example, it may unlock when unlocking is not actually required, or lock when locking is not actually required, resulting in a ping-pong phenomenon in vehicle unlocking and locking, that is, the vehicle switches back and forth between unlocking and locking, and the accuracy of vehicle lock control is not high, affecting the user experience.
[0112] For example, when a user parks the vehicle by the roadside and has a meal nearby, the vehicle may be repeatedly unlocked and locked; for another example, when the user is beside the vehicle, pacing while answering a call, the vehicle may be repeatedly unlocked and locked; for another example, during the process of the user getting out of the vehicle to pick up a charging gun for charging, the vehicle may be locked; for another example, during the process of the user getting something from the rear door, the vehicle may be locked; for another example, during the process of the user getting out of the vehicle to greet an acquaintance, the vehicle may be locked.
[0113] On the other hand, also due to the relatively large fluctuations in the Bluetooth signal strength, the accuracy of ranging based on the Bluetooth signal strength is poor, which easily leads to a large difference in the distance between the user and the vehicle (denoted as the locking distance) each time the vehicle is locked. For example, in most cases, the locking distance fluctuates within the range of 4 - 14 m, affecting the user experience.
[0114] Based on this, the embodiments of the present application provide a vehicle lock control method and related device, which can solve the problem of the ping-pong phenomenon in vehicle unlocking and locking and improve the accuracy of vehicle lock control.
[0115] The technical solution provided by the present application can be applied to various communication systems. For example, it can be an Internet of Things (IoT) system, a Narrow Band Internet of Things (NB-IoT) system, a Long Term Evolution (LTE) system, or a 5th-generation (5G) communication system, as well as new communication systems (such as 6G) emerging in the future development of communications.
[0116] The technical solution provided by this application can also be applied to machine type communication (MTC), long term evolution - machine (LTE - M), device - to - device (D2D) network, machine - to - machine (M2M) network, Internet of Things (IoT) network or other networks. Among them, the IoT network can include, for example, the vehicle - to - everything (V2X) network. Among them, the communication methods in the vehicle - to - everything system are collectively referred to as vehicle - to - everything (V2X, where X can represent anything). For example, the V2X can include: vehicle - to - vehicle (V2V) communication, vehicle - to - infrastructure (V2I) communication, vehicle - to - pedestrian (V2P) communication, or vehicle - to - network (V2N) communication, etc.
[0117] Please refer to Figure 1 , Figure 1 FIG. is a schematic diagram of the application environment of a vehicle lock control method provided by an embodiment of this application. This application environment involves a vehicle 101 and a terminal device 102. A communication connection can be established between the terminal device 102 and the vehicle 101 to achieve information interaction.
[0118] Among them, the vehicle 101 can be a vehicle in a broad sense. For example, it can be a means of transportation (such as commercial vehicles, passenger cars, motorcycles, flying cars, trains, etc.), industrial vehicles (such as forklifts, trailers, tractors, etc.), engineering vehicles (such as excavators, bulldozers, cranes, etc.), agricultural equipment (such as lawn mowers, harvesters, etc.), amusement equipment, toy vehicles, etc. The embodiment of this application does not make specific limitations on the type of vehicle.
[0119] The terminal device 102 can be a device with wireless communication function on the user side, such as a cellular phone, a smart phone, a tablet computer, a handheld device, a wearable device, etc.
[0120] Please refer to Figure 2 , Figure 2 FIG. is a schematic flowchart of a vehicle lock control method provided by an embodiment of this application. Exemplarily, this vehicle lock control method can be applied to the vehicle 101 shown in the above Figure 1 As an example, the execution subject of this vehicle lock control method is the vehicle lock control device in the vehicle 101 for illustration.
[0121] AsFigure 2 As shown, the vehicle lock control method may include, but is not limited to, the following steps S201 to S203.
[0122] S201, when the vehicle lock state changes, determine the first displacement of the terminal device, where the first displacement is used to indicate the displacement starting from the position of the terminal device at the moment of the vehicle lock state change.
[0123] Among them, the vehicle lock state includes two cases: the unlocked state and the locked state. The vehicle lock state change can be from the locked state to the unlocked state, or from the unlocked state to the locked state. For example, when the vehicle unlocks, the vehicle lock state changes from the locked state to the unlocked state, and then the vehicle is in the unlocked state. Another example is that when the vehicle locks, the vehicle lock state changes from the unlocked state to the locked state, and then the vehicle is in the locked state.
[0124] In the embodiments of the present application, the vehicle lock refers to the door lock, the vehicle lock state refers to the door lock state, the vehicle unlocking action refers to the door unlocking, and the vehicle locking action refers to the door locking. This is uniformly explained in the embodiments of the present application and will not be repeated hereinafter.
[0125] The moment of the vehicle lock state change refers to the moment when the vehicle lock state changes, which can also be understood as the moment when the vehicle unlocks or locks. The first displacement of the terminal device refers to the displacement starting from the position of the terminal device at the moment of the vehicle lock state change (for simplicity of description, denoted as the first target position). This first displacement can be used to assist in judging the distance between the terminal device and the vehicle, so as to assist in subsequent vehicle lock control. It should be understood that the terminal device can be a device carried by the user, so the position of the terminal device can be considered as the position of the user, and the displacement of the terminal device can be considered as the displacement of the user.
[0126] In one example, the first target position can be the position of the terminal device when the vehicle unlocks. Taking the scenario where the user gets out of the driver's seat as an example, the vehicle will unlock, causing the vehicle lock state to change from the locked state to the unlocked state. In this scenario, the first target position can be the position of the driver's seat.
[0127] In another example, the first target position can be the position of the terminal device when the vehicle locks. Taking the scenario where the user walks away from the vehicle after getting out as an example, the vehicle will lock, causing the vehicle lock state to change from the unlocked state to the locked state. In this scenario, the first target position can be a position at a certain distance from the vehicle.
[0128] It should be understood that after the vehicle's lock state is switched, the position of the terminal device may move. Correspondingly, the first displacement of the terminal device will change as the position of the terminal device moves. Therefore, this first displacement can be understood as a real-time displacement, which is used to reflect the change of the real-time position of the terminal device relative to the first target position. For example, when the first displacement of the terminal device is small, it can be considered that the terminal device is still near the first target position; when the first displacement of the terminal device is large, it can be considered that the terminal device has moved away from the first target position.
[0129] Optionally, after the vehicle's lock state is switched, the lock control device can determine the first displacement of the terminal device periodically or aperiodically. For example, the lock control device can determine the first displacement of the terminal device once every first time. Herein, the first time can be set according to the actual situation or requirements, and the embodiments of the present application do not limit this.
[0130] In a possible implementation manner, the lock control device determines the first displacement of the terminal device, which may specifically include: the lock control device obtains the measurement data from the position information measurement module of the terminal device, and determines the first displacement of the terminal device according to the measurement data.
[0131] Among them, the position information measurement module is used to measure the position information of the terminal device to obtain the measurement data. This measurement data can be used to determine the first displacement of the terminal device. After the position information measurement module obtains the measurement data, the terminal device can send this measurement data to the lock control device, and the lock control device can determine the first displacement of the terminal device according to this measurement data.
[0132] Optionally, the position information measurement module can measure the position information of the terminal device periodically or aperiodically to obtain the measurement data. For example, the position information measurement module can measure the position information of the terminal device once every second time to obtain a measurement data. Herein, the second time can be set according to the actual situation or requirements, and the embodiments of the present application do not limit this. Every time the position information measurement module obtains a measurement data, the terminal device can send this measurement data to the lock control device, and the lock control device can determine the first displacement of the terminal device once according to this measurement data.
[0133] Through the above implementation manner, the measurement data from the position information measurement module of the terminal device can reflect the position change of the terminal device, so that the first displacement of the terminal device can be determined according to this measurement data.
[0134] In a possible implementation, the position information measurement module is an inertial navigation module. Accordingly, the measurement data of the inertial navigation module can be inertial navigation data (such as gyroscope data, accelerometer data, etc.). Inertial navigation data is widely used in terminal devices (such as smartphones), so that the measurement data can be obtained more conveniently by using the inertial navigation module.
[0135] Exemplarily, the inertial navigation module can be a pedestrian dead reckoning (PDR) module. Among them, the pedestrian dead reckoning PDR module can sense data such as the acceleration, angular velocity, magnetic force, and pressure of a pedestrian during walking, and use these data to measure and count the number of steps, step length, and direction of the pedestrian's walking, and deduce information such as the trajectory and position of the pedestrian. The accuracy of the pedestrian dead reckoning PDR module is relatively high. Therefore, by using the pedestrian dead reckoning PDR module to measure the position information of the terminal device, relatively accurate measurement data can be obtained.
[0136] Exemplarily, the measurement data can include but is not limited to the position (such as coordinate information) of the terminal device, displacement (such as moving direction and distance), or moving trajectory, etc. The displacement in the measurement data (for the sake of distinction, denoted as the measured displacement) refers to the displacement starting from the position of the terminal device at the moment when the position information measurement module is started (for the sake of simplified description, denoted as the second target position). Among them, the moment when the position information measurement module is started refers to the moment corresponding to when the terminal device starts the position information measurement module.
[0137] It should be understood that after the position information measurement module is started, the position of the terminal device may move. Accordingly, the measured displacement of the terminal device will change as the position of the terminal device moves. Therefore, this measured displacement can be understood as a real-time displacement, which is used to reflect the change of the real-time position of the terminal device relative to the second target position. For example, when the measured displacement of the terminal device is small, it can be considered that the terminal device is still near the second target position; when the measured displacement of the terminal device is large, it can be considered that the terminal device is far from the second target position.
[0138] Optionally, the measurement data includes the measured displacement of the terminal device. The vehicle lock control device can directly obtain the measured displacement of the terminal device from the measurement data, and then determine the first displacement of the terminal device according to the measured displacement.
[0139] Optionally, the measurement data includes the coordinate information of the terminal device. The vehicle lock control device can obtain the coordinate information of the terminal device from the measurement data, calculate the measured displacement of the terminal device using the coordinate information of the terminal device, and then determine the first displacement of the terminal device based on the measured displacement. For example, in the measurement data, the coordinates of the starting position of the terminal device (i.e., the position of the terminal device at the moment when the position information measurement module is started) are (0, 0), and the coordinates of the real-time position of the terminal device are represented by (x, y). Then, the direction and distance of the real-time position of the terminal device relative to the starting position can be calculated based on the coordinates (x, y) and the coordinates (0, 0), so as to obtain the measured displacement.
[0140] In a possible case, the moment when the position information measurement module is started is the same as the moment when the vehicle lock state is switched, that is, the position information measurement module is started when the vehicle lock state is switched. Correspondingly, the position of the terminal device at the moment when the vehicle lock state is switched (i.e., the first target position) is the same as the position of the terminal device at the moment when the position information measurement module is started (i.e., the second target position), that is, the starting position of the first displacement is the same as the starting position of the measured displacement. In this case, the vehicle lock control device can directly determine the measured displacement of the terminal device as the first displacement of the terminal device.
[0141] In another possible case, the moment when the position information measurement module is started is earlier than the moment when the vehicle lock state is switched, that is, the position information measurement module has been started before the vehicle lock state is switched. Correspondingly, the first target position is different from the second target position, that is, the starting position of the first displacement is different from the starting position of the measured displacement. It can be understood that the starting position is refreshed when the vehicle lock state is switched.
[0142] In this case, the vehicle lock control device can obtain the coordinates of the terminal device at the moment when the vehicle lock state is switched (denoted as the first coordinates), and the coordinates of the terminal device after the vehicle lock state is switched (denoted as the second coordinates), and then calculate the first displacement of the terminal device based on the first coordinates and the second coordinates. The vehicle lock control device can also obtain the measured displacement of the terminal device at the moment when the vehicle lock state is switched (denoted as the first measured displacement), and the measured displacement of the terminal device after the vehicle lock state is switched (denoted as the second measured displacement), and then calculate the first displacement of the terminal device based on the first measured displacement and the second measured displacement.
[0143] For example, assume that the coordinates of the terminal device at the start time of the position information measurement module are (0, 0), and the coordinates of the terminal device at the moment of the vehicle lock state change (i.e., the first coordinates) are (2, 0). Then, through calculation, it can be obtained that the measured displacement of the terminal device at the moment of the vehicle lock state change (i.e., the first measured displacement) is 2. After the vehicle lock state changes, assume that the coordinates of the terminal device at a certain moment (i.e., the second coordinates) are (3, 0). Then, through calculation, it can be obtained that the measured displacement of the terminal device at this moment (i.e., the second measured displacement) is 3. In this example, the distance between the second coordinates (3, 0) and the first coordinates (2, 0) can be calculated to obtain the first displacement of the terminal device as 1; or the displacement difference between the second measured displacement 3 and the first measured displacement 2 can be calculated to obtain the first displacement of the terminal device as 1.
[0144] In the above example, the measurement data sent by the terminal device to the vehicle lock control device may include the coordinate information or the measured displacement of the terminal device. That is to say, the coordinate information or the measured displacement of the terminal device is calculated by the terminal device according to the original inertial navigation data (such as gyroscope data, accelerometer data, etc.). It should be noted that in other examples, the coordinate information or the measured displacement of the terminal device can also be calculated by the vehicle lock control device. Specifically, the terminal device can send the original inertial navigation data to the vehicle lock control device, and the vehicle lock control device can calculate the coordinate information or the measured displacement of the terminal device according to the original inertial navigation data.
[0145] In a possible implementation manner, before the vehicle lock control device obtains the measurement data from the position information measurement module of the terminal device, it may further include: when the trigger condition is satisfied, sending a start instruction to the terminal device, and the start instruction is used to instruct the terminal device to start the position information measurement module.
[0146] Among them, the trigger condition can be understood as the condition to be satisfied when the position information of the terminal device needs to be measured. When the trigger condition is satisfied, it can be considered that there is a measurement requirement at this time, that is, the position information of the terminal device needs to be measured, and the measurement data is used to assist in vehicle lock control.
[0147] Through the above implementation manner, the position information measurement module in the terminal device does not need to be in a working state all the time, but can be started when there is a measurement requirement, which is beneficial to reducing unnecessary power consumption.
[0148] In a possible implementation manner, the trigger condition includes: the terminal device establishes a communication connection with the vehicle.
[0149] Among them, the establishment of a communication connection between the terminal device and the vehicle can be understood as the change from the non - establishment of a communication connection between the terminal device and the vehicle to the establishment of a communication connection. Exemplarily, the terminal device and the vehicle establish a wireless communication connection through short - range communication technology. Among them, the short - range connection technology can be Bluetooth technology, wireless fidelity (WIFI) technology, or SparkLink technology, etc.
[0150] After the terminal device and the vehicle establish a communication connection, it can be considered that vehicle lock control is about to be performed (such as switching the vehicle lock state or maintaining the current vehicle lock state). Correspondingly, it can be considered that the position information of the terminal device needs to be measured, and the measurement data is used to assist in vehicle lock control. Therefore, when the terminal device and the vehicle establish a communication connection, that is, when the terminal device changes from not having a communication connection with the vehicle to having a communication connection, the vehicle lock control device can send a start instruction to the terminal device to instruct the terminal device to start the position information measurement module, so as to obtain measurement data.
[0151] Taking the scenario where the user approaches the vehicle from a distance as an example, when the distance between the user and the vehicle is far, the terminal device and the vehicle fail to establish a communication connection. When the distance between the user and the vehicle is close, the terminal device and the vehicle can establish a communication connection. Thus, during the process of the user approaching the vehicle from a distance, the terminal device and the vehicle can change from not having a communication connection to having a communication connection. In this scenario, when the terminal device and the vehicle establish a communication connection, the distance between the terminal device and the vehicle at this time can be considered as the maximum distance at which the terminal device and the vehicle can establish a communication connection. This maximum distance is usually a fixed value. Therefore, the distance between the terminal device and the vehicle at this time can be considered relatively stable. Correspondingly, the position of the terminal device at this time can also be considered relatively stable. For example, assuming that the distance range within which the terminal device and the vehicle can establish a communication connection is [0, s], where s represents the maximum distance at which the terminal device and the vehicle can establish a communication connection, then it can be considered that the distance when the terminal device and the vehicle establish a communication connection is s, that is, it can be considered that the position of the terminal device at this time is a position s away from the vehicle.
[0152] Through the above - mentioned implementation manner, when the terminal device and the vehicle establish a communication connection, it can be considered that vehicle lock control is about to be performed, and at this time, the stability of the position of the terminal device is relatively good. Thus, triggering the terminal device to start the position information measurement module to obtain measurement data can enable the terminal device to start the position information measurement module at a more appropriate and reliable time, which is beneficial to ensuring the stability of the starting position corresponding to the measurement data, and then using the measurement data to assist in vehicle lock control, which is beneficial to improving the accuracy of vehicle lock control.
[0153] In a possible implementation manner, the triggering condition includes: the vehicle lock state of the vehicle changes.
[0154] Among them, the vehicle lock state switches. It can be that the vehicle unlocks, causing the lock state to switch from the locked state to the unlocked state, or the vehicle locks, causing the lock state to switch from the unlocked state to the locked state.
[0155] After the vehicle lock state switches, it can be considered that vehicle lock control is about to be required (such as switching the lock state or maintaining the current lock state). Correspondingly, it can be considered that the position information of the terminal device needs to be measured, and the measurement data is used to assist in vehicle lock control. Therefore, when the vehicle lock state switches, the vehicle lock control device can send a start instruction to the terminal device to instruct the terminal device to start the position information measurement module, thereby obtaining the measurement data.
[0156] Taking the scenario where the user gets out of the vehicle as an example, the vehicle will unlock, causing the lock state to switch from the locked state to the unlocked state. In this scenario, when the lock state switches from the locked state to the unlocked state, at this time the user is still in the vehicle, and the distance between the terminal device and the vehicle can be considered zero. Therefore, at this time, the distance between the terminal device and the vehicle can be considered relatively stable. Correspondingly, the position of the terminal device can also be considered relatively stable at this time. For example, the position of the terminal device at this time is the position of the driver's seat.
[0157] It should be noted that the scenarios where the vehicle lock state switches are not limited to the above scenarios. For example, in the scenario where the user approaches the vehicle from a distance, the vehicle will unlock, causing the lock state to switch from the locked state to the unlocked state. Another example is that in the scenario where the user walks away from the vehicle after getting out, the vehicle will lock, causing the lock state to switch from the unlocked state to the locked state.
[0158] Through the above implementation, when the vehicle lock state switches, it can be considered that vehicle lock control is about to be required, and at this time the position of the terminal device is relatively stable. Thus, triggering the terminal device to start the position information measurement module to obtain the measurement data can enable the terminal device to start the position information measurement module at a more appropriate and reliable time, which is conducive to ensuring the stability of the starting position corresponding to the measurement data, and then using the measurement data to assist in vehicle lock control, which is conducive to improving the accuracy of vehicle lock control.
[0159] In a possible implementation, the triggering condition includes: the vehicle gear is switched to the parking gear.
[0160] Among them, the gear of the vehicle is switched to the parking gear, which can be switched from other gears to the parking gear (such as the P gear). After the gear of the vehicle is switched to the parking gear, it can be considered that vehicle lock control is about to be performed (such as switching the vehicle lock state or maintaining the current vehicle lock state). Correspondingly, it can be considered that the position information of the terminal device needs to be measured, and the measurement data is used to assist in vehicle lock control. Therefore, when the gear of the vehicle is switched to the parking gear, the vehicle lock control device can send a start instruction to the terminal device to instruct the terminal device to start the position information measurement module, so as to obtain the measurement data.
[0161] Taking the scenario of the user parking as an example, the user will switch the gear of the vehicle to the parking gear. In this scenario, when the gear of the vehicle is switched to the parking gear, at this time the user is still in the vehicle, and the distance between the terminal device and the vehicle can be considered to be zero. Therefore, at this time, the distance between the terminal device and the vehicle can be considered to be relatively stable. Correspondingly, the position of the terminal device at this time can also be considered to be relatively stable. For example, the position of the terminal device at this time is the position of the driver's seat.
[0162] Through the above implementation manner, when the gear of the vehicle is switched to the parking gear, it can be considered that vehicle lock control is about to be performed, and at this time the position of the terminal device is relatively stable. Thus, at this time, the terminal device is triggered to start the position information measurement module, so that the terminal device can start the position information measurement module at a more appropriate and reliable time, which is beneficial to ensuring the stability of the starting position corresponding to the measurement data, and then using the measurement data to assist in vehicle lock control, which is beneficial to improving the accuracy of vehicle lock control.
[0163] In a possible implementation manner, the triggering condition includes: the door state of the vehicle changes.
[0164] Among them, the door state includes two situations: the closed state and the open state. The change of the door state of the vehicle can be that the user opens the door to switch the door state from the closed state to the open state, or the user closes the door to switch the door state from the open state to the closed state.
[0165] After the door state of the vehicle changes, it can be considered that vehicle lock control is about to be performed (such as switching the vehicle lock state or maintaining the current vehicle lock state). Correspondingly, it can be considered that the position information of the terminal device needs to be measured, and the measurement data is used to assist in vehicle lock control. Therefore, when the door state of the vehicle changes, the vehicle lock control device can send a start instruction to the terminal device to instruct the terminal device to start the position information measurement module, so as to obtain the measurement data.
[0166] Taking the scenario where the user opens the car door and gets out of the car as an example, the user will open the car door, causing the door state to change from the closed state to the open state. In this scenario, when the door state changes from the closed state to the open state, the user is still in the car at this time, and the distance between the terminal device and the vehicle can be considered zero. Therefore, at this time, the distance between the terminal device and the vehicle can be considered relatively stable. Correspondingly, the position of the terminal device at this time can also be considered relatively stable. For example, the position of the terminal device at this time is the position of the driver's seat.
[0167] It should be noted that the scenario where the door state changes is not limited to the above scenario. For example, in the scenario where the user closes the car door after getting out of the car, the user will close the car door, causing the door state to change from the open state to the closed state. In this scenario, when the door state changes from the open state to the closed state, the user is located next to the car door at this time, and the distance between the terminal device and the vehicle can be considered a very small distance. Therefore, at this time, the distance between the terminal device and the vehicle can be considered relatively stable. Correspondingly, the position of the terminal device at this time can also be considered relatively stable. For example, the position of the terminal device at this time is a position close to the car door.
[0168] Through the above implementation, when the door state of the vehicle changes, it can be considered that car lock control is about to be required, and at this time, the stability of the position of the terminal device is relatively good. Therefore, triggering the terminal device to start the position information measurement module to obtain measurement data at this time can enable the terminal device to start the position information measurement module at a relatively appropriate and reliable time, which is beneficial to ensuring the stability of the starting position corresponding to the measurement data, and then using the measurement data to assist in car lock control, which is beneficial to improving the accuracy of car lock control.
[0169] S202, measure the signal strength of the wireless signal between the terminal device and the vehicle.
[0170] The terminal device can establish a communication connection with the vehicle. After the terminal device and the vehicle establish a communication connection, a wireless signal will be generated between the terminal device and the vehicle, and the car lock control device can measure the signal strength of this wireless signal. Exemplarily, the received signal strength indication (RSSI) can be used to represent the signal strength.
[0171] In a possible implementation, the terminal device and the vehicle can establish a wireless communication connection through a short-range communication technology. Among them, the short-range connection technology can be Bluetooth technology, wireless fidelity (WIFI) technology, or SparkLink technology, etc. Correspondingly, the wireless signal between the terminal device and the vehicle can be a signal based on Bluetooth, WIFI, or SparkLink communication.
[0172] Through the above embodiments, a communication connection is established between the terminal device and the vehicle through Bluetooth, WIFI or XingShan technology. Since the signal strength of Bluetooth, WIFI or XingShan communication is related to the distance, the signal strength of the wireless signal between the terminal device and the vehicle can be used to determine the distance between the terminal device and the vehicle, and thus can be used for vehicle lock control. In addition, it is easy to establish a communication connection between the terminal device and the vehicle through Bluetooth, WIFI or XingShan technology, and the implementation difficulty is low.
[0173] S203. Control the vehicle lock state according to the first displacement and the signal strength.
[0174] In one example, after the vehicle lock state switches from the locked state to the unlocked state, that is, when the current vehicle lock state is the unlocked state, the vehicle lock control device controls the vehicle lock state according to the first displacement of the terminal device and the signal strength of the wireless signal between the terminal device and the vehicle. For example, it may control the vehicle to perform a locking action to switch the vehicle lock state from the unlocked state to the locked state, or it may keep the vehicle lock state in the unlocked state.
[0175] In a possible implementation manner, when the signal strength is less than the first strength threshold and the first displacement is greater than the first displacement threshold, control the vehicle to perform a locking action to switch the vehicle lock state from the unlocked state to the locked state; or, when the signal strength is greater than or equal to the first strength threshold or the first displacement is less than or equal to the first displacement threshold, keep the vehicle lock state in the unlocked state.
[0176] Among them, the first strength threshold can be understood as the maximum value of the signal strength that satisfies the locking condition. When the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold, it can be considered that the signal strength of the wireless signal between the terminal device and the vehicle satisfies the locking condition. When the signal strength of the wireless signal between the terminal device and the vehicle is greater than or equal to the first strength threshold, it can be considered that the signal strength of the wireless signal between the terminal device and the vehicle does not satisfy the locking condition.
[0177] The first displacement threshold can be understood as the minimum value of the first displacement that satisfies the vehicle lock state switching condition (in this example, that is, the condition for the vehicle lock state to switch from the unlocked state to the locked state, which can also be understood as the locking condition). When the first displacement of the terminal device is greater than the first displacement threshold, it can be considered that the first displacement of the terminal device satisfies the vehicle lock state switching condition. When the first displacement of the terminal device is less than or equal to the first displacement threshold, it can be considered that the first displacement of the terminal device does not satisfy the vehicle lock state switching condition.
[0178] Thus, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the first displacement of the terminal device is greater than the first displacement threshold, that is, when both the signal strength and the first displacement meet the corresponding locking conditions, it can be determined that the vehicle needs to be locked. Therefore, the vehicle can be controlled to perform a locking action to switch the vehicle's lock state from the unlocked state to the locked state. When the signal strength of the wireless signal between the terminal device and the vehicle is greater than or equal to the first strength threshold, or the first displacement of the terminal device is less than or equal to the first displacement threshold, that is, when at least one of the signal strength and the first displacement does not meet the corresponding locking conditions, it can be determined that the vehicle does not need to be locked. Therefore, the vehicle's lock state can be kept in the unlocked state.
[0179] For example, in the scenario where the user approaches the vehicle from a distance, optionally, when the signal strength of the wireless signal between the terminal device and the vehicle is greater than a certain threshold, the vehicle performs an unlocking action to switch the lock state from the locked state to the unlocked state. It can be understood that at this time, the terminal device and the vehicle are at a certain distance from each other, and the position of the terminal device at this time is recorded as the first position. Thereafter, if the signal strength is less than the first strength threshold, one possible situation is that this indicates that the user has moved away from the vehicle again, that is, the vehicle needs to be locked. Another possible situation is that this is due to signal fluctuations, and in fact, the user has not moved away from the vehicle, that is, the vehicle does not need to be locked. The first displacement of the terminal device can be used to verify which of the above situations it is. If the first displacement is greater than the first displacement threshold, it means that the user has moved away from the first position. Combining with the signal strength being less than the first strength threshold, it can be determined that the user has moved away from the vehicle again. Therefore, the vehicle can be controlled to perform a locking action to switch the vehicle's lock state from the unlocked state to the locked state. If the first displacement is less than or equal to the first displacement threshold, it means that the user is still near the first position, and it can be determined that the user has not moved away from the vehicle. Therefore, the vehicle's lock state can be kept in the unlocked state.
[0180] It should be understood that the above first strength threshold and first displacement threshold can be set in combination with the actual situation or requirements, and the embodiments of the present application do not make any limitations in this regard.
[0181] Through the above implementation manner, when the current lock state of the vehicle is the unlocked state, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the first displacement of the terminal device is greater than the first displacement threshold, that is, when both the signal strength and the first displacement meet the corresponding locking conditions, the vehicle is controlled to perform a locking action, thereby reducing false locking and improving the locking accuracy.
[0182] In another example, after the vehicle's lock state switches from the unlocked state to the locked state, that is, when the current vehicle lock state is the locked state, the vehicle lock control device controls the vehicle's lock state based on the first displacement of the terminal device and the signal strength of the wireless signal between the terminal device and the vehicle. For example, it may control the vehicle to perform an unlocking action to switch the vehicle's lock state from the locked state to the unlocked state, or it may keep the vehicle's lock state in the locked state.
[0183] In a possible implementation, when the signal strength is greater than the second strength threshold and the first displacement is greater than the second displacement threshold, control the vehicle to perform an unlocking action to switch the vehicle's lock state from the locked state to the unlocked state; or, when the signal strength is less than or equal to the second strength threshold or the first displacement is less than or equal to the second displacement threshold, keep the vehicle's lock state in the locked state.
[0184] Among them, the second strength threshold can be understood as the minimum value of the signal strength that satisfies the unlocking condition. When the signal strength of the wireless signal between the terminal device and the vehicle is greater than the second strength threshold, it can be considered that the signal strength of the wireless signal between the terminal device and the vehicle satisfies the unlocking condition. When the signal strength of the wireless signal between the terminal device and the vehicle is less than or equal to the second strength threshold, it can be considered that the signal strength of the wireless signal between the terminal device and the vehicle does not satisfy the unlocking condition.
[0185] The second displacement threshold can be understood as the minimum value of the first displacement that satisfies the vehicle lock state switching condition (in this example, that is, the condition for the vehicle lock state to switch from the locked state to the unlocked state, which can also be understood as the unlocking condition). When the first displacement of the terminal device is greater than the second displacement threshold, it can be considered that the first displacement of the terminal device satisfies the vehicle lock state switching condition. When the first displacement of the terminal device is less than or equal to the second displacement threshold, it can be considered that the first displacement of the terminal device does not satisfy the vehicle lock state switching condition.
[0186] Thus, when the signal strength of the wireless signal between the terminal device and the vehicle is greater than the second strength threshold and the first displacement of the terminal device is greater than the second displacement threshold, that is, when both the signal strength and the first displacement satisfy the corresponding unlocking conditions, it can be determined that the vehicle needs to be unlocked. Therefore, the vehicle can be controlled to perform an unlocking action to switch the vehicle's lock state from the locked state to the unlocked state. When the signal strength of the wireless signal between the terminal device and the vehicle is less than or equal to the second strength threshold or the first displacement of the terminal device is less than or equal to the second displacement threshold, that is, when at least one of the signal strength and the first displacement does not satisfy the corresponding unlocking conditions, it can be determined that the vehicle does not need to be unlocked. Therefore, the vehicle's lock state can be kept in the locked state.
[0187] For example, in the scenario where the user gets out of the vehicle and moves away from it, optionally, when the signal strength of the wireless signal between the terminal device and the vehicle is less than a certain threshold and the distance between the terminal device and the vehicle is greater than a certain threshold, the vehicle performs a locking action to switch the vehicle lock state from the unlocked state to the locked state. It can be understood that at this time, the terminal device is at a certain distance from the vehicle, and the position of the terminal device at this time is recorded as the second position. After that, if the signal strength is greater than the second strength threshold, one possible situation is that this indicates that the user is approaching the vehicle again, that is, the vehicle needs to be unlocked. Another possible situation is that this is caused by signal fluctuations, and in fact, the user has not approached the vehicle, that is, the vehicle does not need to be unlocked. The first displacement of the terminal device can be used to verify which of the above situations it is. If the first displacement is greater than the second displacement threshold, it means that the user has moved away from the second position. Combining with the signal strength being greater than the second strength threshold, it can be determined that the user is approaching the vehicle again, and thus the vehicle can be controlled to perform an unlocking action to switch the vehicle lock state from the locked state to the unlocked state. If the first displacement is less than or equal to the second displacement threshold, it means that the user is still near the second position, and it can be determined that the user has not approached the vehicle, and thus the vehicle lock state can be kept in the locked state.
[0188] It should be understood that the above second strength threshold and second displacement threshold can be set in combination with the actual situation or requirements, and the embodiments of the present application do not limit this. The second strength threshold and the first strength threshold can be the same or different, and the second displacement threshold and the first displacement threshold can be the same or different. Optionally, the second strength threshold is greater than the first strength threshold, and the second displacement threshold is the same as the first displacement threshold.
[0189] Through the above implementation manner, when the current vehicle lock state is the locked state, when the signal strength of the wireless signal between the terminal device and the vehicle is greater than the second strength threshold and the first displacement of the terminal device is greater than the first displacement threshold, that is, when both the signal strength and the first displacement meet the corresponding unlocking conditions, the vehicle is controlled to perform an unlocking action, thereby reducing mis-unlocking and improving the unlocking accuracy.
[0190] Through the embodiments of the present application, the vehicle lock state can be controlled by combining the signal strength of the wireless signal between the terminal device and the vehicle and the displacement information of the terminal device. Compared with unlocking / locking control based solely on the signal strength, the displacement information of the terminal device is introduced to assist in vehicle lock control, which can reduce the situation where the vehicle is unlocked / locked when it actually does not need to be unlocked / locked due to signal fluctuations, thereby solving the problem of the ping-pong phenomenon in vehicle unlocking and locking and improving the accuracy of vehicle lock control.
[0191] Taking the scenario where the user approaches the vehicle from a distance as an example, a way of unlocking control is provided below.
[0192] In a possible implementation, when the vehicle lock state of the vehicle is in the locked state, when the terminal device establishes a communication connection with the vehicle, the signal strength of the wireless signal between the terminal device and the vehicle is measured; when the signal strength is greater than the second strength threshold, the vehicle is controlled to perform an unlocking action, so that the vehicle lock state of the vehicle is switched from the locked state to the unlocked state.
[0193] The above implementation provides an unlocking control method, which can be applied to the first unlocking control in the scenario where the user approaches the vehicle from a distance. When the user is at a distance, the vehicle lock state of the vehicle is in the locked state. When the distance between the user and the vehicle is far, the terminal device and the vehicle fail to establish a communication connection. When the distance between the user and the vehicle is close, the terminal device and the vehicle can establish a communication connection. Thus, during the process of the user approaching the vehicle from a distance, the terminal device and the vehicle can change from not establishing a communication connection to establishing a communication connection.
[0194] When the terminal device establishes a communication connection with the vehicle, the vehicle lock control device can start measuring the signal strength of the wireless signal between the terminal device and the vehicle. It can be understood that as the user gets closer and closer to the vehicle, the signal strength of the wireless signal between the terminal device and the vehicle will become larger and larger. When the signal strength is greater than the second strength threshold, it can be considered that the signal strength meets the unlocking condition. Therefore, the vehicle lock control device can control the vehicle to perform an unlocking action, so that the vehicle lock state of the vehicle is switched from the locked state to the unlocked state.
[0195] It should be noted that this unlocking can be understood as the first unlocking in this scenario. That is to say, in this scenario, the vehicle can be controlled to switch from the locked state to the unlocked state for the first time solely based on the signal strength of the wireless signal between the terminal device and the vehicle. After this vehicle lock state switch, the subsequent vehicle lock state can be controlled by combining the signal strength of the wireless signal between the terminal device and the vehicle and the first displacement of the terminal device. The specific control method can refer to the previous embodiments and will not be elaborated here.
[0196] Through the above implementation, when the signal strength of the wireless signal between the terminal device and the vehicle is greater than the second strength threshold, controlling the vehicle to perform an unlocking action is applicable to the first unlocking control in the scenario where the user approaches the vehicle from a distance.
[0197] Next, taking the scenario where the user gets out of the vehicle and moves away from the vehicle as an example, a locking control method is provided.
[0198] In a possible implementation, when the vehicle door is opened and then closed while the vehicle's door lock state is in the unlocked state, determine the second displacement of the terminal device. The second displacement is used to indicate the displacement starting from the position of the terminal device when the vehicle door is opened and then closed; measure the signal strength of the wireless signal between the terminal device and the vehicle; when the signal strength is less than the first strength threshold and the second displacement is greater than the third displacement threshold, control the vehicle to perform a locking action, so that the vehicle's door lock state switches from the unlocked state to the locked state.
[0199] The above implementation provides a locking control method, which can be applied to the first locking control in the scenario where the user gets out of the vehicle and moves away from the vehicle. After the user gets out of the vehicle, the user will close the vehicle door so that the door is opened and then closed. At this time, the user is located beside the vehicle door (which can also be considered beside the vehicle), so the position of the terminal device when the vehicle door is opened and then closed (for the sake of simplicity of description, denoted as the third target position) is beside the vehicle.
[0200] Among them, the second displacement of the terminal device refers to the displacement starting from the third target position, which can reflect the distance between the terminal device and the vehicle. For example, if the second displacement is large, it means that the user has moved away from the vehicle door, that is, the user has moved away from the vehicle, so it can be considered that the distance between the terminal device and the vehicle is far; if the second displacement is small, it means that the user is still near the vehicle door, that is, the user is still near the vehicle, so it can be considered that the distance between the terminal device and the vehicle is close. Specifically, the door lock control device can determine the second displacement of the terminal device according to the measured displacement of the terminal device.
[0201] In a possible situation, when the door is opened and then closed, the position information measurement module is activated. Correspondingly, the position of the terminal device when the vehicle door is opened and then closed (i.e., the third target position) is the same as the position of the terminal device at the moment when the position information measurement module is activated (i.e., the second target position), that is, the starting position of the second displacement is the same as the starting position of the measured displacement. In this case, the door lock control device can directly determine the measured displacement of the terminal device as the second displacement of the terminal device.
[0202] In another possible scenario, when the position information measurement module has been activated before the vehicle door moves from the open position to the closed position, correspondingly, the third target position is different from the second target position, that is, the starting position of the second displacement is different from the starting position of the measured displacement. It can be understood that the starting position is refreshed when the vehicle door moves from the open position to the closed position. In this case, the vehicle lock control device can obtain the coordinates of the terminal device when the vehicle door moves from the open position to the closed position (denoted as the third coordinate), and the coordinates of the terminal device after the vehicle door moves from the open position to the closed position (denoted as the fourth coordinate), and then calculate the second displacement of the terminal device based on the third coordinate and the fourth coordinate. The vehicle lock control device can also obtain the measured displacement of the terminal device when the vehicle door moves from the open position to the closed position (denoted as the third measured displacement), and the measured displacement of the terminal device after the vehicle door moves from the open position to the closed position (denoted as the fourth measured displacement), and then calculate the second displacement of the terminal device based on the third measured displacement and the fourth measured displacement.
[0203] The third displacement threshold can be understood as the minimum value of the second displacement that satisfies the locking condition. When the second displacement of the terminal device is greater than the third displacement threshold, it can be considered that the second displacement of the terminal device satisfies the locking condition. When the second displacement of the terminal device is less than or equal to the second displacement threshold, it can be considered that the second displacement of the terminal device does not satisfy the locking condition. It should be understood that the third displacement threshold can be set according to the actual situation or requirements, and the embodiments of the present application do not limit this.
[0204] Therefore, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the second displacement of the terminal device is greater than the third displacement threshold, that is, both the signal strength and the second displacement satisfy the corresponding locking conditions, it can be determined that the vehicle needs to be locked. Therefore, the vehicle can be controlled to perform a locking action, so that the vehicle lock state is switched from the unlocked state to the locked state.
[0205] It should be noted that this locking can be understood as the first locking in this scenario. That is to say, in this scenario, the signal strength of the wireless signal between the terminal device and the vehicle and the second displacement of the terminal device can be combined to control the vehicle to switch from the unlocked state to the locked state for the first time. After this vehicle lock state switch, the signal strength of the wireless signal between the terminal device and the vehicle and the first displacement of the terminal device can be combined to control the subsequent vehicle lock state. The specific control method can refer to the previous embodiments and will not be elaborated here.
[0206] Through the above embodiments, when the signal strength of the wireless signal between the terminal device and the vehicle is less than the first strength threshold and the second displacement of the terminal device is greater than the third displacement threshold, the vehicle is controlled to perform a locking action, which is applicable to the first locking control in the scenario where the user gets out of the vehicle and moves away from the vehicle. Compared with the locking control based solely on the signal strength, the second displacement of the terminal device is introduced to assist in ranging, which can solve the problem of large differences in the distance between the user and the vehicle (i.e., the locking distance) when locking after getting out of the vehicle due to signal fluctuations, thereby improving the consistency of the locking distance.
[0207] The method of the embodiments of the present application is described in detail above. Next, a device for implementing any one of the methods in the embodiments of the present application is provided.
[0208] Please refer to Figure 3 , Figure 3 FIG. is a schematic structural diagram of a vehicle lock control device provided by an embodiment of the present application. The vehicle lock control device 300 can be implemented in a manner of hardware, software, or a combination of software and hardware.
[0209] As Figure 3 shown, the vehicle lock control device 300 may include a determination unit 301, a measurement unit 302, and a control unit 303. The determination unit 301, the measurement unit 302, and the control unit 303 may be software, hardware, or a combination of software and hardware. Among them, the descriptions of each unit are as follows:
[0210] The determination unit 301 is configured to determine a first displacement of the terminal device when the vehicle lock state of the vehicle is switched, where the first displacement is used to indicate the displacement starting from the position of the terminal device at the moment of the vehicle lock state switch;
[0211] The measurement unit 302 is configured to measure the signal strength of the wireless signal between the terminal device and the vehicle;
[0212] The control unit 303 is configured to control the vehicle lock state of the vehicle according to the first displacement and the signal strength.
[0213] In a possible implementation manner, the vehicle lock state switch of the vehicle includes: the vehicle lock state switches from the locked state to the unlocked state; when the control unit 303 controls the vehicle lock state according to the first displacement and the signal strength, it is specifically configured to:
[0214] When the signal strength is less than the first strength threshold and the first displacement is greater than the first displacement threshold, control the vehicle to perform a locking action, so that the vehicle lock state switches from the unlocked state to the locked state; or,
[0215] When the signal strength is greater than or equal to the first strength threshold, or the first displacement is less than or equal to the first displacement threshold, keep the vehicle's car lock state in the unlocked state.
[0216] In a possible implementation manner, the switching of the vehicle's car lock state includes: the vehicle's car lock state switches from the unlocked state to the locked state; when the control unit 303 controls the vehicle's car lock state according to the first displacement and the signal strength, it is specifically configured to:
[0217] When the signal strength is greater than the second strength threshold and the first displacement is greater than the second displacement threshold, control the vehicle to perform an unlocking action, so that the vehicle's car lock state switches from the locked state to the unlocked state; or,
[0218] When the signal strength is less than or equal to the second strength threshold, or the first displacement is less than or equal to the second displacement threshold, keep the vehicle's car lock state in the locked state.
[0219] In a possible implementation manner, when the determining unit 301 determines the first displacement of the terminal device, it is specifically configured to:
[0220] Obtain the measurement data from the position information measurement module of the terminal device, and determine the first displacement of the terminal device according to the measurement data.
[0221] In a possible implementation manner, the car lock control device further includes a sending unit (not shown in the figure), configured to send a start instruction to the terminal device before the determining unit 301 obtains the measurement data from the position information measurement module of the terminal device when a trigger condition is satisfied, where the start instruction is used to instruct the terminal device to start the position information measurement module.
[0222] In a possible implementation manner, the trigger condition includes one or more of the following conditions: the terminal device establishes a communication connection with the vehicle; the car lock state of the vehicle changes; the gear of the vehicle is switched to the parking gear; the door state of the vehicle changes.
[0223] In a possible implementation manner, the position information measurement module includes: a Pedestrian Dead Reckoning (PDR) module.
[0224] In a possible implementation manner, the measurement unit 302 is further configured to: when the car lock state of the vehicle is in the locked state, measure the signal strength of the wireless signal between the terminal device and the vehicle when the terminal device establishes a communication connection with the vehicle;
[0225] The control unit 303 is further configured to: when the signal strength is greater than a second strength threshold, control the vehicle to perform an unlocking action, so that the vehicle's car lock state switches from a locked state to an unlocked state.
[0226] In a possible implementation, the determining unit 301 is further configured to: when the car lock state of the vehicle is in an unlocked state, when the vehicle door is opened and then closed, determine a second displacement of the terminal device, where the second displacement is used to indicate a displacement starting from the position of the terminal device when the vehicle door is opened and then closed;
[0227] The measuring unit 302 is further configured to: measure the signal strength of the wireless signal between the terminal device and the vehicle;
[0228] The control unit 303 is further configured to: when the signal strength is less than a first strength threshold and the second displacement is greater than a third displacement threshold, control the vehicle to perform a locking action, so that the vehicle's car lock state switches from an unlocked state to a locked state.
[0229] In a possible implementation, the wireless signal is a signal based on Bluetooth, wireless network WIFI, or XingFlash communication.
[0230] According to the embodiments of the present application, Figure 3 Each unit in the shown device can be separately or all combined into one or several other units to form, or a certain (some) unit can be further split into multiple smaller units with functional division, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above units are divided based on logical functions. In actual applications, the function of one unit can also be realized by multiple units, or the functions of multiple units can be realized by one unit. In other embodiments of the present application, based on the electronic device, other units may also be included. In actual applications, these functions can also be assisted by other units and can be realized by the cooperation of multiple units.
[0231] It should be noted that the implementation and beneficial effects of each unit can also be correspondingly referred to the corresponding descriptions in the above method embodiments, which will not be elaborated here.
[0232] Please refer to Figure 4 , Figure 4 FIG. is a schematic structural diagram of another car lock control device provided by the embodiments of the present application. The car lock control device 400 may include a memory 401 and a processor 402. Further optionally, the car lock control device 400 may further include a communication interface 403 and a bus 404. Among them, the memory 401, the processor 402, and the communication interface 403 are communicatively connected to each other through the bus 404. The communication interface 403 is used for data interaction with other devices.
[0233] Among them, the memory 401 is used to provide storage space, in which data such as an operating system and computer programs can be stored. The memory 401 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a compact disc read-only memory (CD-ROM).
[0234] The processor 402 is a module for performing arithmetic and logical operations, and can be one or a combination of multiple processing modules such as a central processing unit (CPU), a graphics processing unit (GPU), or a microprocessor unit (MPU). The processor 402 can also be other general-purpose processors, 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, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0235] The processor 402 calls the computer program stored in the memory 401 and can execute the method shown in the above method embodiments. For specific content, reference can be made to the corresponding descriptions of the above method embodiments, which will not be elaborated here.
[0236] For the case where the vehicle lock control device can be a chip or a chip system, reference can be made to Figure 5 the structural schematic diagram of the chip shown.
[0237] As Figure 5 shown, the chip 500 includes a processor 501 and an interface 502. Among them, the number of processors 501 can be one or more, and the number of interfaces 502 can be multiple. It should be noted that the functions corresponding to the processor 501 and the interface 502 can be implemented through hardware design, software design, or a combination of software and hardware, and there is no limitation here.
[0238] Optionally, the chip 500 may further include a memory 503 for storing necessary program instructions and data.
[0239] In this application, the processor 501 can be used to call the implementation program of the vehicle lock control method provided by one or more embodiments of this application in the electronic device from the memory 503 and execute the instructions included in the program. The interface 502 can be used to output the execution result of the processor 501. In this application, the interface 502 can be specifically used to output each message or information of the processor 501.
[0240] Regarding the vehicle lock control method provided by one or more embodiments of this application, reference can be made to the above method embodiments, which will not be elaborated here.
[0241] According to the method provided by the embodiments of this application, the embodiments of this application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction runs on a processor, the method shown in the above method embodiments can be implemented.
[0242] According to the method provided by the embodiments of this application, the embodiments of this application also provide a computer program product. The computer program product includes a computer program or instruction. When the computer program or instruction runs on a processor, the method shown in the above method embodiments can be implemented.
[0243] According to the method provided by the embodiments of this application, the embodiments of this application also provide a driving device. The driving device includes at least one of the above vehicle lock control devices 300, or vehicle lock control devices 400, or chips 500. The driving device in the embodiments of this application can include land vehicles, water vehicles, air vehicles, industrial devices, agricultural devices, or entertainment devices, etc. For example, the intelligent driving device can be a vehicle.
[0244] It should be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a hard disk drive (HDD), a solid-state drive (SSD), a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DRRAM). It should be noted that the memories described herein are intended to include but not be limited to these and any other suitable types of memories.
[0245] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable devices.
[0246] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0247] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0248] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0249] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0250] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the technology, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0251] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application.
Claims
1. A vehicle lock control method, characterized in that, applied to a vehicle, the method includes: When the vehicle lock state changes, determining a first displacement of a terminal device, where the first displacement is used to indicate a displacement starting from the position of the terminal device at the moment of vehicle lock state change; Measuring the signal strength of a wireless signal between the terminal device and the vehicle; Controlling the vehicle lock state of the vehicle according to the first displacement and the signal strength.
2. The method according to claim 1, characterized in that, The vehicle lock state change includes: the vehicle lock state changes from a locked state to an unlocked state; The controlling the vehicle lock state according to the first displacement and the signal strength includes: When the signal strength is less than a first strength threshold and the first displacement is greater than a first displacement threshold, controlling the vehicle to perform a locking action to change the vehicle lock state from the unlocked state to the locked state; or, When the signal strength is greater than or equal to the first strength threshold or the first displacement is less than or equal to the first displacement threshold, keeping the vehicle lock state in the unlocked state.
3. The method according to claim 1, characterized in that, The vehicle lock state change includes: the vehicle lock state changes from an unlocked state to a locked state; The controlling the vehicle lock state according to the first displacement and the signal strength includes: When the signal strength is greater than a second strength threshold and the first displacement is greater than a second displacement threshold, controlling the vehicle to perform an unlocking action to change the vehicle lock state from the locked state to the unlocked state; or, When the signal strength is less than or equal to the second strength threshold or the first displacement is less than or equal to the second displacement threshold, keeping the vehicle lock state in the locked state.
4. The method according to any one of claims 1 to 3, characterized in that, The determining the first displacement of the terminal device includes: Obtaining measurement data from a position information measurement module of the terminal device, and determining the first displacement of the terminal device according to the measurement data.
5. The method according to claim 4, characterized in that, Before obtaining the measurement data from the position information measurement module of the terminal device, it further includes: When a trigger condition is satisfied, sending a start instruction to the terminal device, where the start instruction is used to instruct the terminal device to start the position information measurement module.
6. The method according to claim 5, characterized in that, The trigger condition includes one or more of the following conditions: The terminal device establishes a communication connection with the vehicle; The vehicle lock state changes; The vehicle gear is switched to the parking gear; The vehicle door state changes.
7. The method according to any one of claims 4 to 6, characterized in that, The position information measurement module includes: a Pedestrian Dead Reckoning (PDR) module.
8. The method according to any one of claims 1 to 7, characterized in that, It further includes: When the vehicle lock state of the vehicle is in the locked state, when the terminal device establishes a communication connection with the vehicle, measure the signal strength of the wireless signal between the terminal device and the vehicle; When the signal strength is greater than the second strength threshold, control the vehicle to perform an unlocking action, so that the vehicle lock state of the vehicle switches from the locked state to the unlocked state.
9. The method according to any one of claims 1 to 7, characterized in that, further comprising: When the vehicle lock state of the vehicle is in the unlocked state, when the vehicle door is opened and then closed, determine the second displacement of the terminal device, where the second displacement is used to indicate the displacement starting from the position of the terminal device when the vehicle door is opened and then closed; Measure the signal strength of the wireless signal between the terminal device and the vehicle; When the signal strength is less than the first strength threshold and the second displacement is greater than the third displacement threshold, control the vehicle to perform a locking action, so that the vehicle lock state of the vehicle switches from the unlocked state to the locked state.
10. The method according to any one of claims 1 to 9, characterized in that, The wireless signal is a signal based on Bluetooth, wireless network WIFI or SparkLink communication.
11. A vehicle lock control device, characterized in that, comprising: A unit for performing the steps of the method according to any one of claims 1 to 10.
12. A vehicle lock control device, characterized in that, comprising a processor, the processor is used to execute a computer program or instruction, and when the processor executes the computer program or instruction, the method according to any one of claims 1 to 10 is implemented.
13. A driving device, characterized in that, comprising the vehicle lock control device according to claim 11 or 12.
14. A chip, characterized in that, comprising a logic circuit and an input / output interface, the logic circuit is used to be coupled with the input / output interface and transmit data through the input / output interface to execute the method according to any one of claims 1 to 10.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method according to any one of claims 1 to 10 is implemented.
16. A computer program product, characterized in that, comprising a computer program or instruction, and when the computer program or instruction is executed, the method according to any one of claims 1 to 10 is implemented.