CN115402259A - Control method, control device, automobile and storage medium - Google Patents

Control method, control device, automobile and storage medium Download PDF

Info

Publication number
CN115402259A
CN115402259A CN202211102202.8A CN202211102202A CN115402259A CN 115402259 A CN115402259 A CN 115402259A CN 202211102202 A CN202211102202 A CN 202211102202A CN 115402259 A CN115402259 A CN 115402259A
Authority
CN
China
Prior art keywords
area
functional
key
function
automobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211102202.8A
Other languages
Chinese (zh)
Other versions
CN115402259B (en
Inventor
陈国安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Ningbo Geely Automobile Research and Development Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Ningbo Geely Automobile Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Ningbo Geely Automobile Research and Development Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202211102202.8A priority Critical patent/CN115402259B/en
Publication of CN115402259A publication Critical patent/CN115402259A/en
Application granted granted Critical
Publication of CN115402259B publication Critical patent/CN115402259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • B60R25/24Means to switch the anti-theft system on or off using electronic identifiers containing a code not memorised by the user
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/01Fittings or systems for preventing or indicating unauthorised use or theft of vehicles operating on vehicle systems or fittings, e.g. on doors, seats or windscreens

Abstract

The application discloses a control method, a control device, an automobile and a storage medium. The control method comprises the following steps: periodically acquiring a current position of the key relative to the car; confirming the functional area where the key is currently located based on the current position; at each cycle, updating and replacing the region ranges; in each period, confirming the current functional area of the key based on the current position of the key, calculating the times that the key is respectively positioned in each functional area in a preset number of periods, if a certain functional area exists, updating the functional area to be a new active functional area if the times that the key is positioned in the functional area in the preset number of periods are more than the preset times of the functional area, and otherwise, keeping the functional area unchanged. According to the method, the control device is used for realizing the control method, and the active extended function area is dynamically generated, so that when the key moves near the joint boundary of different function areas around the automobile, the frequent switching of the preset functions of the adjacent function areas caused by random positioning errors is effectively reduced, the loss of automobile execution parts is reduced, and the user experience is improved.

Description

Control method, control device, automobile and storage medium
Technical Field
The present application relates to the field of automotive technologies, and in particular, to a control method, a control device, an automobile, and a storage medium.
Background
In the related art, when a key of a vehicle enters a function area divided around the vehicle, the vehicle performs a corresponding function. However, due to the random error of the automobile in positioning the key, the instability of human body movement and other factors, when the automobile key is located near the boundary line of the two functional areas, the position of the key output by the automobile positioning system will jump randomly on the two sides of the boundary line. If the functional action of the corresponding functional area is executed immediately according to the output result of the positioning system, when the automobile key moves or stands still within a certain range of the boundary of the functional area, the preset actions of the adjacent functional areas can be frequently and randomly switched, and the adverse consequences of service life reduction or damage of an execution part (such as an electric control door lock), poor user experience and the like are easily caused.
Disclosure of Invention
The application provides a control method, a control device, an automobile and a storage medium.
The control method of the embodiment of the application comprises the following steps:
periodically acquiring a current position of a key relative to the car;
confirming a function area where the key is located currently based on the current position, wherein the function area is a plurality of blocks with preset specific functions and divided at the periphery of the automobile, each function area comprises a core area and a transition area, and the transition area is a strip-shaped area in a certain range at the boundary line side of the adjacent function areas; at any moment, the automobile only executes the preset function of a certain functional area, and the functional area is called as an active functional area at the moment; a transition area corresponding to the boundary line in the adjacent function area outside the boundary line to be crossed by the key is called an active function area extension, and the active function area extension are combined together to be called an effective active function area; the remaining area after the active function area expansion is removed from the adjacent function area is called an effective adjacent function area;
updating the area ranges of the effective active functional area and the effective adjacent functional area in each period, and replacing the area range of the functional area to which the effective active functional area belongs with the area range of the effective adjacent functional area;
confirming a functional area where the key is located at present based on the current position of the key in each period;
in each period, calculating the times of the keys in the functional areas respectively in a preset number of periods;
in each period, if a certain function area exists, the number of times that the key is positioned in the function area in a preset period is greater than the preset number of times of the function area, the function area is updated to be a new active function area, and otherwise, the original active function area is kept unchanged.
And controlling the automobile to execute a preset function corresponding to the active functional area.
In some embodiments, if the function area in which the key is located is updated in a new cycle due to the update of the function area in which the key is located, the function executed by the vehicle is controlled, and the function preset in the active function area in the previous cycle is switched to the function preset in the active function area in the new cycle.
In some embodiments, said periodically obtaining a current position of a key relative to said car comprises:
periodically acquiring the current distances between a plurality of UWB anchor point modules on the automobile body and the key respectively, wherein the UWB anchor points are positioned at different positions of the automobile;
and calculating the current position of the key relative to the automobile based on the current distance between the key and the UWB anchor points on the automobile body.
In some embodiments, said counting, at each cycle, the number of times that the key is respectively located in the functional zones within a predetermined number of cycles comprises:
in each period, the counting of the functional area where the current position of the key is positioned is increased once, and the counting of other functional areas is unchanged;
and confirming the times that the keys are respectively positioned in the functional areas according to the counting result of the functional areas in the preset number of cycles in each cycle.
In some embodiments, in each period, if the number of times of locating in the same functional area in the predetermined number of periods of the key is less than or equal to the predetermined number of times, the active functional area is not updated, and the function currently executed by the automobile is not changed.
In some embodiments, the value of the predetermined number of times is greater than half the value of the predetermined number of cycles.
In certain embodiments, the control method comprises:
and under the condition that the automobile executes the preset function corresponding to the active functional area, controlling the automobile to stop executing the functions corresponding to other functional areas.
The control device of the embodiment of the application comprises:
the acquisition module is used for periodically acquiring the current position of a key relative to the automobile; the periphery of the automobile is divided into a plurality of functional areas and a transition area for connecting the two functional areas; the functional area comprises a core area and a transition area, and the transition area is a strip-shaped area in a certain range at the boundary line side of the adjacent functional areas; at any moment, the automobile only executes the preset function of a certain functional area, and the functional area is called as an active functional area at the moment; a transition area corresponding to the boundary line in the adjacent functional area outside the boundary line to be crossed by the key is called an active functional area extension, and the active functional area extension are combined together to be called an effective active functional area; the remaining area after the active function area expansion is removed from the adjacent function area is called an effective adjacent function area; updating the area ranges of the effective active functional area and the effective adjacent functional area in each period, and replacing the area range of the functional area to which the effective active functional area belongs with the area range of the effective adjacent functional area;
the confirming module is used for confirming the current functional area of the key based on the current position of the key; the function area used for confirming the current position of the key in each period based on the current position of the key;
the calculation module is used for calculating the times that the keys are respectively positioned in the functional areas in a preset number of periods in each period;
the control module is used for determining whether a key is located in a function area within a preset period or not according to the function area; otherwise, keeping the original active functional area unchanged; and controlling the automobile to execute a preset function corresponding to the active functional area.
The automobile of the embodiment of the present application includes a memory and a controller, and the controller is configured to execute a calculation program stored in the memory to implement the control method of any one of the embodiments.
According to the control method, the control device and the automobile, the control device realizes the control method, and the active extended function area is dynamically generated, so that when the key moves near the junction boundary of different function areas around the automobile, frequent switching of preset functions of adjacent function areas caused by random positioning errors is effectively reduced, the loss of automobile execution parts is reduced, and the user experience is improved.
The non-transitory computer-readable storage medium storing a computer program according to an embodiment of the present application implements the control method according to any one of the above embodiments when the computer program is executed by one or more processors.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart diagram of a control method according to an embodiment of the present application;
FIG. 2 is a block schematic diagram of a control device according to an embodiment of the present application;
FIG. 3 is a functional partitioning diagram of an automobile according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a control method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of a control method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a signal connection positioning process of a car and a key according to an embodiment of the present application;
FIG. 7 is a schematic flow chart diagram of a control method according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a first embodiment of a control method according to an embodiment of the present application, in which a sliding window shift register set and a count accumulator are used for counting;
fig. 9 is a flowchart illustrating a control method according to an embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a second embodiment of a control method according to an embodiment of the present application, in which a sliding window shift register set and a count accumulator are used for counting;
FIG. 11 is a schematic diagram illustrating a third example of counting using a sliding window shift register set and a count accumulator according to the control method of the embodiment of the present application;
FIG. 12 is a schematic diagram illustrating a fourth embodiment of a control method according to an embodiment of the present application, in which a sliding window shift register set and a count accumulator are used for counting;
FIG. 13 is a schematic diagram of a fifth embodiment of a control method according to an embodiment of the present application, in which a sliding window shift register set and a count accumulator are used for counting;
fig. 14 is a flowchart illustrating a control method according to the embodiment of the present application.
Description of the main element symbols:
an automobile 100;
memory 10, controller 20, main functional area 30, left front door functional block 31, left front door functional block transition area 311, left front door functional block core area 312, left back door functional block 32, left back door functional block core area 321, left back door functional block transition area 322, right front door functional block 33, right front door functional block transition area 331, right front door functional block core area 332, right back door functional block 34, right back door functional block transition area 341, right back door functional block core area 342, back door left functional block 35, back door left functional block transition area 351, back door left functional block core area 352, back door right functional block 36, back door right functional block transition area 361, back door right functional block area 362, sub-functional area 40, and anchor core module 50;
a key 200;
the device comprises a control device 300, an acquisition module 310, a confirmation module 320, a calculation module 330 and a control module 340.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the present application and to simplify the description, and are not intended to indicate or imply that the device or element so referred to must have a particular orientation, be constructed in a particular orientation, and be operated in a particular orientation, and thus are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it should be noted that, unless otherwise explicitly stated or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, a fixed connection, a detachable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or may be connected through the use of two elements or the interaction of two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as the case may be.
In this application, unless expressly stated or limited otherwise, the recitation of a first feature "on" or "under" a second feature may include the recitation of the first and second features being in direct contact, and may also include the recitation of the first and second features not being in direct contact, but being in contact with another feature between them. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Further, the present application may repeat reference numerals and/or reference letters in the various examples for simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or arrangements discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
Referring to fig. 1, a control method according to an embodiment of the present disclosure includes:
s10, periodically acquiring the current position of the key 200 relative to the automobile 100;
s20, confirming a function area where the key 200 is located at present based on the current position, wherein the function area is a plurality of blocks with preset specific functions and divided at the periphery of the automobile 100, each function area comprises a core area and a transition area, and the transition area is a strip-shaped area in a certain range at the boundary line side of the adjacent function areas; at any one time, the automobile 100 only executes the preset function of a certain functional area, which is called as the active functional area at that time; a transition area corresponding to the boundary line in the adjacent function area outside the boundary line to be crossed by the key 200 is called an active function area extension, and the active function area extension are combined together to be called an effective active function area; the remaining area after the active functional area expansion is removed from the adjacent functional area is called an effective adjacent functional area;
s30, in each period, updating the area ranges of the effective active function area and the effective adjacent function area, and replacing the area range of the function area to which the effective active function area belongs with the area range of the effective adjacent function area;
s40, confirming the current functional area of the key 200 based on the current position of the key 200 in each period;
s50, in each period, calculating the times of the key 200 in each functional area in a preset number of periods;
s60, in each period, if a certain functional area exists, the number of times that the key 200 is positioned in the functional area in a preset period is greater than the preset number of times of the affiliated functional area, the functional area is updated to be a new active functional area, otherwise, the original active functional area is kept unchanged;
and S70, controlling the automobile 100 to execute the preset function corresponding to the active function area.
Referring to fig. 2, a control device 300 according to an embodiment of the present disclosure includes:
an acquisition module 310 for periodically acquiring a current position of the key 200 relative to the car 100; the periphery of the automobile is divided into a plurality of functional areas and a transition area for connecting the two functional areas; the functional area comprises a core area and a transition area, and the transition area is a strip-shaped area in a certain range at the boundary line side of the adjacent functional areas; at any moment, the automobile only executes the preset function of a certain functional area, and the functional area is called as an active functional area at the moment; a transition area corresponding to the boundary line in the adjacent function area outside the boundary line to be crossed by the key 200 is called an active function area extension, and the active function area extension are combined together to be called an effective active function area; the remaining area after the active functional area expansion is removed from the adjacent functional area is called an effective adjacent functional area; in each period, updating the area ranges of the effective active functional area and the effective adjacent functional area, and replacing the area range of the function area to which the effective active functional area belongs with the area range of the effective adjacent functional area;
a confirmation module 320 for confirming a functional zone where the key 200 is currently located based on the current position of the key 200; and for confirming, at each cycle, the functional zone in which the key 200 is currently located, based on the current position of the key 200;
a calculating module 330, configured to calculate the number of times that the key 200 is located in each functional area in a predetermined number of cycles;
a control module 340, configured to, in each period, if there is a certain function region and the number of times that the key 200 is located in the function region in a predetermined number of cycles is greater than the predetermined number of times that the key belongs to the function region, update the function region to a new active function region, otherwise keep the original active function region unchanged; and controlling the automobile to execute the preset function corresponding to the active functional area.
The automobile 100 according to the embodiment of the present application includes a memory 10 and a controller 20, and the controller 20 is configured to execute a calculation program stored in the memory 10 to implement the control method according to the embodiment. Or the controller 20 is used to periodically acquire the current position of the key 200 relative to the car 100; the periphery of the automobile is divided into a plurality of functional areas and a transition area for connecting the two functional areas; the functional area comprises a core area and a transition area, and the transition area is a strip area in a certain range at the boundary line side of the adjacent functional areas; the system comprises a functional area, a functional area and a functional area, wherein the functional area is used for updating the area ranges of the effective active functional area and the effective adjacent functional area and replacing the area range of the functional area to which the functional area belongs with the area ranges of the effective active functional area and the effective adjacent functional area in each period; and a function area for confirming that the key 200 is currently located based on the current position of the key 200; and for confirming, at each cycle, the functional zone in which the key 200 is currently located, based on the current position of the key 200; and for counting the number of times the key 200 is respectively located in each functional zone within a predetermined number of cycles; and is used in each cycle, if there is a certain functional area, the number of times that the key 200 locates in this functional area in the predetermined number of cycles is greater than the affiliated functional area predetermined number of times, this functional area is upgraded to the new active functional area, otherwise keep the original active functional area unchanged; and controlling the automobile to execute the preset function corresponding to the active functional area.
In the control method, the control device 300 and the automobile 100 of the embodiment of the application, the control device 300 implements the control method, the active extended function area is dynamically generated, the area ranges of the effective active function area and the effective adjacent function area are updated, and the area range of the function area to which the active function area and the effective adjacent function area belong is replaced by the area range of the effective active function area and the effective adjacent function area, so that when the key 200 moves near the handover boundary of different function areas around the automobile, frequent switching of preset functions of the adjacent function areas caused by random positioning errors can be effectively reduced, the loss of parts of the automobile 100 is reduced, and the user experience is improved.
Specifically, the automobile 100 may be a new energy automobile, a fuel automobile, a hybrid automobile, and the like. The key 200 of the automobile 100 may be a device used to enter the automobile 100, lock the automobile 100, or execute certain functional control commands on the automobile 100. The key 200 may be a remote control key, a key to which various wireless technologies are applied, or a digital key in an electronic device such as a mobile phone. For example, the key 200 may be an LF/UHF PEPS fob, a BLE digital key, a UWB digital key, and the like. The automobile 100 may include a controller 20 and a memory 10, the controller 20 may be configured to collect information of positioning sensors such as UWB/BLE distributed on the automobile body and calculate the position of the key 200, and the automobile 100 may implement the control method through the controller 20 and the memory 10.
In the control method, the controller 20 may periodically acquire the time length of the cycle for each positioning of the key 200, and may acquire the current position of the key 200 relative to the automobile 100 in step S10. The obtaining manner may adopt a positioning technology such as a positioning calculation system of the key 200 by the automobile 100, for example, the positioning calculation system may position the key 200 based on UWB TOF (Time of Flight) distance information with the key 200 acquired by a plurality of UWB anchor points at the vehicle end, position the key 200 based on RSSI received signal strength information with the key 200 acquired by a plurality of anchor points at the vehicle end, auxiliary positioning of vehicle end vision/ultrasonic waves/sound waves and the like, and relative positioning of an accelerometer at the key 200 end; the coordinates (position) of the key 200 with respect to the body coordinate system of the automobile 100 can be obtained by positioning the key 200 by the automobile 100, and thus the current position between the automobile 100 and the key 200 can be obtained.
The function area where the key 200 is currently located can be confirmed in step S20 based on the current position (coordinates) of the key 200 obtained in step S10. The confirmation method may be to compare the current position (coordinate) of the key 200 with the boundary positions (coordinates) of all functional areas, and determine whether the key 200 or the user carrying the key 200 is in an active functional area of a certain functional area by using the relative positional relationship between the current position of the key 200 and the automobile 100 and combining a positioning technique. The outer contour of the automobile 100 may be divided into blocks with predetermined functions, and each function block includes a core region and a transition region. The transition area is a strip area in a certain range at the boundary line side of the adjacent functional areas.
At any one time, the automobile 100 only executes the preset function of a certain functional area, which is called as the active functional area at that time; the transition area corresponding to the border line in the adjacent functional area outside the border line to be crossed by the key 200 is called active functional area extension, and the active functional area extension are combined together to be called effective active functional area; the remaining area after the active functional area expansion is removed from the adjacent functional area is called an effective adjacent functional area;
as further understood from fig. 3, the functional area of the automobile 100 may be divided according to different positions around the automobile 100, and a distance range outside the outline of the automobile 100 may be divided into the main functional area 30, and the specific value of the distance range may be selected to be about 0 m to 2 m. The distance range outside the main functional area 30 of the automobile 100 can be divided into the secondary functional area 40, and the specific value of the distance range can be selected to be divided into a plurality of distance sections from about 2 meters to about 30 meters.
The main functional area 30 may be divided into a plurality of functional blocks according to different components of the automobile 100, for example, the main functional area 30 of the automobile 100 is divided into 6 functional blocks, including a front left door functional block 31, a rear left door functional block 32, a front right door functional block 33, a rear right door functional block 34, a rear left door functional block 35 and a rear right door functional block 36. Each functional block can be further divided into a core area and a transition area, the transition area is close to an extension area of the adjacent functional block towards the direction opposite to the intersection line, and the core area can be an area close to the transition area and jointly form the functional block with the transition area.
For ease of understanding, the functional blocks into which the main functional blocks in fig. 3 are divided may be further divided into a left front door functional block transition region 311 and a left front door functional block core region 312, a left rear door functional block transition region 321 and a left rear door functional block core region 322, a right front door functional block transition region 331 and a right front door functional block core region 332, a right rear door functional block transition region 341 and a right rear door functional block core region 342, a rear door left functional block transition region 351 and a rear door left functional block core region 352, a rear door right functional block transition region 361 and a rear door right functional block core region 362.
Taking the left front door function block 31 and the left rear door function block 32 shown in the above figures as an example, if the automobile 100 currently executes the preset function of the left front door function block 31 at a certain time, the left front door function block 31 is the active function area at the time, the left rear door function block transition area 321 adjacent to the left front door function block 31 is the active function area extension, the left front door function block 31 (including the core area 312 and the transition area 311) and the left rear door function block transition area 321 may be merged into the effective active function area, and the left rear door function block core area 322 is called the effective adjacent function area.
Thus, when the key 200 is located in the active functional area of a functional block, the automobile 100 may implement the unlocking function of the corresponding functional block, for example, unlocking the front left door, unlocking the rear left door, and the like. When the key 200 leaves the active functional area of a functional block, the active functional area and the active adjacent functional area are updated, and the automobile 100 can execute the preset function corresponding to the functional area to which the new active functional area belongs, and can lock the previous functional block, for example, the left front door, the left rear door, and the like. Of course, the specific functions of the functional blocks may be set to other functions.
In the sub-functional area 40, the boundary from the main functional area 30 to the sub-functional area 40 may be a circular block, as shown in the sub-functional area 40 of two circular blocks surrounded by each other. When the key 200 is located in the annular blocks at different distances from the vehicle body, the vehicle 100 can be controlled to turn on the courtesy light, adjust the seat, turn on the air conditioner, and the like; in some sub-blocks of the ring-shaped (such as 2 m-6 m) block close to the main functional area, one or more of remote control parking or automatic following functions can be executed. Further, the function of the sub-functional area 40 can be customized according to the actual or user requirement of the automobile 100.
It should be further understood that, because the output of the positioning technology such as the positioning calculation system and the like when acquiring the position of the key 200 is a random probability distribution with the actual position of the key 200 as the center, the position coordinates of the output key 200 will randomly fall into the functional areas adjacent to the boundary line; if the function is not processed, the function executed by the automobile is frequently and randomly switched between the preset functions of the two adjacent functional areas; a phenomenon similar to this is commonly referred to as a ping-pong effect of the functional zone boundaries.
Step S30 is further adopted, in each period, the area ranges of the effective active function area and the effective adjacent function area are updated, and the area ranges of the effective active function area and the effective adjacent function area are used for replacing the area ranges of the function areas to which the effective active function area and the effective adjacent function area belong; that is, in each period, the adjacent functional blocks are updated, so that the area ranges equivalent to the effective active functional area and the effective adjacent functional area replace the original home area in the functional blocks.
Step S40 may then be taken to identify, at each cycle, the functional zone in which the key 200 is currently located based on the current position of the key 200; after the functional areas are equalized in step S30, the functional area where the key 200 is currently located can be identified based on the current position of the key 200.
Step S50 may then be taken to calculate, in each cycle, the number of times the key 200 is respectively located in each functional area within a predetermined number of cycles, noting that at this time, the regions of the functional areas corresponding to the active functional area and the active adjacent functional area are to be replaced with the regions of the active functional area and the active adjacent functional area; the predetermined number of cycles may be a specific number of cycles set in advance for the current position of the key 200 with respect to the automobile 100 acquired in step S10, the predetermined number of cycles may be 10 cycles, 16 cycles, or the like, and the number of times the key 200 is located in each functional zone may be calculated within a fixed cycle.
Then, step S60 may be taken, in each period, the number of times that the key 200 falls in a certain functional area within a predetermined number of cycles may be calculated, and corresponding predetermined numbers of times are set for different functional areas, and when the number of times that the key 200 falls in a certain functional area within a predetermined number of cycles is greater than the predetermined number of times of the functional area, the controller 20 may regard the functional area meeting the requirement as an active functional area, otherwise, the original active functional area is kept unchanged.
It will be appreciated that the predetermined number is a numerical threshold for comparison with the number of times the key 200 is located in the same functional zone within a predetermined period, and that a change in the active functional zone will be initiated when the comparison exceeds the predetermined number.
Then, step S70 may be adopted, if the functional area confirmed in step S60 is a new active functional area, a new active functional area and a new active adjacent functional area are generated, and the area of the corresponding functional area in which the new active functional area is located is replaced by the area of the new active functional area and the area of the active adjacent functional area, and then the automobile 100 is further controlled to execute a preset function corresponding to the active functional area to which the new active function belongs; otherwise it is inconvenient to keep the state of the previous cycle.
Referring to fig. 4, in some embodiments, the control method includes:
and S80, if the functional area where the key 200 is located is updated in a new period, the new period active functional area is updated, controlling the function executed by the automobile 100, and switching the preset function of the previous period active functional area to the preset function of the new period active functional area.
The control module 340 is configured to control the function executed by the vehicle in a new period if the function area in which the key 200 is located is updated in the new period, and the function executed by the vehicle is switched from the preset function of the previous period active function area to the preset function of the new period active function area. The controller 20 is configured to control the function executed by the automobile 100 to switch from the preset function of the previous active function area to the preset function of the new active function area in the new period when the active function area in the new period is updated due to the update of the function area where the key 200 is located.
Thus, the control method can cause the update of the active functional area where the key 200 is located according to the update of the position of the key 200 in the current period, further cause the area update of the new effective active functional area and the new effective adjacent functional area, further cause the area update of the functional areas to which the new effective active functional area and the new effective adjacent functional area belong, and the update of the preset function executed by the automobile (the new active functional area corresponds to the preset function), so that the frequency of switching the key 200 in the adjacent functional areas can be obviously reduced.
Specifically, if the function area in which the key 200 is located is updated in the new period, the function executed by the automobile 100 is controlled, and the function preset in the active function area in the previous period is switched to the function preset in the active function area in the current period.
Referring to fig. 5, in some embodiments, the current position of the key 200 relative to the automobile 100 is periodically obtained (step S10), which includes:
s11, periodically acquiring the distances between a plurality of UWB anchor point modules 50 on the automobile 100 and the key 200 respectively, wherein the UWB anchor points are positioned at different positions of the automobile 100;
and S12, calculating the current position of the key 200 relative to the automobile 100 based on the distances between the key 200 and a plurality of UWB anchor points on the automobile body.
The acquiring module 310 is configured to periodically acquire current distances between the UWB anchor modules 50 on the automobile 100 and the key 200, respectively, where the UWB anchors are located at different positions of the automobile 100; the calculation module 330 is configured to calculate a current position of the key 200 relative to the automobile 100 based on distances between the key 200 and a plurality of UWB anchor points on the automobile body.
The controller 20 is configured to periodically obtain current distances from the key 200 to the UWB anchor modules 50 of the automobile 100, respectively, where the UWB anchor modules are located at different positions of the automobile 100; and for calculating the current position of the key 200 relative to the car 100 based on the distances between the current plurality of keys 200 and the car body UWB anchor point.
In this manner, a more accurate current location of key 200 may be obtained by the plurality of UWB anchor modules 50 of vehicle 100, which may in turn be a more accurate determination of the functional zone in which key 200 is located.
Specifically, the UWB technology based on the 802.15.4z and other related standards, also called a security enhanced ultra wide band technology, may be mainly applied to the digital key 200 system of the automobile 100, and has the technical characteristics of relay attack prevention, high ranging and positioning accuracy; the key 200 can be identified inside and outside the vehicle and positioned accurately outside the vehicle functionally. The precision can reach +/-6-10 cm under the non-shielding condition, and the precision can reach +/-30 cm under the shielding condition.
The digital key system adopting the UWB technology can provide functions of noninductive unlocking, noninductive starting ignition and the like with good user experience. Exemplarily, the safety enhanced UWB technology based on 802.15.4Z, the low-power Bluetooth (BLE) technology and the Near Field Communication (NFC) technology are adopted, so that the vehicle can be unlocked and started noninductively by using electronic devices such as a mobile phone, remote sharing of a digital key can be conveniently carried out, the vehicle can be conveniently shared with family members, and the vehicle use of friends can also be authorized in a short time.
To implement step S10, step S11 may be taken, and the controller 20 may periodically acquire the current distance between each UWB anchor module 50 of the plurality of UWB anchor modules 50 on the automobile 100 and the UWB module on the key 200, wherein the plurality of UWB anchor modules 50 may be disposed at different positions of the automobile 100, for example, may be disposed near four corners (front left/rear right/front right) of the automobile 100 and near front and rear doors of the automobile 100.
Step S21 may then be taken, locating the relative position of the key 200 and the car 100 according to the plurality of current distances obtained in step S11; then, step S22 may be taken, and based on the relative position located in step S21, the functional region where the key 200 is located may be confirmed by calculating the relative position.
Illustratively, as can be further understood in conjunction with fig. 6, in the signal connection and positioning process between the key 200 based on UWB technology and the automobile 100, the automobile body may have a UWB positioning module (anchor point), a BLE (bluetooth low energy) communication module, an ultrasonic module, and a visual auxiliary module, and the key 200 may have a UWB module, a BLE bluetooth low energy module, an accelerometer, and other modules for positioning, which may include corresponding chips and modules; the bluetooth low energy module in the key 200 and the bluetooth low energy module in the car 100 can realize wireless communication and location based on received signal strength RSSI, and the UWB module in the key 200 and a plurality of UWB anchor modules 50 distributed in the car 100 carry out ToF ranging to can acquire the current distance of the key 200.
Then, toF distances between the UWB anchor modules 50 at the end of the vehicle 100 and the UWB module of the key 200 and RSSI information of received signal strength may be sent to the controller 20 of the vehicle 100 to perform position calculation of the key 200, so as to obtain a relative position of the key 200. The information obtained by the accelerometer, the ultrasonic module and the vision module of the key 200 can also be used for resolving assistance of the relative position of the key 200. The controller 20 then further determines the functional zone in which the key 200 is located based on the relative position of the key 200 with respect to the vehicle 100.
Referring to fig. 7, in some embodiments, counting the number of times that the key 200 is respectively located in each functional area for a predetermined number of cycles (step S50) includes:
s51, in each period, the counting of the functional area where the current position of the key 200 is positioned is increased once, and the counting of other functional areas is not changed;
and S52, confirming the times of the key 200 in each functional area according to the counting result of each functional area in the preset number of cycles.
The calculating module 330 is configured to count the functional area where the current position of the key 200 is located once in each period, and count other functional areas except the functional area unchanged; and a number of times for confirming that the key 200 is respectively located in each cycle based on the counted result of each functional area in the predetermined number of cycles.
The controller 20 is configured to count the functional area where the current position of the key 200 is located, by one time in each cycle, and count other functional areas except for the functional area; and a number of times for confirming that the key 200 is respectively located in each cycle based on the counted result of each functional area in the predetermined number of cycles.
Thus, the number of times the key 200 is located in each functional area in the cycle can be recorded by adopting a counting mode, and the key 200 can be conveniently positioned between the functional areas for comparison, so that the judgment of the subsequent steps is facilitated.
Specifically, the controller 20 may first take step S51 to perform step S50, and count the functional region where the key 200 is located once in each period of the predetermined number of periods, and then count the corresponding times of the valid active functional region, the valid adjacent functional region, and the other functional regions where the key 200 is located, which are confirmed in the predetermined number of periods.
As will be further understood in conjunction with the embodiment of fig. 8, taking the left front door functional block 31 and the left rear door functional block 32 shown in fig. 3 as an example, the controller 20 in the automobile 100 may execute step S50 when the key 200 is located at different positions from the boundary line of the two functional blocks. The number of times that the automobile 100 calculates the predetermined number of cycles may adopt a sliding window counting manner in software logic, taking a sliding window shift register set as an example:
in each period, updating is carried out on the sliding window shift register group and the counting accumulator which belong to each functional area in all the functional areas. When the key 200 is located in a functional area, the sliding window shift register set of the functional area can receive the update information "1", and other functional areas can receive the update information "0"; the shaded cells of the sliding window shift register group in the drawing represent information "1", and the blank cells of the sliding window shift register group in the drawing represent information "0". The length of the sliding window shift register set 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 with a counting accumulator which is used for calculating the number of '1' in the sliding window shift register group;
when the active function area in front of the key 200 is the front left door function block 31, the front left door function block core area 312, the front left door function block transition area 311, and the rear left door function block transition area 321 together form an effective active function area, and the area range of the effective active function area replaces the area range of the front left door function block 31, and at this time, the area range of the function area 31 is increased by the rear left door function block transition area 321. The left back door functional block core area 322 becomes the valid adjacent functional area, and the area range of the left back door functional block 32 is replaced by the area range of the valid adjacent functional area, at which time the area range of the left back door functional block 32 loses the left back door functional block transition area 321. If the key 200 is located in the left front door functional block 31, the position of the key 200 is determined as a normal distribution curve centered on the actual position of the key 200. At this time, the sliding window shift register set in the front left door function block 31 confirms that the key 200 falls into the front left door function block 31 for 8 times and falls into the rear left door function block transition area 321 for 1 time within 10 predetermined number of cycles, since the rear left door function block transition area 321 belongs to the active function area. Therefore, the count accumulator accumulates 9 times. Meanwhile, the sliding window shift register bank in the left back gate function block core 322 confirms that the key 200 falls into the left back gate function block 32 for 1 time in 10 predetermined number cycles (at this time, the range of the function block of the left back gate function block 32 is only the left back gate function block core 322), so the number of times accumulated by the count accumulator is 1.
At this time, the predetermined number of times in the figure is 7, and the number of times accumulated by the counting accumulator in the active function area where the front left door function block 31 is located is greater than 7. Therefore, according to step S40, the front left door function block 31 may be determined as the active function area, and then step S70 may be implemented to control the automobile 100 to execute the preset function corresponding to the active function area. For example, unlocking of the left front door.
In some embodiments, the predetermined number of cycles is the latest predetermined number of cycles consecutive to the current time instant.
Thus, the number of times the key 200 falls into each functional area within a predetermined number of cycles is updated every cycle, thereby ensuring that the active functional areas are in the latest state.
Referring to fig. 9, in some embodiments, the control method further includes:
and S90, in each period, if the times that the key 200 is located in the same functional area in the preset period are all smaller than or equal to the preset times, the active functional area is not updated, and the function currently executed by the automobile 100 is not changed.
The control module 340 is configured to, in each cycle, if the number of times that the key 200 is located in the same functional area in the predetermined number of times is less than or equal to the predetermined number of times, not update the active functional area, and not change the function currently executed by the vehicle 100. The controller 20 is configured to, in each cycle, if the number of times that the key 200 is located in the same functional area in the predetermined number of cycles is less than or equal to the predetermined number of times, not update the active functional area, and not change the function currently performed by the vehicle 100.
In this way, when the number of times that the key 200 is located in the same functional area is less than or equal to the predetermined number of times, the function currently performed by the vehicle 100 is kept unchanged, and frequent switching of the function performed by the vehicle 100 (ping-pong effect) caused by random positioning errors when the key 200 is located near the boundary line can be reduced.
Specifically, as can be understood from fig. 10, when the position of the key 200 is moved from fig. 8 to fig. 10, and the active function area in front of the key 200 is the left front door function block 31, the left front door function block core area 312, the left front door function block transition area 311, and the left rear door transition area 321 form an active function area, the area of the active function area replaces the area of the original left front door function block 31, and other attributes of the left front door function block 31 are not changed. The left back door functional block core area 322 constitutes an effectively contiguous functional area, replacing the area of the original left back door functional block 32 with the area of the effectively contiguous functional area, with the other attributes of the left back door functional block 32 unchanged. If the key 200 is located in the transition region 311 of the left front door function block, the position of the key 200 is determined as a normal distribution curve centered on the actual position of the key 200. At this time, the sliding window shift register set in the left front door function block 31 confirms that the key 200 falls into the left front door function block transition area 311 and the left front door function block core area 312 for 7 times and falls into the left rear door function block core area 321 for 1 time within 10 predetermined number of cycles, and at this time, the number of times the counting accumulator accumulates is 8 times because the left rear door function block core area 321 belongs to the active function area. At the same time, the sliding window shift register set of the left back door functional block 32 confirms that the key 200 falls into the left back door functional block transition block 322 (valid adjacent functional block) 2 times within 10 predetermined number of cycles, so that the count accumulator of the left back door functional block 32 accumulates 2 times.
At this time, the predetermined number of times in the figure is 7, and the number of times accumulated by the counting accumulator in the active functional area where the front left door functional block 31 is located is greater than 7. Therefore, the left front door functional block 31 may be determined as the active functional area, and then the step S70 may be implemented to control the automobile 100 to execute the preset function corresponding to the active functional area. For example, the automobile 100 remains unlocked from the left front door.
As will be understood from fig. 11, when the state of the key 200 moves from fig. 10 to fig. 11, and the active function area before the key 200 is the front left door function block 31, the front left door function block core area 312, the rear left door function block transition area 311, and the rear left door transition area 321 form an active function area. The left back door functional block core area 322 becomes the active neighbor functional area. If the key 200 is located on the boundary line between the transition region 311 of the left front door functional block and the transition region 321 of the left rear door functional block, the position of the key 200 is determined as a normal distribution curve centered on the actual position of the key 200. At this time, the sliding window shift register set in the left front door function block 31 confirms that the key 200 falls into the left front door function block transition area 311 and the left front door function block transition area 312 for 5 times and falls into the left rear door function block transition area 321 for 1 time within 10 predetermined number of cycles, and since the left rear door function block transition area 321 belongs to the active function area, the number of times accumulated by the counting accumulator is 6 times. At the same time, the sliding window shift register bank of the left back gate functional block 32 confirms that the key 200 falls into the valid adjacent functional block (i.e., the left back gate functional block core 322) 4 times within 10 predetermined number of cycles, so the count accumulator accumulates 4 times. In this case, the predetermined number of times is 7 times, the number of times accumulated by the count accumulator of the front left door functional block 31 is 6 times smaller than 7 times, and the number of times accumulated by the count accumulator of the rear left door functional block 32 is 4 times smaller than 7 times. Thus, controlling the car 100 according to step S70 ensures that the previously executed state is unchanged, i.e. the preset function of the corresponding active functional zone executed in fig. 10. For example, the automobile 100 remains unlocked from the left front door.
As will be further understood with reference to fig. 12, when the key 200 continues to move to the position of fig. 12, the active function area in front of the key 200 is the left front door function block 31, the left front door function block core area 312, the left front door function block transition area 311, and the left rear door function block transition area 321 constitute an active function area, and the left rear door function block core area 322 becomes an active adjacent function area. If the key 200 is located in the transition area 321 of the left rear door function block, the position of the key 200 is determined as a normal distribution curve centered on the actual position of the key 200. At this time, the sliding window shift register set in the left front gate function block 31 confirms that the key 200 falls into the left front gate function block core area 312 for 1 time, the left front gate function block transition area 311 for 2 times, and the left rear gate function block transition area 321 for 3 times within a predetermined number of cycles of 10 times, so that the number of times accumulated by the count accumulator is 6 times. At the same time, the valid neighbor sliding window shift register set confirms that key 200 falls into valid neighbor function 322 4 times within 10 predetermined number periods, so the count accumulator counts 4 times. At this time, the predetermined number of times in the figure is 7, and the number of times accumulated by the counting accumulator in the active function area where the front left-door function block 31 is located is 6 times smaller than 7 times. The number of times accumulated by the count accumulator in the valid adjacent functional zone where the left back gate functional block 32 is located is 4 times less than 7 times. Therefore, the left front door functional block 31 is still confirmed as the active functional area, and then the step S70 of controlling the automobile 100 to execute the preset function corresponding to the functional area 31 can be implemented. For example, the automobile 100 performs unlocking of the left front door.
As shown in fig. 13, when the key 200 moves from fig. 12 to the position shown in fig. 13, the active function area before the key 200 is the left front door function block 31, and therefore, the left front door function block core area 312, the left front door function block transition area 311, and the left rear door transition area 321 form an active function area, which is equivalent to the left front door function block 31. The left back door core area 322 may become an active neighbor functional area equivalent to the left back door functional block 32. If the key 200 is in the left back door function block core area 322, the position of the key 200 is determined to be a normal distribution curve centered around the actual position of the key 200. At this time, the functional area 31 corresponding to the sliding window shift register set falls into 312 and 311 for 1 time and 321 for 1 time within 10 predetermined cycles, and the key 200 falls into the original active functional area 31 for 2 times; the bank of function blocks 32 sliding window shift registers confirms that the key 200 falls into the left back door function block 32 (i.e., the valid adjacent function block consisting of 322) 8 times within 10 predetermined number of cycles. At this time, the predetermined number of times is 7 times, and the number of times accumulated by the function region counting accumulator where the left back door function block 32 is located is 8 times greater than 7 times, so that the left back door function block 32 can be determined as a new active function region, and then the active function region is formed by (322 +321+ 311); the effective adjacent functional area is composed of 312; step S70 may be implemented to control the vehicle 100 to execute the preset function of the functional area 32 corresponding to the new active functional area. For example, the automobile 100 performs unlocking of the left rear door and unlocking of the left front door.
In some embodiments, the value of the predetermined number of times is greater than half the value of the predetermined number of cycles.
Thus, a value of the predetermined number of times greater than half of the value of the predetermined number of cycles may make the confirmation of the key 200 function area by the automobile 100 realistic.
Specifically, the value of the predetermined number of times is 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 50% or more of the value of the predetermined number of cycles, and preferably, the value of the predetermined number of times may be 60% or more of the value of the predetermined number of cycles.
Referring to fig. 14, in some embodiments, the control method includes:
and S100, controlling the automobile 100 to stop executing the functions corresponding to the other functional areas under the condition that the automobile 100 executes the preset functions corresponding to the active functional areas.
In this way, the automobile 100 can be prevented from conflicting with functions performed by other function areas when the preset function of the active function area is performed.
Specifically, referring to the functional areas of the automobile 100 in fig. 3, when the controller 20 of the automobile 100 executes the control method and confirms that the active functional area is the unlock function of the front left door functional block 31, the automobile 100 stops controlling the functions executed by the functional areas other than the active functional area, such as the rear left door functional block 32, the front right door functional block 33, the rear right door functional block 34, the rear left door functional block 35, and the rear right door functional block 36.
The non-transitory computer-readable storage medium storing the computer program according to the embodiment of the present application realizes the control method according to any one of the above embodiments when the computer program is executed by one or more processors. In particular, the processor may perform any of the steps of the control method.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should be understood that portions of the embodiments of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried out in the method of implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the terms "one embodiment," "certain embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: numerous changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A control method for an automobile, characterized by comprising:
periodically acquiring a current position of a key relative to the car;
confirming a function area where the key is located currently based on the current position, wherein the function area is a plurality of blocks with preset specific functions and divided at the periphery of the automobile, each function area comprises a core area and a transition area, and the transition area is a strip-shaped area in a certain range at the boundary line side of the adjacent function areas; at any moment, the automobile only executes the preset function of a certain functional area, and the functional area is called as an active functional area at the moment; a transition area corresponding to a boundary line in an adjacent functional area outside the boundary line to be crossed by the key is called an active functional area extension, and the active functional area extension are combined together to be called an effective active functional area; the remaining area after the active function area expansion is removed from the adjacent function area is called an effective adjacent function area;
in each period, updating the area ranges of the effective active functional zone and the effective adjacent functional zone, and replacing the area range of the functional zone to which the effective active functional zone belongs with the area range of the effective adjacent functional zone;
confirming a functional area where the key is located at present based on the current position of the key in each period;
in each period, calculating the times of the keys in each functional area in a preset number of periods;
in each period, if a certain functional area exists, the number of times that the key is positioned in the functional area in a preset number period is greater than the preset number of times of the functional area, the functional area is updated to be a new active functional area, and otherwise, the original active functional area is kept unchanged;
and controlling the automobile to execute a preset function corresponding to the active functional area.
2. The control method according to claim 1, characterized by comprising:
and if the active function area in the new period is updated due to the update of the function area where the key is located in the new period, controlling the function executed by the automobile, and switching the preset function of the active function area in the previous period to the preset function of the active function area in the new period.
3. The control method of claim 1, wherein said periodically acquiring a current location of a key relative to the vehicle comprises:
periodically acquiring the current distances between a plurality of UWB anchor point modules on the automobile body and the key respectively, wherein the UWB anchor points are positioned at different positions of the automobile;
and calculating the current position of the key relative to the automobile based on the current distances between the key and a plurality of UWB anchor points on the automobile body.
4. The control method according to claim 1, wherein said counting, in each cycle, the number of times the key is respectively located in the functional zones for a predetermined number of cycles comprises:
in each period, the counting of the functional area where the current position of the key is located is increased once, and the counting of other functional areas is unchanged;
and in each period, confirming the times of the keys in the functional areas respectively according to the counting result of the functional areas in the preset period.
5. The control method according to claim 1, characterized by further comprising:
in each period, if the number of times of the key in the same functional area in the preset number of periods is smaller than or equal to the preset number of times, the active functional area is not updated, and the function currently executed by the automobile is not changed.
6. The control method according to claim 1, characterized in that the value of the predetermined number of times is greater than half the value of the predetermined number of cycles.
7. The control method according to claim 1, characterized by comprising:
and under the condition that the automobile executes the preset function corresponding to the active functional area, controlling the automobile to stop executing the functions corresponding to other functional areas.
8. A control device for an automobile, characterized by comprising:
the acquisition module is used for periodically acquiring the current position of a key relative to the automobile, and the periphery of the automobile is divided into a plurality of functional areas and a transition area connecting the two functional areas; the functional area comprises a core area and a transition area, and the transition area is a strip-shaped area within a certain range of the boundary line side of the adjacent functional areas; at any moment, the automobile only executes the preset function of a certain functional area, and the functional area is called as an active functional area at the moment; a transition area corresponding to a boundary line in an adjacent functional area outside the boundary line to be crossed by the key is called an active functional area extension, and the active functional area extension are combined together to be called an effective active functional area; the remaining area after the active functional area expansion is removed from the adjacent functional area is called an effective adjacent functional area; in each period, updating the area ranges of the effective active functional zone and the effective adjacent functional zone, and replacing the area range of the functional zone to which the effective active functional zone belongs with the area range of the effective adjacent functional zone;
the confirming module is used for confirming the current functional area of the key based on the current position of the key; and a function area used for confirming the current position of the key based on the current position of the key in each period;
the calculation module is used for calculating the times that the keys are respectively positioned in the functional areas in a preset number of periods in each period;
the control module is used for determining that the key is located in the functional area for more than a preset number of times in each period if the key is located in the functional area for more than the preset number of times in the preset period, and then the functional area is used as a new active functional area; otherwise, keeping the original active functional area unchanged; and controlling the automobile to execute a preset function corresponding to the active functional area.
9. An automobile characterized by comprising a memory and a controller for executing a calculation program stored in the memory to realize the control method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by one or more processors, implements the control method of any one of claims 1-7.
CN202211102202.8A 2022-09-09 2022-09-09 Control method, control device, automobile and storage medium Active CN115402259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211102202.8A CN115402259B (en) 2022-09-09 2022-09-09 Control method, control device, automobile and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211102202.8A CN115402259B (en) 2022-09-09 2022-09-09 Control method, control device, automobile and storage medium

Publications (2)

Publication Number Publication Date
CN115402259A true CN115402259A (en) 2022-11-29
CN115402259B CN115402259B (en) 2024-04-19

Family

ID=84165070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211102202.8A Active CN115402259B (en) 2022-09-09 2022-09-09 Control method, control device, automobile and storage medium

Country Status (1)

Country Link
CN (1) CN115402259B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010060457A (en) * 2008-09-04 2010-03-18 Tokai Rika Co Ltd Position determination apparatus
JP2011147104A (en) * 2009-12-18 2011-07-28 Tokai Rika Co Ltd Communication terminal position determining apparatus
CN102420627A (en) * 2010-09-24 2012-04-18 株式会社东海理化电机制作所 Communication terminal position judging device
DE102013220240A1 (en) * 2013-10-08 2015-04-09 Bayerische Motoren Werke Aktiengesellschaft In-vehicle occupant presence system, central locking system, method for checking occupant presence in the vehicle, and method for automatically actuating door locks
JP2015116975A (en) * 2013-12-19 2015-06-25 株式会社東海理化電機製作所 Electronic key system
US20150274126A1 (en) * 2014-03-28 2015-10-01 Toyota Jidosha Kabushiki Kaisha Electronic key system
JP2015202750A (en) * 2014-04-11 2015-11-16 株式会社東海理化電機製作所 Communication area adjustment device and method
US20190118770A1 (en) * 2017-10-19 2019-04-25 Dr. Ing. H.C. F. Porsche Aktiengesellschaft Sensor-controlled key system for a motor vehicle and method for the energy-saving environment monitoring of a motor vehicle
US20190394624A1 (en) * 2018-06-25 2019-12-26 Lenovo (Singapore) Pte. Ltd. V2x communication over multiple radio access types
US20200189460A1 (en) * 2018-12-17 2020-06-18 Hyundai Motor Company Vehicle and control method thereof
CN112009424A (en) * 2020-09-07 2020-12-01 东风汽车集团有限公司 Accurate positioning keyless entry and starting system and method
CN114019943A (en) * 2021-11-05 2022-02-08 浙江吉利控股集团有限公司 Energy consumption control method and system for automobile key
CN114299644A (en) * 2021-12-30 2022-04-08 立讯精密工业(昆山)有限公司 Vehicle access system and vehicle access method
CN114567850A (en) * 2022-01-18 2022-05-31 惠州市德赛西威智能交通技术研究院有限公司 Algorithm for preventing position detection jitter

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010060457A (en) * 2008-09-04 2010-03-18 Tokai Rika Co Ltd Position determination apparatus
JP2011147104A (en) * 2009-12-18 2011-07-28 Tokai Rika Co Ltd Communication terminal position determining apparatus
CN102420627A (en) * 2010-09-24 2012-04-18 株式会社东海理化电机制作所 Communication terminal position judging device
DE102013220240A1 (en) * 2013-10-08 2015-04-09 Bayerische Motoren Werke Aktiengesellschaft In-vehicle occupant presence system, central locking system, method for checking occupant presence in the vehicle, and method for automatically actuating door locks
JP2015116975A (en) * 2013-12-19 2015-06-25 株式会社東海理化電機製作所 Electronic key system
US20150274126A1 (en) * 2014-03-28 2015-10-01 Toyota Jidosha Kabushiki Kaisha Electronic key system
JP2015202750A (en) * 2014-04-11 2015-11-16 株式会社東海理化電機製作所 Communication area adjustment device and method
US20190118770A1 (en) * 2017-10-19 2019-04-25 Dr. Ing. H.C. F. Porsche Aktiengesellschaft Sensor-controlled key system for a motor vehicle and method for the energy-saving environment monitoring of a motor vehicle
US20190394624A1 (en) * 2018-06-25 2019-12-26 Lenovo (Singapore) Pte. Ltd. V2x communication over multiple radio access types
US20200189460A1 (en) * 2018-12-17 2020-06-18 Hyundai Motor Company Vehicle and control method thereof
CN112009424A (en) * 2020-09-07 2020-12-01 东风汽车集团有限公司 Accurate positioning keyless entry and starting system and method
CN114019943A (en) * 2021-11-05 2022-02-08 浙江吉利控股集团有限公司 Energy consumption control method and system for automobile key
CN114299644A (en) * 2021-12-30 2022-04-08 立讯精密工业(昆山)有限公司 Vehicle access system and vehicle access method
CN114567850A (en) * 2022-01-18 2022-05-31 惠州市德赛西威智能交通技术研究院有限公司 Algorithm for preventing position detection jitter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙皓;刘志远;: "车辆遥控钥匙无线定位方法", 控制工程, no. 2, 20 July 2009 (2009-07-20) *

Also Published As

Publication number Publication date
CN115402259B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
KR20190045940A (en) Parking Control Method and Parking Control Device
US20170309098A1 (en) Systems and methods for phone-as-a-key range extension
US9019158B2 (en) GNSS receiver and method for determining whether to switch from one operation state to another operation state according to state switching criterion and positioning information
CN102948232A (en) Determination of a location of an apparatus
US9204447B2 (en) Wireless communication device with frequency channel selecting
RU2686263C2 (en) Switch with rssi (indicator of intensity of received signal)
CN108307484B (en) Connection method and device of wireless access point, mobile terminal and storage medium
JP2007146501A (en) Vehicle controller
CN114019943A (en) Energy consumption control method and system for automobile key
US10274583B2 (en) Vehicle-use communication system, vehicle-mounted device, portable device, and a non-transitory computer-readable recording medium
CN105539431A (en) Automatic parking system, electric automobile and charging pile
AU2006202721B2 (en) Vehicular wireless apparatus
CN115402259A (en) Control method, control device, automobile and storage medium
JP2016008486A (en) Communication system for vehicle, on-vehicle machine, portable machine, and computer program
CN115431922A (en) Control method, control device, automobile and storage medium
US8405492B2 (en) In-vehicle wireless communication terminal
JP7017062B2 (en) Electronic key system for vehicles
CN115402258A (en) Control method, control device, automobile and storage medium
CN104937912A (en) Mobile communication device, and storage medium including program product for mobile communication device
CN115550836A (en) Control method, control device, automobile and storage medium
CN116198450A (en) Control method, control device, automobile and storage medium
CN116198449A (en) Control method, control device, automobile and storage medium
CN112758045A (en) Vehicle control system
CN112399331A (en) Automobile Bluetooth key positioning method
JP3558927B2 (en) Position detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant