+

CN116513105A - A vehicle keyless entry method and system - Google Patents

A vehicle keyless entry method and system Download PDF

Info

Publication number
CN116513105A
CN116513105A CN202310561349.1A CN202310561349A CN116513105A CN 116513105 A CN116513105 A CN 116513105A CN 202310561349 A CN202310561349 A CN 202310561349A CN 116513105 A CN116513105 A CN 116513105A
Authority
CN
China
Prior art keywords
key
preset area
vehicle
preset
coordinates
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.)
Pending
Application number
CN202310561349.1A
Other languages
Chinese (zh)
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.)
Jiangxi Isuzu Motors Co Ltd
Original Assignee
Jiangxi Isuzu Motors 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 Jiangxi Isuzu Motors Co Ltd filed Critical Jiangxi Isuzu Motors Co Ltd
Priority to CN202310561349.1A priority Critical patent/CN116513105A/en
Publication of CN116513105A publication Critical patent/CN116513105A/en
Pending legal-status Critical Current

Links

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/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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a vehicle keyless entry method and a system, the method comprises the steps of acquiring digital key information in real time, wherein the digital key information at least comprises position coordinates, a key ID and a key, judging whether the digital key is in a first preset area according to the position coordinates of the current moment, if yes, continuing to judge whether the key ID and the key are matched with preset key information, acquiring the position coordinates of the next moment when judging that the key information is matched, judging whether the digital key has the intention of entering a second preset area from the first preset area according to the position coordinates of the current moment and the position coordinates of the next moment, and if yes, controlling a corresponding vehicle door to open by a preset angle to finish the vehicle keyless entry when the digital key is in the second preset area. In the process, the keyless entry of the vehicle can be realized without pulling a door handle, and intelligent experience is brought to a user.

Description

一种车辆无钥匙进入方法及系统A vehicle keyless entry method and system

技术领域technical field

本发明属于车辆无钥匙进入的技术领域,具体涉及一种车辆无钥匙进入方法及系统。The invention belongs to the technical field of vehicle keyless entry, and in particular relates to a vehicle keyless entry method and system.

背景技术Background technique

超宽带(Ultra Wide Band,UWB)技术是一种无线载波通信技术,它不采用正弦载波,而是利用纳秒级的非正弦波窄脉冲传输数据,因此其所占的频谱范围很宽。Ultra Wide Band (UWB) technology is a wireless carrier communication technology. It does not use sinusoidal carrier, but uses nanosecond-level non-sinusoidal narrow pulses to transmit data, so it occupies a wide spectrum range.

随着汽车的电气化的普及发展以及车辆外观设计的不断提升,人们对于汽车的电气化、自动化程度越来越高的同时,对汽车外门把手的外观和自动化的要求也越来越高。目前市场上有两种车辆门把手:传统式车门把手和隐藏式车门把手。它们在配合车辆无钥匙进入功能时,传统式车门把手需要按住指定区域或者按钮并手动拉动开启车门,隐藏式车门把手自动或手动弹出后再手动拉动开启车门。With the popularization and development of automobile electrification and the continuous improvement of vehicle appearance design, people's requirements for the appearance and automation of automobile outer door handles are also getting higher and higher while the degree of electrification and automation of automobiles is getting higher and higher. There are two types of vehicle door handles on the market today: traditional door handles and concealed door handles. When they cooperate with the keyless entry function of the vehicle, the traditional door handle needs to press and hold the designated area or button and pull to open the door manually, while the hidden door handle pops up automatically or manually and then manually pulls to open the door.

但是,上述两种车辆门把手都在一定程度上影响整车外观协调性,其中隐藏式车门把手在冬季使用时,容易因结冰无法弹出从而造成损坏,而且由于智能科技的普及使用,人们对于车辆智能化程度要求越来越高,现有车辆无钥匙进入技术无法满足人们对于车辆智能化体验需求。However, both of the above two vehicle door handles affect the coordination of the appearance of the vehicle to a certain extent. When the hidden door handle is used in winter, it is easy to be damaged due to freezing and cannot be ejected. The requirements for vehicle intelligence are getting higher and higher, and the existing vehicle keyless entry technology cannot meet people's needs for vehicle intelligent experience.

发明内容Contents of the invention

基于此,本发明实施例当中提供了一种车辆无钥匙进入方法及系统,旨在解决现有技术中,使用传统式和隐藏式车门把手影响美观和特殊环境下易损坏的问题,给驾驶员和乘客带来更加智能化体验。Based on this, the embodiment of the present invention provides a vehicle keyless entry method and system, which aims to solve the problems in the prior art that the use of traditional and hidden door handles affects the appearance and is easy to be damaged in special environments. Bring a more intelligent experience to passengers.

本发明实施例的第一方面提供了一种车辆无钥匙进入方法,所述方法包括:The first aspect of the embodiments of the present invention provides a method for keyless entry of a vehicle, the method comprising:

实时获取数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥;Acquiring digital key information in real time, said digital key information at least including location coordinates, key ID and key key;

根据当前时刻的位置坐标,判断数字钥匙是否处于第一预设区域;According to the position coordinates at the current moment, it is judged whether the digital key is in the first preset area;

若是,则判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配;If so, judge whether the key ID and the key key match the preset key information;

若是,则获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图;If so, obtain the position coordinates at the next moment, and judge whether the digital key enters the second preset area from the first preset area according to the position coordinates at the current moment and the position coordinates at the next moment. the intent of the area;

若是,则当所述数字钥匙处于所述第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。If so, when the digital key is in the second preset area, control the corresponding door to open a preset angle, so as to complete the keyless entry of the vehicle.

进一步的,所述实时获取数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥的步骤之前包括:Further, before the step of obtaining digital key information in real time, the digital key information includes at least position coordinates, key ID and key key, including:

获取车辆所处的地理位置,以及车辆尺寸信息,其中,所述车辆尺寸信息至少包括前车门长度、后车门长度和车身宽度;Obtaining the geographic location of the vehicle and vehicle size information, wherein the vehicle size information includes at least the length of the front door, the length of the rear door and the width of the vehicle body;

根据所述前车门长度和所述后车门长度与所述车身宽度,确定中心交点,以及所述中心交点对应的第一地理位置,并根据第一地理位置,建立坐标系,其中,所述中心交点为前车门靠近车头的端点与后车门靠近车尾的端点之间的中间点垂直于车辆关于长度方向的对称轴的交点,所述第一地理位置为所述坐标系的原点;According to the length of the front door, the length of the rear door and the width of the vehicle body, determine the center intersection point and the first geographic location corresponding to the center intersection point, and establish a coordinate system according to the first geographic location, wherein the center The intersection point is the intersection point perpendicular to the symmetry axis of the vehicle with respect to the longitudinal direction between the end point of the front door near the front end and the end point of the rear door near the rear of the car, and the first geographic location is the origin of the coordinate system;

根据所述原点和所述坐标系,生成超宽带基站坐标,所述超宽带基站坐标用于确定目标物的所述位置坐标;Generate ultra-wideband base station coordinates according to the origin and the coordinate system, and the ultra-wideband base station coordinates are used to determine the position coordinates of the target;

获取第一预设半径和第二预设半径,根据所述第一预设半径和所述原点,在所述坐标系上生成对应的第一预设区域,根据所述第二预设半径和所述原点,在所述坐标系上生成对应的第二预设区域,其中,所述第二预设半径的长度为所述原点与前车门靠近车头端点的距离的长度,且所述第一预设半径大于所述第二预设半径。Obtain a first preset radius and a second preset radius, generate a corresponding first preset area on the coordinate system according to the first preset radius and the origin, and generate a corresponding first preset area according to the second preset radius and the origin The origin generates a corresponding second preset area on the coordinate system, wherein the length of the second preset radius is the length of the distance between the origin and the front door close to the end point of the front of the car, and the first The preset radius is greater than the second preset radius.

进一步的,所述实时获取数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥的步骤之前还包括:Further, before the step of obtaining digital key information in real time, the digital key information includes at least location coordinates, key ID and key key, further includes:

根据所述前车门长度、所述后车门长度以及所述坐标系,生成连接点坐标,其中,所述连接点坐标为两侧前车门与后车门的连接处的坐标;According to the length of the front door, the length of the rear door and the coordinate system, the coordinates of the connection point are generated, wherein the coordinates of the connection point are the coordinates of the connection between the front door and the rear door on both sides;

根据所述连接点坐标、所述车身宽度和所述第二预设区域,在所述第二预设区域内生成各车门对应的目标位置坐标域,其中,所述目标位置坐标域根据所述连接点坐标的连线和所述车身宽度中心点连线将所述第二预设区域划分各车门对应的目标位置坐标域;According to the connection point coordinates, the vehicle body width and the second preset area, generate a target position coordinate field corresponding to each door in the second preset area, wherein the target position coordinate field is based on the The line connecting the coordinates of the connection points and the line connecting the center point of the vehicle body width divides the second preset area into a target position coordinate domain corresponding to each door;

根据所述目标位置坐标域和车门,建立所述目标位置坐标域与车门的第一映射模型,所述第一映射模型用于输入所述位置坐标,根据所述位置坐标所处的所述目标位置坐标域,输出对应车门。According to the target position coordinate domain and the vehicle door, establish a first mapping model between the target position coordinate domain and the vehicle door, the first mapping model is used to input the position coordinates, and according to the target where the position coordinates are located Position coordinate field, the output corresponds to the door.

进一步的,所述获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图的步骤之后包括:Further, the acquisition of the location coordinates at the next moment, and according to the location coordinates at the current moment and the location coordinates at the next moment, it is judged whether the digital key enters the second preset area from the first preset area. After the step of presetting the intent of the area includes:

当所述数字钥匙存在由所述第一预设区域进入所述第二预设区域的意图时,实时根据所述超宽带基站坐标以及所述超宽带基站坐标与目标人员的距离,确定当前处于所述第一预设区域内所有的人员运动坐标;When the digital key intends to enter the second preset area from the first preset area, it is determined in real time according to the coordinates of the ultra-wideband base station and the distance between the coordinates of the ultra-wideband base station and the target person. All personnel movement coordinates in the first preset area;

根据所述第一预设区域内所有的人员运动坐标,将各人员对应的所述人员运动坐标连接,生成各人员运动轨迹。According to all the movement coordinates of the persons in the first preset area, the movement coordinates of the persons corresponding to the persons are connected to generate the movement trajectories of the persons.

进一步的,所述当所述数字钥匙处于所述第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入的步骤包括:Further, when the digital key is in the second preset area, the step of controlling the corresponding door to open a preset angle to complete the keyless entry of the vehicle includes:

当所述数字钥匙处于所述第二预设区域内时,筛选出当前处于所述第二预设区域,且所述人员运动轨迹的切线方向指向车门的目标人员运动轨迹;When the digital key is in the second preset area, filter out the target personnel movement trajectory that is currently in the second preset area and whose tangential direction of the personnel movement trajectory points to the door;

根据所述目标人员运动轨迹,确定所述目标人员运动轨迹中最后获取的目标人员运动坐标,将所述目标人员运动坐标和所述数字钥匙的当前位置坐标输入所述第一映射模型中,得到对应车门,并控制对应所述车门打开预设角度,以完成车辆无钥匙进入。According to the movement trajectory of the target person, determine the last obtained movement coordinates of the target person in the movement trajectory of the target person, input the movement coordinates of the target person and the current position coordinates of the digital key into the first mapping model, and obtain Corresponding to the car door, and controlling the opening of the preset angle corresponding to the car door, so as to complete the keyless entry of the vehicle.

进一步的,所述根据当前时刻的位置坐标,判断数字钥匙是否处于第一预设区域的步骤之后包括:Further, after the step of judging whether the digital key is in the first preset area according to the position coordinates at the current moment includes:

当所述数字钥匙处于所述第一预设区域时,车辆控制器向所述数字钥匙发送配对请求;When the digital key is in the first preset area, the vehicle controller sends a pairing request to the digital key;

获取所述数字钥匙返回的所述钥匙ID以及所述钥匙密钥,并判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配;Obtain the key ID and the key key returned by the digital key, and determine whether the key ID and the key key match the preset key information;

若是,则执行所述获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图的步骤。If so, execute the step of obtaining the location coordinates at the next moment, and judge whether the digital key enters the second preset area from the first preset area according to the location coordinates at the current moment and the location coordinates at the next moment. Step 2: Preset the intention of the area.

进一步的,所述获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图的步骤包括:Further, the acquisition of the location coordinates at the next moment, and according to the location coordinates at the current moment and the location coordinates at the next moment, it is judged whether the digital key enters the second preset area from the first preset area. The steps of presetting the intent of the area include:

根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,计算所述当前时刻的位置坐标与所述原点之间的当前时刻直线距离,以及所述下一时刻的位置坐标与所述原点之间的下一时刻直线距离;According to the position coordinates at the current moment and the position coordinates at the next moment, calculate the current moment linear distance between the position coordinates at the current moment and the origin, and the position coordinates at the next moment and the The straight-line distance between the origins at the next moment;

对比所述当前时刻直线距离与所述下一时刻直线距离大小,当所述当前时刻直线距离大于所述下一时刻直线距离时,则判断所述数字钥匙存在由所述第一预设区域进入第二预设区域的意图,当所述当前时刻直线距离小于或等于所述下一时刻直线距离时,则判断所述数字钥匙不存在由所述第一预设区域进入第二预设区域的意图。Comparing the straight-line distance at the current moment with the straight-line distance at the next moment, when the straight-line distance at the current moment is greater than the straight-line distance at the next moment, it is judged that the digital key is entered from the first preset area The intention of the second preset area, when the straight-line distance at the current moment is less than or equal to the straight-line distance at the next moment, it is judged that the digital key does not have the possibility of entering the second preset area from the first preset area intention.

本发明实施例的第二方面提供了一种车辆无钥匙进入系统,所述系统包括:A second aspect of the embodiments of the present invention provides a vehicle keyless entry system, the system comprising:

钥匙信息获取模块,用于实时获取所述数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥;A key information acquisition module, configured to acquire the digital key information in real time, the digital key information at least including position coordinates, key ID and key key;

第一预设区域判断模块,用于根据当前时刻的位置坐标,判断所述数字钥匙是否处于第一预设区域;The first preset area judging module is used to judge whether the digital key is in the first preset area according to the position coordinates at the current moment;

钥匙匹配判断模块,用于当所述数字钥匙处于第一预设区域时,判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配;A key matching judging module, configured to judge whether the key ID and the key key match preset key information when the digital key is in a first preset area;

意图判断模块,用于当所述钥匙ID以及所述钥匙密钥与预设钥匙信息匹配时,获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图;An intention judging module, configured to obtain the location coordinates at the next moment when the key ID and the key key match the preset key information, and obtain the location coordinates at the next moment according to the location coordinates at the current moment and the location at the next moment coordinates, judging whether the digital key intends to enter the second preset area from the first preset area;

车门控制模块,用于当所述数字钥匙存在由所述第一预设区域进入第二预设区域的意图,并且所述数字钥匙处于所述第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。a car door control module, configured to control the opening of the corresponding car door when the digital key intends to enter a second preset area from the first preset area and the digital key is in the second preset area Preset angles to complete vehicle keyless entry.

本发明实施例的第三方面提供了一种可读存储介质,包括:A third aspect of the embodiments of the present invention provides a readable storage medium, including:

所述可读存储介质存储一个或多个程序,该程序被处理器执行时实现上述任一项所述的车辆无钥匙进入方法。The readable storage medium stores one or more programs, and when the programs are executed by the processor, the vehicle keyless entry method described in any one of the above-mentioned methods is realized.

本发明实施例的第四方面提供了一种电子设备,其特征在于,所述设备包括存储器和处理器,其中:A fourth aspect of the embodiments of the present invention provides an electronic device, wherein the device includes a memory and a processor, wherein:

所述存储器用于存放计算机程序;The memory is used to store computer programs;

所述处理器用于执行所述存储器上所存放的计算机程序时,实现上述任一项所述的车辆无钥匙进入方法。When the processor is used to execute the computer program stored in the memory, it can realize the vehicle keyless entry method described in any one of the above.

本发明实施例当中的车辆无钥匙进入方法,通过实时获取数字钥匙信息,该数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥,根据当前时刻的位置坐标,判断数字钥匙是否处于第一预设区域,若是,继续判断钥匙ID以及钥匙密钥是否与预设钥匙信息匹配,当判断钥匙信息匹配时,则获取下一时刻的位置坐标,并根据当前时刻的位置坐标和下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图,若是,则当数字钥匙处于第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。在此过程中,无需拉动车门把手即可实现车辆无钥匙进入,给用户带来智能化体验。In the vehicle keyless entry method in the embodiment of the present invention, by obtaining digital key information in real time, the digital key information includes at least position coordinates, key ID and key key, and judging whether the digital key is in the first predetermined position according to the current position coordinates. Set the area, if so, continue to judge whether the key ID and the key key match the preset key information. coordinates, judging whether the digital key has the intention to enter the second preset area from the first preset area, and if so, when the digital key is in the second preset area, control the corresponding door to open the preset angle, To complete the vehicle keyless entry. During this process, the keyless entry of the vehicle can be realized without pulling the door handle, bringing an intelligent experience to the user.

附图说明Description of drawings

图1是本发明实施例一提供的一种车辆无钥匙进入方法的实现流程图;FIG. 1 is a flow chart of the implementation of a keyless entry method for a vehicle provided by Embodiment 1 of the present invention;

图2是本发明实施例三提供的一种车辆无钥匙进入的结构框图;Fig. 2 is a structural block diagram of a vehicle keyless entry provided by Embodiment 3 of the present invention;

图3是本发明实施例四提供的一种电子设备的结构框图。Fig. 3 is a structural block diagram of an electronic device provided by Embodiment 4 of the present invention.

以下具体实施方式将结合上述附图进一步说明。The following specific embodiments will be further described in conjunction with the above-mentioned drawings.

具体实施方式Detailed ways

为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的若干实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反的,提供这些实施例的目的是使对本发明的公开内容更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the associated drawings. Several embodiments of the invention are shown in the drawings. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and complete.

需要说明的是,当元件被称为“固设于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when an element is referred to as being “fixed on” another element, it may be directly on the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and similar expressions are used herein for purposes of illustration only.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

实施例一Embodiment one

请参阅图1,图1示出了本发明实施例一提供的一种车辆无钥匙进入方法的实现流程图,所述方法具体包括步骤S01至步骤S05。Please refer to FIG. 1 . FIG. 1 shows an implementation flowchart of a keyless entry method for a vehicle provided by Embodiment 1 of the present invention, and the method specifically includes steps S01 to S05 .

步骤S01,实时获取数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥。Step S01, acquiring digital key information in real time, the digital key information at least including location coordinates, key ID and key key.

需要说明的是,数字钥匙信息中位置坐标是依靠双向飞行时间法计算出在同一时刻下至少三个不同位置的超宽带基站与数字钥匙之间的直线距离,再根据超宽带基站坐标,通过圆周定位法计算获得,其中,双向飞行时间法(two way-time of flight,TW-TOF)是主要利用信号在两个异步收发机(或被反射面)之间往返的飞行时间来测量节点间的距离,圆周定位法(Time of Arrival,TOA)是根据测量的距离为半径进行画圆,通过圆的交点确定目标物体的位置。It should be noted that the location coordinates in the digital key information are based on the two-way time-of-flight method to calculate the straight-line distances between at least three UWB base stations in different locations and the digital key at the same time, and then according to the UWB base station coordinates, pass through the circle The positioning method is calculated, and the two-way time-of-flight (TW-TOF) method mainly uses the time of flight between two asynchronous transceivers (or reflected surfaces) to measure the distance between nodes. The distance, the circular positioning method (Time of Arrival, TOA) is to draw a circle according to the measured distance as the radius, and determine the position of the target object through the intersection of the circle.

具体的,通过车辆上的超宽带基站发射超宽带信号,记录发射时刻为Ta1,数字钥匙在接收信号后返回对应信号,分别记录接收信号时刻Tb1和返回对应信号时刻Tb2,当超宽带基站接收到由数字钥匙返回的信号时,记录接收时刻Ta2,再通过双向飞行时间法的公式计算得到超宽带基站与数字钥匙之间的直线距离R1,双向飞行时间法公式为:R1=光速C×[(Ta2-Ta1)-(Tb2-Tb1)]/2。在得到在同一时刻下至少三个不同位置的超宽带基站与数字钥匙的距离R1、R2、R3后,根据三个超宽带基站坐标:(x1,y1)、(x2,y2)、(x3,y3),通过圆周定位法的公式计算得到该数字钥匙信息中位置坐标(x0,y0),其公式为:Specifically, the ultra-wideband signal is transmitted through the ultra-wideband base station on the vehicle, and the transmission time is recorded as Ta1. The digital key returns the corresponding signal after receiving the signal, and respectively records the time Tb1 of receiving the signal and the time Tb2 of returning the corresponding signal. When the ultra-wideband base station receives When the signal returned by the digital key, record the receiving time Ta2, and then calculate the straight-line distance R1 between the UWB base station and the digital key through the formula of the two-way time-of-flight method. The formula of the two-way time-of-flight method is: R1=light speed C×[( Ta2-Ta1)-(Tb2-Tb1)]/2. After obtaining the distances R1, R2, and R3 between the UWB base station and the digital key at least three different locations at the same time, according to the coordinates of the three UWB base stations: (x1, y1), (x2, y2), (x3, y3), the position coordinates (x0, y0) in the digital key information are calculated by the formula of the circular positioning method, and the formula is:

可以理解的,数字钥匙信息中钥匙ID是车辆下线时设定的钥匙唯一ID号,数字钥匙信息中钥匙密钥是钥匙学习时存储的钥匙密钥编码。It can be understood that the key ID in the digital key information is the unique ID number of the key set when the vehicle is offline, and the key key in the digital key information is the key key code stored during key learning.

步骤S02,根据当前时刻的位置坐标,判断数字钥匙是否处于第一预设区域,若是,则执行步骤S03。Step S02, according to the position coordinates at the current moment, it is judged whether the digital key is in the first preset area, and if so, step S03 is executed.

具体的,第一预设区域是以车辆上预设的原点(0,0)为圆心,以预设的距离为半径R而形成的一个圆形区域,在得到数字钥匙的当前位置坐标(x0,y0)后,通过计算位置坐标到原点的直线距离与第一预设区域的半径进行比较,即当x02+y02≤R2时,则判断该数字钥匙处于第一预设区域,当x02+y02>R2时,则判断该数字钥匙不处于第一预设区域。Specifically, the first preset area is a circular area formed with the preset origin (0,0) on the vehicle as the center and the preset distance as the radius R. After obtaining the current position coordinates of the digital key (x0 ,y0), by calculating the linear distance from the position coordinates to the origin and comparing it with the radius of the first preset area, that is, when x02+y0 2 ≤ R 2 , it is judged that the digital key is in the first preset area, when x0 2 +y0 2 >R 2 , it is judged that the digital key is not in the first preset area.

步骤S03,判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配,若是,则执行步骤S04。Step S03, judging whether the key ID and the key key match the preset key information, if yes, execute step S04.

可以理解的,预设钥匙信息存储在车辆控制器中,记录着车辆下线时设定的钥匙ID号和配对数字钥匙时学习并存储的钥匙密钥。当数字钥匙处于第一预设区域时,车辆控制器通过超宽带基站向数字钥匙发送配对请求,数字钥匙接收请求后返回钥匙ID以及钥匙密钥,当超宽带基站接收到数字钥匙发来的钥匙ID号和钥匙密钥时,将其反馈给车辆控制器,车辆控制器将超宽带基站反馈的钥匙ID号和钥匙密钥与其存储的预设钥匙信息中的钥匙ID号和钥匙密钥进行匹配,当钥匙ID号和钥匙密钥全部一致时,则判断钥匙ID以及所述钥匙密钥与预设钥匙信息匹配成功。It can be understood that the preset key information is stored in the vehicle controller, which records the key ID number set when the vehicle goes offline and the key key learned and stored when the digital key is paired. When the digital key is in the first preset area, the vehicle controller sends a pairing request to the digital key through the ultra-wideband base station, and the digital key returns the key ID and key key after receiving the request. When the ultra-wideband base station receives the key from the digital key When the ID number and key key are used, it will be fed back to the vehicle controller, and the vehicle controller will match the key ID number and key key fed back by the UWB base station with the key ID number and key key in the stored preset key information , when the key ID number and the key key are all consistent, it is judged that the key ID and the key key are successfully matched with the preset key information.

步骤S04,获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图,若是,则执行步骤S05。Step S04, acquiring the location coordinates at the next moment, and judging whether the digital key enters the second preset area from the first preset area according to the location coordinates at the current moment and the location coordinates at the next moment. The intent of the area, if yes, execute step S05.

具体的,当钥匙ID以及所述钥匙密钥与预设钥匙信息匹配成功时,获取数字钥匙的下一时刻位置坐标(a,b),由于第一预设区域面积大于第二预设区域面积,且都是以车辆上预设的原点(0,0)为圆心,所以通过对比当前时刻位置坐标(x0,y0)与车辆上预设的原点(0,0)的距离和下一时刻位置坐标(a,b)与车辆上预设的原点(0,0)的距离便可判断数字钥匙是否存在由第一预设区域进入第二预设区域的意图,即当L2<L1时,则判断数字钥匙存在由第一预设区域进入第二预设区域的意图,当L2≥L1时,则判断数字钥匙不存在由第一预设区域进入第二预设区域的意图。Specifically, when the key ID and the key key are successfully matched with the preset key information, the position coordinates (a, b) of the digital key at the next moment are obtained, since the area of the first preset area is larger than the area of the second preset area , and they all take the preset origin (0,0) on the vehicle as the center of the circle, so by comparing the distance between the current position coordinates (x0,y0) and the preset origin (0,0) on the vehicle and the distance between the position coordinates (a,b) at the next moment and the preset origin (0,0) on the vehicle Then it can be judged whether the digital key has the intention to enter the second preset area from the first preset area, that is, when L2<L1, it is judged that the digital key has the intention to enter the second preset area from the first preset area, when When L2≥L1, it is determined that the digital key does not intend to enter the second preset area from the first preset area.

步骤S05,当所述数字钥匙处于所述第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。Step S05 , when the digital key is in the second preset area, control the corresponding door to open at a preset angle, so as to complete the keyless entry of the vehicle.

可以理解的,在当数字钥匙存在由第一预设区域进入第二预设区域的意图时,实时获取数字钥匙的位置坐标,当数字钥匙的位置坐标处于第二预设区域内时,说明数字钥匙已经靠近车门,具体的,第二预设区域是以车辆上预设的原点(0,0)为圆心,以预设的距离为半径r而形成的一个圆形区域,当数字钥匙的位置坐标与原点的距离小于或等于r时,即判断数字钥匙处于第二预设区域内。然后,车辆控制器根据数字钥匙的位置坐标判断数字钥匙处于车辆哪个车门的目标位置坐标域内,将判断结果发送至车身控制器,例如:驾驶室车门的目标位置坐标域为副驾驶室车门的目标位置坐标域为左后车门的区域为/>以及右后车门的区域为实时获取数字钥匙的位置坐标为(2,3),则判断数字钥匙处于副驾驶室车门的目标位置坐标域内,并将判断结果通过车身控制信号发送解锁命令PEPS_Rke_UnlockCmd至车身控制器,控制对应车门解锁并控制门控电机将车门打开预设角度,其中,车身控制信号(BCAN)主要用于车身附件之间的CAN通信,车身控制器(body controlmodule,BCM)指用于控制车身电器系统的电子控制单元。It can be understood that when the digital key intends to enter the second preset area from the first preset area, the position coordinates of the digital key are obtained in real time, and when the position coordinates of the digital key are in the second preset area, the digital key The key is already close to the car door. Specifically, the second preset area is a circular area formed with the preset origin (0,0) on the vehicle as the center and the preset distance as the radius r. When the position of the digital key When the distance between the coordinates and the origin is less than or equal to r, it is determined that the digital key is in the second preset area. Then, the vehicle controller judges according to the position coordinates of the digital key which door the digital key is in the target position coordinate domain of the vehicle, and sends the judgment result to the body controller, for example: the target position coordinate domain of the cab door is The target position coordinate domain of the passenger compartment door is The area of the left rear door is /> and the area of the right rear door is If the position coordinates of the digital key obtained in real time are (2,3), it is judged that the digital key is in the target position coordinate domain of the passenger compartment door, and the judgment result is sent to the body controller through the body control signal to send the unlock command PEPS_Rke_UnlockCmd to control the unlocking of the corresponding door And control the door control motor to open the door at a preset angle. Among them, the body control signal (BCAN) is mainly used for CAN communication between body accessories, and the body controller (body control module, BCM) refers to the electronic control system used to control the body electrical system. unit.

综上,本发明上述实施例当中的车辆无钥匙进入方法,通过实时获取数字钥匙信息,该数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥,根据当前时刻的位置坐标,判断数字钥匙是否处于第一预设区域,若是,继续判断钥匙ID以及钥匙密钥是否与预设钥匙信息匹配,当判断钥匙信息匹配时,则获取下一时刻的位置坐标,并根据当前时刻的位置坐标和下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图,若判断出存在该意图,则当数字钥匙处于第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。在此过程中,无需拉动车门把手即可实现车辆无钥匙进入,给用户带来智能化体验。To sum up, the vehicle keyless entry method in the above-mentioned embodiments of the present invention obtains digital key information in real time. The digital key information includes at least position coordinates, key ID and key key, and judges whether the digital key is based on the current position coordinates. If it is in the first preset area, if so, continue to judge whether the key ID and the key key match the preset key information, when it is judged that the key information matches, then obtain the position coordinates at the next moment, and Position coordinates at a moment, judging whether the digital key has the intention to enter the second preset area from the first preset area, if it is determined that the intention exists, when the digital key is in the second preset area, Control the corresponding door to open the preset angle to complete the keyless entry of the vehicle. During this process, the keyless entry of the vehicle can be realized without pulling the door handle, bringing an intelligent experience to the user.

实施例二Embodiment two

本发明实施例二提供的一种车辆无钥匙进入方法的实现流程,所述方法具体包括步骤S10至步骤S23。Embodiment 2 of the present invention provides an implementation flow of a keyless entry method for a vehicle, the method specifically includes steps S10 to S23.

步骤S10,获取车辆所处的地理位置,以及车辆尺寸信息,其中,所述车辆尺寸信息至少包括前车门长度、后车门长度和车身宽度。Step S10, acquiring the geographic location of the vehicle and vehicle size information, wherein the vehicle size information at least includes the length of the front door, the length of the rear door and the width of the vehicle body.

步骤S11,根据所述前车门长度和所述后车门长度与所述车身宽度,确定中心交点,以及所述中心交点对应的第一地理位置,并根据第一地理位置,建立坐标系,其中,所述中心交点为前车门靠近车头的端点与后车门靠近车尾的端点之间的中间点垂直于车辆关于长度方向的对称轴的交点,所述第一地理位置为所述坐标系的原点。Step S11, according to the length of the front door, the length of the rear door and the width of the vehicle body, determine the center intersection point and the first geographic location corresponding to the center intersection point, and establish a coordinate system according to the first geographic location, wherein, The central intersection point is the intersection point between the end point of the front door near the front and the end point of the rear door near the rear, which is perpendicular to the symmetry axis of the vehicle with respect to the length direction, and the first geographic location is the origin of the coordinate system.

需要说明的是,该坐标系是建立在车辆俯视角度的投影平面上的二维坐标系,坐标系的原点确定过程为:取车辆单侧前车门靠近车头最前端的端点与同侧后车门靠近车尾最后端的端点的连线,获得连线的中点,做出该连线在此中点上的垂直线,再根据该车辆关于长度方向上的对称轴,取该对称轴与垂直线的交点为坐标系的原点,并将垂直线和对称轴分别定为x轴和y轴。It should be noted that this coordinate system is a two-dimensional coordinate system established on the projection plane of the vehicle's top view angle. The origin of the coordinate system is determined as follows: take the endpoint of the front door on one side of the vehicle close to the front end of the vehicle and the rear door on the same side close to it. The midpoint of the connection line is obtained by connecting the end points of the rearmost end of the car, and a vertical line is made on the midpoint of the connection line, and then according to the symmetry axis of the vehicle in the length direction, the distance between the symmetry axis and the vertical line is obtained. The intersection point is the origin of the coordinate system, and the vertical line and the axis of symmetry are defined as the x-axis and y-axis, respectively.

步骤S12,根据所述原点和所述坐标系,生成超宽带基站坐标,所述超宽带基站坐标用于确定目标物的所述位置坐标。Step S12, generating UWB base station coordinates according to the origin and the coordinate system, and the UWB base station coordinates are used to determine the position coordinates of the target object.

具体的,根据超宽带基站在车辆上的放置位置,通过俯视投影确定在坐标系上的坐标,并将超宽带基站的具体坐标存储,该超宽带基站坐标用于确定数字钥匙以及人员在坐标系上的具体坐标。Specifically, according to the placement position of the ultra-wideband base station on the vehicle, the coordinates on the coordinate system are determined through top-view projection, and the specific coordinates of the ultra-wideband base station are stored. The coordinates of the ultra-wideband base station are used to determine the digital key and personnel in the coordinate system specific coordinates on .

步骤S13,获取第一预设半径和第二预设半径,根据所述第一预设半径和所述原点,在所述坐标系上生成对应的第一预设区域,根据所述第二预设半径和所述原点,在所述坐标系上生成对应的第二预设区域,其中,所述第二预设半径的长度为所述原点与前车门靠近车头端点的距离的长度,且所述第一预设半径大于所述第二预设半径。Step S13, obtaining a first preset radius and a second preset radius, generating a corresponding first preset area on the coordinate system according to the first preset radius and the origin, and generating a corresponding first preset area according to the second preset radius Assuming the radius and the origin, a corresponding second preset area is generated on the coordinate system, wherein the length of the second preset radius is the length of the distance between the origin and the front door close to the end point of the front of the car, and the The first preset radius is larger than the second preset radius.

具体的,第二预设区域是以第二预设半径的长度,即坐标系原点与前车门靠近车头最前端的端点的投影距离的长度为半径,以坐标系的原点为圆心所做的圆形区域,所以,左前侧车门靠近车头最前端端点、左后侧车门靠近车尾最后端端点、右前侧车门靠近车头最前端端点以及右后侧车门靠近车尾最后端端点都位于该第二预设区域上,保证第二预设区域的范围覆盖所有车门且为较小区域。Specifically, the second preset area is a circle with the length of the second preset radius, that is, the length of the projected distance between the origin of the coordinate system and the end point of the front door near the front end of the vehicle as the radius, and the origin of the coordinate system as the center. Therefore, the left front door is close to the front end of the front, the left rear door is close to the rear end, the right front door is close to the front end, and the right rear door is close to the rear end. In terms of the set area, ensure that the range of the second preset area covers all the car doors and is a relatively small area.

可以理解的,第一预设区域也以坐标系的原点为圆心,以大于且不等于第二预设半径长度的第一预设半径长度为半径所做的圆形区域。It can be understood that the first preset area is also a circular area with the origin of the coordinate system as the center and the first preset radius length greater than but not equal to the second preset radius length as the radius.

步骤S14,根据所述前车门长度、所述后车门长度以及所述坐标系,生成连接点坐标,其中,所述连接点坐标为两侧前车门与后车门的连接处的坐标。Step S14, generating connection point coordinates according to the length of the front door, the length of the rear door and the coordinate system, wherein the coordinates of the connection point are the coordinates of the connection between the front doors and the rear doors on both sides.

需要说明的是,该连接点坐标是左右两侧前车门与后车门相接处投影在坐标系上的点的坐标,该连接点坐标是用于区分该坐标系中各车门区域的分界点。It should be noted that the coordinates of the connection point are the coordinates of the points where the left and right front doors meet the rear doors projected on the coordinate system, and the coordinates of the connection point are the boundary points used to distinguish the areas of the doors in the coordinate system.

步骤S15,根据所述连接点坐标、所述车身宽度和所述第二预设区域,在所述第二预设区域内生成各车门对应的目标位置坐标域,其中,所述目标位置坐标域根据所述连接点坐标的连线和车辆关于长度方向的对称轴将所述第二预设区域划分各车门对应的目标位置坐标域。Step S15, according to the connection point coordinates, the vehicle body width and the second preset area, generate a target position coordinate field corresponding to each door in the second preset area, wherein the target position coordinate field The second preset area is divided into target position coordinate domains corresponding to the vehicle doors according to the line connecting the coordinates of the connection points and the symmetry axis of the vehicle with respect to the longitudinal direction.

需要说明的是,各车门对应的目标位置坐标域是由车辆两侧连接点的连线和车辆关于长度方向的对称轴(即y轴)将第二预设区域划分为四个车门对应的四个区域,再根据车身宽度和第二预设半径长度将四个区域内与车身重叠的部分去除,得到各车门对应的目标位置坐标域,例如,第二预设半径长度为4,车身宽度为2,两侧连接点坐标分别为(-1,0)、(1,0),则根据连接点连线和车辆关于长度方向的对称轴将第二预设区域划分为驾驶室车门的区域为副驾驶室车门的区域为/>左后车门的区域为It should be noted that the target position coordinate domain corresponding to each vehicle door is divided into four corresponding to four vehicle doors by the line connecting the connection points on both sides of the vehicle and the symmetry axis (ie, the y-axis) of the vehicle with respect to the length direction. area, and then according to the vehicle body width and the second preset radius length, the parts overlapping with the vehicle body in the four areas are removed to obtain the corresponding target position coordinate field of each car door. For example, the second preset radius length is 4, and the body width is 2. The coordinates of the connection points on both sides are (-1,0) and (1,0) respectively, then the second preset area is divided into the area of the cab door according to the connection line of the connection points and the symmetry axis of the vehicle about the length direction as The area of the passenger compartment door is /> The area of the left rear door is

以及右后车门的区域为/>根据第二预设半径长度为4和车身宽度为2,计算得出第二预设区域内与车身重叠部分为/>将四个区域内与车身重叠的部分去除后得到:驾驶室车门的目标位置坐标域为/>副驾驶室车门的目标位置坐标域为/>左后车门的目标位置坐标域为以及右后车门的目标位置坐标域为 and the area of the right rear door is /> According to the length of the second preset radius being 4 and the width of the vehicle body being 2, it is calculated that the overlapping part with the vehicle body in the second preset area is /> After removing the parts overlapping with the body in the four areas, we get: the coordinate domain of the target position of the cab door is /> The target position coordinate domain of the passenger compartment door is /> The target position coordinate domain of the left rear door is And the target position coordinate domain of the right rear door is

步骤S16,根据所述目标位置坐标域和车门,建立所述目标位置坐标域与车门的第一映射模型,所述第一映射模型用于输入所述位置坐标,根据所述位置坐标所处的所述目标位置坐标域,输出对应车门。Step S16: Establish a first mapping model between the target position coordinate domain and the vehicle door according to the target position coordinate domain and the vehicle door, the first mapping model is used to input the position coordinates, and according to the position where the position coordinates are located The target position coordinate field is output corresponding to the vehicle door.

步骤S17,实时获取所述数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥。Step S17, acquiring the digital key information in real time, the digital key information at least including location coordinates, key ID and key key.

步骤S18,根据当前时刻的位置坐标,判断所述数字钥匙是否处于第一预设区域,若是,则执行步骤S19。Step S18, according to the position coordinates at the current moment, it is judged whether the digital key is in the first preset area, and if so, step S19 is executed.

步骤S19,判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配,若是,则执行步骤S20。Step S19, judging whether the key ID and the key key match the preset key information, if yes, execute step S20.

步骤S20,获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图,若是,则执行步骤S21。Step S20, acquiring the location coordinates at the next moment, and judging whether the digital key enters the second preset area from the first preset area according to the location coordinates at the current moment and the location coordinates at the next moment. The intention of the area, if yes, execute step S21.

步骤S21,实时根据所述超宽带基站坐标以及所述超宽带基站坐标与目标人员的距离,确定当前处于所述第一预设区域内所有的人员运动坐标。Step S21: Determine the movement coordinates of all persons currently in the first preset area according to the UWB base station coordinates and the distance between the UWB base station coordinates and the target person in real time.

需要说明的是,超宽带基站向第一预设区域内发射超宽带脉冲信号,并接收该脉冲信号经障碍物反射后的回波,通过对回波扰动的分析来判断超宽带基站附近是否存在物体(或人),具体的,超宽带基站通过接收到的信道脉冲响应(Channel Impulse Response,CIR)来探测周围物体及其运动,当周围物体运动时,由于多普勒效应,对应的CIR值就会变化,并根据超宽带基站发射信号时刻与接收回波时刻的时间差T,通过公式计算超宽带基站与目标人员的距离S,公式为距离S=光速C×T/2,得到至少三个不同位置的超宽带基站与目标人员的距离,再根据至少三个不同位置的超宽带基站坐标通过圆周定位法确定目标人员的人员运动坐标。It should be noted that the ultra-wideband base station transmits ultra-wideband pulse signals into the first preset area, and receives the echoes of the pulse signals reflected by obstacles, and judges whether there are Objects (or people), specifically, the ultra-wideband base station detects surrounding objects and their movement through the received channel impulse response (Channel Impulse Response, CIR). When the surrounding objects move, due to the Doppler effect, the corresponding CIR value It will change, and according to the time difference T between the time when the ultra-wideband base station transmits the signal and the time when the echo is received, the distance S between the ultra-wideband base station and the target person is calculated by the formula. The formula is distance S=light speed C×T/2, and at least three The distance between the ultra-broadband base stations at different locations and the target person, and then according to the coordinates of at least three ultra-broadband base stations at different locations, the movement coordinates of the target person are determined by a circular positioning method.

步骤S22,根据所述第一预设区域内所有的人员运动坐标,将各人员对应的所述人员运动坐标连接,生成各人员运动轨迹。Step S22, according to the movement coordinates of all the persons in the first preset area, the movement coordinates of the persons corresponding to each person are connected to generate the movement trajectory of each person.

可以理解的,实时获取目标人员的不同时刻人员运动坐标,每个目标人员都会被记录下不同时刻连续的人员运动坐标,将每个目标人员的人员运动坐标连接,得到每个目标人员的人员运动轨迹,其中,连接线可以为直线或曲线。It can be understood that the movement coordinates of the target personnel at different times are obtained in real time, and the continuous movement coordinates of each target person will be recorded at different times, and the movement coordinates of each target person are connected to obtain the movement coordinates of each target person Trajectories, where the connecting lines can be straight lines or curved lines.

步骤S23,当所述数字钥匙处于所述第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。Step S23, when the digital key is in the second preset area, control the corresponding door to open a preset angle, so as to complete the keyless entry of the vehicle.

需要说明的是,当数字钥匙处于第二预设区域内时,筛选出当前处于第二预设区域,且人员运动轨迹的切线方向指向车门的目标人员运动轨迹,根据此目标人员运动轨迹,确定目标人员运动轨迹中最后获取的目标人员运动坐标,将目标人员运动坐标和数字钥匙的当前位置坐标输入第一映射模型中,得到对应车门,由车辆控制器控制对应所述车门打开预设角度,以完成车辆无钥匙进入。It should be noted that when the digital key is in the second preset area, the target personnel movement trajectory that is currently in the second preset area and the tangent direction of the personnel movement trajectory points to the door is screened out. According to the target personnel movement trajectory, determine The target person's movement coordinates obtained last in the target person's movement track, input the target person's movement coordinates and the current position coordinates of the digital key into the first mapping model, and obtain the corresponding car door, and the vehicle controller controls the door to open at a preset angle, To complete the vehicle keyless entry.

具体的,判断人员运动轨迹的切线方向是否指向车门的方法为,根据车身宽度和车门长度,确定坐标系中车门俯视投影下的直线的坐标范围,再根据人员运动轨迹的切线方向做一条直线,当该直线与车门俯视投影下的直线的坐标范围存在交点时,则判断人员运动轨迹的切线方向指向车门,当该直线与车门俯视投影下的直线的坐标范围不存在交点时,则判断人员运动轨迹的切线方向不指向车门,例如,车身宽度为2,前后车门长度均为2,则可得到车门俯视投影下的直线的坐标范围为和/>当目标人员运动轨迹中最后获取的目标人员运动坐标为(1.5,1),该目标人员运动轨迹上一位置的目标人员运动坐标为(2,1.5),可以得出该目标人员运动轨迹的切线方向直线为y=x-0.5,当x=1时,y=0.5说明与/>存在交点,则判断判断人员运动轨迹的切线方向指向车门。Specifically, the method for judging whether the tangent direction of the movement trajectory of the person points to the door is to determine the coordinate range of the straight line under the top view projection of the door in the coordinate system according to the width of the vehicle body and the length of the door, and then make a straight line according to the tangent direction of the movement trajectory of the person. When there is an intersection point between the straight line and the coordinate range of the straight line under the top view projection of the car door, it is judged that the tangent direction of the movement track of the person points to the door; The tangent direction of the trajectory does not point to the door. For example, if the width of the car body is 2, and the length of the front and rear doors is 2, the coordinate range of the straight line under the top view projection of the door can be obtained as and /> When the target person's movement coordinates obtained last in the target person's movement trajectory are (1.5,1), and the target person's movement coordinates at the previous position on the target person's movement trajectory are (2,1.5), the tangent of the target person's movement trajectory can be obtained Direction straight line is y=x-0.5, when x=1, y=0.5 description and /> If there is an intersection point, it is judged that the tangent direction of the movement track of the person points to the door.

综上,本发明上述实施例当中的车辆无钥匙进入方法,通过获取车辆所处的地理位置,以及车辆尺寸信息,其中,车辆尺寸信息至少包括前车门长度、后车门长度和车身宽度,根据前车门长度和后车门长度与车身宽度,确定中心交点,以及中心交点对应的第一地理位置,并根据第一地理位置,建立坐标系,其中,中心交点为前车门靠近车头的端点与后车门靠近车尾的端点之间的中间点垂直于车辆关于长度方向的对称轴的交点,第一地理位置为所述坐标系的原点,根据原点和坐标系,生成超宽带基站坐标,超宽带基站坐标用于确定目标物的位置坐标。再获取第一预设半径和第二预设半径,根据第一预设半径和原点,在坐标系上生成对应的第一预设区域,根据第二预设半径和原点,在坐标系上生成对应的第二预设区域,其中,第二预设半径的长度为原点与前车门靠近车头端点的距离的长度,且第一预设半径大于第二预设半径。然后,根据前车门长度、后车门长度以及坐标系,生成连接点坐标,其中,连接点坐标为两侧前车门与后车门的连接处的坐标,根据连接点坐标、车身宽度和第二预设区域,在第二预设区域内生成各车门对应的目标位置坐标域,其中,目标位置坐标域根据连接点坐标的连线和车辆关于长度方向的对称轴将第二预设区域划分,并将与车身重叠部分去除得到各车门对应的目标位置坐标域,再根据目标位置坐标域和车门,建立目标位置坐标域与车门的第一映射模型,第一映射模型用于输入位置坐标,根据位置坐标所处的目标位置坐标域,输出对应车门。实时获取数字钥匙信息,该数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥,根据当前时刻的位置坐标,判断数字钥匙是否处于第一预设区域,若是,继续判断钥匙ID以及钥匙密钥是否与预设钥匙信息匹配,当判断钥匙信息匹配时,则获取下一时刻的位置坐标,并根据当前时刻的位置坐标和下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图,若判断出存在该意图,则实时根据超宽带基站坐标以及超宽带基站坐标与目标人员的距离,确定当前处于第一预设区域内所有的人员运动坐标,根据第一预设区域内所有的人员运动坐标,将各人员对应的人员运动坐标连接,生成各人员运动轨迹,当数字钥匙处于第二预设区域内时,筛选出当前处于第二预设区域,且人员运动轨迹的切线方向指向车门的目标人员运动轨迹,根据目标人员运动轨迹,确定目标人员运动轨迹中最后获取的目标人员运动坐标,将所述目标人员运动坐标和所述数字钥匙的当前位置坐标输入第一映射模型中控制对应的车门打开预设角度,以完成车辆无钥匙进入。在此过程中,无需拉动车门把手即可实现车辆无钥匙进入,且能够实现在携带数字钥匙的驾驶员进入车辆时,也能够对应打开其他需要上车的乘客的车门,给用户带来智能化体验。To sum up, the vehicle keyless entry method in the above embodiments of the present invention obtains the geographical location of the vehicle and the vehicle size information, wherein the vehicle size information includes at least the length of the front door, the length of the rear door and the width of the vehicle body. The length of the door, the length of the rear door and the width of the vehicle body determine the center intersection point and the first geographic location corresponding to the center intersection point, and establish a coordinate system according to the first geographic location, wherein the center intersection point is the end point of the front door close to the front of the car and the rear door close The middle point between the end points of the rear of the vehicle is perpendicular to the intersection point of the symmetry axis of the vehicle about the length direction, the first geographic location is the origin of the coordinate system, and the ultra-wideband base station coordinates are generated according to the origin and the coordinate system, and the ultra-wideband base station coordinates are used To determine the position coordinates of the target object. Then obtain the first preset radius and the second preset radius, generate the corresponding first preset area on the coordinate system according to the first preset radius and the origin, and generate the corresponding first preset area on the coordinate system according to the second preset radius and the origin Corresponding to the second preset area, wherein the length of the second preset radius is the length of the distance between the origin and the end point of the front door near the front of the vehicle, and the first preset radius is larger than the second preset radius. Then, according to the length of the front door, the length of the rear door and the coordinate system, the coordinates of the connection point are generated, wherein the coordinates of the connection point are the coordinates of the connection between the front door and the rear door on both sides, and according to the coordinates of the connection point, the width of the vehicle body and the second preset In the second preset area, a target position coordinate domain corresponding to each vehicle door is generated, wherein the target position coordinate domain divides the second preset area according to the connection line of the connection point coordinates and the symmetry axis of the vehicle with respect to the length direction, and The overlapping part with the body is removed to obtain the target position coordinate field corresponding to each door, and then according to the target position coordinate field and the door, the first mapping model between the target position coordinate field and the door is established. The first mapping model is used to input the position coordinates, and according to the position coordinates The target position coordinate domain where the output corresponds to the door. Obtain digital key information in real time. The digital key information includes at least position coordinates, key ID and key key. According to the current position coordinates, determine whether the digital key is in the first preset area. If so, continue to determine the key ID and key key. Whether it matches the preset key information, when it is judged that the key information matches, the position coordinates at the next moment are obtained, and according to the position coordinates at the current moment and the position coordinates at the next moment, it is judged whether the digital key exists. The intention of a preset area to enter the second preset area, if it is judged that there is such an intention, all personnel currently in the first preset area are determined in real time according to the coordinates of the UWB base station and the distance between the coordinates of the UWB base station and the target person Movement coordinates, according to the movement coordinates of all personnel in the first preset area, connect the movement coordinates of each person corresponding to each person to generate the movement trajectory of each person, when the digital key is in the second preset area, filter out preset area, and the tangent direction of the personnel movement trajectory points to the target personnel movement trajectory of the car door, according to the target personnel movement trajectory, determine the target personnel movement coordinates obtained last in the target personnel movement trajectory, and combine the target personnel movement coordinates and the number The current position coordinates of the key are input into the first mapping model to control the corresponding door opening preset angle, so as to complete the keyless entry of the vehicle. In this process, the keyless entry of the vehicle can be realized without pulling the door handle, and when the driver carrying the digital key enters the vehicle, it can also correspondingly open the doors of other passengers who need to get on the vehicle, bringing intelligence to the user experience.

实施例三Embodiment three

请参阅图2,图2是本发明实施例三提供的一种车辆无钥匙进入系统的结构框图。车辆无钥匙进入系统300包括:钥匙信息获取模块31、第一预设区域判断模块32、钥匙匹配判断模块33、意图判断模块34以及意图判断模块35,其中:Please refer to FIG. 2 . FIG. 2 is a structural block diagram of a vehicle keyless entry system provided by Embodiment 3 of the present invention. The vehicle keyless entry system 300 includes: a key information acquisition module 31, a first preset area judging module 32, a key matching judging module 33, an intention judging module 34 and an intention judging module 35, wherein:

钥匙信息获取模块31,用于实时获取所述数字钥匙信息,所述数字钥匙信息至少包括位置坐标、钥匙ID以及钥匙密钥;A key information acquisition module 31, configured to acquire the digital key information in real time, the digital key information at least including position coordinates, key ID and key key;

第一预设区域判断模块32,用于根据当前时刻的位置坐标,判断所述数字钥匙是否处于第一预设区域;The first preset area judging module 32 is used to judge whether the digital key is in the first preset area according to the position coordinates at the current moment;

钥匙匹配判断模块33,用于当所述数字钥匙处于第一预设区域时,判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配;A key matching judging module 33, configured to judge whether the key ID and the key key match preset key information when the digital key is in a first preset area;

意图判断模块34,用于当所述钥匙ID以及所述钥匙密钥与预设钥匙信息匹配时,获取下一时刻的位置坐标,并根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,判断所述数字钥匙是否存在由所述第一预设区域进入第二预设区域的意图;Intention judging module 34, configured to acquire the position coordinates at the next moment when the key ID and the key key match the preset key information, and according to the position coordinates at the current moment and the position coordinates at the next moment, position coordinates, judging whether the digital key intends to enter a second preset area from the first preset area;

车门控制模块35,用于当所述数字钥匙存在由所述第一预设区域进入第二预设区域的意图,并且所述数字钥匙处于所述第二预设区域内时,控制对应的车门打开预设角度,以完成车辆无钥匙进入。A door control module 35, configured to control the corresponding door when the digital key intends to enter a second preset area from the first preset area and the digital key is in the second preset area Open the preset angle to complete the vehicle keyless entry.

进一步的,在本发明一些可选实施例当中,所述车辆无钥匙进入系统300还包括:Further, in some optional embodiments of the present invention, the vehicle keyless entry system 300 also includes:

车辆基础信息获取模块,用于获取车辆所处的地理位置,以及车辆尺寸信息,其中,所述车辆尺寸信息至少包括前车门长度、后车门长度和车身宽度;The vehicle basic information acquisition module is used to acquire the geographic location of the vehicle and vehicle size information, wherein the vehicle size information includes at least the length of the front door, the length of the rear door and the width of the vehicle body;

坐标系建立模块,用于根据所述前车门长度和所述后车门长度与所述车身宽度,确定中心交点,以及所述中心交点对应的第一地理位置,并根据第一地理位置,建立坐标系,其中,所述中心交点为前车门靠近车头的端点与后车门靠近车尾的端点之间的中间点垂直于车辆关于长度方向的对称轴的交点,所述第一地理位置为所述坐标系的原点;A coordinate system establishment module, configured to determine a central intersection point and a first geographic location corresponding to the central intersection point according to the length of the front door, the length of the rear door, and the width of the vehicle body, and establish coordinates according to the first geographic location system, wherein, the central intersection point is the intersection point perpendicular to the symmetry axis of the vehicle with respect to the longitudinal direction between the middle point between the end point of the front door near the front and the end point of the rear door near the rear, and the first geographic location is the coordinate origin of the system;

超宽带基站坐标获取模块,用于根据所述原点和所述坐标系,生成超宽带基站坐标,所述超宽带基站坐标用于确定目标物的所述位置坐标;An ultra-wideband base station coordinate acquisition module, configured to generate ultra-wideband base station coordinates according to the origin and the coordinate system, and the ultra-wideband base station coordinates are used to determine the position coordinates of the target;

预设区域生成模块,用于获取第一预设半径和第二预设半径,根据所述第一预设半径和所述原点,在所述坐标系上生成对应的第一预设区域,根据所述第二预设半径和所述原点,在所述坐标系上生成对应的第二预设区域,其中,所述第二预设半径的长度为所述原点与前车门靠近车头端点的距离的长度,且所述第一预设半径大于所述第二预设半径。A preset area generating module, configured to acquire a first preset radius and a second preset radius, generate a corresponding first preset area on the coordinate system according to the first preset radius and the origin, and generate a corresponding first preset area according to The second preset radius and the origin generate a corresponding second preset area on the coordinate system, wherein the length of the second preset radius is the distance between the origin and the end point of the front door near the front of the car length, and the first preset radius is greater than the second preset radius.

进一步的,在本发明一些可选实施例当中,所述车辆无钥匙进入系统300还包括:Further, in some optional embodiments of the present invention, the vehicle keyless entry system 300 also includes:

连接点获取模块,用于根据所述前车门长度、所述后车门长度以及所述坐标系,生成连接点坐标,其中,所述连接点坐标为两侧前车门与后车门的连接处的坐标;A connection point acquisition module, configured to generate connection point coordinates according to the length of the front door, the length of the rear door, and the coordinate system, wherein the coordinates of the connection point are the coordinates of the joints between the front doors and the rear doors on both sides ;

目标位置坐标域生成模块,用于根据所述连接点坐标、所述车身宽度和所述第二预设区域,在所述第二预设区域内生成各车门对应的目标位置坐标域,其中,所述目标位置坐标域根据所述连接点坐标的连线和车辆关于长度方向的对称轴将所述第二预设区域划分各车门对应的目标位置坐标域;A target position coordinate field generating module, configured to generate a target position coordinate field corresponding to each door in the second preset area according to the connection point coordinates, the vehicle body width, and the second preset area, wherein, The target position coordinate domain divides the second preset area into target position coordinate domains corresponding to the vehicle doors according to the connection line of the connection point coordinates and the symmetry axis of the vehicle with respect to the length direction;

第一映射模型建立模块,用于根据所述目标位置坐标域和车门,建立所述目标位置坐标域与车门的第一映射模型,所述第一映射模型用于输入所述位置坐标,根据所述位置坐标所处的所述目标位置坐标域,输出对应车门。The first mapping model establishment module is used to establish a first mapping model between the target position coordinate domain and the vehicle door according to the target position coordinate domain and the vehicle door, and the first mapping model is used to input the position coordinates, according to the target position coordinate domain and the vehicle door. The target position coordinate field in which the position coordinates are located is outputted corresponding to the vehicle door.

进一步的,在本发明一些可选实施例当中,所述车辆无钥匙进入系统300还包括:Further, in some optional embodiments of the present invention, the vehicle keyless entry system 300 also includes:

人员运动坐标获取模块,用于当所述数字钥匙存在由所述第一预设区域进入所述第二预设区域的意图时,实时根据所述超宽带基站坐标以及所述超宽带基站坐标与目标人员的距离,确定当前处于所述第一预设区域内所有的人员运动坐标;A human motion coordinate acquisition module, configured to, when the digital key has an intention to enter the second preset area from the first preset area, according to the coordinates of the ultra-wideband base station and the coordinates of the ultra-wideband base station and the coordinates of the ultra-wideband base station The distance of the target person is used to determine the movement coordinates of all the people currently in the first preset area;

人员运动轨迹生成模块,用于根据所述第一预设区域内所有的人员运动坐标,将各人员对应的所述人员运动坐标连接,生成各人员运动轨迹。The personnel movement trajectory generation module is used to connect the personnel movement coordinates corresponding to each personnel according to all the personnel movement coordinates in the first preset area to generate each personnel movement trajectory.

进一步的,在本发明一些可选实施例当中,所述车辆无钥匙进入系统300还包括:Further, in some optional embodiments of the present invention, the vehicle keyless entry system 300 also includes:

数字钥匙配对请求模块,用于当所述数字钥匙处于所述第一预设区域时,车辆控制器向所述数字钥匙发送配对请求;A digital key pairing request module, configured to send a pairing request to the digital key by the vehicle controller when the digital key is in the first preset area;

数字钥匙匹配判断模块,用于获取所述数字钥匙返回的所述钥匙ID以及所述钥匙密钥,并判断所述钥匙ID以及所述钥匙密钥是否与预设钥匙信息匹配;A digital key matching judging module, configured to acquire the key ID and the key key returned by the digital key, and judge whether the key ID and the key key match the preset key information;

进一步的,在本发明一些可选实施例当中,所述车门控制模块35包括:Further, in some optional embodiments of the present invention, the door control module 35 includes:

目标人员运动轨迹筛选单元,用于当所述数字钥匙处于所述第二预设区域内时,筛选出当前处于所述第二预设区域,且所述人员运动轨迹的切线方向指向车门的目标人员运动轨迹;A target personnel movement trajectory screening unit, configured to filter out a target that is currently in the second preset region and whose tangential direction of the personnel movement trajectory points to the door when the digital key is in the second preset region Personnel movement trajectory;

目标人员车门控制单元,用于根据所述目标人员运动轨迹,确定所述目标人员运动轨迹中最后获取的目标人员运动坐标,将所述目标人员运动坐标和所述数字钥匙的当前位置坐标输入所述第一映射模型中,得到对应车门,并控制对应所述车门打开预设角度,以完成车辆无钥匙进入。The target person's door control unit is configured to determine the last obtained target person's movement coordinates in the target person's movement trajectory according to the target person's movement trajectory, and input the target person's movement coordinates and the current position coordinates of the digital key into the In the above-mentioned first mapping model, the corresponding vehicle door is obtained, and the preset angle corresponding to the vehicle door is controlled to be opened, so as to complete the keyless entry of the vehicle.

进一步的,在本发明一些可选实施例当中,所述意图判断模块34包括:Further, in some optional embodiments of the present invention, the intention judging module 34 includes:

直线距离计算单元,用于根据所述当前时刻的位置坐标和所述下一时刻的位置坐标,计算所述当前时刻的位置坐标与所述原点之间的当前时刻直线距离,以及所述下一时刻的位置坐标与所述原点之间的下一时刻直线距离;a straight line distance calculation unit, configured to calculate the current time straight line distance between the current time position coordinates and the origin according to the current time position coordinates and the next time position coordinates, and the next time point The next moment straight-line distance between the location coordinates of the moment and the origin;

直线距离对比单元,用于对比所述当前时刻直线距离与所述下一时刻直线距离大小,当所述当前时刻直线距离大于所述下一时刻直线距离时,则判断所述数字钥匙存在由所述第一预设区域进入第二预设区域的意图,当所述当前时刻直线距离小于或等于所述下一时刻直线距离时,则判断所述数字钥匙不存在由所述第一预设区域进入第二预设区域的意图。The linear distance comparison unit is used to compare the linear distance at the current moment with the linear distance at the next moment. When the linear distance at the current moment is greater than the linear distance at the next moment, it is judged that the digital key exists The intention of the first preset area to enter the second preset area, when the straight-line distance at the current moment is less than or equal to the straight-line distance at the next moment, it is judged that the digital key does not exist by the first preset area Intent to enter the second preset area.

实施例四Embodiment four

本发明另一方面还提出一种电子设备,请参阅图3,所示为本发明第四实施例当中的电子设备的结构框图,包括存储器20、处理器10以及存储在存储器上并可在处理器上运行的计算机程序30,所述处理器10执行所述计算机程序30时实现如上述的车辆无钥匙进入的方法。Another aspect of the present invention also proposes an electronic device, please refer to FIG. 3, which is a structural block diagram of the electronic device in the fourth embodiment of the present invention, including a memory 20, a processor 10, and a memory that is stored in the memory and can be processed. A computer program 30 running on the computer, the processor 10 implements the above-mentioned keyless entry method for a vehicle when executing the computer program 30 .

其中,处理器10在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器20中存储的程序代码或处理数据,例如执行访问限制程序等。Wherein, the processor 10 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments, and is used to run program codes stored in the memory 20 or Processing data, such as executing access restriction programs, etc.

其中,存储器20至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器20在一些实施例中可以是电子设备的内部存储单元,例如该电子设备的硬盘。存储器20在另一些实施例中也可以是电子设备的外部存储装置,例如电子设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(FlashCard)等。进一步地,存储器20还可以既包括电子设备的内部存储单元也包括外部存储存储装置。存储器20不仅可以用于存储电子设备的应用软件及各类数据,还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the memory 20 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 20 may be an internal storage unit of the electronic device, such as a hard disk of the electronic device. The memory 20 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash card (FlashCard), etc. Further, the memory 20 may also include both an internal storage unit of the electronic device and an external storage device. The memory 20 can not only be used to store application software and various data of the electronic device, but also can be used to temporarily store data that has been output or will be output.

需要指出的是,图3示出的结构并不构成对电子设备的限定,在其他实施例当中,该电子设备可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the structure shown in FIG. 3 does not constitute a limitation on the electronic device. In other embodiments, the electronic device may include fewer or more components than shown in the figure, or combine certain components, or be different layout of the components.

本发明实施例还提出一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述的车辆无钥匙进入的方法。The embodiment of the present invention also proposes a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for keyless vehicle entry is realized.

本领域技术人员可以理解,在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。Those skilled in the art will understand that the logic and/or steps shown in the flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, which can be specifically implemented in on any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute them), or Used in conjunction with these instruction execution systems, devices or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device.

计算机可读介质的更具体的示例(非穷尽性列表)包括以下;具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。More specific examples (non-exhaustive list) of computer readable media include the following; Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, as it may be possible, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或它们的组合来实现:具有用于对数据状态实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples" or "some examples" mean specific features described in connection with the embodiment or example, A structure, material or characteristic is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1. A method of keyless entry for a vehicle, the method comprising:
acquiring digital key information in real time, wherein the digital key information at least comprises position coordinates, a key ID and a key;
judging whether the digital key is in a first preset area or not according to the position coordinates of the current moment;
if yes, judging whether the key ID and the key are matched with preset key information;
if yes, acquiring a position coordinate of the next moment, and judging whether the digital key has an intention of entering a second preset area from the first preset area according to the position coordinate of the current moment and the position coordinate of the next moment;
If yes, when the digital key is in the second preset area, the corresponding vehicle door is controlled to be opened by a preset angle, so that the keyless entry of the vehicle is completed.
2. The keyless entry method of claim 1, wherein the step of acquiring digital key information in real time, the digital key information including at least a location coordinate, a key ID, and a key, comprises, prior to:
acquiring the geographic position of a vehicle and vehicle size information, wherein the vehicle size information at least comprises the length of a front door, the length of a rear door and the width of a vehicle body;
determining a center intersection point and a first geographic position corresponding to the center intersection point according to the length of the front vehicle door and the length of the rear vehicle door and the width of the vehicle body, and establishing a coordinate system according to the first geographic position, wherein the center intersection point is an intersection point of a middle point between an end point of the front vehicle door, which is close to a vehicle head, and an end point of the rear vehicle door, which is close to a vehicle tail, which is perpendicular to a symmetry axis of the vehicle in the length direction, and the first geographic position is an origin of the coordinate system;
generating ultra-wideband base station coordinates according to the origin and the coordinate system, wherein the ultra-wideband base station coordinates are used for determining the position coordinates of the target object;
Obtaining a first preset radius and a second preset radius, generating a corresponding first preset area on the coordinate system according to the first preset radius and the origin, and generating a corresponding second preset area on the coordinate system according to the second preset radius and the origin, wherein the length of the second preset radius is the length of the distance between the origin and the front vehicle door, which is close to the vehicle head end point, and the first preset radius is larger than the second preset radius.
3. The keyless entry method of claim 2, wherein the step of acquiring digital key information in real time, the digital key information including at least a location coordinate, a key ID, and a key, further comprises, prior to:
generating a connecting point coordinate according to the length of the front door, the length of the rear door and the coordinate system, wherein the connecting point coordinate is the coordinate of the connecting position of the front door and the rear door at two sides;
generating a target position coordinate domain corresponding to each vehicle door in the second preset area according to the connection point coordinates, the vehicle body width and the second preset area, wherein the target position coordinate domain divides the second preset area into target position coordinate domains corresponding to each vehicle door according to the connecting line of the connection point coordinates and the symmetry axis of the vehicle about the length direction;
And establishing a first mapping model of the target position coordinate domain and the vehicle door according to the target position coordinate domain and the vehicle door, wherein the first mapping model is used for inputting the position coordinate and outputting a corresponding vehicle door according to the target position coordinate domain in which the position coordinate is located.
4. The keyless entry method of claim 3, wherein the step of acquiring the position coordinates of the next time and determining whether the digital key has an intention to enter a second preset area from the first preset area based on the position coordinates of the current time and the position coordinates of the next time comprises:
when the digital key has the intention of entering the second preset area from the first preset area, determining all personnel motion coordinates currently in the first preset area in real time according to the ultra-wideband base station coordinates and the distance between the ultra-wideband base station coordinates and a target personnel;
and connecting the personnel motion coordinates corresponding to each personnel according to all the personnel motion coordinates in the first preset area to generate each personnel motion track.
5. The method of keyless entry for a vehicle of claim 4, wherein the step of controlling the corresponding door to open by a predetermined angle when the digital key is within the second predetermined area to complete the keyless entry for the vehicle comprises:
When the digital key is in the second preset area, screening out a target person motion track which is currently in the second preset area and points to a vehicle door in the tangential direction of the person motion track;
and determining the last acquired target person motion coordinate in the target person motion track according to the target person motion track, inputting the target person motion coordinate and the current position coordinate of the digital key into the first mapping model to obtain a corresponding vehicle door, and controlling the corresponding vehicle door to open by a preset angle so as to finish keyless entry of the vehicle.
6. The keyless entry method of claim 5, wherein the step of determining whether the digital key is in the first preset area according to the position coordinates of the current time comprises:
when the digital key is in the first preset area, the vehicle controller sends a pairing request to the digital key;
acquiring the key ID and the key returned by the digital key, and judging whether the key ID and the key are matched with preset key information;
if yes, executing the step of acquiring the position coordinate of the next moment, and judging whether the digital key has the intention of entering a second preset area from the first preset area according to the position coordinate of the current moment and the position coordinate of the next moment.
7. The keyless entry method of claim 6, wherein the step of acquiring the position coordinates of the next time and determining whether the digital key has an intention to enter a second preset area from the first preset area based on the position coordinates of the current time and the position coordinates of the next time comprises:
calculating a current moment linear distance between the current moment position coordinate and the origin and a next moment linear distance between the next moment position coordinate and the origin according to the current moment position coordinate and the next moment position coordinate;
comparing the current moment linear distance with the next moment linear distance, judging that the digital key has the intention of entering a second preset area from the first preset area when the current moment linear distance is larger than the next moment linear distance, and judging that the digital key has no intention of entering the second preset area from the first preset area when the current moment linear distance is smaller than or equal to the next moment linear distance.
8. A keyless entry system for a vehicle, the system comprising:
The key information acquisition module is used for acquiring the digital key information in real time, wherein the digital key information at least comprises position coordinates, a key ID and a key;
the first preset area judging module is used for judging whether the digital key is in a first preset area or not according to the position coordinates of the current moment;
the key matching judging module is used for judging whether the key ID and the key are matched with preset key information or not when the digital key is in a first preset area;
the intention judging module is used for acquiring a position coordinate of the next moment when the key ID and the key are matched with preset key information, and judging whether the digital key has intention of entering a second preset area from the first preset area according to the position coordinate of the current moment and the position coordinate of the next moment;
and the vehicle door control module is used for controlling the corresponding vehicle door to open by a preset angle when the digital key has the intention of entering a second preset area from the first preset area and the digital key is positioned in the second preset area so as to finish keyless entry of the vehicle.
9. A readable storage medium, comprising:
the readable storage medium stores one or more programs which when executed by a processor implement the vehicle keyless entry method of any of claims 1-7.
10. An electronic device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor is configured to implement the vehicle keyless entry method of any one of claims 1-7 when executing a computer program stored on the memory.
CN202310561349.1A 2023-05-18 2023-05-18 A vehicle keyless entry method and system Pending CN116513105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310561349.1A CN116513105A (en) 2023-05-18 2023-05-18 A vehicle keyless entry method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310561349.1A CN116513105A (en) 2023-05-18 2023-05-18 A vehicle keyless entry method and system

Publications (1)

Publication Number Publication Date
CN116513105A true CN116513105A (en) 2023-08-01

Family

ID=87390218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310561349.1A Pending CN116513105A (en) 2023-05-18 2023-05-18 A vehicle keyless entry method and system

Country Status (1)

Country Link
CN (1) CN116513105A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679863A (en) * 2012-09-25 2014-03-26 比亚迪股份有限公司 Key-free vehicle door control system and control method thereof
CN106740679A (en) * 2015-11-23 2017-05-31 上海汽车集团股份有限公司 Vehicle key-free enters startup control method and system
WO2022078161A1 (en) * 2020-10-15 2022-04-21 华为技术有限公司 Vehicle control method, vehicle-mounted apparatus, and mobile terminal
CN114966542A (en) * 2022-07-29 2022-08-30 合肥有感科技有限责任公司 Digital key positioning system and positioning method
CN116122678A (en) * 2021-11-12 2023-05-16 法拉利股份有限公司 motor vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679863A (en) * 2012-09-25 2014-03-26 比亚迪股份有限公司 Key-free vehicle door control system and control method thereof
CN106740679A (en) * 2015-11-23 2017-05-31 上海汽车集团股份有限公司 Vehicle key-free enters startup control method and system
WO2022078161A1 (en) * 2020-10-15 2022-04-21 华为技术有限公司 Vehicle control method, vehicle-mounted apparatus, and mobile terminal
CN116122678A (en) * 2021-11-12 2023-05-16 法拉利股份有限公司 motor vehicle
CN114966542A (en) * 2022-07-29 2022-08-30 合肥有感科技有限责任公司 Digital key positioning system and positioning method

Similar Documents

Publication Publication Date Title
CN109278742B (en) Vehicle and automatic parking method and system
JP6512183B2 (en) Occupant detection system and occupant detection apparatus
CN111532238B (en) Method, device and system for opening vehicle back door and storage medium
CN114312793B (en) A trajectory mode matching method, matching system and computer-readable storage medium
US20220105898A1 (en) Vehicle with tail gate and method of controlling the same
US20210072831A1 (en) Systems and methods for gaze to confirm gesture commands in a vehicle
US11760360B2 (en) System and method for identifying a type of vehicle occupant based on locations of a portable device
US11981288B2 (en) Activating vehicle components based on intent of individual near vehicle
JP2014214472A (en) Drive control device for opening/closing body for vehicle
CN112660066A (en) Apparatus and method for controlling door of vehicle
CN120056909B (en) Vehicle control method, device, electronic device, storage medium, product and vehicle
CN108664883A (en) Method and apparatus for starting mounting view
CN108032801A (en) Door opening anti-collision device of new energy automobile
CN117227659A (en) Vehicle control method and device
JP2016016819A (en) On-vehicle device and vehicle system
CN116513105A (en) A vehicle keyless entry method and system
CN116442949A (en) Vehicle control method and device, vehicle and storage medium
WO2023098610A1 (en) Control method and control apparatus for opening of vehicle door, and vehicle controller
CN109703517A (en) Device and method for preventing legacy of car keys
CN114495337A (en) Intelligent automobile tail door opening system and method based on cameras inside and outside cabin
CN118972788A (en) Vehicle digital key positioning method, device, vehicle and storage medium
CN116696164A (en) A door handle control method, device, electronic equipment and storage medium
CN116279295B (en) Vehicle control method, system, device, vehicle, electronic device and storage medium
CN115045586B (en) Tail gate opening and closing method, system, equipment and storage medium based on ultrasonic waves
CN120100286A (en) Door control method, vehicle-mounted device and storage medium

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载