Unlocking and locking control method, device and vehicle for vehicle door
By obtaining the human posture data detected by Bluetooth key and the field strength data of the Bluetooth signal, the user's human position and movement status are determined, and the door unlocking is controlled, which solves the problem of frequent door unlocking and extends the service life of vehicle parts.
Patent Information
- Application Number
- CN202510162032.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-02-14
AI Technical Summary
The frequent unlocking of the vehicle doors leads to serious power consumption in the vehicle and reduces the service life of the parts.
By obtaining the human posture data detected by the Bluetooth key and the field strength data of the Bluetooth signal, the user's human position and movement status are determined, and the unlocking of the car door is controlled based on these data.
It effectively avoids the continuous unlocking and locking of the car door, reduces the possibility of frequent unlocking of the car door, avoids serious vehicle power consumption, and extends the service life of vehicle parts.
Smart Images

Figure CN119611267B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle control, and particularly relates to a method, device and vehicle for controlling the unlocking and locking of vehicle doors. Background Art
[0002] The Bluetooth key is an innovative function that allows users to use the Bluetooth function of the Bluetooth key to replace the traditional car key when approaching the vehicle, thus easily controlling the unlocking and locking of the vehicle doors.
[0003] When the Bluetooth key is near the vehicle, the Bluetooth key will detect the Bluetooth signal of the Bluetooth module on the vehicle to obtain the field strength data of the Bluetooth signal. If the field strength data of the Bluetooth signal indicates that the user is in the unlocking area of the vehicle, the vehicle door will be unlocked.
[0004] However, there are also certain problems. Specifically, when the user holds the Bluetooth key and stays near the vehicle without any action, such as when the user is talking near the vehicle, since the Bluetooth key is close enough to the vehicle, the vehicle door will automatically unlock. After a while, if the user still does not open the door, the door will automatically lock again, and this cycle repeats, resulting in frequent unlocking and locking of the vehicle door. In this case, the vehicle consumes a large amount of power and reduces the service life of vehicle components. Summary of the Invention
[0005] Embodiments of the present invention provide a method, device and vehicle for controlling the unlocking and locking of vehicle doors, which solve the technical problem of frequent unlocking and locking of vehicle doors.
[0006] In a first aspect, embodiments of the present invention provide a method for controlling the unlocking and locking of vehicle doors, which is applied to a vehicle provided with a Bluetooth module. The method includes: obtaining the human body posture data detected by the Bluetooth key and the field strength data of the Bluetooth signal, where the field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of the Bluetooth module; determining the human body position of the user carrying the Bluetooth key based on the field strength data of the Bluetooth signal, and determining the human body action state of the user carrying the Bluetooth key based on the human body posture data; and controlling the unlocking and locking of the vehicle door according to whether the human body position of the user is in a preset unlocking area and the human body action state of the user.
[0007] In combination with the first aspect of the present invention, in some embodiments, the controlling the unlocking and locking of the vehicle door according to whether the human body position of the user is in a preset unlocking area and the human body action state of the user includes: if the human body position is in the unlocking area and the human body action state is a static state, controlling the vehicle door to lock.
[0008] In connection with the first aspect of the present invention, in some embodiments, controlling the unlocking and locking of the vehicle door according to whether the human body position of the user is within a preset unlocking area and the human body movement state of the user includes: if the human body position is within the unlocking area and the duration of the human body movement state being in a moving state is greater than a preset duration threshold, controlling the unlocking of the vehicle door.
[0009] In connection with the first aspect of the present invention, in some embodiments, determining the human body position of the user carrying the Bluetooth key based on the field strength data of the Bluetooth signal includes: determining a target positioning model from a preset plurality of positioning models based on the field strength data of the Bluetooth signal; and determining the human body position based on the field strength data of the Bluetooth signal and the target positioning model.
[0010] In connection with the first aspect of the present invention, in some embodiments, determining a target positioning model from a preset plurality of positioning models based on the field strength data of the Bluetooth signal includes: determining a field strength change rate based on the field strength data of the Bluetooth signal; determining, based on the field strength change rate, a target change rate range to which the field strength change rate belongs from a plurality of change rate ranges, where each change rate range corresponds to one positioning model among the plurality of positioning models; and taking the positioning model corresponding to the target change rate range as the target positioning model.
[0011] In connection with the first aspect of the present invention, in some embodiments, the Bluetooth module includes a main module and a plurality of slave modules, the field strength data of the Bluetooth signal includes a first field strength of the main module and a second field strength of each slave module among the plurality of slave modules, and determining the field strength change rate based on the field strength data of the Bluetooth signal includes: determining a set of weights based on the first field strength and the plurality of second field strengths; determining a combined field strength based on the first field strength, the plurality of second field strengths, and the set of weights; and determining the field strength change rate based on the change situation of the combined field strength at different times.
[0012] In connection with the first aspect of the present invention, in some embodiments, the Bluetooth module includes a main module and a plurality of slave modules, the field strength data of the Bluetooth signal includes a first field strength of the main module and a second field strength of each slave module among the plurality of slave modules, and determining the field strength change rate based on the field strength data of the Bluetooth signal includes: determining a first sub - change rate of the first field strength based on the change situation of the first field strength at different times; determining a plurality of second sub - change rates of the plurality of second field strengths based on the change situation of the plurality of second field strengths at different times; and obtaining the field strength change rate based on the first sub - change rate of the first field strength and the plurality of second sub - change rates of the plurality of second field strengths.
[0013] Combined with the first aspect of the present invention, in some embodiments, obtaining the field strength change rate based on the first field strength sub-change rate and the plurality of second field strength sub-change rates includes: selecting a preset number of field strength sub-change rates from the first field strength sub-change rate and the plurality of second field strength sub-change rates to obtain a plurality of third field strength sub-change rates, any one of the plurality of third field strength sub-change rates being greater than the fourth field strength sub-change rate, where the fourth field strength sub-change rate is the remaining change rates of the first field strength sub-change rate and the plurality of second field strength sub-change rates except for the plurality of third field strength sub-change rates; using each change rate in the plurality of third field strength sub-change rates as the field strength change rate.
[0014] In a second aspect, an embodiment of the present invention provides a door unlocking and locking control device applied to a vehicle. A Bluetooth module is provided on the vehicle. The device includes: a data acquisition unit configured to acquire human body posture data detected by a Bluetooth key and field strength data of a Bluetooth signal, where the field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of the Bluetooth module; a data conversion unit configured to determine the human body position of a user carrying the Bluetooth key based on the field strength data of the Bluetooth signal, and determine the human body movement state of the user carrying the Bluetooth key based on the human body posture data; and a door control unit configured to control door unlocking and locking according to whether the human body position of the user is in a preset unlocking area and the human body movement state of the user.
[0015] In a third aspect, an embodiment of the present invention provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method according to any one of the first aspect when executing the computer program.
[0016] One or more technical solutions provided by the embodiments of the present invention at least achieve the following technical effects or advantages:
[0017] In an embodiment of the present invention, human body posture data detected by a Bluetooth key and field strength data of a Bluetooth signal are obtained. The field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of a Bluetooth module. Based on the field strength data of the Bluetooth signal, the human body position of the user carrying the Bluetooth key is determined, and based on the human body posture data, the human body movement state of the user carrying the Bluetooth key is determined. According to whether the human body position of the user is in a preset unlocking area and the human body movement state of the user, the unlocking and locking of the vehicle door are controlled. According to the field strength data of the Bluetooth signal, the human body position of the user can be determined, and then it can be judged whether the human body position of the user is in the preset unlocking area. According to the human body posture data, the human body movement state of the user can be determined. Then, when the user stays near the vehicle with the Bluetooth key and makes no movement, although the field strength data of the Bluetooth signal already meets the unlocking condition, it can be known from the human body posture data that the user makes no movement, that is, the human body posture data does not meet the unlocking condition. Therefore, the vehicle will not be controlled to unlock, and the situation that the vehicle door is constantly unlocked and locked is avoided. Therefore, to a certain extent, the possibility of frequent unlocking and locking of the vehicle door is reduced. At the same time, the situation of serious power consumption of the vehicle is avoided, and the service life of vehicle components is prolonged. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is a flowchart of the method for controlling unlocking and locking of a vehicle door in an embodiment of the present invention;
[0020] Figure 2 It is a functional module diagram of the device for controlling unlocking and locking of a vehicle door in an embodiment of the present invention;
[0021] Figure 3 It is a schematic structural diagram of a vehicle in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0023] In the present invention, descriptions such as "first" and "second" are only for descriptive purposes and should not be construed as indicating or implying their relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. Additionally, the technical solutions between various embodiments may be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0024] An embodiment of the present invention provides a method for unlocking and locking control of a vehicle door, which is applied to a vehicle. A Bluetooth module is provided on the vehicle. Refer to Figure 1 As shown, the method includes the following steps S101 to S103:
[0025] S101: Obtain the human body posture data detected by the Bluetooth key and the field strength data of the Bluetooth signal. The field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of the Bluetooth module.
[0026] It should be noted that the Bluetooth key can be a Bluetooth device set inside a mobile phone or an independent single product.
[0027] S102: Based on the field strength data of the Bluetooth signal, determine the human body position of the user carrying the Bluetooth key, and based on the human body posture data, determine the human body movement state of the user carrying the Bluetooth key.
[0028] In some embodiments, the human body posture data can be obtained by a gyroscope built in the Bluetooth key detecting the user. The human body posture data can include angular velocity and acceleration. Then, regarding step S102, based on the human body posture data, determining the human body movement state of the user carrying the Bluetooth key can be: if the angular velocity is greater than a preset angular velocity threshold and the acceleration is greater than a preset acceleration threshold, determine that the human body movement state is a movement state; otherwise, determine that the human body movement state is a static state.
[0029] In some embodiments, regarding step S102, based on the field strength data of the Bluetooth signal, determining the human body position of the user carrying the Bluetooth key may include the following steps S1021 to S1022:
[0030] S1021: Based on the field strength data of the Bluetooth signal, determine a target positioning model from a plurality of preset positioning models.
[0031] It should be noted that the multiple positioning models include the positioning model in an open environment, the positioning model in an actual parking lot environment, the positioning model in an underground garage environment, and the positioning model in a roadside parking environment. In different environments, the field strength of the Bluetooth signal is different, and the characteristic data related to the Bluetooth signal will be different. In this case, if the positioning model is not determined according to the actual situation, the positioning model will remain unchanged all the time, and it is difficult to distinguish the different situations in different actual environments. Therefore, the embodiments of the present invention define to determine the target positioning model from a preset multiple positioning models based on the field strength data of the Bluetooth signal, select different positioning models in different environments, distinguish the field strength data corresponding to different actual environments, and thus improve the accuracy of positioning.
[0032] In some embodiments, step S1021 may include the following steps A to C:
[0033] Step A: Determine the field strength change rate based on the field strength data of the Bluetooth signal.
[0034] In some embodiments, the Bluetooth module includes a main module and multiple slave modules, and the field strength data of the Bluetooth signal includes the first field strength of the main module and the second field strength of each slave module in the multiple slave modules. Then, step A may include: determining a set of weights based on the first field strength and the multiple second field strengths; determining the comprehensive field strength based on the first field strength, the multiple second field strengths, and a set of weights; and determining the field strength change rate based on the change of the comprehensive field strength at different times.
[0035] In some embodiments, determining a set of weights based on the first field strength and the multiple second field strengths may be: taking the sum of the first field strength and the multiple second field strengths as the summation value; taking the quotient of the first field strength and the summation value as the weight of the first field strength; taking the quotient of the second field strength and the summation value as the weight of the second field strength; and obtaining a set of weights based on the weight of the first field strength and the weight of the second field strength.
[0036] It should be noted that both the first field strength and the second field strength refer to the Bluetooth signal strength. The following is an example to illustrate the relevant calculation of the combined field strength. Assume that the number of multiple second field strengths is 2, namely the second field strength a and the second field strength b, and assume that at this moment, the second field strength a is 30 dBm, the second field strength b is 20 dBm, and the first field strength is 50 dBm. Then, the sum value is 100, the weight of the first field strength is 0.5, the weight of the second field strength a is 0.3, and the weight of the second field strength b is 0.2. Multiply the field strength by the corresponding weight, and then add up each product to obtain the combined field strength, that is, the combined field strength is 38 dBm at this moment. In addition, the following is an example to illustrate the relevant calculation of the field strength change rate. Assume that the combined field strength is 22.4 dBm at the moment of the 10th second, and the combined field strength is 20 dBm at the moment of the 12th second. Then, the field strength change rate is (22.4 - 20) ÷ (12 - 10) = 1.2 dBm / s.
[0037] It should be noted that since the main module and multiple slave modules on the vehicle are placed in different positions, resulting in different signal strengths, if a relatively weak field strength is used to determine the field strength change rate, it may lead to inaccurate data. Therefore, the embodiments of the present invention define a set of weights based on the first field strength and multiple second field strengths. The greater the field strength, the stronger the signal and the higher the reliability. The corresponding weight of this field strength should be increased. The embodiments of the present invention achieve adjusting the weights according to different signal strengths, improving the reliability of the obtained combined field strength, and further improving the reliability of the obtained field strength change rate.
[0038] In some other embodiments, the Bluetooth module includes a main module and multiple slave modules, and the field strength data of the Bluetooth signal includes the first field strength of the main module and the second field strength of each slave module among the multiple slave modules. Then, step A may include: determining the first field strength sub-change rate based on the change situation of the first field strength at different times; determining multiple second field strength sub-change rates based on the change situation of the multiple second field strengths at different times; and obtaining the field strength change rate based on the first field strength sub-change rate and the multiple second field strength sub-change rates.
[0039] In some embodiments, obtaining the field strength change rate based on the first field strength sub-change rate and the multiple second field strength sub-change rates may include: selecting a preset number of field strength sub-change rates from the first field strength sub-change rate and the multiple second field strength sub-change rates to obtain multiple third field strength sub-change rates, and any one of the multiple third field strength sub-change rates is greater than the fourth field strength sub-change rate, where the fourth field strength sub-change rate is the remaining change rate among the first field strength sub-change rate and the multiple second field strength sub-change rates except for the multiple third field strength sub-change rates; and using each change rate among the multiple third field strength sub-change rates as the field strength change rate.
[0040] For example, assuming that the first field strength sub-rate is 1.2dBm / s, the multiple second field strength sub-rates include the second field strength sub-rate a and the second field strength sub-rate b, and the second field strength sub-rate a is 1dBm / s, the second field strength sub-rate b is 0.6dBm / s, and the preset number is 2, then the multiple third field strength sub-rates include the first field strength sub-rate and the second field strength sub-rate a, the fourth field strength sub-rate is the second field strength sub-rate b, and the field strength change rate includes two values, namely the first field strength sub-rate and the second field strength sub-rate a.
[0041] It should be noted that since any one of the multiple third field strength sub-rates of change is greater than the fourth field strength sub-rate of change, the change in each of the multiple third field strength sub-rates of change is the most sensitive, that is, the corresponding signal strength is large and the data reliability is high, which improves the accuracy of the obtained field strength change rate.
[0042] In some other embodiments, the Bluetooth module includes a main module and multiple slave modules, and the field strength data of the Bluetooth signal includes a first field strength of the main module and a second field strength of each of the multiple slave modules. Then, step A may include: selecting the maximum field strength value from the first field strength and the multiple second field strengths as the maximum field strength; and determining the field strength change rate based on the change of the maximum field strength at different times.
[0043] It should be noted that directly determining the field intensity change rate based on the maximum field intensity can reduce the amount of calculation, shorten the operation time, and improve the program processing efficiency. At the same time, the signal intensity corresponding to the maximum field intensity is the strongest, which also ensures the reliability of the data. Therefore, the beneficial effect of taking into account both ensuring data reliability and improving program processing efficiency is achieved.
[0044] Step B: Based on the field intensity change rate, determine a target change rate range to which the field intensity change rate belongs from a plurality of change rate ranges, wherein each change rate range corresponds to a positioning model from a plurality of positioning models.
[0045] For example, in the case of determining the field strength change rate based on the change of the comprehensive field strength at different times, the value of the field strength change rate includes one. At this time, it is assumed that multiple change rate ranges include 0 - 0.5 dBm / s, 0.5 - 1 dBm / s, and 1 - 1.5 dBm / s, and it is assumed that the field strength change rate is 1.1 dBm / s. Then, the target change rate range is 1 - 1.5 dBm / s. Additionally, in the case of taking each of the multiple third field strength sub-change rates as the field strength change rate, the value of the field strength change rate includes multiple. At this time, it is assumed that multiple change rate ranges include 0 - 0.5 dBm / s, 0.5 - 1 dBm / s, and 1 - 1.5 dBm / s, and it is assumed that the multiple third field strength sub-change rates include 0.8 dBm / s and 0.9 dBm / s. Then, the target change rate range is 0.5 - 1 dBm / s.
[0046] Step C: Use the positioning model corresponding to the target change rate range as the target positioning model.
[0047] It should be noted that each change rate range among the multiple change rate ranges corresponds to one positioning model among the multiple positioning models. The corresponding relationship between the positioning model and the change rate range can be established through the following steps: In this environment, the tester carries a Bluetooth key and approaches the vehicle at a preset speed; during this process, the Bluetooth signal of the Bluetooth module on the vehicle is collected through the Bluetooth key to obtain field strength test data; based on the field strength test data, the change rate range in this environment is determined. Among them, the preset speed can be 1.5 meters per second.
[0048] S1022: Determine the human body position based on the field strength data of the Bluetooth signal and the target positioning model.
[0049] In some embodiments, step S1022 can be: Determine a set of weights based on the first field strength and multiple second field strengths; determine the comprehensive field strength based on the first field strength, multiple second field strengths, and a set of weights; input the comprehensive field strength into the target positioning model to obtain the human body position.
[0050] It should be noted that the human body position can be within the unlocking area or not within the unlocking area. The target positioning model can be a corresponding relationship between the comprehensive field strength and the human body position. By inputting the comprehensive field strength into the target positioning model, information on whether the user is within the unlocking area can be output.
[0051] S103: Control the unlocking and locking of the vehicle door according to whether the human body position of the user is within the preset unlocking area and the human body movement state of the user.
[0052] In some embodiments, step S103 can include: If the human body position is within the unlocking area and the human body movement state is a static state, control the vehicle door to lock.
[0053] It should be noted that if the human body position is in the unlocking area and the human body movement state is static, it indicates that the user is staying near the vehicle with the Bluetooth key in hand and not making any movement. For example, when the user is chatting near the vehicle, in this case, unlocking is not required.
[0054] In some other embodiments, step S103 may include: if the human body position is in the unlocking area and the duration of the human body movement state being in the moving state is greater than a preset duration threshold, control the vehicle door to unlock.
[0055] It should be noted that if the human body position is in the unlocking area and the duration of the human body movement state being in the moving state is greater than a preset duration threshold, it indicates that the user is approaching the vehicle. The preset duration threshold can be a duration less than 10 seconds, such as 1 second, 2 seconds, 3 seconds, or 6 seconds, etc.
[0056] It should be noted that the model can be adjusted based on the principle of machine learning, introducing the concepts of adding weights and compensation values to the RSSI (Received Signal Strength Indication) values of the master and slave antennas, passively adjusting the changes in the RSSI field strength, and improving the positioning accuracy. When collecting the RSSI values of the Bluetooth master module and the slave module and adjusting the field strength distribution of the Bluetooth key, due to the different layout positions of the antennas of the in-vehicle Bluetooth module, it is necessary to adjust and optimize the actual energy fields corresponding to the master and slave modules to ensure that the received values of the field strength signals of the master and slave antennas by the mobile device can be accurately received. The received values of the field strength signals are stabilized through mechanisms such as the Kalman filter to ensure that the collected master and slave modules are stable and effective, facilitating the determination of the subsequent model. When determining the positioning model in different environments, respectively collect the field strength distribution and reception intensity according to the environment where the actual vehicle is located, such as an open environment, an actual parking lot environment, an underground garage environment, a roadside parking environment, etc. In the environment 10 meters around the vehicle, collect the field strength model at 1-meter intervals, thereby allocating models M1, M2, M3, etc. in multiple scenarios, and according to the calculation method of estimated mixing, match the field strength signal values collected by the actual vehicle with the built-in models, and match according to the maximum value of the same ratio.
[0057] It should be noted that the signals of the gyroscope can be sent to other device terminals through the Bluetooth protocol. The change signals of the gyroscope are used as a reference factor for the execution of the unlocking and locking functions. When the signals of the gyroscope are parsed as the motion state, it means that the customer is in motion during the process of approaching the vehicle, and the signal changes when the customer is in the stationary state and the walking state are completely different. When it is detected that the gyroscope is in the stationary state, even if the person is around the vehicle and the positioning area is the unlocking area, the unlocking signal is still not triggered, so as to avoid the vehicle frequently triggering the unlocking and automatic relocking signals in the scenarios where the customer is talking or stationary around the vehicle. When it is detected that the gyroscope is in the dynamic state, it indicates that the customer is using it during the motion process, and the judgment of this process needs to be continuously monitored. It is continuously monitored according to a cycle of 3 seconds. If there is a 3-second motion cycle, it is determined that it is in the motion state at this time, and the unlocking function can be responded to. Finally, according to the jump mechanism of the master-slave signals, different models are adapted. The accuracy of signal changes and detection in multiple scenarios is improved. To avoid the same positioning model corresponding to multiple scenarios, the method of using weights and model adaptation ratios is adopted to actively select the corresponding scenario and the corresponding field strength signal, effectively improving the positioning accuracy in multiple scenarios; adding the signal mechanism of the gyroscope can solve the problem of frequent unlocking and locking of the customer around the vehicle, and the problem that the vehicle still triggers unlocking and locking in the stationary state.
[0058] It should be noted that in different environments, the corresponding field strength change rates are different. Taking the test data of a certain mobile phone model as an example, when the vehicle is in an open environment and the signal values of the field strength received by the mobile phone are detected to change, when the user is near the vehicle, the average change rate of the Bluetooth signal of the main module detected by the mobile phone is 0.86 dBm / s, the average change rate of the Bluetooth signal of the left module is 1.20.86 dBm / s, the average change rate of the Bluetooth signal of the right module is 0.570.86 dBm / s, and the average change rate of the Bluetooth signal of the rear module is 0.87 dBm / s. A weight model database can be established, and different weight matrices and corresponding unlocking, locking, greeting, etc. values are established for different change rates in different scenarios to obtain different values.
[0059] In an embodiment of the present invention, by obtaining the human body posture data detected by a Bluetooth key and the field strength data of a Bluetooth signal, the field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of a Bluetooth module; based on the field strength data of the Bluetooth signal, determining the human body position of the user carrying the Bluetooth key, and based on the human body posture data, determining the human body movement state of the user carrying the Bluetooth key; controlling the unlocking and locking of the vehicle door according to whether the human body position of the user is in a preset unlocking area and the human body movement state of the user. According to the field strength data of the Bluetooth signal, the human body position of the user can be determined, and then it can be judged whether the human body position of the user is in the preset unlocking area. According to the human body posture data, the human body movement state of the user can be determined. Then, when the user stays near the vehicle with the Bluetooth key and makes no movement, although the field strength data of the Bluetooth signal has met the unlocking condition, it can be known from the human body posture data that the user makes no movement, that is, the human body posture data does not meet the unlocking condition. Therefore, the vehicle will not be controlled to unlock, thus avoiding the continuous unlocking and locking of the vehicle door. Therefore, to a certain extent, the possibility of frequent unlocking and locking of the vehicle door is reduced. At the same time, the situation of serious power consumption of the vehicle is avoided, and the service life of vehicle components is extended.
[0060] Based on the same inventive concept, referring to Figure 2 As shown, an embodiment of the present invention provides a door unlocking and locking control device 10 for a vehicle. The vehicle is provided with a Bluetooth module. The device includes: a data acquisition unit 110, configured to acquire the human body posture data detected by the Bluetooth key and the field strength data of the Bluetooth signal, where the field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of the Bluetooth module; a data conversion unit 120, configured to determine the human body position of the user carrying the Bluetooth key based on the field strength data of the Bluetooth signal, and determine the human body movement state of the user carrying the Bluetooth key based on the human body posture data; a door control unit 130, configured to control the unlocking and locking of the vehicle door according to whether the human body position of the user is in a preset unlocking area and the human body movement state of the user.
[0061] It can be understood that the door control unit 130 includes: a first control subunit, configured to control the door to lock if the human body position is in the unlocking area and the human body movement state is a stationary state.
[0062] It can be understood that the door control unit 130 includes: a second control subunit, configured to control the door to unlock if the human body position is in the unlocking area and the duration of the human body movement state being a moving state is greater than a preset duration threshold.
[0063] It can be understood that the data conversion unit 120 includes: a model determination subunit, configured to determine a target positioning model from a plurality of preset positioning models based on the field strength data of the Bluetooth signal; and a position determination subunit, configured to determine the human body position based on the field strength data of the Bluetooth signal and the target positioning model.
[0064] It can be understood that the model determination subunit includes: a change rate determination module, configured to determine the field strength change rate based on the field strength data of the Bluetooth signal; a range determination module, configured to determine the target change rate range to which the field strength change rate belongs from a plurality of change rate ranges, where each change rate range corresponds to one positioning model among a plurality of positioning models; and a model determination module, configured to use the positioning model corresponding to the target change rate range as the target positioning model.
[0065] In some embodiments, the Bluetooth module includes a main module and a plurality of slave modules, the field strength data of the Bluetooth signal includes the first field strength of the main module and the second field strength of each slave module among the plurality of slave modules, and the change rate determination module is specifically configured to: determine a set of weights based on the first field strength and the plurality of second field strengths; determine the comprehensive field strength based on the first field strength, the plurality of second field strengths, and the set of weights; and determine the field strength change rate based on the change of the comprehensive field strength at different times.
[0066] In other embodiments, the Bluetooth module includes a main module and a plurality of slave modules, the field strength data of the Bluetooth signal includes the first field strength of the main module and the second field strength of each slave module among the plurality of slave modules, and the change rate determination module is specifically configured to: determine the first field strength sub-change rate based on the change of the first field strength at different times; determine a plurality of second field strength sub-change rates based on the change of the plurality of second field strengths at different times; and obtain the field strength change rate based on the first field strength sub-change rate and the plurality of second field strength sub-change rates. Among them, obtaining the field strength change rate based on the first field strength sub-change rate and the plurality of second field strength sub-change rates includes: selecting a preset number of field strength sub-change rates from the first field strength sub-change rate and the plurality of second field strength sub-change rates to obtain a plurality of third field strength sub-change rates, and any one of the plurality of third field strength sub-change rates is greater than the fourth field strength sub-change rate, and the fourth field strength sub-change rate is the remaining change rates other than the plurality of third field strength sub-change rates among the first field strength sub-change rate and the plurality of second field strength sub-change rates; and using each change rate among the plurality of third field strength sub-change rates as the field strength change rate.
[0067] It should be understood that for more implementation details of the door unlocking and locking control device 10 in the embodiments of the present invention, reference is made to the foregoing door unlocking and locking control method. For the sake of simplicity of the specification, it will not be elaborated here.
[0068] Based on the same inventive concept, an embodiment of the present invention further provides a vehicle, such as Figure 3As shown, it includes a memory 304, a processor 302, and a computer program stored on the memory 304 and executable on the processor 302. The processor 302 executes the program to implement the steps described in any implementation manner of the embodiment of the door unlocking and locking control method.
[0069] Among them, in Figure 3 the bus architecture (represented by bus 300), bus 300 can include any number of interconnected buses and bridges. Bus 300 links various circuits including one or more processors represented by processor 302 and memory represented by memory 304 together. Bus 300 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are well known in the art, so they will not be further described herein. Bus interface 305 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 can be the same element, that is, a transceiver, which provides a unit for communicating with various other devices on the transmission medium. Processor 302 is responsible for managing bus 300 and general processing, while memory 304 can be used to store data used by processor 302 when performing operations.
[0070] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored on a computer-readable medium or transmitted via a computer-readable medium as one or more instructions or codes. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above can be implemented using software executed by a processor, hardware, firmware, hardwiring, or any combination of these. In addition, each functional unit can be integrated in a processing unit, or can exist separately physically as individual units, or two or more units can be integrated in one unit.
[0071] In several embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of the units can be a logical function division, and there can be other division methods in actual implementation. 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, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of units or modules can be in an electrical or other form.
[0072] The unit described as the separation component may or may not be physically separated. The component serving as the control device may or may not be a physical unit, that is, it may be located in one place or distributed across multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] If the integrated unit 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 such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or 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 for causing 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 various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs that can store program codes.
[0074] The above are only the embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.
Claims
1. A method for controlling the unlocking of a vehicle door, characterized in that: Applied to a vehicle, the vehicle is provided with a Bluetooth module, and the method comprises: Acquire human posture data and field strength data of a Bluetooth signal detected by a Bluetooth key, wherein the field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of the Bluetooth module; Based on the human posture data, the human action state of the user carrying the Bluetooth key is determined; the Bluetooth module includes a main module and multiple slave modules, and the field strength data of the Bluetooth signal includes a first field strength of the main module and a second field strength of each of the multiple slave modules; based on the field strength data of the Bluetooth signal, the human position of the user carrying the Bluetooth key is determined, including: determining a first field strength sub-change rate based on the change of the first field strength at different times; determining multiple second field strength sub-change rates based on the change of multiple second field strengths at different times; and determining multiple second field strength sub-change rates based on the change of the first field strength sub-change rate and the multiple second field strength sub-change rates. A preset number of field intensity sub-rates of change are selected from the plurality of second field intensity sub-rates of change to obtain a plurality of third field intensity sub-rates of change, wherein any one of the plurality of third field intensity sub-rates of change is greater than a fourth field intensity sub-rate of change, and the fourth field intensity sub-rate of change is the remaining rate of change of the first field intensity sub-rate and the plurality of second field intensity sub-rates except the plurality of third field intensity sub-rates of change; each rate of change in the plurality of third field intensity sub-rates of change is used as a field intensity change rate; a target positioning model is determined based on the field intensity change rate; and a human body position is determined based on the field intensity data of the Bluetooth signal and the target positioning model; The door is unlocked according to whether the user's body position is in a preset unlocking area and the user's body movement state.
2. The door unlocking control method according to claim 1, characterized in that: The controlling the door unlocking according to whether the user's body position is in a preset unlocking area and the user's body movement state includes: If the human body is in the unlocking area and the human body is in a stationary state, the vehicle door is controlled to be locked.
3. The vehicle door unlocking control method according to claim 1, characterized in that: The controlling the door unlocking according to whether the user's body position is in a preset unlocking area and the user's body movement state includes: If the human body is in the unlocking area and the duration of the human body's motion state is greater than a preset duration threshold, the vehicle door is controlled to be unlocked.
4. The vehicle door unlocking control method according to claim 1, characterized in that: The determining, based on the field strength data of the Bluetooth signal, the body position of the user carrying the Bluetooth key comprises: Determining a target positioning model from a plurality of preset positioning models based on the field strength data of the Bluetooth signal; The human body position is determined based on the field strength data of the Bluetooth signal and the target positioning model.
5. The vehicle door unlocking control method according to claim 4, characterized in that: The determining of the target positioning model from a plurality of preset positioning models based on the field strength data of the Bluetooth signal includes: Determining a field strength change rate based on the field strength data of the Bluetooth signal; Based on the field intensity change rate, determining a target change rate range to which the field intensity change rate belongs from a plurality of change rate ranges, wherein each change rate range corresponds to a positioning model among the plurality of positioning models; The positioning model corresponding to the target change rate range is used as the target positioning model.
6. The vehicle door unlocking control method according to claim 5, characterized in that: The Bluetooth module includes a master module and a plurality of slave modules, the field strength data of the Bluetooth signal includes a first field strength of the master module and a second field strength of each of the plurality of slave modules, and determining the field strength change rate based on the field strength data of the Bluetooth signal includes: Determining a set of weights based on the first field strength and a plurality of the second field strengths; Determine a comprehensive field strength based on the first field strength, a plurality of the second field strengths, and the set of weights; The field strength change rate is determined based on changes in the comprehensive field strength at different times.
7. A door unlocking control device, characterized in that: Applied to a vehicle, the vehicle is provided with a Bluetooth module, and the device comprises: A data acquisition unit, used to acquire human posture data and field strength data of a Bluetooth signal detected by a Bluetooth key, wherein the field strength data of the Bluetooth signal is obtained by the Bluetooth key detecting the Bluetooth signal of the Bluetooth module; A data conversion unit is used to determine the human action state of the user carrying the Bluetooth key based on the human posture data; the Bluetooth module includes a master module and multiple slave modules, and the field strength data of the Bluetooth signal includes a first field strength of the master module and a second field strength of each of the multiple slave modules; based on the field strength data of the Bluetooth signal, the human body position of the user carrying the Bluetooth key is determined, including: determining a first field strength sub-rate of change based on the change of the first field strength at different times; determining multiple second field strength sub-rates based on the change of multiple second field strengths at different times; and determining multiple second field strength sub-rates from the first field strength sub-rates. Selecting a preset number of field intensity sub-change rates from the change rate and the multiple second field intensity sub-change rates to obtain multiple third field intensity sub-change rates, any change rate of the multiple third field intensity sub-change rates is greater than the fourth field intensity sub-change rate, and the fourth field intensity sub-change rate is the remaining change rate of the first field intensity sub-change rate and the multiple second field intensity sub-change rates except the multiple third field intensity sub-change rates; taking each change rate of the multiple third field intensity sub-change rates as the field intensity change rate; determining a target positioning model based on the field intensity change rate; determining the human body position based on the field intensity data of the Bluetooth signal and the target positioning model; The vehicle door control unit is used to control the unlocking of the vehicle door according to whether the user's body position is in a preset unlocking area and the user's body movement state.
8. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.
Citation Information
Patent Citations
Simulation system for achieving strong coverage of wireless network communication field
CN106060839A
Car door opening method and system
CN108216122A
Control method and device for vehicle
CN111252032A
Ultra-short wave signal source single-station movement measuring method and system based on field intensity change
CN112769503A
Digital key positioning method and device, vehicle-mounted terminal and vehicle
CN118612841A