CN115225629A - Remote monitoring method and device for vehicle log, electronic equipment and storage medium - Google Patents

Remote monitoring method and device for vehicle log, electronic equipment and storage medium Download PDF

Info

Publication number
CN115225629A
CN115225629A CN202210819626.XA CN202210819626A CN115225629A CN 115225629 A CN115225629 A CN 115225629A CN 202210819626 A CN202210819626 A CN 202210819626A CN 115225629 A CN115225629 A CN 115225629A
Authority
CN
China
Prior art keywords
log
vehicle
logs
reported
uploading
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
Application number
CN202210819626.XA
Other languages
Chinese (zh)
Inventor
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Automobile Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Original Assignee
Chery Automobile Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chery Automobile Co Ltd, Wuhu Lion Automotive Technologies Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202210819626.XA priority Critical patent/CN115225629A/en
Publication of CN115225629A publication Critical patent/CN115225629A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to the technical field of vehicles, in particular to a method and a device for remotely monitoring a vehicle log, an electronic device and a storage medium, wherein the method comprises the following steps: receiving a log reporting instruction; analyzing the log reporting instruction to obtain a log to be reported within a preset time range; the method comprises the steps of extracting logs to be reported within a preset time range, storing the logs to be reported to a cache queue, compressing the logs to be reported in the cache queue when an uploading condition is met, uploading compressed log data to a cloud server, and generating remote monitoring information according to the log data. Therefore, the vehicle logs are collected in real time, compressed and then uploaded to the server side, and finally pushed to a terminal browser of a technical administrator through the message pushing server to be displayed in real time, so that the problem that the vehicle log collection is limited by a T-BOX storage space is solved, low-delay synchronization of the whole vehicle log and a cloud end is realized, technicians are supported to check the vehicle logs in real time, and remote automatic synchronization of the vehicle logs is supported.

Description

Remote monitoring method and device for vehicle log, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of vehicle technologies, and in particular, to a method and an apparatus for remotely monitoring a vehicle log, an electronic device, and a storage medium.
Background
At present, each automobile host manufacturer needs the capability of remotely locating the cause of the vehicle software fault in the actual vehicle development and after-sale stages, for example: in the development stage, when an ECU (Electronic Control Unit) fails, the reason for the failure is analyzed by querying an ECU software operation log.
The traditional vehicle logs are read by technicians On the site of the vehicle or maintenance personnel in a 4S (4S shop for automobile sales service) shop through an OBD (On-Board Diagnostics) port of a fault vehicle; the whole vehicle log is collected through a vehicle machine or a T-BOX (remote vehicle mounted terminal), then the log is read through a vehicle machine Serial port or a USB (Universal Serial Bus) port, downloaded and stored, and then transmitted to a file server through a mail or an ftp (file transfer protocol) mode, and a technical department of a host computer factory can troubleshoot the vehicle log after downloading the file.
In the related technology, one is to acquire log information by remotely requesting a vehicle T-BOX and then uploading log files through the T-BOX, and the other is to merge data reported by the vehicle based on a message queue of a server.
However, the real-time performance of the first type is to be improved, the second type does not consider the problem of data reporting frequency, and the queue request pressure of the server side is not controllable.
Disclosure of Invention
The application provides a remote monitoring method and device for vehicle logs, electronic equipment and a storage medium, which are used for solving the problem that the collection time of the vehicle logs is limited by a T-BOX storage space, realizing low-delay synchronization of the whole vehicle logs and a cloud end, supporting technicians to check the vehicle logs in real time and supporting remote automatic synchronization of the vehicle logs.
The embodiment of the first aspect of the application provides a remote monitoring method for vehicle logs, which comprises the following steps of receiving a log reporting instruction; analyzing the log reporting instruction to obtain a log to be reported within a preset time range; and extracting the logs to be reported within the preset time range, storing the logs to be reported to a cache queue, compressing the logs to be reported in the cache queue when an uploading condition is met, uploading the compressed log data to a cloud server, and generating remote monitoring information according to the log data.
Optionally, in some embodiments, the method for remotely monitoring a vehicle log further includes: acquiring the duration of uploading the to-be-reported logs in the cache queue to the cloud server after the logs are compressed; and if the duration is longer than the preset duration, suspending uploading, otherwise, continuing to upload the data to the cloud server.
Optionally, in some embodiments, the upload condition is: the current moment is a preset log uploading moment.
Optionally, in some embodiments, after receiving the log reporting instruction, the method further includes: detecting whether the vehicle is in an online state; if the vehicle is in the non-online state, generating information which cannot report the log according to the non-online state; and sending the information of the logs which cannot be reported to the cloud server.
An embodiment of a second aspect of the present application provides a remote monitoring device for vehicle logs, including: the receiving module is used for receiving a log reporting instruction; the analysis module is used for analyzing the log reporting instruction to obtain a log to be reported within a preset time range; and the generation module is used for extracting the logs to be reported within the preset time range, storing the logs to be reported to a cache queue, compressing the logs to be reported in the cache queue when an uploading condition is met, uploading the compressed log data to a cloud server, and generating remote monitoring information according to the log data.
Optionally, in some embodiments, the above vehicle log remote monitoring device further includes: the acquisition module is used for acquiring the duration of uploading the logs to be reported in the cache queue to the cloud server after the logs to be reported are compressed; and the judging module is used for pausing the uploading if the duration is longer than the preset duration, and otherwise, continuing to upload the data to the cloud server.
Optionally, in some embodiments, the upload condition is: the current moment is the preset log uploading moment.
Optionally, in some embodiments, after receiving the log reporting instruction, the receiving module further includes a detecting unit, configured to detect whether the vehicle is in an online state; the generating unit is used for generating information which cannot report the log according to the non-online state if the vehicle is in the non-online state; and the sending unit is used for sending the information of the logs which cannot be reported to the cloud server.
An embodiment of a third aspect of the present application provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method for remote monitoring of a vehicle log as described in the above embodiments.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, the program being executed by a processor for implementing the method for remote monitoring of a vehicle log according to the above embodiment.
Therefore, the log reporting instruction is received and analyzed to obtain the log to be reported in the preset time range, the log to be reported in the preset time range is extracted, the log to be reported is stored in the cache queue, the log to be reported in the cache queue is compressed when the uploading condition is met, the compressed log data is uploaded to the cloud server, and the remote monitoring information is generated according to the log data. Therefore, the problem that the collection time of the vehicle log is limited by the storage space of the T-BOX is solved, low-delay synchronization of the whole vehicle log and the cloud is realized, technicians are supported to check the vehicle log in real time, and remote automatic synchronization of the vehicle log is supported.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a method for remote monitoring of vehicle logs provided in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an overall composition of a remote monitoring system for vehicle log provided according to an embodiment of the application;
fig. 3 is a schematic diagram of a vehicle log reporting component according to an embodiment of the present application;
fig. 4 is a flowchart of a main step of reporting a vehicle log stream according to an embodiment of the present application;
FIG. 5 is a sub-flowchart of vehicle end log collection management provided in accordance with an embodiment of the present application;
FIG. 6 is a block schematic diagram of a remote monitoring device for vehicle log provided in accordance with an embodiment of the present application;
fig. 7 is a schematic view of an electronic device provided according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes a method, an apparatus, an electronic device, and a storage medium for remote monitoring of a vehicle log according to an embodiment of the present application with reference to the drawings. In order to solve the problem that the vehicle log collection duration is limited by the storage space of the T-BOX mentioned in the background art center, the application provides a remote monitoring method for the vehicle log, in the method, a log reporting instruction is received and analyzed, a log to be reported in a preset time range is obtained, the log to be reported in the preset time range is extracted, the log to be reported is stored in a cache queue, when an uploading condition is met, the log to be reported in the cache queue is compressed, compressed log data is uploaded to a cloud server, and remote monitoring information is generated according to the log data. Therefore, the problem that the collection time of the vehicle logs is limited by the storage space of the T-BOX is solved, low-delay synchronization of the whole vehicle logs and the cloud is achieved, technicians are supported to check the vehicle logs in real time, and remote automatic synchronization of the vehicle logs is supported.
Specifically, fig. 1 is a schematic flowchart of a method for remotely monitoring a vehicle log according to an embodiment of the present application.
As shown in fig. 1, the remote monitoring method of the vehicle log comprises the following steps:
in step S101, a log reporting instruction is received.
Optionally, in some embodiments, after receiving the log reporting instruction, the method further includes: detecting whether the vehicle is in an online state; if the vehicle is in the non-online state, generating information which cannot report the log according to the non-online state; and sending information that the log cannot be reported to the cloud server.
Specifically, after a vehicle is started, the vehicle sends a registration message to register vehicle information with a log service platform, the vehicle state is updated to be on-line, a message subscription channel is established, when a technician needs to remotely check a specified vehicle log, the vehicle needing to monitor the log is inquired and selected (the vehicle needs to be in the on-line registration state) through a management background interface, a notification message (needing to specify a log collection range) for starting to send the log is sent to the message channel subscribed by the vehicle, and after the vehicle log collection main control module receives the notification message for starting to send the log, a log collection switch is turned on, and an excitation message is sent to a specified ECU log module according to a log collection range list; and if the vehicle is in the non-online state, generating information which cannot report the log according to the non-online state, and sending the information which cannot be reported to the cloud server.
In step S102, the log reporting instruction is analyzed to obtain a log to be reported within a preset time range.
Optionally, in some embodiments, the remote monitoring method for vehicle logs further includes obtaining a duration for compressing the log to be reported in the cache queue and then uploading the compressed log to the cloud server; and if the duration is longer than the preset duration, suspending uploading, otherwise, continuing to upload the data to the cloud server.
The preset time may be preset by a related technician, and is not limited herein.
Specifically, in the embodiment of the application, the ECU, which receives the excitation message, activates the log collection switch, and sends log information data to the vehicle log collection main control module at regular time, and if the log uploading time is longer than a preset time, the uploading is suspended.
In step S103, the logs to be reported within the preset time range are extracted, the logs to be reported are stored in the cache queue, and when the uploading condition is satisfied, the logs to be reported in the cache queue are compressed, the compressed log data is uploaded to the cloud server, and the remote monitoring information is generated according to the log data.
Optionally, in some embodiments, the upload condition is: the current moment is the preset log uploading moment.
Specifically, in this embodiment of the present application, after receiving log information data sent by each ECU, a vehicle log collection main control module writes log data into a log to-be-sent queue according to a receiving sequence, a vehicle log timing synchronization module reads the data of the log to-be-sent queue at regular time (data amount with a specified size is read each time), requests a log server log collection interface, uploads the vehicle log information, and a log gateway server receives the vehicle log information and writes the vehicle log information into a log processing message middleware: the log application server reads log data in the message middleware, writes the log data into a server file, and then pushes the log data to a specified management background front end (pushes according to a message subscription terminal theme); technicians receive log data of the appointed vehicles pushed by the log pushing server through the management background front-end interface, and therefore cloud remote monitoring of vehicle logs is achieved.
In order to further understand the method for remote monitoring of vehicle log according to the embodiment of the present application, the following detailed description is provided with reference to specific embodiments.
In the embodiment of the application, the remote monitoring method of the vehicle log needs to be realized by the server side and the vehicle side together. The server side comprises a gateway server, a message queue server, an application server, a database, a file server and a message pushing server; the vehicle end is composed of a log collection unit, a log queue to be reported and a log pushing and reporting unit.
By the remote monitoring method for the vehicle log, vehicles of a remote log registration system can be monitored, and online networked vehicles can be checked; the method comprises the steps of issuing a log report opening message by managing a specified vehicle log report range; managing the uploading duration of the designated vehicle log, and automatically terminating the log reporting behavior after the vehicle continuously reports the log for a period of time; sending a closing log reporting closing message through a management interface, and terminating the vehicle log reporting behavior; managing and designating reported vehicle logs, and checking, downloading or deleting log files which are historically sent; and subscribing a log main body of the specified vehicle through the browser, and checking a log data stream reported by the specified ECU in real time.
As shown in fig. 2, the server for implementing the remote monitoring method for the vehicle log may include a gateway server, a Message queue server, a database, an application server, a file server, and an MQTT (Message queue Telemetry Transport) Message push server.
The gateway server is a server which directly provides service interface exposure for the outside;
the message queue server stores and distributes the log data reported by the vehicles in sequence;
the application server provides actual programs and logic realization of a service interface, realizes management operation interface display logic, comprises vehicle online registration, vehicle log remote switch instruction issuing and the like, realizes analysis, decompression, combination, distribution and the like of each subject message in a message queue, and provides a timing execution program to realize partial statistical record or log auxiliary analysis and the like;
the database stores registered vehicle data, log time, batch, file link records and the like reported by vehicles;
the MQTT message pushing server is responsible for registration, message subscription, message distribution and the like of a management administrator terminal, and is used for pushing vehicle log information and the like to a management interface logged by a technical administrator through the server side.
The vehicle end for implementing the remote monitoring method of the vehicle log may be as shown in fig. 3.
The log pushing and reporting unit is responsible for managing a log reporting switch and requesting a log service gateway interface to report a compressed log; the log queue to be reported is used for caching and serializing log information to be reported; the log collection unit is responsible for providing an interface to receive log information uploaded by each ECU needing to report logs, and stores the log information into a log queue to be reported after the log information is processed by compression, packaging and the like.
The main flowchart of the vehicle log remote monitoring of the embodiment of the application is shown in fig. 4.
S401, a technical administrator needing to assist in troubleshooting Vehicle fault issues inputs Vehicle VIN (Vehicle Identification Number) codes needing to remotely pull logs through a Vehicle log management interface to inquire Vehicle information needing to remotely report logs (on the premise that a Vehicle is in a starting state and registration with a log collection server is established through a T-BOX), selects a range (ECU (Identity document) list needing to pull logs), and clicks to start pulling logs.
S402, the vehicle receives the log sending opening instruction of the log collection server, and enters a vehicle-end log collection and reporting sub-process, and the detailed process refers to fig. 5.
And S403, the gateway server receives the log information message reported by the vehicle, analyzes the message header information (the message header information comprises the VIN of the vehicle, the ECU code ID of the log and the vehicle end time when the log is reported), and writes the message header information into a message queue related to the specified message processing theme in the message middleware server.
S404, the log application service monitors the message processing subject message appointed by the message middleware, analyzes the log message, decompresses the message body, sequentially writes the decompressed message body into the log file (naming the log file according to the vehicle VIN, the ECU code ID and the time, and dividing the log file according to the set maximum size of a single log file), and uploads the log to the file server at regular time.
S405, the log application server stores the vehicle log reporting time, the link of a log downloading URI (Uniform Resource Identifier), the VIN number, the ECU code ID and the log writing time into a database log table.
S406, the log application server sends the decoded vehicle logs to an MQTT push server one by one.
S407, the MQTT pushing server pushes the vehicle log data to a browser-side management interface of a technical administrator who subscribes the vehicle theme message and needs to assist in troubleshooting the vehicle fault problem, and a management front-end program refreshes a log display window after receiving the related push message, so that the purpose of receiving and displaying the log reported by the vehicle side in real time is achieved, and the technical administrator is supported to filter the log information according to the text keywords, the time range, the VIN code, the ECU type and the like.
The flow of the substeps of collecting and reporting the vehicle-side log in the embodiment of the application is shown in fig. 5.
S501, the log application service checks a local database to check vehicle records, judges whether the current state of the vehicle is an online state or not, and executes the step S502 if the current state of the vehicle is the online state; if not, step S510 is performed.
S502, if the vehicle is in the online state at present, the log application service sends a log starting instruction to the online vehicle message channel through a log gateway (the message channel which is long connected with a vehicle T-BOX related TCP (Transmission Control Protocol) and the log gateway maintains the online state).
S503, the vehicle T-BOX log collection main control receives the log reporting starting instruction, analyzes the instruction (analyzes the ECU code ID list in the instruction body), sends a log opening instruction to the ECU control unit needing log reporting through an UDS (Unified Diagnostic Services) instruction, modifies the local log switch variable to be open, records the ECU code ID needing log reporting, and sets the log reporting duration (set according to fixed time).
S504, the target ECU transmits log information (including ECU code ID, timestamp is required) to the log collection master through UDS instruction.
And S505, the log collection main control program writes the received log information into a cache queue in the T-BOX memory.
S506, the log pushing reporting service reads log queue data in batch at regular time, compresses the log data, and then sends the log data to a log gateway server by using a T-BOX reporting data channel.
S507, after the log pushing and reporting service finishes the log reporting work, judging whether a local log switch variable is opened, if so, executing a step 508; if closed, go to step S509.
S508, the log pushing and reporting service judges whether the current system time is greater than the maximum end time of the reported log, if so, the step S509 is executed; if not, continuing to wait for the report of the ECU log, and executing step S504.
S509, the log pushing and reporting service sends a log closing instruction to the ECU which needs log reporting through the UDS instruction, and modifies the current log reporting instruction variable to be closed.
S510, when detecting that the vehicle is not on line or the gateway does not have a TCP message channel corresponding to the vehicle, the log application server informs the front end of a technical administrator, and pops up a frame on an instruction operation interface to prompt that the vehicle is not on line and the log cannot be pulled.
Therefore, the remote monitoring method for the vehicle log solves the problem that the original vehicle log is limited by vehicle-end storage, and directly pushes the log to the cloud server in a data stream mode; the collection and storage of the vehicle-end log are realized by using a solution similar to a live broadcast streaming media server, the monitoring log data can be written on line in real time, and compared with the prior art, the method has stronger real-time performance and can be seen in the log generation process; the three message queues are used for completing different log collection functions, the first message queue collects and sorts data streams generated by vehicles at the vehicle end, the data reporting request frequency of the server can be effectively controlled, the uploaded data are compressed, and the bandwidth pressure of the server is reduced; the second message queue processes the data reported by different vehicles in groups and performs certain message peak clipping and valley filling processing; the third message queue is responsible for pushing real-time log streams to a technician monitoring end to achieve a similar live broadcast effect; the log records collect a plurality of software logs of the vehicle and uniformly send the software logs to the cloud server, so that technicians are supported to check log text information in real time through a terminal management interface, the log collection range is easy to expand, the universality is good, and the novel vehicle model does not need customized development.
According to the remote monitoring method for the vehicle logs, the log reporting instruction is received and analyzed, the logs to be reported in the preset time range are obtained, the logs to be reported in the preset time range are extracted, the logs to be reported are stored in the cache queue, when the uploading condition is met, the logs to be reported in the cache queue are compressed, the compressed log data are uploaded to the cloud server, and the remote monitoring information is generated according to the log data. Therefore, the problem that the collection time of the vehicle logs is limited by the storage space of the T-BOX is solved, low-delay synchronization of the whole vehicle logs and the cloud is achieved, technicians are supported to check the vehicle logs in real time, and remote automatic synchronization of the vehicle logs is supported.
Next, a remote monitoring apparatus of a vehicle log proposed according to an embodiment of the present application is described with reference to the drawings.
Fig. 6 is a block schematic diagram of a vehicle log remote monitoring device according to an embodiment of the present application.
As shown in fig. 6, the remote monitoring apparatus 10 for vehicle log includes: a receiving module 100, a parsing module 200 and a generating module 300.
The receiving module 100 is configured to receive a log reporting instruction; the analysis module 200 is configured to analyze the log reporting instruction to obtain a log to be reported within a preset time range; and a generating module 300, configured to extract logs to be reported within a preset time range, store the logs to be reported to a cache queue, compress the logs to be reported in the cache queue when an uploading condition is met, upload compressed log data to a cloud server, and generate remote monitoring information according to the log data.
Optionally, in some embodiments, the remote monitoring apparatus 10 for vehicle logs further includes an obtaining module, configured to obtain a duration that logs to be reported in the cache queue are compressed and then uploaded to the cloud server; and the judging module suspends uploading if the duration is longer than the preset duration, otherwise, continuously uploads the data to the cloud server.
Optionally, in some embodiments, the upload condition is: the current moment is a preset log uploading moment.
Optionally, in some embodiments, after receiving the log reporting instruction, the receiving module 100 further includes: the detection unit is used for detecting whether the vehicle is in an online state or not; the generating unit is used for generating information which cannot report the log according to the non-online state if the vehicle is in the non-online state; and the sending unit is used for sending the information that the log cannot be reported to the cloud server.
It should be noted that the explanation of the embodiment of the method for remotely monitoring a vehicle log is also applicable to the remote monitoring device for a vehicle log of the embodiment, and is not repeated herein.
According to the remote monitoring device for the vehicle log, which is provided by the embodiment of the application, the log reporting instruction is received; analyzing the log reporting instruction to obtain a log to be reported within a preset time range; the method comprises the steps of extracting logs to be reported within a preset time range, storing the logs to be reported to a cache queue, compressing the logs to be reported in the cache queue when an uploading condition is met, uploading compressed log data to a cloud server, and generating remote monitoring information according to the log data. Therefore, the problem that the collection time of the vehicle log is limited by the storage space of the T-BOX is solved, low-delay synchronization of the whole vehicle log and the cloud is realized, technicians are supported to check the vehicle log in real time, and remote automatic synchronization of the vehicle log is supported.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include:
memory 701, processor 702, and a computer program stored on memory 701 and executable on processor 702.
The processor 702, when executing the program, implements the method of remote monitoring of the vehicle log provided in the above-described embodiments.
Further, the electronic device further includes:
a communication interface 703 for communicating between the memory 701 and the processor 702.
A memory 701 for storing computer programs operable on the processor 702.
The memory 701 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but that does not indicate only one bus or one type of bus.
Optionally, in a specific implementation, if the memory 701, the processor 702, and the communication interface 703 are integrated on a chip, the memory 701, the processor 702, and the communication interface 703 may complete mutual communication through an internal interface.
The processor 702 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the above remote monitoring method for a vehicle log.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
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 N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application 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.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement 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 N 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). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can 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 should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are exemplary and should not be construed as limiting the present application and that changes, modifications, substitutions and alterations in the above embodiments may be made by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A remote monitoring method for vehicle logs is characterized by comprising the following steps:
receiving a log reporting instruction;
analyzing the log reporting instruction to obtain a log to be reported within a preset time range; and
and extracting the logs to be reported within the preset time range, storing the logs to be reported to a cache queue, compressing the logs to be reported in the cache queue when an uploading condition is met, uploading the compressed log data to a cloud server, and generating remote monitoring information according to the log data.
2. The method of claim 1, further comprising:
acquiring the duration of uploading the to-be-reported logs in the cache queue to the cloud server after the logs are compressed;
if the duration is longer than the preset duration, the uploading is suspended, and if not, the uploading is continued to the cloud server.
3. The method of claim 2, wherein the upload condition is: the current moment is a preset log uploading moment.
4. The method of claim 3, further comprising, after receiving the log reporting instruction:
detecting whether the vehicle is in an online state;
if the vehicle is in the non-online state, generating information which cannot report the log according to the non-online state;
and sending the information of the journal which cannot be reported to the cloud server.
5. A remote monitoring device for vehicle log, comprising the steps of:
the receiving module is used for receiving a log reporting instruction;
the analysis module is used for analyzing the log reporting instruction to obtain a log to be reported within a preset time range; and
and the generating module is used for extracting the logs to be reported within the preset time range, storing the logs to be reported to a cache queue, compressing the logs to be reported in the cache queue when an uploading condition is met, uploading the compressed log data to a cloud server, and generating remote monitoring information according to the log data.
6. The apparatus of claim 5, further comprising:
the acquisition module is used for acquiring the duration of uploading the to-be-reported logs in the cache queue to the cloud server after the to-be-reported logs are compressed;
and the judging module is used for pausing the uploading if the duration is longer than the preset duration, and otherwise, continuing to upload the data to the cloud server.
7. The apparatus of claim 6, wherein the upload condition is: the current moment is a preset log uploading moment.
8. The apparatus of claim 7, wherein after receiving the log reporting instruction, the receiving module further comprises:
the detection unit is used for detecting whether the vehicle is in an online state or not;
the generating unit is used for generating information which cannot report the log according to the non-online state if the vehicle is in the non-online state;
and the sending unit is used for sending the information of the logs which cannot be reported to the cloud server.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of remote monitoring of a vehicle log according to any of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for implementing a method for remote monitoring of a vehicle log according to any of claims 1-4.
CN202210819626.XA 2022-07-12 2022-07-12 Remote monitoring method and device for vehicle log, electronic equipment and storage medium Pending CN115225629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210819626.XA CN115225629A (en) 2022-07-12 2022-07-12 Remote monitoring method and device for vehicle log, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210819626.XA CN115225629A (en) 2022-07-12 2022-07-12 Remote monitoring method and device for vehicle log, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115225629A true CN115225629A (en) 2022-10-21

Family

ID=83612284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210819626.XA Pending CN115225629A (en) 2022-07-12 2022-07-12 Remote monitoring method and device for vehicle log, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115225629A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115865975A (en) * 2022-11-25 2023-03-28 成都赛力斯科技有限公司 Log obtaining method and device, electronic equipment and computer readable storage medium
CN116094908A (en) * 2023-01-17 2023-05-09 中国第一汽车股份有限公司 Log file storage method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912998A (en) * 2019-11-26 2020-03-24 福建汉特云智能科技有限公司 Vehicle problem troubleshooting system and method based on remote equipment terminal
CN112233278A (en) * 2020-12-09 2021-01-15 智道网联科技(北京)有限公司 Remote fault analysis method, vehicle-mounted terminal, server, device and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912998A (en) * 2019-11-26 2020-03-24 福建汉特云智能科技有限公司 Vehicle problem troubleshooting system and method based on remote equipment terminal
CN112233278A (en) * 2020-12-09 2021-01-15 智道网联科技(北京)有限公司 Remote fault analysis method, vehicle-mounted terminal, server, device and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115865975A (en) * 2022-11-25 2023-03-28 成都赛力斯科技有限公司 Log obtaining method and device, electronic equipment and computer readable storage medium
CN116094908A (en) * 2023-01-17 2023-05-09 中国第一汽车股份有限公司 Log file storage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN115225629A (en) Remote monitoring method and device for vehicle log, electronic equipment and storage medium
CN110912998B (en) Vehicle problem troubleshooting system and method based on remote equipment terminal
CN103795580B (en) A kind of data monitoring method, system and relevant device
US20120053778A1 (en) Method and apparatus for remote vehicle diagnosis
DE112014005855T5 (en) System and method for vehicle diagnostic data collection and analysis
US7941529B2 (en) Periodic exporting of information over a flow protocol
DE102005037913B4 (en) Method for reproduction-oriented error documentation
CN110769175B (en) Intelligent analysis system, method and device
CN112187513A (en) Medical Internet of things cloud platform method and system based on big data and storage medium
CN103731182A (en) Method and system for real-time monitoring of power line carrier communication
CN113691623A (en) Software configuration method and device of vehicle-mounted Tbox and cloud platform
CN112835792A (en) Pressure testing system and method
CN105530658B (en) Remote diagnosis method, device and system for wireless communication module
CN111666193A (en) Method and system for monitoring and testing terminal function based on real-time log analysis
CN113179195A (en) CAN message embedded point detection method, system, device and computer readable storage medium
CN104483880B (en) A kind of collecting method and data acquisition server
CN111314743B (en) Interface data playback method and device
CN111556130B (en) Information processing method and device, electronic equipment and storage medium
CN114039994B (en) Police Internet of things management platform and working method, police intelligent terminal and working method
CN113190583B (en) Data acquisition system, method, electronic equipment and storage medium
CN113783744B (en) Time delay measurement method, time delay measurement device, computer equipment and storage medium
CN114490558A (en) OTT video service monitoring method and device
JP2002200077A (en) Method and system for gaining and analyzing data other than imaging collected during ultrasonic inspection
DE102011056524A1 (en) Method for evaluating use of a power and / or function provided by an automation component
Görne et al. Smart data preprocessing method for remote vehicle diagnostics to increase data compression efficiency

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