Control method, control device, vehicle and storage medium

By periodically obtaining and counting the position of the key in the functional area, the function is only executed when the key is in the same functional area exceeds a predetermined number of times, which solves the problem of frequent function switching caused by the car key near the boundary of the functional area, and reduces the loss of execution parts and improve user experience.

CN115402258BActive Publication Date: 2025-01-10ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211102192.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2025-01-10
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

When the car key is near the boundary of the functional area, due to positioning errors and instability of human movement, the key position output by the car positioning system will randomly jump, causing frequent switching of the functional area, damage to the execution parts and poor user experience.

Method used

By periodically obtaining the current position of the key relative to the car, determining its functional area, and counting the number of times the key is located in different functional areas within a predetermined number of cycles. Only when the key is located in the same functional area exceeds the predetermined number of times, the corresponding function is performed. Reduce frequent random switching of the functional area.

Benefits of technology

It effectively reduces the frequent random switching of preset functions in adjacent functional areas, reduces the loss of automobile execution components, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115402258B_ABST
    Figure CN115402258B_ABST
Patent Text Reader

Abstract

The present application discloses a control method, a control device, a car and a storage medium. The control method includes: periodically obtaining the current position of the key relative to the car; based on the current position, determining the functional area where the key is currently located, the functional area being an area divided around the car; in each cycle, calculating the number of times the key is located in different functional areas within a predetermined number of cycles; taking the functional area where the key is located in the same functional area more than a predetermined number of times as the target functional area; and controlling the car to execute the preset function corresponding to the target functional area. In the control method, control device and car of the implementation mode of the present application, when the control method is implemented by the control device so that the key is located near the boundary line of different functional areas of the car, the car needs to be controlled to execute the preset function of the corresponding functional area only when it exceeds a predetermined number of times within a predetermined number of cycles, thereby reducing the frequent random switching of the preset functions of adjacent functional areas and reducing the loss of the car's execution components.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to a control method, a control device, a car and a storage medium. Background Art

[0002] In the related art, when the car key enters the functional area divided around the car, the car will perform the corresponding function. However, when the car key is located at the boundary line of two functional areas, due to the existence of random errors in positioning and factors such as the instability of human movement, the key position output by the car's positioning system will randomly jump on both sides of the boundary line. If the output result of the positioning system executes the action of the corresponding functional area, it will cause the preset actions of adjacent functional areas to frequently switch randomly when the car is within a certain range of the functional area boundary, which is likely to cause adverse consequences such as shortened life or damage of the execution components (such as electric door locks) and poor user experience. Summary of the invention

[0003] The present application provides a control method, a control device, a car and a storage medium.

[0004] The control method of the embodiment of the present application includes:

[0005] Periodically obtaining a current position of the key relative to the vehicle;

[0006] Based on the current position, determining a functional area where the key is currently located, the functional area being an area divided around the vehicle;

[0007] In each cycle, the number of times the key is located in different functional areas in a predetermined number of cycles is calculated;

[0008] The function area where the key is located more than a predetermined number of times is taken as the target function area;

[0009] The automobile is controlled to execute a preset function corresponding to the target functional area.

[0010] In some embodiments, periodically obtaining the current position of the key relative to the vehicle includes:

[0011] Periodically acquiring current distances between a plurality of UWB anchor point modules on the vehicle and the key, wherein the plurality of UWB anchor points are located at different positions of the vehicle;

[0012] Based on the multiple current distances, the current position of the key relative to the vehicle is calculated.

[0013] In some embodiments, in each cycle, calculating the number of times the key is located in different functional areas in a predetermined number of cycles includes:

[0014] In each cycle, the functional area where the key is located is counted once;

[0015] Within a predetermined number of cycles, the number of times the key is located in different functional areas is confirmed according to the counting result.

[0016] In some embodiments, the predetermined number of cycles is the most recent predetermined number of cycles from the current moment.

[0017] In some embodiments, the control method further comprises:

[0018] When the number of times the key is located in the same functional area is less than or equal to the predetermined number of times, the function currently executed by the vehicle is maintained.

[0019] In some embodiments, the value of the predetermined number of times is greater than half of the value of the predetermined number of cycles.

[0020] In some embodiments, the control method comprises:

[0021] When the automobile executes the preset function corresponding to the target functional area, the automobile is controlled to stop executing the functions corresponding to other functional areas.

[0022] The control device of the embodiment of the present application includes:

[0023] An acquisition module, used for periodically acquiring a current position of the key relative to the vehicle;

[0024] A confirmation module, used to determine the functional area where the key is currently located based on the current position, wherein the functional area is an area divided around the car;

[0025] A calculation module, used for calculating the number of times the key is located in different functional areas in a predetermined number of cycles in each cycle;

[0026] The control module is used to take the function area where the key is located more than a predetermined number of times as the target function area; and to control the car to execute the preset function corresponding to the target function area.

[0027] The automobile of the embodiment of the present application includes a memory and a controller, and the controller is used to execute the calculation program stored in the memory to implement the control method described in any one of the above embodiments.

[0028] In the control method, control device and automobile of the implementation mode of the present application, the control method is implemented by the control device so that when the key is located near the boundary line of different functional areas of the automobile, the automobile is controlled to execute the preset function of the corresponding functional area only when it exceeds a predetermined number of times within a predetermined number of cycles, thereby reducing the frequent random switching of the preset functions of adjacent functional areas and reducing the wear and tear of the automobile's execution components.

[0029] The non-volatile computer-readable storage medium storing a computer program according to an embodiment of the present application implements the control method described in any one of the above embodiments when the computer program is executed by one or more processors.

[0030] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0032] Figure 1 It is a flow chart of a control method according to an embodiment of the present application;

[0033] Figure 2 is a schematic diagram of a module of a control device in an embodiment of the present application;

[0034] Figure 3 It is a schematic diagram of functional area division of a car according to an embodiment of the present application;

[0035] Figure 4 It is a flow chart of a control method according to an embodiment of the present application;

[0036] Figure 5 is a schematic diagram of a signal connection positioning process between a car and a key according to an embodiment of the present application;

[0037] Figure 6 It is a flow chart of a control method according to an embodiment of the present application;

[0038] Figure 7 It is a schematic diagram of the principle of an embodiment of the control method of the embodiment of the present application, which uses a sliding window shift register group and a counting accumulator to perform counting;

[0039] Figure 8 It is a flow chart of a control method according to an embodiment of the present application;

[0040] Fig. 9 It is a schematic diagram of the principle of another embodiment of the control method of the embodiment of the present application, which uses a sliding window shift register group and a counting accumulator to perform counting;

[0041] Fig.10 It is a schematic diagram of the principle of another embodiment of the control method of the embodiment of the present application, which uses a sliding window shift register group and a counting accumulator for counting;

[0042] Fig.11It is a flow chart of the control method of the implementation mode of the present application.

[0043] Description of main component symbols:

[0044] Car 100;

[0045] Memory 10, controller 20, main function area 30, left front door function block 31, left rear door function block 32, right front door function block 33, right rear door function block 34, tailgate left function block 35, tailgate right function block 36, secondary function area 40, UWB anchor module 50;

[0046] Key 200;

[0047] Control device 300 , acquisition module 310 , confirmation module 320 , calculation module 330 , control module 340 . DETAILED DESCRIPTION

[0048] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0049] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0050] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0051] In the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0052] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the various specific processes and material examples provided by the present application, but those of ordinary skill in the art can appreciate the application of other processes and / or the use of other materials.

[0053] See also Figure 1 , the control method of the embodiment of the present application includes:

[0054] S10: periodically obtaining the current position of the key 200 relative to the vehicle 100;

[0055] S20: Based on the current position, determine the functional area where the key 200 is currently located, where the functional area is an area divided around the car 100;

[0056] S30: In each cycle, the number of times the key 200 is located in different functional areas within a predetermined number of cycles is calculated;

[0057] S40: taking a functional area where the key 200 is located in the same functional area more than a predetermined number of times as a target functional area;

[0058] S50: Control the automobile 100 to execute the preset function corresponding to the target functional area.

[0059] See also Figure 2 , the control device 300 of the embodiment of the present application includes:

[0060] An acquisition module 310, for periodically acquiring a current position of the key 200 relative to the vehicle 100;

[0061] A confirmation module 320 is used to determine the functional area where the key 200 is currently located based on the current position, where the functional area is an area divided around the car 100;

[0062] The calculation module 330 is used to calculate the number of times the key 200 is located in different functional areas in a predetermined number of cycles in each cycle;

[0063] The control module 340 is used to set the function area where the key 200 is located more than a predetermined number of times as a target function area; and to control the automobile 100 to execute a preset function corresponding to the target function area.

[0064] The automobile 100 of the embodiment of the present application includes a memory 10 and a controller 20, and the controller 20 is used to execute the calculation program stored in the memory 10 to implement the control method of the above embodiment. In other words, the controller 20 is used to periodically obtain the current position of the key 200 relative to the automobile 100; and to determine the functional area where the key 200 is currently located based on the current position, and the functional area is the area divided around the automobile 100; and to calculate the number of times the key 200 is located in different functional areas in a predetermined number of cycles in each cycle; and to use the functional area where the key 200 is located in the same functional area more than the predetermined number of times as the target functional area; and to control the automobile 100 to execute the preset function corresponding to the target functional area.

[0065] In the control method, control device 300 and automobile 100 of the implementation mode of the present application, the control method is implemented by the control device 300 so that when the key 200 is located near the boundary line of different functional areas of the automobile 100, the automobile 100 is controlled to execute the preset function of the corresponding functional area only when it exceeds a predetermined number of times within a predetermined number of cycles, thereby reducing the frequent random switching of the preset functions of adjacent functional areas and reducing the wear of the execution components of the automobile 100.

[0066] Specifically, the car 100 may be a new energy car, a fuel car, a hybrid car, etc. The key 200 of the car 100 may be a device used to enter the car 100, lock the car 100, or perform certain functions on the car 100. The key 200 may be a remote control key, a key with various wireless technologies applied, or a digital key in an electronic device such as a mobile phone. For example, the key 200 may be a UHF remote control key, a UWB digital key, etc. The car 100 may include a controller 20 and a memory 10, and the car 100 may implement the control method through the controller 20 and the memory 10.

[0067] In the control method, the control method can be implemented by first taking step S10, and the controller 20 can periodically obtain the key 200 relative to the car 100 and the current position, and the periodic acquisition can be the acquisition of the period duration or the acquisition of the number of periods. The acquisition method can adopt positioning technologies such as the positioning solution system of the car 100 to the key 200. For example, the positioning solution system can include visual assisted positioning on the vehicle side and relative positioning of the accelerometer on the key 200 side; through the positioning of the car 100 to the key 200, the coordinates of the key 200 relative to the coordinate system of the car 100 itself can be obtained, so that the current position between the car 100 and the key 200 can be obtained.

[0068] Then, step S20 can be taken to confirm the functional area where the key 200 is located based on the current position obtained in step S10. The confirmation method can be to determine whether the key 200 or the user carrying the key 200 is in the functional area based on the relative relationship between the current position of the key 200 and the car 100 and combined with positioning technology.

[0069] like Figure 3 As shown, it should be understood that the functional area of ​​the automobile 100 can be divided according to different positions around the automobile 100, and the distance range outside the outer contour of the automobile 100 can be divided into a main functional area 30, and the specific value of the distance range can be selected as about 0 meters to 2 meters. The distance range outside the main functional area 30 of the automobile 100 can be divided into multiple secondary functional areas 40, and the specific value of the distance range of the multiple secondary functional areas 40 can be selected as about 2 meters to 30 meters and divided into several distance segments.

[0070] The main function area 30 can be divided into a plurality of function blocks according to different components of the automobile 100. For example, the main function area 30 of the automobile 100 is divided into six function blocks in the figure, including a left front door function block 31, a left rear door function block 32, a right front door function block 33, a right rear door function block 34, a tailgate left function block 35, and a tailgate right function block 36. When the key 200 is located in each function block, the automobile 100 can unlock the corresponding function block, for example, unlock the left front door, unlock the left rear door, etc. When the key 200 leaves each function block, the automobile 100 can lock the corresponding function block, for example, lock the left front door, lock the left rear door, etc. Of course, the specific functions of each function block can also be set to other.

[0071] In the secondary functional area 40, the boundary of the primary functional area 30 to the plurality of secondary functional areas 40 may be a ring-shaped block, as shown in the figure, of the secondary functional area 40 of two surrounding ring-shaped blocks. When the key 200 is in the ring-shaped block, the car 100 may be controlled to realize one or more functions such as turning on the welcome light, adjusting the seat, turning on the air conditioner, remote parking, or automatic following. Furthermore, the functions of the secondary functional area 40 may also be customized according to the actual situation of the car 100 or the needs of the user.

[0072] It should also be understood that, since the positioning technology such as the positioning solution system outputs a random probability distribution centered on the actual position of the key 200 when obtaining the position of the key 200, when the key 200 is near the boundary line of the functional area, the output position coordinates of the key 200 will randomly fall into the functional area adjacent to the boundary line; if no processing is performed, the functional area will frequently and randomly execute the preset functions; phenomena similar to this situation are usually called the ping-pong effect of the functional area boundary.

[0073] Therefore, step S30 may be adopted to count the number of times the key 200 is located in different functional areas in each cycle within a predetermined number of cycles. The predetermined number of cycles may be a specific number of cycles preset for the current position of the key 200 relative to the automobile 100 obtained in step S10, and the predetermined number of cycles may be 5 cycles, 10 cycles, etc. Within the predetermined number of cycles, after the functional area where the key 200 is located is confirmed in step S20 in each cycle, the number of times the key 200 is located in different functional areas within the entire predetermined number of cycles will be counted.

[0074] Then step S40 can be taken. Within a predetermined number of cycles, the number of times the key 200 falls into each functional area can be calculated, and each functional area is set with a predetermined number of times. When the number of times the key 200 falls into a certain functional area within the predetermined number of cycles is greater than the predetermined number of times, the controller 20 can use the functional area that meets the requirements as the target functional area.

[0075] Then, step S50 may be taken. After determining the target functional area, the controller 20 may control the automobile 100 to implement a preset function of the target functional area. The preset function may be unlocking the corresponding functional area, or turning on the lights of the corresponding functional area.

[0076] See also Figure 4 In some embodiments, periodically obtaining the current position of the key 200 relative to the vehicle 100 (step S10) includes:

[0077] S11: periodically obtaining the current distances between the multiple UWB anchor point modules 50 on the car 100 and the key 200, respectively, wherein the multiple UWB anchor points are located at different positions of the car 100;

[0078] S12: Based on the multiple current distances, calculate the current position of the key 200 relative to the car 100.

[0079] The acquisition module 310 is used to periodically acquire the current distances between multiple UWB anchor point modules 50 on the car 100 and the key 200, and the multiple UWB anchor points are located at different positions of the car 100; the calculation module 330 is used to calculate the current position of the key 200 relative to the car 100 based on the multiple current distances.

[0080] The controller 20 is used to periodically obtain the current distances between multiple UWB anchor point modules 50 of the car 100 and the key 200, where the multiple UWB anchor points are located at different positions of the car 100; and to calculate the current position of the key 200 relative to the car 100 based on the multiple current distances.

[0081] In this way, a more accurate current position of the key 200 can be obtained through the multiple UWB anchor point modules 50 of the automobile 100, and thus the functional area where the key 200 is located can be determined more accurately.

[0082] Specifically, the UWB technology based on 802.15.4z and other related standards is also called security-enhanced ultra-wideband technology, which can be mainly applied to the digital key 200 system of the automobile 100, and has the technical characteristics of anti-relay attack, high ranging and positioning accuracy; in terms of function, it can achieve relatively accurate identification of the key 200 inside and outside the vehicle, as well as relatively accurate positioning outside the vehicle. Under non-blocked conditions, the accuracy can reach ±6 to 10 cm, and under blocked conditions, the accuracy can reach about ±30 cm.

[0083] The digital key 200 system using UWB technology can provide functions such as non-sensing unlocking and non-sensing starting ignition with good user experience. For example, by using the security-enhanced UWB technology based on 802.15.4z, low-power Bluetooth (BLE) technology and near-field communication (NFC) technology, the vehicle can be non-sensingly unlocked and started using electronic devices such as mobile phones, and the digital key 200 can be conveniently shared remotely, so that the vehicle can be shared with family members or authorized to be used by friends for a short period of time.

[0084] To implement step S10, step S11 may be taken, and the controller 20 may periodically obtain the current distance between each of the multiple UWB anchor point modules 50 on the car 100 and the UWB module on the key 200, wherein the multiple UWB anchor point modules 50 may be set at different positions of the car 100, for example, near the four corners (left front / left rear / right front / right rear) of the car 100 and near the front and rear doors of the car 100.

[0085] Then, step S12 may be taken to locate the relative position of the key 200 and the automobile 100 based on the multiple current distances obtained in step S11, and then the functional area where the key 200 is located may be confirmed by solving the relative position.

[0086] For example, it can be combined with Figure 5 It is further understood that in the signal connection and positioning process between the key 200 and the car 100 based on UWB technology, the car body may be equipped with an ultrasonic module and a visual assistance module, and the key 200 may be equipped with a UWB module, a low-power Bluetooth module, a GPS module and other modules for positioning, and the module may include corresponding chips and modules; the low-power Bluetooth module in the key 200 and the low-power Bluetooth module in the car 100 can realize wireless communication, and the UWB module in the key 200 and the multiple UWB anchor point modules 50 distributed in the car 100 perform ToF distance measurement, so as to obtain the current distance of the key 200. Then, the ToF distance and received signal strength information between the multiple UWB anchor point modules 50 at the end of the car 100 and the UWB module of the key 200 can be sent to the controller 20 of the car 100 to solve the position of the key 200, so as to obtain the relative position of the key 200, and the information obtained by the ultrasonic module and the visual module of the car body can also be used to assist in solving the relative position of the key 200. Then the controller 20 further determines the functional area where the key 200 is located according to the relative position of the key 200 with respect to the vehicle 100 .

[0087] See also Figure 6 In some embodiments, in each cycle, calculating the number of times the key 200 is located in different functional areas in a predetermined number of cycles (step S30) includes:

[0088] S31: In each cycle, the functional area where the key 200 is located is counted once;

[0089] S32: Within a predetermined number of cycles, confirm the number of times the key 200 is located in different functional areas according to the counting result.

[0090] The calculation module 330 is used to count the functional area where the key 200 is located once in each cycle; and to confirm the number of times the key 200 is located in different functional areas according to the counting result within a predetermined number of cycles.

[0091] The controller 20 is used to count the functional area where the key 200 is located once in each cycle; and is used to confirm the number of times the key 200 is located in different functional areas according to the counting result within a predetermined number of cycles.

[0092] In this way, the number of times the key 200 is in different functional areas within a cycle can be recorded by counting, which can facilitate comparison of the positioning of the key 200 in different functional areas and facilitate judgment in subsequent steps.

[0093] Specifically, the controller 20 may first perform step S31 before performing step S30, counting the functional area where the key 200 confirmed in step S20 is located once in each cycle within a predetermined number of cycles, and then obtain the corresponding number of times the key 200 is located in different functional areas confirmed within the predetermined number of cycles.

[0094] Can be combined Figure 7 The embodiments further understand that Figure 3 The left front door functional block 31 and the left rear door functional block 32 shown in the figure are taken as examples. When the key 200 is located at different positions from the boundary line of the two functional blocks, the controller 20 in the car 100 can execute step S30. The car 100 can calculate the number of times within the predetermined number of cycles by using the sliding window counting method in the software logic, taking the sliding window shift register group as an example:

[0095] When the key 200 is located in the left front door functional block 31, the sliding window shift register group in the left front door functional block 31 can receive confirmation information and record it in the form of 0 and 1. If it falls into the left front door functional block 31, it is recorded as 1 (the shaded unit of the shift register group in the figure), otherwise it is recorded as 0 (the blank unit of the shift register group in the figure). The length of the sliding window shift register group can be regarded as a predetermined number of cycles, and the predetermined number of cycles in the figure is 10; each sliding window shift register group is accompanied by a counter accumulator, and the function of the counter accumulator is to calculate the number of "1"s in the sliding window shift register group;

[0096] When the key 200 is at a certain distance from the boundary line in the left front door functional block 31, the position of the key 200 is confirmed to be close to the normal distribution curve of the left front door functional block 31. At this time, the sliding window shift register group in the left front door functional block 31 confirms that the key 200 has fallen into the left front door functional block 31 9 times within 10 pre-set cycles, wherein the number of times the corresponding counter accumulator accumulates is 9 times. At the same time, the sliding window shift register group in the left rear door functional block 32 confirms that the key 200 has only fallen into the left front door functional block 31 once within 10 pre-set cycles, wherein the number of times the corresponding counter accumulator accumulates is 1 time.

[0097] In the figure, the predetermined number of times is selected as 7 times, and the number of times accumulated by the counter accumulator in the left front door function block 31 is greater than 7 times. Therefore, according to step S40, the left front door function block 31 can be confirmed as the target function area, and then the car 100 can be controlled to execute the preset function corresponding to the target function area, for example, unlocking the left front door.

[0098] In some implementations, the predetermined number of cycles is the most recent predetermined number of cycles from the current moment.

[0099] In this way, the predetermined number of cycles being the most recent predetermined number of cycles from the current moment can ensure that the confirmation and counting of the functional area where the key 200 is located are in the latest state.

[0100] Specifically, still Figure 7 Taking the 10 predetermined number cycles selected in as an example, when the sliding window shift register group receives confirmation information more than 10 times, for example 13 times, the sliding window shift register group should take the current moment as the latest cycle of 10 times as the predetermined number cycle.

[0101] See also Figure 8 In some embodiments, the control method further comprises:

[0102] S60: When the number of times the key 200 is located in the same functional area is less than or equal to a predetermined number of times, the function currently executed by the automobile 100 is maintained.

[0103] The control module 340 is used to maintain the function currently executed by the automobile 100 when the number of times the key 200 is located in the same functional area is less than or equal to a predetermined number of times. The controller 20 is used to maintain the function currently executed by the automobile 100 when the number of times the key 200 is located in the same functional area is less than or equal to a predetermined number of times.

[0104] In this way, when the number of times the key 200 is located in the same function zone is less than or equal to the predetermined number of times, maintaining the function currently executed by the car 100 can reduce the frequent switching of the execution function zone of the car 100 caused by the ping-pong effect of the key 200 being located at the boundary line.

[0105] Specifically, the controller 20 executes the control method to step S30 and can execute step S60 when step S40 is not satisfied, and maintains the function currently executed by the car 100 when the number of times the key 200 is located in the same functional area is less than or equal to the predetermined number of times.

[0106] Combination Fig. 9 It is understood that when the key 200 is close to the boundary line in the left front door functional block 31, the confirmation of the position of the key 200 is close to the normal distribution curve of the boundary line. At this time, the sliding window shift register group in the left front door functional block 31 confirms that the key 200 has fallen into the left front door functional block 31 7 times within 10 pre-set cycles, wherein the number of times accumulated by the counter accumulator is 7 times. At the same time, the sliding window shift register group in the left rear door functional block 32 only confirms that the key 200 has fallen into the left front door functional block 31 3 times within 10 pre-set cycles, wherein the number of times accumulated by the corresponding counter accumulator is 3 times.

[0107] In the figure, the predetermined number of times is selected as 7 times, the number of times accumulated by the counter accumulator in the left front door function block 31 is equal to 7 times, and the number of times accumulated by the counter accumulator in the left rear door function block 32 is less than 7 times. Therefore, according to step S60, if the target function area currently executed by the automobile 100 is the unlocking of the left front door function block 31, the automobile 100 can keep the unlocking state of the left front door function block 31 at this time.

[0108] Further recombinable Fig.10 It is understood that when the key 200 moves to the boundary line between the left front door functional block 31 and the left rear door functional block 32, the key 200 position is confirmed as a normal distribution curve centered on the boundary line. At this time, the sliding window shift register group in the left front door functional block 31 confirms that the key 200 has fallen into the left front door functional block 31 5 times within 10 pre-set cycles, wherein the number of times the corresponding counter accumulator accumulates is 5 times. At the same time, the sliding window shift register group in the left rear door functional block 32 confirms that the key 200 has fallen into the left front door functional block 31 5 times within 10 pre-set cycles, wherein the number of times the corresponding counter accumulator accumulates is 5 times.

[0109] In the figure, the predetermined number of times is selected as 7 times, and the number of times accumulated by the counter accumulators in the left front door function block 31 and the left rear door function block 32 is equal and less than 7 times. Therefore, according to step S60, if the target function block currently executed by the automobile 100 is the unlocking of the left front door function block 31, the automobile 100 can keep the unlocking state of the left front door function block 31 at this time.

[0110] In some embodiments, the value of the predetermined number of times is greater than half the value of the predetermined number of cycles.

[0111] In this way, the value of the predetermined number of times is greater than half of the value of the predetermined number of cycles, so that the confirmation of the functional area of ​​the key 200 by the automobile 100 is in accordance with reality.

[0112] Specifically, the value of the predetermined number of times should be set to be greater than half of the value of the predetermined number of cycles, that is, the value of the predetermined number of times is more than 50% of the value of the predetermined number of cycles. Preferably, the value of the predetermined number of times can be 60% or more of the value of the predetermined number of cycles.

[0113] See also Fig.11 In some embodiments, the control method comprises:

[0114] S70: When the automobile 100 executes the preset function corresponding to the target functional area, the automobile 100 is controlled to stop executing the functions corresponding to other functional areas.

[0115] In this way, it is possible to prevent the automobile 100 from conflicting with functions executed in other functional areas when executing the preset functions in the target functional area.

[0116] Specifically, combined Figure 3 Taking the functional areas of the automobile 100 as an example, when the controller 20 of the automobile 100 executes the control method and confirms that the target functional area to be executed is the unlocking function of the left front door functional block 31, the automobile 100 will control the left rear door functional block 32, the right front door functional block 33, the right rear door functional block 34, the tailgate left functional block 35 and the tailgate right functional block 36, etc., other functional areas except the target functional area to stop the functions executed.

[0117] The non-volatile computer-readable storage medium storing a computer program in the embodiments of the present application implements the control method of any of the above embodiments when the computer program is executed by one or more processors. Specifically, the processor can execute any step in the control method.

[0118] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0119] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0120] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0121] It should be understood that the various parts of the embodiments of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0122] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0123] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0124] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0125] In the description of this specification, the description with reference to the terms "one embodiment", "certain embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0126] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A control method for a car, characterized in that: The control method comprises: Periodically obtaining a current position of the key relative to the vehicle; Based on the current position and a normal distribution curve centered on a boundary line of the functional area, determining the functional area where the key is currently located, the functional area being an area divided around the vehicle; In each cycle, the function area where the key is located is counted once, and within a predetermined number of cycles, the number of times the key is located in different function areas is confirmed in a sliding window counting manner according to the counting result, wherein the sliding window counting manner is to calculate the number of times the key is located in different function areas through sliding window shift registers of different function areas, and the predetermined number of cycles is the cycle of the latest predetermined number of times from the current moment; The function area where the key is located more than a predetermined number of times is taken as the target function area; The automobile is controlled to execute a preset function corresponding to the target functional area.

2. The control method according to claim 1, characterized in that: The periodically obtaining the current position of the key relative to the vehicle comprises: Periodically acquiring current distances between a plurality of UWB anchor point modules on the vehicle and the key, wherein the plurality of UWB anchor points are located at different positions of the vehicle; Based on the multiple current distances, the current position of the key relative to the vehicle is calculated.

3. The control method according to claim 1, characterized in that: The control method further comprises: When the number of times the key is located in the same functional area is less than or equal to the predetermined number of times, the function currently being executed by the vehicle is maintained.

4. The control method according to claim 1, characterized in that: The value of the predetermined number of times is greater than half of the value of the predetermined number of cycles.

5. The control method according to claim 1, characterized in that: The control method comprises: When the automobile executes the preset function corresponding to the target functional area, the automobile is controlled to stop executing the functions corresponding to other functional areas.

6. A control device for a car, characterized in that: The control device comprises: An acquisition module, used for periodically acquiring a current position of the key relative to the vehicle; A confirmation module, used to determine the functional zone where the key is currently located based on the current position and a normal distribution curve centered on a boundary line of the functional zone, wherein the functional zone is an area divided around the vehicle; A calculation module, used for counting the function area where the key is located once in each cycle, and confirming the number of times the key is located in different function areas in a sliding window counting manner according to the counting result within a predetermined number of cycles, wherein the sliding window counting manner is to calculate the number of times the key is located in different function areas by sliding window shift registers of different function areas, and the predetermined number of cycles is the cycle of the latest predetermined number of times from the current moment; The control module is used to take the function area where the key is located more than a predetermined number of times as the target function area; and to control the car to execute the preset function corresponding to the target function area.

7. A car, characterized in that: The automobile comprises a memory and a controller, wherein the controller is used to execute a computing program stored in the memory to implement the control method according to any one of claims 1 to 5.

8. A non-volatile computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by one or more processors, the control method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Control method, device and system for automobile back door

    CN106401360A

  • Method for judging whether vehicle has cross-area behavior

    CN109544968A

  • Vehicle function control method and system based on UWB technology, and vehicle

    CN113421364A

  • Anomaly Detection Using Endpoint Counters

    US20220014533A1