CN117749452A - Car machine account login method, device and computer-readable storage medium - Google Patents

Car machine account login method, device and computer-readable storage medium Download PDF

Info

Publication number
CN117749452A
CN117749452A CN202311706360.9A CN202311706360A CN117749452A CN 117749452 A CN117749452 A CN 117749452A CN 202311706360 A CN202311706360 A CN 202311706360A CN 117749452 A CN117749452 A CN 117749452A
Authority
CN
China
Prior art keywords
key
login
target
account
information
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
CN202311706360.9A
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.)
Avatr Technology Chongqing Co Ltd
Original Assignee
Avatr Technology Chongqing 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 Avatr Technology Chongqing Co Ltd filed Critical Avatr Technology Chongqing Co Ltd
Priority to CN202311706360.9A priority Critical patent/CN117749452A/en
Publication of CN117749452A publication Critical patent/CN117749452A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

本发明实施例涉及车辆控制技术领域,公开了一种车机账号登录方法、装置及计算机可读存储介质,该方法包括:若本地与目标车辆的第一钥匙通信连接,则获取并验证第一钥匙的身份信息;若第一钥匙的身份信息验证通过,并且本地与目标车辆的第二钥匙通信连接,则获取第二钥匙的位置信息;若位置信息为主驾位置,则确定目标车辆的目标车机账号的状态为登录状态。应用本发明的技术方案,能够通过对第一钥匙的身份信息的验证和对第二钥匙的位置信息的确认,实现对车机账号的双重验证,自动登录验证通过的车机账号,省去用户对车机账号的切换与登录操作,简化了车机账号的切换操作,同时用户也无法看到上一车机账号的相关信息,降低了账号隐私泄露的风险。

Embodiments of the present invention relate to the field of vehicle control technology, and disclose a vehicle-machine account login method, device and computer-readable storage medium. The method includes: if the first key of the local and target vehicle is connected through communication, obtaining and verifying the first key. The identity information of the key; if the identity information of the first key is verified and the local communication connection is with the second key of the target vehicle, the location information of the second key is obtained; if the location information is the location of the main driver, the target of the target vehicle is determined The status of the Cheji account is logged in. By applying the technical solution of the present invention, it is possible to realize double verification of car and machine accounts by verifying the identity information of the first key and confirming the location information of the second key, and automatically log in to the car and machine accounts that have passed the verification, eliminating the need for users to Switching and logging in to car and machine accounts simplifies the switching operation of car and machine accounts. At the same time, users cannot see the relevant information of the previous car and machine account, which reduces the risk of account privacy leakage.

Description

车机账号登录方法、装置及计算机可读存储介质Car machine account login method, device and computer-readable storage medium

技术领域Technical field

本发明实施例涉及车辆控制技术领域,具体涉及一种车机账号登录方法、装置及计算机可读存储介质。Embodiments of the present invention relate to the field of vehicle control technology, and specifically relate to a vehicle-machine account login method, device and computer-readable storage medium.

背景技术Background technique

目前车机账号的常见登录方式有在车机上输入账号密码登录、账号验证码登录、扫码登录等等,这些方式在车机借用时往往需要切换账号,一方面增加操作时间,另一方面会存在泄露上一账号隐私的风险。At present, common login methods for car and machine accounts include entering account and password on the car and machine, logging in with account verification code, scanning QR code, etc. These methods often require switching accounts when borrowing a car and machine. On the one hand, it increases the operating time, and on the other hand, it will There is a risk of leaking the privacy of the previous account.

发明内容Contents of the invention

鉴于上述问题,本发明实施例提供了一种车机账号登录方法、装置及计算机可读存储介质,用于解决现有技术中存在的车机借用时账号切换繁琐、存在泄漏账号隐私的风险的问题。In view of the above problems, embodiments of the present invention provide a car-machine account login method, device and computer-readable storage medium to solve the problems in the prior art that account switching is cumbersome when borrowing a car-machine and there is a risk of leaking account privacy. question.

根据本发明实施例的一个方面,提供了一种车机账号登录方法,所述方法包括:According to one aspect of the embodiment of the present invention, a method for logging in to a vehicle account is provided. The method includes:

若本地与目标车辆的第一钥匙通信连接,则获取并验证第一钥匙的身份信息;If the local communication connection is with the first key of the target vehicle, obtain and verify the identity information of the first key;

若第一钥匙的身份信息验证通过,并且本地与目标车辆的第二钥匙通信连接,则获取第二钥匙的位置信息;第一钥匙和第二钥匙为目标车机账号的登录验证钥匙;第一钥匙的通信距离大于第二钥匙的通信距离;If the identity information of the first key is verified and the local communication connection is with the second key of the target vehicle, the location information of the second key is obtained; the first key and the second key are the login verification keys of the target vehicle account; the first The communication distance of the key is greater than the communication distance of the second key;

若位置信息为主驾位置,则确定目标车辆的目标车机账号的状态为登录状态。If the location information is the main driver's location, it is determined that the status of the target vehicle account of the target vehicle is the logged-in state.

在一种可选的实施方式中,获取并验证第一钥匙的身份信息,包括:In an optional implementation, obtaining and verifying the identity information of the first key includes:

获取第一钥匙的身份信息;Obtain the identity information of the first key;

基于身份信息,生成登录请求,并向云服务器发送登录请求;云服务器用于对身份信息对应的身份证明信息进行验证,在身份证明信息验证通过后返回登录令牌;Based on the identity information, generate a login request and send the login request to the cloud server; the cloud server is used to verify the identity certification information corresponding to the identity information, and returns the login token after the identity certification information is verified;

若获取到登录令牌,则确定目标车机账号的状态为预登录状态,以表征身份信息验证通过。If the login token is obtained, the status of the target car and machine account is determined to be the pre-login status to indicate that the identity information verification has been passed.

在一种可选的实施方式中,若位置信息为主驾位置,则确定目标车机账号的状态为登录状态,包括:In an optional implementation, if the location information is the location of the main driver, then determining that the status of the target car account is the logged-in status includes:

若位置信息为主驾位置,则确定目标车机账号的状态为第一权限的登录状态,获取并验证主驾位置的生物识别信息;If the location information is the main driver's location, determine that the status of the target car and machine account is the login status of the first authority, and obtain and verify the biometric information of the main driver's location;

若生物识别信息验证通过,则确定目标车机账号的状态为第二权限的登录状态,第二权限高于第一权限。If the biometric information verification is passed, it is determined that the status of the target vehicle and machine account is the login status of the second authority, and the second authority is higher than the first authority.

在一种可选的实施方式中,获取并验证主驾位置的生物识别信息,包括:In an optional implementation, obtaining and verifying the biometric information of the main driver's location includes:

若检测到主驾位置存在目标对象,则触发对目标对象的生物识别信息的获取;If a target object is detected at the main driver's position, the acquisition of the target object's biometric information is triggered;

若获取到的生物识别信息与目标生物识别信息一致,则生物识别信息验证通过;目标生物识别信息为目标车机账号对应的生物识别信息。If the obtained biometric information is consistent with the target biometric information, the biometric information verification is passed; the target biometric information is the biometric information corresponding to the target car and machine account.

在一种可选的实施方式中,若位置信息为主驾位置,则确定目标车机账号的状态为登录状态,还包括:In an optional implementation, if the location information is the main driver's location, determining that the status of the target car and machine account is the logged-in status also includes:

若位置信息为主驾位置,并且生物识别信息的验证设置为关闭,则确定目标车机账号的状态为第二权限的登录状态。If the location information is the main driver's location and the verification of biometric information is set to off, it is determined that the status of the target car account is the login status of the second authority.

在一种可选的实施方式中,该方法还包括:In an optional implementation, the method further includes:

若接收到目标车机账号对应的生物识别关闭指令,则将生物识别信息的验证设置为关闭。If a biometric turn-off instruction corresponding to the target car and machine account is received, the verification of biometric information is set to turned off.

在一种可选的实施方式中,第一钥匙为基于蓝牙通信的钥匙,第二钥匙为基于超宽带无线通信的钥匙。In an optional implementation, the first key is a key based on Bluetooth communication, and the second key is a key based on ultra-wideband wireless communication.

根据本发明实施例的另一方面,提供了一种车机账号登录装置,应用于车载终端,该装置包括:According to another aspect of the embodiment of the present invention, a vehicle-machine account login device is provided, which is applied to a vehicle-mounted terminal. The device includes:

身份信息验证模块,用于若本地与目标车辆的第一钥匙通信连接,则获取并验证第一钥匙的身份信息;The identity information verification module is used to obtain and verify the identity information of the first key if the local communication connection is with the first key of the target vehicle;

位置信息获取模块,用于若第一钥匙的身份信息验证通过,并且本地与目标车辆的第二钥匙通信连接,则获取第二钥匙的位置信息;第一钥匙和第二钥匙为目标车机账号的登录验证钥匙;第一钥匙的通信距离大于第二钥匙的通信距离;The location information acquisition module is used to obtain the location information of the second key if the identity information of the first key is verified and the local communication connection is with the second key of the target vehicle; the first key and the second key are the account numbers of the target vehicle. login verification key; the communication distance of the first key is greater than the communication distance of the second key;

登录状态确定模块,用于若位置信息为主驾位置,则确定目标车辆的目标车机账号的状态为登录状态。The login status determination module is used to determine that the status of the target vehicle account of the target vehicle is the login status if the location information is the main driver's location.

根据本发明实施例的另一方面,提供了一种车载终端,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the embodiment of the present invention, a vehicle-mounted terminal is provided, including: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete communication with each other through the communication bus;

存储器用于存放至少一可执行指令,可执行指令使处理器执行如上任意所述的车机账号登录方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform any of the above-mentioned operations of the car-machine account login method.

根据本发明实施例的又一方面,提供了一种计算机可读存储介质,存储介质中存储有至少一可执行指令,可执行指令在车载终端/车机账号登录装置上运行时,使得车载终端/车机账号登录装置执行如上任意所述的车机账号登录方法的操作。According to another aspect of the embodiment of the present invention, a computer-readable storage medium is provided. At least one executable instruction is stored in the storage medium. When the executable instruction is run on the vehicle-mounted terminal/vehicle-machine account login device, the vehicle-mounted terminal /The vehicle-machine account login device performs any operation of the vehicle-machine account login method described above.

本发明实施例通过对第一钥匙的身份信息的验证和对第二钥匙的位置信息的确认,实现对车机账号的双重验证,能够自动登录验证通过的车机账号,从而省去用户对车机账号的切换与登录操作,简化了车机账号的切换操作,同时用户也无法看到上一车机账号的相关信息,降低了账号隐私泄露的风险。The embodiment of the present invention realizes double verification of the car and machine account by verifying the identity information of the first key and confirming the location information of the second key, and can automatically log in to the car and machine account that has passed the verification, thereby eliminating the need for the user to verify the car and machine account. Switching and logging in to mobile accounts simplifies the switching operation of mobile accounts. At the same time, users cannot see the relevant information of the previous mobile account, which reduces the risk of account privacy leakage.

上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to have a clearer understanding of the technical means of the embodiments of the present invention, they can be implemented according to the content of the description, and in order to achieve the above and other purposes, features and The advantages can be more clearly understood, and specific embodiments of the present invention are listed below.

附图说明Description of drawings

附图仅用于示出实施方式,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:The drawings are only used to illustrate the embodiments and are not considered to be limitations of the present invention. Also throughout the drawings, the same reference characters are used to designate the same components. In the attached picture:

图1是本发明实施例提供的一种车机账号登录方法的流程示意图;Figure 1 is a schematic flow chart of a vehicle and machine account login method provided by an embodiment of the present invention;

图2是本发明实施例提供的验证第一钥匙的身份信息的流程示意图;Figure 2 is a schematic flowchart of verifying the identity information of the first key provided by an embodiment of the present invention;

图3是本发明实施例提供的确定目标车机账号状态的流程示意图;Figure 3 is a schematic flowchart of determining the account status of a target car and machine provided by an embodiment of the present invention;

图4是本发明实施例提供的车机账号登录方法的交互图;Figure 4 is an interaction diagram of the car-machine account login method provided by the embodiment of the present invention;

图5是本发明实施例提供的车机账号登录装置的实施例的结构示意图;Figure 5 is a schematic structural diagram of an embodiment of a vehicle and machine account login device provided by an embodiment of the present invention;

图6是本发明实施例提供的车载终端的实施例的结构示意图。FIG. 6 is a schematic structural diagram of an embodiment of a vehicle-mounted terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein.

相关技术中,常见的车机账号登录方式有账号密码登录、账号验证码登录、扫码登录以及人脸识别登录等方式。在车辆借用的场景下,举例而言,用户B借用用户A的车辆,用户A的车辆中登录的是用户A的账号,此时用户B需要将账号切换为自己的账号,也就是用户B的账号,那么就需要用户B手动退出用户A的账号,然后再登录用户B的账号,在这个过程中,用户B实际上是可以看到用户A的账号的相关信息并且能够对用户A的账号进行操作的。显然,相关技术中,在车辆借用时存在需要进行账号切换、容易泄露账号隐私的问题。In related technologies, common vehicle and machine account login methods include account password login, account verification code login, code scanning login, and face recognition login. In the scenario of vehicle borrowing, for example, user B borrows user A's vehicle, and user A's account is logged in user A's vehicle. At this time, user B needs to switch the account to his own account, which is user B's account, then User B needs to manually log out of User A's account, and then log in to User B's account. In this process, User B can actually see the relevant information of User A's account and can perform operations on User A's account. operational. Obviously, in related technologies, there is a problem that account switching is required when borrowing a vehicle and account privacy is easily leaked.

基于此,本发明实施例提供了一种车机账号登录方法,该方法包括:若本地与目标车辆的第一钥匙通信连接,则获取并验证第一钥匙的身份信息;若第一钥匙的身份信息验证通过,并且本地与目标车辆的第二钥匙通信连接,则获取第二钥匙的位置信息;第一钥匙和第二钥匙为目标车机账号的登录验证钥匙;第一钥匙的通信距离大于第二钥匙的通信距离;若位置信息为主驾位置,则确定目标车辆的目标车机账号的状态为登录状态。由此,通过对第一钥匙的身份信息的验证和对第二钥匙的位置信息的确认,实现对车机账号的双重验证,能够自动登录验证通过的车机账号,从而省去用户对车机账号的切换与登录操作,简化了车机账号的切换操作,同时用户也无法看到上一车机账号的相关信息,降低了账号隐私泄露的风险。Based on this, embodiments of the present invention provide a vehicle-machine account login method. The method includes: if the local communication connection is with the first key of the target vehicle, obtaining and verifying the identity information of the first key; if the identity of the first key If the information verification passes, and the local communication connection is with the second key of the target vehicle, the location information of the second key is obtained; the first key and the second key are the login verification keys of the target vehicle account; the communication distance of the first key is greater than that of the second key. The communication distance of the second key; if the location information is the main driver's location, it is determined that the status of the target vehicle account of the target vehicle is the logged-in state. Thus, through the verification of the identity information of the first key and the confirmation of the location information of the second key, double verification of the car and machine account is achieved, and the verified car and machine account can be automatically logged in, thereby eliminating the need for the user to check the car and machine account. The account switching and login operations simplify the switching operation of car and machine accounts. At the same time, users cannot see the relevant information of the previous car and machine account, which reduces the risk of account privacy leakage.

以下介绍本发明一种车机账号登录方法的具体实施例,图1是本发明实施例提供的一种车机账号登录方法的流程示意图,本说明书提供了如实施例或流程图的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的系统或服务器产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境)。具体的如图1所示,该方法可以包括:The following introduces a specific embodiment of a car-machine account login method of the present invention. Figure 1 is a schematic flowchart of a car-machine account login method provided by an embodiment of the present invention. This specification provides method operation steps such as embodiments or flowcharts. , but based on routine or non-creative work may include more or fewer operational steps. The sequence of steps listed in the embodiment is only one way of executing the sequence of many steps, and does not represent the only execution sequence. When the actual system or server product is executed, it may be executed sequentially or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the methods shown in the embodiments or drawings. Specifically as shown in Figure 1, the method may include:

步骤110:若本地与目标车辆的第一钥匙通信连接,则获取并验证第一钥匙的身份信息。Step 110: If the local device is connected to the first key of the target vehicle, obtain and verify the identity information of the first key.

本发明实施例中,本地即为目标车辆的车载终端的本地。目标车辆可以与多个第一钥匙建立通信连接,每个第一钥匙分别对应于一个车机账号。第一钥匙的身份信息可以是一段字符串,作为第一钥匙的密钥,表征第一钥匙的keyid。每个第一钥匙的身份信息唯一,即本地可以通过身份信息唯一确认一个第一钥匙。In the embodiment of the present invention, the local area is the local area of the vehicle-mounted terminal of the target vehicle. The target vehicle can establish communication connections with multiple first keys, and each first key corresponds to a vehicle account. The identity information of the first key may be a string, which serves as the key of the first key and represents the keyid of the first key. The identity information of each first key is unique, that is, a first key can be uniquely confirmed locally through the identity information.

本发明实施例中,第一钥匙的身份信息可以是第一钥匙通过建立的通信链路传输给目标车辆的本地的。In the embodiment of the present invention, the identity information of the first key may be transmitted locally to the target vehicle through the established communication link of the first key.

在一种可选的实施方式中,当第一钥匙与目标车辆的本地建立通信连接后,第一钥匙立即将其身份信息发送给本地进行验证。In an optional implementation, after the first key establishes a communication connection with the local device of the target vehicle, the first key immediately sends its identity information to the local device for verification.

在一种可选的实施方式中,当第一钥匙与目标车辆的本地建立通信连接后,实时判断第一钥匙所在移动终端与目标车辆的距离。当第一钥匙所在移动终端与目标车辆的距离小于预设距离后,目标车辆的本地向第一钥匙发送获取第一钥匙的身份信息的请求,在接收到该请求后第一钥匙向目标车辆的本地发送第一钥匙的身份信息。也就是说,当确认第一钥匙所在移动终端在向目标车辆靠近时再对第一钥匙的身份信息进行验证,避免用户只是经过目标车辆而不打算用车的情况下对第一钥匙的身份信息的验证,从而提高数据安全性。In an optional implementation, after the first key establishes a local communication connection with the target vehicle, the distance between the mobile terminal where the first key is located and the target vehicle is determined in real time. When the distance between the mobile terminal where the first key is located and the target vehicle is less than the preset distance, the local computer of the target vehicle sends a request to obtain the identity information of the first key to the first key. After receiving the request, the first key sends a request to the target vehicle to the mobile terminal where the first key is located. Send the identity information of the first key locally. That is to say, when it is confirmed that the mobile terminal where the first key is located is approaching the target vehicle, the identity information of the first key will be verified to avoid verifying the identity information of the first key when the user just passes by the target vehicle without intending to use the car. verification, thereby improving data security.

步骤120:若第一钥匙的身份信息验证通过,并且本地与目标车辆的第二钥匙通信连接,则获取第二钥匙的位置信息。Step 120: If the identity information of the first key is verified and the local communication connection is with the second key of the target vehicle, obtain the location information of the second key.

本发明实施例中,第一钥匙和第二钥匙为目标车机账号的登录验证钥匙,也就是说,第一钥匙和第二钥匙是一对登录验证钥匙,对于每一个车机账号,都有唯一的一对第一钥匙和第二钥匙。并且,第一钥匙的通信距离大于第二钥匙的通信距离。第一钥匙和其对应的第二钥匙位于同一移动终端内。In the embodiment of the present invention, the first key and the second key are the login verification keys for the target car and machine account. That is to say, the first key and the second key are a pair of login verification keys. For each car and machine account, there are The only pair of first and second keys. Furthermore, the communication distance of the first key is greater than the communication distance of the second key. The first key and its corresponding second key are located in the same mobile terminal.

在一种可选的实施方式中,第一钥匙和第二钥匙所在的移动终端可以是用户的手机、智能钥匙设备等等。In an optional implementation, the mobile terminal where the first key and the second key are located may be the user's mobile phone, a smart key device, or the like.

本发明实施例中,第二钥匙的位置信息为第二钥匙所在移动终端在目标车辆内的位置。具体的,可以分为主驾位置、副驾位置以及后排位置等等。其中,主驾位置对应于目标车辆中主驾驶所在的位置范围,副驾位置对应于目标车辆中副驾驶所在的位置范围,后排位置对应于目标车辆中后排座位所在的位置范围。In the embodiment of the present invention, the location information of the second key is the location of the mobile terminal where the second key is located in the target vehicle. Specifically, it can be divided into main driving position, passenger driving position, rear position, etc. Among them, the main driver position corresponds to the position range of the main driver in the target vehicle, the passenger position corresponds to the position range of the co-driver in the target vehicle, and the rear seat position corresponds to the position range of the rear seats in the target vehicle.

本发明实施例中,对第一钥匙的身份信息的验证实际上是对第一钥匙对应的车机账号,也就是对目标车机账号的初次验证。在本地与第二要是建立通信连接后,对获取到的第二钥匙的位置信息的验证,也就是对目标车机账号的二次验证。通过双重验证的方式,保证最终登录的车机账号是实际用车的用户的账号。In the embodiment of the present invention, the verification of the identity information of the first key is actually the first verification of the car and machine account corresponding to the first key, that is, the first verification of the target car and machine account. After the local communication connection is established with the second key, the verification of the obtained location information of the second key is the secondary verification of the target car and machine account. Through double verification, it is guaranteed that the car machine account finally logged in is the account of the user who actually uses the car.

步骤130:若位置信息为主驾位置,则确定目标车辆的目标车机账号的状态为登录状态。Step 130: If the location information is the main driver's location, determine that the status of the target vehicle account of the target vehicle is the logged-in status.

本发明实施例中,若位置信息为主驾位置,则表明第二钥匙所在移动终端位于目标车辆的主驾驶位置上,也就是说携带该移动终端的用户坐在目标车辆的主驾驶位置上准备用车,此时确定目标车辆的目标车机账号的状态为登录状态,登录作为主驾驶位置上准备用车的用户对应的车机账号。由此在用户进入目标车辆时就能够直接登录车机账号,不需要用户对车机账号进行手动切换,简化了车机账号的切换操作,同时也降低了原先登录在目标车辆上的车机账号的隐私泄漏风险。In the embodiment of the present invention, if the location information is the main driving position, it indicates that the mobile terminal where the second key is located is located in the main driving position of the target vehicle. That is to say, the user carrying the mobile terminal is sitting in the main driving position of the target vehicle and is preparing to To use the car, it is determined that the status of the target vehicle and computer account of the target vehicle is the logged-in state, and the corresponding vehicle and computer account is logged in as the user who is preparing to use the car in the main driving position. As a result, the user can directly log in to the car-machine account when entering the target vehicle. There is no need for the user to manually switch the car-machine account, which simplifies the switching operation of the car-machine account and also reduces the time required to log in to the car-machine account originally on the target vehicle. risk of privacy leakage.

本发明实施例提供的车机账号登录方法,通过对第一钥匙的身份信息的验证和对第二钥匙的位置信息的确认,实现对车机账号的双重验证,能够自动登录验证通过的车机账号,从而省去用户对车机账号的切换与登录操作,简化了车机账号的切换操作,同时用户也无法看到上一车机账号的相关信息,降低了账号隐私泄露的风险。The car-machine account login method provided by the embodiment of the present invention realizes double verification of the car-machine account by verifying the identity information of the first key and confirming the location information of the second key, and can automatically log in to the car-machine account that has passed the verification. account, thereby eliminating the need for users to switch and log in to car and machine accounts, simplifying the operation of switching car and machine accounts. At the same time, users cannot see the relevant information of the previous car and machine account, reducing the risk of account privacy leakage.

在一种可选的实施方式中,图2是本发明实施例提供的验证第一钥匙的身份信息的流程示意图,如图2所示,上述步骤110中,获取并验证第一钥匙的身份信息,包括如下步骤:In an optional implementation, Figure 2 is a schematic flowchart of verifying the identity information of the first key provided by an embodiment of the present invention. As shown in Figure 2, in the above step 110, the identity information of the first key is obtained and verified. , including the following steps:

步骤210:获取第一钥匙的身份信息。Step 210: Obtain the identity information of the first key.

本发明实施例中,如上所述,当目标车辆的本地与第一钥匙建立通信连接时,目标车辆的本地获取第一钥匙的身份信息,第一钥匙的身份信息为一段字符串。In the embodiment of the present invention, as mentioned above, when the local device of the target vehicle establishes a communication connection with the first key, the local device of the target vehicle obtains the identity information of the first key, and the identity information of the first key is a string of characters.

步骤220:基于身份信息,生成登录请求,并向云服务器发送登录请求。Step 220: Based on the identity information, generate a login request and send the login request to the cloud server.

本发明实施例中,当目标车辆的本地获取到第一钥匙的身份信息后,对应的生成对身份信息进行验证的登录请求,登录请求中包含该身份信息,将登录请求发送给云服务器。云服务器用于对身份信息对应的身份证明信息进行验证,在身份证明信息验证通过后返回登录令牌。具体的,云服务器在接收到登录请求后,将登录请求中包含的身份信息传递给第一钥匙平台,第一钥匙平台中存储了多个第一钥匙的身份信息分别对应的身份证明信息,由此云服务器通过第一钥匙平台上存储的身份证明信息中查询到其接收到的第一钥匙的身份信息对应的身份证明信息,对该第一身份证明进行验证,若验证通过,则生成登录令牌,并向目标车辆的本地返回该登录令牌。In the embodiment of the present invention, when the target vehicle obtains the identity information of the first key locally, a corresponding login request is generated to verify the identity information. The login request contains the identity information, and the login request is sent to the cloud server. The cloud server is used to verify the identity certification information corresponding to the identity information, and returns the login token after the identity certification information is verified. Specifically, after receiving the login request, the cloud server transfers the identity information contained in the login request to the first key platform. The first key platform stores the identity certification information corresponding to the identity information of multiple first keys. The cloud server queries the identity certification information corresponding to the identity information of the first key it received from the identity certification information stored on the first key platform, verifies the first identity certification, and if the verification passes, generates a login token token and returns the login token locally to the target vehicle.

在一种可选的实施方式中,目标车辆的本地内部包含有第一钥匙通信模块以及座舱模块,座舱模块也就是座舱域控制器(Cockpit Domain Controller,CDC),其用于调节车座舱中不同的电子组件。第一钥匙通信模块用于与第一钥匙建立通信连接,并获取第一钥匙的身份信息,然后将第一钥匙的身份信息传递给座舱模块。对第一钥匙的身份信息进行验证的登录请求由座舱模块在接收到第一钥匙的身份信息后生成,并发送给云服务器;在云服务器对第一钥匙的身份信息验证通过生成登录令牌时,云服务器将登录令牌返回为座舱模块。In an optional implementation, the local interior of the target vehicle includes a first key communication module and a cockpit module. The cockpit module is a cockpit domain controller (CDC), which is used to adjust different parameters in the vehicle cockpit. of electronic components. The first key communication module is used to establish a communication connection with the first key, obtain the identity information of the first key, and then transfer the identity information of the first key to the cockpit module. The login request to verify the identity information of the first key is generated by the cockpit module after receiving the identity information of the first key, and is sent to the cloud server; when the cloud server passes the verification of the identity information of the first key and generates a login token , the cloud server returns the login token as the cockpit module.

步骤230:若获取到登录令牌,则确定目标车机账号的状态为预登录状态,以表征身份信息验证通过。Step 230: If the login token is obtained, determine that the status of the target car and machine account is the pre-login status to indicate that the identity information verification has passed.

本发明实施例中,若获取到登录令牌,则表明第一钥匙的身份信息验证通过,第一钥匙对应的目标车机账号是属于目标车辆的车机账号,或者是拥有目标车辆使用权限、能够登录并使用目标车辆的车机账号,此时将目标车机账号的状态切换为预登录状态,以表征身份信息验证通过,目标车机账号具备登录能力,由此完成对目标车机账号的第一次验证。In the embodiment of the present invention, if the login token is obtained, it means that the identity information of the first key has been verified and the target car and machine account corresponding to the first key is the car and machine account of the target vehicle, or has the permission to use the target vehicle. Be able to log in and use the target vehicle's car and machine account. At this time, the status of the target car and machine account is switched to the pre-login state to indicate that the identity information has been verified and the target car and machine account has the ability to log in, thereby completing the target car and machine account. First verification.

通过上述方法,完成对目标车机账号的第一钥匙的验证,实现对目标车机账号的第一次验证,保证验证通过的车机账号是拥有目标车辆使用权限的车机账号,从而提高用车安全性。Through the above method, the verification of the first key of the target car and machine account is completed, the first verification of the target car and machine account is realized, and the car and machine account that passes the verification is guaranteed to be the car and machine account that has the permission to use the target vehicle, thereby improving the user experience. car safety.

在一种可选的实施方式中,为了保证携带第一钥匙和第二钥匙所在的移动终端的用户为登记在其对应的目标车机账号下的用户,即为目标车机账号的所有者,也就是为了避免第一钥匙和第二钥匙所在的移动终端被他人拿走使用时依然能够登录目标车辆的情况,例如移动终端丢失或者被偷窃的情况下他人可以使用该移动终端登录并启动目标车辆,导致车辆丢失的情况,出于保护车辆安全的考量,在上述步骤130中,还可以采集并验证主驾位置的生物识别信息以保证主驾位置的用户与目标车机账号对应的用户为同一人。具体的,图3是本发明实施例提供的确定目标车机账号状态的流程示意图,如图3所示,上述步骤130,可以包括如下步骤:In an optional implementation, in order to ensure that the user carrying the mobile terminal where the first key and the second key are located is the user registered under the corresponding target car and machine account, that is, the owner of the target car and machine account, That is to avoid the situation where the mobile terminal where the first key and the second key are located is still able to log in to the target vehicle when used by others. For example, if the mobile terminal is lost or stolen, others can use the mobile terminal to log in and start the target vehicle. , leading to the loss of the vehicle, for the sake of protecting vehicle safety, in the above step 130, the biometric information of the main driving position can also be collected and verified to ensure that the user at the main driving position and the user corresponding to the target car and machine account are the same people. Specifically, Figure 3 is a schematic flowchart of determining the target car and machine account status provided by an embodiment of the present invention. As shown in Figure 3, the above step 130 may include the following steps:

步骤310:若位置信息为主驾位置,则确定目标车机账号的状态为第一权限的登录状态,获取并验证主驾位置的生物识别信息。Step 310: If the location information is the main driver's location, determine that the status of the target car and machine account is the login status of the first authority, and obtain and verify the biometric information of the main driver's location.

本发明实施例中,若位置信息为主驾位置,则先将目标车机账号的状态从预登录状态切换为第一权限的登录状态,同时获取并验证主驾的位置的生物识别信息。在第一权限的登录状态下,用户可以查看目标车机账号中的个人数据与个人信息等,但无法对目标车机账号进行相关操作,也就是说,在第一权限的登录状态下,目标车机账号中的数据处于只读模式。In the embodiment of the present invention, if the location information is the location of the main driver, first switch the status of the target car and machine account from the pre-login state to the first-authority login state, and at the same time obtain and verify the biometric information of the main driver's location. In the login state of the first authority, the user can view the personal data and personal information in the target car and machine account, but cannot perform related operations on the target car and machine account. That is to say, in the login state of the first authority, the target The data in the car machine account is in read-only mode.

在一种可选的实施方式中,为了保护账号隐私,在第一权限的登录状态下,可以仅显示目标车机账号的账号信息以及例如头像、名称等自定义的个性化信息。In an optional implementation, in order to protect the privacy of the account, in the login state of the first authority, only the account information of the target car and machine account and customized personalized information such as avatar, name, etc. can be displayed.

在一种可选的实施方式中,获取并验证主驾位置的生物识别信息,可以包括如下步骤:In an optional implementation, obtaining and verifying the biometric information of the main driver's location may include the following steps:

步骤a1:若检测到主驾位置存在目标对象,则触发对目标对象的生物识别信息的获取。Step a1: If it is detected that the target object exists at the main driving position, the acquisition of the biometric information of the target object is triggered.

步骤a1中,检测到主驾位置存在目标对象,即检测到主驾位置中有人落座,其可以通过在主驾驶位的座椅上设置占位传感器,通过占位传感器的状态信息来进行确定,占位传感器可以识别出主驾驶位的座椅上落座的是人还是放置的是物品。当占位传感器的状态信息指示有人落座在主驾驶位的座椅上时,表明此时检测到主驾位置存在目标对象,触发对目标对象的生物识别信息的获取。In step a1, it is detected that the target object exists in the main driving position, that is, it is detected that someone is sitting in the main driving position. This can be determined by setting an occupancy sensor on the main driving position and using the status information of the occupancy sensor. The occupancy sensor can identify whether there is a person or an object sitting on the driver's seat. When the status information of the occupancy sensor indicates that someone is sitting on the seat of the main driver's seat, it indicates that the target object is detected in the main driver's position, triggering the acquisition of the target object's biometric information.

步骤a1中,对目标对象的生物识别信息的获取可以通过在目标车辆内部设置驾驶员监控系统(Driver Monitor System,DMS)摄像头,通过驾驶员监控系统摄像头对主驾位置的用户进行扫描,获取到目标对象的生物识别信息。In step a1, the biometric information of the target object can be obtained by setting up a driver monitoring system (DMS) camera inside the target vehicle, and scanning the user in the main driving position through the driver monitoring system camera to obtain the biometric information. Biometric information of the target subject.

步骤a1中,生物识别信息可以是人脸信息、虹膜信息等等。In step a1, the biometric information can be face information, iris information, etc.

步骤a2:若获取到的生物识别信息与目标生物识别信息一致,则生物识别信息验证通过。Step a2: If the obtained biometric information is consistent with the target biometric information, the biometric information verification is passed.

步骤a2中,目标生物识别信息为目标车机账号对应的生物识别信息,目标生物识别信息可以是在对目标车辆对应的目标车机账号创建时录制进去的生物识别信息。In step a2, the target biometric information is the biometric information corresponding to the target car and machine account. The target biometric information can be the biometric information recorded when the target car and machine account corresponding to the target vehicle is created.

在一种可选的实施方式中,目标生物识别信息可以包括多种类型的目标生物识别信息,在对获取到的生物识别信息进行验证时,从目标生物识别信息中查找到与获取到的生物识别信息类型相同的目标生物识别信息进行验证。In an optional implementation, the target biometric information may include multiple types of target biometric information. When verifying the acquired biometric information, the target biometric information is searched for and the acquired biometric information is the same as the acquired biometric information. Verify target biometric information with the same identification information type.

本发明实施例中,若位置信息不是主驾位置,则目标车机账号的状态依然为预登录状态,同时即使检测到主驾位置存在目标对象,也不会触发对目标对象的生物识别信息的获取以及验证。In the embodiment of the present invention, if the location information is not the main driving position, the status of the target car and machine account is still the pre-login state. At the same time, even if the target object is detected at the main driving position, the biometric information of the target object will not be triggered. Obtain and verify.

步骤320:若生物识别信息验证通过,则确定目标车机账号的状态为第二权限的登录状态。Step 320: If the biometric information verification passes, determine that the status of the target car and machine account is the login status of the second authority.

本发明实施例中,若生物识别信息验证通过,则将目标车机账号的状态从第一权限的登录状态切换为第二权限的登录状态。其中,第二权限高于第一权限;在第二权限的登录状态下,用户可以对目标车机账号下的个人数据,例如历史轨迹、收藏夹等进行访问和操作。In the embodiment of the present invention, if the biometric information verification is passed, the status of the target car and machine account is switched from the login status of the first authority to the login state of the second authority. Among them, the second authority is higher than the first authority; in the login state of the second authority, the user can access and operate personal data under the target car and machine account, such as historical tracks, favorites, etc.

本发明实施例中,若生物识别信息验证失败,则表明主驾位置上落座的用户不是目标车机账号的所有者,此时将目标车机账号的状态从第一权限的登录状态切换为预登录状态,也就是说,目标车机账号退出登录,不再显示其相关的信息。In the embodiment of the present invention, if the biometric information verification fails, it means that the user sitting in the main driving position is not the owner of the target car and machine account. At this time, the status of the target car and machine account is switched from the login state of the first authority to the preset state. Login status, that is to say, the target car and machine account logs out and its related information is no longer displayed.

通过上述方法,不仅通过对第一钥匙和第二钥匙的验证,完成对目标车机账号的双重验证,以保证最终在目标车辆上登录的目标车机账号对应的用户落在主驾位置上,是目标车辆的使用者,同时通过对主驾位置上目标对象的生物识别信息获取并验证,以保证该用户是目标车机账号的所有者,从而避免非车机账号的所有者利用该车机账号而导致的账号隐私泄露与车辆安全性降低。Through the above method, not only the first key and the second key are verified, but also the double verification of the target car and machine account is completed to ensure that the user corresponding to the target car and machine account finally logged in on the target vehicle falls in the main driving position. is the user of the target vehicle. At the same time, the biometric information of the target object in the main driving position is obtained and verified to ensure that the user is the owner of the target vehicle account, thereby preventing non-owners of the vehicle account from using the vehicle. The leakage of account privacy and reduction of vehicle safety caused by the account.

在一种可选的实施方式中,考虑到在车辆借用或者车机账号借用的情况下,落座在主驾驶位置的人不是目标车机账号的所有者,此时无法通过生物识别信息的验证,为了避免在该种情况下出现生物识别信息验证不通过而导致无法登录目标车机账号、不能正常使用目标车辆的情况,在上述步骤130中,也可以进一步确认生物识别信息的验证设置是否开启,若关闭则可以将目标车机账号的状态切换为第二权限的登录状态。具体的,上述步骤130,还可以包括如下步骤:若位置信息为主驾位置,并且生物识别信息的验证设置为关闭,则确定目标车机账号的状态为第二权限的登录状态。由此保证车辆借用或者车机账号借用时能够正常使用车辆。In an optional implementation, considering that in the case of borrowing a vehicle or borrowing a car-machine account, the person sitting in the main driving position is not the owner of the target car-machine account and cannot pass the verification of biometric information at this time. In order to avoid the failure of biometric information verification in this case, resulting in the inability to log in to the target vehicle account and the inability to use the target vehicle normally, in the above step 130, you can further confirm whether the verification setting of the biometric information is turned on. If turned off, the status of the target car and machine account can be switched to the login status of the second authority. Specifically, the above-mentioned step 130 may also include the following steps: if the location information is the main driver's location and the verification of biometric information is set to off, determine that the status of the target car and machine account is the login status of the second authority. This ensures that the vehicle can be used normally when borrowing a vehicle or borrowing a vehicle account.

在一种可选的实施方式中,对应于上述情况,本实施例提供的车机账号登录方法还包括:若接收到目标车机账号对应的生物识别关闭指令,则将生物识别信息的验证设置为关闭。具体的,目标车机账号的所有者可以通过移动终端下发生物识别关闭指令到目标车辆的本地,目标车辆的本地在接收到目标车机账号对应的生物识别关闭指令后,将目标车机账号的生物识别信息的验证设置为关闭,此时不再需要对主驾位置的生物识别信息进行验证。相应的,目标车机账号的所有者也可以通过移动终端下发生物识别开启指令到目标车辆的本地,目标车辆的本地在接收到目标车机账号对应的生物识别开启指令后,将目标车机账号的生物识别信息的验证设置为开启,此时需要对主驾位置的生物识别信息进行验证。In an optional implementation, corresponding to the above situation, the car-machine account login method provided in this embodiment also includes: if a biometric shutdown instruction corresponding to the target car-machine account is received, setting the verification of the biometric information to close. Specifically, the owner of the target car and machine account can issue a biometric closing instruction to the target vehicle through the mobile terminal. After receiving the biometric closing instruction corresponding to the target car and machine account, the target vehicle's local The verification of biometric information is set to off. At this time, it is no longer necessary to verify the biometric information of the main driving position. Correspondingly, the owner of the target vehicle and machine account can also issue a biometric activation command to the target vehicle through the mobile terminal. After receiving the biometric activation command corresponding to the target vehicle and machine account, the target vehicle will send the biometric activation command to the target vehicle and machine. The verification of the account's biometric information is set to on. At this time, the biometric information of the main driving position needs to be verified.

在一种可选的实施方式中,在上述实施例中,第一钥匙可以为基于蓝牙通信的钥匙,也就是蓝牙数字钥匙,其在目标车辆10米左右时就能与目标车辆的本地建立通信连接,目标车辆内与第一钥匙建立通信连接的第一通信模块可以为蓝牙模块;第二钥匙可以为基于超宽带无线通信的钥匙,也就是UWB(Ultra-Wide Band,超宽带)数字钥匙,骑在目标车辆1米左右时就能与目标车辆的本地建立通信连接,目标车辆内与第二钥匙建立通信连接的第一通信模块可以为UWB模块。In an optional implementation, in the above embodiment, the first key can be a key based on Bluetooth communication, that is, a Bluetooth digital key, which can establish local communication with the target vehicle when the target vehicle is about 10 meters away. connection, the first communication module in the target vehicle that establishes a communication connection with the first key can be a Bluetooth module; the second key can be a key based on ultra-wideband wireless communication, that is, a UWB (Ultra-Wide Band, ultra-wideband) digital key. A communication connection can be established with the target vehicle when riding about 1 meter away from the target vehicle. The first communication module in the target vehicle that establishes a communication connection with the second key can be a UWB module.

图4是本发明实施例提供的车机账号登录方法的交互图,以下结合图4对本发明实施例中的车机账号登录方法的具体流程做进一步说明:如图4所示,用户随身携带配置有蓝牙数据钥匙,即第一钥匙,和UWB数字钥匙,即第二钥匙的移动终端,例如手机,其中第一钥匙可以通过手机应用软件进行配置。当用户携带移动终端靠近车辆约10米,达到第一钥匙的通信距离时,移动终端的蓝牙与车辆的蓝牙建立通信连接,移动终端中的相关应用软件将第一钥匙的身份信息,也就是keyid,发送给车辆的蓝牙模块。车辆的蓝牙模块接收到身份信息,并通过SOA(Service-Oriented Architecture,面向服务的架构)将身份信息转发到座舱模块,座舱模块基于接收到的蓝牙信息向云端发起登录请求。云端的账号中台在钥匙平台中查找登录请求中包含的身份信息对应的身份验证信息,并对其进行验证,在验证通过后向车辆返回登录令牌。车辆在接收到登录令牌,将对应的车机账号的状态切换到预登录状态,由此完成对第一钥匙的验证。Figure 4 is an interactive diagram of the car-machine account login method provided by the embodiment of the present invention. The specific process of the car-machine account login method in the embodiment of the present invention will be further described below in conjunction with Figure 4: As shown in Figure 4, the user carries the configuration with him There are Bluetooth data keys, that is, the first key, and UWB digital keys, that is, the second key's mobile terminal, such as a mobile phone, where the first key can be configured through the mobile phone application software. When the user brings the mobile terminal about 10 meters close to the vehicle and reaches the communication distance of the first key, the Bluetooth of the mobile terminal establishes a communication connection with the Bluetooth of the vehicle. The relevant application software in the mobile terminal transfers the identity information of the first key, which is the keyid. , sent to the vehicle’s Bluetooth module. The vehicle's Bluetooth module receives the identity information and forwards the identity information to the cockpit module through SOA (Service-Oriented Architecture). The cockpit module initiates a login request to the cloud based on the received Bluetooth information. The account center in the cloud searches the key platform for the identity verification information corresponding to the identity information contained in the login request, verifies it, and returns the login token to the vehicle after passing the verification. After receiving the login token, the vehicle switches the status of the corresponding vehicle and machine account to the pre-login status, thus completing the verification of the first key.

当用户携带移动终端靠近车辆约1米,达到第二钥匙的通信距离时,移动终端的UWB钥匙与车辆的UWB模块建立通信连接。车辆的UWB模块通过轨迹判断对移动终端的位置进行定位,确定出位置信息,并将其同步到座舱模块。座舱模块判断位置信息是否为主驾位置,若是则将车机账号的状态切换到第一权限的登录状态,并向云端的账号中台同步登录状态,由此完成对第二钥匙的验证。When the user brings the mobile terminal about 1 meter close to the vehicle and reaches the communication distance of the second key, the UWB key of the mobile terminal establishes a communication connection with the UWB module of the vehicle. The UWB module of the vehicle locates the position of the mobile terminal through trajectory judgment, determines the location information, and synchronizes it to the cockpit module. The cockpit module determines whether the location information is the main driver's position. If so, it switches the status of the car and machine account to the login status of the first authority, and synchronizes the login status to the account center in the cloud, thereby completing the verification of the second key.

当检测到用户在主驾位置落座,车辆内设置的驾驶员监控系统摄像头扫描得到用户的生物识别信息,并判断是否与车机账号下的生物识别信息一致。若一致,则座舱模块将车机账号的状态切换到第二权限的登录状态,并向云端的账号中台同步登录状态;若不一致,则座舱模块将车机账号的状态切换到预登录状态,车机账号退出登录;由此完成车机账号登录的整个流程。When it is detected that the user is sitting in the main driving position, the driver monitoring system camera installed in the vehicle scans the user's biometric information and determines whether it is consistent with the biometric information in the car's account. If they are consistent, the cockpit module switches the status of the car and machine account to the login state of the second authority, and synchronizes the login status to the account center in the cloud; if it is inconsistent, the cockpit module switches the status of the car and machine account to the pre-login state, Log out of the Cheji account; this completes the entire process of logging in to the Cheji account.

本发明实施例还提供了一种车机账号登录装置,图5是本发明实施例提供的车机账号登录装置的实施例的结构示意图,如图5所示,该车机账号登录装置500包括:The embodiment of the present invention also provides a vehicle and computer account login device. Figure 5 is a schematic structural diagram of an embodiment of the vehicle and computer account login device provided by the embodiment of the present invention. As shown in Figure 5, the vehicle and computer account login device 500 includes :

身份信息验证模块510,用于若本地与目标车辆的第一钥匙通信连接,则获取并验证第一钥匙的身份信息;The identity information verification module 510 is used to obtain and verify the identity information of the first key if the local communication connection is with the first key of the target vehicle;

位置信息获取模块520,用于若第一钥匙的身份信息验证通过,并且本地与目标车辆的第二钥匙通信连接,则获取第二钥匙的位置信息;第一钥匙和第二钥匙为目标车机账号的登录验证钥匙;第一钥匙的通信距离大于第二钥匙的通信距离;The location information acquisition module 520 is used to obtain the location information of the second key if the identity information of the first key is verified and the local communication connection is with the second key of the target vehicle; the first key and the second key are the target vehicle. The login verification key of the account; the communication distance of the first key is greater than the communication distance of the second key;

登录状态确定模块530,用于若位置信息为主驾位置,则确定目标车辆的目标车机账号的状态为登录状态。The login status determination module 530 is used to determine that the status of the target vehicle account of the target vehicle is the login status if the location information is the main driver's location.

在一种可选的实施方式中,身份信息验证模块510,包括:In an optional implementation, the identity information verification module 510 includes:

身份信息获取单元,用于获取第一钥匙的身份信息;An identity information acquisition unit is used to obtain the identity information of the first key;

登录请求发送单元,用于基于身份信息,生成登录请求,并向云服务器发送登录请求;云服务器用于对身份信息对应的身份证明信息进行验证,在身份证明信息验证通过后返回登录令牌;The login request sending unit is used to generate a login request based on the identity information, and send the login request to the cloud server; the cloud server is used to verify the identity certification information corresponding to the identity information, and return the login token after the identity certification information is verified;

状态确定单元,用于若获取到登录令牌,则确定目标车机账号的状态为预登录状态,以表征身份信息验证通过。The status determination unit is used to determine that the status of the target car and machine account is the pre-login status if the login token is obtained, to indicate that the identity information verification has been passed.

在一种可选的实施方式中,登录状态确定模块530,包括:In an optional implementation, the login status determination module 530 includes:

生物识别信息验证单元,用于若位置信息为主驾位置,则确定目标车机账号的状态为第一权限的登录状态,获取并验证主驾位置的生物识别信息;The biometric information verification unit is used to determine that the status of the target car and machine account is the login status of the first authority if the location information is the main driver's location, and obtain and verify the biometric information of the main driver's location;

登录状态确定单元,用于若生物识别信息验证通过,则确定目标车机账号的状态为第二权限的登录状态,第二权限高于第一权限。The login status determination unit is used to determine that the status of the target car and machine account is the login status of the second authority if the biometric information verification is passed, and the second authority is higher than the first authority.

在一种可选的实施方式中,生物识别信息获取单元,包括:In an optional implementation, the biometric information acquisition unit includes:

生物识别信息获取触发子单元,用于若检测到主驾位置存在目标对象,则触发对目标对象的生物识别信息的获取;The biometric information acquisition triggering subunit is used to trigger the acquisition of the target object's biometric information if a target object is detected at the main driver's position;

生物别信息验证子单元,用于若获取到的生物识别信息与目标生物识别信息一致,则生物识别信息验证通过;目标生物识别信息为目标车机账号对应的生物识别信息。The biometric information verification subunit is used to pass the biometric information verification if the obtained biometric information is consistent with the target biometric information; the target biometric information is the biometric information corresponding to the target car and machine account.

在一种可选的实施方式中,登录状态确定模块530,还包括:In an optional implementation, the login status determination module 530 also includes:

登录状态确定单元,还用于若位置信息为主驾位置,并且生物识别信息的验证设置为关闭,则确定目标车机账号的状态为第二权限的登录状态。The login status determination unit is also used to determine that the status of the target car and machine account is the login status of the second authority if the location information is the main driver's location and the verification of biometric information is set to off.

在一种可选的实施方式中,该装置还包括:In an optional implementation, the device further includes:

生物识别验证关闭模块,用于若接收到目标车机账号对应的生物识别关闭指令,则将生物识别信息的验证设置为关闭。The biometric verification shutdown module is used to set the verification of biometric information to shutdown if a biometric shutdown instruction corresponding to the target car and machine account is received.

在一种可选的实施方式中,第一钥匙为基于蓝牙通信的钥匙,第二钥匙为基于超宽带无线通信的钥匙。In an optional implementation, the first key is a key based on Bluetooth communication, and the second key is a key based on ultra-wideband wireless communication.

本申请实施例中的装置与方法实施例基于同样地申请构思。The device and method embodiments in the embodiments of this application are based on the same application concepts.

图6示出了本发明实施例提供的车载终端的实施例的结构示意图,本发明具体实施例并不对车载终端的具体实现做限定。FIG. 6 shows a schematic structural diagram of an embodiment of a vehicle-mounted terminal provided by an embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the vehicle-mounted terminal.

如图6所示,该车载终端可以包括:处理器(processor)602、通信接口(Communications Interface)604、存储器(memory)606、以及通信总线608。As shown in FIG. 6 , the vehicle-mounted terminal may include: a processor (processor) 602 , a communications interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .

其中:处理器602、通信接口604、以及存储器606通过通信总线608完成相互间的通信。通信接口604,用于与其它设备比如客户端或其它服务器等的网元通信。处理器602,用于执行程序610,具体可以执行上述用于车机账号登录方法实施例中的相关步骤。Among them: the processor 602, the communication interface 604, and the memory 606 complete communication with each other through the communication bus 608. The communication interface 604 is used to communicate with network elements of other devices such as clients or other servers. The processor 602 is configured to execute the program 610. Specifically, the processor 602 can execute the relevant steps in the above embodiment of the vehicle-machine account login method.

具体地,程序610可以包括程序代码,该程序代码包括计算机可执行指令。Specifically, program 610 may include program code including computer-executable instructions.

处理器602可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。车载终端包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 602 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the vehicle-mounted terminal may be the same type of processor, such as one or more CPUs; or they may be different types of processors, such as one or more CPUs and one or more ASICs.

存储器606,用于存放程序610。存储器606可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。Memory 606 is used to store program 610. The memory 606 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

程序610具体可以被处理器602调用使车载终端执行上述用于车机账号登录方法实施例中的相关步骤。Specifically, the program 610 can be called by the processor 602 to cause the vehicle-mounted terminal to execute the relevant steps in the above embodiments of the vehicle-machine account login method.

本领域普通技术人员可以理解,图6所示的结构仅为示意,其并不对上述设备的结构造成限定。例如,车载终端还可包括比图6中所示更多或者更少的组件,或者具有与图6所示不同的配置。Persons of ordinary skill in the art can understand that the structure shown in Figure 6 is only illustrative, and it does not limit the structure of the above-mentioned device. For example, the vehicle-mounted terminal may also include more or fewer components than shown in FIG. 6 , or have a different configuration than that shown in FIG. 6 .

本发明实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一可执行指令,该可执行指令在车载终端/车机账号登录装置上运行时,使得所述车载终端/车机账号登录装置执行上述任意方法实施例中的车机账号登录方法。Embodiments of the present invention provide a computer-readable storage medium. The storage medium stores at least one executable instruction. When the executable instruction is run on a vehicle-mounted terminal/vehicle account login device, the vehicle-mounted terminal/vehicle account login device The machine account login device executes the car machine account login method in any of the above method embodiments.

在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。此外,本发明实施例也不针对任何特定编程语言。The algorithms or displays provided herein are not inherently associated with any particular computer, virtual system, or other device. Furthermore, embodiments of the present invention are not directed to any specific programming language.

在此处所提供的说明书中,说明了大量具体细节。然而能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。类似地,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。其中,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。In the instructions provided here, a number of specific details are described. It is understood, however, that embodiments of the invention may be practiced without these specific details. Similarly, in the above description of exemplary embodiments of the invention, in order to streamline the invention and aid in the understanding of one or more of the various inventive aspects, various features of the invention embodiments are sometimes grouped together into a single embodiment, FIG. , or in its description. The claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外。Those skilled in the art will understand that modules in the devices in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the element claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, third, etc. does not indicate any order. These words can be interpreted as names. Unless otherwise specified, the steps in the above embodiments should not be understood as limiting the order of execution.

Claims (10)

1.一种车机账号登录方法,其特征在于,所述方法包括:1. A method for logging in to a car and machine account, characterized in that the method includes: 若本地与目标车辆的第一钥匙通信连接,则获取并验证所述第一钥匙的身份信息;If the local communication connection is with the first key of the target vehicle, obtain and verify the identity information of the first key; 若所述第一钥匙的身份信息验证通过,并且本地与所述目标车辆的第二钥匙通信连接,则获取所述第二钥匙的位置信息;所述第一钥匙和所述第二钥匙为目标车机账号的登录验证钥匙;所述第一钥匙的通信距离大于所述第二钥匙的通信距离;If the identity information of the first key is verified and the local communication connection is with the second key of the target vehicle, the location information of the second key is obtained; the first key and the second key are the target Login verification key for the car and machine account; the communication distance of the first key is greater than the communication distance of the second key; 若所述位置信息为主驾位置,则确定所述目标车辆的目标车机账号的状态为登录状态。If the location information is the main driver's location, it is determined that the status of the target vehicle account of the target vehicle is the logged-in status. 2.根据权利要求1所述的方法,其特征在于,所述获取并验证所述第一钥匙的身份信息,包括:2. The method according to claim 1, characterized in that said obtaining and verifying the identity information of the first key includes: 获取所述第一钥匙的身份信息;Obtain the identity information of the first key; 基于所述身份信息,生成登录请求,并向云服务器发送所述登录请求;所述云服务器用于对所述身份信息对应的身份证明信息进行验证,在所述身份证明信息验证通过后返回登录令牌;Based on the identity information, generate a login request and send the login request to the cloud server; the cloud server is used to verify the identity certification information corresponding to the identity information, and return to login after the identity certification information is verified. token; 若获取到所述登录令牌,则确定所述目标车机账号的状态为预登录状态,以表征所述身份信息验证通过。If the login token is obtained, the status of the target vehicle and machine account is determined to be a pre-login status, indicating that the identity information verification has passed. 3.根据权利要求1所述的方法,其特征在于,所述若所述位置信息为主驾位置,则确定目标车机账号的状态为登录状态,包括:3. The method according to claim 1, characterized in that if the location information is the main driver's location, then determining that the status of the target car and machine account is the logged-in status includes: 若所述位置信息为所述主驾位置,则确定所述目标车机账号的状态为第一权限的登录状态,获取并验证所述主驾位置的生物识别信息;If the location information is the main driver's location, determine that the status of the target car and machine account is the login status of the first authority, and obtain and verify the biometric information of the main driver's location; 若所述生物识别信息验证通过,则确定所述目标车机账号的状态为第二权限的登录状态,所述第二权限高于所述第一权限。If the biometric information is verified successfully, it is determined that the status of the target vehicle and machine account is the login status of the second authority, and the second authority is higher than the first authority. 4.根据权利要求3所述的方法,其特征在于,所述获取并验证所述主驾位置的生物识别信息,包括:4. The method according to claim 3, characterized in that said obtaining and verifying the biometric information of the main driver's position includes: 若检测到所述主驾位置存在目标对象,则触发对所述目标对象的生物识别信息的获取;If it is detected that a target object exists at the main driving position, triggering the acquisition of the biometric information of the target object; 若获取到的所述生物识别信息与目标生物识别信息一致,则所述生物识别信息验证通过;所述目标生物识别信息为所述目标车机账号对应的生物识别信息。If the obtained biometric information is consistent with the target biometric information, the biometric information verification passes; the target biometric information is the biometric information corresponding to the target car and machine account. 5.根据权利要求3所述的方法,其特征在于,所述若所述位置信息为主驾位置,则确定目标车机账号的状态为登录状态,还包括:5. The method according to claim 3, characterized in that if the location information is the main driver's location, then determining that the status of the target car and machine account is a logged-in status, and further includes: 若所述位置信息为所述主驾位置,并且所述生物识别信息的验证设置为关闭,则确定所述目标车机账号的状态为所述第二权限的登录状态。If the location information is the main driver's location, and the verification of the biometric information is set to off, then it is determined that the status of the target car and machine account is the login status of the second authority. 6.根据权利要求5所述的方法,其特征在于,所述方法还包括:6. The method according to claim 5, characterized in that, the method further comprises: 若接收到所述目标车机账号对应的生物识别关闭指令,则将所述生物识别信息的验证设置为关闭。If a biometric turn-off instruction corresponding to the target vehicle and machine account is received, the verification of the biometric information is set to turned off. 7.根据权利要求1-6任一项所述的方法,其特征在于,所述第一钥匙为基于蓝牙通信的钥匙,所述第二钥匙为基于超宽带无线通信的钥匙。7. The method according to any one of claims 1 to 6, characterized in that the first key is a key based on Bluetooth communication, and the second key is a key based on ultra-wideband wireless communication. 8.一种车机账号登录装置,其特征在于,应用于车载终端,所述装置包括:8. A vehicle-machine account login device, characterized in that it is applied to a vehicle-mounted terminal, and the device includes: 身份信息验证模块,用于若本地与目标车辆的第一钥匙通信连接,则获取并验证所述第一钥匙的身份信息;An identity information verification module, used to obtain and verify the identity information of the first key if the local communication connection is with the first key of the target vehicle; 位置信息获取模块,用于若所述第一钥匙的身份信息验证通过,并且本地与所述目标车辆的第二钥匙通信连接,则获取所述第二钥匙的位置信息;所述第一钥匙和所述第二钥匙为目标车机账号的登录验证钥匙;所述第一钥匙的通信距离大于所述第二钥匙的通信距离;A location information acquisition module, configured to obtain the location information of the second key if the identity information of the first key is verified and is locally connected to the second key of the target vehicle; the first key and The second key is the login verification key for the target vehicle account; the communication distance of the first key is greater than the communication distance of the second key; 登录状态确定模块,用于若所述位置信息为主驾位置,则确定所述目标车辆的目标车机账号的状态为登录状态。The login status determination module is used to determine that the status of the target vehicle account of the target vehicle is the login status if the location information is the main driver's position. 9.一种车载终端,其特征在于,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;9. A vehicle-mounted terminal, characterized in that it includes: a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface complete communication with each other through the communication bus; 所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-7任意一项所述的车机账号登录方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the operation of the vehicle account login method according to any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一可执行指令,所述可执行指令在车载终端/车机账号登录装置上运行时,使得车载终端/车机账号登录装置执行如权利要求1-7任意一项所述的车机账号登录方法的操作。10. A computer-readable storage medium, characterized in that at least one executable instruction is stored in the storage medium. When the executable instruction is run on the vehicle-mounted terminal/vehicle account login device, the vehicle-mounted terminal/vehicle The machine account login device performs the operation of the car machine account login method as described in any one of claims 1-7.
CN202311706360.9A 2023-12-12 2023-12-12 Car machine account login method, device and computer-readable storage medium Pending CN117749452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311706360.9A CN117749452A (en) 2023-12-12 2023-12-12 Car machine account login method, device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311706360.9A CN117749452A (en) 2023-12-12 2023-12-12 Car machine account login method, device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN117749452A true CN117749452A (en) 2024-03-22

Family

ID=90255669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311706360.9A Pending CN117749452A (en) 2023-12-12 2023-12-12 Car machine account login method, device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN117749452A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083696A (en) * 2019-12-31 2020-04-28 智车优行科技(北京)有限公司 Communication verification method and system, mobile terminal and vehicle terminal
CN113572718A (en) * 2020-04-29 2021-10-29 华为技术有限公司 Login method, login device, electronic equipment and storage medium
CN116361762A (en) * 2021-12-28 2023-06-30 上海集度汽车有限公司 Vehicle control method and device, vehicle and readable storage medium
CN116467701A (en) * 2023-04-25 2023-07-21 上海集度汽车有限公司 Account login method, vehicle, equipment and storage medium
CN117034247A (en) * 2023-08-11 2023-11-10 长城汽车股份有限公司 Vehicle-mounted account login method and device, vehicle and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083696A (en) * 2019-12-31 2020-04-28 智车优行科技(北京)有限公司 Communication verification method and system, mobile terminal and vehicle terminal
CN113572718A (en) * 2020-04-29 2021-10-29 华为技术有限公司 Login method, login device, electronic equipment and storage medium
CN116361762A (en) * 2021-12-28 2023-06-30 上海集度汽车有限公司 Vehicle control method and device, vehicle and readable storage medium
CN116467701A (en) * 2023-04-25 2023-07-21 上海集度汽车有限公司 Account login method, vehicle, equipment and storage medium
CN117034247A (en) * 2023-08-11 2023-11-10 长城汽车股份有限公司 Vehicle-mounted account login method and device, vehicle and readable storage medium

Similar Documents

Publication Publication Date Title
US10108618B2 (en) Implicitly trusted travel token authentication
CN109389727A (en) Method for unlocking, system and computer readable storage medium
US20190116044A1 (en) System and method for providing services via a network
JP7023139B2 (en) Unlocking system, unlocking device, unlocking method, terminal device and program
US20130023240A1 (en) System and method for transaction security responsive to a signed authentication
US10629012B1 (en) Multi-factor authentication for vehicles
US20140310786A1 (en) Integrated interactive messaging and biometric enrollment, verification, and identification system
CN109389709B (en) Unlocking control system and unlocking control method
US20170358148A1 (en) Machine learned biometric token
JP2018205906A5 (en)
US20160210454A1 (en) System, apparatus, and method for access control
WO2013088867A1 (en) Authentication method, authentication device, and authentication program
GB2516939A (en) Access authorisation system and secure data communications system
US20170334394A1 (en) Method for controlling access to at least one function of a motor vehicle
CN105721460A (en) Voiceprint password vehicle control system and method
CN109600343A (en) Control method, device, mobile terminal, vehicle and the remote server of vehicle
CN109067745B (en) Method for authenticating vehicle occupant, apparatus, device and storage medium therefor
CN111071204A (en) Moving body control system, moving body control device, and moving body control method
US20150326558A1 (en) Architecture for platform security using a dedicated security device for user interaction
CN117749452A (en) Car machine account login method, device and computer-readable storage medium
JP6381478B2 (en) Biometric authentication system
US11330413B2 (en) Method for operating a transmitting device of a motor vehicle transmitting device for a motor vehicle and motor vehicle
JP2008287536A (en) Train radio system
US12083992B2 (en) Methods for shared vehicle access
KR101623085B1 (en) Reactive diagnostic service system

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