CN-121997959-A - Method and device for processing two-dimensional code by processor of carrier
Abstract
The present disclosure provides a method for processing a two-dimensional code by a processor of a vehicle. The method includes identifying each of at least one two-dimensional code scanned by the vehicle to read content corresponding to each of the at least one two-dimensional code, determining a function class of each of the at least one two-dimensional code based on the content corresponding to each of the at least one two-dimensional code, and causing the at least one two-dimensional code to be presented on a screen within the vehicle based on a manner corresponding to the function class of each of the at least one two-dimensional code.
Inventors
- WEN YUE
- ZHAO XIAOYANG
Assignees
- 大众酷翼(北京)科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241105
Claims (14)
- 1. A method for processing a two-dimensional code by a processor of a vehicle, comprising: identifying each two-dimensional code of the at least one two-dimensional code scanned by the carrier to read content corresponding to each two-dimensional code of the at least one two-dimensional code, and Determining a function category of each of the at least one two-dimensional code based on content corresponding to each of the at least one two-dimensional code, and And based on a mode corresponding to the function category of each two-dimensional code in the at least one two-dimensional code, enabling the at least one two-dimensional code to be displayed on a screen in the carrier.
- 2. The method of claim 1, the method further comprising: And on the basis of recognizing that the carrier is in the code scanning scene by using the first machine learning model, starting a two-dimensional code recognition function.
- 3. The method of claim 1, wherein the identifying the scanned at least one two-dimensional code comprises: identifying, using a second machine learning model, at least one of: each two-dimensional code of the at least one two-dimensional code, and At least one of text and pictures around and in each of the at least one two-dimensional code.
- 4. The method of claim 3, wherein the reading content corresponding to each of the at least one two-dimensional code comprises: Reading at least one of the following using a third machine learning model as content corresponding to each of the at least one two-dimensional code: content corresponding to each of the at least one two-dimensional code, and Content corresponding to the at least one of text and pictures around and in each of the at least one two-dimensional code.
- 5. The method of claim 1, wherein the determining the functional category of each of the at least one two-dimensional code comprises: and determining the function category of each two-dimensional code in the at least one two-dimensional code by using a fourth machine learning model.
- 6. The method of claim 1, wherein the manner corresponding to the functional category of each of the at least one two-dimensional code comprises at least one of: Displaying the text description corresponding to the function category and the corresponding two-dimensional code; displaying two-dimension codes belonging to the same function category through indication information and displaying the two-dimension codes belonging to the function category in a subordinate interface of the indication information, and And displaying the at least one two-dimensional code in a predetermined sequence based on the respective function categories.
- 7. The method of claim 1, wherein the functional categories include a payment category, a reading category, and other categories.
- 8. The method of claim 7, wherein the manner corresponding to the payment category comprises at least one of: Transmitting the selected two-dimensional codes belonging to the payment category to mobile equipment; Amplifying and displaying the selected two-dimensional codes belonging to the payment category; highlighting the selected two-dimensional code belonging to the payment category, and CN 2024/0067=K00329 And displaying the selected two-dimensional codes belonging to the payment category in a payment operation mode.
- 9. The method of claim 7, wherein the manner corresponding to the reading category comprises at least one of: Transmitting the selected two-dimensional codes belonging to the reading category to mobile equipment; Amplifying and displaying the selected two-dimensional codes belonging to the reading category, and And highlighting the selected two-dimensional codes belonging to the reading category.
- 10. The method of claim 7, wherein the manner corresponding to the other categories comprises: And displaying prompt information corresponding to the other categories.
- 11. The method of claim 1, wherein the screen within the vehicle comprises at least one of a built-in screen, a screen of a mobile device.
- 12. An apparatus for processing a two-dimensional code, comprising: A memory; A processor coupled with the memory and configured to perform the method of any of claims 1-11.
- 13. A computer readable storage medium for processing a two-dimensional code, having stored thereon instructions that, when executed by a processor, cause the processor to be configured to perform the method of any of claims 1-11.
- 14. A computer program product for processing two-dimensional codes, comprising instructions which, when executed by a processor, cause the processor to be configured to perform the method of any one of claims 1-11.
Description
Method and device for processing two-dimensional code by processor of carrier Technical Field The present disclosure relates to the field of vehicle control, and more particularly, to a method and apparatus for processing two-dimensional codes by a processor of a vehicle. Background With the development of communication technology, the functions that can be realized by scanning two-dimensional codes are increasing. In a specific application scenario of a parking lot, for example, a driver can finish paying parking fees by scanning two-dimensional codes before driving a vehicle out of the parking lot, and some other two-dimensional codes, such as a two-dimensional code for a public number of the parking lot, a two-dimensional code for a public number of a market where the parking lot is located, other two-dimensional codes with advertisement functions, and the like, are usually displayed in the parking lot. Under the above circumstances, before the user completes the function to be implemented, it also needs to take time to find the two-dimensional code to be scanned from the plurality of two-dimensional codes, so that the user experience is very affected. Disclosure of Invention It is desirable to provide a method and apparatus for processing a two-dimensional code by a processor of a vehicle, which can effectively improve the degree of automation for identifying the two-dimensional code, thereby improving user experience. According to a first aspect of the present disclosure, there is provided a method for processing two-dimensional codes by a processor of a vehicle, including identifying each of at least one two-dimensional code scanned by the vehicle to read content corresponding to each of the at least one two-dimensional code, and determining a function class of each of the at least one two-dimensional code based on the content corresponding to each of the at least one two-dimensional code, and causing the at least one two-dimensional code to be presented on a screen within the vehicle based on a manner corresponding to the function class of each of the at least one two-dimensional code. According to a second aspect of the present disclosure, there is provided an apparatus for processing a two-dimensional code. The apparatus comprises a memory, a processor coupled to the memory and configured to perform the method according to the first aspect. According to a third aspect of the present disclosure, there is provided a computer readable storage medium for processing a two-dimensional code, having stored thereon instructions which, when executed by a processor, cause the processor to be configured to perform the method according to the first aspect. According to a fourth aspect of the present disclosure, there is provided a computer program product for processing a two-dimensional code, comprising instructions which, when executed by a processor, cause the processor to be configured to perform the method according to the first aspect. Drawings The foregoing and other objects, features and advantages of embodiments of the disclosure will be apparent from the following more particular descriptions of embodiments of the disclosure as illustrated in the accompanying drawings wherein like reference numbers generally represent like elements throughout the various drawings. Fig. 1 is a flowchart of a method for processing a two-dimensional code according to the present disclosure. Fig. 2 is a flow chart of another method for processing a two-dimensional code according to the present disclosure. Fig. 3 is a schematic diagram of on-screen display for a vehicle according to one example of the present disclosure. Fig. 4 is a block diagram of an apparatus for processing a two-dimensional code according to the present disclosure. Detailed Description The subject matter described in this disclosure will now be discussed with reference to various embodiments. It should be appreciated that these embodiments are discussed only to enable those skilled in the art to better understand and practice the subject matter described in the present disclosure, and are not limiting on the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the scope of the claims. Various embodiments may omit, replace, or add various procedures or components as desired. At present, due to the increasing functions which can be realized by scanning the two-dimension code, a user can not only finish parking fee payment by scanning the two-dimension code, but also acquire various relevant information by the two-dimension code. However, when a user faces a plurality of two-dimensional codes with various functions, before the functions to be realized are completed, the user needs to spend time to find the two-dimensional codes to be scanned from the plurality of two-dimensional codes, so that the user experience is very affected. In order to solve the p