Log information storage method of vehicle, electronic device and readable storage medium
By adding identity information to vehicle log information and distributing and storing it based on that identity information, the information security problem caused by storing log information from different brands of vehicles on the same platform is solved, achieving independent storage and management and reducing the risk of information leakage.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
- Filing Date
- 2024-12-18
- Publication Date
- 2026-06-19
AI Technical Summary
The unified storage of log information from different vehicle brands on the same vehicle-to-everything (V2X) cloud platform poses challenges to information security auditing. Brands may be able to see each other's log information, resulting in a high risk of information leakage.
Identity information is added to the received vehicle log information, and the log information is distributed to the matching database storage file according to the identity information, so as to realize independent storage for vehicles of different brands.
By matching and storing identity information, the risk of information leakage is reduced, information security audit requirements are met, and independent management of log information for vehicles of different brands is achieved.
Smart Images

Figure CN122240571A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more specifically, to a method for storing vehicle log information, an electronic device, and a computer-readable storage medium. Background Technology
[0002] Vehicle-to-everything (V2X) systems can collect vehicle log information (such as vehicle operating status data and vehicle data) through onboard devices and sensors, and upload the log information to a V2X cloud platform. The V2X cloud platform can process and analyze the received log information to provide services to users.
[0003] However, currently, vehicles from multiple brands share the same connected vehicle cloud platform, which results in log information from different brands being collected and stored in a single location within the cloud platform. Furthermore, this unified collection and storage makes it impossible to distinguish which brand of vehicle the log information originated from. Summary of the Invention
[0004] The embodiments proposed in this disclosure can solve or partially solve the deficiencies mentioned in the background section above or other deficiencies in the prior art.
[0005] This disclosure provides a method for storing vehicle log information. The method includes: adding vehicle identity information to received initial vehicle log information to generate log information; and distributing the log information to a database storage file that matches the identity information based on the identity information.
[0006] In one implementation, adding vehicle identity information to the received initial vehicle log information to generate log information includes: determining initial vehicle identity information based on the received initial log information; converting the initial identity information into identity information; and adding the identity information to the initial log information to generate log information. The initial identity information includes at least one of a user token and a vehicle VIN code, and the identity information includes at least one of a vehicle brand and a vehicle model.
[0007] In one implementation, sending log information to a database storage file that matches the identity information based on the identity information includes: adding storage location information that matches the identity information to the log information based on the identity information; and distributing the log information to the database storage file that matches the storage location information based on the storage location information.
[0008] In one implementation, adding storage location information matching the identity information to the log information according to the identity information includes: reading the log information and caching the read log information; reading the cached log information and parsing the read log information; and adding storage location information matching the identity information to the log information based on the parsed identity information.
[0009] In one implementation, based on the parsed identity information, storage location information matching the identity information is added to the log information, including: based on the vehicle brand in the parsed identity information, storage location information matching the identity information is added to the log information.
[0010] In one implementation, based on the parsed identity information, storage location information matching the identity information is added to the log information, including: based on the vehicle brand and model in the parsed identity information, storage location information matching the identity information is added to the log information.
[0011] In one implementation, the log information includes multiple strings representing different information. Parsing the read log information includes prepending the corresponding information name to the read strings.
[0012] In one implementation, the method further includes granting brand owners of different vehicle brands permission to view database storage files corresponding to their vehicle brands.
[0013] This disclosure also provides an electronic device. The electronic device includes at least one processor and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed, enable the at least one processor to perform a method for storing vehicle log information as described above.
[0014] Another aspect of this disclosure provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program can implement the method for storing vehicle log information as described above.
[0015] In one or more embodiments of this disclosure, by distributing vehicle log information to database storage files that match the vehicle's identity information based on the vehicle's identity information, it is beneficial to achieve the goal of independently storing log information of vehicles of different brands, reducing the risk of information leakage, and thus helping to meet the requirements of information security auditing. Attached Figure Description
[0016] Other features, objects, and advantages of this disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
[0017] Figure 1 This is a schematic diagram illustrating an implementation environment of a method for storing vehicle log information according to an exemplary embodiment of this disclosure;
[0018] Figure 2 This is a flowchart of a method for storing vehicle log information according to an exemplary embodiment of the present disclosure;
[0019] Figure 3 This is a schematic diagram of the process for generating log information for the first vehicle and the second vehicle according to an embodiment of the present disclosure.
[0020] Figure 4 This is a schematic diagram illustrating the process of storing log information of the first vehicle and the second vehicle in a first database storage file and a second database storage file, respectively, according to an embodiment of this disclosure.
[0021] Figure 5 This is a schematic flowchart illustrating the process of parsing and storing log information of a first vehicle in a first database storage file according to an embodiment of this disclosure; and
[0022] Figure 6 This is a schematic block diagram of an electronic device according to embodiments of the present disclosure. Detailed Implementation
[0023] To better understand this disclosure, various aspects of this disclosure will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are merely illustrative of exemplary embodiments of this disclosure and are not intended to limit the scope of this disclosure in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0024] It should be noted that in this specification, the terms "first," "second," "third," etc., are used only to distinguish one feature from another and do not imply any limitation on the features, especially not any order of precedence. Therefore, without departing from the teachings of this disclosure, the first vehicle discussed herein may also be referred to as the second vehicle, and vice versa.
[0025] As used herein, the terms “approximately,” “about,” and similar terms are used as terms indicating approximation, not as terms indicating degree, and are intended to describe inherent biases in measured or calculated values that will be recognized by one of ordinary skill in the art.
[0026] It should also be understood that expressions such as "comprising," "including," "having," "containing," and / or "comprising" are open-ended rather than closed-ended expressions in this specification, indicating the presence of the stated features, elements, and / or components, but not excluding the presence of one or more other features, elements, components, and / or combinations thereof. Furthermore, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features, not just individual elements in the list. Additionally, when describing embodiments of this disclosure, the word "may" is used to mean "one or more embodiments of this disclosure." And the term "exemplary" is intended to refer to an example or illustration.
[0027] Unless otherwise specified, all terms used herein (including engineering and technical terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. It should also be understood that, unless expressly stated in this disclosure, terms as defined in common dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or overly formalized meaning.
[0028] It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0029] The features, principles and other aspects of this disclosure are described in detail below.
[0030] With the development of intelligent connected vehicles, more and more vehicles are connecting to vehicle-to-everything (V2X) cloud platforms. Collecting vehicle log information through these platforms can provide numerous conveniences for safe driving, accident investigation, and vehicle maintenance. Typically, a single V2X cloud platform can collect log information from multiple brands of vehicles, and vehicles from different brands share the same cloud-based microservice system after connecting. This microservice system often records a large amount of log information, some of which, such as brand-specific information and sensitive information (e.g., user privacy information), may only be viewable by the brand of the vehicle in question. However, because the microservice system is shared, the unified collection and storage of log information from different brands leads to log information from different brands being stored in the same location. This allows different brands to see each other's vehicle log information, posing a significant challenge to information security auditing.
[0031] Figure 1 This is a schematic diagram illustrating an implementation environment of a method for storing vehicle log information according to an exemplary embodiment of this disclosure. Figure 1As shown, the vehicle terminal 101 and the cloud terminal 102 can transmit and transmit signals via the network. The relevant information or content of the cloud terminal 102 can be displayed to the user through at least one of the terminals such as mobile phone 103 and computer 104, and can execute the user's relevant operations and inputs. Figure 1 The vehicle-side 101 shown can be an in-vehicle infotainment terminal assembly. The cloud-side 102 can be a cloud platform providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms; this disclosure does not impose any limitations on this. The cloud-side 102 can be a vehicle remote service platform (such as a vehicle networking cloud platform). The terminal can be any terminal device that supports inputting a VIN code and displaying relevant information or content sent from the cloud, such as a smartphone, in-vehicle computer, tablet, laptop, or wearable device, but is not limited to these. The terminal can be a smart terminal that can communicate with the vehicle's navigation service terminal via wireless networks such as 3G (third-generation mobile information technology), 4G (fourth-generation mobile information technology), and 5G (fifth-generation mobile information technology); this disclosure does not impose any limitations on this. Terminals such as mobile phone 103 or computer 104 can act as log information requesters, requesting vehicle log information from the vehicle-side 101 through the cloud-side 102.
[0032] Figure 2 This is a flowchart of a method for storing vehicle log information according to an exemplary embodiment of the present disclosure.
[0033] like Figure 2 As shown, the vehicle log information storage method 100 provided in this disclosure may include: S110, adding vehicle identity information to the received initial log information of the vehicle to generate log information; and S120, distributing the log information to a database storage file that matches the identity information according to the identity information.
[0034] According to the vehicle log information storage method 100 of this disclosure, by adding vehicle identity information to the initial log information and distributing the log information to database storage files matching the identity information, the goal of independently storing log information of vehicles of different brands can be achieved, reducing the risk of information leakage and thus helping to meet the requirements of information security auditing. Steps S110 and S120 will be further described below.
[0035] Step S110
[0036] Vehicle identity information can be added to the received initial vehicle log information to generate log information. For example, initial vehicle identity information can be determined based on the received initial log information; identity information can be obtained based on the initial identity information; and the identity information can be added to the initial log information to generate log information. The initial identity information may include at least one of a user token and a vehicle VIN code. The identity information may include at least one of a vehicle brand and a vehicle model.
[0037] For example, a vehicle-to-everything (V2X) system can collect initial log information from vehicles using onboard devices, sensors, and other technologies, and upload this information to a V2X cloud platform. The V2X cloud platform can receive and process this initial log information. The V2X cloud platform may include multiple microservice systems, which can provide different services to vehicle users and vehicle brands. These microservice systems can collect initial log information generated by sensors, controllers, and other components on the vehicle, process the collected initial log information, and send it to other systems on the cloud platform for further processing and analysis. For example, aspect-oriented programming (AOP) can be added to the microservice system. The vehicle's gateway can determine the vehicle's initial identity information (such as a user token or vehicle VIN) based on the received initial log information. The gateway can then obtain identity information (such as vehicle brand and model) based on the initial identity information. AOP can add the identity information to the initial log information to generate log information.
[0038] Figure 3 This is a schematic diagram illustrating the process of generating log information for the first and second vehicles according to embodiments of this disclosure. Figure 3 As shown, the first and second vehicles can each send a request to their respective gateways to carry information, including initial log information. This initial log information may include initial vehicle identification information such as a user token and / or a vehicle VIN. The gateway can determine the initial vehicle identification information, such as the user token or vehicle VIN, based on the initial log information. The gateways for both the first and second vehicles can obtain vehicle identification information, such as vehicle brand and model, based on this initial identification information, and can forward the request containing the identification information and initial log information to the aspect processing program. The aspect processing program can add the obtained vehicle identification information to the initial log information to generate the vehicle's log information. For example, the aspect processing program can add the obtained identification information of the first vehicle to the initial log information of the first vehicle to generate the first vehicle's log information, and can also add the obtained identification information of the second vehicle to the initial log information of the second vehicle to generate the second vehicle's log information. Exemplarily, the microservice system can communicate with the vehicle through the vehicle's gateway to collect real-time log information such as vehicle driving data, status information, and fault alarms.
[0039] Step S120
[0040] Log information can be distributed to database storage files that match the identity information based on the identity information, so as to query and save the log information. For example, storage location information matching the identity information can be added to the log information; and the log information can be distributed to database storage files that match the storage location information based on the storage location information. The database storage file can be a non-volatile storage medium.
[0041] Figure 4 This is a schematic diagram illustrating the process of storing log information of a first vehicle and a second vehicle in a first database storage file and a second database storage file, respectively, according to an embodiment of this disclosure. For example, the vehicle log information can be saved to a log file. Figure 4 As shown, the container platform in the vehicle network cloud platform can accommodate microservice systems, log files, and log collection service systems. The microservice system can save log information from multiple vehicles, such as Vehicle 1 and Vehicle 2, to log files. For example, log information may include multiple strings representing different information, where spaces may be used between the different strings. For instance, the log information for Vehicle 1 could be “2024-05-30 10:10:10 {Brand A} {Model X}xxxxxxxxxxx”, and the log information for Vehicle 2 could be “2024-05-30 10:10:10 {Brand B} {Model Y}xxxxxxxxxxx”. It should be understood that A and B indicate that Vehicle 1 and Vehicle 2 have different brands. X and Y indicate that Vehicle 1 and Vehicle 2 have different models. xxxxxxxxxxx represents other information in the log information. Other information in the log information may include driving record information (such as mileage, origin and destination, places passed through, and destination), and vehicle technical condition and inspection records (such as vehicle malfunction and maintenance records), etc.
[0042] For example, some log information can be cleaned and format converted to ensure the accuracy and consistency of the data in the log information, so as to facilitate subsequent analysis and processing of the log information.
[0043] For example, log information can be read from a log file and cached. For instance, such as... Figure 4 As shown, log information can be read from log files through a log collection service system, and then the read log information can be sent to a caching system such as Kafka for caching.
[0044] For example, cached log information can be read and parsed. For instance, such as... Figure 4As shown, the log parsing service system can read log information from the Kafka system and then parse the read log information line by line. For example, the log parsing service system can read the log information of the first vehicle "2024-05-30 10:10:10 {Brand A} {Model X}xxxxxxxxxxx" and the log information of the second vehicle "2024-05-30 10:10:10 {Brand B} {Model Y}xxxxxxxxxxx", and can parse the log information of the first and second vehicles.
[0045] Figure 5 This is a schematic diagram illustrating the process of parsing and storing log information of a first vehicle in a first database storage file according to an embodiment of this disclosure. For example, parsing the read log information may include adding a corresponding information name before the string in the read log information. For example, in the output parsed log information, spaces may be automatically output during formatting, meaning there may be spaces between the string and the information name. Of course, there may also be no spaces between the string and the information name. For example, after parsing the log information of the first vehicle, the log parsing service system can obtain the data {"time":"2024-05-30 10:10:10","brand_cd":"Brand A","vehicle_type":"Model X","msg":"xxxxxx"}. In other words, the log parsing service system can identify the information names such as "2024-05-30 10:10:10", "Brand A", "Model X", and "xxxxxx". For example, "2024-05-30 10:10:10" represents the time, "Brand A" represents the vehicle brand, "Model X" represents the vehicle model, and "xxxxxx" represents other information. Furthermore, if there are spaces between the strings and the information names, these spaces can separate them. For instance, the space between "time" and "2024-05-30 10:10:10" separates them, and the space between "brand_cd" and "Brand A" separates them. It should be understood that after parsing the log information of the second vehicle, the log parsing service system can obtain the data {"time":"2024-05-30 10:10:10","brand_cd":"Brand B","vehicle_type":"Vehicle Y","msg":"xxxxxx"}.
[0046] For example, based on the parsed identity information, storage location information matching the identity information can be added to the log information. For instance, such as... Figure 4As shown, the log parsing service system can add storage location information matching the vehicle's identity information to the vehicle's log information based on the parsed vehicle identity information. Specifically, the log parsing service system can judge each information name and / or string in the vehicle's log information, and can match the vehicle's storage location according to at least one of the vehicle brand (i.e., "brand_cd") and vehicle model (i.e., "vehicle_type"), and then add the vehicle's storage location information to the vehicle's log information according to the matching result.
[0047] In one embodiment of this disclosure, the vehicle's brand (i.e., "brand_cd") from the parsed vehicle identity information can be used to add the vehicle's storage location information, matching the vehicle's identity information, to the vehicle's log information. For example, the log parsing service system can obtain the data {"time":"2024-05-30 10:10:10","brand_cd":"Brand A","vehicle_type":"Model X","output":"log-brand-a.log","msg":"xxxxxx"} after adding the storage location information of the first vehicle to the log information of the first vehicle based on the parsed vehicle brand (i.e., "brand_cd") from the parsed vehicle identity information. The added field name "output":"log-brand-a.log" can be the storage location information of the first vehicle. "output":"log-brand-a.log" can indicate that the log information of brand A and model X is stored in a first database storage file named log-brand-a.log in a database such as an ElasticSearch database. It should be understood that the log parsing service system, based on the vehicle brand (i.e., "brand_cd") in the parsed identity information of the second vehicle, adds the storage location information of the second vehicle to the log information of the second vehicle to obtain the data {"time":"2024-05-30 10:10:10","brand_cd":"Brand B","vehicle_type":"Model Y","output":"log-brand-b.log","msg":"xxxxxx"}. The added field name "output":"log-brand-b.log" can be the storage location information of the second vehicle. "output":"log-brand-b.log" indicates that the log information of Brand B and Model Y will be stored in a second database storage file named log-brand-b.log, such as an ElasticSearch database.
[0048] In another embodiment of this disclosure, based on the vehicle brand (i.e., "brand_cd") and vehicle type (i.e., "vehicle_type") in the parsed vehicle identity information, the vehicle's storage location information, matching the vehicle's identity information, can be added to the vehicle's log information. For example, the log parsing service system, based on the parsed vehicle brand (i.e., "brand_cd") and vehicle type (i.e., "vehicle_type") in the first vehicle's identity information, can obtain the data {"time":"2024-05-30 10:10:10","brand_cd":"Brand A","vehicle_type":"Vehicle Type X","output":"log-brand-a-vehicle-type-x.log","msg":"xxxxxx"} after adding the added field name information "output":"log-brand-a-vehicle-type-x.log" can be the storage location information of the first vehicle. "output":"log-brand-a-vehicle-type-x.log" indicates that the log information for brand A and vehicle type X will be stored in a first database storage file named log-brand-a-vehicle-type-x.log, such as an ElasticSearch database. It should be understood that the log parsing service system, based on the parsed vehicle brand (i.e., "brand_cd") and vehicle type (i.e., "vehicle_type") from the second vehicle's identity information, adds the storage location information of the second vehicle to the log information of the second vehicle, resulting in the data {"time":"2024-05-30 10:10:10","brand_cd":"Brand B","vehicle_type":"Vehicle Type Y","output":"log-brand-b-vehicle-type-y.log","msg":"xxxxxx"}. The added field name "output":"log-brand-b-vehicle-type-y.log" can be the storage location information of the second vehicle. "output":"log-brand-b-vehicle-type-y.log" means storing the log information of brand B and vehicle type Y in a second database storage file named log-brand-b-vehicle-type-y.log, such as an ElasticSearch database.
[0049] To avoid redundancy, the following text will mainly focus on the example of adding vehicle storage location information that matches the vehicle's identity information to the vehicle's log information based on the vehicle brand and model from the parsed vehicle identity information.
[0050] For example, the log parsing service system can distribute vehicle log information to database storage files that match the identity information based on the obtained vehicle storage location information. It should be understood that the final storage location of the log information can be determined based on the "output" field. For example, such as... Figure 4 As shown, the log parsing service system can distribute the log information of the first vehicle to a first database storage file named log-brand-a-vehicle-type-x.log in the ElasticSearch database based on "output":"log-brand-a-vehicle-type-x.log". The log parsing service system can also distribute the log information of the second vehicle to a storage file named log-brand-b-vehicle-type-y.log in the ElasticSearch database based on "output":"log-brand-b-vehicle-type-y.log".
[0051] For example, such as Figure 4 As shown, different vehicle brand owners can be granted permissions to view the database storage files corresponding to their vehicle brand. For example, a log viewing tool such as Kibana can be used to grant permissions to different vehicle brand owners and / or users to view the database storage files corresponding to their vehicle brand. For instance, a log viewing tool can be used to grant permissions to the brand owner and / or users of the first vehicle brand to view the storage file named log-brand-a-vehicle-type-x.log, and permissions can be granted to the brand owner and / or users of the second vehicle brand to view the storage file named log-brand-b-vehicle-type-y.log. This prevents brand owners and / or users of different vehicle brands from viewing the log information of other brands' vehicles, thereby achieving the goal of independent management of log information for different vehicle brands.
[0052] Specifically, if the brand owner and / or user needs to access the vehicle's log management platform via the terminal, they can trigger the cloud to generate an input interface corresponding to the vehicle's VIN code and send it to the terminal. The terminal can then upload the vehicle's VIN code via the input interface and request target log information from the cloud via the log viewing interface. The terminal displays an input interface based on the input interface and a log viewing interface based on the log viewing interface. Entering the vehicle's VIN code through the input interface triggers the terminal to send the vehicle's VIN code to the cloud via the input interface.
[0053] When the brand owner and / or user access the vehicle's log management platform via a terminal, the cloud provides relevant interfaces to the terminal. These interfaces include, but are not limited to, an input interface for the vehicle's VIN code and a log viewing interface. The terminal displays an input interface based on the input interface and a log viewing interface based on the log viewing interface, ensuring that the terminal can input the VIN code through the input interface and view the logs through the log viewing interface. The input interface includes a VIN code input box. After the user inputs the VIN code through the terminal's VIN code input box, the terminal transmits the VIN code information to the cloud.
[0054] This disclosure not only achieves the goal of independent management of log information for vehicles of different brands by storing log information in different files, but also facilitates the subsequent retrieval of vehicle log information.
[0055] It should be noted that the above explanation primarily used the example of storing log information from different brands of vehicles in different storage files within the same connected vehicle cloud platform database. It should be understood that, without considering cost, it is also possible to establish an independent connected vehicle cloud platform for each brand, thereby achieving independent storage and access control for log information from different brands of vehicles.
[0056] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be broken down into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the process, but without changing the core design of the process, are also within the scope of protection of this patent.
[0057] Embodiments of this disclosure also provide an electronic device, such as... Figure 6 As shown, the electronic device 500 may include: at least one processor and a memory, the memory being communicatively connected to the at least one processor and storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the vehicle log information storage method mentioned in the above embodiments.
[0058] One embodiment of this disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method for storing vehicle log information mentioned in the above embodiments.
[0059] Figure 6 This is a schematic block diagram of an electronic device 500 according to some embodiments of the present disclosure. For example... Figure 6As shown, the electronic device 500 includes a processor 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a memory 508 into a random access memory (RAM) 503. The RAM 503 may also store various programs and data required for the operation of the electronic device 500. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0060] Multiple components in electronic device 500 are connected to I / O interface 505, including: input unit 506, such as buttons or touchscreens in a vehicle infotainment system; output unit 507, connected to various types of displays, speakers, etc., to output various forms of signals; memory 508, including any medium for storing computer-executable programs; and communication unit 509, such as a network interface card (NIC), modem, or wireless transceiver. Communication unit 509 allows electronic device 500 to exchange information / data with other devices via a local area network (LAN) or other wireless communication networks.
[0061] Processor 501 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 501 performs the various methods and processes described above, such as the method for storing vehicle log information mentioned in the above embodiments. For example, in some embodiments, the method for storing vehicle log information mentioned in the above embodiments can be implemented as a computer software program, which is tangibly contained in a computer-readable storage medium, such as memory 508. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by processor 501, one or more steps of the method for storing vehicle log information described above can be performed. Alternatively, in other embodiments, the processor 501 may be configured by any other suitable means (e.g., by means of firmware) to perform the vehicle log information storage method mentioned in the above embodiments.
[0062] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or timing diagrams of methods, apparatus (systems), and computer program products according to exemplary embodiments of this disclosure. It should be understood that each step of the flowchart illustrations and / or timing diagrams, as well as combinations of steps in the flowchart illustrations and / or timing diagrams, can be implemented by computer-readable program instructions.
[0063] These computer-readable program instructions can be provided to a processor, general-purpose computer, special-purpose computer, or other programmable data processing unit in an electronic device to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing device, they create means for implementing the functions / steps specified in one or more steps of a flowchart and / or timing diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing device, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / steps specified in one or more steps of a flowchart and / or timing diagram.
[0064] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / steps specified in one or more steps of a flowchart and / or timing diagram.
[0065] The flowcharts and timing diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each step in a flowchart or timing diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative embodiments, the functions indicated in the steps may occur in a different order than those indicated in the drawings. For example, two consecutive steps may actually be performed substantially in parallel, and they may sometimes be performed in reverse order, depending on the functions involved. It should also be noted that each step in a timing diagram and / or flowchart, and combinations of steps in timing diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0066] The above description is merely an illustration of the embodiments of this disclosure and the technical principles employed. Those skilled in the art should understand that the scope of protection involved in this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the technical concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in this disclosure.
Claims
1. A method for storing vehicle log information, characterized in that, The method includes: The vehicle's identity information is added to the received initial log information to generate log information; and The log information is distributed to database storage files that match the identity information based on the identity information.
2. The method according to claim 1, wherein, The vehicle's identity information is added to the received initial log information to generate log information, including: Based on the received initial log information, the initial identity information of the vehicle is determined; Obtain the identity information based on the initial identity information; and The identity information is added to the initial log information to generate the log information. The initial identity information includes at least one of a user token and a vehicle VIN code, and the identity information includes at least one of a vehicle brand and a vehicle model.
3. The method according to claim 2, wherein, Sending the log information to a database storage file that matches the identity information based on the identity information includes: Based on the identity information, add storage location information matching the identity information to the log information; and The log information is distributed to database storage files that match the storage location information based on the storage location information.
4. The method according to claim 3, wherein, Based on the identity information, storage location information matching the identity information is added to the log information, including: Read the log information and cache the read log information; Read the cached log information and parse the read log information; and Based on the parsed identity information, storage location information matching the identity information is added to the log information.
5. The method according to claim 4, wherein, Based on the parsed identity information, storage location information matching the identity information is added to the log information, including: Based on the vehicle brand in the parsed identity information, storage location information matching the identity information is added to the log information.
6. The method according to claim 4, wherein, Based on the parsed identity information, storage location information matching the identity information is added to the log information, including: Based on the vehicle brand and model from the parsed identity information, storage location information matching the identity information is added to the log information.
7. The method according to any one of claims 4-6, wherein, The log information includes multiple strings representing different information, wherein parsing the read log information includes: Add the corresponding information name before the read string.
8. The method according to any one of claims 1-6, wherein, The method further includes: Grant brand owners of different vehicle brands permission to view the database storage files corresponding to their vehicle brands.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method for storing vehicle log information as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for storing vehicle log information as described in any one of claims 1 to 8.