A vehicle machine log acquisition method and system
By constructing a closed local area network and a log acquisition template, the limitations of long-distance vehicle log acquisition were solved, enabling rapid acquisition of remote logs and improving work efficiency and user experience.
Patent Information
- Application Number
- CN202410206577.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-02-26
AI Technical Summary
Existing technologies cannot achieve real-time acquisition of vehicle logs over long distances, resulting in limitations in log export and reducing the work efficiency of staff.
By calculating the distance between the user and the vehicle in real time, a closed local area network is constructed, and the target log is extracted from the vehicle log database using a log acquisition template, thus achieving remote log acquisition.
It enables remote and rapid acquisition of vehicle logs, improving the work efficiency of staff and the user experience.
Smart Images

Figure CN118280009B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of automobile technology, in particular to a vehicle machine log acquisition method and system. BACKGROUND
[0002] With the progress of science and technology and the rapid development of productivity, automobiles have been popularized in people's daily life and have become one of the indispensable means of transportation for people's daily travel, greatly facilitating people's life.
[0003] Among them, with the rapid development of the automobile field, the functions inside the automobile are becoming more and more complex, and based on this, in order to be able to obtain the running status of each functional module inside the vehicle in time, it is necessary to obtain the running log of each functional module inside the vehicle in real time, so as to facilitate subsequent maintenance.
[0004] However, in the process of obtaining the vehicle running log in the prior art, only communication connection can be established with the communication module inside or around the vehicle, so that the staff can only obtain the log generated by the vehicle in real time inside or around the vehicle, so that the staff cannot obtain the log generated by the vehicle in real time at a distance, thereby causing the export of the vehicle log to have certain limitations, which reduces the work efficiency of the staff. SUMMARY
[0005] Therefore, the purpose of the present application is to provide a vehicle machine log acquisition method and system to solve the problem that the prior art cannot obtain the log generated by the vehicle in real time at a distance, resulting in certain limitations in the export of the vehicle log.
[0006] The first aspect of the embodiment of the present application provides:
[0007] A vehicle machine log acquisition method, wherein the method comprises:
[0008] When the log acquisition instruction issued by the user is received in real time, the target distance between the user is calculated in real time according to the log acquisition instruction, and it is judged in real time whether the target distance is greater than a preset distance threshold;
[0009] If it is judged in real time that the target distance is greater than the preset distance threshold, a first communication chain is sent to the user terminal of the user, and a closed local area network between the user is constructed according to the first communication chain;
[0010] The log acquisition instruction is analyzed in real time to extract the log acquisition template contained in the log acquisition instruction in real time, and the corresponding target log is extracted in the vehicle log database through the log acquisition template.
[0011] The beneficial effects of the present application are: by receiving the log acquisition instruction issued by the user in real time, the distance between the user and the vehicle can be determined correspondingly, based on which, the corresponding communication chain is sent to the user terminal used by the user according to the size of the distance, and a closed local area network between the current user terminal can be further constructed according to the communication chain. Further, the current log acquisition instruction is analyzed and processed in real time, and the required log acquisition template is extracted correspondingly. On this basis, finally, the required target log is extracted from the vehicle log database in the vehicle through the log acquisition template, so that the remote acquisition of the vehicle log can be quickly and effectively realized, the limitations of the vehicle log acquisition are eliminated, the work efficiency of the staff is improved, and the user experience is improved.
[0012] Further, the step of constructing a closed local area network between the user according to the first communication chain comprises:
[0013] When the log acquisition instruction is received in real time, the device serial number carried by the log acquisition instruction is detected in real time, and the device serial number has uniqueness;
[0014] The device identification contained in the device serial number is extracted in real time, and the user terminal is matched in the preset device database according to the device identification;
[0015] The first communication chain is sent to the user terminal in real time, and the closed local area network is constructed according to the first communication chain and the user terminal, and the closed local area network has uniqueness.
[0016] Further, the step of constructing a closed local area network according to the first communication chain and the user terminal comprises:
[0017] When the user terminal receives the first communication chain in real time, the communication module contained in the user terminal is detected in real time, and a plurality of original communication nodes contained in the communication module are extracted in real time;
[0018] A plurality of target communication nodes contained in the first communication chain are detected in real time, and the closed local area network is constructed according to a plurality of original communication nodes and a plurality of target communication nodes. Each original communication node and each target communication node has uniqueness.
[0019] Further, the step of constructing a closed local area network according to a plurality of original communication nodes and a plurality of target communication nodes comprises:
[0020] A corresponding first identification is added to each original communication node, and a corresponding second identification is added to each target communication node;
[0021] According to the first identifier and the second identifier, a corresponding mapping relationship is constructed, and each original communication node is replaced by each target communication node based on the mapping relationship, so as to construct a corresponding target communication network in the communication module;
[0022] According to the target communication network, the closed local area network is constructed, and the target communication network has uniqueness.
[0023] Further, the step of constructing the closed local area network according to the target communication network comprises:
[0024] When the target communication network is generated in real time, a communication completion instruction fed back in real time by the target communication network is received, and a corresponding blockchain network is generated according to the communication completion instruction;
[0025] The target communication network is mapped into the blockchain network, so as to generate the closed local area network correspondingly, and the blockchain network is a network with a closed structure.
[0026] Further, the method further comprises:
[0027] If it is judged in real time that the target distance is less than the preset distance threshold, a second communication chain is sent to a user terminal of the user, and a corresponding log is directly sent to the user through the second communication chain, and the second communication chain has uniqueness.
[0028] Further, the method further comprises:
[0029] When the user acquires the target log in real time, a log acquisition report corresponding to the target log is generated in real time, and the log acquisition report is dynamically encrypted to generate a corresponding target log acquisition report;
[0030] The target log acquisition report is issued to the user terminal in real time.
[0031] The second aspect of the embodiment of the application provides:
[0032] A vehicle machine log acquisition system, wherein the system comprises:
[0033] A judgment module is configured to calculate a target distance between the user in real time according to a log acquisition instruction issued by the user in real time when the log acquisition instruction is received in real time, and judge whether the target distance is greater than a preset distance threshold in real time.
[0034] a processing module, configured to: if it is determined in real time that the target distance is greater than the preset distance threshold, send a first communication chain to a user terminal of the user, and construct a closed local area network with the user according to the first communication chain;
[0035] an extraction module, configured to: perform real-time analysis processing on the log acquisition instruction, to extract a log acquisition template included in the log acquisition instruction in real time, and extract a corresponding target log from a vehicle-mounted log database through the log acquisition template.
[0036] Further, the processing module is specifically configured to:
[0037] when the log acquisition instruction is received in real time, detect a device serial number carried by the log acquisition instruction in real time, the device serial number being unique;
[0038] extract a device identifier included in the device serial number in real time, and correspondingly match the user terminal in a preset device database according to the device identifier;
[0039] send the first communication chain to the user terminal in real time, and correspondingly construct the closed local area network according to the first communication chain and the user terminal, the closed local area network being unique.
[0040] Further, the processing module is further specifically configured to:
[0041] when the user terminal receives the first communication chain in real time, detect a communication module included in the user terminal in real time, and extract a plurality of original communication nodes included in the communication module in real time;
[0042] detect a plurality of target communication nodes respectively included in the first communication chain in real time, and construct the closed local area network according to the plurality of original communication nodes and the plurality of target communication nodes, each of the original communication nodes and each of the target communication nodes being unique.
[0043] Further, the processing module is further specifically configured to:
[0044] add a corresponding first identifier to each of the original communication nodes, and add a corresponding second identifier to each of the target communication nodes;
[0045] construct a corresponding mapping relationship according to the first identifier and the second identifier, and replace each of the original communication nodes with each of the target communication nodes based on the mapping relationship, to construct a corresponding target communication network in the communication module;
[0046] The closed local area network is constructed according to the target communication network, and the target communication network has uniqueness.
[0047] Further, the processing module is further specific for:
[0048] When the target communication network is generated in real time, a communication completion instruction fed back in real time by the target communication network is received, and a corresponding blockchain network is generated according to the communication completion instruction;
[0049] The target communication network is mapped into the blockchain network, so as to correspondingly generate the closed local area network, and the blockchain network is a network with a closed structure.
[0050] Further, the car machine log acquisition system further comprises a sending module, and the sending module is specific for:
[0051] If it is judged in real time that the target distance is less than the preset distance threshold, a second communication chain is sent to the user terminal of the user, and the corresponding log is directly sent to the user through the second communication chain, and the second communication chain has uniqueness.
[0052] Further, the car machine log acquisition system further comprises an encryption module, and the encryption module is specific for:
[0053] When the user acquires the target log in real time, a log acquisition report corresponding to the target log is generated in real time, and the log acquisition report is dynamically encrypted to generate a corresponding target log acquisition report;
[0054] The target log acquisition report is issued to the user terminal in real time.
[0055] The third aspect of the embodiment of the application provides:
[0056] A computer comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the car machine log acquisition method as described above when executing the computer program.
[0057] The fourth aspect of the embodiment of the application provides:
[0058] A readable storage medium has a computer program stored thereon, wherein the program is executed by a processor to implement the car machine log acquisition method as described above.
[0059] Additional aspects and advantages of the application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0060] Figure 1 A flow chart of a vehicle machine log acquisition method provided by a first embodiment of the present application is shown in FIG. 1.
[0061] Figure 2 A structural block diagram of a vehicle machine log acquisition system provided by a sixth embodiment of the present application is shown in FIG. 6.
[0062] The following detailed description will further describe the present application in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0063] In order to facilitate the understanding of the present application, the present application will be described more fully below in conjunction with the related drawings. Several embodiments of the present application are shown in the drawings. However, the present application can be realized in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided so that the disclosure of the present application is more thorough and comprehensive.
[0064] It should be noted that when an element is referred to as being "fixedly attached" to another element, it can be directly on the other element or there can be intervening elements. When an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements can be present. As used herein the terms "vertical", "horizontal", "left", "right", and the like are merely used for the purpose of illustration.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0066] Referring to FIG. 1, a vehicle machine log acquisition method provided by a first embodiment of the present application is shown. The vehicle machine log acquisition method provided by the present embodiment can eliminate the limitations of vehicle log acquisition, improve the work efficiency of the staff, and improve the user experience. Figure 1
[0067] Specifically, the present embodiment provides:
[0068] A vehicle machine log acquisition method, specifically comprising the following steps:
[0069] Step S10, when a log acquisition instruction issued by a user is received in real time, a target distance between the user is calculated in real time according to the log acquisition instruction, and it is determined in real time whether the target distance is greater than a preset distance threshold;
[0070] Step S20, if the target distance is greater than the preset distance threshold, a first communication chain is sent to the user terminal of the user, and a closed local area network is constructed between the user and the first communication chain.
[0071] Step S30, the log acquisition instruction is analyzed in real time to extract the log acquisition template in the log acquisition instruction, and the corresponding target log is extracted in the vehicle log database through the log acquisition template.
[0072] Specifically, in this embodiment, first of all, in order to meet the needs of different users, that is, to enable users to export vehicle logs in both long range and short range, after receiving the log acquisition instruction sent by the user through the user terminal in real time, the vehicle controller arranged in the vehicle calculates the distance between the current user and the vehicle in real time according to the current log acquisition instruction. Specifically, the distance between the vehicle and the user can be calculated by the existing communication signal propagation speed and the detected propagation time. Based on this, it is judged in real time whether the current target distance is greater than the preset distance threshold, that is, it is judged in real time whether the current user is exporting logs in long range or short range. Preferably, it is judged in real time whether the above-mentioned target distance is greater than 1km. Specifically, if so, it means that the current user is exporting logs in long range, and the vehicle controller needs to send a corresponding first communication chain to the user terminal of the current user. At the same time, a closed local area network between the current vehicle controller and the current user is constructed in real time through the first communication chain.
[0073] Further, in order to enable the current user to quickly extract the target log needed, the current log acquisition instruction needs to be further extracted and analyzed to correspondingly extract the log acquisition template contained in the current log acquisition instruction, and finally the target log needed is extracted in the vehicle log data road in the vehicle through the log acquisition template. The log acquisition template includes the type of log to be acquired and the size of the data amount of the log to be acquired. In this way, the user can quickly complete the remote acquisition of vehicle logs, and the user experience is improved.
[0074] Second embodiment
[0075] Further, the step of constructing a closed local area network between the user according to the first communication chain comprises:
[0076] When the log acquisition instruction is received in real time, the device serial number carried by the log acquisition instruction is detected in real time, and the device serial number has uniqueness;
[0077] extracting the device identification contained in the device serial number in real time, and matching the user terminal according to the device identification in a preset device database;
[0078] sending the first communication chain to the user terminal in real time, and constructing the closed local area network according to the first communication chain and the user terminal, wherein the closed local area network is unique.
[0079] Specifically, in the embodiment, it should be noted that in order to quickly and effectively generate the required closed local area network, the data transmission rate is correspondingly improved, and the data transmission time is correspondingly saved. Specifically, since the log acquisition instruction issued by each user terminal is unique, that is, each user terminal is unique, based on this, the above-mentioned vehicle controller only needs to detect the log acquisition instruction received in real time, and can correspondingly detect the device serial number carried by the current log acquisition instruction, and each device serial number is unique.
[0080] Further, the device identification corresponding to the above-mentioned user terminal is further extracted from the current device serial number, and the user terminal of the current user is further matched according to the device identification, so that the above-mentioned vehicle controller can issue the corresponding first communication chain and construct the above-mentioned closed local area network, so as to facilitate subsequent processing.
[0081] Further, the step of constructing the closed local area network according to the first communication chain and the user terminal comprises:
[0082] When the user terminal receives the first communication chain in real time, the communication module contained in the user terminal is detected in real time, and a plurality of original communication nodes contained in the communication module are extracted in real time;
[0083] a plurality of target communication nodes contained in the first communication chain are detected in real time, and the closed local area network is constructed according to a plurality of original communication nodes and a plurality of target communication nodes, and each original communication node and each target communication node is unique.
[0084] Specifically, in the embodiment, it also needs to be explained that after the vehicle controller sends the first communication chain to the user terminal through the above steps, since each user terminal completes data transmission through the communication module arranged inside, based on this, the communication module contained in the user terminal currently used by the user can be detected, and at the same time, a plurality of original communication nodes contained in the current communication module are extracted synchronously, and further, a plurality of target communication nodes contained in the current first communication chain are detected, wherein the node properties of the current original communication node and the current target communication node are the same, so that the required closed local area network can be further constructed for subsequent processing.
[0085] Third embodiment
[0086] Further, the step of constructing the closed local area network according to the plurality of original communication nodes and the plurality of target communication nodes comprises:
[0087] adding a corresponding first identifier to each of the original communication nodes, and adding a corresponding second identifier to each of the target communication nodes;
[0088] constructing a corresponding mapping relationship according to the first identifier and the second identifier, and replacing each of the original communication nodes with each of the target communication nodes based on the mapping relationship to construct a corresponding target communication network in the communication module;
[0089] constructing the closed local area network according to the target communication network, and the target communication network has uniqueness.
[0090] In addition, in the embodiment, it needs to be explained that after the plurality of original communication nodes and the plurality of target communication nodes are detected respectively through the above steps, in order to quickly complete the replacement of subsequent nodes, a first identifier can be added to each of the original communication nodes, and a second identifier can be added to each of the target communication nodes, and the current first identifier and the second identifier can be numbers or letters.
[0091] Further, according to the corresponding relationship between each first identifier and each second identifier, a mapping relationship therebetween is constructed, and each original communication node in the above communication module can be replaced with a corresponding each target communication node directly according to the current mapping relationship, and a corresponding target communication network is generated in the current communication module, based on which, the required closed local area network is further constructed, wherein the above target communication network has uniqueness for subsequent processing.
[0092] Further, the step of constructing the closed local area network according to the target communication network comprises:
[0093] When the target communication network is generated in real time, a communication completion instruction is received in real time feedback of the target communication network, and a corresponding blockchain network is generated according to the communication completion instruction;
[0094] The target communication network is correspondingly mapped into the blockchain network to correspondingly generate the closed local area network, and the blockchain network is a network with a closed structure.
[0095] In addition, in the embodiment, it also needs to be explained that after the target communication network required is constructed in real time through the above steps, the target communication network automatically feeds back the corresponding communication completion instruction to the above vehicle controller, and at the same time, the current vehicle controller calls the blockchain network set in the background server according to the communication completion instruction, and further, only needs to correspondingly map the target communication network into the current blockchain network to automatically generate the closed local area network, wherein, since the structure of the blockchain network is closed, the structure of the generated closed local area network is also closed, so as to facilitate subsequent processing.
[0096] Fourth embodiment
[0097] Further, the method further comprises:
[0098] If it is judged in real time that the target distance is less than the preset distance threshold, a second communication chain is sent to the user terminal of the user, and a corresponding log is directly sent to the user through the second communication chain, and the second communication chain has uniqueness.
[0099] In the embodiment, it needs to be pointed out that, correspondingly, if it is judged in real time through the above steps that the target distance between the vehicle and the user is less than the preset distance threshold, it is correspondingly indicated that the current user is in the log of the vehicle in the short range, so that the above closed local area network does not need to be constructed, and a second communication chain is correspondingly sent to the user terminal of the user, and at the same time, the vehicle controller directly sends the log required by the user in real time through the second communication chain, which correspondingly improves the user experience.
[0100] Fifth embodiment
[0101] Further, the method further comprises:
[0102] When the user acquires the target log in real time, a log acquisition report corresponding to the target log is generated in real time, and the log acquisition report is dynamically encrypted to generate a corresponding target log acquisition report;
[0103] The target log acquisition report is real-time issued to the user terminal.
[0104] Wherein, in the embodiment, it is pointed out that in order to enable the user to intuitively observe the content of the vehicle log obtained by the user, a corresponding log acquisition report can be further generated according to the target log obtained in real time, and the log acquisition report contains all the contents of the obtained log.
[0105] Further, in order to improve the security performance of the log acquisition report, corresponding encryption processing can be further performed, and a corresponding target log acquisition report is generated, so that the target log acquisition report and the corresponding decryption key are simultaneously issued to the user terminal of the current user, and the user's use experience is further improved.
[0106] Please refer to Figure 2 The sixth embodiment of the application provides:
[0107] A vehicle machine log acquisition system, wherein the system comprises:
[0108] A judgment module is configured to calculate a target distance between the user in real time according to a log acquisition instruction when the log acquisition instruction is received in real time, and judge whether the target distance is greater than a preset distance threshold in real time.
[0109] A processing module is configured to send a first communication chain to the user terminal of the user and construct a closed local area network between the user according to the first communication chain if it is judged in real time that the target distance is greater than the preset distance threshold.
[0110] An extraction module is configured to perform real-time analysis processing on the log acquisition instruction to extract a log acquisition template contained in the log acquisition instruction in real time, and extract a corresponding target log in the vehicle log database through the log acquisition template.
[0111] Further, the processing module is specifically configured to:
[0112] When the log acquisition instruction is received in real time, the device serial number carried by the log acquisition instruction is detected in real time, and the device serial number has uniqueness;
[0113] The device identifier contained in the device serial number is extracted in real time, and the user terminal is correspondingly matched in a preset device database according to the device identifier;
[0114] The first communication chain is sent to the user terminal in real time, and the closed local area network is correspondingly constructed according to the first communication chain and the user terminal, and the closed local area network has uniqueness.
[0115] Further, the processing module is further specifically configured to:
[0116] When the user terminal receives the first communication chain in real time, a communication module contained in the user terminal is detected in real time, and a plurality of original communication nodes contained in the communication module are extracted in real time;
[0117] A plurality of target communication nodes contained in the first communication chain are detected in real time, and the closed local area network is constructed according to the plurality of original communication nodes and the plurality of target communication nodes. Each of the original communication nodes and each of the target communication nodes has uniqueness.
[0118] Further, the processing module is further used for:
[0119] A corresponding first identifier is added to each of the original communication nodes, and a corresponding second identifier is added to each of the target communication nodes;
[0120] A corresponding mapping relationship is constructed according to the first identifier and the second identifier, and each of the original communication nodes is replaced by each of the target communication nodes based on the mapping relationship, so as to construct a corresponding target communication network in the communication module;
[0121] The closed local area network is constructed according to the target communication network, and the target communication network has uniqueness.
[0122] Further, the processing module is further used for:
[0123] When the target communication network is generated in real time, a communication completion instruction fed back by the target communication network in real time is received, and a corresponding blockchain network is generated according to the communication completion instruction;
[0124] The target communication network is mapped into the blockchain network to correspondingly generate the closed local area network, and the blockchain network is a network with a closed structure.
[0125] Further, the car machine log acquisition system further comprises a sending module, and the sending module is specifically used for:
[0126] If it is judged in real time that the target distance is less than the preset distance threshold, a second communication chain is sent to the user terminal of the user, and a corresponding log is directly sent to the user through the second communication chain. The second communication chain has uniqueness.
[0127] Further, the car machine log acquisition system further comprises an encryption module, and the encryption module is specifically used for:
[0128] When the user acquires the target log in real time, a log acquisition report corresponding to the target log is generated in real time, and the log acquisition report is dynamically encrypted to generate a corresponding target log acquisition report.
[0129] The target log acquisition report is real-time delivered to the user terminal.
[0130] The seventh embodiment of the present application provides a computer, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle-machine log acquisition method as described above when executing the computer program.
[0131] The eighth embodiment of the present application provides a readable storage medium, which stores a computer program, wherein the program is executed by a processor to implement the vehicle-machine log acquisition method as described above.
[0132] In summary, the vehicle-machine log acquisition method and system provided by the above embodiments of the present application can eliminate the limitations of vehicle log acquisition, improve the work efficiency of the staff, and improve the user experience.
[0133] It should be noted that the above-mentioned modules can be functional modules or program modules, which can be implemented by software or hardware. For modules implemented by hardware, the above-mentioned modules can be located in the same processor; or the above-mentioned modules can also be located in different processors in any combination.
[0134] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a list of executable instructions for implementing logic functions, which can be specifically embodied in any computer-readable medium for use by or in conjunction with an instruction execution system, device or apparatus, such as a computer-based system, a system including a processor or other system that can fetch and execute instructions from an instruction execution system, device or apparatus. For this specification, the "computer-readable medium" can be any device that can contain, store, communicate, propagate or transport programs for use by or in conjunction with an instruction execution system, device or apparatus, or in conjunction with these instruction execution systems, devices or apparatus.
[0135] More specific examples (a non-exhaustive list) of the computer-readable medium include the following: a portable computer diskette (magnetic device); a random access memory (RAM); a read-only memory (ROM); an erasable programmable read-only memory (EPROM or Flash memory); an optical fiber device; and a portable compact disc read-only memory (CDROM). Additionally, the computer readable medium can be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for example, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
[0136] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the embodiments described above, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and in another embodiment, any of the following techniques, which are well known in the art, can be used to implement the application: a hybrid of the techniques mentioned above; a combination of one or more of the techniques mentioned above; or one or more other techniques suitable for use in the computer hardware devices described above.
[0137] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the application. In the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in one or more embodiments or examples.
[0138] The above-described embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation to the patent scope of the present application. It should be noted that for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.
Claims
1. A head unit log acquisition method characterized by comprising: The method comprises: When the user issues a log acquisition instruction in real time, the target distance between the user is calculated in real time according to the log acquisition instruction, and it is judged in real time whether the target distance is greater than a preset distance threshold; If it is judged in real time that the target distance is greater than the preset distance threshold, a first communication chain is sent to the user terminal of the user, and a closed local area network between the user is constructed according to the first communication chain; The log acquisition instruction is analyzed in real time to extract the log acquisition template contained in the log acquisition instruction in real time, and the corresponding target log is extracted from the vehicle-mounted log database through the log acquisition template.
2. The car log acquisition method according to claim 1, characterized by: The step of constructing a closed local area network between the user according to the first communication chain comprises: When the log acquisition instruction is received in real time, the equipment serial number carried by the log acquisition instruction is detected in real time, and the equipment serial number has uniqueness; The equipment identification contained in the equipment serial number is extracted in real time, and the user terminal is correspondingly matched in the preset equipment database according to the equipment identification; The first communication chain is sent to the user terminal in real time, and the closed local area network is constructed according to the first communication chain and the user terminal, and the closed local area network has uniqueness.
3. The car log acquisition method according to claim 2, characterized by: The step of constructing the closed local area network according to the first communication chain and the user terminal comprises: When the user terminal receives the first communication chain in real time, the communication module contained in the user terminal is detected in real time, and a plurality of original communication nodes contained in the communication module are extracted in real time; A plurality of target communication nodes contained in the first communication chain are detected in real time, and the closed local area network is constructed according to a plurality of original communication nodes and a plurality of target communication nodes, and each original communication node and each target communication node has uniqueness.
4. The car log acquisition method according to claim 3, characterized by: The step of constructing the closed local area network according to a plurality of original communication nodes and a plurality of target communication nodes comprises: A corresponding first identification is added to each original communication node, and a corresponding second identification is added to each target communication node; According to the first identification and the second identification, a corresponding mapping relationship is constructed, and each original communication node is replaced by each target communication node based on the mapping relationship, so as to construct a corresponding target communication network in the communication module; The closed local area network is constructed according to the target communication network, and the target communication network has uniqueness.
5. The car log acquisition method according to claim 4, characterized by: The step of constructing the closed local area network according to the target communication network comprises: When the target communication network is generated in real time, a communication completion instruction fed back by the target communication network in real time is received, and a corresponding blockchain network is generated according to the communication completion instruction; The target communication network is mapped into the blockchain network to correspondingly generate the closed local area network, and the blockchain network is a network with closed structure.
6. The method of claim 1, wherein: The method further comprises: If it is determined in real time that the target distance is less than the preset distance threshold, a second communication chain is sent to the user terminal of the user, and the corresponding log is directly sent to the user through the second communication chain, and the second communication chain has uniqueness.
7. The car log acquisition method according to claim 6, characterized by: The method further comprises: When the user acquires the target log in real time, a log acquisition report corresponding to the target log is generated in real time, and the log acquisition report is dynamically encrypted to generate a corresponding target log acquisition report; The target log acquisition report is real-time issued to the user terminal.
8. A head unit log acquisition system characterized by comprising: The system comprises: A judgment module is configured to calculate a target distance between the user in real time according to a log acquisition instruction issued by the user when the log acquisition instruction is received in real time, and determine whether the target distance is greater than a preset distance threshold in real time; A processing module is configured to send a first communication chain to the user terminal of the user if it is determined in real time that the target distance is greater than the preset distance threshold, and construct a closed local area network between the user according to the first communication chain; An extraction module is configured to analyze the log acquisition instruction in real time to extract a log acquisition template contained in the log acquisition instruction in real time, and extract a corresponding target log in a vehicle log database through the log acquisition template.
9. A computer comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the vehicle log acquisition method of any one of claims 1 to 7.
10. A readable storage medium, having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the vehicle log acquisition method of any one of claims 1 to 7.
Citation Information
Patent Citations
Internet of vehicles request processing method and device, electronic equipment and storage medium
CN114866613A
Vehicle machine log processing method and device
CN115640198A