Vehicle-based payment method, device, electronic equipment and vehicle

CN122929648APending Publication Date: 2026-10-16CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611269454.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-20
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

[0004]本发明的目的之一在于提供一种基于车辆的支付方法,以解决现有技术中的需要用户伸手或探身去扫描二维码,存在诸多不便与安全隐患的问题;目的之二在于提供一种基于车辆的支付装置;目的之三在于提供一种电子设备;目的之四在于提供一种车辆

Benefits of technology

在本发明实施例中,车辆可以包括车载摄像装置,并且,车辆存储有车辆对应的车辆标识信息,在诸如停车场出口处等需要进行支付的需要停车、驻车或低速状态的支付场景下,可以获取车载摄像装置采集的二维码对应的二维码图像,并对二维码图像进行解码,得到二维码对应的原始载荷,根据原始载荷确定二维码类型,二维码类型包括信息缺失二维码类型和信息完整二维码类型中的至少一种,其中,在二维码类型为信息缺失二维码类型时,可以根据车辆标识信息获取支付信息,或者,在二维码类型为信息完整二维码类型时,可以从原始载荷中获取支付信息,并根据支付信息编码生成虚拟二维码图像,随后,可以将虚拟二维码图像投影至车辆中的指定位置处,以使车辆中的用户能够通过手机等终端设备对指定位置处的虚拟二维码图像进行扫码并支付,如此,车辆的用户无需伸手或探身处车辆外,即可在车辆中使用终端设备完成扫码并支付,提高了用户扫码支付便利性,同时消除了安全隐患。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122929648A_ABST
    Figure CN122929648A_ABST
Patent Text Reader

Abstract

The application relates to a vehicle-based payment method and device, electronic equipment and vehicle, and the vehicle comprises a vehicle-mounted camera, and the method comprises the following steps: acquiring a two-dimensional code image corresponding to a two-dimensional code collected by the vehicle-mounted camera; decoding the two-dimensional code image to obtain original load corresponding to the two-dimensional code; determining the two-dimensional code type according to the original load; when the two-dimensional code type is an information missing two-dimensional code type, acquiring payment information according to vehicle identification information, and when the two-dimensional code type is an information complete two-dimensional code type, acquiring the payment information from the original load; and encoding the payment information to generate a virtual two-dimensional code image and projecting the virtual two-dimensional code image to a specified position in the vehicle, so that a user in the vehicle can scan the virtual two-dimensional code image at the specified position through a terminal device and make payment. According to the embodiment of the application, the user can use the terminal device to complete scanning and payment in the vehicle without stretching out or reaching out of the vehicle, and the convenience of scanning and payment of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information processing technology, and more specifically to a vehicle-based payment method, device, electronic device, and vehicle. Background Technology

[0002] Currently, parking payment is a high-frequency scenario in the daily travel of car owners. At present, the main parking payment method relies on the physical QR code set up at the exit of the parking lot. Specifically, a QR code image including a QR code is usually posted or displayed on the screen at the exit of the parking lot. Users need to park their vehicles and use their mobile phones to reach out or lean out to scan the QR code image. After the scan is successful, the payment is completed on the mobile phone.

[0003] However, because users need to reach out or lean forward to scan a QR code to complete the payment, this parking payment method has many inconveniences and security risks in actual use. Summary of the Invention

[0004] One objective of this invention is to provide a vehicle-based payment method to solve the problems of inconvenience and security risks associated with requiring users to reach out or lean to scan QR codes in the prior art; a second objective is to provide a vehicle-based payment device; a third objective is to provide an electronic device; and a fourth objective is to provide a vehicle.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A vehicle-based payment method, wherein the vehicle includes an onboard camera device, and the vehicle stores vehicle identification information corresponding to the vehicle, the method comprising: Acquire the QR code image corresponding to the QR code captured by the vehicle-mounted camera device; The QR code image is decoded to obtain the original payload corresponding to the QR code; The QR code type is determined based on the original payload; the QR code type includes at least one of the following: a QR code type with missing information and a QR code type with complete information. When the QR code type is a QR code with missing information, payment information is obtained based on the vehicle identification information; or, when the QR code type is a QR code with complete information, payment information is obtained from the original payload. A virtual QR code image is generated based on the payment information encoding; The virtual QR code image is projected onto a designated location in the vehicle, enabling users in the vehicle to scan the virtual QR code image at the designated location and make payments using their terminal devices.

[0006] A vehicle-based payment device, wherein the vehicle includes an in-vehicle camera device, the vehicle stores vehicle identification information corresponding to the vehicle, and the device includes: The QR code image acquisition module is configured to acquire the QR code image corresponding to the QR code captured by the vehicle-mounted camera device; A QR code image decoding module is configured to decode the QR code image to obtain the original payload corresponding to the QR code; A QR code type determination module is configured to determine the QR code type based on the original payload; the QR code type includes at least one of a QR code type with missing information and a QR code type with complete information. The payment information acquisition module is configured to acquire payment information based on the vehicle identification information when the QR code type is a QR code with missing information, or to acquire payment information from the original payload when the QR code type is a QR code with complete information. The virtual QR code image generation module is configured to generate a virtual QR code image based on the payment information encoding; The virtual QR code image projection module is configured to project the virtual QR code image onto a designated location in the vehicle, so that users in the vehicle can scan the virtual QR code image at the designated location and make payments using a terminal device.

[0007] An electronic device includes: a processor; and a memory for storing processor-executable instructions. The processor is configured to execute the instructions to implement the vehicle-based payment method described above.

[0008] A computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform the aforementioned vehicle-based payment method.

[0009] A vehicle comprising the aforementioned electronic equipment.

[0010] The beneficial effects of this invention are: In this embodiment of the invention, the vehicle may include an in-vehicle camera device, and the vehicle stores vehicle identification information corresponding to the vehicle. In payment scenarios requiring parking, stationary, or low-speed operation, such as at a parking lot exit, the in-vehicle camera device can capture a QR code image corresponding to the QR code, and decode the QR code image to obtain the original payload corresponding to the QR code. The QR code type is determined based on the original payload, and the QR code type includes at least one of information-missing QR code type and information-complete QR code type. When the QR code type is information-missing QR code type, payment information can be obtained based on the vehicle identification information. Alternatively, when the QR code type is information-complete QR code type, payment information can be obtained from the original payload, and a virtual QR code image can be generated based on the payment information encoding. Subsequently, the virtual QR code image can be projected onto a designated location in the vehicle, so that the user in the vehicle can scan the virtual QR code image at the designated location and make payment using a mobile phone or other terminal device. In this way, the user can complete the scanning and payment using a terminal device in the vehicle without reaching out or leaning out of the vehicle, improving the convenience of user scanning payment and eliminating security risks.

[0011] Furthermore, when the QR code type is a missing information QR code, since payment information cannot be directly obtained from the original payload corresponding to the QR code, payment information can be automatically obtained based on the vehicle identification information. However, when the QR code type is a complete QR code, payment information can be directly obtained from the original payload corresponding to the QR code. Thus, regardless of the QR code type, payment information can be automatically obtained without requiring users to manually fill in vehicle identification information such as license plate numbers, thereby improving payment efficiency and enhancing the user payment experience. Attached Figure Description

[0012] Figure 1 This is a flowchart illustrating the steps of a vehicle-based payment method provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of the software architecture of an in-vehicle system provided in an embodiment of the present invention; Figure 3 This is a flowchart illustrating a data acquisition module provided in an embodiment of the present invention; Figure 4 This is a flowchart illustrating a decoding and encoding module provided in an embodiment of the present invention; Figure 5 This is a flowchart illustrating a projection module provided in an embodiment of the present invention; Figure 6 This is a flowchart illustrating an interactive module provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a vehicle-based payment device provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0013] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.

[0014] It should be noted that the embodiments of the present invention may involve the use of user data. In practical applications, user-specific personal data may be used in the scheme described herein within the scope permitted by applicable laws and regulations, provided that it complies with the applicable laws and regulations of the country (e.g., with the user's explicit consent, with the user being properly notified, etc.).

[0015] Reference Figure 1 This diagram illustrates a flowchart of a vehicle-based payment method provided in an embodiment of the present invention. The vehicle includes an onboard camera device and stores vehicle identification information corresponding to the vehicle. The method specifically includes the following steps: Step 101: Obtain the QR code image corresponding to the QR code captured by the vehicle-mounted camera device.

[0016] In a practical implementation, the vehicle may include an in-vehicle system, which may include an in-vehicle camera device and an in-vehicle terminal, etc.

[0017] The vehicle-mounted terminal, as the core control unit of the vehicle system, can perform operations such as QR code processing, projection control, and security protection. Vehicle-mounted camera devices, also known as vehicle-mounted cameras, are typically multiple. For example, they may include a front-view main camera and front surround-view cameras, capable of capturing images from different angles. These cameras are used to capture physical QR codes at parking lot exits or payment areas, such as turnstiles or payment points. The resulting QR code images can then be sent to the vehicle-mounted terminal. In some specific examples, the front-view main camera can be used for capturing QR code images at medium to long distances, while the front surround-view cameras can be used for capturing QR code images at close range and wide angles.

[0018] In addition, vehicle identification information is stored in the vehicle, which can uniquely identify the corresponding vehicle. In some specific examples, the vehicle identification information may include at least one of the license plate number and vehicle identification number.

[0019] Step 102: Decode the QR code image to obtain the original payload corresponding to the QR code.

[0020] In this embodiment of the invention, the QR code image can be decoded to obtain the original payload corresponding to the QR code. The payload refers to the string encoded within the QR code, which is the actual valid information carried by the QR code. It typically includes at least one of the following: a payment link (payment URL (uniform resource locator)), a payment token, a parking lot identifier (ID), order information (such as order number, merchant name, payment amount, and timestamp), and a complete payload. The complete payload refers to the encrypted or signed fields in the original payload that cannot be parsed.

[0021] Step 103: Determine the QR code type based on the original payload; the QR code type includes at least one of the following: QR code type with missing information and QR code type with complete information.

[0022] In this embodiment of the invention, the QR code may include multiple QR code types, which can be determined according to the original payload of the QR code. The QR code type may include at least one of the information missing QR code type and the information complete QR code type.

[0023] Step 104: When the QR code type is a QR code with missing information, obtain payment information based on the vehicle identification information; or, when the QR code type is a QR code with complete information, obtain payment information from the original payload.

[0024] Step 105: Generate a virtual QR code image based on the payment information encoding.

[0025] In this embodiment of the invention, when the QR code type is a QR code with missing information, it means that the QR code lacks the payment information required to complete the payment. Therefore, the payment information corresponding to the vehicle can be obtained based on the vehicle identification information. When the QR code type is a QR code with complete information, the payment information can be directly obtained from the original payload. Subsequently, a virtual QR code image can be generated based on the payment information.

[0026] In some specific examples, payment information may include at least one of a payment link, a payment token, order information, and a complete payload, based on which a payment (fee payment) can be completed.

[0027] Step 106: Project the virtual QR code image onto a designated location in the vehicle so that the user in the vehicle can scan the virtual QR code image at the designated location and make payment using a terminal device.

[0028] In this embodiment of the invention, after the in-vehicle terminal generates a virtual QR code image, the virtual QR code image can be projected to a designated location in the vehicle, such as the lower right area of ​​the windshield or at the user's eye level, so that the user inside the vehicle can scan the code and make payment using a mobile phone or other terminal device. It is important to note that when projecting the virtual QR code image, it is necessary to ensure that the virtual QR code image does not obstruct the road conditions, thereby ensuring vehicle driving safety.

[0029] In the aforementioned vehicle-based payment method, the vehicle may include an in-vehicle camera device, and the vehicle stores corresponding vehicle identification information. In payment scenarios requiring parking, stationary, or low-speed operation, such as at parking lot exits, the in-vehicle camera device can capture a QR code image, decode the QR code image to obtain the original payload, and determine the QR code type based on the original payload. The QR code type includes at least one of two types: a QR code with missing information and a QR code with complete information. When the QR code type is a QR code with missing information, payment information can be obtained based on the vehicle identification information. Alternatively, when the QR code type is a QR code with complete information, payment information can be obtained from the original payload, and a virtual QR code image can be generated based on the payment information. Subsequently, the virtual QR code image can be projected onto a designated location in the vehicle, allowing users in the vehicle to scan the virtual QR code image at the designated location and make payment using a mobile phone or other terminal device. In this way, users can complete the scanning and payment process in the vehicle without reaching out or leaning out of the vehicle, improving the convenience of QR code payment and eliminating security risks.

[0030] Furthermore, when the QR code type is a missing information QR code, since payment information cannot be directly obtained from the original payload corresponding to the QR code, payment information can be automatically obtained based on the vehicle identification information. However, when the QR code type is a complete QR code, payment information can be directly obtained from the original payload corresponding to the QR code. Thus, regardless of the QR code type, payment information can be automatically obtained without requiring users to manually fill in vehicle identification information such as license plate numbers, thereby improving payment efficiency and enhancing the user payment experience.

[0031] In one embodiment of the present invention, step 103, determining the QR code type based on the original payload, may include: When the original payload does not include payment information, the QR code type is determined to be an information-missing QR code type; The original payload includes payment information, and the QR code type is determined to be an information-complete QR code type.

[0032] In this embodiment of the invention, the type of QR code can be determined as either a QR code with missing information or a QR code with complete information, based on whether the original payload of the QR code includes payment information.

[0033] Specifically, a QR code with missing information refers to a QR code whose original payload does not contain payment information. This original payload includes information such as parking lot signage or a controlled WebView page, so the payment information corresponding to the vehicle can be obtained through the parking lot's open interface or the controlled WebView page based on vehicle identification information (such as license plate number). A QR code with complete information refers to a QR code whose original payload already includes payment information corresponding to the vehicle, so there is no need to obtain the payment information separately.

[0034] In the above embodiments, the QR code type can be easily and quickly determined based on whether the QR code includes payment information. The QR code type recognition efficiency is high, thereby improving the overall efficiency of vehicle-based payments.

[0035] In one embodiment of the present invention, step 104, obtaining payment information based on the vehicle identification information, may include: The original payload includes a parking lot identifier, and when the corresponding parking lot open interface is obtained through the parking lot identifier, the vehicle identifier information is sent to the server of the parking lot through the parking lot open interface, and the payment information corresponding to the vehicle identifier information returned by the server is obtained. If the original payload does not include a parking lot identifier, or if the original payload includes a parking lot identifier but the corresponding parking lot open interface cannot be obtained through the parking lot identifier, and if the original payload includes a page and the page does not have anti-automation restrictions, then the vehicle identifier information is filled into the page to generate a payment QR code image, and the payment QR code image is decoded to obtain payment information; if the original payload includes the page and the page has anti-automation restrictions, then a downgrade process is performed; the downgrade process includes at least one of prompting that a virtual QR code cannot be generated and projecting the QR code image to a specified location in the vehicle.

[0036] In this embodiment of the invention, when the QR code type is a QR code with missing information, it indicates that the QR code is a fixed parking QR code or a parking service entrance QR code. If the original payload includes a parking lot identifier and the corresponding parking lot server interface can be obtained through the parking lot identifier, then vehicle identification information (such as license plate number) can be sent to the parking lot server through the parking lot server interface first. The server can return the corresponding payment information based on the vehicle identification information.

[0037] If the original payload does not include a parking lot identifier, or if the original payload includes a parking lot identifier but the corresponding parking lot open interface cannot be obtained through the parking lot identifier, and if the original payload includes a controlled WebView page and the controlled WebView page does not have anti-automation restrictions, then the vehicle identifier information can be automatically filled in on the controlled WebView page according to its corresponding fields to generate a payment QR code image, and the payment QR code image can be decoded a second time to obtain payment information.

[0038] When the QR code type is a complete information QR code, it means that the QR code is a direct payment QR code. The original payload of the direct payment QR code already includes payment information, so the payment information can be directly obtained from the original payload.

[0039] In some specific examples, anti-automation restrictions may include at least one of the following: the controlled WebView page requires a verification code, login is blocked, the page structure is unrecognizable, or there are restrictions on mini-program redirection. If the original payload includes a controlled WebView page and the controlled WebView page has anti-automation restrictions, and the in-vehicle system cannot automatically fill in the vehicle identification information to generate a payment QR code image, the in-vehicle system can perform degradation processing. Degradation processing may include at least one of the following: prompting that a virtual QR code cannot be generated and directly projecting the QR code image to a designated location in the vehicle. For example, the QR code image can be projected onto the in-vehicle screen, and the user can scan the code simply by looking down, thus ensuring that the user can still complete the payment normally when a virtual QR code cannot be generated.

[0040] In the above embodiments, payment information corresponding to vehicle identification information can be automatically obtained based on the parking lot signage or the controlled WebView page in the original payload of the QR code. This eliminates the need for users to manually fill in vehicle identification information to obtain payment information, reducing user operations, improving the convenience of QR code payment, and eliminating security risks. Furthermore, if the parking lot signage or the controlled WebView page cannot be obtained from the original payload of the QR code, a fallback mechanism can be implemented to ensure that users can still complete payments normally even when a virtual QR code cannot be generated.

[0041] In one embodiment of the present invention, the vehicle may include an augmented reality head-up display device, and step 106, projecting the virtual QR code to a designated location in the vehicle, may include: The virtual QR code is projected onto a designated location in the vehicle using the augmented reality head-up display device; wherein the designated location includes at least the windshield of the vehicle.

[0042] In practice, with the popularization of intelligent connected vehicles, AR-HUD (Augmented Reality Head-Up Display) devices have become standard equipment in vehicles, and AR-HUD devices communicate with in-vehicle terminals.

[0043] When the AR-HUD device receives a virtual QR code image sent by the in-vehicle terminal, it can project the virtual QR code onto a designated location, such as within the user's line of sight on the windshield, according to the terminal device's corresponding scanning adaptation rules. For example, based on the typical holding distance of a mobile phone (30-60cm), the virtual QR code projection size can be preferably set to a standard square of 15-28cm to improve the phone's focus success rate on the first attempt. In this way, users can use the terminal device to scan the virtual QR code to complete the payment when the vehicle is stopped or at low speed, without needing to open the window, look down, or have their attention diverted as much as possible.

[0044] In the above embodiments, an AR-HUD device can project a virtual QR code or a QR code onto a designated location on the vehicle. Compared to displaying the virtual QR code or QR code on the vehicle screen, users do not need to look down or turn their heads when scanning the code to make a payment. Their eyes can always stay in front of the road, avoiding distraction and driving distraction caused by looking down to operate the terminal device. This reduces the risk of rear-end collisions and misoperations in the parking lot exit area and ensures vehicle driving safety.

[0045] In one embodiment of the present invention, after projecting the virtual QR code image onto a designated location in the vehicle using the augmented reality head-up display device, the process may further include: The augmented reality head-up display device projects a focus frame around the virtual QR code image.

[0046] In this embodiment of the invention, when the virtual QR code is projected onto a designated location such as within the user's head-up view on the windshield of the vehicle, a high-contrast focus frame can also be projected around the virtual QR code using an AR-HUD device. In some specific examples, the focus frame can be a thick white line with a black background.

[0047] In the above embodiments, a high-contrast focus frame can be projected around the virtual QR code by the AR-HUD device. This solves the problem of difficulty in automatic focusing when the AR-HUD device projects the virtual QR code onto semi-transparent glass, thereby ensuring the efficiency of users' QR code payment.

[0048] In one embodiment of the present invention, projecting the virtual QR code image onto a designated location in the vehicle via the augmented reality head-up display device may include: Monitor the ambient light intensity corresponding to the vehicle; The projection mode corresponding to the virtual QR code image is determined based on the ambient light intensity. The virtual QR code image is projected onto a designated location in the vehicle using the augmented reality head-up display device according to the projection mode.

[0049] In this embodiment of the invention, the vehicle system may include various sensors, such as a light sensor. The light sensor can monitor the ambient light intensity corresponding to the vehicle in real time. Based on the ambient light intensity, the lighting environment in which the vehicle is located can be determined. Then, the projection mode of the virtual QR code can be automatically switched according to the ambient sunlight intensity. In some embodiments, when it is determined that the vehicle is in strong light based on the ambient sunlight intensity, the AR-HUD device can use a white background with black code projection mode to project the virtual QR code at a designated location on the vehicle to increase the brightness of the virtual QR code. When it is determined that the vehicle is in weak light based on the ambient sunlight intensity, the AR-HUD device can use a black background with white code projection mode to project the virtual QR code at a designated location on the vehicle to reduce the brightness of the virtual QR code.

[0050] In the above embodiments, different projection modes can be selected to project virtual QR codes under different lighting conditions, so that terminal devices can clearly recognize virtual QR codes, thereby ensuring the efficiency of users' QR code payment.

[0051] In one embodiment of the present invention, after the virtual QR code image is projected onto a designated location in the vehicle via the augmented reality head-up display device, the method may further include: Acquire vehicle attitude data; wherein the vehicle attitude data includes at least one of pitch angle, roll angle and jitter amplitude; The offset of the virtual QR code image at the specified position is determined based on the vehicle posture data; The projection position of the virtual QR code image at the specified location is adjusted according to the offset.

[0052] In this embodiment of the invention, the vehicle also includes a vehicle attitude sensor, such as ESP (Electronic Stability Program) and a gyroscope, which are connected to the vehicle terminal for communication. The vehicle attitude sensor can collect vehicle attitude data in real time, such as pitch angle, roll angle and jitter amplitude. The vehicle terminal can predict the offset of the AR-HUD device projecting the virtual QR code at the specified position in real time based on the vehicle attitude data, and adjust the projection position of the virtual QR code at the specified position in real time based on the offset using a reverse compensation algorithm.

[0053] In the above embodiments, the projection position of the virtual QR code at the designated location can be adjusted in real time according to the vehicle posture data, so that the virtual QR code remains relatively stable in the user's vision. This ensures that the jitter of the virtual QR code is controlled within the vehicle system calibration threshold, and that the user can reliably focus and scan the code through the terminal device, thereby guaranteeing the user's scanning payment efficiency.

[0054] In one embodiment of the present invention, the vehicle-mounted camera device includes at least two components, and the step of acquiring the QR code image corresponding to the QR code captured by the vehicle-mounted camera device includes: Detect the working status of each of the vehicle-mounted camera devices; Obtain the relative position information between the vehicle and the QR code; the relative position information includes at least one of distance and angle. The target vehicle-mounted camera device is determined from the vehicle-mounted camera device based on the relative position information; Control the target vehicle-mounted camera device to acquire the QR code image corresponding to the QR code.

[0055] In this embodiment of the invention, the vehicle-mounted camera device may include a front-view main camera, a front surround-view camera, and other vehicle-mounted cameras capable of capturing images from different angles. The vehicle terminal can detect the working status of each vehicle-mounted camera device in real time, such as whether it can capture images normally and the quality of the captured images. Combined with the relative position information between the parking lot QR code and the vehicle, such as distance and angle, the terminal can automatically select the optimal vehicle-mounted camera to capture the QR code to obtain the QR code image.

[0056] In some specific embodiments, the front-view main camera can be used to capture QR code images at medium to long distances, while the front surround-view camera can be used to capture QR code images at close range and large angles. Therefore, when the front-view main camera and the front surround-view camera are in the same working state, if the relative position information determines that the vehicle and the QR code are at a medium to long distance, the front-view main camera can be used as the target vehicle-mounted camera device to capture the QR code image. If the relative position information determines that the vehicle and the QR code are at a close distance and large angle, the front surround-view camera can be used as the target vehicle-mounted camera device to capture the QR code image. Of course, when the front-view main camera and the front surround-view camera are not in the same working state, the vehicle-mounted camera with better working state can be used as the target vehicle-mounted camera device to capture the QR code image.

[0057] In the above embodiments, a suitable vehicle-mounted camera device can be selected based on the working status of the vehicle-mounted camera device and the relative position information between the vehicle and the QR code, so as to realize automatic switching, image fusion and enhancement of multiple vehicle-mounted cameras, and further improve the stability and success rate of QR code collection.

[0058] In one embodiment of the present invention, before decoding the QR code image in step 102 to obtain the original payload corresponding to the QR code, the method may further include: The QR code image is preprocessed; the preprocessing includes at least one of distortion correction, de-glare processing, super-resolution enhancement, and contrast adjustment.

[0059] In this embodiment of the invention, before the vehicle-mounted terminal decodes the QR code image, the QR code image can be preprocessed. Specifically, the preprocessing can include, but is not limited to, the following: Distortion Correction: Corrects perspective distortion caused by the shooting angle of the vehicle camera, correcting tilted QR codes to a standard square viewpoint, supporting automatic correction for tilt angles of 45° or less; Anti-glare Processing: Identifies and eliminates interference such as glass reflection and sunlight reflection through AI (Artificial Intelligence) algorithms, restoring the true texture of the QR code area; Super-resolution Enhancement: Performs super-resolution reconstruction on blurry QR code images captured at medium to long distances, improving the edge sharpness of the QR code. As an auxiliary enhancement method, the specific applicable distance can depend on lens focal length, resolution, and QR code size; Contrast Adjustment: Dynamically enhances the distinction between the QR code and the background, optimizes the contrast of the black and white module, and ensures the accuracy of subsequent decoding.

[0060] In the above embodiments, preprocessing of the QR code image, such as distortion correction, de-glare processing, super-resolution enhancement, and contrast adjustment, can transform the poor-quality and difficult-to-identify original QR code image into a clear and standardized QR code image, thereby improving the success rate of subsequent QR code image decoding.

[0061] In one embodiment of the present invention, the virtual QR code image is provided with an effective time window. After step 106, in which the virtual QR code image is projected onto a designated location in the vehicle via the augmented reality head-up display device, the method may further include: If the projection time of the virtual QR code image at the designated location in the vehicle exceeds the valid time window or after payment is completed, the virtual QR code image is destroyed or hidden.

[0062] In this embodiment of the invention, with the support of the parking lot's server, an effective time window of 8-15 seconds can be set for the virtual QR code image. Once the user completes payment based on the virtual QR code image, or after the virtual QR code image's projection time at the designated location on the vehicle exceeds the effective time window, the virtual QR code image can be immediately destroyed or hidden, and it is not persistently stored. Simultaneously, consistency checks can be performed on the payment domain name, URL protocol, HTTPS (Hypertext Transfer Protocol Secure) certificate, parking lot ID, vehicle geographical location, license plate number, payment amount, and order status, effectively preventing QR code tampering, screenshot reuse, malicious redirection, or payment fraud, thus avoiding privacy leaks.

[0063] In some specific embodiments, dynamic encoding and timestamp mechanisms can be used, combined with the parking lot server's callback to the user's payment, order polling, gate opening status, or user confirmation to determine whether payment is complete. Of course, if a callback to the user's payment cannot be obtained from the server, a pending confirmation status or a timeout status can be displayed, without unilaterally determining that payment is complete.

[0064] In the above embodiments, once the user completes payment based on the virtual QR code image, or after the virtual QR code image has been projected at a designated location on the vehicle for more than the effective time window, the virtual QR code image can be immediately destroyed or hidden to prevent the leakage of the virtual QR code image from causing user privacy leaks and to ensure the user's property security.

[0065] In one embodiment of the present invention, after step 106, in which the virtual QR code image is projected onto a designated location in the vehicle via the augmented reality head-up display device, the method may further include: In the status display area at the designated location, business process status information is displayed; the business process status information includes at least one of the following: scanning and recognizing QR codes, recognizing QR code types, automatically filling vehicle identification information, generating orders, extracting payment QR codes, parsing QR codes, projecting virtual QR codes, parking information, parking fee details, pending user confirmation, payment successful, payment failed, payment status pending confirmation, or payment timeout.

[0066] In this embodiment of the invention, when the AR-HUD device projects a virtual QR code image to a designated location, business process status information can also be displayed in the status display area at the designated location. The status display area is usually fixed at the top of the virtual QR code image.

[0067] In the above embodiments, business process status information can be displayed while projecting the virtual QR code image, allowing users to intuitively perceive the current business progress based on the business process status information. This not only avoids the uncertainty caused by users not knowing the work progress, but also allows for timely detection and handling of abnormal situations such as payment failure or timeout.

[0068] In one embodiment of the present invention, the vehicle may further include a display screen. After step 106, in which the virtual QR code image is projected onto a designated location in the vehicle via the augmented reality head-up display device, the method may further include: In response to a display switching command, a target display screen is determined from the display screen; The virtual QR code image is displayed on the target display screen.

[0069] In practical implementation, the display screen in the vehicle can include not only the in-vehicle screen, but also the passenger-side screen or the rear-seat screen. Assuming that the users in the vehicle include not only the driver in the driver's seat, but also passengers in the passenger seat or rear seat, if the driver wants the passenger to complete the payment or if it is inconvenient for the passenger to pay, he can issue a switching command to the vehicle, such as "switch to passenger-side display". The in-vehicle system responds to the switching command, identifies the passenger-side screen as the target display screen, and then displays a virtual QR code image on the target display screen. In this way, the passenger can assist in payment through the virtual QR code image.

[0070] In the above embodiments, in response to a display switching command, a target display screen can be determined from multiple displays in the vehicle, and a virtual QR code image can be displayed on the target display screen, thereby enabling flexible allocation of payment operations.

[0071] To enable those skilled in the art to better understand the embodiments of the present invention, the following description uses an overall example.

[0072] This invention is implemented through an in-vehicle system. The hardware components of the system may include an in-vehicle terminal, an AR-HUD device, an in-vehicle camera module, a vehicle attitude sensor, etc., and the functions of each module are as follows: Vehicle-mounted terminal: As the core control unit of the system, it has built-in modules such as image preprocessing module, QR code decoding / encoding module, AR rendering control module, posture compensation module, and safety control module. It is used to receive data from each module and perform operations such as QR code processing, projection control, and safety protection.

[0073] AR-HUD device: It communicates with the vehicle terminal and is used to receive virtual QR code images sent by the vehicle terminal and project them into the driver's head-up field of vision on the windshield of the vehicle according to the preset scanning adaptation rules.

[0074] Vehicle-mounted camera module: including front-view main camera, front surround view camera and other vehicle-mounted cameras, used to capture QR code images at parking lot exit / payment point and send the captured QR code images to the vehicle terminal; among them, the front-view main camera can be used for medium and long distance QR code image capture, and the front surround view camera can be used for close distance and wide angle QR code image capture.

[0075] Vehicle attitude sensor: Connected to the vehicle terminal, it is used to collect vehicle attitude data (including pitch angle, roll angle, jitter amplitude, etc.) in real time and send it to the vehicle terminal to provide data support for dynamic image stabilization of virtual QR code images.

[0076] Terminal equipment: used to scan the virtual QR code image projected by the AR-HUD device, initiate payment operations, and complete payment reconciliation with the parking lot server.

[0077] Reference Figure 2 This is a schematic diagram of the software architecture of a vehicle-mounted system provided in an embodiment of the present invention. The software architecture of the system may include the following modules: The acquisition module is responsible for selecting and managing the vehicle-mounted cameras, preprocessing the acquired raw QR code images to improve the quality of the QR code images, and providing clear and standardized QR code images for subsequent decoding. The decoding and encoding module is responsible for decoding the preprocessed QR code image and identifying its type, distinguishing between fixed parking QR codes, parking service entrance QR codes, and direct payment QR codes. For fixed parking QR codes, it automatically fills in and obtains payment information based on user-authorized vehicle identification information (such as license plate number) to generate a payment QR code image, and then performs secondary decoding on the payment QR code image to obtain the payment information. For direct payment QR codes, it can extract payment information from the original payload and then re-encode it to generate a standardized virtual QR code image. For encrypted or signed payloads whose fields cannot be parsed in the original payload, these payloads can be re-encoded as a whole as a complete payload.

[0078] Projection module: responsible for sending the virtual QR code image to the AR-HUD device, controlling the projection parameters, and achieving dynamic image stabilization through attitude compensation to ensure that the virtual QR code image is clearly and stably displayed in the driver's head-up field of vision.

[0079] Interaction module: Responsible for user interface interaction, function activation, status display, payment process management and security protection. It is the entry point for users to interact with the system, ensuring payment security and user experience.

[0080] Specifically, the functions of each module in the system's software architecture are as follows: Reference Figure 3 This is a flowchart illustrating a data acquisition module provided in an embodiment of the present invention. The specific process may include: Camera selection: The vehicle terminal automatically detects the working status of the front-view main camera and the front surround-view camera, and automatically selects the optimal camera to capture the QR code image based on the distance and angle of the parking lot QR code. Image preprocessing: The QR code image is preprocessed with distortion correction, anti-glare processing, super-resolution enhancement and contrast adjustment to improve the quality of the QR code image and provide a clear and standardized QR code image for subsequent decoding; The acquisition module is primarily responsible for the intelligent selection and management of vehicle-mounted cameras, and performs full-process preprocessing on the acquired raw parking lot QR code images to provide high-definition, standardized QR code images for subsequent decoding. The processing latency of the entire acquisition module is controlled within ≤100ms to ensure real-time requirements.

[0081] Reference Figure 4 This is a flowchart illustrating a decoding and encoding module provided in an embodiment of the present invention. The specific process may include: QR code decoding: Parse parking lot QR codes, parking service entrance QR codes, or direct payment QR codes to obtain parsable information such as payment URL, payment token, parking lot ID, and order number, and identify whether a license plate number is required to obtain payment information; for encrypted, signed, or indivisible complete payloads, the complete payload is treated as a whole for subsequent re-encoding.

[0082] Order verification: Interact with the parking lot's server to verify the validity, completeness, and timeliness of payment information. This may include consistency checks on payment domain name, URL protocol, HTTPS certificate, parking lot ID, vehicle geolocation, license plate number, payment amount, and order status. If the parking lot's server supports this, set an 8-15 second validity window for the virtual QR code image to ensure security for each use.

[0083] Virtual QR code generation: Automatic filling for fixed parking QR codes: When the QR code is a fixed parking QR code that requires the license plate number to be entered, the in-vehicle system, based on the license plate number pre-authorized / bound by the user, prioritizes automatically filling in the license plate number through the parking lot's open interface and obtaining payment information such as payment link, payment amount, merchant name, order number, signature, or payment token; if a controlled WebView page is used, the license plate number is automatically filled in when the page structure of the controlled WebView page is recognizable and there are no verification codes, login barriers, or mini-program jump restrictions. The generated payment QR code image is then further recognized to obtain payment information, and a virtual QR code image is generated based on the payment information; when the page structure of the controlled WebView page is unrecognizable or there are no verification codes, login barriers, or mini-program jump restrictions, the system is downgraded to prompting the user to manually confirm or directly displaying the original QR code image. For direct payment QR code recoding: When the QR code image is a payment QR code, the system keeps the original payload unchanged and re-encodes it to generate a standard virtual QR code; for new payment codes (new QR code images) returned by the server, short-term payment tokens, or payment QR code images generated by pages, the complete payload is extracted and re-encoded according to the standard QR code format without modifying the payment information, and then a virtual QR code image is generated based on the payment information.

[0084] The end-to-end QR code reconstruction link latency in the decoding and encoding module, which involves image preprocessing, QR code decoding, and recoding, is preferably controlled within 250ms. When it involves parking lot server interaction, WebView page loading, order generation, or payment status polling, the response time can be determined based on the network and parking lot system status.

[0085] Reference Figure 5 This is a flowchart illustrating a projection module provided in an embodiment of the present invention. The specific process may include: Display mode switching: The display mode is automatically switched according to the ambient light intensity. For example, a white background with black code is used in strong light to increase the brightness of the virtual QR code image, while a black background with white code is used in weak light to reduce the brightness of the virtual QR code image.

[0086] AR rendering control: Set the projection size of the virtual QR code image to a standard square of 15-28cm, and set the projection position to the lower right area of ​​the driver's head-up view (without obstructing the road conditions).

[0087] Focus frame projection: A high-contrast focus frame (thick white line + black background) is projected around the virtual QR code image to solve the problem of the virtual QR code image projected onto the semi-transparent glass of the mobile phone on the ARHUD device having difficulty in autofocusing.

[0088] Attitude compensation and image stabilization: Real-time reception of vehicle attitude data from body attitude sensors (ESP / gyroscope), including pitch angle, roll angle, and jitter amplitude. When vehicle attitude data detects jitter such as nodding, pitching, or rolling, the offset is calculated in real time. A reverse compensation algorithm is used to adjust the projection position of the virtual QR code image based on the offset, ensuring that the jitter amplitude of the virtual QR code image is controlled within the system calibration threshold.

[0089] The processing latency of the entire projection module is controlled within 50ms.

[0090] Reference Figure 6 This is a flowchart illustrating an interactive module provided in an embodiment of the present invention. The specific process may include: User interface: An independent master switch is added to the intelligent delivery module of the vehicle center, allowing users to manually turn on or off the parking payment function based on the AR-HUD device; when a user enters the user interface of this function module for the first time, the system will actively pop up a window to guide the user to activate this function; when a vehicle enters the parking area for the first time, a global pop-up window can also be triggered to intelligently guide the user to activate this function.

[0091] Function activation: Supports both fully automatic and voice-triggered activation methods; when the vehicle enters the parking lot exit area or is in a low-speed cruising state within the parking lot, the parking payment function based on the AR-HUD device is automatically activated; at the same time, it also supports manual activation of the function by in-vehicle voice commands, such as "start parking payment".

[0092] Status display: A fixed status display area is placed at the top of the virtual QR code image to display business process status information in real time; the business process status information includes at least one of the following: scanning and recognizing QR code, QR code type recognition, vehicle identification information autofill, order generation, payment QR code extraction, QR code parsing, virtual QR code projection, parking information, parking fee details, pending user confirmation, payment successful, payment failed, payment status pending confirmation, or payment timeout.

[0093] Mobile phone QR code payment: The driver keeps their eyes level inside the vehicle and holds their mobile phone within a 30-60cm holding distance to scan the virtual QR code image projected by the AR-HUD device when the vehicle is stopped, parked, or moving at low speed. The mobile terminal will then redirect to the payment page to complete the payment. If there is a passenger screen or rear screen, the payment interface can be displayed on the passenger screen or rear screen to assist with payment, based on the driver's voice command to switch the display.

[0094] QR code destruction: The virtual QR code image projected by the AR-HUD device is immediately destroyed or hidden after payment is completed or timeout, and is not persistently stored. Dynamic encoding and timestamp mechanisms can be used, combined with the parking lot server's judgment of payment completion based on user payment callbacks, order polling, gate opening status, or user confirmation. If the parking lot server cannot provide a callback, the system only displays a pending confirmation status or a timeout status, without unilaterally confirming payment completion. The system simultaneously performs consistency checks on the payment domain whitelist, HTTPS certificate, parking lot ID, vehicle location, license plate number, and amount, effectively preventing QR code screenshots, reuse, tampering, or malicious redirection, ensuring user privacy and payment security.

[0095] The interaction module is responsible for user interface interaction, function activation, status display, payment process management, and security protection. It serves as the entry point for user interaction with the system, ensuring payment security and user experience.

[0096] This invention proposes a vehicle-mounted virtual QR code parking payment method based on AR-HUD devices, which solves the problems of insecurity, unstable recognition, cumbersome operation, and security risks in vehicle-mounted parking QR code payment. It achieves a safe and efficient parking payment experience without opening the window, looking down, or scanning at eye level, while improving the success rate of scanning and payment security.

[0097] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0098] Reference Figure 7 The diagram illustrates a structural block diagram of a vehicle-based payment device according to an embodiment of the present invention. The vehicle includes an in-vehicle camera device, and the vehicle stores vehicle identification information corresponding to the vehicle. The device includes: The QR code image acquisition module 701 is configured to acquire the QR code image corresponding to the QR code captured by the vehicle-mounted camera device; The QR code image decoding module 702 is configured to decode the QR code image to obtain the original payload corresponding to the QR code; The QR code type determination module 703 is configured to determine the QR code type based on the original payload; the QR code type includes at least one of a QR code type with missing information and a QR code type with complete information. The payment information acquisition module 704 is configured to acquire payment information based on the vehicle identification information when the QR code type is a QR code with missing information, or to acquire payment information from the original payload when the QR code type is a QR code with complete information. The virtual QR code image generation module 705 is configured to generate a virtual QR code image based on the payment information encoding. The virtual QR code image projection module 706 is configured to project the virtual QR code image onto a designated location in the vehicle, so that users in the vehicle can scan the virtual QR code image at the designated location and make payments via a terminal device.

[0099] In one embodiment of the present invention, the QR code type determination module 703 is configured as follows: When the original payload does not include payment information, the QR code type is determined to be an information-missing QR code type; The original payload includes payment information, and the QR code type is determined to be an information-complete QR code type.

[0100] In one embodiment of the present invention, the QR code is obtained by the vehicle-mounted camera device triggered when the vehicle is detected to be in a parking lot; the payment information acquisition module 704 is configured to: The original payload includes a parking lot identifier, and when the corresponding parking lot open interface is obtained through the parking lot identifier, the vehicle identifier information is sent to the server of the parking lot through the parking lot open interface, and the payment information corresponding to the vehicle identifier information returned by the server is obtained. If the original payload does not include a parking lot identifier, or if the original payload includes a parking lot identifier but the corresponding parking lot open interface cannot be obtained through the parking lot identifier, and if the original payload includes a page and the page does not have anti-automation restrictions, then the vehicle identifier information is filled into the page to generate a payment QR code image, and the payment QR code image is decoded to obtain payment information. The payment information includes at least one of payment link, payment token, order information, and complete payload; the anti-automation restrictions include at least one of verification code requirement, login blocking, unrecognizable page structure, or redirection restrictions.

[0101] In one embodiment of the present invention, the payment information acquisition module 704 is configured to: If the original payload includes the page and the page has anti-automation restrictions, then a downgrade process is performed; the downgrade process includes at least one of prompting that a virtual QR code cannot be generated and projecting the QR code image to a designated location in the vehicle.

[0102] In one embodiment of the present invention, the vehicle includes an augmented reality head-up display device, and the virtual QR code image projection module 706 is configured to: The virtual QR code is projected onto a designated location in the vehicle using the augmented reality head-up display device; wherein the designated location includes at least the windshield of the vehicle.

[0103] In one embodiment of the present invention, the virtual QR code image projection module 706 is configured as follows: The augmented reality head-up display device projects a focus frame around the virtual QR code image.

[0104] In one embodiment of the present invention, the virtual QR code image projection module 706 is configured as follows: Monitor the ambient light intensity corresponding to the vehicle; The projection mode corresponding to the virtual QR code image is determined based on the ambient light intensity. The virtual QR code image is projected onto a designated location in the vehicle using the augmented reality head-up display device according to the projection mode.

[0105] In one embodiment of the present invention, the method further includes: a projection offset adjustment module, configured to: Acquire vehicle attitude data; wherein the vehicle attitude data includes at least one of pitch angle, roll angle and jitter amplitude; The offset of the virtual QR code image at the specified position is determined based on the vehicle posture data; The projection position of the virtual QR code image at the specified location is adjusted according to the offset.

[0106] In one embodiment of the present invention, the vehicle-mounted camera device includes at least two components, and the QR code image acquisition module 701 is configured as follows: Detect the working status of each of the vehicle-mounted camera devices; Obtain the relative position information between the vehicle and the QR code; the relative position information includes at least one of distance and angle. The target vehicle-mounted camera device is determined from the vehicle-mounted camera device based on the relative position information; Control the target vehicle-mounted camera device to acquire the QR code image corresponding to the QR code.

[0107] In one embodiment of the present invention, the apparatus further includes: an image preprocessing module, configured to: The QR code image is preprocessed; the preprocessing includes at least one of distortion correction, de-glare processing, super-resolution enhancement, and contrast adjustment.

[0108] In one embodiment of the present invention, the virtual QR code image is provided with an effective time window, and the device further includes: a security protection module configured to: If the projection time of the virtual QR code image at the designated location in the vehicle exceeds the valid time window or after payment is completed, the virtual QR code image is destroyed or hidden.

[0109] In one embodiment of the present invention, the device further includes: a business process status display module, configured to: In the status display area at the designated location, business process status information is displayed; the business process status information includes at least one of the following: scanning and recognizing QR codes, recognizing QR code types, automatically filling vehicle identification information, generating orders, extracting payment QR codes, parsing QR codes, projecting virtual QR codes, parking information, parking fee details, pending user confirmation, payment successful, payment failed, payment status pending confirmation, or payment timeout.

[0110] In one embodiment of the present invention, the vehicle further includes a display screen, and the device further includes a display switching module configured to: In response to a display switching command, a target display screen is determined from the display screen; The virtual QR code image is displayed on the target display screen.

[0111] In this embodiment of the invention, the vehicle may include an in-vehicle camera device, and the vehicle stores vehicle identification information corresponding to the vehicle. In payment scenarios requiring parking, stationary, or low-speed operation, such as at a parking lot exit, the in-vehicle camera device can capture a QR code image corresponding to the QR code, and decode the QR code image to obtain the original payload corresponding to the QR code. The QR code type is determined based on the original payload, and the QR code type includes at least one of information-missing QR code type and information-complete QR code type. When the QR code type is information-missing QR code type, payment information can be obtained based on the vehicle identification information. Alternatively, when the QR code type is information-complete QR code type, payment information can be obtained from the original payload, and a virtual QR code image can be generated based on the payment information encoding. Subsequently, the virtual QR code image can be projected onto a designated location in the vehicle, so that the user in the vehicle can scan the virtual QR code image at the designated location and make payment using a mobile phone or other terminal device. In this way, the user can complete the scanning and payment using a terminal device in the vehicle without reaching out or leaning out of the vehicle, improving the convenience of user scanning payment and eliminating security risks.

[0112] Furthermore, when the QR code type is a missing information QR code, since payment information cannot be directly obtained from the original payload corresponding to the QR code, payment information can be automatically obtained based on the vehicle identification information. However, when the QR code type is a complete QR code, payment information can be directly obtained from the original payload corresponding to the QR code. Thus, regardless of the QR code type, payment information can be automatically obtained without requiring users to manually fill in vehicle identification information such as license plate numbers, thereby improving payment efficiency and enhancing the user payment experience.

[0113] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment. This invention also provides an electronic device, such as... Figure 8 As shown, it includes a processor 1001, a device interface 1002, a memory 1003, and a bus 1004; Memory 1003 is used to store computer programs; The processor 1001 executes the above steps when executing the program stored in the memory 1003.

[0114] The bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0115] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0116] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0117] The present invention also provides a storage medium that, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform the vehicle-based payment method of the foregoing embodiments.

[0118] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0119] The algorithms and displays provided herein are not inherently related to any particular computer, virtual device, or other equipment. The structure required to construct such a device is readily apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0120] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0121] Similarly, it should be understood that, in order to simplify the invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0122] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0123] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention can also be implemented as a device or apparatus program for performing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0124] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0125] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

[0127] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

[0128] It should be noted that the various data-related processes in the embodiments of this application are carried out in compliance with the relevant data protection laws and policies of the country where the location is located, and with the authorization granted by the owner of the corresponding device.

Claims

1. A vehicle-based payment method, characterized in that, The vehicle includes an on-board camera device, and the vehicle stores vehicle identification information corresponding to the vehicle. The method includes: Acquire the QR code image corresponding to the QR code captured by the vehicle-mounted camera device; The QR code image is decoded to obtain the original payload corresponding to the QR code; The QR code type is determined based on the original payload; the QR code type includes at least one of the following: a QR code type with missing information and a QR code type with complete information. When the QR code type is a QR code with missing information, payment information is obtained based on the vehicle identification information; or, when the QR code type is a QR code with complete information, payment information is obtained from the original payload. A virtual QR code image is generated based on the payment information encoding; The virtual QR code image is projected onto a designated location in the vehicle, enabling users in the vehicle to scan the virtual QR code image at the designated location and make payments using their terminal devices.

2. The method according to claim 1, characterized in that, The step of determining the QR code type based on the original payload includes: When the original payload does not include payment information, the QR code type is determined to be an information-missing QR code type; The original payload includes payment information, and the QR code type is determined to be an information-complete QR code type.

3. The method according to claim 1, characterized in that, The QR code is obtained by the vehicle-mounted camera device triggered when the vehicle is detected in the parking lot; obtaining payment information based on the vehicle identification information includes: The original payload includes a parking lot identifier, and when the corresponding parking lot open interface is obtained through the parking lot identifier, the vehicle identifier information is sent to the server of the parking lot through the parking lot open interface, and the payment information corresponding to the vehicle identifier information returned by the server is obtained. If the original payload does not include a parking lot identifier, or if the original payload includes a parking lot identifier but the corresponding parking lot open interface cannot be obtained through the parking lot identifier, and if the original payload includes a page and the page does not have anti-automation restrictions, then the vehicle identifier information is filled into the page to generate a payment QR code image, and the payment QR code image is decoded to obtain payment information. The payment information includes at least one of payment link, payment token, order information, and complete payload; the anti-automation restrictions include at least one of verification code requirement, login blocking, unrecognizable page structure, or redirection restrictions.

4. The method according to claim 3, characterized in that, The step of obtaining payment information based on the vehicle identification information also includes: If the original payload includes the page and the page has anti-automation restrictions, then a downgrade process is performed; the downgrade process includes at least one of prompting that a virtual QR code cannot be generated and projecting the QR code image to a designated location in the vehicle.

5. The method according to claim 1, characterized in that, The vehicle includes an augmented reality head-up display device, and projecting the virtual QR code to a designated location within the vehicle includes: The virtual QR code is projected onto a designated location in the vehicle using the augmented reality head-up display device; wherein the designated location includes at least the windshield of the vehicle.

6. The method according to claim 5, characterized in that, After projecting the virtual QR code image onto a designated location in the vehicle using the augmented reality head-up display device, the method further includes: The augmented reality head-up display device projects a focus frame around the virtual QR code image.

7. The method according to claim 5, characterized in that, The step of projecting the virtual QR code image onto a designated location in the vehicle using the augmented reality head-up display device includes: Monitor the ambient light intensity corresponding to the vehicle; The projection mode corresponding to the virtual QR code image is determined based on the ambient light intensity. The virtual QR code image is projected onto a designated location in the vehicle using the augmented reality head-up display device according to the projection mode.

8. The method according to claim 5, characterized in that, After projecting the virtual QR code image onto a designated location in the vehicle using the augmented reality head-up display device, the method further includes: Acquire vehicle attitude data; wherein the vehicle attitude data includes at least one of pitch angle, roll angle and jitter amplitude; The offset of the virtual QR code image at the specified position is determined based on the vehicle posture data; The projection position of the virtual QR code image at the specified location is adjusted according to the offset.

9. The method according to claim 1, characterized in that, The vehicle-mounted camera device includes at least two components, and the step of acquiring the QR code image corresponding to the QR code captured by the vehicle-mounted camera device includes: Detect the working status of each of the vehicle-mounted camera devices; Obtain the relative position information between the vehicle and the QR code; the relative position information includes at least one of distance and angle. The target vehicle-mounted camera device is determined from the vehicle-mounted camera device based on the relative position information; Control the target vehicle-mounted camera device to acquire the QR code image corresponding to the QR code.

10. The method according to claim 1, characterized in that, Before decoding the QR code image to obtain the original payload corresponding to the QR code, the method further includes: The QR code image is preprocessed; the preprocessing includes at least one of distortion correction, de-glare processing, super-resolution enhancement, and contrast adjustment.

11. The method according to claim 5, characterized in that, The virtual QR code image is provided with a valid time window. After the virtual QR code image is projected onto a designated location in the vehicle via the augmented reality head-up display device, the method further includes: If the projection time of the virtual QR code image at the designated location in the vehicle exceeds the valid time window or after payment is completed, the virtual QR code image is destroyed or hidden.

12. The method according to claim 5, characterized in that, After projecting the virtual QR code image onto a designated location in the vehicle using the augmented reality head-up display device, the method further includes: In the status display area at the designated location, business process status information is displayed; the business process status information includes at least one of the following: scanning and recognizing QR codes, recognizing QR code types, automatically filling vehicle identification information, generating orders, extracting payment QR codes, parsing QR codes, projecting virtual QR codes, parking information, parking fee details, pending user confirmation, payment successful, payment failed, payment status pending confirmation, or payment timeout.

13. The method according to claim 5, characterized in that, The vehicle also includes a display screen, and after the virtual QR code image is projected onto a designated location in the vehicle via the augmented reality head-up display device, the method further includes: In response to a display switching command, a target display screen is determined from the display screen; The virtual QR code image is displayed on the target display screen.

14. A vehicle-based payment device, characterized in that, The vehicle includes an on-board camera device, and the vehicle stores vehicle identification information corresponding to the vehicle. The device includes: The QR code image acquisition module is configured to acquire the QR code image corresponding to the QR code captured by the vehicle-mounted camera device; A QR code image decoding module is configured to decode the QR code image to obtain the original payload corresponding to the QR code; A QR code type determination module is configured to determine the QR code type based on the original payload; the QR code type includes at least one of a QR code type with missing information and a QR code type with complete information. The payment information acquisition module is configured to acquire payment information based on the vehicle identification information when the QR code type is a QR code with missing information, or to acquire payment information from the original payload when the QR code type is a QR code with complete information. The virtual QR code image generation module is configured to generate a virtual QR code image based on the payment information encoding; The virtual QR code image projection module is configured to project the virtual QR code image onto a designated location in the vehicle, so that users in the vehicle can scan the virtual QR code image at the designated location and make payments using a terminal device.

15. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the instructions to implement the vehicle-based payment method as described in any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is able to perform the vehicle-based payment method as described in any one of claims 1 to 13.

17. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 15.