Vehicle information storage method, device, equipment, storage medium and product
By obtaining and verifying the basic information and part information of the vehicle, creating a database table and performing unique verification, the cumbersome problem of the vehicle basic information storage process in the existing technology is solved, and the effect of simplifying the storage process and improving efficiency is achieved.
Patent Information
- Application Number
- CN202411626200.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-04-08
AI Technical Summary
The storage process of the existing vehicle basic information entry system is complicated, requiring multiple data files to be uploaded and large-scale verification is carried out, and a part entry problem will affect the continued progress of the entire process.
By obtaining the basic information and part information of the vehicle to be stored, determining the mapping relationship between the basic information and part information, creating a database table, and performing unique checksum on the basic information based on the database table.
The process of entering the vehicle's basic information is simplified, the verification steps are reduced, and the storage is ensured after the verification of the uniqueness of the basic information is passed, thereby improving the efficiency and reliability of the storage.
Smart Images

Figure CN119782305A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a vehicle information storage method, device, equipment, storage medium and product. Background Art
[0002] In the existing vehicle basic information entry system, the basic information entry process is relatively cumbersome. Not only does it require uploading data files when each part is entered into the warehouse, but each part entry also requires uploading files to a designated server, and then requesting the corresponding interface to import files and basic data. Each part entry process requires a lot of verification, and any problem with the entry of one of the parts will directly affect the continuation of the process. Therefore, how to simply and effectively enter the basic information of vehicles has become an urgent problem to be solved. Summary of the invention
[0003] The main purpose of this application is to provide a vehicle information storage method, device, equipment, storage medium and product, aiming to solve the technical problem of how to simply and effectively store basic vehicle information.
[0004] To achieve the above purpose, the present application provides a method for storing vehicle information, which comprises the following steps:
[0005] Obtain the basic information and parts information of the vehicles to be stored;
[0006] Determine a mapping relationship between the basic information and the part information, and create a database table according to the mapping relationship;
[0007] The basic information is verified for uniqueness according to the database table, and the basic information is stored in the database after passing the verification.
[0008] Optionally, the step of performing uniqueness verification on the basic information according to the database table and storing the basic information in the database after the verification passes specifically includes:
[0009] According to the database table, the vehicle identification code, the vehicle serial number, and the vehicle onboard information in the basic information are respectively verified to be unique, and a first verification result, a second verification result, and a third verification result are obtained;
[0010] Verify the Bluetooth information in the basic information according to the database table to obtain a fourth verification result;
[0011] Performing uniqueness verification on the SIM card information in the basic information according to the database table to obtain a fifth verification result;
[0012] Determine a target verification result according to the first verification result, the second verification result, the third verification result, the fourth verification result, and the fifth verification result;
[0013] When the target verification result is verification passed, the basic information is stored in the database.
[0014] Optionally, the step of performing uniqueness verification on the vehicle identification code, the vehicle serial number, and the vehicle-mounted information in the basic information according to the database table to obtain a first verification result, a second verification result, and a third verification result specifically includes:
[0015] Searching in a vehicle table in the database table according to the vehicle identification code in the basic information, and if the vehicle identification code does not exist in the vehicle table, determining that the first verification result is verification passed;
[0016] Searching in a vehicle table in the database table according to the vehicle serial number in the basic information, and if the vehicle serial number does not exist in the vehicle table, determining that the second verification result is verification passed;
[0017] A query is performed in the vehicle table in the database table according to the vehicle on-board information in the basic information. If the vehicle on-board information does not exist in the vehicle table, it is determined that the third verification result is verification passed.
[0018] Optionally, the step of verifying the Bluetooth information in the basic information according to the database table to obtain a fourth verification result specifically includes:
[0019] When the Bluetooth information in the basic information is Silverbase Bluetooth, determining whether there is a MAC address and a security serial number in the Bluetooth information;
[0020] If so, determining whether the MAC address exists in the Bluetooth table in the database table;
[0021] If so, the fourth verification result is verification passed.
[0022] Optionally, when the target verification result is verification passed, the step of storing the basic information in the database specifically includes:
[0023] When the target verification result is verification passed, binding the SIM card information and the vehicle-mounted information;
[0024] After the binding is completed, a vehicle grouping object, a vehicle-mounted grouping object and a vehicle-machine grouping object are created, and the vehicle grouping object, the vehicle-mounted grouping object and the vehicle-machine grouping object are bound;
[0025] After the binding is completed, create the vehicle account object, the vehicle account object and the vehicle computer account object;
[0026] After the creation is completed, the basic information is stored in the database.
[0027] Optionally, after the creation is completed, the step of storing the basic information in the database specifically includes:
[0028] After the creation is completed, it is determined whether the vehicle to be stored has NFC parts information;
[0029] If not, the basic information is stored in the database;
[0030] If yes, the uniqueness of the NFC part information is verified;
[0031] After the verification is passed, the basic information is stored in the database.
[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a vehicle information storage device, the vehicle information storage device comprising:
[0033] An information acquisition module is used to obtain basic information and parts information corresponding to the vehicle to be stored;
[0034] A database table creation module, used to determine the mapping relationship between the basic information and the part information, and create a database table according to the mapping relationship;
[0035] The information storage module is used to perform uniqueness verification on the basic information according to the database table, and store the basic information after the verification passes.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle information storage device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle information storage method described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the vehicle information storage method described above are implemented.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle information storage method described above are implemented.
[0039] The present application obtains the basic information and parts information corresponding to the vehicle to be stored, then determines the mapping relationship between the basic information and the parts information, creates a database table based on the mapping relationship, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes. The present application determines the mapping relationship between the basic information and the parts information, and creates a database table based on the mapping relationship, so as to obtain a table containing multiple mapping relationships between the basic information and the parts information to form a database table, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes, so that when the basic information is unique, the basic information can be stored in the warehouse simply and effectively. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0042] Figure 1 This is a flow chart of the first embodiment of the vehicle information storage method of the present application;
[0043] Figure 2 This is a flow chart of the second embodiment of the vehicle information storage method of the present application;
[0044] Figure 3 This is a structural block diagram of the first embodiment of the vehicle information storage device of the present application;
[0045] Figure 4 It is a structural diagram of a vehicle information storage device in the hardware operating environment involved in the embodiment of the present application.
[0046] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0048] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0049] The main solution of the embodiment of the present application is: to obtain the basic information and parts information corresponding to the vehicle to be stored; to determine the mapping relationship between the basic information and the parts information, and to create a database table according to the mapping relationship; to verify the uniqueness of the basic information according to the database table, and to store the basic information after the verification passes.
[0050] In the existing vehicle basic information entry system, the basic information entry process is relatively cumbersome. Not only does it require uploading data files when each part is entered into the warehouse, but each part also needs to upload files to the designated server and then request the corresponding interface to import files and basic data. Each part entry process requires a lot of verification, and if there is a problem with the entry of one of the parts, it will directly affect the continuation of the process.
[0051] The present application obtains the basic information and parts information corresponding to the vehicle to be stored, then determines the mapping relationship between the basic information and the parts information, creates a database table based on the mapping relationship, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes. The present application determines the mapping relationship between the basic information and the parts information, and creates a database table based on the mapping relationship, so as to obtain a table containing multiple mapping relationships between the basic information and the parts information to form a database table, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes, so that when the basic information is unique, the basic information can be stored in the warehouse simply and effectively.
[0052] It should be noted that the execution subject of the present application may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle information storage device, etc. The following takes the vehicle information storage device as an example to illustrate this embodiment and the following embodiments.
[0053] Based on this, the embodiment of the present application provides a method for storing vehicle information. Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle information storage method of the present application.
[0054] In this embodiment, the vehicle information storage method includes the following steps:
[0055] Step S10: Obtain basic information and parts information corresponding to the vehicle to be stored.
[0056] It is understandable that vehicles to be stored refer to vehicles that need to have information stored. Basic information may include vehicle identification code, vehicle serial number, vehicle on-board information, Bluetooth information, etc. Parts information may include the unique identification of the parts, production parameters, etc.
[0057] Step S20: Determine the mapping relationship between the basic information and the part information, and create a database table according to the mapping relationship.
[0058] It should be understood that this embodiment can determine the mapping relationship between basic information and part information, and create a database table based on the mapping relationship. The main purpose of creating the database table is to be able to find the information of another part or vehicle through a part in the background. In this process, different methods are used to bind the vehicle information in different situations. For example, binding the SIM card and tbox uses the form of creating a new database table, and the unique fields of the tbox and sim card are filled in the table. The way to bind tbox and Bluetooth is to add a field information to the tbox table to record Bluetooth related information. Other part relationship bindings can be attributed to these two implementation methods. On the one hand, the creation of the vehicle project number is to add a classification between the brand and the car series to distinguish the vehicles under the same brand in the same period. On the other hand, the project number also plays an important role in authority.
[0059] Step S30: Perform uniqueness verification on the basic information according to the database table, and store the basic information in the database after the verification passes.
[0060] It is understandable that the basic information can be uniquely verified based on the database table. Specifically, it can be checked whether the basic information exists in the database table, and the basic information can be stored in the database after the verification passes.
[0061] This embodiment obtains the basic information and parts information corresponding to the vehicle to be stored, then determines the mapping relationship between the basic information and the parts information, creates a database table based on the mapping relationship, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes. This embodiment determines the mapping relationship between the basic information and the parts information, and creates a database table based on the mapping relationship, so as to obtain a table containing a plurality of mapping relationships between the basic information and the parts information to form a database table, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes, so that when the basic information is unique, the basic information can be stored in the warehouse simply and effectively.
[0062] refer to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the vehicle information storage method of the present application.
[0063] Based on the above first embodiment, in this embodiment, step S30 includes:
[0064] Step S301: Perform uniqueness verification on the vehicle identification code, vehicle serial number, and vehicle onboard information in the basic information according to the database table to obtain a first verification result, a second verification result, and a third verification result.
[0065] It is understandable that in this embodiment, an agreement can be made on the interface first, and a transaction definition in the database can be added, and the entire process of the program can be defined as an atomic operation step in a broad sense. During the operation on the database, if any step goes wrong, all operations of the program on the database are defined as failures, that is, all information that has been stored or modified will be rolled back if there is any error information in the intermediate program.
[0066] It should be understood that after the interface agreement is reached, the vehicle identification code in the basic information can be uniquely verified according to the database table to obtain a first verification result; the vehicle serial number in the basic information can also be uniquely verified according to the database table to obtain a second verification result; the vehicle on-board information in the basic information can also be verified according to the database table to obtain a third verification result.
[0067] Furthermore, in order to effectively verify the uniqueness of the vehicle identification code, vehicle serial number, and vehicle on-board information in the basic information, in this embodiment, the step S301 includes: querying the vehicle table in the database table according to the vehicle identification code in the basic information, and if the vehicle identification code does not exist in the vehicle table, determining that the first verification result is passed; querying the vehicle table in the database table according to the vehicle serial number in the basic information, and if the vehicle serial number does not exist in the vehicle table, determining that the second verification result is passed; querying the vehicle table in the database table according to the vehicle on-board information in the basic information, and if the vehicle on-board information does not exist in the vehicle table, determining that the third verification result is passed.
[0068] It is understandable that the vehicle identification code (VIN) can be searched in the database table according to the vehicle identification code in the basic information to determine whether the vehicle to be stored is already an activated user vehicle. If it is, the storage operation is terminated and the process is rolled back. Specifically, the vehicle table in the database table can be queried according to the vehicle identification code. If the vehicle to be stored does not exist, the subsequent operation is continued to determine that the first verification result is a passed verification. If the vehicle to be stored exists and the vehicle is already activated, an error is reported, the program is terminated and the process is rolled back. This step is mainly to verify whether the vehicle to be stored has been stored. If the vehicle identification code corresponding to the vehicle to be stored exists in the vehicle table, it means that it has been successfully stored and there is no need to perform the storage operation again.
[0069] It should be understood that the uniqueness of the vehicle computer serial number in the basic information can be checked. If the check fails, it will be rolled back. After the check succeeds, the vehicle computer object ipda will be created. Specifically, it can be queried in the vehicle computer table in the database table according to the vehicle computer serial number. If the vehicle computer serial number does not exist in the vehicle computer table, the ipda object is created according to the transmitted parameters and subsequent operations are performed to determine that the second check result is passed. If it exists, it will continue to determine whether the vehicle computer has been bound to the vehicle and the vehicle is in an activated state. If so, an error will be reported. In other cases, the data in the table will be used as the vehicle computer ipda object.
[0070] In a specific implementation, the vehicle on-board information in the basic information, that is, the tbox serial number, can also be checked for uniqueness. Specifically, first query the on-board table in the database table, that is, the tbx table, according to the tbox serial number. If it does not exist, create a tbox object according to the transmitted parameters and continue with subsequent operations to determine that the third verification result is passed. If it exists, continue to judge whether the IMEI information of the tbox in the table, that is, the mobile device identification code is consistent with the transmitted parameters. If they are inconsistent, report a tbox information error and fall back. If they are consistent, judge whether the vehicle bound to the tbox is an activated vehicle. If it is an activated vehicle, report an error and fall back. If it is not an activated or unbound vehicle, the information in the table will be returned as a tbox object. This step is mainly to bind the tbox serial number and imei to ensure that the two data are bound to each other and only one is bound.
[0071] Step S302: verify the Bluetooth information in the basic information according to the database table to obtain a fourth verification result.
[0072] Furthermore, in order to effectively verify the Bluetooth information, in this embodiment, the step S302 includes: when the Bluetooth information in the basic information is Silver Base Bluetooth, determining whether there is a MAC address and a security serial number in the Bluetooth information; if so, determining whether there is the MAC address in the Bluetooth table in the database table; if so, the fourth verification result is verification passed.
[0073] It is understandable that whether the Bluetooth is a silver-based Bluetooth can be determined based on the type of parameters transmitted. If the transmitted Bluetooth is a silver-based Bluetooth, first check whether the MAC address and security serial number exist in the Bluetooth information. If not, directly report an error and return. If it exists, query whether the Bluetooth exists in the Bluetooth table in the database table based on the MAC address. If it exists, the Bluetooth in the database table is used as the return object. The fourth verification result is that the verification passes. If it does not exist, a Bluetooth object is created with the transmitted parameters. This logic is consistent with the previous logic. If the unique identifier of the part exists in the database, the data that was first stored will be used as the main data.
[0074] Step S303: performing uniqueness verification on the SIM card information in the basic information according to the database table to obtain a fifth verification result.
[0075] It should be understood that a SIM card object can be created, and the uniqueness of the SIM card can be checked according to the SIM card user identification code. If the SIM card user identification code exists in the database table, the information in the database table is directly returned as the SIM card object. The fifth check result is that the check passes. If it does not exist, the SIM card object is created according to the transmitted parameters.
[0076] Step S304: determining a target verification result according to the first verification result, the second verification result, the third verification result, the fourth verification result and the fifth verification result.
[0077] It is understandable that when the first verification result, the second verification result, the third verification result, the fourth verification result and the fifth verification result are all verification passed, the target verification result is verification passed.
[0078] Step S305: When the target verification result is verification passed, the basic information is stored in the database.
[0079] Furthermore, in order to simply and effectively store the basic information in the database, in the present embodiment, the step S305 includes: when the target verification result is a passed verification, binding the SIM card information and the vehicle-mounted information; after the binding is completed, creating a vehicle grouping object, a vehicle-mounted grouping object and a vehicle-machine grouping object, and binding the vehicle grouping object, the vehicle-mounted grouping object and the vehicle-machine grouping object; after the binding is completed, creating a vehicle account object, a vehicle-mounted account object and a vehicle-machine account object; after the creation is completed, storing the basic information in the database.
[0080] It should be understood that when the target verification result is passed, the SIM card information and the vehicle information can be bound, that is, the simcard and tbox are bound, and a fittings object is created based on the binding relationship to record the unique binding relationship between the sim card and the tbox. This step requires verification in the fittings table based on the root box serial number to see whether the sim card has been bound. If so, unbind the new sim card information and rebind it. If not, bind it directly.
[0081] It is understandable that after the binding is completed, the vehicle object vehicle can be created according to the vehicle information. This process needs to check whether the vehicle vin information exists in the vehicle table. If it exists, an error is directly reported, otherwise the vehicle vin information is created. You can also create vehicle grouping objects, tbox grouping objects and vehicle grouping objects, vehGroup, tboxGroup and iviGroup, and bind these three grouping objects to facilitate identification of vehicles and their specific parts information. The specific operation is to change the groupId of these three group objects to be consistent, so that you can find other parts bound to them according to the groupId of any one of them.
[0082] In the specific implementation, after the binding is completed, the vehicle account object, tbox account object and vehicle account object, vehAccount, tboxAccount and iviAccount can be created to record the project number, brand number and other related information of the vehicle and parts. This step is mainly to record the brands and projects to which different parts belong, so as to facilitate the handling of permission issues later.
[0083] Furthermore, in the present embodiment, the step of storing the basic information after the creation is completed specifically includes: after the creation is completed, determining whether the vehicle to be stored has NFC parts information; if not, storing the basic information; if so, performing a uniqueness check on the NFC parts information; after the check is passed, storing the basic information.
[0084] It is understandable that after the creation is completed, it can be determined whether the vehicle to be stored has NFC parts information. Some models may have integrated this part. If so, first check the unique identifier, SGW serial number, that is, sgwPdsn is the only NFC parameter. After verification, create sgwGroup to bind the grouping information of vehGroup, and sgwAccount records the project number, brand number and other information of the part.
[0085] In the specific implementation, the final information stored in the database includes ivi information, tbox information, group information, account information, fittings information, sim card information and vehicle information. In order to facilitate the operation of the database, the storage steps are put into the last step. All storage operations are performed before data verification. If the program fails in the data verification stage, it will not bring pressure to the database to save or roll back data.
[0086] This embodiment performs uniqueness verification on the vehicle identification code, the vehicle serial number, and the vehicle on-board information in the basic information according to the database table, and obtains the first verification result, the second verification result, and the third verification result, and then verifies the Bluetooth information in the basic information according to the database table to obtain the fourth verification result, and then verifies the uniqueness of the SIM card information in the basic information according to the database table to obtain the fifth verification result, and then determines the target verification result according to the first verification result, the second verification result, the third verification result, the fourth verification result, and the fifth verification result. When the target verification result is a verification pass, the basic information is stored in the warehouse. This embodiment performs uniqueness verification on the vehicle identification code, the vehicle serial number, the vehicle on-board information, the Bluetooth information, and the SIM card information in the basic information according to the database table, and stores the basic information when the transaction passes. The storage operation is an atomic, non-asynchronous process. If one of the parts fails to be stored in the process, the program will directly report an error, thereby ensuring the integrity and logical correctness of the storage process.
[0087] Reference Figure 3 , Figure 3 This is a structural block diagram of the first embodiment of the vehicle information storage device of the present application.
[0088] like Figure 3 As shown, the vehicle information storage device proposed in the embodiment of the present application includes:
[0089] The information acquisition module 10 is used to acquire the basic information and parts information corresponding to the vehicle to be stored;
[0090] A database table creation module 20, used to determine the mapping relationship between the basic information and the part information, and create a database table according to the mapping relationship;
[0091] The information storage module 30 is used to perform uniqueness verification on the basic information according to the database table, and store the basic information after the verification passes.
[0092] This embodiment obtains the basic information and parts information corresponding to the vehicle to be stored, then determines the mapping relationship between the basic information and the parts information, creates a database table based on the mapping relationship, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes. This embodiment determines the mapping relationship between the basic information and the parts information, and creates a database table based on the mapping relationship, so as to obtain a table containing a plurality of mapping relationships between the basic information and the parts information to form a database table, and then performs a uniqueness check on the basic information based on the database table, and stores the basic information in the warehouse after the check passes, so that when the basic information is unique, the basic information can be stored in the warehouse simply and effectively.
[0093] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present application. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0094] In addition, for technical details that are not described in detail in this embodiment, please refer to the vehicle information storage method provided in any embodiment of the present application, and will not be repeated here.
[0095] Based on the above-mentioned first embodiment of the vehicle information storage device of the present application, a second embodiment of the vehicle information storage device of the present application is proposed.
[0096] In this embodiment, the information storage module 30 is also used to perform uniqueness verification on the vehicle identification code, vehicle serial number, and vehicle on-board information in the basic information according to the database table, and obtain a first verification result, a second verification result, and a third verification result; verify the Bluetooth information in the basic information according to the database table to obtain a fourth verification result; perform uniqueness verification on the SIM card information in the basic information according to the database table to obtain a fifth verification result; determine the target verification result according to the first verification result, the second verification result, the third verification result, the fourth verification result, and the fifth verification result; when the target verification result is a verification pass, the basic information is stored in the storage.
[0097] Furthermore, the information warehousing module 30 is also used to query the vehicle table in the database table according to the vehicle identification code in the basic information. If the vehicle identification code does not exist in the vehicle table, the first verification result is determined to be passed; query the vehicle table in the database table according to the vehicle serial number in the basic information. If the vehicle serial number does not exist in the vehicle table, the second verification result is determined to be passed; query the vehicle table in the database table according to the vehicle-mounted information in the basic information. If the vehicle-mounted information does not exist in the vehicle table, the third verification result is determined to be passed.
[0098] Furthermore, the information storage module 30 is also used to determine whether the MAC address and security serial number exist in the Bluetooth information when the Bluetooth information in the basic information is Silver Base Bluetooth; if so, determine whether the MAC address exists in the Bluetooth table in the database table; if so, the fourth verification result is verification passed.
[0099] Furthermore, the information storage module 30 is also used to bind the SIM card information and the vehicle-mounted information when the target verification result is passed; after the binding is completed, create a vehicle grouping object, a vehicle-mounted grouping object and a vehicle-machine grouping object, and bind the vehicle grouping object, the vehicle-mounted grouping object and the vehicle-machine grouping object; after the binding is completed, create a vehicle account object, a vehicle-mounted account object and a vehicle-machine account object; after the creation is completed, store the basic information.
[0100] Furthermore, the information storage module 30 is also used to determine whether the vehicle to be stored has NFC parts information after the creation is completed; if not, the basic information is stored; if so, the uniqueness of the NFC parts information is verified; after the verification is passed, the basic information is stored.
[0101] Other embodiments or specific implementation methods of the vehicle information storage device of the present application can refer to the above-mentioned method embodiments and will not be repeated here.
[0102] The present application provides a vehicle information storage device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle information storage method in the above-mentioned embodiment one.
[0103] Reference below Figure 4 , which shows a schematic diagram of the structure of a vehicle information storage device suitable for implementing the embodiment of the present application. The vehicle information storage device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The vehicle information storage device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0104] like Figure 4As shown, the vehicle information storage device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle information storage device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle information storage device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle information storage device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0105] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0106] The vehicle information storage device provided by the present application adopts the vehicle information storage method in the above embodiment, which can solve the technical problem of how to simply and effectively store basic vehicle information. Compared with the prior art, the beneficial effects of the vehicle information storage device provided by the present application are the same as the beneficial effects of the vehicle information storage method provided by the above embodiment, and the other technical features of the vehicle information storage device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0107] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0108] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0109] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle information storage method in the above-mentioned embodiment.
[0110] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0111] The computer-readable storage medium may be included in the vehicle information storage device; or may exist independently without being assembled into the vehicle information storage device.
[0112] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle information storage device, the vehicle information storage device: obtains the basic information and parts information corresponding to the vehicle to be stored; determines the mapping relationship between the basic information and the parts information, and creates a database table according to the mapping relationship; performs uniqueness verification on the basic information according to the database table, and stores the basic information after the verification passes.
[0113] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0114] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0115] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0116] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle information storage method, and can solve the technical problem of how to simply and effectively store basic vehicle information. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle information storage method provided by the above-mentioned embodiment, and will not be repeated here.
[0117] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle information storage method when executed by a processor.
[0118] The computer program product provided by this application can solve the technical problem of how to simply and effectively store basic vehicle information. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the vehicle information storage method provided by the above embodiment, which will not be repeated here.
[0119] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for storing vehicle information, characterized in that: The vehicle information storage method comprises the following steps: Obtain the basic information and parts information of the vehicles to be stored; Determine a mapping relationship between the basic information and the part information, and create a database table according to the mapping relationship; The basic information is verified for uniqueness according to the database table, and the basic information is stored in the database after passing the verification.
2. The vehicle information storage method according to claim 1, characterized in that: The step of performing uniqueness verification on the basic information according to the database table and storing the basic information in the database after the verification passes specifically includes: According to the database table, the vehicle identification code, the vehicle serial number, and the vehicle onboard information in the basic information are respectively verified to be unique, and a first verification result, a second verification result, and a third verification result are obtained; Verify the Bluetooth information in the basic information according to the database table to obtain a fourth verification result; Performing uniqueness verification on the SIM card information in the basic information according to the database table to obtain a fifth verification result; Determine a target verification result according to the first verification result, the second verification result, the third verification result, the fourth verification result, and the fifth verification result; When the target verification result is verification passed, the basic information is stored in the database.
3. The vehicle information storage method according to claim 2, characterized in that: The step of performing uniqueness verification on the vehicle identification code, the vehicle serial number, and the vehicle-mounted information in the basic information according to the database table to obtain a first verification result, a second verification result, and a third verification result specifically includes: Searching in a vehicle table in the database table according to the vehicle identification code in the basic information, and if the vehicle identification code does not exist in the vehicle table, determining that the first verification result is verification passed; Searching in a vehicle table in the database table according to the vehicle serial number in the basic information, and if the vehicle serial number does not exist in the vehicle table, determining that the second verification result is verification passed; A query is performed in the vehicle table in the database table according to the vehicle on-board information in the basic information. If the vehicle on-board information does not exist in the vehicle table, it is determined that the third verification result is verification passed.
4. The vehicle information storage method according to claim 2, characterized in that: The step of verifying the Bluetooth information in the basic information according to the database table to obtain a fourth verification result specifically includes: When the Bluetooth information in the basic information is Silverbase Bluetooth, determining whether there is a MAC address and a security serial number in the Bluetooth information; If so, determining whether the MAC address exists in the Bluetooth table in the database table; If so, the fourth verification result is verification passed.
5. The vehicle information storage method according to claim 2, characterized in that: When the target verification result is that the verification is passed, the step of storing the basic information in the database specifically includes: When the target verification result is verification passed, binding the SIM card information and the vehicle-mounted information; After the binding is completed, a vehicle grouping object, a vehicle-mounted grouping object and a vehicle-machine grouping object are created, and the vehicle grouping object, the vehicle-mounted grouping object and the vehicle-machine grouping object are bound; After the binding is completed, create the vehicle account object, the vehicle account object and the vehicle computer account object; After the creation is completed, the basic information is stored in the database.
6. The vehicle information storage method according to claim 5, characterized in that: After the creation is completed, the step of storing the basic information in the database specifically includes: After the creation is completed, it is determined whether the vehicle to be stored has NFC parts information; If not, the basic information is stored in the database; If yes, the uniqueness of the NFC part information is verified; After the verification is passed, the basic information is stored in the database.
7. A vehicle information storage device, characterized in that: The vehicle information storage device comprises: An information acquisition module is used to obtain basic information and parts information corresponding to the vehicle to be stored; A database table creation module, used to determine the mapping relationship between the basic information and the part information, and create a database table according to the mapping relationship; The information storage module is used to perform uniqueness verification on the basic information according to the database table, and store the basic information after the verification passes.
8. A vehicle information storage device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle information storage method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle information storage method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the vehicle information storage method according to any one of claims 1 to 6 are implemented.