Equipment login method, electronic equipment and vehicle
By judging the location of the second electronic device in the vehicle and using the equipment to identify the whitelist mechanism, automatic account login of the vehicle multi-screen display system is realized, solving the complex problem of account login in the multi-screen display system, improving the user experience and ensuring security.
Patent Information
- Application Number
- CN202311865376.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
In vehicles, the account login operation of the multi-screen display system is complex, which increases the difficulty of users' operation, and the prior art is difficult to simplify the login process while ensuring the security of user data.
By determining whether the second electronic device is located in the pre-configured three-dimensional space, the target display screen is used to automatically log in to the account of the second electronic device, and combining the device identification and whitelist mechanism, the security of login and simplified operation are ensured.
It has achieved the simplification of user operation difficulty while ensuring the security of user data, reducing the complexity of account login and improving user experience.
Smart Images

Figure CN120234071A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of terminals, and in particular, to a device login method, an electronic device, and a vehicle. Background Art
[0002] With the development of vehicle intelligence, the application programs that can be installed on the in-vehicle computer and the setting functions of the vehicle are becoming more and more abundant. During the process of users using these application programs or functions, the in-vehicle computer will store the generated user data in the account logged in by the user. Among them, there may be multiple users of the vehicle, so the in-vehicle computer stores user data corresponding to multiple accounts.
[0003] Currently, one vehicle with multiple screens has become a trend. For example, the in-vehicle display screens include a central control screen on the central console, a display screen in front of the passenger in the co-pilot seat (also known as the front-row passenger), a display screen in front of the left rear-row passenger, and a display screen in front of the right rear-row passenger, etc. After getting in the car, the user performs an account login operation on the selected display screen. The in-vehicle computer can load the corresponding user data on the selected display screen according to this account login operation, so as to facilitate the user's subsequent operations.
[0004] However, for the security of user data, the account login operation is generally relatively complex, which increases the operation difficulty for users. Summary of the Invention
[0005] To solve the above technical problems, this application provides a device login method, an electronic device, and a vehicle. The technical solution provided by this application enables the first electronic device to instruct the target display screen corresponding to the target three-dimensional space to automatically log in to the account of the second electronic device when the second electronic device is located in the target three-dimensional space. It realizes automatic login of the device account, reduces the operation difficulty for users, and improves the user experience.
[0006] To achieve the above technical objectives, this application provides the following technical solutions:
[0007] In a first aspect, a device login method is provided, which is applied to a first electronic device. Among them, communication connections are established between the first electronic device and at least one display screen, and a second electronic device. The method includes: obtaining a first position of the second electronic device, where the second electronic device is a mobile terminal; determining that the first position is located in a first target three-dimensional space, and obtaining a target display screen among at least one display screen, where part or all of the target display screen is located in the first target three-dimensional space; and logging in to a first account of the second electronic device through the target display screen.
[0008] When the first electronic device determines that the second electronic device has entered the first target three-dimensional space corresponding to the target display screen, it can be determined that the user currently carrying the second electronic device has approached the target display screen, and there is a possibility of operating the target display screen. Therefore, the first electronic device can automatically log in to the first account of the second electronic device through the target display screen. In this way, by determining whether the second electronic device is located in the pre-configured first target three-dimensional space, automatic account login to the target display screen is realized. This account login process no longer depends on the user's active login, effectively reducing the user operation difficulty.
[0009] In some examples, the first electronic device is a vehicle-mounted computer, and at least one display screen and the first electronic device are located in the same vehicle.
[0010] In some examples, the second electronic device is a wearable device. In some examples, the second electronic device is a smart watch or a smart bracelet.
[0011] According to the first aspect, after logging in to the first account of the second electronic device through the target display screen, the target display screen is default in the locked screen state, and the method further includes: detecting a first operation of the user on the target display screen. In response to the first operation, when the second position of the second electronic device is located in the second target three-dimensional space corresponding to the target display screen, unlocking the target display screen; wherein, there is an overlapping space between the first target three-dimensional space and the second target three-dimensional space, and part or all of the target display screen is located in the overlapping space.
[0012] In some examples, the second target three-dimensional space is smaller than the first target three-dimensional space.
[0013] In some examples, the first target three-dimensional space includes the second target three-dimensional space.
[0014] Exemplarily, when the first electronic device determines that it has detected an unlocking operation of the user on the target display screen and determines that the current second electronic device is located in the second target three-dimensional space, it can be determined that the unlocking operation is performed by the user carrying the second electronic device. Therefore, the first electronic device can instruct the target display screen to be automatically unlocked, so that the user carrying the second electronic device can continue to operate the target display screen without having to perform an unlocking verification again. In this way, while ensuring the security of user data, the user operation difficulty is effectively reduced.
[0015] According to the first aspect, or any one of the implementation manners of the above first aspect, before logging in to the first account of the second electronic device through the target display screen, the method further includes: obtaining the device identifier of the second electronic device. Obtaining the first account locally saved and having a binding relationship with the device identifier.
[0016] In some examples, a whitelist corresponding to a first account is maintained in a server. The device identifiers of the electronic devices in the logged-in state of the first account are recorded in the whitelist, and these electronic devices are trusted devices. The first electronic device can obtain the whitelist sent by the server. Subsequently, before the first electronic device logs in to the first account of the second electronic device through the target display screen, it can first confirm whether the identifier of the second electronic device is in the whitelist. If the device identifier of the second electronic device is in the whitelist, the first electronic device can determine that the second electronic device is a trusted device, and then the first electronic device can automatically log in to the first account through the target display screen, thereby ensuring the security of the first account. If the device identifier of the second electronic device is not in the whitelist, the first electronic device can determine that the second electronic device is not a trusted device, and then the first electronic device does not need to log in to the first account through the target display screen, thereby avoiding affecting the security of the user data under the first account.
[0017] In this way, by determining the binding relationship between the device identifier and the first account, the security of account login is enhanced.
[0018] In some examples, after the first electronic device determines that the first position of the second electronic device is in the first target three-dimensional space, it obtains the device identifier of the second electronic device to determine the first account corresponding to the device identifier, and completes the automatic login of the first account on the target display screen.
[0019] In other examples, after the first electronic device establishes a communication connection with the second electronic device, it can obtain the device identifier of the second electronic device, and then determine the first account corresponding to the device identifier of the second electronic device. After that, the first electronic device monitors the position of the second electronic device again. After determining that the first position of the second electronic device is in the first target three-dimensional space, it completes the automatic login of the first account on the target display screen. Optionally, the first electronic device obtains the first account corresponding to the device identifier in the locally saved whitelist according to the device identifier of the second electronic device, determines that the second electronic device is a trusted device, and can monitor the position of the second electronic device, thereby ensuring the security of the user data under the first account. Otherwise, in the case where the first electronic device fails to obtain the first account corresponding to the device identifier in the locally saved whitelist, the first electronic device determines that the second electronic device is not a trusted device and does not need to monitor the position of the second electronic device, thereby saving power consumption.
[0020] According to the first aspect, or any one of the above implementation manners of the first aspect, logging in to the first account of the second electronic device through the target display screen includes: obtaining the account currently logged in to the second electronic device. When the first account is the same as the account currently logged in to the second electronic device, logging in to the first account of the second electronic device through the target display screen.
[0021] In some examples, since the electronic device can log in to one or more accounts, to ensure the security of the user data under the account, before the first electronic device logs in to the first account on the target display screen, it can first confirm whether the account currently logged in on the second electronic device is the first account. When the account currently logged in on the second electronic device is the first account, the target display screen then logs in to the first account, thereby ensuring the security of the user data under the first account.
[0022] For example, user A is the owner of a smartwatch. In response to the login status of account 1 of user A on the smartwatch, the server determines that the smartwatch is a trusted device and establishes a binding relationship between the device identifier of the smartwatch and account 1. The main account of the in-vehicle unit is account 2, and there is an association between account 2 and account 1. The white list sent by the server to the in-vehicle unit includes the binding relationship between the device identifier of the smartwatch and account 1. Subsequently, user B uses user A's smartwatch and brings the smartwatch close to the vehicle. In one case, user B instructs the smartwatch to log in to user B's account 3. The in-vehicle unit determines according to the saved binding relationship that the account 1 corresponding to the device identifier of the smartwatch therein is not the same as the account 3 currently logged in on the smartwatch. Therefore, it does not need to instruct the target display screen to log in to account 1, thereby avoiding the target display screen loading the user data of user A and affecting the security of the user data of user A. In another case, the smartwatch logs out of account 1 and does not log in to other accounts. In response to the non-login status of the smartwatch, the in-vehicle unit also does not need to instruct the target display screen to log in to account 1, thereby avoiding the target display screen loading the user data of user A and affecting the security of the user data of user A.
[0023] According to the first aspect, or any one of the implementation manners of the above first aspect, before obtaining the first position of the second electronic device, the method further includes: in response to the second operation of the user, logging in to the second account through the server, where the second account is the first account or an account associated with the first account. Receiving and saving the white list sent by the server, where the white list includes the binding relationship between the device identifier of the second electronic device and the first account.
[0024] In this way, the in-vehicle unit ensures the security of the subsequent automatic login of the target display screen by maintaining the white list.
[0025] In some examples, when the server determines that the white list is updated, it automatically sends the updated white list to the first electronic device. For example, when the third electronic device logs in to the first account, the server obtains the binding relationship between the device identifier of the third electronic device and the first account, and can add this binding relationship to the white list and send the updated white list to the first electronic device. In this way, after the third electronic device approaches the first electronic device and enters the first target three-dimensional space subsequently, the first electronic device can automatically log in to the first account through the target display screen.
[0026] In some examples, the first electronic device or other electronic devices may add an account associated with the second account according to a user operation. Herein, the second account is the account of the first electronic device.
[0027] For example, after the first electronic device logs in to the second account, a certain display screen detects a user operation to request logging in to the first account and sends a login request for the first account to the server. After the server determines that the first electronic device has logged in to the first account, it may establish an association relationship between the first account and the second account.
[0028] For another example, during the operation of a vehicle management application, a third electronic device (such as a mobile phone) logs in to the second account of the vehicle. The third electronic device detects a user operation to add a trusted account and obtains the first account. The third electronic device sends the first account to the server, and the server may set the first account as a trusted account and establish an association relationship between the first account and the second account.
[0029] In some examples, when there is an association relationship between the first account and the second account, the first account and the second account may share the whitelist corresponding to the first account and the whitelist corresponding to the second account. Herein, the whitelist corresponding to the first account includes the device identifiers of the electronic devices in the logged-in state of the first account, and the whitelist corresponding to the second account includes the device identifiers of the electronic devices in the logged-in state of the second account.
[0030] In some examples, the whitelist includes the first account and the second account. In some examples, after the first electronic device determines that the second electronic device has moved into the first target three-dimensional space and obtains the first account corresponding to the second electronic device, and determines that the first account is an account in the whitelist, it may directly log in to the first account through the target display screen. That is, the first electronic device does not need to determine the device identifier of the second electronic device anymore.
[0031] According to the first aspect, or any implementation manner of the above first aspect, each of at least one display screen connected to the first electronic device is configured with a corresponding three-dimensional space, and the corresponding three-dimensional spaces of each display screen do not overlap.
[0032] In this way, the first electronic device can determine a unique target display screen according to the three-dimensional space where the second electronic device is located.
[0033] In a second aspect, a first electronic device is provided. The electronic device includes: a processor and a memory, the memory being coupled to the processor, the memory being configured to store computer program code, the computer program code including computer instructions, and when the processor reads the computer instructions from the memory, causing the first electronic device to perform: the first electronic device obtains a first location of a second electronic device that has a communication connection with the first electronic device, the second electronic device being a mobile terminal. Determine that the first location is within a first target three-dimensional space, and obtain a target display screen among at least one display screen that has a communication connection with the first electronic device, a part or all of the target display screen being within the first target three-dimensional space. Log in to the first account of the second electronic device through the target display screen.
[0034] According to the second aspect, after logging in to the first account of the second electronic device through the target display screen, the target display screen is default in a locked screen state, and when the processor reads the computer instructions from the memory, it also causes the first electronic device to perform: detecting a first operation of the user on the target display screen. In response to the first operation, when a second location of the second electronic device is within a second target three-dimensional space corresponding to the target display screen, unlocking the target display screen; wherein, there is an overlapping space between the first target three-dimensional space and the second target three-dimensional space, and a part or all of the target display screen is within the overlapping space.
[0035] According to the second aspect, or any one implementation manner of the above second aspect, the second target three-dimensional space is smaller than the first target three-dimensional space.
[0036] According to the second aspect, or any one implementation manner of the above second aspect, the first target three-dimensional space includes the second target three-dimensional space.
[0037] According to the second aspect, or any one implementation manner of the above second aspect, when the processor reads the computer instructions from the memory, it also causes the first electronic device to perform: obtaining a device identifier of the second electronic device. Obtaining a first account locally saved and having a binding relationship with the device identifier.
[0038] According to the second aspect, or any one implementation manner of the above second aspect, logging in to the first account of the second electronic device through the target display screen includes: obtaining the account currently logged in to the second electronic device. When the first account is the same as the account currently logged in to the second electronic device, logging in to the first account of the second electronic device through the target display screen.
[0039] According to a second aspect, or any implementation manner of the above second aspect, when the processor reads computer instructions from the memory, it further causes the first electronic device to perform: in response to a second operation of the user, log in to a second account through the server, where the second account is the first account or an account associated with the first account. Receive and save the whitelist sent by the server, where the whitelist includes the binding relationship between the device identifier of the second electronic device and the first account.
[0040] According to a second aspect, or any implementation manner of the above second aspect, each of at least one display screen connected to the first electronic device is configured with a corresponding three-dimensional space, and the three-dimensional spaces corresponding to each display screen do not overlap.
[0041] According to a second aspect, or any implementation manner of the above second aspect, the first electronic device is a vehicle head unit, and at least one display screen and the first electronic device are located in the same vehicle.
[0042] According to a second aspect, or any implementation manner of the above second aspect, the second electronic device is a wearable device.
[0043] According to a second aspect, or any implementation manner of the above second aspect, the second electronic device is a smart watch or a smart bracelet.
[0044] In a third aspect, a vehicle is provided, and the vehicle includes the first electronic device described in the above second aspect and any possible implementation manner thereof, and at least one display screen.
[0045] In a fourth aspect, an electronic device is provided, and the electronic device has a function of implementing the device login method described in the above first aspect and any possible implementation manner thereof. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0046] In a fifth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (which can also be referred to as an instruction or code), and when the computer program is executed by an electronic device, it causes the electronic device to execute the method of the first aspect or any implementation manner of the first aspect.
[0047] In a sixth aspect, a computer program product is provided, and when the computer program product runs on an electronic device, it causes the electronic device to execute the method of the first aspect or any implementation manner of the first aspect.
[0048] In a seventh aspect, a circuit system is provided, and the circuit system includes a processing circuit configured to execute the method of the first aspect or any implementation manner of the first aspect.
[0049] In an eighth aspect, a chip system is provided, including at least one processor and at least one interface circuit. The at least one interface circuit is configured to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the implementation manners in the first aspect.
[0050] The technical effects of the foregoing aspects can be referred to each other, and will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 Schematic diagram of the distribution position of the in-cabin display screen provided by the embodiment of the present application;
[0052] Figure 2 Schematic diagram of the communication system to which the device login method provided by the embodiment of the present application is applied;
[0053] Figure 3 Schematic diagram of the hardware structure of the first electronic device provided by the embodiment of the present application;
[0054] Figure 4 Schematic diagram of the flow of the device login method provided by the embodiment of the present application Figure 1 ;
[0055] Figure 5 Schematic diagram of the flow of the device login method provided by the embodiment of the present application Figure 2 ;
[0056] Figure 6 Schematic diagram of the three-dimensional space corresponding to the display screen provided by the embodiment of the present application;
[0057] Figure 7 Schematic diagram of the scene where the smart watch provided by the embodiment of the present application enters the first target three-dimensional space corresponding to the target display screen;
[0058] Figure 8 Schematic diagram of the flow of the device login method provided by the embodiment of the present application Figure 3 ;
[0059] Figure 9 Schematic diagram of the scene where the smart watch provided by the embodiment of the present application enters the second target three-dimensional space corresponding to the target display screen;
[0060] Figure 10 Schematic diagram of the structure of the first electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0061] Combined with the accompanying drawings in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "an", "the", "above-mentioned", "said", and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one" and "one or more" mean one or more than two (including two).
[0062] The reference to "one embodiment" or "some embodiments" etc. described in this specification means that a specific feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprise", "include", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise stated. "First" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features.
[0063] In the embodiments of the present application, words such as "exemplarily" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplarily" or "for example" is intended to present relevant concepts in a specific manner.
[0064] In some embodiments, full digital displays are gradually realized inside the cockpits of some vehicles. One or more display screens are provided inside the cockpits for displaying content such as digital instrument clusters, in-vehicle entertainment systems, etc. As Figure 1 shown, multiple display screens are provided inside the cockpit, such as the central control screen 11 on the central console, the display screen 12 in front of the passenger (also known as the front-row passenger) in the co-pilot seat, the display screen 13 in front of the left rear-row passenger, and the display screen 14 in front of the right rear-row passenger. It can be understood that other display screens may also be included inside the cockpit, such as the instrument screen on the instrument panel, the display screen on the roof, the display screen on the window, the display screen on the seat armrest, etc.
[0065] In some embodiments, there may be multiple users of a vehicle. For a vehicle with multiple displays, the user's account login operation is a frequent operation.
[0066] In some examples, the ways of account login include, for example, face recognition login, account password login, mobile phone QR code authorization login, near field communication (NFC) card login, key login, etc.
[0067] Among them, if you want to implement face recognition login, you need to configure cameras with face recognition capabilities for each display of the vehicle, which is costly. Moreover, the success rate of face recognition is affected by factors such as algorithms and environments, and there are problems such as time delay and failure rate. During the account password login process, the user needs to enter the account and password, which increases the requirements for the user's memory and the operation is complex. During the mobile phone QR code authorization process, the user needs to first ensure that the mobile phone has logged in to the account, operate on the mobile phone to trigger the mobile phone to display the QR code scanning interface, and also need to operate on the vehicle display to trigger the vehicle display to display the QR code. It can be seen that the user operation is relatively complex. However, NFC card or key login cannot flexibly bind accounts and verify the authenticity of the user's identity, affecting the security of user data.
[0068] Therefore, the embodiments of the present application provide a device login method. The first electronic device can automatically locate the location of the second electronic device. When the second electronic device is located within the target three-dimensional space, it can instruct the target display corresponding to the target three-dimensional space to automatically log in to the account of the second electronic device. It realizes automatic device account login, reduces the user operation difficulty, and improves the user experience.
[0069] Figure 2 It is a schematic diagram of the communication system to which the device login method provided by the embodiments of the present application is applied. As Figure 2 shown, the communication system includes a first electronic device 100 and a second electronic device 200.
[0070] Optionally, the first electronic device 100 may specifically be a vehicle-mounted computer (which can also be described as an in-vehicle terminal) and other terminals. The operating system installed on the first electronic device 100 includes but is not limited to or other operating systems. The first electronic device 100 may also not install an operating system. The present application does not limit the specific type of the first electronic device 100, whether it installs an operating system, and the installed operating system.
[0071] Optionally, the second electronic device 200 can be, for example, a wearable device such as a smart watch, a smart bracelet, a smart ring, or smart glasses. Alternatively, it can also be a mobile terminal device such as a mobile phone, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), or an artificial intelligence (AI) device. The operating system installed on the second electronic device 200 includes, but is not limited to or other operating systems. This application does not limit the specific type of the second electronic device 200 or the installed operating system.
[0072] In some embodiments, when the user brings the second electronic device 200 close to the first electronic device 100, the first electronic device 100 monitors the position of the second electronic device 200. After determining that the second electronic device 200 enters the target three-dimensional space, it can trigger the display screen corresponding to the target three-dimensional space to log in to the account corresponding to the second electronic device 200 and load the corresponding user data. Thus, while ensuring the security of user data, the operation of device login by the user is reduced, and the operation difficulty of the user is lowered. Optionally, the account corresponding to the second electronic device 200 can be a device-level account, such as a Huawei account. Alternatively, the account can also be an application-level account, such as a Smart Life application account, etc.
[0073] In some embodiments, as Figure 2 shown, the above communication system can further include a server 300. Optionally, the server 300 can be a cloud server or a network server and other devices or servers with computing functions. The server 300 can be a single server, a server cluster composed of multiple servers, or a cloud computing service center.
[0074] In some embodiments, the user can choose to log in to the same account on both the first electronic device 100 and the second electronic device 200. During the account login process, the server 300 can respectively obtain the device identifiers of the first electronic device 100 and the second electronic device 200 and confirm that the first electronic device 100 and the second electronic device 200 are trusted devices. Then, the server 300 can send the device identifier of the second electronic device 200 to the first electronic device 100. Subsequently, in response to the approach of the second electronic device 200, after the first electronic device 100 obtains the device identifier of the second electronic device 200, it can determine that the second electronic device 200 is a trusted device and allow automatic login to the account corresponding to the second electronic device 200.
[0075] Optionally, the first electronic device 100, the second electronic device 200, and the server 300 in the embodiments of the present application may be implemented by different devices, and the different devices may have the same, similar, or somewhat different hardware structures. For example Figure 3 the hardware structure shown.
[0076] For example, taking the first electronic device 100 having the hardware structure as shown in Figure 3 as an example, the hardware structure shown in Figure 3 will be described.
[0077] As shown in Figure 3 , the first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, a camera 193, and a display screen 194, etc.
[0078] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0079] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
[0080] The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
[0081] A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can hold the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the said memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0082] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0083] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the first electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the first electronic device 100.
[0084] The USB interface 130 is an interface that complies with the USB standard specification. Specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the first electronic device 100, and can also be used for data transmission between the first electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other terminal devices, such as AR devices, etc.
[0085] It is understandable that the interface connection relationships among the modules illustrated in the embodiments of the present application are only illustrative descriptions and do not constitute a structural limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may also adopt different interface connection manners in the above embodiments, or a combination of multiple interface connection manners.
[0086] The wireless communication function of the first electronic device 100 may be implemented through an antenna, a wireless communication module 160, a modulation and demodulation processor, a baseband processor, etc.
[0087] The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: the antenna can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0088] The wireless communication module 160 can provide solutions for wireless communications applied to the first electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna for radiation.
[0089] In some embodiments, the first electronic device 100 may communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), Beidou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).
[0090] The camera 193 is used to capture static images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a Complementary Metal-Oxide-Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in standard RGB, YUV, etc. formats. In some embodiments, the first electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0091] The first electronic device 100 realizes the display function through a GPU, a display screen 194, an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0092] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be manufactured using a liquid crystal display (LCD), such as an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-led, a Micro-led, a Micro-oled, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the first electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0093] Exemplarily, as Figure 1 shown, there are multiple display screens disposed within the first electronic device 100, such as the central control screen 11 on the central console, the display screen 12 in front of the passenger (also known as the front-row passenger) in the co-pilot seat, the display screen 13 in front of the left rear-row passenger, and the display screen 14 in front of the right rear-row passenger. It can be understood that other display screens may also be included within the electronic device, such as the instrument screen on the dashboard, the display screen on the roof, the display screen on the window, etc.
[0094] In some embodiments, the display screen 194 may also be integrated with an audio output module for playing audio. For example, for the display screen in front of the left rear-row passenger of the display screen 194, which is integrated with an audio output module, then during the process of playing video or audio, this display screen can output audio through this audio output module. Alternatively, multiple audio modules 170 are configured in the first electronic device 100, and different audio modules 170 can cooperate with different display screens 194 to play the audio of different display screens 194.
[0095] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0096] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the first electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the first electronic device 100 by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor.
[0097] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110. The first electronic device 100 can perform operations such as music playback and recording through the audio module 170. The audio module 170 can include a speaker, a receiver, a microphone, a headphone jack, and an application processor to implement audio functions.
[0098] In some embodiments, the first electronic device 100 can receive a user voice command through the audio module 170, and then the first electronic device 100 can analyze the voice command to obtain audio information. In addition, in response to the voice command, the first electronic device 100 can also obtain the display information corresponding to each display screen. Then, the first electronic device 100 can match the audio information and the display information to determine the target display screen corresponding to the display information that matches the audio information. Then, the first electronic device 100 can execute the voice command through the target display screen.
[0099] The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity optical sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0100] The keys 190 include a steering wheel control key, a power-on key, a volume key, etc. The keys 190 may be mechanical keys or touch keys. The first electronic device 100 may receive key inputs and generate key signal inputs related to the user settings and function controls of the first electronic device 100.
[0101] Taking the first electronic device 100 as a vehicle-mounted device, the second electronic device 200 as a smart watch, and the server 300 as a server as an example, the device login method provided in the embodiments of the present application will be introduced in detail below.
[0102] Figure 4 It is a schematic flowchart of a device login method provided in the embodiments of the present application. It should be noted that this method is not limited by Figure 4 the specific order described below. It should be understood that in other embodiments, the order of some steps of this method may be interchanged according to actual needs, or some of the steps may also be omitted or deleted. The method includes the following steps:
[0103] S401. The server obtains the first account corresponding to the smart watch.
[0104] Among them, the first account is a device-level account or an application-level account. For example, the first account is a Huawei account. After the smart watch is powered on for the first time, in response to the user's login operation, it logs in to the Huawei account through interaction with the server. Subsequently, when the smart watch is powered on after being powered off, it can automatically log in to the Huawei account. Another example is that the first account is a Smart Life application account, etc.
[0105] In some embodiments, during the process of the smart watch logging in to the first account, the server can obtain the device identifier of the smart watch according to the account login request sent by the smart watch. After the verification of the device logging in to the first account is passed, the server can identify the smart watch as a trusted device.
[0106] In some examples, a whitelist corresponding to a first account is maintained in the server, and the whitelist is used to store the device identifiers of the electronic devices in which the first account is in a logged-in state. It should be understood that different electronic devices can log in to the same account. In some examples, after the server determines that the smartwatch is a trusted device, such as after the smartwatch completes account login, the server establishes a binding relationship between the device identifier of the smartwatch and the first account, and saves the binding relationship to the whitelist corresponding to the first account. In some examples, in the case where the smartwatch is the first device to log in to the first account (such as when the user creates the first account through the smartwatch), the server creates a whitelist corresponding to the first account in response to the account login request sent by the smartwatch.
[0107] Exemplarily, after the server determines that the first account of the smartwatch is in a logged-in state in response to the account login request sent by the smartwatch, the server records the binding relationship between the device identifier of the smartwatch and the first account in the whitelist. Optionally, subsequently, when the smartwatch logs out of the first account, such as when the user instructs the smartwatch to log out of the first account or automatically logs out after a long time of inactivity after logging in, the server obtains the change in the login state of the first account of the smartwatch and confirms that the first account corresponding to the smartwatch is in an unlogged state. Then, the server obtains the whitelist corresponding to the first account and deletes the binding relationship between the device identifier of the smartwatch and the first account recorded in the whitelist. Optionally, subsequently, the smartwatch logs in to the first account again. Then, in response to the smartwatch being in a logged-in state of the first account, the server can add the binding relationship between the device identifier of the smartwatch and the first account to the whitelist of the first account again.
[0108] In some embodiments, the smartwatch does not have to be in a logged-in state of the first account, and the server can also obtain the binding relationship between the device identifier of the smartwatch and the first account. Optionally, the smartwatch has never logged in to the first account, or the smartwatch is in an unlogged state of the first account. For example, a mobile phone (or other electronic device) has logged in to the first account, and detects an operation of the user adding the smartwatch as a trusted device corresponding to the first account, that is, detects an account authorization operation, and sends a trusted device addition request to the server. Correspondingly, the server can establish a binding relationship between the first account and the device identifier of the smartwatch according to the trusted device addition request, and add the binding relationship to the whitelist corresponding to the first account. Optionally, in the current scenario, the whitelist at least includes the binding relationship between the device identifier of the mobile phone and the first account, and the binding relationship between the device identifier of the smartwatch and the first account.
[0109] S402. The in-vehicle device sends an account login request to the server, and the account login request carries a second account.
[0110] S403. The server obtains the whitelist corresponding to the second account, and the whitelist includes the first account associated with the second account.
[0111] Among them, the second account is the owner account or the owner - authorized account.
[0112] For example, the owner of the vehicle property rights is user A. The in - vehicle computer (or other electronic device) in the vehicle responds to the operation of user A and creates a second account for managing the vehicle - wide data. Then the second account is the owner account. Optionally, during the account creation process, the server responds to the request of the in - vehicle computer and creates the second account and sets the second account as the owner account.
[0113] Another example, the owner of the vehicle property rights is a car rental company. The car rental company creates the owner account. Subsequently, user A rents the vehicle. Through the authorization of the owner account, the second account of user A can obtain the permission to manage the vehicle - wide data of the vehicle. Then the second account is the owner - authorized account. Optionally, during the account authorization process, the server completes the account authorization according to the request of the electronic device logging in to the owner account and sets the second account as the owner - authorized account.
[0114] In some embodiments, the in - vehicle computer can log in to one or more accounts according to user operations. Among them, the second account logged in on the in - vehicle computer for managing the vehicle - wide data is described as the main account, and the other device accounts (such as the first account) logged in on the in - vehicle computer are described as the sub - accounts.
[0115] For example, when the in - vehicle computer has logged in to the main account (such as the second account), the in - vehicle computer detects the operation of the user requesting to log in to the first account on the co - pilot screen and sends an account login request carrying the first account to the server. The server responds to the account login request and determines that the first account is a sub - account.
[0116] In some examples, after the in - vehicle computer determines that the sub - account (such as the first account) is logged in to the display screen for the first time, it can allocate a user space for the first account to save the user data received by the first account, such as the setting data of functions such as air conditioners and seats, application data, etc. Subsequently, through the content described in step S501 - step S504 below, after the in - vehicle computer automatically logs in to the first account on the target display screen, it can load the user space corresponding to the first account on the target display screen.
[0117] In some examples, the server receives an account login request sent by the in-vehicle unit and obtains the second account carried therein. The server confirms that the second account is the primary account, i.e., the vehicle owner's account or an account authorized by the vehicle owner, and can obtain the whitelist corresponding to the second account, so that the in-vehicle unit can subsequently automatically authorize the automatic login of other accounts within the whitelist. Among them, the vehicle data managed by the primary account includes user data corresponding to different user spaces corresponding to different secondary accounts. Therefore, the primary account has the permission to authorize the automatic login of other secondary accounts to ensure data security. Based on this, after the server receives the account login request of the primary account, it will confirm the whitelist corresponding to the primary account.
[0118] In some embodiments, when the in-vehicle unit (or other electronic device) has already logged in to the second account, in response to a user operation, the first account can be set as a trusted account. The in-vehicle unit can establish an association relationship between the first account and the second account and send the association relationship to the server. Alternatively, the in-vehicle unit (or other electronic device) sends a trusted account addition request to the server and carries the first account in the trusted account addition request. Then, in response to the trusted device addition request, the server can establish and save the association relationship between the second account currently logged in by the in-vehicle unit and the first account, and then the server can send the association relationship to the in-vehicle unit.
[0119] For example, the mobile phone responds to a user operation and starts a vehicle management application. The vehicle management application is used to manage vehicle data, operate the vehicle, etc., and the vehicle management application has logged in to the second account. Then, in response to the user's operation of adding a trusted account in the vehicle management application, the mobile phone obtains the first account and sends a trusted account addition request carrying the first account to the server. In this way, the server establishes and saves the association relationship between the second account and the first account to complete the addition of the trusted account.
[0120] In some embodiments, when the in-vehicle unit (or other electronic device) has already logged in to the second account, it detects the user's operation of logging in to another account (such as the first account), sends an account login request to the server, and carries the first account in the account login request. Then, after the server authorizes the in-vehicle unit to log in to the first account, it can establish the association relationship between the second account (primary account) currently logged in by the in-vehicle unit and the first account (secondary account).
[0121] In some embodiments, the associated primary account and secondary account share a whitelist. For example, after the server establishes the association relationship between the first account and the second account, it can obtain the whitelist 1 corresponding to the first account and establish the corresponding relationship between the second account and the whitelist 1. In this way, the second account not only corresponds to the original whitelist 2 corresponding to itself, but also corresponds to the whitelist 1. Among them, the whitelist 1 includes the binding relationship between the device identifier of the electronic device in the logged-in state of the first account and the first account, and the whitelist 2 includes the binding relationship between the device identifier of the electronic device in the logged-in state of the second account and the second account. Then, the whitelist corresponding to the second account includes the whitelist 1 and the whitelist 2, or the server can establish the corresponding relationship between the second account and the shared whitelist after merging the whitelist 1 and the whitelist 2. That is, when there is an association relationship between the first account and the second account, the first account and the second account can share the whitelist corresponding to the first account and the whitelist corresponding to the second account. Then, in response to the account login request sent by the in-vehicle unit, the whitelist obtained by the server corresponding to the second account includes the second account and the first account associated with the second account.
[0122] It should be understood that step S401 occurs before step S402, but not every time before step S402 includes step S401. For example, after the server obtains the first account corresponding to the smart watch, it can detect one or more account login requests sent by the in-vehicle unit. S404: The server sends the whitelist to the in-vehicle unit.
[0123] In some embodiments, after the server obtains the whitelist corresponding to the second account, it feeds back the whitelist to the in-vehicle unit. Correspondingly, the in-vehicle unit receives the whitelist fed back by the server.
[0124] In some examples, in steps S402 - S404, in response to the account login request sent by the in-vehicle unit, the server can feed back to the in-vehicle unit the whitelist corresponding to the second account currently logged in to the in-vehicle unit. Alternatively, the in-vehicle unit can also send a request to the server alone to obtain a trusted device (or trusted account), and the trusted device is an electronic device in the logged-in state of the first account associated with the second account. In response to this request, the server obtains the first account associated with the second account and sends the whitelist corresponding to the first account to the in-vehicle unit.
[0125] In some examples, the server determines that there is no account associated with the second account. Then, the server will not send the whitelist to the in-vehicle unit. Or, it sends the whitelist corresponding only to the second account to the in-vehicle unit.
[0126] S405: The in-vehicle unit saves the whitelist.
[0127] In some embodiments, the in-vehicle unit receives the whitelist sent by the server and saves the whitelist.
[0128] Optionally, the whitelist sent by the server includes the first account and the second account. Alternatively, the whitelist sent by the server further includes the association relationship between the first account and the device identifier of the smartwatch.
[0129] It should be understood that this whitelist can also be described as a trusted device list or the like.
[0130] In some examples, the in-vehicle device maintains a whitelist, which includes at least one piece of trusted device information (such as the device identifier of the smartwatch). Among them, the electronic device indicated by the trusted device information is a trusted device that the user authorizes to log in to the first account and the first account is currently in the logged-in state. Therefore, subsequently, based on this electronic device, the in-vehicle device can determine that the user carrying this electronic device is trusted, ensuring the security of the automatic login of the vehicle display screen.
[0131] In this way, the in-vehicle device ensures the security of the subsequent automatic login of the target display screen by maintaining the whitelist.
[0132] In some embodiments, when the server determines that the whitelist is updated, it automatically sends the updated whitelist to the first electronic device.
[0133] For example, after the third electronic device logs in to the first account, the server establishes the binding relationship between the device identifier of the third electronic device and the first account, adds this binding relationship to the whitelist, and sends the updated whitelist to the first electronic device. In this way, after the subsequent third electronic device approaches the first electronic device and enters the target three-dimensional space, the first electronic device can also automatically log in to the first account through the target display screen corresponding to the target three-dimensional space.
[0134] The following details the automatic login process of the target display screen.
[0135] Figure 5 It is a schematic flowchart of another device login method provided by the embodiments of the present application. It should be noted that this method is not limited by Figure 5 the specific order described below. It should be understood that in other embodiments, the order of some steps of this method can be interchanged according to actual needs, or some of the steps can also be omitted or deleted. This method includes the following steps:
[0136] S501. The in-vehicle device and the smartwatch establish a communication connection.
[0137] In some embodiments, a wireless communication connection can be established between a vehicle head unit and a smartwatch. Among them, the wireless communication technologies for establishing the wireless communication connection include, but are not limited to, at least one of the following: ultra wide band (UWB), bluetooth (BT) (e.g., traditional bluetooth or bluetooth low energy (BLE) bluetooth), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), near field communication (NFC), Zigbee, frequency modulation (FM), infrared (IR), XingShan, etc.
[0138] In some examples, the vehicle head unit and the smartwatch support a proximity discovery function. Exemplarily, after the smartwatch approaches the vehicle head unit, the vehicle head unit and the smartwatch can discover each other, and then establish a wireless communication connection such as a UWB connection, a bluetooth connection, a Wi-Fi peer to peer (P2P) connection, etc.
[0139] S502. The vehicle head unit monitors the position of the smartwatch.
[0140] In some embodiments, after establishing a communication connection with the smartwatch, the vehicle head unit can monitor the position of the smartwatch to facilitate subsequent determination of whether to trigger automatic login to the target display screen.
[0141] In some examples, the vehicle head unit realizes the position monitoring of the smartwatch through functions such as UWB ranging, bluetooth ranging, and XingShan ranging.
[0142] S503. The vehicle head unit determines whether the smartwatch enters the first target three-dimensional space of the target display screen. If so, execute step S504; if not, return to execute step S502 to continue monitoring the position of the smartwatch.
[0143] In some embodiments, at least one display screen is configured in a vehicle, and the vehicle head unit is communicatively connected to the at least one display screen, and the communication connection can also be a wired communication connection or a wireless communication connection. The vehicle head unit divides the interior space of the vehicle according to the configuration of the display screens in the vehicle. For example, after determining a calibration point based on the positional relationship between the position of the display screen and the position of the seat, a certain three-dimensional space is divided with the calibration point as the center, and the corresponding display screen is located within the three-dimensional space. In this way, after the vehicle head unit determines that a trusted device (such as a smart watch) enters the first target three-dimensional space, it can be determined that the user carrying the smart watch may operate the target display screen corresponding to the first target three-dimensional space, so the vehicle head unit can instruct the target display screen to log in to the first account (that is, perform step S504). In the case where no smart watch enters the first target three-dimensional space, the vehicle head unit can determine that there is no user who needs to operate the target display screen, and only needs to continue monitoring the position of the smart watch (that is, perform step S502). For example, the current user is getting into the car and has not yet sat down on the seat, so it is temporarily impossible to confirm the target display screen that the user may operate.
[0144] Exemplarily, as Figure 6 shown, the front row of the vehicle includes a driver's seat and a passenger seat. Generally, a display screen 61 is configured in front of the passenger in the passenger seat (also referred to as the front-row passenger), and the display screen 61 is generally operated by the passenger in the passenger seat. Therefore, the three-dimensional space corresponding to the display screen 61 is generally used to locate whether there is a passenger in the passenger seat, and only when there is a passenger, the display screen 61 may be operated. For example, the center of the screen of the display screen 61 is set as the calibration point in advance, and a spherical three-dimensional space 62 corresponding to the display screen 61 is divided with the calibration point as the center of the circle. After that, after the vehicle head unit detects a trusted device (such as a smart watch), it can monitor whether the trusted device will enter the three-dimensional space 62 to determine whether there is a possibility that the display screen 61 will be operated, so as to determine whether the display screen 61 needs to automatically log in to the trusted device account.
[0145] Another exemplarily, as Figure 6 shown, a central control screen 63 is configured on the central console. The central control screen 63 is generally located in the middle position in front of the driver's seat and in front of the passenger seat, and is generally operated by the driver. Therefore, the three-dimensional space corresponding to the central control screen 63 is generally used to locate whether there is a driver in the driver's seat, and only when there is a driver, the central control screen 63 may be operated. For example, the position slightly to the left of the center of the screen of the central control screen 63 is set as the calibration point in advance, and a spherical three-dimensional space 64 corresponding to the central control screen 63 is divided with the calibration point as the center of the circle. After that, after the vehicle head unit detects a trusted device (such as a smart watch), it can monitor whether the trusted device will enter the three-dimensional space 64 to determine whether there is a possibility that the central control screen 63 will be operated, so as to determine whether the central control screen 63 needs to automatically log in to the trusted device account.
[0146] In some embodiments, the three-dimensional spaces corresponding to different display screens in the vehicle do not overlap. In this way, the in-vehicle computer can determine a unique target display screen based on the three-dimensional space where the smart watch is located.
[0147] Optionally, at least a part of the display screen is located within the three-dimensional space corresponding to the display screen. As in the above example, the entire display screen 61 is located within the corresponding three-dimensional space 62, and a part of the central control screen 63 is located within the corresponding three-dimensional space 64.
[0148] Exemplarily, after the in-vehicle computer automatically logs in to the first account subsequently, a prompt message can be displayed to prompt the user whether to confirm logging in to the first account. Then, at least the position of the display screen where the display area for displaying the prompt message is located should be within the three-dimensional space corresponding to the display screen. In this way, when the user confirms the prompt message, it can be confirmed that the first account corresponding to the prompt message is the login account of the smart watch worn by the user himself / herself, without causing misunderstanding.
[0149] Optionally, the shape of the three-dimensional space is not limited in the embodiments of the present application. For example, the three-dimensional space is spherical, cubic, irregular three-dimensional shape, etc.
[0150] S504. The in-vehicle computer instructs the target display screen to log in to the first account of the smart watch.
[0151] In some embodiments, when the in-vehicle computer determines that the smart watch enters the first target three-dimensional space of the target display screen, it can be determined that the user currently carrying the smart watch is close to the target display screen, and there is a possibility of operating the target display screen. Therefore, the in-vehicle computer can request the smart watch to obtain the device identifier of the smart watch. After that, based on the obtained device identifier of the smart watch, the in-vehicle computer obtains the first account corresponding to the device identifier in the whitelist saved locally. Then, the in-vehicle computer instructs the target display screen to automatically log in to the first account. Optionally, the in-vehicle computer instructs the target display screen to automatically log in to the first account in the background.
[0152] Exemplarily, as Figure 7 shown, the smart watch approaches the target display screen and enters the first target three-dimensional space. Optionally, the first target three-dimensional space is, for example, a sphere with a radius of 30 cm. After the smart watch enters the first target three-dimensional space, the distance between the smart watch and the target display screen is less than 30 cm. The relatively close distance makes it possible for the user carrying the smart watch to operate the target display screen. Therefore, the in-vehicle computer instructs the target display screen to log in to the first account of the smart watch.
[0153] In some examples, the in-vehicle unit instructs the target display screen to log in to the first account and instructs the target display screen to load the user space corresponding to the first account, so that the target display screen can obtain the corresponding user data, that is, the user can subsequently operate these user data on the target display screen.
[0154] In some examples, the background login of the first account on the target display screen means that the user does not need to perceive the login process of the first account and does not need to participate, so as to reduce the user operation difficulty. Subsequently, if the user needs to operate the target display screen, the user can directly operate the user data corresponding to the first account.
[0155] In this way, the account login of the display screen no longer depends on the user's active login, effectively reducing the user operation difficulty. Moreover, through the maintenance of the whitelist, the security of user data during the automatic login process is also guaranteed.
[0156] In some embodiments, during the process of establishing a communication connection between the in-vehicle unit and the smart watch, the in-vehicle unit can obtain the device identifier of the smart watch. In some examples, based on this device identifier, the in-vehicle unit and the smart watch establish a communication connection. Alternatively, after the in-vehicle unit establishes a communication connection with the smart watch, based on this communication connection, the in-vehicle unit requests to obtain the device identifier of the smart watch. After that, the in-vehicle unit monitors the position of the smart watch.
[0157] That is, the in-vehicle unit can first monitor the position of the smart watch. After determining that the smart watch is located in the first target three-dimensional space, the in-vehicle unit can obtain the device identifier of the smart watch. Alternatively, the in-vehicle unit can also first obtain the device identifier of the smart watch and then monitor the position of the smart watch to determine whether the smart watch is located in the first target three-dimensional space.
[0158] In some embodiments, the in-vehicle unit matches the obtained device identifier of the smart watch with the trusted device information in the maintained whitelist. If the match is successful, that is, the device identifier is saved in the whitelist, it can be determined that the smart watch is a trusted device. If the match fails, that is, the device identifier is not saved in the whitelist, it can be determined that the smart watch is not a trusted device. Optionally, after the in-vehicle unit determines that the smart watch is a trusted device, it instructs the target display screen to log in to the first account of the smart watch in the background. In some examples, if the in-vehicle unit determines that the smart watch is not a trusted device after establishing a communication connection with the smart watch, then the in-vehicle unit may not monitor the position of the smart watch, thereby saving power consumption.
[0159] In some embodiments, during the process of the in-vehicle unit monitoring the position of the smartwatch, the first account of the smartwatch is in a logged-in state, thus further ensuring the security of loading user data on the subsequent target display screen. During the process of the in-vehicle unit establishing a communication connection with the smartwatch, the in-vehicle unit can also obtain the account login information of the smartwatch, such as whether it is in a logged-in state and the logged-in account information, etc. Then, the in-vehicle unit obtains the saved binding relationship between the device identifier and the account, and based on the account login information of the smartwatch, determines whether the account saved by the in-vehicle unit that has a binding relationship with the device identifier of the smartwatch is the account that the smartwatch is currently logged in to. When the account saved by the in-vehicle unit that has a binding relationship with the device identifier of the smartwatch is the same as the account that the smartwatch is currently logged in to, the in-vehicle unit then monitors the position of the smartwatch to facilitate determining whether it is necessary to instruct the target display screen to log in to the first account subsequently. Otherwise, the in-vehicle unit does not need to monitor the position of the smartwatch anymore. Thus, the security of the user data corresponding to the first account is ensured, and the power consumption waste caused by unnecessary position monitoring is avoided.
[0160] For example, user A is the owner of the smartwatch. In response to the logged-in state of account 1 of user A on the smartwatch, the server determines that the smartwatch is a trusted device and establishes the binding relationship between the device identifier of the smartwatch and account 1. The main account of the in-vehicle unit is account 2, and there is an association relationship between account 2 and account 1. The white list sent by the server to the in-vehicle unit includes the binding relationship between the device identifier of the smartwatch and account 1. Subsequently, user B uses user A's smartwatch and brings the smartwatch close to the vehicle. In one case, user B instructs the smartwatch to log in to user B's account 3. The in-vehicle unit determines according to the saved binding relationship that the account 1 corresponding to the device identifier of the smartwatch therein is not the same as the account 3 that the smartwatch is currently logged in to. Therefore, the in-vehicle unit does not need to instruct the target display screen to log in to account 1, thus avoiding the target display screen from loading the user data of user A and affecting the security of user A's user data. In another case, the smartwatch logs out of account 1 and does not log in to other accounts. In response to the non-logged-in state of the smartwatch, the in-vehicle unit also does not need to instruct the target display screen to log in to account 1, thus avoiding the target display screen from loading the user data of user A and affecting the security of user A's user data.
[0161] In some embodiments, the white list saved by the in-vehicle unit includes the first account and the second account. After the in-vehicle unit determines that the smartwatch enters the first target three-dimensional space of the target display screen, the in-vehicle unit obtains the first account logged in by the smartwatch. The in-vehicle unit determines that this first account is in the white list and is a trusted account. Therefore, the in-vehicle unit can instruct the target display screen to log in to this first account. That is, the in-vehicle unit can also complete the automatic login of the account without verifying the device identifier of the smartwatch.
[0162] In some embodiments, the display screen of some vehicles is also configured with a screen locking function, and the screen locking verification information matches the first account. For example, after the device logs in to the first account, it is in the screen locked state by default. The user can set screen locking verification information such as a numeric or alphabetic password, a gesture password, or face recognition according to their needs. Subsequently, after other devices log in to the first account, these screen locking verification information will still be effective to ensure the security of the user data corresponding to the first account. Then, in order to reduce the operation difficulty of the user during the unlocking verification process after the target display screen logs in to the first account, the vehicle-mounted computer can continue to monitor the position of the smart watch to determine whether the user unlocking the target display screen is the user carrying the smart watch, and determine whether automatic unlocking can be performed, thereby further ensuring the security of user data.
[0163] The following details the automatic unlocking process of the target display screen.
[0164] Figure 8 It is a schematic flowchart of another device login method provided by an embodiment of the present application. It should be noted that this method is not limited by Figure 8 the specific order described below. It should be understood that in other embodiments, the order of some steps of this method can be interchanged according to actual needs, or some of the steps can also be omitted or deleted. As Figure 8 shown, after step S504, the method further includes the following steps:
[0165] S801. The vehicle-mounted computer continues to monitor the position of the smart watch.
[0166] In some embodiments, after the vehicle-mounted computer determines that the smart watch enters the first target three-dimensional space, it can continue to monitor the position of the smart watch to determine whether the user carrying the smart watch will further approach the target display screen.
[0167] In some examples, the smart watch is generally worn on the user's wrist. Therefore, by monitoring the position of the smart watch, if the smart watch further approaches the target display screen, it can be determined that the user needs to operate the target display screen, such as unlocking the target display screen.
[0168] S802. The vehicle-mounted computer determines whether the smart watch enters the second target three-dimensional space of the target display screen. If so, execute step S803; if not, return to execute step S801 to continue monitoring the position of the smart watch.
[0169] In some embodiments, there is a partially overlapping space between the first target three-dimensional space and the second target three-dimensional space, and the target display screen is located within this overlapping space. For example, the second target three-dimensional space is also a three-dimensional space centered on the calibration point of the first target three-dimensional space. Optionally, the second target three-dimensional space is smaller than the first target three-dimensional space. Optionally, the first target three-dimensional space includes the second target three-dimensional space.
[0170] For example, the first target three-dimensional space corresponding to the display screen configured in front of the passenger in the co-pilot seat is a sphere with a radius of 30 centimeters centered on the center of the screen of the display screen; the second target three-dimensional space corresponding to the display screen is a sphere with a radius of 3 centimeters centered on the center of the screen of the display screen.
[0171] Exemplarily, as Figure 9 shown, after the vehicle-mounted computer determines that the smart watch has entered the first target three-dimensional space, it continues to monitor the position of the smart watch, determines that the position of the smart watch has moved and is getting closer to the target display screen. After that, the vehicle-mounted computer determines that the smart watch has entered the second target three-dimensional space, and it can be determined that the user currently carrying the smart watch needs to operate the target display screen.
[0172] S803. The vehicle-mounted computer detects an unlocking operation by the user on the target display screen and automatically unlocks the target display screen.
[0173] Among them, the unlocking operation includes, for example, gesture operations such as swiping, clicking, double-clicking, etc. on the target display screen, or operations on the buttons corresponding to the target display screen.
[0174] In some embodiments, when the target display screen of the vehicle-mounted computer detects an unlocking operation by the user and the vehicle-mounted computer determines that the current smart watch is located within the second target three-dimensional space, it can be determined that this unlocking operation is performed by the user carrying the smart watch. Therefore, the vehicle-mounted computer can instruct the target display screen to be automatically unlocked so that the user carrying the smart watch can continue to operate the target display screen without having to perform an unlocking verification again. In this way, while ensuring the security of user data, the operation difficulty of the user is effectively reduced.
[0175] Exemplarily, the display screen in the vehicle has a certain degree of common use, and other users may also touch the target display screen. Therefore, when other users unlock the target display screen, it is necessary to perform an unlocking verification on this user to ensure the security of the user data corresponding to the first account that has been logged in. When the user carrying the smart watch unlocks the target display screen (such as the user swiping to unlock on the target display screen with the hand wearing the smart watch), the vehicle-mounted computer can determine that the smart watch carried by the user currently unlocking the target display screen is located within the second target three-dimensional space, and the unlocking security is relatively high. Therefore, it can instruct the target display screen to be automatically unlocked.
[0176] Optionally, the embodiments of the present application do not limit the execution order of step S802 and step S803. For example, the in-vehicle computer may also determine whether the current smart watch is located within the second target three-dimensional space corresponding to the target display screen after detecting an unlocking operation of the user on the target display screen. If so, the in-vehicle computer may automatically unlock the target display screen. That is, the in-vehicle computer may also first execute step S803 and then execute step S802.
[0177] In some embodiments, after the target display screen is automatically unlocked, the user can continue to operate the target display screen, such as editing application data, adjusting seat setting parameters, etc. The in-vehicle computer obtains the corresponding user data and saves it to the user space corresponding to the first account. Subsequently, when the user enters the vehicle again, the in-vehicle computer can load the latest user data for the user on the corresponding display screen. It should be understood that after the user enters the vehicle, they can select the desired seat according to their own needs, and the seat position is random. Then, each time the user enters the vehicle, the target display screen determined by the in-vehicle computer may also be different. During this process, the in-vehicle computer determines the target display screen that needs to be automatically logged in and automatically unlocked based on the position monitoring of the trusted device carried by the user and the determined three-dimensional space.
[0178] In some embodiments, if the in-vehicle computer does not detect an unlocking operation within a preset duration after determining that the smart watch has entered the second target three-dimensional space of the target display screen, it can be determined that the user currently does not need to operate the target display screen. Therefore, the in-vehicle computer can instruct the target display screen to automatically log out of the first account, thereby ensuring the security of the user data corresponding to the first account.
[0179] In some embodiments, after the in-vehicle computer determines that the user on the seat corresponding to the target display screen has got out of the vehicle, it can instruct the target display screen to automatically log out of the first account, thereby ensuring the security of the user data corresponding to the first account. For example, the in-vehicle computer determines that the target display screen is the display screen configured in front of the passenger in the co-pilot seat. The vehicle obtains the seat data of the co-pilot seat and determines that the user has left the seat. Moreover, the in-vehicle computer obtains the door data and determines that the door has been opened and then closed. Then, the in-vehicle computer can determine that the co-pilot passenger has left the vehicle. Therefore, the in-vehicle computer can instruct the display screen to log out of the first account, avoiding affecting the security of the user data corresponding to the first account when other passengers sit in the co-pilot seat later. It should be understood that the in-vehicle computer can also determine whether the user on the seat corresponding to the target display screen has got out of the vehicle through other data.
[0180] In some embodiments, the device login method provided by the embodiments of the present application can be applied not only to the above-mentioned vehicle (intelligent cockpit) scenario, but also to other physical space scenarios. For example, in the smart home scenario, different first target three-dimensional spaces and second target three-dimensional spaces corresponding to different smart home devices are pre-configured. Subsequently, when the mobile terminal enters the first target three-dimensional space, the central control device (such as a smart home control panel) can instruct the smart home device corresponding to the first target three-dimensional space to log in to the account of the mobile terminal. Subsequently, when the mobile terminal gets closer to the smart home device and enters the second target three-dimensional space corresponding to the smart home device, the central control device can instruct the smart home device to automatically unlock (or automatically run, etc.). Regarding this, the embodiments of the present application will not give further examples for illustration one by one.
[0181] In some examples, the smart home device may not be located in the first target three-dimensional space (or the second target three-dimensional space) corresponding to the smart home device. For example, the smart home device is a computer on a desk, the corresponding first target three-dimensional space is near the room door and the computer is not located in this first target three-dimensional space, and the corresponding second target three-dimensional space is near the desk and the computer is located in this second target three-dimensional space. Subsequently, when the user wears a smart watch to open the room door and the smart watch is located in the first target three-dimensional space, the central control device can instruct the computer to automatically log in to the account of the smart watch, and when the user gets closer to the computer and the smart watch reaches the second target three-dimensional space, it can instruct the computer to automatically unlock.
[0182] In the technical solution of the present application, the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information and other processes all comply with the provisions of relevant laws and regulations and do not violate public order and good customs. For example, in the technical solution of the present application, the processing of the user's personal information is carried out under the authorization of the user. This is hereby uniformly explained and will not be elaborated hereinafter.
[0183] The above combines Figures 4 - 9 and details the device login method provided by the embodiments of the present application. The following combines Figure 10 and details the first electronic device provided by the embodiments of the present application.
[0184] In a possible design, Figure 10 is a schematic structural diagram of the first electronic device provided by the embodiments of the present application. As Figure 10 shown, the first electronic device 1000 may include: a transceiver unit 1001 and a processing unit 1002. The first electronic device 1000 can be used to implement the functions of the vehicle-mounted computer involved in the above method embodiments.
[0185] Optionally, the transceiver unit 1001 is used to support the first electronic device 1000 to execute Figure 4S402 and S404 in; and / or, support the first electronic device 1000 to execute Figure 5 S501 and S502 in; and / or, support the first electronic device 1000 to execute Figure 8 S801 in.
[0186] Optionally, the processing unit 1002 is used to support the first electronic device 1000 to execute Figure 4 S405 in; and / or, support the first electronic device 1000 to execute Figure 5 S503 and S504 in; and / or, support the first electronic device 1000 to execute Figure 8 S802 and S803 in.
[0187] Wherein, the transceiver unit may include a receiving unit and a transmitting unit, may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the first electronic device 1000 are respectively for implementing the corresponding processes of the device login method described in the above method embodiments. All relevant contents of each step involved in the above method embodiments can be cited in the function descriptions of the corresponding functional units. For the sake of brevity, they will not be elaborated here.
[0188] Optionally, Figure 10 The first electronic device 1000 shown may further include a storage unit ( Figure 10 not shown in), and a program or instruction is stored in the storage unit. When the transceiver unit 1001 and the processing unit 1002 execute the program or instruction, it makes Figure 10 The first electronic device 1000 shown can execute the device login method described in the above method embodiments.
[0189] Figure 10 The technical effects of the first electronic device 1000 shown can refer to the technical effects of the device login method described in the above method embodiments, and will not be elaborated here.
[0190] In addition to the form of the first electronic device 1000, the technical solution provided in this application can also be a functional unit or chip in the first electronic device, or a device used in conjunction with the first electronic device.
[0191] This application embodiment also provides a chip system, including: a processor, the processor is coupled to a memory, and the memory is used to store a program or instruction. When the program or instruction is executed by the processor, the chip system implements the method in any of the above method embodiments.
[0192] Optionally, there may be one or more processors in the chip system. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor that implements functions by reading software code stored in a memory.
[0193] Optionally, there may also be one or more memories in the chip system. The memory may be integrated with the processor or may be separately provided from the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transitory processor, such as a read-only memory (ROM). It may be integrated with the processor on the same chip or may be separately provided on different chips. The embodiments of the present application do not specifically limit the type of the memory and the setting manner of the memory and the processor.
[0194] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0195] It should be understood that the steps in the above method embodiments may be completed by the integrated logic circuit in the hardware of the processor or by instructions in the form of software. The method steps disclosed in combination with the embodiments of the present application may be directly implemented by the execution of the hardware processor, or may be implemented by the combination of the hardware and software modules in the processor.
[0196] The embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer, the computer is caused to execute the above related steps to implement the device login method in the above embodiments.
[0197] The embodiments of the present application further provide a computer program product. When the computer program product runs on a computer, it causes the computer to execute the above-related steps to implement the device login method in the above embodiments.
[0198] In addition, the embodiments of the present application further provide a device. The device may specifically be a component or a module, and the device may include one or more processors and a memory connected to each other. Among them, the memory is used to store a computer program. When the computer program is executed by one or more processors, it causes the device to execute the device login method in the above method embodiments.
[0199] Among them, the device, computer-readable storage medium, computer program product or chip provided by the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.
[0200] The steps of the method or algorithm described in combination with the disclosed content of the embodiments of the present application can be implemented in a hardware manner or by a processor executing software instructions. The software instructions may be composed of corresponding software modules, and the software modules may be stored in a random access memory (RAM), flash memory, read only memory (ROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, mobile hard disk, CD-ROM (compact disc read only memory) or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in an application specific integrated circuit (ASIC).
[0201] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In practical applications, the above functions may be allocated to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the systems, devices, and units described above may refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0202] In several embodiments provided by the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of the modules or units can be in electrical, mechanical or other forms.
[0203] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0204] The computer-readable storage medium includes but is not limited to any one of the following: USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disc and other media that can store program codes.
[0205] As mentioned above, it is only the specific implementation manners of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A device login method, characterized in that, Applied to a first electronic device, communication connections are established between the first electronic device and at least one display screen, as well as a second electronic device. The method includes: Obtain a first position of the second electronic device, where the second electronic device is a mobile terminal; Determine that the first position is within a first target three-dimensional space, and obtain a target display screen among the at least one display screen, where part or all of the target display screen is within the first target three-dimensional space; Log in to a first account of the second electronic device through the target display screen.
2. The method according to claim 1, characterized in that, After logging in to the first account of the second electronic device through the target display screen, the target display screen is default in a locked screen state. The method further includes: Detect a first operation of a user on the target display screen; In response to the first operation, when a second position of the second electronic device is within a second target three-dimensional space corresponding to the target display screen, unlock the target display screen; wherein, there is an overlapping space between the first target three-dimensional space and the second target three-dimensional space, and part or all of the target display screen is within the overlapping space.
3. The method according to claim 2, wherein The second target three-dimensional space is smaller than the first target three-dimensional space.
4. The method according to claim 3, characterized in that, The first target three-dimensional space includes the second target three-dimensional space.
5. The method according to any one of claims 1-4, characterized in that Before logging in to the first account of the second electronic device through the target display screen, the method further includes: Obtain a device identifier of the second electronic device; Obtain the first account locally saved and having a binding relationship with the device identifier.
6. The method according to claim 5, characterized in that, The logging in to the first account of the second electronic device through the target display screen includes: Obtain the account currently logged in to the second electronic device; When the first account is the same as the account currently logged in to the second electronic device, log in to the first account of the second electronic device through the target display screen.
7. The method according to any one of claims 1-6, characterized in that, Before obtaining the first position of the second electronic device, the method further includes: In response to a second operation of a user, log in to a second account through a server, where the second account is the first account or an account associated with the first account; Receive and save a whitelist sent by the server, where the whitelist includes the binding relationship between the device identifier of the second electronic device and the first account.
8. The method according to any one of claims 1 to 7, characterized in that Each of the at least one display screen connected to the first electronic device is configured with a corresponding three-dimensional space, and the corresponding three-dimensional spaces of each display screen do not overlap.
9. The method according to any one of claims 1-8, characterized in that The first electronic device is a vehicle-mounted device, and the at least one display screen and the first electronic device are located in the same vehicle.
10. The method according to any one of claims 1-9, characterized in that, The second electronic device is a wearable device.
11. The method according to claim 10, wherein The second electronic device is a smart watch or a smart bracelet.
12. An electronic device, characterized in that, Includes: A processor and a memory, the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method according to any one of claims 1-11.
13. A vehicle, characterized in that, Includes: The electronic device according to claim 12, and at least one display screen.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program, which, when running on an electronic device, causes the electronic device to execute the method according to any one of claims 1-11.
15. A computer program product, characterized in that, When the computer program product runs on a computer, it causes the computer to execute the method according to any one of claims 1-11.