Method and device for batch generation of vehicle certification information

By using Golang programs and database comparison technology, vehicle certificate information is automatically identified and generated, solving the problem of low efficiency in manual data entry and achieving efficient and accurate batch processing.

CN119721015BActive Publication Date: 2026-01-06CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411905581.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2026-01-06
Estimated Expiration
2044-12-23

AI Technical Summary

Technical Problem

In existing technologies, when a vehicle is missing a valid certificate of conformity, the information needs to be manually entered into the backend management platform, which is inefficient and prone to errors, especially since the process of vehicle color recognition and copying and pasting is cumbersome.

Method used

The Golang program implements multi-threaded processing, automatically retrieves abnormal vehicle information from the print message queue, compares and identifies the vehicle body color using the vehicle color dictionary table in the target database, and concatenates the information to generate the certificate of conformity. Finally, it performs validity verification and reprints the reminder.

Benefits of technology

It enables the automatic batch generation of vehicle certificate information, improving processing efficiency, reducing human error, and simplifying the information entry process in case of abnormal situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119721015B_ABST
    Figure CN119721015B_ABST
Patent Text Reader

Abstract

This invention relates to the field of vehicle certificate generation technology, and particularly to a method and apparatus for batch generation of vehicle certificate information. The method includes: acquiring multiple abnormal vehicle information entries from a print message queue, and reading the basic vehicle information for each abnormal vehicle; obtaining a vehicle color dictionary table from a target database, and matching the corresponding body color of each vehicle's basic information entry to the vehicle color dictionary table; concatenating each vehicle's basic information entry with its corresponding body color to obtain multiple vehicle certificate information entries; validating each vehicle certificate information entry, issuing a reprint reminder for successfully validated entries, and issuing a reason for validation failure for unvalidated entries. This solves the problem of low efficiency and error-proneness in existing manual processing methods when multiple abnormal certificate information entries exist during backend processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle certificate generation technology, and in particular to a method and apparatus for batch generation of vehicle certificate information based on Golang. Background Technology

[0002] In cases where a vehicle is missing a valid certificate of conformity, the valid certificate information needs to be manually entered into the backend management platform. Currently, when operations personnel enter the missing certificate information into the backend management platform, the platform only supports importing Excel files in a specified format. Information such as the vehicle VIN, certificate date, engine code, and vehicle body color needs to be retrieved from the vehicle details page on the backend management platform and then copied and pasted. The vehicle body color, in particular, requires manual identification and extraction from the material number description. (Example: Material number description: NEXXXX Standard White Black Interior Nasdaq Silver 000 Two-Wheel Drive 00T Version, the final extracted body color is: Nasdaq Silver). To address the low efficiency of manual color identification and the error-prone nature of copying and pasting, a method is needed to automatically enter vehicle certificates of conformity in batches and efficiently in cases of abnormal vehicle conditions. Summary of the Invention

[0003] This invention provides a method and apparatus for batch generation of vehicle certificate information, in order to solve the problem that existing manual processing methods are inefficient and prone to errors when there are multiple abnormal certificate information during the management backend processing.

[0004] A first aspect of the present invention provides a method for batch generation of vehicle certificate information, comprising the following steps: obtaining multiple abnormal vehicle information from a print message queue and reading the basic vehicle information of each abnormal vehicle; obtaining a vehicle color dictionary table from a target database, and matching the corresponding body color of each basic vehicle information according to the vehicle color dictionary table; concatenating each basic vehicle information with its corresponding body color to obtain multiple vehicle certificate information; validating each vehicle certificate information, and issuing a reprint reminder for the successfully validated vehicle certificate information.

[0005] Optionally, the step of obtaining multiple abnormal vehicle information entries from the print message queue and reading the basic vehicle information for each abnormal vehicle entry includes:

[0006] Based on a Golang program, multiple threads are used to detect multiple abnormal vehicle information in the printed message queue.

[0007] The basic vehicle information of each abnormal vehicle is read in batches from the target database.

[0008] Optionally, the step of obtaining a vehicle color dictionary table from the target database, and matching the body color corresponding to the basic information of each vehicle according to the vehicle color dictionary table, includes:

[0009] Retrieve the vehicle color dictionary table from the target database;

[0010] The system retrieves multiple fields related to the vehicle body color from the basic information of each vehicle.

[0011] The vehicle color dictionary table is compared one by one with the multiple fields. If a field contains color information from a row in the vehicle color dictionary table, it is considered a match, and the vehicle color is temporarily set as the current color information; otherwise, it is considered a no-match. If the color information in the next row continues to match, the lengths of the two color information are compared, and the color information with the larger length is taken as the vehicle body color. This process continues until all color information in the vehicle color dictionary table is matched, thus obtaining the corresponding vehicle body color for each vehicle's basic information.

[0012] Optionally, it also includes:

[0013] The vehicle certificate information that has been successfully verified is written into the target database.

[0014] A second aspect of the present invention provides a device for batch generating vehicle certificate information, comprising:

[0015] The acquisition module is used to acquire multiple abnormal vehicle information in the print message queue and read the basic vehicle information of each abnormal vehicle information.

[0016] The matching module is used to obtain a vehicle color dictionary table from the target database, and to match the body color corresponding to the basic information of each vehicle according to the vehicle color dictionary table.

[0017] The splicing module is used to splice the basic information of each vehicle with its corresponding body color to obtain multiple vehicle certificate information.

[0018] The verification module is used to verify the validity of each vehicle certificate of conformity and to issue a reprint reminder for vehicles whose certificates of conformity have been successfully verified.

[0019] Optionally, the acquisition module includes:

[0020] The detection unit is used to detect multiple abnormal vehicle information in the printed message queue using a Golang program and multiple threads.

[0021] The reading unit is used to read the basic vehicle information of each abnormal vehicle in batches from the target database.

[0022] Optionally, the matching module includes:

[0023] The first acquisition unit is used to acquire the vehicle color dictionary table from the target database;

[0024] The second acquisition unit is used to acquire multiple fields containing the body color in the basic information of each vehicle;

[0025] The matching unit is used to compare the vehicle color dictionary table with the multiple fields one by one. If a field contains the color information of a certain row in the vehicle color dictionary table, it is considered a match, and the vehicle color is temporarily set as the current color information; otherwise, it is considered a no match. If the color information of the next row continues to be matched, the lengths of the two color information are compared, and the color information with the larger length is taken as the body color, until all the color information in the vehicle color dictionary table is matched to obtain the body color corresponding to each vehicle basic information.

[0026] Optionally, it also includes:

[0027] The writing module is used to write the successfully verified vehicle certificate information into the target database.

[0028] A third aspect of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for batch generation of vehicle certificate information as described in the above embodiments.

[0029] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for batch generation of vehicle certificate information.

[0030] The method and apparatus for batch generation of vehicle certificate information proposed in this invention, based on a Golang program, can automatically detect abnormal vehicles and process multiple abnormal vehicle information in a multi-threaded manner. It collects basic information of specified vehicles from a target database and caches the vehicle color dictionary table data in the target database into the program. Through comparison operations, it automatically identifies and extracts basic information containing vehicle body color, and finally concatenates it into content of a specified format and performs effective verification. For vehicle certificate information that has been verified successfully, it issues a reprint reminder, thereby achieving a simple, efficient, and batch automatic processing function for abnormal certificate information in a short period of time.

[0031] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0032] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0033] Figure 1 A flowchart illustrating a method for batch generating vehicle certificate information provided in an embodiment of the present invention;

[0034] Figure 2 This is a diagram illustrating the architecture of vehicle certificate information provided in an embodiment of the present invention.

[0035] Figure 3 This is a specific execution diagram of the vehicle certificate information provided in an embodiment of the present invention;

[0036] Figure 4 A block diagram of a device for batch generating vehicle certificate information provided in an embodiment of the present invention;

[0037] Figure 5 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0038] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0039] The method and apparatus for batch generation of vehicle certificate information according to embodiments of the present invention are described below with reference to the accompanying drawings.

[0040] Figure 1 This is a flowchart illustrating a method for batch generating vehicle certificate information provided in an embodiment of the present invention.

[0041] like Figure 1 As shown, the method for batch generating vehicle certificate information includes the following steps:

[0042] In step S101, multiple abnormal vehicle information messages are obtained from the print message queue, and the basic vehicle information of each abnormal vehicle message is read.

[0043] In some embodiments, multiple abnormal vehicle information entries are obtained from the print message queue, and the basic vehicle information of each abnormal vehicle entry is read, including:

[0044] This Golang program uses multiple threads to detect and print information about multiple abnormal vehicles in the message queue.

[0045] Batch read the basic vehicle information of each abnormal vehicle from the target database.

[0046] In actual execution, based on the Golang program, multiple abnormal vehicle information exists in the print message queue of the management backend, and the vehicle VIN code information of each abnormal vehicle is obtained in batches. The basic information of each vehicle is then filtered in the target database based on the VIN code information of each vehicle.

[0047] In step S102, a vehicle color dictionary table is obtained from the target database to match the body color corresponding to the basic information of each vehicle.

[0048] In some embodiments, a vehicle color dictionary table is obtained from a target database, and the body color corresponding to the basic information of each vehicle is matched according to the vehicle color dictionary table, including:

[0049] Retrieve the vehicle color dictionary table from the target database;

[0050] Retrieve multiple fields related to the vehicle body color from the basic information of each vehicle;

[0051] The vehicle color dictionary table is compared one by one with multiple fields. If a field contains color information from a row in the vehicle color dictionary table, it is considered a match, and the vehicle color is temporarily set as the current color information; otherwise, it is considered a no-match. If the color information in the next row continues to be matched, the lengths of the two color information are compared, and the color information with the larger length is taken as the vehicle body color. This process continues until all color information in the vehicle color dictionary table is matched, and the corresponding vehicle body color for each vehicle's basic information is obtained.

[0052] In actual execution, the vehicle color dictionary table is retrieved from the target database. Multiple fields containing the vehicle body color are obtained from the basic information of each vehicle. The vehicle body color dictionary information table is compared with each of these fields: if the field contains color information from a row in the dictionary, it is considered a match, and the vehicle color is temporarily set to that color; otherwise, it is considered a non-match and not recorded. If the next vehicle body color continues to be matched, the lengths of the two color texts are compared, and the longer one is taken as the vehicle body color. This process continues until all dictionary data is matched, thus obtaining the corresponding vehicle body color for each vehicle's basic information.

[0053] In step S103, the basic information of each vehicle is spliced ​​together with its corresponding body color to obtain multiple vehicle certificate information.

[0054] In step S104, the validity of each vehicle certificate of conformity is verified, and a reminder to reprint the vehicle certificate of conformity that has been successfully verified is issued.

[0055] In actual implementation, the basic information of each vehicle is concatenated with its corresponding body color to obtain multiple vehicle certificate information entries. These entries are then written to an Excel file, and the management backend interface is called to upload the certificate information. After uploading, a mobile interface is called to verify the certificate information. The mobile interface verifies the validity of the certificate information using required fields and enumerated value fields. Upon successful verification, the operations staff receives a success message in the management backend and proceeds to print the vehicle certificate information. Furthermore, after verification, the Golang program logs the results to a file and returns the processing result to the front-end page.

[0056] In some embodiments, it also includes:

[0057] Write the vehicle certificate information that has been successfully verified into the target database.

[0058] In actual operation, after the certificate of conformity is successfully verified, the processing record is written to the MySQL database for the platform to query the record. The processing record includes the vehicle VIN code, processing time, certificate of conformity information, etc.

[0059] like Figure 2 and 3 As shown below, the method for batch generation of vehicle certificate information proposed in this invention will be further explained through a specific embodiment.

[0060] When the operations staff prints the certificate of conformity for an abnormal vehicle, the management backend triggers an exception. The abnormal vehicle information is pushed to the message queue middleware, and the exception information and the real-time processing progress are returned to the front-end page.

[0061] Based on a Golang program, abnormal vehicle information is pushed to a message queue through the management platform, and vehicle VIN code information is retrieved in batches.

[0062] The Golang program connects to a MySQL database, filters the data based on the vehicle's VIN code, obtains a basic vehicle information table, and caches it in local memory. It also retrieves vehicle body color dictionary information from the database.

[0063] Based on the obtained basic vehicle information, identify the field containing the vehicle body color, and compare the vehicle body color dictionary information table with this field one by one: if the field contains the color information of a certain row of the dictionary, it is considered a match, and the vehicle color is temporarily set to that color; otherwise, it is considered a non-match and is not recorded; if the next vehicle body color continues to be matched, compare the length of the two color texts, and take the longer one as the vehicle body color, until all dictionary data is matched.

[0064] The basic information of each vehicle is combined with its corresponding body color to obtain multiple vehicle certificate information. The multiple vehicle certificate information is written into an Excel file one by one, and the management backend interface is called to upload the certificate information.

[0065] After the upload is complete, the mobile API is called to verify the certificate information. The mobile API verifies the validity of the certificate information using required fields and enumerated value fields. After verification, the Golang program logs the information to a file and returns the processing result to the front-end page. Upon successful certificate verification, the operations staff receives a success message in the management backend, continues printing the vehicle certificate information, and simultaneously writes the processing record to a MySQL database for the platform to retrieve.

[0066] In summary, the batch generation method for vehicle certificate information proposed in this embodiment of the invention can automatically detect abnormal vehicles based on a Golang program, and process multiple abnormal vehicle information in a multi-threaded manner. It collects basic information of specified vehicles from the target database, caches vehicle color dictionary data from the target database into the program, and automatically identifies and extracts basic information containing vehicle body color through comparison operations. Finally, it splices the information into a specified format and performs effective verification. For vehicle certificate information that has been verified successfully, it issues a reprint reminder, thereby achieving a simple, efficient, and batch automatic processing function for abnormal certificate information in a short period of time.

[0067] Next, the apparatus for batch generation of vehicle certificate information according to an embodiment of the present invention is described with reference to the accompanying drawings.

[0068] Figure 4 This is a block diagram of a device for batch generating vehicle certificate information according to an embodiment of the present invention.

[0069] like Figure 4 As shown, the batch generation device 40 for vehicle certificate information includes: an acquisition module 401, a matching module 402, a splicing module 403, and a verification module 404.

[0070] The system comprises the following modules: Acquisition module 401 acquires multiple abnormal vehicle information entries from the print message queue and reads the basic vehicle information for each abnormal vehicle. Matching module 402 retrieves a vehicle color dictionary from the target database and matches the corresponding body color for each basic vehicle information entry. Concatenation module 403 concatenates each basic vehicle information entry with its corresponding body color to obtain multiple vehicle certificate information entries. Verification module 404 verifies the validity of each vehicle certificate information entry, issuing a reprint reminder for successfully verified entries and a reason for verification failure for those that fail.

[0071] In some embodiments, the acquisition module 401 includes:

[0072] The detection unit is used to detect and print information about multiple abnormal vehicles in the message queue using a Golang program with multiple threads.

[0073] The reading unit is used to read the basic vehicle information of each abnormal vehicle in batches from the target database.

[0074] In some embodiments, the matching module 402 includes:

[0075] The first acquisition unit is used to acquire the vehicle color dictionary table from the target database;

[0076] The second acquisition unit is used to acquire multiple fields containing the body color in the basic information of each vehicle;

[0077] The matching unit is used to compare the vehicle color dictionary table with multiple fields one by one. If a field contains the color information of a row in the vehicle color dictionary table, it is considered a match, and the vehicle color is temporarily set as the current color information; otherwise, it is considered a no-match. If the color information of the next row continues to be matched, the lengths of the two color information are compared, and the color information with the larger length is taken as the body color, until all the color information in the vehicle color dictionary table is matched, and the body color corresponding to the basic information of each vehicle is obtained.

[0078] In some embodiments, the system further includes a writing module for writing the successfully verified vehicle certificate information into a target database.

[0079] It should be noted that the explanation of the above-mentioned method embodiment for batch generation of vehicle certificate information also applies to the device for batch generation of vehicle certificate information in this embodiment, and will not be repeated here.

[0080] The vehicle certificate information batch generation device proposed in this embodiment of the invention can automatically detect abnormal vehicles based on a Golang program, and process multiple abnormal vehicle information in a multi-threaded manner. It collects basic information of specified vehicles from the target database, and caches the vehicle color dictionary table data in the target database into the program. Through comparison operations, it automatically identifies and extracts basic information containing vehicle body color, and finally splices it into content of a specified format and performs effective verification. It issues a reprint reminder for vehicle certificate information that has been verified successfully, thereby realizing a simple, efficient, and batch automatic processing function for abnormal certificate information in a short period of time.

[0081] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0082] The electronic device may include:

[0083] The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.

[0084] When processor 502 executes the program, it implements the method for batch generating vehicle certificate information provided in the above embodiments.

[0085] Furthermore, electronic devices also include:

[0086] Communication interface 503 is used for communication between memory 501 and processor 502.

[0087] The memory 501 is used to store computer programs that can run on the processor 502.

[0088] The memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0089] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0090] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.

[0091] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.

[0092] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for batch generation of vehicle certificate information.

[0093] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0094] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0095] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.

[0096] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0097] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0098] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0099] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0100] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. A method of batch generation of vehicle certification information, characterized by, The method comprises the following steps: Obtain a plurality of abnormal vehicle information in a print message queue, and read vehicle basic information of each abnormal vehicle information, including: Based on the Golang program, multi-threaded detection of the plurality of abnormal vehicle information in the print message queue; Batch read the vehicle basic information of each abnormal vehicle information in the target database; According to the target database, obtain a vehicle color dictionary table to match the corresponding vehicle body color of each vehicle basic information according to the vehicle color dictionary table, including: Obtain the vehicle color dictionary table in the target database; Obtain a plurality of fields containing vehicle body color in each vehicle basic information; Compare the vehicle color dictionary table with the plurality of fields one by one, if a field contains color information of a certain row in the vehicle color dictionary table, it is considered to be matched, and the vehicle color is temporarily set as the current color information, otherwise it is considered to be unmatched; if the color information of the next row continues to match, compare the lengths of the two color information, and take the color information with the longer length as the vehicle body color, until all color information in the vehicle color dictionary table is matched, to obtain the corresponding vehicle body color of each vehicle basic information; Splice each vehicle basic information with its corresponding vehicle body color to obtain a plurality of vehicle qualification certificate information; Perform validity verification on each vehicle qualification certificate information, and issue a reprint reminder for the vehicle qualification certificate information that passes the verification.

2. The method of claim 1, wherein, Also includes: Write the vehicle qualification certificate information that passes the verification into the target database.

3. A vehicle certification information batch generation apparatus characterized by comprising: Comprise: An acquisition module is configured to acquire a plurality of abnormal vehicle information in a print message queue and read vehicle basic information of each abnormal vehicle information, wherein the acquisition module comprises: A detection unit is configured to detect, based on a Golang program, a plurality of abnormal vehicle information in the print message queue in a multi-threaded manner; A reading unit is configured to batch read vehicle basic information of each abnormal vehicle information in a target database; A matching module is configured to obtain a vehicle color dictionary table from a target database to match a corresponding vehicle body color of each vehicle basic information according to the vehicle color dictionary table, wherein the matching module comprises: A first acquisition unit is configured to obtain the vehicle color dictionary table in the target database; A second acquisition unit is configured to obtain a plurality of fields containing vehicle body color in each vehicle basic information; A matching unit is configured to compare the vehicle color dictionary table with the plurality of fields one by one, if a field contains color information of a certain row in the vehicle color dictionary table, it is considered to be matched, and the vehicle color is temporarily set as the current color information, otherwise it is considered to be unmatched; if the color information of the next row continues to match, compare the lengths of the two color information, and take the color information with the longer length as the vehicle body color, until all color information in the vehicle color dictionary table is matched, to obtain the corresponding vehicle body color of each vehicle basic information; A splicing module is configured to splice each vehicle basic information with its corresponding vehicle body color to obtain a plurality of vehicle qualification certificate information; The check module is configured to check the validity of each vehicle qualification information, and issue a re-printing reminder for the vehicle qualification information that passes the check, and issue a check failure reason for the vehicle qualification information that fails the check.

4. The apparatus for batch generation of vehicle certification information according to claim 3, wherein, Further comprising: The write module is configured to write the vehicle qualification information that passes the check into the target database.

5. An electronic device, comprising: Comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the batch generation method of vehicle qualification information according to any one of claims 1-2.

6. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the batch generation method of vehicle qualification information according to any one of claims 1-2.

Citation Information

Patent Citations

  • Method for printing motor vehicle quality certificate in ERP management software

    CN105787654A

  • Vehicle information collection and uploading method and device, storage medium and computer equipment

    CN108875697A