Vehicle-mounted camera binding method and system, electronic equipment and storage medium
By identifying and comparing the encoding information of the PCBA board and the shell, the binding process of the on-board camera is simplified, and the problems of cumbersome binding and high error rate in the existing technology are solved, achieving a more efficient and accurate production process.
Patent Information
- Application Number
- CN202410904996.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-11-26
AI Technical Summary
During the production process of existing vehicle cameras, the QR code binding method of PCBA board and shell is cumbersome, inefficient and easy to cause assembly errors, resulting in product failure.
By obtaining the first and second coded information of the PCBA board for identification and comparison, the uniqueness is ensured, and the tag information request is performed on the shell, binding processing is performed, product information is output, binding process is simplified, and the assembly accuracy is improved.
Reduces the error rate of binding, improves production efficiency, ensures the unique binding of each PCBA board to the shell, and improves the accuracy of assembly.
Smart Images

Figure CN119026616A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of camera technology, and in particular to a method, system, electronic equipment and storage medium for binding a vehicle-mounted camera. Background Art
[0002] The vehicle-mounted camera is a machine that provides reliable evidence for the analysis and judgment of traffic accidents. The vehicle-mounted camera is usually composed of a lens, a PCBA board and a shell. The PCBA board is composed of many electronic components and a printed circuit board. The QR code on the PCBA board is used to record all electronic device information; the QR code on the shell is the QR code of the camera product, which is used to record production data information. In order to record complete production data information, the QR code of the PCBA board and the QR code of the shell need to be bound.
[0003] In the related art, generally, the PCBA board QR code is scanned first, and then the shell QR code is scanned, and finally the PCBA board QR code and the shell QR code are bound one by one before assembly. This method is very cumbersome and inefficient, and it is easy to assemble the previous PCBA board to the next shell, resulting in product mismatch. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method, system, electronic device and storage medium for binding a vehicle-mounted camera, which can simplify the binding method, improve production efficiency, and also improve assembly accuracy.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] In a first aspect, the present application provides a method for binding a vehicle-mounted camera, comprising: obtaining first two-dimensional code information and first coding information of a PCBA board, binding the first two-dimensional code information with the first coding information, and outputting label information; after assembling the PCBA board to a shell, obtaining second coding information of the PCBA board, identifying the second coding information with the first coding information, and outputting a request to call the label information; obtaining second two-dimensional code information of the shell, executing the request to call the label information, binding the label information with the label information, and outputting product information.
[0007] The obtaining of the first two-dimensional code information of the PCBA board includes: performing laser marking processing on the PCBA board to output the two-dimensional code of the PCBA board; after performing electrical connection processing on the PCBA board, scanning the two-dimensional code of the PCBA board to output the first two-dimensional code information.
[0008] The method of obtaining the first two-dimensional code information and the first coding information of the PCBA board, binding the first two-dimensional code information with the first coding information, and outputting the label information includes:
[0009] Create an information table, write the tag information into the information table, and then upload the information table to the cloud.
[0010] The method of obtaining the second two-dimensional code information of the shell, executing the calling of the tag information request, binding the tag information with the tag information, and outputting the product information includes:
[0011] The product information is written into the information table.
[0012] The second aspect of the present application provides a system for binding a vehicle-mounted camera, including: a first binding module, used to obtain first two-dimensional code information and first coding information of a PCBA board, bind the first two-dimensional code information with the first coding information, and output label information; an identification module, used to obtain second coding information of the PCBA board after assembling the PCBA board to a shell, identify the second coding information with the first coding information, and output a request to call the label information; a second binding module, used to obtain second two-dimensional code information of the shell, execute the request to call the label information, bind the label information with the label information, and output product information.
[0013] The first binding module includes a scanning unit, and the scanning unit is used to perform laser marking on the PCBA board and output a two-dimensional code of the PCBA board;
[0014] After the PCBA board is electrically connected, the two-dimensional code of the PCBA board is scanned to output the first two-dimensional code information.
[0015] It also includes a first writing module, which is used to create an information table, write the tag information into the information table, and then upload the information table to the cloud.
[0016] It also includes a second writing module, and the second writing module is used to write the product information into the information table.
[0017] A third aspect of the present application provides an electronic device, including:
[0018] Processor; and
[0019] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0020] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.
[0021] Compared with the prior art, the present invention has at least the following advantages:
[0022] The present application uses the first coding information and the second coding information for identification and comparison, which ensures the uniqueness of the binding between each PCBA board and the shell, thereby greatly reducing the error rate of binding. At the same time, the present application first batch-enters the QR codes of all PCBA boards, then uniformly installs them on the shell, and finally uses the first coding information and the second coding information for identification and comparison, and binds the shell QR code with the PCBA board QR code, thereby improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below.
[0024] Figure 1 A method flow chart of a method for binding a vehicle-mounted camera in an embodiment of the present invention;
[0025] Figure 2 A method flow chart of another implementation of the method for binding a vehicle-mounted camera in one embodiment of the present invention;
[0026] Figure 3 A functional module diagram of a system for binding a vehicle-mounted camera in an embodiment of the present invention;
[0027] Figure 4 FIG. 4 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0029] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0030] Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, or a detachable connection or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0031] The vehicle-mounted camera is a machine that provides reliable evidence for the analysis and judgment of traffic accidents. The vehicle-mounted camera is usually composed of a lens, a PCBA board and a shell. The PCBA board is composed of many electronic components and a printed circuit board. The QR code on the PCBA board is used to record all electronic device information; the QR code on the shell is the QR code of the camera product, which is used to record production data information. In order to record complete production data information, the QR code of the PCBA board and the QR code of the shell need to be bound.
[0032] In the current production process of vehicle-mounted cameras, the PCBA board QR code is usually scanned first, then the shell QR code is scanned, and finally the PCBA board QR code and the shell QR code are bound one by one before assembly. This method is very cumbersome and inefficient, and it is easy to assemble the previous PCBA board to the next shell, resulting in product mismatch.
[0033] In response to the above problems, the embodiments of the present application provide a method, system, electronic device and storage medium for binding a vehicle-mounted camera, which can simplify the binding method, improve production efficiency, and also improve the accuracy of assembly.
[0034] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0035] Figure 1 It is a flow chart of a method for binding a vehicle-mounted camera shown in an embodiment of the present application.
[0036] See also Figure 1, a method for binding a vehicle camera, comprising:
[0037] Step S101, obtaining the first two-dimensional code information and the first coding information of the PCBA board, binding the first two-dimensional code information and the first coding information, and outputting the label information.
[0038] It should be noted that the first QR code information is the QR code of the PCBA board, and the first coding information is the unique identification code of the image sensor on the PCBA board. The first coding information is the basis for improving the binding accuracy in the future. After obtaining these two codes, they will be bound together to obtain the tag information.
[0039] Step S102: After the PCBA board is assembled to the housing, the second coding information of the PCBA board is obtained, the second coding information is identified and processed with the first coding information, and a request for calling tag information is output.
[0040] It should be noted that the PCBA board is assembled to the housing to form a camera module. Then the unique identification code on the PCBA board is scanned again to obtain the second coding information. The second coding information is used to search for the same first coding information, so that the uniqueness of the binding can be ensured.
[0041] Step S103, obtain the second QR code information of the shell, execute the tag information call request, bind the tag information with the tag information, and output the product information.
[0042] It should be noted that, through the search in the previous step, the second QR code information obtained is bound to the label information to output the product information. The product information here is also a QR code, and the product production status information can be known by scanning.
[0043] Figure 2 for Figure 1 A more detailed method flow chart of a method for binding a vehicle-mounted camera, a method for binding a vehicle-mounted camera, comprising:
[0044] Step S201, performing laser marking processing on the PCBA board and outputting the PCBA board QR code; after the PCBA board is electrically connected, scanning the PCBA board QR code and outputting the first QR code information;
[0045] The first coding information of the PCBA board is obtained, the first QR code information is bound to the first coding information, and the label information is output.
[0046] It should be noted that first, the white oil block on the PCBA board is laser marked to generate a QR code. Then the PCBA board is connected to a power source and powered on, and is connected to the computer network at the same time. Further, the PCBA board QR code is scanned by the computer software to output the first QR code information. Further, the PCBA board is turned on to obtain the first coding information, and the first coding information and the first QR code information are bound by the software to output the label information.
[0047] Step S202: After the PCBA board is assembled to the housing, the second coding information of the PCBA board is obtained, the second coding information is identified and processed with the first coding information, and a request for calling tag information is output.
[0048] It should be noted that this step can batch assemble multiple PCBA boards to the shell, and after forming multiple camera products, the QR code of the shell is affixed to the camera product. Furthermore, the assembled camera product will be connected to the power supply and connected to the computer. The software on the computer will scan the shell QR code and generate a second QR code information. Furthermore, this step will also light up the camera product to obtain the second coding information. It should be noted here that obtaining the second coding information is also to scan the unique identification code of the image sensor on the PCBA board. The obtained second coding information will be identified and processed with the first coding information. If it is identified as the same, a request to call the tag information will be output.
[0049] Step S203, obtain the second QR code information of the shell, execute the tag information call request, bind the tag information with the tag information, and output the product information.
[0050] The description of this step can refer to step S103, which will not be repeated here.
[0051] Further, in another embodiment, after obtaining the first two-dimensional code information and the first coding information of the PCBA board, binding the first two-dimensional code information and the first coding information, and outputting the label information, the following steps are included:
[0052] Create an information table, write the tag information into the information table, and then upload the information table to the cloud.
[0053] Specifically, after obtaining the second QR code information of the shell, executing the tag information call request, binding the tag information with the tag information, and outputting the product information, it includes:
[0054] Write the product information into the information table.
[0055] It should be noted that in order to ensure the security and integrity of the data, the first QR code information and the first coding information of the PCBA board, as well as the product information will be written into the information table and finally uploaded to the cloud for storage.
[0056] The present application discloses a method for binding a vehicle-mounted camera, which uses the first coding information and the second coding information for identification and comparison, thereby ensuring the uniqueness of the binding between each PCBA board and the shell, thereby greatly reducing the error rate of binding. At the same time, the present application first batch-enters the QR codes of all PCBA boards, then uniformly installs them on the shell, and finally uses the first coding information and the second coding information for identification and comparison, and binds the shell QR code with the PCBA board QR code, thereby improving production efficiency.
[0057] In another embodiment, after the first coding information is obtained, in order to prevent the unique identification code of the image sensor from being damaged or contaminated, thereby affecting subsequent identification and binding. A method for binding a vehicle camera also includes:
[0058] Binarize the PCBA board and output a PCBA board image;
[0059] Extract the identification code information of the PCBA board image and store the identification code information.
[0060] It should be noted that the identification code information here refers to the image information of the unique identification code of the PCBA board image sensor. In order to prevent the subsequent identification code from being damaged or contaminated, the computer software will take a photo of the PCBA board and store it for subsequent backup. Among them, binarization of the PCBA board can make the identification code information clearer, thereby improving the subsequent scanning speed.
[0061] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a vehicle-mounted camera binding system, electronic device and corresponding embodiments.
[0062] Figure 3 It is a functional module diagram of the vehicle camera binding system shown in an embodiment of the present application.
[0063] See also Figure 3 According to a second aspect of the present application, a system for binding a vehicle-mounted camera is provided, including: a first binding module 100, used to obtain first two-dimensional code information and first coding information of a PCBA board, bind the first two-dimensional code information with the first coding information, and output label information; an identification module 200, used to obtain second coding information of the PCBA board after assembling the PCBA board to a shell, identify the second coding information with the first coding information, and output a request for calling label information; a second binding module 300, used to obtain second two-dimensional code information of the shell, execute a request for calling label information, bind the label information with the label information, and output product information.
[0064] In one embodiment, the first binding module 100 includes a scanning unit, which is used to perform laser marking on the PCBA board and output a PCBA board QR code; after the PCBA board is electrically connected, the PCBA board QR code is scanned to output the first QR code information.
[0065] In one embodiment, it also includes a first writing module, which is used to create an information table, write the tag information into the information table, and then upload the information table to the cloud.
[0066] In one embodiment, a second writing module is further included, and the second writing module is used to write product information into the information table.
[0067] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.
[0068] Figure 4 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.
[0069] See also Figure 4 , the electronic device 1000 includes a memory 1010 and a processor 1020 .
[0070] The processor 1020 may be a central processing unit (CPU), or an integrated circuit composed of other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be any conventional processor that can run the Linux kernel.
[0071] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0072] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.
[0073] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0074] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0075] The scheme of the present application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of the various embodiments have their own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art should also be aware that the actions and modules involved in the specification are not necessarily required for the present application. In addition, it can be understood that the steps in the method of the embodiment of the present application can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0076] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for binding a vehicle-mounted camera, characterized in that: include: Obtain the first two-dimensional code information and the first coding information of the PCBA board, bind the first two-dimensional code information with the first coding information, and output label information; After the PCBA board is assembled to the housing, second coding information of the PCBA board is obtained, the second coding information is identified and processed with the first coding information, and a request for calling the tag information is output; The second two-dimensional code information of the shell is obtained, the request for calling the tag information is executed, the tag information is bound with the tag information, and the product information is output.
2. The method for binding a vehicle-mounted camera according to claim 1, characterized in that: The obtaining of the first two-dimensional code information of the PCBA board includes: Performing laser marking on the PCBA board and outputting a QR code of the PCBA board; After the PCBA board is electrically connected, the two-dimensional code of the PCBA board is scanned to output the first two-dimensional code information.
3. The method for binding a vehicle-mounted camera according to claim 1, characterized in that: The method of obtaining the first two-dimensional code information and the first coding information of the PCBA board, binding the first two-dimensional code information with the first coding information, and outputting the label information includes: Create an information table, write the tag information into the information table, and then upload the information table to the cloud.
4. The method for binding a vehicle-mounted camera according to claim 3, characterized in that: The method of obtaining the second two-dimensional code information of the shell, executing the calling of the tag information request, binding the tag information with the tag information, and outputting the product information includes: The product information is written into the information table.
5. A vehicle camera binding system, characterized in that: include: A first binding module is used to obtain the first two-dimensional code information and the first coding information of the PCBA board, bind the first two-dimensional code information with the first coding information, and output label information; An identification module, used for obtaining the second coding information of the PCBA board after assembling the PCBA board to the housing, performing identification processing on the second coding information and the first coding information, and outputting a request for calling the tag information; The second binding module is used to obtain the second two-dimensional code information of the shell, execute the request to call the label information, bind the label information with the label information, and output product information.
6. The vehicle camera binding system according to claim 5, characterized in that: The first binding module includes a scanning unit, and the scanning unit is used to perform laser marking on the PCBA board and output a two-dimensional code of the PCBA board; After the PCBA board is electrically connected, the two-dimensional code of the PCBA board is scanned to output the first two-dimensional code information.
7. The vehicle camera binding system according to claim 5, characterized in that: It also includes a first writing module, which is used to create an information table, write the tag information into the information table, and then upload the information table to the cloud.
8. The vehicle camera binding system according to claim 7, characterized in that: It also includes a second writing module, and the second writing module is used to write the product information into the information table.
9. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 4.
10. A computer-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 4.
