Code scanning login method and device, vehicle, storage medium and program product

By integrating the QR code login toolkit on the vehicle end, the target terminal scans the QR code to achieve vehicle computer login, solving the problems of long page jump links and poor user experience in the existing technology, and improving the convenience and scalability of login.

CN120408587APending Publication Date: 2025-08-01CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510545125.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the prior art, when a third-party application completes login in a vehicle account, the page jump link is long, the user experience is poor, and the login interaction is not customized, and the scalability is poor.

Method used

Integrated scanning code login toolkit on the vehicle terminal, by obtaining and displaying the login QR code, users use a third-party application on the target terminal to scan the QR code to achieve vehicle login, avoiding page jumps.

Benefits of technology

It improves the user experience, realizes the car-machine login process without jumping pages, simplifies the login process, and enhances the convenience and scalability of login.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120408587A_ABST
    Figure CN120408587A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a code scanning login method and device, a vehicle, a storage medium and a program product, and the method comprises the steps: obtaining a login request generated on a third end application of a vehicle end; calling a code scanning login toolkit according to the login request to obtain a login two-dimensional code, and querying the login two-dimensional code through the code scanning login toolkit; after the login two-dimensional code is inquired successfully, the login two-dimensional code is displayed on a vehicle end screen, and a user scans the login two-dimensional code through a third-party application on a target terminal to achieve vehicle machine login. Therefore, the problems of long page jump link, poor user experience and the like due to the fact that the third-party application needs to complete login in the vehicle-mounted terminal account application in the related technology are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a code scanning login method, device, vehicle, storage medium, and program product. Background Art

[0002] As living standards improve, cars are increasingly becoming commonplace. People drive not only for travel and leisure, but also for interaction, entertainment, and convenience. The automotive ecosystem must meet users' personalized needs, such as music volume, preferred seating position, entertainment platform login account, preferred Chinese and English modes, and screen brightness. The automotive ecosystem requires account logins to record user data and personalized preferences. Third-party accounts also need to be linked to the car's account, ensuring automatic login to third-party accounts upon the next car login, thus satisfying users' needs for entertainment and convenience.

[0003] In the prior art, the mainstream approach for logging into a car account through a third-party app is to open the car account app page and then return to the corresponding third-party app after successful login. This login method results in noticeable page jumps for the user, resulting in a poor interactive experience. Furthermore, the login process relies on the car account app, making the login interaction non-customizable and difficult to scale. Summary of the Invention

[0004] The present application provides a code scanning login method, device, vehicle, storage medium and program product to solve the problems in related technologies such as third-party applications needing to complete login within the vehicle account application, long page jump links, and poor user experience.

[0005] The first aspect of the present application provides a scanning code login method, which is applied to the vehicle side, and the vehicle side is integrated with a scanning code login toolkit, including the following steps: obtaining a login request generated on a third-party application on the vehicle side; calling the scanning code login toolkit according to the login request to obtain a login QR code, and querying the login QR code through the scanning code login toolkit; after the login QR code query is successful, the login QR code is displayed on the vehicle side screen, wherein the user uses the third-party application on the target terminal to scan the login QR code to realize vehicle login.

[0006] Optionally, the login QR code is queried through the code scanning login toolkit, including: detecting whether the login QR code is invalid; if invalid, directly clearing the login QR code, and calling the cloud interface service to create a new login QR code.

[0007] Optionally, detecting whether the login QR code is invalid includes: identifying the generation time and expiration time of the login QR code; calculating the expiration time of the login QR code based on the generation time and expiration time; if the current time is less than or equal to the expiration time point, determining that the login QR code is not invalid, otherwise determining that the login QR code is invalid.

[0008] Optionally, after successfully querying the login QR code, it further includes: polling the status data of the login QR code; generating an interactive page based on the status data and displaying it on the vehicle screen.

[0009] Optionally, the QR code scanning login method further includes: if the status data is authorized, generating broadcast data, where the broadcast data carries user information and account data; sending the broadcast data to other third-party applications on the vehicle side, and the other third-party applications log in to the vehicle machine account based on the user information and account data.

[0010] Optionally, before calling the QR code scanning login toolkit to obtain the login QR code according to the login request, it further includes: setting a monitoring event, where each third-party application corresponds to a monitoring event with a package name; monitoring the login QR code and the vehicle machine login result based on the monitoring event.

[0011] An embodiment of the second aspect of this application provides a QR code scanning login device, which is applied to the vehicle side, and the vehicle side is integrated with a QR code scanning login toolkit, including: an acquisition module, configured to acquire a login request generated on a third-party application on the vehicle side; a query module, configured to call the QR code scanning login toolkit to obtain a login QR code according to the login request, and query the login QR code through the QR code scanning login toolkit; a display module, configured to display the login QR code on the vehicle screen after successfully querying the login QR code, where the user scans the login QR code with a third-party application on the target terminal to implement vehicle machine login.

[0012] Optionally, the query module is further configured to detect whether the login QR code is invalid; if it is invalid, directly clear the login QR code and call the cloud interface service to create a new login QR code.

[0013] Optionally, the query module is further configured to identify the generation time and expiration duration of the login QR code; calculate the expiration time of the login QR code according to the generation time and expiration duration; if the current time is less than or equal to the expiration time point, determine that the login QR code is not invalid, otherwise determine that the login QR code is invalid.

[0014] Optionally, the QR code scanning login device further includes: a polling module, configured to poll the status data of the login QR code after successfully querying the login QR code; generating an interactive page based on the status data and displaying it on the vehicle screen.

[0015] Optionally, the QR code scanning login device further includes: a generation module, configured to generate broadcast data when the status data is authorized, where the broadcast data carries user information and account data; a sending module, configured to send the broadcast data to other third-party applications on the vehicle side, and the other third-party applications log in to the vehicle machine account based on the user information and account data.

[0016] Optionally, the code scanning login device further includes: a monitoring module, configured to set a monitoring event before calling the code scanning login toolkit according to a login request to obtain a login QR code, where each third-party application corresponds to a monitoring event with a package name; and monitor the login QR code and the in-vehicle unit login result based on the monitoring event.

[0017] A third aspect embodiment of the present application provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the code scanning login method as described in the above embodiment.

[0018] A fourth aspect embodiment of the present application provides a computer-readable storage medium, on which a computer program or instruction is stored, and when the computer program or instruction is executed, it is used to implement the code scanning login method as described in the above embodiment.

[0019] A fifth aspect embodiment of the present application provides a computer program product, including: a computer program or instruction, and when the computer program or instruction is executed, it is used to implement the code scanning login method as described in the above embodiment.

[0020] Therefore, the present application has at least the following beneficial effects:

[0021] In the embodiment of the present application, the vehicle end integrates a code scanning login toolkit, calls the code scanning login toolkit according to a login request to obtain a login QR code, and displays the login QR code on the vehicle end screen after the login QR code is successfully queried. The user does not need to jump to other pages or interfaces. The user scans the QR code through a third-party application on the target terminal to complete the in-vehicle unit login. The whole process does not require leaving the current operation interface, greatly improving the user experience.

[0022] Additional aspects and advantages of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present application. Description of the Drawings

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

[0024] Figure 1 is a flowchart of the code scanning login method provided according to an embodiment of the present application;

[0025] Figure 2 is a processing example diagram of the login QR code provided according to an embodiment of the present application;

[0026] Figure 3 is a flowchart of the login QR code caching mechanism provided according to an embodiment of the present application;

[0027] Figure 4An example diagram for setting up a listening event and removing a listening event provided according to an embodiment of the present application;

[0028] Figure 5 An example diagram for application isolation provided according to an embodiment of the present application;

[0029] Figure 6 An example diagram for an application listening callback provided according to an embodiment of the present application;

[0030] Figure 7 A flowchart for polling the status of a QR code provided according to an embodiment of the present application;

[0031] Figure 8 An example diagram for broadcast callback data provided according to an embodiment of the present application;

[0032] Figure 9 A block diagram of a QR code scanning login device provided according to an embodiment of the present application;

[0033] Figure 10 A schematic structural diagram of a vehicle provided according to an embodiment of the present application. Detailed implementation manners

[0034] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application, but should not be construed as limiting the present application.

[0035] The QR code scanning login method, device, vehicle and storage medium of the embodiments of the present application will be described below with reference to the accompanying drawings. In view of the problems mentioned in the above background art, the present application provides a QR code scanning login method, which is applied to the vehicle terminal. The vehicle terminal is integrated with a QR code scanning login toolkit. In this method, the QR code scanning login toolkit is called according to the login request to obtain the login QR code. After the login QR code is successfully queried, the login QR code is displayed on the vehicle terminal screen, and the user does not need to jump to other pages or interfaces. The user scans the QR code through a third-party application on the target terminal to complete the vehicle machine login, and the whole process does not need to leave the current operation interface, greatly improving the user experience.

[0036] Specifically, Figure 1 A flowchart of a QR code scanning login method provided by an embodiment of the present application.

[0037] As Figure 1 shown, the QR code scanning login method includes the following steps:

[0038] In step S101, a login request generated on the third-party application of the vehicle terminal is obtained.

[0039] Among them, third-party applications include: ecological applications on the vehicle side and common applications such as Himalaya, Bilibili, iQIYI, and KuGou Music.

[0040] It can be understood that in a vehicle-mounted system, third-party applications (such as music players, navigation software, etc.) may require users to log in to provide personalized services or access cloud data. To implement the login function, these applications will initiate a login request to the QR code scanning login toolkit on the vehicle side (which can be abbreviated as the QR code scanning login SDK later).

[0041] In step S102, the QR code scanning login toolkit is called according to the login request to obtain the login QR code, and the login QR code is queried through the QR code scanning login toolkit.

[0042] It can be understood that after receiving the login request, the QR code scanning login SDK will send an interface access request to the server to obtain the login QR code. Among them, the login QR code contains information such as the QR code string and the validity period.

[0043] In an embodiment of the present application, querying the login QR code through the QR code scanning login toolkit includes: detecting whether the login QR code has expired; if it has expired, directly clearing the login QR code and calling the cloud interface service to create a new login QR code.

[0044] In an embodiment of the present application, the QR code is queried through the QR code scanning SDK (including success and failure), and the interface is displayed according to the query result. When the QR code query callback fails, the ecological application can click to re-obtain and directly call the QR code scanning SDK to create a new QR code. The ecological application and the QR code scanning SDK communicate using the AIDL method. The above methods need to be used after the SDK is successfully initialized.

[0045] In an embodiment of the present application, detecting whether the login QR code has expired includes: identifying the generation time and expiration duration of the login QR code; calculating the expiration time of the login QR code according to the generation time and expiration duration; if the current time is less than or equal to the expiration time point, it is determined that the login QR code has not expired, otherwise it is determined that the login QR code has expired.

[0046] In the embodiment of the present application, there are multiple conditions for the QR code to expire, including that the current time point exceeds the QR code expiration time point, scanning the code to confirm authorization, scanning the code to cancel authorization, other QR code expiration states (such as the vehicle machine toke-id expires), and restarting the machine. If any of the above conditions is met, it is determined that the login QR code has expired.

[0047] As an implementation method, such as Figure 2As shown, the embodiments of the present application can determine that the login QR code has expired based on the current time point exceeding the QR code expiration time point. Specifically, the embodiments of the present application can identify the generation time and expiration duration of the login QR code. Among them, the generation time of the QR code refers to the moment when the server creates the QR code, and the expiration duration refers to the time interval from the generation to the expiration of the QR code, which can be preset to limit the effective time of the QR code and prevent malicious use.

[0048] Furthermore, the embodiments of the present application can calculate the expiration time of the login QR code based on the generation time and expiration duration. If the current time is less than or equal to the expiration time, the QR code is still valid (not expired). If the current time is greater than the expiration time, the QR code has expired.

[0049] In some embodiments, the embodiments of the present application also set up a QR code caching mechanism. Whenever a third-party application initiates a login request, if a new QR code is regenerated and the server interface is called each time, it may cause an increase in server load. By caching the most recently generated QR code, the present application can reduce unnecessary server interface calls, thereby reducing the pressure on the server. As Figure 3 shown, the embodiments of the present application ensure the accuracy and timeliness of the QR code data by regularly checking the validity of the cache. If the cache has expired, it will be automatically cleared and recreated.

[0050] In an embodiment of the present application, before calling the scan code login toolkit to obtain the login QR code according to the login request, it further includes: setting a monitoring event, where each third-party application corresponds to a monitoring event with a package name; monitoring the login QR code and the vehicle head unit login result based on the monitoring event.

[0051] The embodiments of the present application need to obtain the status change of the QR code and the login result in real time to respond to the user's operation in a timely manner. To meet this requirement, a monitoring event mechanism is set up. When each third-party application calls the scan code login toolkit, it will register a monitoring event with a package name. The role of the package name is to uniquely identify the application, avoiding conflicts between monitoring events of different applications. The registration and cancellation events of other applications will not affect the current caller; enabling the scan code SDK to have the ability to access multiple ecological applications. Among them, the processes of setting monitoring and removing monitoring are as Figure 4 shown. For the monitoring events and removal of multiple ecological applications, the event set needs to be managed, and adding and removing are only for a single application. For details, refer to Figure 5 and Figure 6 .

[0052] It should be noted that the monitoring callback includes the successful and failed creation of the QR code, as well as the callback change and failure of obtaining the QR code status. A single monitoring event callback returns different data. The access party only needs to set the monitoring event once to complete all data callback settings. After setting the monitoring, the SDK automatically queries the non-expired QR codes and uses a caching strategy to reduce the invocation of the QR code creation interface. The QR code caching expiration strategy enables the automatic invocation of the interface from the cloud to create a new QR code after the QR code expires (if there is no application that needs to be monitored, the cloud interface will not be invoked). When the user has not scanned the code and leaves the QR code login page midway, the monitoring event can be removed.

[0053] In step S103, after successfully querying the login QR code, the login QR code is displayed on the vehicle terminal screen. The user scans the login QR code using a third-party application on the target terminal to achieve vehicle machine login.

[0054] It can be understood that a successful query means that the QR code is in a valid state and can be used for subsequent vehicle machine login. The vehicle terminal screen will display the successfully queried QR code in a graphical form. The user scans the QR code on the vehicle terminal screen using a third-party application on the target terminal (such as a mobile phone). After scanning, the target terminal will parse the information in the QR code and interact with the server to complete the user's authentication and authorization operations. Thus, the user can complete the vehicle machine login by simply scanning the QR code, without the need to jump to an application or manually enter an account password or other complex operations.

[0055] In an embodiment of the present application, after successfully querying the login QR code, it further includes: polling the status data of the login QR code; generating an interaction page based on the status data and displaying it on the vehicle terminal screen.

[0056] After successfully querying the QR code, as Figure 7 shown, the SDK automatically starts a timing task to query the QR code status. When the status changes, the SDK calls back the latest status value to the third-party application and displays different interaction effects according to different statuses. The user scans the QR code using the target terminal, but selects "Cancel Authorization" during the authorization process. After detecting that the user cancels the authorization, the polling of the QR code status is also cancelled, and a new QR code is recreated for the user to try to log in again.

[0057] In an embodiment of the present application, the QR code scanning login method further includes: if the status data is authorized, generating broadcast data, where the broadcast data carries user information and account data; sending the broadcast data to other third-party applications on the vehicle terminal, and the other third-party applications log in to the vehicle machine account based on the user information and account data.

[0058] It can be understood that in a vehicle infotainment system, multiple third-party applications are usually integrated. To achieve a unified user experience, these applications may need to share the user's login status and account information. Through the QR code login method, the user only needs to complete one authorization operation, and multiple third-party applications can be logged in synchronously. When the QR code login SDK polls and discovers that the user has authorized by scanning the QR code, the SDK saves the user data, logs in to the vehicle infotainment account, and sends a broadcast to the vehicle infotainment system, such as Figure 8 shown. Other third-party applications listen to the login success broadcast (carrying account-related data), refresh the login success interface, and display the user information.

[0059] According to the QR code login method proposed in an embodiment of the present application, a QR code login toolkit is integrated on the vehicle side. According to the login request, the QR code login toolkit is called to obtain the login QR code. After the login QR code is successfully queried, the login QR code is displayed on the vehicle side screen, and the user does not need to jump to other pages or interfaces. The user scans the QR code through a third-party application on the target terminal to complete the vehicle infotainment login, and the entire process does not require leaving the current operation interface, greatly improving the user experience.

[0060] Next, a QR code login device according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0061] Figure 9 is a block diagram of the QR code login device according to an embodiment of the present application.

[0062] As Figure 9 shown, the QR code login device 10 includes: an acquisition module 100, a query module 200, and a display module 300.

[0063] Among them, the acquisition module 100 is used to obtain a login request generated on the third-party application on the vehicle side; the query module 200 is used to call the QR code login toolkit according to the login request to obtain the login QR code, and query the login QR code through the QR code login toolkit; the display module 300 is used to display the login QR code on the vehicle side screen after the login QR code is successfully queried, where the user uses a third-party application on the target terminal to scan the login QR code to achieve vehicle infotainment login.

[0064] In an embodiment of the present application, the query module 300 is further used to detect whether the login QR code is invalid; if it is invalid, the login QR code is directly cleared, and the cloud interface service is called to create a new login QR code.

[0065] In an embodiment of the present application, the query module 300 is further used to identify the generation time and expiration duration of the login QR code; calculate the expiration time of the login QR code according to the generation time and expiration duration; if the current time is less than or equal to the expiration time point, it is determined that the login QR code is not invalid, otherwise it is determined that the login QR code is invalid.

[0066] In one embodiment of the present application, the code scanning login device 10 further includes: a polling module, configured to poll the status data of the login QR code after successfully querying the login QR code; generate an interaction page according to the status data, and display it on the vehicle terminal screen.

[0067] In one embodiment of the present application, the code scanning login device 10 further includes: a generating module, configured to generate broadcast data when the status data is authorized, where the broadcast data carries user information and account data; a sending module, configured to send the broadcast data to other third-party applications on the vehicle terminal, where the other third-party applications log in to the vehicle machine account based on the user information and account data.

[0068] In one embodiment of the present application, the code scanning login device 10 further includes: a listening module, configured to set a listening event before calling the code scanning login toolkit to obtain the login QR code according to a login request, where each third-party application corresponds to a listening event with a package name; monitor the login QR code and the vehicle machine login result based on the listening event.

[0069] It should be noted that the foregoing explanation of the code scanning login method embodiment also applies to the code scanning login device of this embodiment, and will not be elaborated here.

[0070] According to the code scanning login device proposed in the embodiment of the present application, the vehicle terminal integrates a code scanning login toolkit, calls the code scanning login toolkit to obtain the login QR code according to the login request, and displays the login QR code on the vehicle terminal screen after successfully querying the login QR code. The user does not need to jump to other pages or interfaces. The user scans the QR code through a third-party application on the target terminal to complete the vehicle machine login, and the entire process does not require leaving the current operation interface, greatly improving the user experience.

[0071] Figure 10 The structural schematic diagram of the vehicle provided for the embodiment of the present application. The vehicle may include:

[0072] A memory 1001, a processor 1002, and a computer program stored on the memory 1001 and executable on the processor 1002.

[0073] When the processor urchases the program, it implements the code scanning login method provided in the foregoing embodiment.

[0074] Further, the vehicle further includes:

[0075] A communication interface 1003, configured for communication between the memory 1001 and the processor 1002.

[0076] The memory 1001 is used to store a computer program executable on the processor 1002.

[0077] The memory 1001 may include a high-speed RAM (Random Access Memory) memory and may also include a non-volatile memory, such as at least one disk memory.

[0078] If the memory 1001, the processor 1002, and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001, and the processor 1002 can be interconnected through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 10 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0079] Optionally, in a specific implementation, if the memory 1001, the processor 1002, and the communication interface 1003 are integrated on a chip, the memory 1001, the processor 1002, and the communication interface 1003 can communicate with each other through an internal interface.

[0080] The processor 1002 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0081] The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for scanning code to log in is implemented.

[0082] The embodiments of the present application also provide a computer program product, including: a computer program or instruction, and when the computer program or instruction is executed, the above-mentioned method for scanning code to log in is implemented.

[0083] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0084] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of such features. In the description of this application, the meaning of "N" is at least two, such as two, three, etc., unless otherwise specifically and clearly defined.

[0085] Any process or method description shown in a flowchart or described in other ways herein can be understood to represent a module, segment, or part of code including one or more N executable instructions for implementing a customized logical function or process, and the scope of the preferred embodiments of this application includes additional implementations, where the functions can be executed in a manner that is not in the order shown or discussed, including in a substantially simultaneous manner according to the involved functions or in a reverse order, which should be understood by those skilled in the art to which the embodiments of this application pertain.

[0086] It should be understood that the various parts of this application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware as in another embodiment, any one of the following technologies well known in the art or a combination of them can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays, field programmable gate arrays, etc.

[0087] Those of ordinary skill in the technical field of this application can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the said program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0088] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A method for scanning code to log in, characterized in that, The method is applied to the vehicle end, and the vehicle end is integrated with a scanning code login toolkit, including the following steps: Obtain a login request generated on a third-party application of the vehicle end; Call the scanning code login toolkit according to the login request to obtain a login QR code, and query the login QR code through the scanning code login toolkit; After the login QR code is successfully queried, display the login QR code on the vehicle end screen, where the user scans the login QR code with a third-party application on the target terminal to achieve vehicle machine login.

2. The code scanning login method according to claim 1, wherein Querying the login QR code through the scanning code login toolkit includes: Detect whether the login QR code is invalid; If it is invalid, directly clear the login QR code and call the cloud interface service to create a new login QR code.

3. The code scanning login method according to claim 2, wherein The detecting whether the login QR code is invalid includes: Identify the generation time and expiration duration of the login QR code; Calculate the expiration time of the login QR code according to the generation time and the expiration duration; If the current time is less than or equal to the expiration time point, determine that the login QR code is not invalid, otherwise determine that the login QR code is invalid.

4. The code scanning login method according to claim 1, wherein After the login QR code is successfully queried, it further includes: Poll the status data of the login QR code; Generate an interaction page according to the status data and display it on the vehicle end screen.

5. The code scanning login method according to claim 4, wherein It further includes: If the status data is authorized, generate broadcast data, where the broadcast data carries user information and account data; Send the broadcast data to other third-party applications of the vehicle end, where the other third-party applications log in to the vehicle machine account based on the user information and the account data.

6. The code scanning login method according to claim 1, wherein Before calling the scanning code login toolkit according to the login request to obtain a login QR code, it further includes: Set up a listening event, where each third-party application corresponds to a listening event with a package name; Monitor the login QR code and the vehicle machine login result based on the listening event.

7. A code scanning and login device, characterized in that, The device is applied to the vehicle end, and the vehicle end is integrated with a scanning code login toolkit, including: An obtaining module, configured to obtain a login request generated on a third-party application of the vehicle end; A querying module, configured to call the scanning code login toolkit according to the login request to obtain a login QR code, and query the login QR code through the scanning code login toolkit; A display module, configured to display the login QR code on the vehicle end screen after the login QR code is successfully queried, where the user scans the login QR code with a third-party application on the target terminal to achieve vehicle machine login.

8. A vehicle, characterized in that, It includes: A memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the scanning code login method according to any one of claims 1-6.

9. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instruction is executed, it implements the scanning code login method according to any one of claims 1-6.

10. A computer program product, comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed, it implements the scanning code login method according to any one of claims 1-6.