CN116132972A - Offline extraction method, system, equipment and medium for vehicle-mounted T-Box log - Google Patents
Offline extraction method, system, equipment and medium for vehicle-mounted T-Box log Download PDFInfo
- Publication number
- CN116132972A CN116132972A CN202211583670.1A CN202211583670A CN116132972A CN 116132972 A CN116132972 A CN 116132972A CN 202211583670 A CN202211583670 A CN 202211583670A CN 116132972 A CN116132972 A CN 116132972A
- Authority
- CN
- China
- Prior art keywords
- log
- vehicle
- bluetooth
- module
- box
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/36—Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
- H04L47/365—Dynamic adaptation of the packet size
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/44—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
An off-line extraction method, system, equipment and medium of a vehicle-mounted T-Box log, wherein the method comprises the following steps: initiating a Bluetooth connection instruction, connecting the Bluetooth connection instruction with a second Bluetooth key module of the vehicle-mounted T-Box through Bluetooth communication, and negotiating the maximum transmission unit MTU; transmitting a Bluetooth instruction for extracting a vehicle end module log; acquiring all data packets transmitted by a second Bluetooth key module; analyzing all the acquired data packets, wherein analyzing comprises acquiring description information and log information of each data packet; splicing binary data of the corresponding data packet according to the description information of each data packet to form a train end module log after serializing the train end module log; performing deserialization to obtain a vehicle end fault module log and storing the log; and uploading the acquired vehicle end module log to a cloud log server. According to the method and the device, the Bluetooth key installed through the mobile intelligent terminal equipment is used for transmitting the logs of each module inside the T-Box through the Bluetooth transmission channel, so that the convenience and the high efficiency of offline extraction of the vehicle-mounted T-Box logs are realized, the manpower resources are saved, and the user experience is improved.
Description
Technical Field
The application belongs to the technical field of extracting vehicle-mounted T-Box logs, and particularly relates to an off-line extracting method, system, equipment and medium of vehicle-mounted T-Box logs.
Background
T-Box (Te l emat i cs Box) is communication interface hardware on the automobile, integrates a plurality of hardware modules such as a 4G module, a GPS module, a Bluetooth module, a power module and the like, can realize functions such as automobile networking, national standard reporting, remote control, bluetooth key, remote upgrading and the like, and is main hardware for realizing functions of the automobile networking. The T-Box also stores the operation log of each functional module, when the user vehicle encounters a related fault, the log of the related module is pulled remotely to analyze the fault problem by utilizing the networking capability of the T-Box. However, the vehicle may be in an offline environment for various reasons, such as the vehicle being in an underlying parking lot, or the 4G network module sending failure, or the current environment being unable to connect to the network for other reasons, the remote pull log cannot be networked. If the log is to be extracted, only an engineer can wait to go to the site, or the user can go to the after-sale website to extract the log, part of the trim can be removed in the website to extract the log, and the T-Box log is extracted in a wired connection mode. In view of this, the present application has developed an offline extraction method, system, device and medium for vehicle-mounted T-Box logs.
Disclosure of Invention
The application provides an offline extraction method, system, equipment and medium of a vehicle-mounted T-Box log, which are used for transmitting logs of all modules in the T-Box through a Bluetooth transmission channel by a Bluetooth key installed on a mobile intelligent terminal device when a vehicle is in an internet environment incapable of being connected, so that convenience and high efficiency of offline extraction of the vehicle-mounted T-Box log are realized, manpower resources are saved, and user experience is improved.
The aim and the technical problems of the application are achieved by adopting the following technical scheme.
The application provides an off-line extraction method of a vehicle-mounted T-Box log, which is implemented by applying a first Bluetooth key module in a mobile intelligent terminal, and comprises the following steps:
initiating a Bluetooth connection instruction and connecting the Bluetooth connection instruction with a second Bluetooth key module of the vehicle-mounted T-Box through Bluetooth communication;
transmitting a Bluetooth instruction for extracting a vehicle end module log;
acquiring a vehicle end module log stored in a vehicle-mounted T-Box;
and uploading the acquired vehicle end module log to a cloud log server.
Optionally, initiating the bluetooth connection instruction and connecting with the bluetooth communication of the second bluetooth key module of the vehicle-mounted T-Box further includes:
and negotiating the maximum transmission unit MTU with a second Bluetooth key module of the vehicle-mounted T-Box.
Optionally, sending the bluetooth instruction for extracting the log of the vehicle end module includes:
generating a Bluetooth instruction for extracting a vehicle end fault module log;
and sending a Bluetooth instruction for extracting the log of the vehicle-end fault module.
Optionally, the obtaining a vehicle end module log stored in the vehicle-mounted T-Box includes:
acquiring all data packets transmitted by a second Bluetooth key module of the vehicle-mounted T-Box in a mode of a maximum transmission unit MTU;
analyzing all the acquired data packets, wherein the analysis comprises the steps of acquiring description information and log information of each data packet;
splicing binary data of the corresponding data packet according to the description information of each data packet; the binary data is formed by serializing the vehicle-end module log;
and deserializing the binary data to obtain a vehicle end fault module log and storing the log.
Optionally, uploading the acquired vehicle end module log to the cloud log server includes:
the first Bluetooth key module in the mobile intelligent terminal uploads the stored vehicle end fault module log to a cloud log server through a network of the mobile intelligent terminal; or alternatively
Copying to a cloud log server through a removable storage device.
The application also provides an off-line extraction method of the vehicle-mounted T-Box log, which is realized by applying a second Bluetooth key module of the vehicle-mounted T-Box, and comprises the following steps:
acquiring a Bluetooth connection instruction initiated by a first Bluetooth key module in the mobile intelligent terminal;
analyzing the acquired Bluetooth connection instruction and connecting the Bluetooth connection instruction with a first Bluetooth key module Bluetooth in the mobile intelligent terminal in a communication way;
acquiring a Bluetooth instruction for extracting a vehicle end module log; analyzing the acquired Bluetooth instruction for extracting the vehicle-end module log to obtain the vehicle-end module log information;
and sending and extracting the vehicle end module log based on the information of the vehicle end module log.
Optionally, the bluetooth communication connection with the first bluetooth key module in the mobile intelligent terminal further includes:
the maximum transmission unit MTU is negotiated with a first Bluetooth key module in the mobile intelligent terminal.
Optionally, sending the extracted sweep module log based on the extracted sweep module log information includes:
searching and acquiring a log file corresponding to the extracting vehicle end module in the storage area based on the log information of the extracting vehicle end module;
serializing the log file to generate binary data;
data packets configured according to the negotiated maximum transmission unit MTU packetization;
and transmitting the configured data packet in Bluetooth communication.
The application also provides an off-line extraction system of the vehicle-mounted T-Box log, which comprises:
first Bluetooth key module in application mobile intelligent terminal for
Initiating a Bluetooth connection instruction and connecting with a second Bluetooth key module Bluetooth of the vehicle-mounted T-Box in a communication way;
transmitting a Bluetooth instruction for extracting a vehicle end module log;
acquiring a vehicle end module log stored in a vehicle-mounted T-Box;
uploading the acquired vehicle end module log to a cloud log server; and
second Bluetooth key module of vehicle-mounted T-Box for
Acquiring a Bluetooth connection instruction initiated by a first Bluetooth key module in the mobile intelligent terminal;
analyzing the acquired Bluetooth connection instruction and connecting the Bluetooth connection instruction with a first Bluetooth key module Bluetooth in the mobile intelligent terminal in a communication way;
acquiring a Bluetooth instruction for extracting a vehicle end module log; analyzing the acquired Bluetooth instruction for extracting the vehicle-end module log to obtain the vehicle-end module log information;
and sending and extracting the vehicle end module log based on the information of the vehicle end module log.
The application also provides an electronic device, which includes:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions such that the computer readable instructions when executed by the processor implement the method described above.
The present application also provides a computer readable storage medium comprising computer instructions which, when run on a device, cause the device to perform the method described above.
Compared with the prior art, the method has obvious advantages and beneficial effects. By means of the technical scheme, the application has at least one of the following advantages and beneficial effects:
1. the application provides an off-line extraction method of a vehicle-mounted T-Box log, which is implemented by applying a first Bluetooth key module in a mobile intelligent terminal, and comprises the following steps: initiating a Bluetooth connection instruction and connecting the Bluetooth connection instruction with a second Bluetooth key module of the vehicle-mounted T-Box through Bluetooth communication; transmitting a Bluetooth instruction for extracting a vehicle end module log; acquiring a vehicle end module log stored in a vehicle-mounted T-Box; and uploading the acquired vehicle end module log to a cloud log server. According to the method and the device, the Bluetooth key installed through the mobile intelligent terminal equipment is used for transmitting the logs of each module inside the T-Box through the Bluetooth transmission channel, so that the convenience and the high efficiency of offline extraction of the vehicle-mounted T-Box logs are realized, the manpower resources are saved, and the user experience is improved.
2. The maximum transmission unit MTU is negotiated by applying the first Bluetooth key module in the mobile intelligent terminal and the second Bluetooth key module of the vehicle-mounted T-Box. The lengths of the data packet head and the data packet tail of the maximum transmission unit MTU data unit are fixed, and the maximum transmission unit MTU is negotiated through the first Bluetooth key module and the second Bluetooth key module according to the size of the vehicle-mounted T-Box log. On one hand, the longer the effective data carried by the MTU data unit of the maximum transmission unit is, the communication efficiency is ensured; through the maximum transmission unit MTU of negotiation, through negotiating proper maximum transmission unit MTU, the delay of transmitting the maximum transmission unit MTU data packet is satisfied, and the probability of error occurrence of bit (bit) in the maximum transmission unit MTU data packet is reduced.
3. All data packets transmitted by a second Bluetooth key module of the vehicle-mounted T-Box in a mode of maximum transmission unit MTU are acquired; analyzing all the acquired data packets, wherein the analysis comprises the steps of acquiring description information and log information of each data packet; splicing binary data of the corresponding data packet according to the description information of each data packet; the binary data is formed by serializing the vehicle-end module log; and deserializing the binary data to obtain a vehicle end fault module log and storing the log. All data packets transmitted in the MTU mode of the maximum transmission unit ensure the integrity of the log data of the vehicle-end module stored in the vehicle-mounted T-Box. Splicing binary data of the corresponding data packet according to the description information of each data packet; the binary data is formed by serializing the vehicle-end module log; and deserializing the binary data to obtain a vehicle end fault module log and storing the log. According to the method and the device, the binary data of the vehicle-end module log are in a deserialization mode, and the binary data of the corresponding data packet are spliced, so that the analysis efficiency of the transmitted vehicle-end module log data is improved on one hand, and the accuracy of the transmitted vehicle-end module log data is guaranteed on the other hand.
4. According to the method, the log of the extracting vehicle end module is sent based on the log information of the extracting vehicle end module, and the log file corresponding to the extracting vehicle end module in the storage area is searched and obtained based on the log information of the extracting vehicle end module; serializing the log file to generate binary data; data packets configured according to the negotiated maximum transmission unit MTU packetization; and transmitting the configured data packet in Bluetooth communication. The method is realized by applying a second Bluetooth key module of the vehicle-mounted T-Box, extracting the log information of the vehicle-end module, sending and extracting the log of the vehicle-end module, and serializing the log file in the second Bluetooth key module of the vehicle-mounted T-Box to generate binary data; according to the data packet configured by the packet of the maximum transmission unit MTU, the analysis efficiency of the transmitted vehicle end module log data is improved on one hand, and the accuracy of the transmitted vehicle end module log data is ensured on the other hand by packetizing binary data corresponding to the data packet.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention, as well as the preferred embodiments thereof, together with the following detailed description of the invention, given by way of illustration only, together with the accompanying drawings.
Drawings
Fig. 1 is a flow chart of an offline extraction method of a vehicle-mounted T-Box log according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an offline extraction method of an on-vehicle T-Box log according to another embodiment of the present application;
FIG. 3 is a schematic structural diagram of an offline extraction system of an onboard T-Box log according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an offline extraction method of an on-vehicle T-Box log according to another embodiment of the present application.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following detailed description is given below of the specific implementation, structure, characteristics and effects according to the invention with reference to the attached drawings and the preferred embodiments.
The application provides an off-line extraction method of a vehicle-mounted T-Box log, which is implemented by applying a first Bluetooth key module in a mobile intelligent terminal, as shown in a figure 1, and comprises the following steps:
s11, initiating a Bluetooth connection instruction and connecting the Bluetooth connection instruction with a second Bluetooth key module of the vehicle-mounted T-Box through Bluetooth communication;
s12, sending a Bluetooth instruction for extracting a vehicle end module log;
s13, acquiring a vehicle end module log stored in a vehicle-mounted T-Box;
s14, uploading the acquired vehicle end module log to a cloud log server.
It should be noted that, install the second bluetooth key module in on-vehicle T-Box, realized the function of second bluetooth key through the second bluetooth key module. For example, when the vehicle-mounted T-Box cannot connect to the internet network and the bluetooth key of the second bluetooth key module of the vehicle-mounted T-Box at the vehicle end functions normally, the log of each module inside the T-Box may be transmitted by using the channel of the second bluetooth key module. If the user uses the bluetooth key of the first bluetooth key module APP in the mobile phone to successfully connect the second bluetooth key module of the vehicle-mounted T-Box at the vehicle end, sends a bluetooth instruction for pulling the log, the vehicle-mounted T-Box end receives the instruction, finds the log file of the corresponding module unit in the storage area of the vehicle-mounted T-Box end, sequences the log file data into binary data, and sub-packets the log file according to the negotiated maximum transmission unit MTU when the first bluetooth key module APP in the mobile phone and the vehicle-mounted second bluetooth key module make bluetooth connection, wherein the size of each sub-packet data packet is equal to the maximum transmission unit MTU, and each data packet can contain the following description information: extracting serial number identification of the log car control instruction (the serial number identification is data responding to the corresponding log car control instruction), data type (such as log type of a power control module), total length of a log, data length of a current packet, a sub-packet serial number of the current packet (used for splicing data of a receiving party), specific log file data and the like. When the mobile phone end successfully collects all log data of the corresponding module unit, the mobile phone end is spliced into a complete log file, and the complete log file is uploaded to the cloud log server through the mobile phone application program APP, and when all log data of the corresponding module unit needs to be inquired, an engineer can analyze the problem of the vehicle end through connecting all log data downloaded to the corresponding module unit by the cloud log server in the background. According to the method and the device, the Bluetooth key installed through the mobile intelligent terminal equipment is used for transmitting the logs of each module inside the T-Box through the Bluetooth transmission channel, so that the convenience and the high efficiency of offline extraction of the vehicle-mounted T-Box logs are realized, the manpower resources are saved, and the user experience is improved.
Optionally, initiating the bluetooth connection instruction and connecting with the bluetooth communication of the second bluetooth key module of the vehicle-mounted T-Box further includes:
and negotiating the maximum transmission unit MTU with a second Bluetooth key module of the vehicle-mounted T-Box.
It should be noted that, the lengths of the packet header and the packet tail of the maximum transmission unit MTU data unit are fixed, and the maximum transmission unit MTU is negotiated through the first bluetooth key module and the second bluetooth key module according to the size of the vehicle-mounted T-Box log. On one hand, the longer the effective data carried by the MTU data unit of the maximum transmission unit is, the communication efficiency is ensured; by negotiating the maximum transmission unit MTU, the delay of transmitting the maximum transmission unit MTU data packet is satisfied and the probability of error of bit (bit) in the maximum transmission unit MTU data packet is reduced.
Optionally, sending the bluetooth instruction for extracting the log of the vehicle end module includes:
generating a Bluetooth instruction for extracting a vehicle end fault module log;
and sending a Bluetooth instruction for extracting the log of the vehicle-end fault module.
It should be noted that, a user inputs a bluetooth instruction of a corresponding vehicle end module log in a first bluetooth key module in the mobile intelligent terminal, such as a bluetooth key in a mobile phone, the bluetooth key in the mobile phone generates a bluetooth instruction for extracting a vehicle end fault module log, and the bluetooth instruction for extracting the vehicle end fault module log is sent to a second bluetooth key module of the vehicle-mounted T-Box according to the extraction operation of the user so as to extract the vehicle end fault module log.
Optionally, the obtaining a vehicle end module log stored in the vehicle-mounted T-Box includes:
acquiring all data packets transmitted by a second Bluetooth key module of the vehicle-mounted T-Box in a mode of a maximum transmission unit MTU;
analyzing all the acquired data packets, wherein the analysis comprises the steps of acquiring description information and log information of each data packet;
splicing binary data of the corresponding data packet according to the description information of each data packet; the binary data is formed by serializing the vehicle-end module log;
and deserializing the binary data to obtain a vehicle end fault module log and storing the log.
It should be noted that, all data packets transmitted by the maximum transmission unit MTU method ensure the integrity of the log data of the vehicle-end module stored in the vehicle-mounted T-Box. Splicing binary data of the corresponding data packet according to the description information of each data packet; the binary data is formed by serializing the vehicle-end module log; and deserializing the binary data to obtain a vehicle end fault module log and storing the log. According to the method and the device, the binary data of the vehicle-end module log are in a deserialization mode, and the binary data of the corresponding data packet are spliced, so that the analysis efficiency of the transmitted vehicle-end module log data is improved on one hand, and the accuracy of the transmitted vehicle-end module log data is guaranteed on the other hand.
Optionally, uploading the acquired vehicle end module log to the cloud log server includes:
the first Bluetooth key module in the mobile intelligent terminal uploads the stored vehicle end fault module log to a cloud log server through a network of the mobile intelligent terminal; or alternatively
Copying to a cloud log server through a removable storage device.
It should be noted that, the log data of the vehicle end fault module may be uploaded to the cloud log server by a network connected to the mobile intelligent terminal. Or, the data interface, the data wire and the like of the mobile intelligent terminal are connected with the external storage unit to store the log data of the vehicle end fault module in the external storage unit. Or copying the log data of the vehicle-end fault module through the movable storage equipment, and uploading the copied log data of the vehicle-end fault module to the cloud log server through the movable storage equipment.
The application also provides an offline extraction method of the vehicle-mounted T-Box log, which is implemented by applying a second Bluetooth key module of the vehicle-mounted T-Box, as shown in fig. 2, and comprises the following steps:
s21, acquiring a Bluetooth connection instruction initiated by a first Bluetooth key module in the mobile intelligent terminal;
s22, analyzing the acquired Bluetooth connection instruction and connecting the Bluetooth connection instruction with a first Bluetooth key module Bluetooth in the mobile intelligent terminal in a communication way;
s23, acquiring a Bluetooth instruction for extracting a vehicle end module log; analyzing the acquired Bluetooth instruction for extracting the vehicle-end module log to obtain the vehicle-end module log information;
s24, sending and extracting the vehicle end module log based on the information of the vehicle end module log.
It should be noted that, the second bluetooth key module of the vehicle-mounted T-Box is configured to connect and receive bluetooth communication information sent by the first bluetooth key module in the mobile intelligent terminal, process various instruction operations sent by the first bluetooth key module in the mobile intelligent terminal, and after completing corresponding processing tasks according to the corresponding instruction operations, transmit data information of the processing tasks to the first bluetooth key module in the mobile intelligent terminal.
Optionally, the bluetooth communication connection with the first bluetooth key module in the mobile intelligent terminal further includes:
the maximum transmission unit MTU is negotiated with a first Bluetooth key module in the mobile intelligent terminal.
It should be noted that, the second bluetooth key module of the vehicle-mounted T-Box performs data transmission according to the maximum transmission unit MTU negotiated with the first bluetooth key module in the mobile intelligent terminal.
Optionally, sending the extracted sweep module log based on the extracted sweep module log information includes:
searching and acquiring a log file corresponding to the extracting vehicle end module in the storage area based on the log information of the extracting vehicle end module;
serializing the log file to generate binary data;
data packets configured according to the negotiated maximum transmission unit MTU packetization;
and transmitting the configured data packet in Bluetooth communication.
It should be noted that, the second bluetooth key module of the vehicle-mounted T-Box searches and obtains the log file corresponding to the vehicle-mounted T-Box or the vehicle system storage unit based on the log information of the vehicle-mounted T-Box, and the log file is serialized by the second bluetooth key module of the vehicle-mounted T-Box to generate the log file in binary data format; the method comprises the steps that a sub-packaging operation is carried out according to a maximum transmission unit MTU negotiated with a first Bluetooth key module in the mobile intelligent terminal, and log file data in a binary data format is configured into a data packet with the maximum transmission unit MTU; and then the data packet generated by configuration is sent to a first Bluetooth key module in the mobile intelligent terminal in a Bluetooth communication mode. The method is realized by applying a second Bluetooth key module of the vehicle-mounted T-Box, extracting the log information of the vehicle-end module, sending and extracting the log of the vehicle-end module, and serializing the log file in the second Bluetooth key module of the vehicle-mounted T-Box to generate binary data; according to the data packet configured by the packet of the maximum transmission unit MTU, the analysis efficiency of the transmitted vehicle end module log data is improved on one hand, and the accuracy of the transmitted vehicle end module log data is ensured on the other hand by packetizing binary data corresponding to the data packet.
The present application also provides an offline extraction system of a vehicle-mounted T-Box log, as shown in fig. 3, the offline extraction system 300 includes:
application of the first bluetooth key module 310 in the mobile intelligent terminal for
Initiating a Bluetooth connection instruction and connecting with a second Bluetooth key module Bluetooth of the vehicle-mounted T-Box in a communication way;
transmitting a Bluetooth instruction for extracting a vehicle end module log;
acquiring a vehicle end module log stored in a vehicle-mounted T-Box;
uploading the acquired vehicle end module log to a cloud log server; and
a second bluetooth key module 320 of the vehicle-mounted T-Box for
Acquiring a Bluetooth connection instruction initiated by a first Bluetooth key module in the mobile intelligent terminal;
analyzing the acquired Bluetooth connection instruction and connecting the Bluetooth connection instruction with a first Bluetooth key module Bluetooth in the mobile intelligent terminal in a communication way;
acquiring a Bluetooth instruction for extracting a vehicle end module log; analyzing the acquired Bluetooth instruction for extracting the vehicle-end module log to obtain the vehicle-end module log information;
and sending and extracting the vehicle end module log based on the information of the vehicle end module log.
It should be noted that, the operation of the first bluetooth key module 310 and the second bluetooth key module 320 of the vehicle-mounted T-Box in the mobile intelligent terminal applying the offline extraction system 300 refers to the description of an offline extraction method of a vehicle-mounted T-Box log, which is not described herein again.
The present application also provides an electronic device, as shown in fig. 4, the electronic device 400 includes:
a processor 420 for executing the computer readable instructions 430 such that the computer readable instructions 430 when executed by the processor 420 implement the method described above.
In the embodiment of the application, as shown in fig. 5, when the smart phone of the mobile smart terminal and the internet network of the vehicle-mounted T-Box are in an offline state, a bluetooth key module installed in the smart phone and the bluetooth key module of the vehicle-mounted T-Box open bluetooth communication, connect and communicate in a bluetooth manner, and transmit data. The Bluetooth connection request of the Bluetooth key module of the application program installed in the intelligent mobile phone is obtained by the Bluetooth key module of the vehicle-mounted T-Box and is successfully connected with the Bluetooth key module of the Bluetooth key module in the application program APP of the intelligent mobile phone. The user sends a Bluetooth instruction for extracting the corresponding module log to a Bluetooth key module of a vehicle-mounted T-Box through a Bluetooth key module in a smart phone application program APP, the Bluetooth key module of the vehicle-mounted T-Box obtains the sent Bluetooth instruction for extracting the corresponding module log, the corresponding operation is completed according to the Bluetooth instruction, and log data of the corresponding module log is obtained and then is packaged and sent to the Bluetooth key module in the smart phone application program APP. After the intelligent mobile phone application program APP receives the log data of the corresponding module completely, the received complete log data is spliced to obtain the log data of the corresponding module. The intelligent mobile phone application program APP can upload log data of corresponding modules obtained through splicing through intelligent mobile phone network signals or mobile storage equipment and the like to a cloud log server, and the log data of corresponding modules stored in the cloud log server of a follow-up staff can analyze the problem of functions of the vehicle end module.
The present application also provides a computer readable storage medium comprising computer instructions which, when run on a device, cause the device to perform the method described above.
It should be noted that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that scope of preferred embodiments of the present application includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, 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). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, 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.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in part in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.
The foregoing description is not intended to limit the present application in any way, but is not intended to limit the present application, and any simple modification, equivalent variation and variation of the above embodiments according to the technical matter of the present application can be made by any person skilled in the art without departing from the scope of the present application.
Claims (11)
1. The off-line extraction method of the vehicle-mounted T-Box log is characterized by comprising the following steps of:
initiating a Bluetooth connection instruction and connecting the Bluetooth connection instruction with a second Bluetooth key module of the vehicle-mounted T-Box through Bluetooth communication;
transmitting a Bluetooth instruction for extracting a vehicle end module log;
acquiring a vehicle end module log stored in a vehicle-mounted T-Box;
and uploading the acquired vehicle end module log to a cloud log server.
2. The method of claim 1, wherein initiating a bluetooth connection command and connecting bluetooth communication with a second bluetooth key module of the vehicle-mounted T-Box further comprises:
and negotiating the maximum transmission unit MTU with a second Bluetooth key module of the vehicle-mounted T-Box.
3. The method of claim 2, wherein transmitting the bluetooth instruction to extract the vehicle end module log comprises:
generating a Bluetooth instruction for extracting a vehicle end fault module log;
and sending a Bluetooth instruction for extracting the log of the vehicle-end fault module.
4. The method of claim 3, wherein obtaining a vehicle-end module log stored in a vehicle-mounted T-Box comprises:
acquiring all data packets transmitted by a second Bluetooth key module of the vehicle-mounted T-Box in a mode of a maximum transmission unit MTU;
analyzing all the acquired data packets, wherein the analysis comprises the steps of acquiring description information and log information of each data packet;
splicing binary data of the corresponding data packet according to the description information of each data packet; the binary data is formed by serializing the vehicle-end module log;
and deserializing the binary data to obtain a vehicle end fault module log and storing the log.
5. The method of claim 4, wherein uploading the acquired vehicle-side module log to the cloud log server comprises:
the first Bluetooth key module in the mobile intelligent terminal uploads the stored vehicle end fault module log to a cloud log server through a network of the mobile intelligent terminal; or alternatively
Copying to a cloud log server through a removable storage device.
6. The off-line extraction method of the vehicle-mounted T-Box log is characterized by comprising the following steps of:
acquiring a Bluetooth connection instruction initiated by a first Bluetooth key module in the mobile intelligent terminal;
analyzing the acquired Bluetooth connection instruction and connecting the Bluetooth connection instruction with a first Bluetooth key module Bluetooth in the mobile intelligent terminal in a communication way;
acquiring a Bluetooth instruction for extracting a vehicle end module log; analyzing the acquired Bluetooth instruction for extracting the vehicle-end module log to obtain the vehicle-end module log information;
and sending and extracting the vehicle end module log based on the information of the vehicle end module log.
7. The method of claim 6, wherein the bluetooth communication connection with the first bluetooth key module in the mobile intelligent terminal further comprises:
the maximum transmission unit MTU is negotiated with a first Bluetooth key module in the mobile intelligent terminal.
8. The method of claim 7, wherein transmitting the extracted car-end module log based on the extracted car-end module log information comprises:
searching and acquiring a log file corresponding to the extracting vehicle end module in the storage area based on the log information of the extracting vehicle end module;
serializing the log file to generate binary data;
data packets configured according to the negotiated maximum transmission unit MTU packetization;
and transmitting the configured data packet in Bluetooth communication.
9. An off-line extraction system of a vehicle-mounted T-Box log, comprising:
first Bluetooth key module in application mobile intelligent terminal for
Initiating a Bluetooth connection instruction and connecting with a second Bluetooth key module Bluetooth of the vehicle-mounted T-Box in a communication way;
transmitting a Bluetooth instruction for extracting a vehicle end module log;
acquiring a vehicle end module log stored in a vehicle-mounted T-Box;
uploading the acquired vehicle end module log to a cloud log server; and
second Bluetooth key module of vehicle-mounted T-Box for
Acquiring a Bluetooth connection instruction initiated by a first Bluetooth key module in the mobile intelligent terminal;
analyzing the acquired Bluetooth connection instruction and connecting the Bluetooth connection instruction with a first Bluetooth key module Bluetooth in the mobile intelligent terminal in a communication way;
acquiring a Bluetooth instruction for extracting a vehicle end module log; analyzing the acquired Bluetooth instruction for extracting the vehicle-end module log to obtain the vehicle-end module log information;
and sending and extracting the vehicle end module log based on the information of the vehicle end module log.
10. An electronic device, comprising:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions such that the computer readable instructions when executed by the processor implement the method of any one of claims 1 to 8.
11. A computer readable storage medium comprising computer instructions for performing the steps of HDP220723CN
The computer instructions, when run on a device, cause the device to perform the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211583670.1A CN116132972A (en) | 2022-12-09 | 2022-12-09 | Offline extraction method, system, equipment and medium for vehicle-mounted T-Box log |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211583670.1A CN116132972A (en) | 2022-12-09 | 2022-12-09 | Offline extraction method, system, equipment and medium for vehicle-mounted T-Box log |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116132972A true CN116132972A (en) | 2023-05-16 |
Family
ID=86310817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211583670.1A Pending CN116132972A (en) | 2022-12-09 | 2022-12-09 | Offline extraction method, system, equipment and medium for vehicle-mounted T-Box log |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116132972A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117896727A (en) * | 2024-03-18 | 2024-04-16 | 广东银基信息安全技术有限公司 | Vehicle end log acquisition method, device and system, vehicle end and storage medium |
-
2022
- 2022-12-09 CN CN202211583670.1A patent/CN116132972A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117896727A (en) * | 2024-03-18 | 2024-04-16 | 广东银基信息安全技术有限公司 | Vehicle end log acquisition method, device and system, vehicle end and storage medium |
CN117896727B (en) * | 2024-03-18 | 2024-06-21 | 广东银基信息安全技术有限公司 | Vehicle end log acquisition method, device and system, vehicle end and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230114166A1 (en) | Log acquisition method and apparatus, terminal, server, and computer readable storage medium | |
CN111158718A (en) | Local communication server, OTA (over the air) upgrading method thereof and cloud server | |
CN113691623B (en) | Vehicle-mounted Tbox software configuration method and device and cloud platform | |
CN116132972A (en) | Offline extraction method, system, equipment and medium for vehicle-mounted T-Box log | |
CN112702660B (en) | Multimedia data transmission method and device, automatic driving vehicle and cloud server | |
CN111752579B (en) | Bluetooth terminal upgrading method and device, storage medium and electronic equipment | |
CN113805918A (en) | Data interaction system and method for upgrading TBOX and obtaining TBOX logs | |
CN115277780B (en) | Method and device for acquiring vehicle-end log, electronic equipment and storage medium | |
CN112492052A (en) | Remote debugging method and device for intelligent networked vehicle data | |
CN116321073A (en) | Data transmission method, device and system of intelligent charging pile | |
CN110647137A (en) | Method, device, equipment and medium for acquiring frozen frame data | |
KR102036024B1 (en) | Method and system for vehicle security | |
CN109547564B (en) | Remote data acquisition method, device, equipment and computer readable storage medium | |
CN106131100B (en) | Method and apparatus for module remote request processing | |
KR20210056583A (en) | System and method for collecting vehicle data of autonomous electric vehicle | |
CN116155720A (en) | CAN data acquisition remote configuration method in T-BOX | |
CN116880458A (en) | Automatic driving vehicle fault diagnosis system | |
CN116483660A (en) | Method, device and equipment for acquiring vehicle-end log and readable storage medium | |
CN113676496B (en) | Data transmission method, system, readable storage medium and computer equipment | |
CN109522023A (en) | It is applicable in the system and method for rail traffic signal system field deployment and rollback | |
CN111800250B (en) | Method and device for controlling equipment to work, storage medium and terminal equipment | |
CN113055653B (en) | Automatic updating method and device of image acquisition equipment and related equipment | |
CN112291131B (en) | CAN signal automatic analysis device and equipment | |
CN106484443B (en) | Train operation program updating device and ground server | |
CN109436031A (en) | Auxiliary driving device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |