Vehicle type coding method, device, equipment and readable storage medium
By generating a basic logo dictionary library and a basic vehicle model configuration library, and parsing vehicle model codes, the problem in the existing technology of being unable to quickly find the vehicle model required by the user is solved, achieving rapid positioning and reducing labor costs.
Patent Information
- Application Number
- CN202210852772.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-07-19
AI Technical Summary
The existing model coding method cannot quickly find the models needed by users, resulting in high labor costs.
By obtaining the corresponding relationship between the basic signs and the configuration, the basic logo dictionary library and model basic configuration library is generated, thereby analyzing the encoding of the models of each model and quickly positioning the model configuration required by users.
It is possible to quickly find the car models that users need without investing in more manual searches, which reduces labor costs.
Smart Images

Figure CN115293107B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle manufacturing technology, and in particular to a vehicle model coding method, device, equipment and readable storage medium. Background Art
[0002] As users have different demands for vehicle configurations, the differences between vehicle configurations are becoming increasingly larger, and different vehicle configurations produce different car models. At present, car companies mainly use serial number coding to encode different car models. However, if there are many car models, this coding method cannot quickly find the car model the user needs because it is not associated with the vehicle configuration characteristics, and more manpower costs are required to search. Summary of the invention
[0003] The main purpose of the present invention is to provide a vehicle model coding method, device, equipment and readable storage medium, aiming to solve the problem that the vehicle model required by the user cannot be quickly found through the existing coding method and the labor cost is high.
[0004] In a first aspect, the present invention provides a vehicle type coding method, the vehicle type coding method comprising:
[0005] Obtaining the correspondence between each basic mark and each configuration, and generating a basic mark dictionary library according to the correspondence;
[0006] Obtain each configuration of each vehicle model, associate each vehicle model with each configuration, obtain the association result, and generate a vehicle model basic configuration library based on the association result;
[0007] Obtaining each basic symbol corresponding to each configuration of each vehicle model from the vehicle model basic configuration library and the basic symbol dictionary library;
[0008] According to the number of characteristic types of each configuration of each model, each basic symbol corresponding to each configuration of each model is analyzed to obtain the model code of each model.
[0009] Optionally, the step of obtaining the correspondence between each basic mark and each configuration, and generating a basic mark dictionary library according to the correspondence includes:
[0010] Obtaining each basic flag and each configuration for encoding each configuration according to a basic flag encoding rule;
[0011] Each basic mark and each configuration are matched one by one, the corresponding relationship between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the corresponding relationship.
[0012] Optionally, the step of acquiring each basic symbol corresponding to each configuration of each vehicle model from the vehicle model basic configuration library and the basic symbol dictionary library includes:
[0013] Obtain each basic flag corresponding to each configuration from the basic flag dictionary library;
[0014] Obtain the configurations corresponding to each vehicle model from the vehicle model basic configuration library;
[0015] Based on the basic symbols corresponding to the configurations, the basic symbols corresponding to the configurations of the vehicle models are obtained.
[0016] Optionally, the step of parsing each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model to obtain the vehicle model code of each vehicle model includes:
[0017] Determine the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model;
[0018] The selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model.
[0019] Optionally, the step of determining the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model comprises:
[0020] comparing the number of characteristic types of each configuration of each vehicle model with a first threshold and a second threshold;
[0021] If there is a number of characteristic types of each configuration of each vehicle model that is less than or equal to the first threshold, then the last digit of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is less than or equal to the first threshold is selected;
[0022] If there is a number of characteristic types of each configuration of each vehicle model that is greater than the first threshold and less than or equal to the second threshold, then the last two digits of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is greater than the first threshold and less than or equal to the second threshold are selected;
[0023] If there is a number of characteristic types of each configuration of each vehicle model that is greater than a second threshold, the second threshold is increased, wherein the first threshold is smaller than the second threshold.
[0024] In a second aspect, the present invention further provides a vehicle type encoding device, the vehicle type encoding device comprising:
[0025] A first generating module is used to obtain the correspondence between each basic mark and each configuration, and generate a basic mark dictionary library according to the correspondence;
[0026] The second generation module is used to obtain each configuration of each vehicle model, associate each vehicle model with each configuration, obtain an association result, and generate a vehicle model basic configuration library based on the association result;
[0027] An acquisition module is used to acquire each basic symbol corresponding to each configuration of each vehicle model from a vehicle model basic configuration library and a basic symbol dictionary library;
[0028] The parsing module is used to parse the basic signs corresponding to the configurations of each model according to the number of characteristic types of each configuration of each model to obtain the model code of each model.
[0029] Optionally, the first generating module is used to:
[0030] Obtaining each basic flag and each configuration for encoding each configuration according to a basic flag encoding rule;
[0031] Each basic mark and each configuration are matched one by one, the corresponding relationship between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the corresponding relationship.
[0032] Optionally, the parsing module is used to:
[0033] Determine the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model;
[0034] The selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model.
[0035] In a third aspect, the present invention also provides a vehicle model coding device, comprising a processor, a memory, and a vehicle model coding program stored in the memory and executable by the processor, wherein when the vehicle model coding program is executed by the processor, the steps of the vehicle model coding method as described above are implemented.
[0036] In a fourth aspect, the present invention further provides a readable storage medium, on which a vehicle model coding program is stored, wherein when the vehicle model coding program is executed by a processor, the steps of the vehicle model coding method as described above are implemented.
[0037] In the present invention, the correspondence between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the correspondence; each configuration of each vehicle model is obtained, each vehicle model is associated with each configuration, and an association result is obtained, and a vehicle model basic configuration library is generated based on the association result; each basic mark corresponding to each configuration of each vehicle model is obtained from the vehicle model basic configuration library and the basic mark dictionary library; each basic mark corresponding to each configuration of each vehicle model is parsed according to the number of characteristic types of each configuration of each vehicle model, and the vehicle model code of each vehicle model is obtained. Through the present invention, each basic mark corresponding to each configuration of each vehicle model is obtained based on each basic mark corresponding to each configuration, and then each basic mark corresponding to each configuration of each vehicle model is parsed according to the number of characteristic types of each configuration of each vehicle model, so as to obtain the vehicle model code of each vehicle model. Since the vehicle model code of this scheme is obtained based on each basic mark corresponding to each configuration of the vehicle model, each configuration of the vehicle model can be known according to the vehicle model code of this scheme, so as to quickly find the vehicle model required by the user, without investing more manpower to search, and solves the problem that the existing coding method cannot quickly find the vehicle model required by the user and has high labor cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of the hardware structure of a vehicle type encoding device involved in an embodiment of the present invention;
[0039] Figure 2 It is a flowchart of the first embodiment of the coding method for special medicine models of the present invention;
[0040] Figure 3 It is a flow chart of the second embodiment of the coding method for special medicine models of the present invention;
[0041] Figure 4 It is a flow chart of the third embodiment of the coding method for special medicine models of the present invention;
[0042] Figure 5 This is a schematic diagram of the functional modules of an embodiment of a coding device for a special medicine vehicle of the present invention.
[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0045] In a first aspect, an embodiment of the present invention provides a vehicle type coding device, which may be a device having a data processing function, such as a personal computer (PC), a notebook computer, or a server.
[0046] Reference Figure 1, Figure 1 It is a schematic diagram of the hardware structure of the vehicle type coding device involved in the embodiment of the present invention. In the embodiment of the present invention, the vehicle type coding device may include a processor 1001 (such as a central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as wireless fidelity WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM), or a stable memory (non-volatile memory), such as a disk storage, and the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0047] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a vehicle type coding program. The processor 1001 may call the vehicle type coding program stored in the memory 1005 and execute the vehicle type coding method provided in the embodiment of the present invention.
[0048] In a second aspect, an embodiment of the present invention provides a vehicle type coding method.
[0049] In one embodiment, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the method for encoding a special medicine model of the present invention. Figure 2 As shown, the vehicle type coding method includes:
[0050] Step S10, obtaining the correspondence between each basic mark and each configuration, and generating a basic mark dictionary library according to the correspondence;
[0051] In this embodiment, each configuration corresponds to a basic mark. After the correspondence between each basic mark and each configuration is obtained, a basic mark dictionary library can be generated according to the correspondence between each basic mark and each configuration.
[0052] Further, in one embodiment, referring to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the method for encoding a special medicine model according to the present invention. Figure 3 As shown, step S10 includes:
[0053] Step S101, obtaining each basic flag and each configuration for encoding each configuration according to a basic flag encoding rule;
[0054] Step S102 : Make one-to-one correspondence between each basic mark and each configuration, obtain the correspondence between each basic mark and each configuration, and generate a basic mark dictionary library according to the correspondence.
[0055] In this embodiment, the basic mark coding rule is as follows: the basic mark is composed of a 7-bit code, including three parts: attribute, category and text, wherein the attribute of the basic mark is represented by one capital letter, which is used to indicate that the mark is a basic mark; the category of the basic mark is represented by three capital letters or numbers, which is used to classify the basic marks of the same attribute; the text of the basic mark is represented by three capital letters or numbers, which is used to distinguish the different characteristics expressed by the mark under the same basic mark category. It is easy to think that the basic mark coding rule in this embodiment is for reference only and is not limited here. The attribute, category and text of the basic mark can also be represented in other ways.
[0056] The collection of all basic logos is called the basic logo dictionary library, which includes brand and model series logos, body type logos, configuration level logos, power unit logos, transmission and drive type logos, design and customer basic logos, and year logos.
[0057] After obtaining each configuration and each basic mark encoded according to the basic mark encoding rule, each basic mark and each configuration are matched one by one, and the corresponding relationship between each basic mark and each configuration is obtained, and a basic mark dictionary is generated according to the corresponding relationship between each basic mark and each configuration. Among them, the body type mark is used to indicate the outline of the car, the body type of the sedan indicates the number of compartments and doors, and the body type of other passenger cars indicates the purpose of the vehicle (such as SUV, MPV), and the body type mark is as follows:
[0058]
[0059]
[0060] Brand and model series logos are used to indicate the characteristics of product brands and product series. Brand and model series logos are as follows:
[0061]
[0062] The configuration level symbol indicates the classification of the vehicle model's equipment level. The configuration level is generally divided into 8 levels. The configuration level symbols are as follows:
[0063]
[0064] For traditional models, the power unit logo indicates the type and model of fuel used by the engine; for pure electric vehicles, the logo indicates the power battery module number, the rated power of the drive motor, the power battery capacity, etc. The power unit logo is as follows:
[0065]
[0066] The transmission and drive type symbols indicate the transmission model, control method and number of drive wheels. The transmission and drive type symbols are as follows:
[0067]
[0068]
[0069] For traditional or hybrid models, the design and customer basis logo indicates the vehicle's emission standards as well as the country, region and personalized needs of special customers where it is sold. Among them, the standard model is the one without personalized needs.
[0070] For pure electric vehicles, the design and customer-based logo indicates the vehicle's energy consumption limit stage and the country, region and personalized needs of special customers to which it is sold. Among them, the standard model is the one without personalized needs. The design and customer-based logo is as follows:
[0071]
[0072] The model year mark indicates the year in which the vehicle is expected to be put into mass production during product planning. The model year mark is as follows:
[0073]
[0074] Step S20, obtaining each configuration of each vehicle model, associating each vehicle model with each configuration, obtaining an association result, and generating a vehicle model basic configuration library based on the association result;
[0075] In this embodiment, each vehicle includes a plurality of different configurations, and different configurations constitute different models. For example, each model includes 010 basic model, 020 basic model, 030 basic model, 040 basic model, 050 basic model, 060 basic model, 070 basic model and 080 basic model, and each configuration includes each configuration corresponding to each of the above basic signs. After obtaining each configuration of each model, each model is associated with each configuration to obtain an association result, and a model basic configuration library is generated based on the association result. The basic model is a model corresponding to basic configurations such as different configuration levels, power units, transmissions and drive forms under the same model series.
[0076] The basic configuration library of the vehicle model is as follows:
[0077]
[0078]
[0079] Among them, the configurations of the 010 basic model are Dongfeng brand F37 series, 4-door 3-compartment sedan, E0-class, CNG engine + 1.6L + DFMA16, transmission and drive type: 5MT + model MA + 2-wheel drive, design and customer basis: China + standard + National V, year: 2013, emission standard: National V. The configurations of the 080 basic model are Dongfeng brand F37 series, 4-door 3-compartment sedan, E0+class, gasoline engine + 1.5L + DFMA15T, transmission and drive type: 5MT + model MA + 2-wheel drive, design and customer basis: China + standard + National V, year: 2019, emission standard: National V.
[0080] Step S30, acquiring each basic symbol corresponding to each configuration of each vehicle model from the vehicle model basic configuration library and the basic symbol dictionary library;
[0081] In this embodiment, the vehicle model basic configuration library is compared with the basic symbol dictionary library, and the Chinese description of the configuration features in the vehicle model series basic configuration library is converted into the corresponding symbols in the basic symbol dictionary library, that is, the basic symbols corresponding to each configuration are obtained from the basic symbol dictionary library, and the configurations corresponding to each vehicle model are obtained from the vehicle model basic configuration library. According to the basic symbols corresponding to each configuration, the basic symbols corresponding to each configuration corresponding to each vehicle model can be obtained.
[0082] Furthermore, in one embodiment, step S30 includes:
[0083] Obtain each basic flag corresponding to each configuration from the basic flag dictionary library;
[0084] Obtain the configurations corresponding to each vehicle model from the vehicle model basic configuration library;
[0085] Based on the basic symbols corresponding to the configurations, the basic symbols corresponding to the configurations of the vehicle models are obtained.
[0086] In this embodiment, each configuration corresponds to a basic mark, and each vehicle corresponds to multiple configurations. From the basic mark dictionary library, basic marks corresponding to brands and vehicle series, basic marks corresponding to vehicle body types, basic marks corresponding to configuration levels, basic marks corresponding to power units, basic marks corresponding to transmissions and drive types, basic marks corresponding to design and customer bases, and basic marks corresponding to year models are obtained.
[0087] Get the configurations corresponding to the 010 basic model, the 020 basic model, the 030 basic model, the 040 basic model, the 050 basic model, the 060 basic model, the 070 basic model and the 080 basic model from the basic configuration library.
[0088] Based on the basic signs corresponding to each configuration, the basic signs corresponding to each configuration of each model can be obtained. Specifically, taking the basic signs corresponding to each configuration of the 080 basic model as an example, the configurations of the 080 basic model are Dongfeng brand F37 series, 4-door 3-compartment sedan, E0+ level, gasoline engine + 1.5L + DFMA15T, transmission and drive type: 5MT + model MA + 2 drive, design and customer basis: China + standard + National V, year: 2019, emission standard: National V. Because the basic mark corresponding to the Dongfeng brand F37 series is KA0A01E, the basic mark corresponding to the 4-door 3-compartment sedan is KA0B003, the basic mark corresponding to the E0+ grade is KA0C00L, the power unit mark: gasoline engine + 1.5L + DFMA15T corresponds to the basic mark KA0D0Q4, the transmission and drive type: 5MT + model MA + 2-wheel drive corresponds to the basic mark KA0E011, the design and customer basis: China + standard type + National V corresponds to the basic mark KA0F01B, the year: 2019 corresponds to the basic mark KA0G009, so the basic marks corresponding to the configurations of the 080 basic model are KA0A01E, KA0B003, KA0C00L, KA0D0Q4, KA0E011, KA0F01B, and KA0G009 respectively.
[0089] Step S40 , analyzing each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model, and obtaining the vehicle model code of each vehicle model.
[0090] In this embodiment, the basic signs corresponding to the configurations of each vehicle model are parsed according to the number of characteristic types of each configuration of each vehicle model, and the vehicle model code of each vehicle model can be obtained, wherein the number of characteristic types of a certain configuration is the number of characteristic types of the configuration on the market. Specifically, the number of characteristic types of the power device is the number of characteristic types of the power device on the market, and the characteristic types of the power device include: gasoline engine + 1.4L + DFMA14T, gasoline engine + 1.5L + DFMA15 and gasoline engine + 1.5L + DFMA15T, etc.
[0091] Further, in one embodiment, referring to Figure 4 , Figure 4 This is a flow chart of the third embodiment of the method for encoding a special medicine model according to the present invention. Figure 4 As shown, step S40 includes:
[0092] Step S401, determining the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model;
[0093] Step S402, combining the selected digits according to a preset vehicle model coding rule to obtain a vehicle model code for each vehicle model.
[0094] In this embodiment, the number of characteristic types of each configuration of each vehicle model input by the user is obtained, and the number of digits of each basic mark corresponding to each configuration of each vehicle model is determined according to the number of characteristic types of each configuration of each vehicle model.
[0095] The selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model. Specifically, if the last two digits 1E of the brand and vehicle model series mark KA0A01E of the 080 basic vehicle model, the last digit 3 of the body type mark KA0B003, the last digit L of the configuration level mark KA0C00L, the last two digits Q4 of the power device mark KA0D0Q4, the last two digits 11 of the transmission and drive type mark KA0E011, and the last two digits 1B of the design and customer base mark KA0F01B are selected, if the number of characteristic types of the year model does not exceed 36, the last digit 9 of the year model mark KA0G009 is selected. Then the selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model as 1E3LQ4111B9.
[0096]
[0097]
[0098] Further, in one embodiment, continue to refer to Figure 4The step of determining the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model comprises:
[0099] Step S403, comparing the number of characteristic types of each configuration of each vehicle model with a first threshold and a second threshold;
[0100] Step S404, if there is a number of characteristic types of each configuration of each vehicle model that is less than or equal to the first threshold, then select the last digit of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is less than or equal to the first threshold;
[0101] Step S405, if there is a number of characteristic types of each configuration of each vehicle model that is greater than the first threshold and less than or equal to the second threshold, then select the last two digits of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is greater than the first threshold and less than or equal to the second threshold;
[0102] Step S406: if there is a number of characteristic types of each configuration of each vehicle model that is greater than a second threshold, then increase the second threshold, wherein the first threshold is less than the second threshold.
[0103] In this embodiment, the second threshold is greater than the maximum value of the number of feature types of each configuration of each vehicle model. The number of feature types of each configuration of each vehicle model is obtained, and the number of feature types of each configuration of each vehicle model is compared with the first threshold and the second threshold. If there is a number of feature types of each configuration of each vehicle model that is less than or equal to the first threshold, the last digit of each basic mark corresponding to each configuration whose number of feature types of each configuration of each vehicle model is less than or equal to the first threshold is selected. If there is a number of feature types of each configuration of each vehicle model that is greater than the first threshold and less than or equal to the second threshold, the last digits of each basic mark corresponding to each configuration whose number of feature types of each configuration of each vehicle model is greater than the first threshold and less than or equal to the second threshold are selected. If there is a number of feature types of each configuration of each vehicle model that is greater than the second threshold, the second threshold is increased, wherein the first threshold is less than the second threshold.
[0104] Specifically, taking the first threshold as 36, the second threshold as 1296 and the model code of the 080 basic model as an example, the number of characteristic types of each configuration of the 080 basic model is obtained, because the basic mark corresponding to the Dongfeng brand F37 series of each configuration of the 080 basic model is KA0A01E, the basic mark corresponding to the 4-door 3-compartment sedan is KA0B003, the basic mark corresponding to the E0+ level is KA0C00L, the power unit mark: gasoline engine + 1.5L + DFMA15T corresponds to the basic mark KA0D0Q4, the transmission and drive type: 5MT + model MA + 2 drive corresponds to the basic mark KA0E011, the design and customer basis: China + standard type + National V corresponds to the basic mark KA0F01B, the year: 2019 corresponds to the basic mark KA0G009, so, if the number of characteristic types of the brand and model series of the 080 basic model exceeds 36 and is less than If the number of characteristic types of the vehicle body type does not exceed 36, the last digit 3 of the vehicle body type mark KA0B003 is selected. If the number of characteristic types of the configuration level does not exceed 36, the last digit L of the configuration level mark KA0C00L is selected. If the number of characteristic types of the power device exceeds 36 and is less than 1296, the last digit Q4 of the power device mark KA0D0Q4 is selected. If the number of characteristic types of the transmission and drive type exceeds 36 and is less than 1296, the last digit 11 of the transmission and drive type mark KA0E011 is selected. If the number of characteristic types of the design and customer base exceeds 36 and is less than 1296, the last digit 1B of the design and customer base mark KA0F01B is selected. If the number of characteristic types of the year model does not exceed 36, the last digit 9 of the year model mark KA0G009 is selected. It is easy to think that the parameters in this embodiment are for reference only and are not limited here.
[0105] In this embodiment, the correspondence between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the correspondence; each configuration of each vehicle model is obtained, each vehicle model is associated with each configuration, and an association result is obtained, and a vehicle model basic configuration library is generated based on the association result; each basic mark corresponding to each configuration of each vehicle model is obtained from the vehicle model basic configuration library and the basic mark dictionary library; each basic mark corresponding to each configuration of each vehicle model is parsed according to the number of characteristic types of each configuration of each vehicle model, and the vehicle model code of each vehicle model is obtained. Through this embodiment, each basic mark corresponding to each configuration of each vehicle model is obtained based on each basic mark corresponding to each configuration, and then each basic mark corresponding to each configuration of each vehicle model is parsed according to the number of characteristic types of each configuration of each vehicle model, so as to obtain the vehicle model code of each vehicle model. Since the vehicle model code of this scheme is obtained based on each basic mark corresponding to each configuration of the vehicle model, each configuration of the vehicle model can be known according to the vehicle model code of this scheme, so as to quickly find the vehicle model required by the user, without investing more manpower to search, which solves the problem that the existing coding method cannot quickly find the vehicle model required by the user and has high labor cost.
[0106] In a third aspect, an embodiment of the present invention further provides a vehicle type encoding device.
[0107] In one embodiment, referring to Figure 5 , Figure 5 This is a functional module diagram of an embodiment of a coding device for special medicine models of the present invention. Figure 5 As shown, the vehicle type coding device includes:
[0108] The first generating module 10 is used to obtain the correspondence between each basic mark and each configuration, and generate a basic mark dictionary library according to the correspondence;
[0109] The second generation module 20 is used to obtain each configuration of each vehicle model, associate each vehicle model with each configuration, obtain an association result, and generate a vehicle model basic configuration library based on the association result;
[0110] The acquisition module 30 is used to acquire each basic symbol corresponding to each configuration of each vehicle model from the vehicle model basic configuration library and the basic symbol dictionary library;
[0111] The parsing module 40 is used to parse each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model, so as to obtain the vehicle model code of each vehicle model.
[0112] Furthermore, in one embodiment, the first generating module 10 is used to:
[0113] Obtaining each basic flag and each configuration for encoding each configuration according to a basic flag encoding rule;
[0114] Each basic mark and each configuration are matched one by one, the corresponding relationship between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the corresponding relationship.
[0115] Furthermore, in one embodiment, the acquisition module 30 is used to:
[0116] Obtain each basic flag corresponding to each configuration from the basic flag dictionary library;
[0117] Obtain the configurations corresponding to each vehicle model from the vehicle model basic configuration library;
[0118] Based on the basic symbols corresponding to the configurations, the basic symbols corresponding to the configurations of the vehicle models are obtained.
[0119] Furthermore, in one embodiment, the parsing module 40 is used to:
[0120] Determine the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model;
[0121] The selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model.
[0122] Furthermore, in one embodiment, the vehicle type coding device further includes a selection module for:
[0123] comparing the number of characteristic types of each configuration of each vehicle model with a first threshold and a second threshold;
[0124] If there is a number of characteristic types of each configuration of each vehicle model that is less than or equal to the first threshold, then the last digit of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is less than or equal to the first threshold is selected;
[0125] If there is a number of characteristic types of each configuration of each vehicle model that is greater than the first threshold and less than or equal to the second threshold, then the last two digits of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is greater than the first threshold and less than or equal to the second threshold are selected;
[0126] If there is a number of characteristic types of each configuration of each vehicle model that is greater than a second threshold, the second threshold is increased, wherein the first threshold is smaller than the second threshold.
[0127] Among them, the functional implementation of each module in the above-mentioned vehicle type encoding device corresponds to the various steps in the above-mentioned vehicle type encoding method embodiment, and its functions and implementation processes will not be repeated here one by one.
[0128] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium.
[0129] The vehicle type coding program is stored on the readable storage medium of the present invention, and when the vehicle type coding program is executed by the processor, the steps of the vehicle type coding method as described above are implemented.
[0130] Among them, the method implemented when the vehicle type coding program is executed can refer to the various embodiments of the vehicle type coding method of the present invention, and will not be repeated here.
[0131] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0132] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0134] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A vehicle type coding method, characterized in that: The vehicle type coding method comprises: Obtaining the correspondence between each basic mark and each configuration, and generating a basic mark dictionary library according to the correspondence; Obtain each configuration of each vehicle model, associate each vehicle model with each configuration, obtain the association result, and generate a vehicle model basic configuration library based on the association result; Obtaining each basic symbol corresponding to each configuration of each vehicle model from the vehicle model basic configuration library and the basic symbol dictionary library; According to the number of characteristic types of each configuration of each model, each basic symbol corresponding to each configuration of each model is parsed to obtain the model code of each model; The step of parsing each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model to obtain the vehicle model code of each vehicle model includes: Determine the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model; The selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model; The step of determining the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model comprises: comparing the number of characteristic types of each configuration of each vehicle model with a first threshold and a second threshold; If there is a number of characteristic types of each configuration of each vehicle model that is less than or equal to the first threshold, then the last digit of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is less than or equal to the first threshold is selected; If there is a number of characteristic types of each configuration of each vehicle model that is greater than the first threshold and less than or equal to the second threshold, then the last two digits of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is greater than the first threshold and less than or equal to the second threshold are selected; If there is a number of characteristic types of each configuration of each vehicle model that is greater than a second threshold, the second threshold is increased, wherein the first threshold is smaller than the second threshold.
2. The vehicle type coding method according to claim 1, characterized in that: The step of obtaining the correspondence between each basic mark and each configuration, and generating a basic mark dictionary library according to the correspondence includes: Obtaining each basic flag and each configuration for encoding each configuration according to a basic flag encoding rule; Each basic mark and each configuration are matched one by one, the corresponding relationship between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the corresponding relationship.
3. The vehicle type coding method according to claim 1, characterized in that: The step of obtaining each basic symbol corresponding to each configuration of each vehicle model from the vehicle model basic configuration library and the basic symbol dictionary library includes: Obtain each basic flag corresponding to each configuration from the basic flag dictionary library; Obtain the configurations corresponding to each vehicle model from the vehicle model basic configuration library; Based on the basic symbols corresponding to the configurations, the basic symbols corresponding to the configurations of the vehicle models are obtained.
4. A vehicle type coding device, characterized in that: The vehicle type encoding device comprises: A first generating module is used to obtain the correspondence between each basic mark and each configuration, and generate a basic mark dictionary library according to the correspondence; The second generation module is used to obtain each configuration of each vehicle model, associate each vehicle model with each configuration, obtain an association result, and generate a vehicle model basic configuration library based on the association result; An acquisition module is used to acquire each basic symbol corresponding to each configuration of each vehicle model from a vehicle model basic configuration library and a basic symbol dictionary library; A parsing module, used to parse each basic mark corresponding to each configuration of each model according to the number of characteristic types of each configuration of each model, and obtain the model code of each model; Wherein, the parsing module is also used for: Determine the number of digits of each basic mark corresponding to each configuration of each vehicle model according to the number of characteristic types of each configuration of each vehicle model; The selected digits are combined according to the preset vehicle model coding rules to obtain the vehicle model code of each vehicle model; Wherein, the vehicle type coding device further includes a selection module for: comparing the number of characteristic types of each configuration of each vehicle model with a first threshold and a second threshold; If there is a number of characteristic types of each configuration of each vehicle model that is less than or equal to the first threshold, then the last digit of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is less than or equal to the first threshold is selected; If there is a number of characteristic types of each configuration of each vehicle model that is greater than the first threshold and less than or equal to the second threshold, then the last two digits of each basic flag corresponding to each configuration of each vehicle model whose number of characteristic types of each configuration is greater than the first threshold and less than or equal to the second threshold are selected; If there is a number of characteristic types of each configuration of each vehicle model that is greater than a second threshold, the second threshold is increased, wherein the first threshold is smaller than the second threshold.
5. The vehicle type encoding device according to claim 4, characterized in that: The first generating module is used for: Obtaining each basic flag and each configuration for encoding each configuration according to a basic flag encoding rule; Each basic mark and each configuration are matched one by one, the corresponding relationship between each basic mark and each configuration is obtained, and a basic mark dictionary library is generated according to the corresponding relationship.
6. A vehicle type coding device, characterized in that: The vehicle type encoding device includes a processor, a memory, and a vehicle type encoding program stored in the memory and executable by the processor, wherein when the vehicle type encoding program is executed by the processor, the steps of the vehicle type encoding method as described in any one of claims 1 to 3 are implemented.
7. A readable storage medium, characterized in that: The readable storage medium stores a vehicle type coding program, wherein when the vehicle type coding program is executed by a processor, the steps of the vehicle type coding method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Methods and systems for autonomous vehicle navigation
CN111351492A
Vehicle production control method and device, apparatus and storage medium
CN113448296A